]> git.saurik.com Git - wxWidgets.git/blob - configure
added foldbar contrib
[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.2.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
14
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23 set -o posix
24 fi
25 DUALCASE=1; export DUALCASE # for MKS sh
26
27 # Support unset when possible.
28 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29 as_unset=unset
30 else
31 as_unset=false
32 fi
33
34
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
37 PS1='$ '
38 PS2='> '
39 PS4='+ '
40
41 # NLS nuisances.
42 for as_var in \
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 LC_TELEPHONE LC_TIME
46 do
47 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C; export $as_var
49 else
50 $as_unset $as_var
51 fi
52 done
53
54 # Required to use basename.
55 if expr a : '\(a\)' >/dev/null 2>&1; then
56 as_expr=expr
57 else
58 as_expr=false
59 fi
60
61 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 as_basename=basename
63 else
64 as_basename=false
65 fi
66
67
68 # Name of the executable.
69 as_me=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
74 echo X/"$0" |
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
78 s/.*/./; q'`
79
80
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits='0123456789'
87 as_cr_alnum=$as_cr_Letters$as_cr_digits
88
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
93 chmod +x conf$$.sh
94 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95 PATH_SEPARATOR=';'
96 else
97 PATH_SEPARATOR=:
98 fi
99 rm -f conf$$.sh
100 fi
101
102
103 as_lineno_1=$LINENO
104 as_lineno_2=$LINENO
105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
109 # relative or not.
110 case $0 in
111 *[\\/]* ) as_myself=$0 ;;
112 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 for as_dir in $PATH
114 do
115 IFS=$as_save_IFS
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118 done
119
120 ;;
121 esac
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x; then
125 as_myself=$0
126 fi
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
130 fi
131 case $CONFIG_SHELL in
132 '')
133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135 do
136 IFS=$as_save_IFS
137 test -z "$as_dir" && as_dir=.
138 for as_base in sh bash ksh sh5; do
139 case $as_dir in
140 /*)
141 if ("$as_dir/$as_base" -c '
142 as_lineno_1=$LINENO
143 as_lineno_2=$LINENO
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
147 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
148 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
149 CONFIG_SHELL=$as_dir/$as_base
150 export CONFIG_SHELL
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
152 fi;;
153 esac
154 done
155 done
156 ;;
157 esac
158
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
168 sed '
169 N
170 s,$,-,
171 : loop
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 t loop
174 s,-$,,
175 s,^['$as_cr_digits']*\n,,
176 ' >$as_me.lineno &&
177 chmod +x $as_me.lineno ||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
180
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
184 . ./$as_me.lineno
185 # Exit status is that of the last command.
186 exit
187 }
188
189
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c*,-n*) ECHO_N= ECHO_C='
192 ' ECHO_T=' ' ;;
193 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
194 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
195 esac
196
197 if expr a : '\(a\)' >/dev/null 2>&1; then
198 as_expr=expr
199 else
200 as_expr=false
201 fi
202
203 rm -f conf$$ conf$$.exe conf$$.file
204 echo >conf$$.file
205 if ln -s conf$$.file conf$$ 2>/dev/null; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe; then
209 # Don't use ln at all; we don't have any links
210 as_ln_s='cp -p'
211 else
212 as_ln_s='ln -s'
213 fi
214 elif ln conf$$.file conf$$ 2>/dev/null; then
215 as_ln_s=ln
216 else
217 as_ln_s='cp -p'
218 fi
219 rm -f conf$$ conf$$.exe conf$$.file
220
221 if mkdir -p . 2>/dev/null; then
222 as_mkdir_p=:
223 else
224 test -d ./-p && rmdir ./-p
225 as_mkdir_p=false
226 fi
227
228 as_executable_p="test -f"
229
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235
236
237 # IFS
238 # We need space, tab and new line, in precisely that order.
239 as_nl='
240 '
241 IFS=" $as_nl"
242
243 # CDPATH.
244 $as_unset CDPATH
245
246
247 # Name of the host.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
251
252 exec 6>&1
253
254 #
255 # Initializations.
256 #
257 ac_default_prefix=/usr/local
258 ac_config_libobj_dir=.
259 cross_compiling=no
260 subdirs=
261 MFLAGS=
262 MAKEFLAGS=
263 SHELL=${CONFIG_SHELL-/bin/sh}
264
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
269
270 # Identity of this package.
271 PACKAGE_NAME='wxWidgets'
272 PACKAGE_TARNAME='wxwidgets'
273 PACKAGE_VERSION='2.5.2'
274 PACKAGE_STRING='wxWidgets 2.5.2'
275 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
276
277 ac_unique_file="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default="\
280 #include <stdio.h>
281 #if HAVE_SYS_TYPES_H
282 # include <sys/types.h>
283 #endif
284 #if HAVE_SYS_STAT_H
285 # include <sys/stat.h>
286 #endif
287 #if STDC_HEADERS
288 # include <stdlib.h>
289 # include <stddef.h>
290 #else
291 # if HAVE_STDLIB_H
292 # include <stdlib.h>
293 # endif
294 #endif
295 #if HAVE_STRING_H
296 # if !STDC_HEADERS && HAVE_MEMORY_H
297 # include <memory.h>
298 # endif
299 # include <string.h>
300 #endif
301 #if HAVE_STRINGS_H
302 # include <strings.h>
303 #endif
304 #if HAVE_INTTYPES_H
305 # include <inttypes.h>
306 #else
307 # if HAVE_STDINT_H
308 # include <stdint.h>
309 # endif
310 #endif
311 #if HAVE_UNISTD_H
312 # include <unistd.h>
313 #endif"
314
315 ac_subdirs_all="$ac_subdirs_all src/expat"
316 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG PANGOFT2_CFLAGS PANGOFT2_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL UNICODE BUILD DEBUG_INFO DEBUG_FLAG SHARED 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_MACOSX PLATFORM_OS2 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_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_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_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_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_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_COCOA 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_MAC_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_MSW_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM_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_PLUGINS_0 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_WITH_PLUGIN_SDL_1 COND_WITH_SDL_1 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 PATH_IFS WX_MAJOR_VERSION_NUMBER WX_MINOR_VERSION_NUMBER WX_RELEASE_NUMBER WX_SUBRELEASE_NUMBER WX_LIBRARY_NAME_STATIC WX_LIBRARY_NAME_SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WX_LIBRARY_IMPORTLIB WX_TARGET_LIBRARY WX_LIBRARY_LINK1 WX_LIBRARY_LINK2 PROGRAM_EXT WX_LIBRARY_NAME_STATIC_GL WX_LIBRARY_NAME_SHARED_GL WX_TARGET_LIBRARY_GL WX_LIBRARY_LINK1_GL WX_LIBRARY_LINK2_GL WX_ALL WX_ALL_INSTALLED SHARED_LD WX_TARGET_LIBRARY_TYPE STATIC_FLAG WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLKIT_VPATH TOOLCHAIN_NAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS top_builddir_wxconfig cross_compiling WXCONFIG_EXTRALIBS WXCONFIG_LIBS WXCONFIG_LIBS_GL WXCONFIG_LIBS_STATIC WXCONFIG_LIBS_STATIC_GL WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WXCONFIG_DATA_FILE WX_LARGEFILE_FLAGS GCC_PRAGMA_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX ALL_OBJECTS ALL_HEADERS ALL_SOURCES GUIDIST PORT_FILES DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL LDFLAGS_VERSIONING LDFLAGS_EXE OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL AS LD MAKEINFO INSTALL_LIBRARY 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.2 to adapt to many kinds of systems.
798
799 Usage: $0 [OPTION]... [VAR=VALUE]...
800
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
803
804 Defaults for the options are specified in brackets.
805
806 Configuration:
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
816
817 _ACEOF
818
819 cat <<_ACEOF
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
822 [$ac_default_prefix]
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
824 [PREFIX]
825
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
830
831 For better control, use the options below.
832
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
846 _ACEOF
847
848 cat <<\_ACEOF
849
850 X features:
851 --x-includes=DIR X include files are in DIR
852 --x-libraries=DIR X library files are in DIR
853
854 System types:
855 --build=BUILD configure for building on BUILD [guessed]
856 --host=HOST cross-compile to build programs to run on HOST [BUILD]
857 --target=TARGET configure for building compilers for TARGET [HOST]
858 _ACEOF
859 fi
860
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short | recursive ) echo "Configuration of wxWidgets 2.5.2:";;
864 esac
865 cat <<\_ACEOF
866
867 Optional Features:
868 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
869 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --disable-gtk2 use GTK+ 1.2 instead of 2.0
876 --enable-gpe use GNOME PDA Environment features if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-compat22 enable wxWidgets 2.2 compatibility
893 --disable-compat24 disable wxWidgets 2.4 compatibility
894 --enable-rpath=DIR output the rpath flag from wx-config
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-cmdline use wxCmdLineParser class
908 --enable-datetime use wxDateTime class
909 --enable-dialupman use dialup network classes
910 --enable-dynlib use wxLibrary class for DLL loading
911 --enable-dynamicloader use (new) wxDynamicLibrary class
912 --enable-exceptions build exception-safe library
913 --enable-ffile use wxFFile class
914 --enable-file use wxFile class
915 --enable-filesystem use virtual file systems classes
916 --enable-fontmap use font encodings conversion classes
917 --enable-fs_inet use virtual HTTP/FTP filesystems
918 --enable-fs_zip use virtual ZIP filesystems
919 --enable-geometry use geometry class
920 --enable-log use logging system
921 --enable-longlong use wxLongLong class
922 --enable-mimetype use wxMimeTypesManager
923 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
924 --enable-snglinst use wxSingleInstanceChecker class
925 --enable-streams use wxStream etc classes
926 --enable-std_iostreams use standard C++ stream classes
927 --enable-stopwatch use wxStopWatch class
928 --enable-sysoptions use wxSystemOptions
929 --enable-textbuf use wxTextBuffer class
930 --enable-textfile use wxTextFile class
931 --enable-timer use wxTimer class
932 --enable-unicode compile wxString with Unicode support
933 --enable-sound use wxSound class
934 --enable-wxprintfv use wxWidgets implementation of vprintf()
935 --enable-zipstream use wxZipInputStream
936 --enable-url use wxURL class
937 --enable-protocol use wxProtocol class
938 --enable-protocol-http HTTP support in wxProtocol
939 --enable-protocol-ftp FTP support in wxProtocol
940 --enable-protocol-file FILE support in wxProtocol
941 --enable-threads use threads
942 --enable-docview use document view architecture
943 --enable-help use help subsystem
944 --enable-mshtmlhelp use MS HTML Help (win32)
945 --enable-html use wxHTML sub-library
946 --enable-htmlhelp use wxHTML-based help
947 --enable-constraints use layout-constraints system
948 --enable-printarch use printing architecture
949 --enable-mdi use multiple document interface architecture
950 --enable-mdidoc use docview architecture with MDI
951 --enable-loggui use standard GUI logger
952 --enable-logwin use wxLogWindow
953 --enable-logdialog use wxLogDialog
954 --enable-webkit use wxWebKitCtrl (Mac)
955 --enable-postscript use wxPostscriptDC device context (default for gtk+)
956 --enable-prologio not available; see contrib
957 --enable-resources not available; see contrib
958 --enable-clipboard use wxClipboard class
959 --enable-dnd use Drag'n'Drop classes
960 --enable-metafile use win32 metafiles
961 --enable-controls use all usual controls
962 --enable-accel use accelerators
963 --enable-button use wxButton class
964 --enable-bmpbutton use wxBitmapButton class
965 --enable-calendar use wxCalendarCtrl class
966 --enable-caret use wxCaret class
967 --enable-checkbox use wxCheckBox class
968 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
969 --enable-choice use wxChoice class
970 --enable-combobox use wxComboBox class
971 --enable-display use wxDisplay class
972 --enable-gauge use wxGauge class
973 --enable-grid use wxGrid class
974 --enable-imaglist use wxImageList class
975 --enable-listbook use wxListbook class
976 --enable-listbox use wxListBox class
977 --enable-listctrl use wxListCtrl class
978 --enable-notebook use wxNotebook class
979 --enable-radiobox use wxRadioBox class
980 --enable-radiobtn use wxRadioButton class
981 --enable-sash use wxSashWindow class
982 --enable-scrollbar use wxScrollBar class and scrollable windows
983 --enable-slider use wxSlider class
984 --enable-spinbtn use wxSpinButton class
985 --enable-spinctrl use wxSpinCtrl class
986 --enable-splitter use wxSplitterWindow class
987 --enable-statbmp use wxStaticBitmap class
988 --enable-statbox use wxStaticBox class
989 --enable-statline use wxStaticLine class
990 --enable-stattext use wxStaticText class
991 --enable-statusbar use wxStatusBar class
992 --enable-tabdialog use wxTabControl class
993 --enable-textctrl use wxTextCtrl class
994 --enable-togglebtn use wxToggleButton class
995 --enable-toolbar use wxToolBar class
996 --enable-tbarnative use native wxToolBar class
997 --enable-tbarsmpl use wxToolBarSimple class
998 --enable-treectrl use wxTreeCtrl class
999 --enable-tipwindow use wxTipWindow class
1000 --enable-popupwin use wxPopUpWindow class
1001 --enable-commondlg use all common dialogs
1002 --enable-choicedlg use wxChoiceDialog
1003 --enable-coldlg use wxColourDialog
1004 --enable-filedlg use wxFileDialog
1005 --enable-finddlg use wxFindReplaceDialog
1006 --enable-fontdlg use wxFontDialog
1007 --enable-dirdlg use wxDirDialog
1008 --enable-msgdlg use wxMessageDialog
1009 --enable-numberdlg use wxNumberEntryDialog
1010 --enable-splash use wxSplashScreen
1011 --enable-textdlg use wxTextDialog
1012 --enable-tipdlg use startup tips
1013 --enable-progressdlg use wxProgressDialog
1014 --enable-wizarddlg use wxWizard
1015 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1016 --enable-miniframe use wxMiniFrame class
1017 --enable-tooltips use wxToolTip class
1018 --enable-splines use spline drawing code
1019 --enable-validators use wxValidator and derived classes
1020 --enable-busyinfo use wxBusyInfo
1021 --enable-joystick use wxJoystick (Linux only)
1022 --enable-metafiles use wxMetaFile (Windows only)
1023 --enable-dragimage use wxDragImage
1024 --enable-accessibility enable accessibility support
1025 --enable-palette use wxPalette class
1026 --enable-image use wxImage class
1027 --enable-gif use gif images (GIF file format)
1028 --enable-pcx use pcx images (PCX file format)
1029 --enable-iff use iff images (IFF file format)
1030 --enable-pnm use pnm images (PNM file format)
1031 --enable-xpm use xpm images (XPM file format)
1032 --enable-icocur use Windows ICO and CUR formats
1033 --enable-official_build official build of wxWidgets (win32 DLL only)
1034 --enable-vendor=VENDOR vendor name (win32 DLL only)
1035 --disable-largefile omit support for large files
1036 --disable-gtktest do not try to compile and run a test GTK+ program
1037 --disable-gtktest Do not try to compile and run a test GTK program
1038 --disable-sdltest Do not try to compile and run a test SDL program
1039 --enable-omf use OMF object format (OS/2)
1040 --disable-precomp-headers don't use precompiled headers even if compiler can
1041
1042 Optional Packages:
1043 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1044 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1045 --with-gtk use GTK+
1046 --with-motif use Motif/Lesstif
1047 --with-mac use Mac OS X
1048 --with-cocoa use Cocoa
1049 --with-wine use Wine
1050 --with-msw use MS-Windows
1051 --with-pm use OS/2 Presentation Manager
1052 --with-mgl use SciTech MGL
1053 --with-microwin use MicroWindows
1054 --with-x11 use X11
1055 --with-libpng use libpng (PNG image format)
1056 --with-libjpeg use libjpeg (JPEG file format)
1057 --with-libtiff use libtiff (TIFF file format)
1058 --with-libxpm use libxpm (XPM file format)
1059 --with-libmspack use libmspack (CHM help files loading)
1060 --with-sdl use SDL for audio on Unix
1061 --with-opengl use OpenGL (or Mesa)
1062 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1063 --with-regex enable support for wxRegEx class
1064 --with-zlib use zlib for LZW compression
1065 --with-odbc use the IODBC and wxODBC classes
1066 --with-expat enable XML support using expat parser
1067 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1068 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1069 --with-x use the X Window System
1070 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1071 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1072 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1073 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1074 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1075
1076 Some influential environment variables:
1077 CC C compiler command
1078 CFLAGS C compiler flags
1079 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1080 nonstandard directory <lib dir>
1081 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1082 headers in a nonstandard directory <include dir>
1083 CPP C preprocessor
1084 CXX C++ compiler command
1085 CXXFLAGS C++ compiler flags
1086 CXXCPP C++ preprocessor
1087
1088 Use these variables to override the choices made by `configure' or to help
1089 it to find libraries and programs with nonstandard names/locations.
1090
1091 Report bugs to <wx-dev@lists.wxwidgets.org>.
1092 _ACEOF
1093 fi
1094
1095 if test "$ac_init_help" = "recursive"; then
1096 # If there are subdirs, report their specific --help.
1097 ac_popdir=`pwd`
1098 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1099 test -d $ac_dir || continue
1100 ac_builddir=.
1101
1102 if test "$ac_dir" != .; then
1103 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1104 # A "../" for each directory in $ac_dir_suffix.
1105 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1106 else
1107 ac_dir_suffix= ac_top_builddir=
1108 fi
1109
1110 case $srcdir in
1111 .) # No --srcdir option. We are building in place.
1112 ac_srcdir=.
1113 if test -z "$ac_top_builddir"; then
1114 ac_top_srcdir=.
1115 else
1116 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1117 fi ;;
1118 [\\/]* | ?:[\\/]* ) # Absolute path.
1119 ac_srcdir=$srcdir$ac_dir_suffix;
1120 ac_top_srcdir=$srcdir ;;
1121 *) # Relative path.
1122 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1123 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1124 esac
1125
1126 # Do not use `cd foo && pwd` to compute absolute paths, because
1127 # the directories may not exist.
1128 case `pwd` in
1129 .) ac_abs_builddir="$ac_dir";;
1130 *)
1131 case "$ac_dir" in
1132 .) ac_abs_builddir=`pwd`;;
1133 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1134 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1135 esac;;
1136 esac
1137 case $ac_abs_builddir in
1138 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1139 *)
1140 case ${ac_top_builddir}. in
1141 .) ac_abs_top_builddir=$ac_abs_builddir;;
1142 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1143 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1144 esac;;
1145 esac
1146 case $ac_abs_builddir in
1147 .) ac_abs_srcdir=$ac_srcdir;;
1148 *)
1149 case $ac_srcdir in
1150 .) ac_abs_srcdir=$ac_abs_builddir;;
1151 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1152 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1153 esac;;
1154 esac
1155 case $ac_abs_builddir in
1156 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1157 *)
1158 case $ac_top_srcdir in
1159 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1160 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1161 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1162 esac;;
1163 esac
1164
1165 cd $ac_dir
1166 # Check for guested configure; otherwise get Cygnus style configure.
1167 if test -f $ac_srcdir/configure.gnu; then
1168 echo
1169 $SHELL $ac_srcdir/configure.gnu --help=recursive
1170 elif test -f $ac_srcdir/configure; then
1171 echo
1172 $SHELL $ac_srcdir/configure --help=recursive
1173 elif test -f $ac_srcdir/configure.ac ||
1174 test -f $ac_srcdir/configure.in; then
1175 echo
1176 $ac_configure --help
1177 else
1178 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1179 fi
1180 cd "$ac_popdir"
1181 done
1182 fi
1183
1184 test -n "$ac_init_help" && exit 0
1185 if $ac_init_version; then
1186 cat <<\_ACEOF
1187 wxWidgets configure 2.5.2
1188 generated by GNU Autoconf 2.59
1189
1190 Copyright (C) 2003 Free Software Foundation, Inc.
1191 This configure script is free software; the Free Software Foundation
1192 gives unlimited permission to copy, distribute and modify it.
1193 _ACEOF
1194 exit 0
1195 fi
1196 exec 5>config.log
1197 cat >&5 <<_ACEOF
1198 This file contains any messages produced by compilers while
1199 running configure, to aid debugging if configure makes a mistake.
1200
1201 It was created by wxWidgets $as_me 2.5.2, which was
1202 generated by GNU Autoconf 2.59. Invocation command line was
1203
1204 $ $0 $@
1205
1206 _ACEOF
1207 {
1208 cat <<_ASUNAME
1209 ## --------- ##
1210 ## Platform. ##
1211 ## --------- ##
1212
1213 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1214 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1215 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1216 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1217 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1218
1219 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1220 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1221
1222 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1223 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1224 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1225 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1226 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1227 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1228 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1229
1230 _ASUNAME
1231
1232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1233 for as_dir in $PATH
1234 do
1235 IFS=$as_save_IFS
1236 test -z "$as_dir" && as_dir=.
1237 echo "PATH: $as_dir"
1238 done
1239
1240 } >&5
1241
1242 cat >&5 <<_ACEOF
1243
1244
1245 ## ----------- ##
1246 ## Core tests. ##
1247 ## ----------- ##
1248
1249 _ACEOF
1250
1251
1252 # Keep a trace of the command line.
1253 # Strip out --no-create and --no-recursion so they do not pile up.
1254 # Strip out --silent because we don't want to record it for future runs.
1255 # Also quote any args containing shell meta-characters.
1256 # Make two passes to allow for proper duplicate-argument suppression.
1257 ac_configure_args=
1258 ac_configure_args0=
1259 ac_configure_args1=
1260 ac_sep=
1261 ac_must_keep_next=false
1262 for ac_pass in 1 2
1263 do
1264 for ac_arg
1265 do
1266 case $ac_arg in
1267 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1268 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1269 | -silent | --silent | --silen | --sile | --sil)
1270 continue ;;
1271 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1272 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1273 esac
1274 case $ac_pass in
1275 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1276 2)
1277 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1278 if test $ac_must_keep_next = true; then
1279 ac_must_keep_next=false # Got value, back to normal.
1280 else
1281 case $ac_arg in
1282 *=* | --config-cache | -C | -disable-* | --disable-* \
1283 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1284 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1285 | -with-* | --with-* | -without-* | --without-* | --x)
1286 case "$ac_configure_args0 " in
1287 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1288 esac
1289 ;;
1290 -* ) ac_must_keep_next=true ;;
1291 esac
1292 fi
1293 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1294 # Get rid of the leading space.
1295 ac_sep=" "
1296 ;;
1297 esac
1298 done
1299 done
1300 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1301 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1302
1303 # When interrupted or exit'd, cleanup temporary files, and complete
1304 # config.log. We remove comments because anyway the quotes in there
1305 # would cause problems or look ugly.
1306 # WARNING: Be sure not to use single quotes in there, as some shells,
1307 # such as our DU 5.0 friend, will then `close' the trap.
1308 trap 'exit_status=$?
1309 # Save into config.log some information that might help in debugging.
1310 {
1311 echo
1312
1313 cat <<\_ASBOX
1314 ## ---------------- ##
1315 ## Cache variables. ##
1316 ## ---------------- ##
1317 _ASBOX
1318 echo
1319 # The following way of writing the cache mishandles newlines in values,
1320 {
1321 (set) 2>&1 |
1322 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1323 *ac_space=\ *)
1324 sed -n \
1325 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1326 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1327 ;;
1328 *)
1329 sed -n \
1330 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1331 ;;
1332 esac;
1333 }
1334 echo
1335
1336 cat <<\_ASBOX
1337 ## ----------------- ##
1338 ## Output variables. ##
1339 ## ----------------- ##
1340 _ASBOX
1341 echo
1342 for ac_var in $ac_subst_vars
1343 do
1344 eval ac_val=$`echo $ac_var`
1345 echo "$ac_var='"'"'$ac_val'"'"'"
1346 done | sort
1347 echo
1348
1349 if test -n "$ac_subst_files"; then
1350 cat <<\_ASBOX
1351 ## ------------- ##
1352 ## Output files. ##
1353 ## ------------- ##
1354 _ASBOX
1355 echo
1356 for ac_var in $ac_subst_files
1357 do
1358 eval ac_val=$`echo $ac_var`
1359 echo "$ac_var='"'"'$ac_val'"'"'"
1360 done | sort
1361 echo
1362 fi
1363
1364 if test -s confdefs.h; then
1365 cat <<\_ASBOX
1366 ## ----------- ##
1367 ## confdefs.h. ##
1368 ## ----------- ##
1369 _ASBOX
1370 echo
1371 sed "/^$/d" confdefs.h | sort
1372 echo
1373 fi
1374 test "$ac_signal" != 0 &&
1375 echo "$as_me: caught signal $ac_signal"
1376 echo "$as_me: exit $exit_status"
1377 } >&5
1378 rm -f core *.core &&
1379 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1380 exit $exit_status
1381 ' 0
1382 for ac_signal in 1 2 13 15; do
1383 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1384 done
1385 ac_signal=0
1386
1387 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1388 rm -rf conftest* confdefs.h
1389 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1390 echo >confdefs.h
1391
1392 # Predefined preprocessor variables.
1393
1394 cat >>confdefs.h <<_ACEOF
1395 #define PACKAGE_NAME "$PACKAGE_NAME"
1396 _ACEOF
1397
1398
1399 cat >>confdefs.h <<_ACEOF
1400 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1401 _ACEOF
1402
1403
1404 cat >>confdefs.h <<_ACEOF
1405 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1406 _ACEOF
1407
1408
1409 cat >>confdefs.h <<_ACEOF
1410 #define PACKAGE_STRING "$PACKAGE_STRING"
1411 _ACEOF
1412
1413
1414 cat >>confdefs.h <<_ACEOF
1415 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1416 _ACEOF
1417
1418
1419 # Let the site file select an alternate cache file if it wants to.
1420 # Prefer explicitly selected file to automatically selected ones.
1421 if test -z "$CONFIG_SITE"; then
1422 if test "x$prefix" != xNONE; then
1423 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1424 else
1425 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1426 fi
1427 fi
1428 for ac_site_file in $CONFIG_SITE; do
1429 if test -r "$ac_site_file"; then
1430 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1431 echo "$as_me: loading site script $ac_site_file" >&6;}
1432 sed 's/^/| /' "$ac_site_file" >&5
1433 . "$ac_site_file"
1434 fi
1435 done
1436
1437 if test -r "$cache_file"; then
1438 # Some versions of bash will fail to source /dev/null (special
1439 # files actually), so we avoid doing that.
1440 if test -f "$cache_file"; then
1441 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1442 echo "$as_me: loading cache $cache_file" >&6;}
1443 case $cache_file in
1444 [\\/]* | ?:[\\/]* ) . $cache_file;;
1445 *) . ./$cache_file;;
1446 esac
1447 fi
1448 else
1449 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1450 echo "$as_me: creating cache $cache_file" >&6;}
1451 >$cache_file
1452 fi
1453
1454 # Check that the precious variables saved in the cache have kept the same
1455 # value.
1456 ac_cache_corrupted=false
1457 for ac_var in `(set) 2>&1 |
1458 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1459 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1460 eval ac_new_set=\$ac_env_${ac_var}_set
1461 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1462 eval ac_new_val="\$ac_env_${ac_var}_value"
1463 case $ac_old_set,$ac_new_set in
1464 set,)
1465 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1466 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1467 ac_cache_corrupted=: ;;
1468 ,set)
1469 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1470 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1471 ac_cache_corrupted=: ;;
1472 ,);;
1473 *)
1474 if test "x$ac_old_val" != "x$ac_new_val"; then
1475 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1476 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1477 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1478 echo "$as_me: former value: $ac_old_val" >&2;}
1479 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1480 echo "$as_me: current value: $ac_new_val" >&2;}
1481 ac_cache_corrupted=:
1482 fi;;
1483 esac
1484 # Pass precious variables to config.status.
1485 if test "$ac_new_set" = set; then
1486 case $ac_new_val in
1487 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1488 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1489 *) ac_arg=$ac_var=$ac_new_val ;;
1490 esac
1491 case " $ac_configure_args " in
1492 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1493 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1494 esac
1495 fi
1496 done
1497 if $ac_cache_corrupted; then
1498 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1499 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1500 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1501 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1502 { (exit 1); exit 1; }; }
1503 fi
1504
1505 ac_ext=c
1506 ac_cpp='$CPP $CPPFLAGS'
1507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540 ac_aux_dir=
1541 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1542 if test -f $ac_dir/install-sh; then
1543 ac_aux_dir=$ac_dir
1544 ac_install_sh="$ac_aux_dir/install-sh -c"
1545 break
1546 elif test -f $ac_dir/install.sh; then
1547 ac_aux_dir=$ac_dir
1548 ac_install_sh="$ac_aux_dir/install.sh -c"
1549 break
1550 elif test -f $ac_dir/shtool; then
1551 ac_aux_dir=$ac_dir
1552 ac_install_sh="$ac_aux_dir/shtool install -c"
1553 break
1554 fi
1555 done
1556 if test -z "$ac_aux_dir"; then
1557 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1558 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1559 { (exit 1); exit 1; }; }
1560 fi
1561 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1562 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1563 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1564
1565 # Make sure we can run config.sub.
1566 $ac_config_sub sun4 >/dev/null 2>&1 ||
1567 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1568 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1569 { (exit 1); exit 1; }; }
1570
1571 echo "$as_me:$LINENO: checking build system type" >&5
1572 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1573 if test "${ac_cv_build+set}" = set; then
1574 echo $ECHO_N "(cached) $ECHO_C" >&6
1575 else
1576 ac_cv_build_alias=$build_alias
1577 test -z "$ac_cv_build_alias" &&
1578 ac_cv_build_alias=`$ac_config_guess`
1579 test -z "$ac_cv_build_alias" &&
1580 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1581 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1582 { (exit 1); exit 1; }; }
1583 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1584 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1585 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1586 { (exit 1); exit 1; }; }
1587
1588 fi
1589 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1590 echo "${ECHO_T}$ac_cv_build" >&6
1591 build=$ac_cv_build
1592 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1593 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1594 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1595
1596
1597 echo "$as_me:$LINENO: checking host system type" >&5
1598 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1599 if test "${ac_cv_host+set}" = set; then
1600 echo $ECHO_N "(cached) $ECHO_C" >&6
1601 else
1602 ac_cv_host_alias=$host_alias
1603 test -z "$ac_cv_host_alias" &&
1604 ac_cv_host_alias=$ac_cv_build_alias
1605 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1606 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1607 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1608 { (exit 1); exit 1; }; }
1609
1610 fi
1611 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1612 echo "${ECHO_T}$ac_cv_host" >&6
1613 host=$ac_cv_host
1614 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1615 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1616 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1617
1618
1619 echo "$as_me:$LINENO: checking target system type" >&5
1620 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1621 if test "${ac_cv_target+set}" = set; then
1622 echo $ECHO_N "(cached) $ECHO_C" >&6
1623 else
1624 ac_cv_target_alias=$target_alias
1625 test "x$ac_cv_target_alias" = "x" &&
1626 ac_cv_target_alias=$ac_cv_host_alias
1627 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1628 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1629 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1630 { (exit 1); exit 1; }; }
1631
1632 fi
1633 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1634 echo "${ECHO_T}$ac_cv_target" >&6
1635 target=$ac_cv_target
1636 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1637 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1638 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1639
1640
1641 # The aliases save the names the user supplied, while $host etc.
1642 # will get canonicalized.
1643 test -n "$target_alias" &&
1644 test "$program_prefix$program_suffix$program_transform_name" = \
1645 NONENONEs,x,x, &&
1646 program_prefix=${target_alias}-
1647
1648
1649
1650 WX_MAJOR_VERSION_NUMBER=2
1651 WX_MINOR_VERSION_NUMBER=5
1652 WX_RELEASE_NUMBER=2
1653 WX_SUBRELEASE_NUMBER=3
1654
1655 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1656 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1657
1658 WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1659
1660 WX_CURRENT=2
1661 WX_REVISION=0
1662 WX_AGE=0
1663
1664
1665
1666 USE_UNIX=1
1667 USE_OS2=0
1668 USE_WIN32=0
1669 USE_DOS=0
1670 USE_BEOS=0
1671 USE_MAC=0
1672
1673 USE_AIX=
1674 USE_BSD= USE_DARWIN= USE_FREEBSD=
1675 USE_GNU= USE_HPUX=
1676 USE_LINUX=
1677 USE_NETBSD=
1678 USE_OPENBSD=
1679 USE_OSF= USE_SGI=
1680 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1681 USE_ULTRIX=
1682 USE_UNIXWARE=
1683
1684 USE_ALPHA=
1685
1686 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1687
1688 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1689
1690 DEFAULT_wxUSE_COCOA=0
1691 DEFAULT_wxUSE_GTK=0
1692 DEFAULT_wxUSE_MAC=0
1693 DEFAULT_wxUSE_MGL=0
1694 DEFAULT_wxUSE_MICROWIN=0
1695 DEFAULT_wxUSE_MOTIF=0
1696 DEFAULT_wxUSE_MSW=0
1697 DEFAULT_wxUSE_PM=0
1698 DEFAULT_wxUSE_X11=0
1699
1700 DEFAULT_DEFAULT_wxUSE_COCOA=0
1701 DEFAULT_DEFAULT_wxUSE_GTK=0
1702 DEFAULT_DEFAULT_wxUSE_MAC=0
1703 DEFAULT_DEFAULT_wxUSE_MGL=0
1704 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1705 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1706 DEFAULT_DEFAULT_wxUSE_MSW=0
1707 DEFAULT_DEFAULT_wxUSE_PM=0
1708 DEFAULT_DEFAULT_wxUSE_X11=0
1709
1710 PROGRAM_EXT=
1711 SO_SUFFIX=so
1712 SAMPLES_RPATH_FLAG=
1713 SAMPLES_RPATH_POSTLINK=
1714
1715 case "${host}" in
1716 *-hp-hpux* )
1717 USE_HPUX=1
1718 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1719 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1720 SO_SUFFIX=sl
1721 cat >>confdefs.h <<\_ACEOF
1722 #define __HPUX__ 1
1723 _ACEOF
1724
1725 ;;
1726 *-*-linux* )
1727 USE_LINUX=1
1728 cat >>confdefs.h <<\_ACEOF
1729 #define __LINUX__ 1
1730 _ACEOF
1731
1732 TMP=`uname -m`
1733 if test "x$TMP" = "xalpha"; then
1734 USE_ALPHA=1
1735 cat >>confdefs.h <<\_ACEOF
1736 #define __ALPHA__ 1
1737 _ACEOF
1738
1739 fi
1740 DEFAULT_DEFAULT_wxUSE_GTK=1
1741 ;;
1742 *-*-gnu* | *-*-k*bsd*-gnu )
1743 USE_GNU=1
1744 TMP=`uname -m`
1745 if test "x$TMP" = "xalpha"; then
1746 USE_ALPHA=1
1747 cat >>confdefs.h <<\_ACEOF
1748 #define __ALPHA__ 1
1749 _ACEOF
1750
1751 fi
1752 DEFAULT_DEFAULT_wxUSE_GTK=1
1753 ;;
1754 *-*-irix5* | *-*-irix6* )
1755 USE_SGI=1
1756 USE_SVR4=1
1757 cat >>confdefs.h <<\_ACEOF
1758 #define __SGI__ 1
1759 _ACEOF
1760
1761 cat >>confdefs.h <<\_ACEOF
1762 #define __SVR4__ 1
1763 _ACEOF
1764
1765 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1766 ;;
1767 *-*-solaris2* )
1768 USE_SUN=1
1769 USE_SOLARIS=1
1770 USE_SVR4=1
1771 cat >>confdefs.h <<\_ACEOF
1772 #define __SUN__ 1
1773 _ACEOF
1774
1775 cat >>confdefs.h <<\_ACEOF
1776 #define __SOLARIS__ 1
1777 _ACEOF
1778
1779 cat >>confdefs.h <<\_ACEOF
1780 #define __SVR4__ 1
1781 _ACEOF
1782
1783 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1784 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1785 ;;
1786 *-*-sunos4* )
1787 USE_SUN=1
1788 USE_SUNOS=1
1789 USE_BSD=1
1790 cat >>confdefs.h <<\_ACEOF
1791 #define __SUN__ 1
1792 _ACEOF
1793
1794 cat >>confdefs.h <<\_ACEOF
1795 #define __SUNOS__ 1
1796 _ACEOF
1797
1798 cat >>confdefs.h <<\_ACEOF
1799 #define __BSD__ 1
1800 _ACEOF
1801
1802 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1803 ;;
1804 *-*-freebsd*)
1805 USE_BSD=1
1806 USE_FREEBSD=1
1807 cat >>confdefs.h <<\_ACEOF
1808 #define __FREEBSD__ 1
1809 _ACEOF
1810
1811 cat >>confdefs.h <<\_ACEOF
1812 #define __BSD__ 1
1813 _ACEOF
1814
1815 DEFAULT_DEFAULT_wxUSE_GTK=1
1816 ;;
1817 *-*-openbsd*)
1818 USE_BSD=1
1819 USE_OPENBSD=1
1820 cat >>confdefs.h <<\_ACEOF
1821 #define __OPENBSD__ 1
1822 _ACEOF
1823
1824 cat >>confdefs.h <<\_ACEOF
1825 #define __BSD__ 1
1826 _ACEOF
1827
1828 DEFAULT_DEFAULT_wxUSE_GTK=1
1829 ;;
1830 *-*-netbsd*)
1831 USE_BSD=1
1832 USE_NETBSD=1
1833 cat >>confdefs.h <<\_ACEOF
1834 #define __NETBSD__ 1
1835 _ACEOF
1836
1837 cat >>confdefs.h <<\_ACEOF
1838 #define __BSD__ 1
1839 _ACEOF
1840
1841 DEFAULT_DEFAULT_wxUSE_GTK=1
1842 ;;
1843 *-*-osf* )
1844 USE_ALPHA=1
1845 USE_OSF=1
1846 cat >>confdefs.h <<\_ACEOF
1847 #define __ALPHA__ 1
1848 _ACEOF
1849
1850 cat >>confdefs.h <<\_ACEOF
1851 #define __OSF__ 1
1852 _ACEOF
1853
1854 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1855 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1856 ;;
1857 *-*-dgux5* )
1858 USE_ALPHA=1
1859 USE_SVR4=1
1860 cat >>confdefs.h <<\_ACEOF
1861 #define __ALPHA__ 1
1862 _ACEOF
1863
1864 cat >>confdefs.h <<\_ACEOF
1865 #define __SVR4__ 1
1866 _ACEOF
1867
1868 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1869 ;;
1870 *-*-sysv5* )
1871 USE_SYSV=1
1872 USE_SVR4=1
1873 cat >>confdefs.h <<\_ACEOF
1874 #define __SYSV__ 1
1875 _ACEOF
1876
1877 cat >>confdefs.h <<\_ACEOF
1878 #define __SVR4__ 1
1879 _ACEOF
1880
1881 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1882 ;;
1883 *-*-aix* )
1884 USE_AIX=1
1885 USE_SYSV=1
1886 USE_SVR4=1
1887 SO_SUFFIX=a
1888 cat >>confdefs.h <<\_ACEOF
1889 #define __AIX__ 1
1890 _ACEOF
1891
1892 cat >>confdefs.h <<\_ACEOF
1893 #define __SYSV__ 1
1894 _ACEOF
1895
1896 cat >>confdefs.h <<\_ACEOF
1897 #define __SVR4__ 1
1898 _ACEOF
1899
1900 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1901 ;;
1902
1903 *-*-*UnixWare*)
1904 USE_SYSV=1
1905 USE_SVR4=1
1906 USE_UNIXWARE=1
1907 cat >>confdefs.h <<\_ACEOF
1908 #define __UNIXWARE__ 1
1909 _ACEOF
1910
1911 ;;
1912
1913 *-*-cygwin* | *-*-mingw32* )
1914 SO_SUFFIX=dll
1915 PROGRAM_EXT=".exe"
1916 RESCOMP=windres
1917 DEFAULT_DEFAULT_wxUSE_MSW=1
1918 ;;
1919
1920 *-pc-msdosdjgpp )
1921 USE_UNIX=0
1922 USE_DOS=1
1923 cat >>confdefs.h <<\_ACEOF
1924 #define __DOS__ 1
1925 _ACEOF
1926
1927 PROGRAM_EXT=".exe"
1928 DEFAULT_DEFAULT_wxUSE_MGL=1
1929 LIBS="$LIBS -lstdc++"
1930 ;;
1931
1932 *-pc-os2_emx | *-pc-os2-emx )
1933 cat >>confdefs.h <<\_ACEOF
1934 #define __EMX__ 1
1935 _ACEOF
1936
1937 USE_OS2=1
1938 cat >>confdefs.h <<\_ACEOF
1939 #define __OS2__ 1
1940 _ACEOF
1941
1942 PROGRAM_EXT=".exe"
1943 DEFAULT_DEFAULT_wxUSE_PM=1
1944 CXX=gcc
1945 LDFLAGS="$LDFLAGS -Zcrtdll"
1946 ac_executable_extensions=".exe"
1947 export ac_executable_extensions
1948 ac_save_IFS="$IFS"
1949 IFS='\\'
1950 ac_TEMP_PATH=
1951 for ac_dir in $PATH; do
1952 IFS=$ac_save_IFS
1953 if test -z "$ac_TEMP_PATH"; then
1954 ac_TEMP_PATH="$ac_dir"
1955 else
1956 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1957 fi
1958 done
1959 export PATH="$ac_TEMP_PATH"
1960 unset ac_TEMP_PATH
1961 ;;
1962
1963 powerpc-*-darwin* )
1964 USE_BSD=1
1965 USE_DARWIN=1
1966 SO_SUFFIX=dylib
1967 cat >>confdefs.h <<\_ACEOF
1968 #define __BSD__ 1
1969 _ACEOF
1970
1971 cat >>confdefs.h <<\_ACEOF
1972 #define __DARWIN__ 1
1973 _ACEOF
1974
1975 cat >>confdefs.h <<\_ACEOF
1976 #define __POWERPC__ 1
1977 _ACEOF
1978
1979 cat >>confdefs.h <<\_ACEOF
1980 #define TARGET_CARBON 1
1981 _ACEOF
1982
1983 DEFAULT_DEFAULT_wxUSE_MAC=1
1984 ;;
1985
1986 *-*-beos* )
1987 USE_BEOS=1
1988 cat >>confdefs.h <<\_ACEOF
1989 #define __BEOS__ 1
1990 _ACEOF
1991
1992 ;;
1993
1994 *)
1995 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1996 echo "$as_me: error: unknown system type ${host}." >&2;}
1997 { (exit 1); exit 1; }; }
1998 esac
1999
2000
2001
2002
2003 wx_arg_cache_file="configarg.cache"
2004 echo "loading argument cache $wx_arg_cache_file"
2005 rm -f ${wx_arg_cache_file}.tmp
2006 touch ${wx_arg_cache_file}.tmp
2007 touch ${wx_arg_cache_file}
2008
2009
2010 DEBUG_CONFIGURE=0
2011 if test $DEBUG_CONFIGURE = 1; then
2012 DEFAULT_wxUSE_UNIVERSAL=no
2013 DEFAULT_wxUSE_STL=no
2014
2015 DEFAULT_wxUSE_NANOX=no
2016
2017 DEFAULT_wxUSE_THREADS=yes
2018
2019 DEFAULT_wxUSE_SHARED=yes
2020 DEFAULT_wxUSE_OPTIMISE=no
2021 DEFAULT_wxUSE_PROFILE=no
2022 DEFAULT_wxUSE_NO_DEPS=no
2023 DEFAULT_wxUSE_NO_RTTI=no
2024 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2025 DEFAULT_wxUSE_PERMISSIVE=no
2026 DEFAULT_wxUSE_DEBUG_FLAG=yes
2027 DEFAULT_wxUSE_DEBUG_INFO=yes
2028 DEFAULT_wxUSE_DEBUG_GDB=yes
2029 DEFAULT_wxUSE_MEM_TRACING=no
2030 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2031 DEFAULT_wxUSE_DMALLOC=no
2032 DEFAULT_wxUSE_APPLE_IEEE=no
2033
2034 DEFAULT_wxUSE_EXCEPTIONS=no
2035 DEFAULT_wxUSE_LOG=yes
2036 DEFAULT_wxUSE_LOGWINDOW=no
2037 DEFAULT_wxUSE_LOGGUI=no
2038 DEFAULT_wxUSE_LOGDIALOG=no
2039
2040 DEFAULT_wxUSE_GUI=yes
2041 DEFAULT_wxUSE_CONTROLS=no
2042
2043 DEFAULT_wxUSE_REGEX=no
2044 DEFAULT_wxUSE_XML=no
2045 DEFAULT_wxUSE_EXPAT=no
2046 DEFAULT_wxUSE_ZLIB=no
2047 DEFAULT_wxUSE_LIBPNG=no
2048 DEFAULT_wxUSE_LIBJPEG=no
2049 DEFAULT_wxUSE_LIBTIFF=no
2050 DEFAULT_wxUSE_LIBXPM=no
2051 DEFAULT_wxUSE_LIBMSPACK=no
2052 DEFAULT_wxUSE_LIBSDL=no
2053 DEFAULT_wxUSE_ODBC=no
2054 DEFAULT_wxUSE_OPENGL=no
2055
2056 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2057 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2058 DEFAULT_wxUSE_STD_IOSTREAM=no
2059 DEFAULT_wxUSE_CMDLINE_PARSER=no
2060 DEFAULT_wxUSE_DATETIME=no
2061 DEFAULT_wxUSE_TIMER=no
2062 DEFAULT_wxUSE_STOPWATCH=no
2063 DEFAULT_wxUSE_FILE=no
2064 DEFAULT_wxUSE_FFILE=no
2065 DEFAULT_wxUSE_TEXTBUFFER=no
2066 DEFAULT_wxUSE_TEXTFILE=no
2067 DEFAULT_wxUSE_SOUND=no
2068 DEFAULT_wxUSE_INTL=no
2069 DEFAULT_wxUSE_CONFIG=no
2070 DEFAULT_wxUSE_FONTMAP=no
2071 DEFAULT_wxUSE_STREAMS=no
2072 DEFAULT_wxUSE_SOCKETS=no
2073 DEFAULT_wxUSE_OLE=no
2074 DEFAULT_wxUSE_DATAOBJ=no
2075 DEFAULT_wxUSE_DIALUP_MANAGER=no
2076 DEFAULT_wxUSE_JOYSTICK=no
2077 DEFAULT_wxUSE_DYNLIB_CLASS=no
2078 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2079 DEFAULT_wxUSE_LONGLONG=no
2080 DEFAULT_wxUSE_GEOMETRY=no
2081
2082 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2083 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2084 DEFAULT_wxUSE_POSTSCRIPT=no
2085
2086 DEFAULT_wxUSE_CLIPBOARD=no
2087 DEFAULT_wxUSE_TOOLTIPS=no
2088 DEFAULT_wxUSE_DRAG_AND_DROP=no
2089 DEFAULT_wxUSE_DRAGIMAGE=no
2090 DEFAULT_wxUSE_SPLINES=no
2091
2092 DEFAULT_wxUSE_MDI=no
2093 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2094 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2095 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2096
2097 DEFAULT_wxUSE_RESOURCES=no
2098 DEFAULT_wxUSE_CONSTRAINTS=no
2099 DEFAULT_wxUSE_IPC=no
2100 DEFAULT_wxUSE_HELP=no
2101 DEFAULT_wxUSE_MS_HTML_HELP=no
2102 DEFAULT_wxUSE_WXHTML_HELP=no
2103 DEFAULT_wxUSE_TREELAYOUT=no
2104 DEFAULT_wxUSE_METAFILE=no
2105 DEFAULT_wxUSE_MIMETYPE=no
2106 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2107 DEFAULT_wxUSE_PROTOCOL=no
2108 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2109 DEFAULT_wxUSE_PROTOCOL_FTP=no
2110 DEFAULT_wxUSE_PROTOCOL_FILE=no
2111 DEFAULT_wxUSE_URL=no
2112
2113 DEFAULT_wxUSE_COMMONDLGS=no
2114 DEFAULT_wxUSE_CHOICEDLG=no
2115 DEFAULT_wxUSE_COLOURDLG=no
2116 DEFAULT_wxUSE_DIRDLG=no
2117 DEFAULT_wxUSE_FILEDLG=no
2118 DEFAULT_wxUSE_FINDREPLDLG=no
2119 DEFAULT_wxUSE_FONTDLG=no
2120 DEFAULT_wxUSE_MSGDLG=no
2121 DEFAULT_wxUSE_NUMBERDLG=no
2122 DEFAULT_wxUSE_TEXTDLG=no
2123 DEFAULT_wxUSE_SPLASH=no
2124 DEFAULT_wxUSE_STARTUP_TIPS=no
2125 DEFAULT_wxUSE_PROGRESSDLG=no
2126 DEFAULT_wxUSE_WIZARDDLG=no
2127
2128 DEFAULT_wxUSE_MENUS=no
2129 DEFAULT_wxUSE_MINIFRAME=no
2130 DEFAULT_wxUSE_HTML=no
2131 DEFAULT_wxUSE_WEBKIT=no
2132 DEFAULT_wxUSE_FILESYSTEM=no
2133 DEFAULT_wxUSE_FS_INET=no
2134 DEFAULT_wxUSE_FS_ZIP=no
2135 DEFAULT_wxUSE_BUSYINFO=no
2136 DEFAULT_wxUSE_ZIPSTREAM=no
2137 DEFAULT_wxUSE_VALIDATORS=no
2138
2139 DEFAULT_wxUSE_ACCEL=no
2140 DEFAULT_wxUSE_BUTTON=no
2141 DEFAULT_wxUSE_BMPBUTTON=no
2142 DEFAULT_wxUSE_CALCTRL=no
2143 DEFAULT_wxUSE_CARET=no
2144 DEFAULT_wxUSE_CHECKBOX=no
2145 DEFAULT_wxUSE_CHECKLST=no
2146 DEFAULT_wxUSE_CHOICE=no
2147 DEFAULT_wxUSE_COMBOBOX=no
2148 DEFAULT_wxUSE_DISPLAY=no
2149 DEFAULT_wxUSE_GAUGE=no
2150 DEFAULT_wxUSE_GRID=no
2151 DEFAULT_wxUSE_IMAGLIST=no
2152 DEFAULT_wxUSE_LISTBOOK=no
2153 DEFAULT_wxUSE_LISTBOX=no
2154 DEFAULT_wxUSE_LISTCTRL=no
2155 DEFAULT_wxUSE_NOTEBOOK=no
2156 DEFAULT_wxUSE_RADIOBOX=no
2157 DEFAULT_wxUSE_RADIOBTN=no
2158 DEFAULT_wxUSE_SASH=no
2159 DEFAULT_wxUSE_SCROLLBAR=no
2160 DEFAULT_wxUSE_SLIDER=no
2161 DEFAULT_wxUSE_SPINBTN=no
2162 DEFAULT_wxUSE_SPINCTRL=no
2163 DEFAULT_wxUSE_SPLITTER=no
2164 DEFAULT_wxUSE_STATBMP=no
2165 DEFAULT_wxUSE_STATBOX=no
2166 DEFAULT_wxUSE_STATLINE=no
2167 DEFAULT_wxUSE_STATTEXT=no
2168 DEFAULT_wxUSE_STATUSBAR=yes
2169 DEFAULT_wxUSE_TABDIALOG=no
2170 DEFAULT_wxUSE_TEXTCTRL=no
2171 DEFAULT_wxUSE_TOGGLEBTN=no
2172 DEFAULT_wxUSE_TOOLBAR=no
2173 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2174 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2175 DEFAULT_wxUSE_TREECTRL=no
2176 DEFAULT_wxUSE_POPUPWIN=no
2177 DEFAULT_wxUSE_TIPWINDOW=no
2178
2179 DEFAULT_wxUSE_UNICODE=no
2180 DEFAULT_wxUSE_UNICODE_MSLU=no
2181 DEFAULT_wxUSE_WCSRTOMBS=no
2182
2183 DEFAULT_wxUSE_PALETTE=no
2184 DEFAULT_wxUSE_IMAGE=no
2185 DEFAULT_wxUSE_GIF=no
2186 DEFAULT_wxUSE_PCX=no
2187 DEFAULT_wxUSE_PNM=no
2188 DEFAULT_wxUSE_IFF=no
2189 DEFAULT_wxUSE_XPM=no
2190 DEFAULT_wxUSE_ICO_CUR=no
2191 DEFAULT_wxUSE_ACCESSIBILITY=no
2192
2193 DEFAULT_wxUSE_MONOLITHIC=no
2194 DEFAULT_wxUSE_PLUGINS=no
2195 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2196 else
2197 DEFAULT_wxUSE_UNIVERSAL=no
2198 DEFAULT_wxUSE_STL=no
2199
2200 DEFAULT_wxUSE_NANOX=no
2201
2202 DEFAULT_wxUSE_THREADS=yes
2203
2204 DEFAULT_wxUSE_SHARED=yes
2205 DEFAULT_wxUSE_OPTIMISE=yes
2206 DEFAULT_wxUSE_PROFILE=no
2207 DEFAULT_wxUSE_NO_DEPS=no
2208 DEFAULT_wxUSE_NO_RTTI=no
2209 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2210 DEFAULT_wxUSE_PERMISSIVE=no
2211 DEFAULT_wxUSE_DEBUG_FLAG=no
2212 DEFAULT_wxUSE_DEBUG_INFO=no
2213 DEFAULT_wxUSE_DEBUG_GDB=no
2214 DEFAULT_wxUSE_MEM_TRACING=no
2215 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2216 DEFAULT_wxUSE_DMALLOC=no
2217 DEFAULT_wxUSE_APPLE_IEEE=yes
2218
2219 DEFAULT_wxUSE_EXCEPTIONS=yes
2220 DEFAULT_wxUSE_LOG=yes
2221 DEFAULT_wxUSE_LOGWINDOW=yes
2222 DEFAULT_wxUSE_LOGGUI=yes
2223 DEFAULT_wxUSE_LOGDIALOG=yes
2224
2225 DEFAULT_wxUSE_GUI=yes
2226
2227 DEFAULT_wxUSE_REGEX=yes
2228 DEFAULT_wxUSE_XML=yes
2229 DEFAULT_wxUSE_EXPAT=yes
2230 DEFAULT_wxUSE_ZLIB=yes
2231 DEFAULT_wxUSE_LIBPNG=yes
2232 DEFAULT_wxUSE_LIBJPEG=yes
2233 DEFAULT_wxUSE_LIBTIFF=yes
2234 DEFAULT_wxUSE_LIBXPM=yes
2235 DEFAULT_wxUSE_LIBMSPACK=yes
2236 DEFAULT_wxUSE_LIBSDL=no
2237 DEFAULT_wxUSE_ODBC=no
2238 DEFAULT_wxUSE_OPENGL=no
2239
2240 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2241 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2242 DEFAULT_wxUSE_STD_IOSTREAM=no
2243 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2244 DEFAULT_wxUSE_DATETIME=yes
2245 DEFAULT_wxUSE_TIMER=yes
2246 DEFAULT_wxUSE_STOPWATCH=yes
2247 DEFAULT_wxUSE_FILE=yes
2248 DEFAULT_wxUSE_FFILE=yes
2249 DEFAULT_wxUSE_TEXTBUFFER=yes
2250 DEFAULT_wxUSE_TEXTFILE=yes
2251 DEFAULT_wxUSE_SOUND=yes
2252 DEFAULT_wxUSE_INTL=yes
2253 DEFAULT_wxUSE_CONFIG=yes
2254 DEFAULT_wxUSE_FONTMAP=yes
2255 DEFAULT_wxUSE_STREAMS=yes
2256 DEFAULT_wxUSE_SOCKETS=yes
2257 DEFAULT_wxUSE_OLE=yes
2258 DEFAULT_wxUSE_DATAOBJ=yes
2259 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2260 DEFAULT_wxUSE_JOYSTICK=yes
2261 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2262 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2263 DEFAULT_wxUSE_LONGLONG=yes
2264 DEFAULT_wxUSE_GEOMETRY=yes
2265
2266 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2267 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2268 DEFAULT_wxUSE_POSTSCRIPT=yes
2269
2270 DEFAULT_wxUSE_CLIPBOARD=yes
2271 DEFAULT_wxUSE_TOOLTIPS=yes
2272 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2273 DEFAULT_wxUSE_DRAGIMAGE=yes
2274 DEFAULT_wxUSE_SPLINES=yes
2275
2276 DEFAULT_wxUSE_MDI=yes
2277 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2278 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2279 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2280
2281 DEFAULT_wxUSE_RESOURCES=no
2282 DEFAULT_wxUSE_CONSTRAINTS=yes
2283 DEFAULT_wxUSE_IPC=yes
2284 DEFAULT_wxUSE_HELP=yes
2285 DEFAULT_wxUSE_MS_HTML_HELP=yes
2286 DEFAULT_wxUSE_WXHTML_HELP=yes
2287 DEFAULT_wxUSE_TREELAYOUT=yes
2288 DEFAULT_wxUSE_METAFILE=yes
2289 DEFAULT_wxUSE_MIMETYPE=yes
2290 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2291 DEFAULT_wxUSE_PROTOCOL=yes
2292 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2293 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2294 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2295 DEFAULT_wxUSE_URL=yes
2296
2297 DEFAULT_wxUSE_COMMONDLGS=yes
2298 DEFAULT_wxUSE_CHOICEDLG=yes
2299 DEFAULT_wxUSE_COLOURDLG=yes
2300 DEFAULT_wxUSE_DIRDLG=yes
2301 DEFAULT_wxUSE_FILEDLG=yes
2302 DEFAULT_wxUSE_FINDREPLDLG=yes
2303 DEFAULT_wxUSE_FONTDLG=yes
2304 DEFAULT_wxUSE_MSGDLG=yes
2305 DEFAULT_wxUSE_NUMBERDLG=yes
2306 DEFAULT_wxUSE_TEXTDLG=yes
2307 DEFAULT_wxUSE_SPLASH=yes
2308 DEFAULT_wxUSE_STARTUP_TIPS=yes
2309 DEFAULT_wxUSE_PROGRESSDLG=yes
2310 DEFAULT_wxUSE_WIZARDDLG=yes
2311
2312 DEFAULT_wxUSE_MENUS=yes
2313 DEFAULT_wxUSE_MINIFRAME=yes
2314 DEFAULT_wxUSE_HTML=yes
2315 DEFAULT_wxUSE_WEBKIT=yes
2316 DEFAULT_wxUSE_FILESYSTEM=yes
2317 DEFAULT_wxUSE_FS_INET=yes
2318 DEFAULT_wxUSE_FS_ZIP=yes
2319 DEFAULT_wxUSE_BUSYINFO=yes
2320 DEFAULT_wxUSE_ZIPSTREAM=yes
2321 DEFAULT_wxUSE_VALIDATORS=yes
2322
2323 DEFAULT_wxUSE_ACCEL=yes
2324 DEFAULT_wxUSE_BUTTON=yes
2325 DEFAULT_wxUSE_BMPBUTTON=yes
2326 DEFAULT_wxUSE_CALCTRL=yes
2327 DEFAULT_wxUSE_CARET=yes
2328 DEFAULT_wxUSE_CHECKBOX=yes
2329 DEFAULT_wxUSE_CHECKLST=yes
2330 DEFAULT_wxUSE_CHOICE=yes
2331 DEFAULT_wxUSE_COMBOBOX=yes
2332 DEFAULT_wxUSE_DISPLAY=yes
2333 DEFAULT_wxUSE_GAUGE=yes
2334 DEFAULT_wxUSE_GRID=yes
2335 DEFAULT_wxUSE_IMAGLIST=yes
2336 DEFAULT_wxUSE_LISTBOOK=yes
2337 DEFAULT_wxUSE_LISTBOX=yes
2338 DEFAULT_wxUSE_LISTCTRL=yes
2339 DEFAULT_wxUSE_NOTEBOOK=yes
2340 DEFAULT_wxUSE_RADIOBOX=yes
2341 DEFAULT_wxUSE_RADIOBTN=yes
2342 DEFAULT_wxUSE_SASH=yes
2343 DEFAULT_wxUSE_SCROLLBAR=yes
2344 DEFAULT_wxUSE_SLIDER=yes
2345 DEFAULT_wxUSE_SPINBTN=yes
2346 DEFAULT_wxUSE_SPINCTRL=yes
2347 DEFAULT_wxUSE_SPLITTER=yes
2348 DEFAULT_wxUSE_STATBMP=yes
2349 DEFAULT_wxUSE_STATBOX=yes
2350 DEFAULT_wxUSE_STATLINE=yes
2351 DEFAULT_wxUSE_STATTEXT=yes
2352 DEFAULT_wxUSE_STATUSBAR=yes
2353 DEFAULT_wxUSE_TABDIALOG=no
2354 DEFAULT_wxUSE_TEXTCTRL=yes
2355 DEFAULT_wxUSE_TOGGLEBTN=yes
2356 DEFAULT_wxUSE_TOOLBAR=yes
2357 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2358 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2359 DEFAULT_wxUSE_TREECTRL=yes
2360 DEFAULT_wxUSE_POPUPWIN=yes
2361 DEFAULT_wxUSE_TIPWINDOW=yes
2362
2363 DEFAULT_wxUSE_UNICODE=no
2364 DEFAULT_wxUSE_UNICODE_MSLU=yes
2365 DEFAULT_wxUSE_WCSRTOMBS=no
2366
2367 DEFAULT_wxUSE_PALETTE=yes
2368 DEFAULT_wxUSE_IMAGE=yes
2369 DEFAULT_wxUSE_GIF=yes
2370 DEFAULT_wxUSE_PCX=yes
2371 DEFAULT_wxUSE_IFF=no
2372 DEFAULT_wxUSE_PNM=yes
2373 DEFAULT_wxUSE_XPM=yes
2374 DEFAULT_wxUSE_ICO_CUR=yes
2375 DEFAULT_wxUSE_ACCESSIBILITY=no
2376
2377 DEFAULT_wxUSE_MONOLITHIC=no
2378 DEFAULT_wxUSE_PLUGINS=no
2379 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2380
2381 DEFAULT_wxUSE_GTK2=yes
2382 fi
2383
2384
2385
2386 for toolkit in `echo $ALL_TOOLKITS`; do
2387 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2388 if test "x$LINE" != "x" ; then
2389 has_toolkit_in_cache=1
2390 eval "DEFAULT_$LINE"
2391 eval "CACHE_$toolkit=1"
2392 fi
2393 done
2394
2395
2396
2397 enablestring=
2398 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2399 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2400 no_cache=0
2401 # Check whether --enable-gui or --disable-gui was given.
2402 if test "${enable_gui+set}" = set; then
2403 enableval="$enable_gui"
2404
2405 if test "$enableval" = yes; then
2406 ac_cv_use_gui='wxUSE_GUI=yes'
2407 else
2408 ac_cv_use_gui='wxUSE_GUI=no'
2409 fi
2410
2411 else
2412
2413 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2414 if test "x$LINE" != x ; then
2415 eval "DEFAULT_$LINE"
2416 else
2417 no_cache=1
2418 fi
2419
2420 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2421
2422 fi;
2423
2424 eval "$ac_cv_use_gui"
2425 if test "$no_cache" != 1; then
2426 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2427 fi
2428
2429 if test "$wxUSE_GUI" = yes; then
2430 echo "$as_me:$LINENO: result: yes" >&5
2431 echo "${ECHO_T}yes" >&6
2432 else
2433 echo "$as_me:$LINENO: result: no" >&5
2434 echo "${ECHO_T}no" >&6
2435 fi
2436
2437
2438 enablestring=
2439 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2440 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2441 no_cache=0
2442 # Check whether --enable-monolithic or --disable-monolithic was given.
2443 if test "${enable_monolithic+set}" = set; then
2444 enableval="$enable_monolithic"
2445
2446 if test "$enableval" = yes; then
2447 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2448 else
2449 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2450 fi
2451
2452 else
2453
2454 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2455 if test "x$LINE" != x ; then
2456 eval "DEFAULT_$LINE"
2457 else
2458 no_cache=1
2459 fi
2460
2461 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2462
2463 fi;
2464
2465 eval "$ac_cv_use_monolithic"
2466 if test "$no_cache" != 1; then
2467 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2468 fi
2469
2470 if test "$wxUSE_MONOLITHIC" = yes; then
2471 echo "$as_me:$LINENO: result: yes" >&5
2472 echo "${ECHO_T}yes" >&6
2473 else
2474 echo "$as_me:$LINENO: result: no" >&5
2475 echo "${ECHO_T}no" >&6
2476 fi
2477
2478
2479 enablestring=
2480 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2481 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2482 no_cache=0
2483 # Check whether --enable-plugins or --disable-plugins was given.
2484 if test "${enable_plugins+set}" = set; then
2485 enableval="$enable_plugins"
2486
2487 if test "$enableval" = yes; then
2488 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2489 else
2490 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2491 fi
2492
2493 else
2494
2495 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2496 if test "x$LINE" != x ; then
2497 eval "DEFAULT_$LINE"
2498 else
2499 no_cache=1
2500 fi
2501
2502 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2503
2504 fi;
2505
2506 eval "$ac_cv_use_plugins"
2507 if test "$no_cache" != 1; then
2508 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2509 fi
2510
2511 if test "$wxUSE_PLUGINS" = yes; then
2512 echo "$as_me:$LINENO: result: yes" >&5
2513 echo "${ECHO_T}yes" >&6
2514 else
2515 echo "$as_me:$LINENO: result: no" >&5
2516 echo "${ECHO_T}no" >&6
2517 fi
2518
2519
2520 if test "$wxUSE_GUI" = "yes"; then
2521
2522
2523 enablestring=
2524 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2525 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2526 no_cache=0
2527 # Check whether --enable-universal or --disable-universal was given.
2528 if test "${enable_universal+set}" = set; then
2529 enableval="$enable_universal"
2530
2531 if test "$enableval" = yes; then
2532 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2533 else
2534 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2535 fi
2536
2537 else
2538
2539 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2540 if test "x$LINE" != x ; then
2541 eval "DEFAULT_$LINE"
2542 else
2543 no_cache=1
2544 fi
2545
2546 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2547
2548 fi;
2549
2550 eval "$ac_cv_use_universal"
2551 if test "$no_cache" != 1; then
2552 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2553 fi
2554
2555 if test "$wxUSE_UNIVERSAL" = yes; then
2556 echo "$as_me:$LINENO: result: yes" >&5
2557 echo "${ECHO_T}yes" >&6
2558 else
2559 echo "$as_me:$LINENO: result: no" >&5
2560 echo "${ECHO_T}no" >&6
2561 fi
2562
2563
2564 # Check whether --with-gtk or --without-gtk was given.
2565 if test "${with_gtk+set}" = set; then
2566 withval="$with_gtk"
2567 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2568 fi;
2569
2570 # Check whether --with-motif or --without-motif was given.
2571 if test "${with_motif+set}" = set; then
2572 withval="$with_motif"
2573 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2574 fi;
2575
2576 # Check whether --with-mac or --without-mac was given.
2577 if test "${with_mac+set}" = set; then
2578 withval="$with_mac"
2579 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2580 fi;
2581
2582 # Check whether --with-cocoa or --without-cocoa was given.
2583 if test "${with_cocoa+set}" = set; then
2584 withval="$with_cocoa"
2585 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2586 fi;
2587
2588 # Check whether --with-wine or --without-wine was given.
2589 if test "${with_wine+set}" = set; then
2590 withval="$with_wine"
2591 wxUSE_WINE="$withval" CACHE_WINE=1
2592 fi;
2593
2594 # Check whether --with-msw or --without-msw was given.
2595 if test "${with_msw+set}" = set; then
2596 withval="$with_msw"
2597 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2598 fi;
2599
2600 # Check whether --with-pm or --without-pm was given.
2601 if test "${with_pm+set}" = set; then
2602 withval="$with_pm"
2603 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2604 fi;
2605
2606 # Check whether --with-mgl or --without-mgl was given.
2607 if test "${with_mgl+set}" = set; then
2608 withval="$with_mgl"
2609 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2610 fi;
2611
2612 # Check whether --with-microwin or --without-microwin was given.
2613 if test "${with_microwin+set}" = set; then
2614 withval="$with_microwin"
2615 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2616 fi;
2617
2618 # Check whether --with-x11 or --without-x11 was given.
2619 if test "${with_x11+set}" = set; then
2620 withval="$with_x11"
2621 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2622 fi;
2623
2624 enablestring=
2625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2626 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2627 no_cache=0
2628 # Check whether --enable-nanox or --disable-nanox was given.
2629 if test "${enable_nanox+set}" = set; then
2630 enableval="$enable_nanox"
2631
2632 if test "$enableval" = yes; then
2633 ac_cv_use_nanox='wxUSE_NANOX=yes'
2634 else
2635 ac_cv_use_nanox='wxUSE_NANOX=no'
2636 fi
2637
2638 else
2639
2640 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2641 if test "x$LINE" != x ; then
2642 eval "DEFAULT_$LINE"
2643 else
2644 no_cache=1
2645 fi
2646
2647 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2648
2649 fi;
2650
2651 eval "$ac_cv_use_nanox"
2652 if test "$no_cache" != 1; then
2653 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2654 fi
2655
2656 if test "$wxUSE_NANOX" = yes; then
2657 echo "$as_me:$LINENO: result: yes" >&5
2658 echo "${ECHO_T}yes" >&6
2659 else
2660 echo "$as_me:$LINENO: result: no" >&5
2661 echo "${ECHO_T}no" >&6
2662 fi
2663
2664
2665
2666 enablestring=
2667 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2668 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2669 no_cache=0
2670 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2671 if test "${enable_gtk2+set}" = set; then
2672 enableval="$enable_gtk2"
2673
2674 if test "$enableval" = yes; then
2675 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2676 else
2677 ac_cv_use_gtk2='wxUSE_GTK2=no'
2678 fi
2679
2680 else
2681
2682 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2683 if test "x$LINE" != x ; then
2684 eval "DEFAULT_$LINE"
2685 else
2686 no_cache=1
2687 fi
2688
2689 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2690
2691 fi;
2692
2693 eval "$ac_cv_use_gtk2"
2694 if test "$no_cache" != 1; then
2695 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2696 fi
2697
2698 if test "$wxUSE_GTK2" = yes; then
2699 echo "$as_me:$LINENO: result: yes" >&5
2700 echo "${ECHO_T}yes" >&6
2701 else
2702 echo "$as_me:$LINENO: result: no" >&5
2703 echo "${ECHO_T}no" >&6
2704 fi
2705
2706
2707 enablestring=
2708 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2709 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2710 no_cache=0
2711 # Check whether --enable-gpe or --disable-gpe was given.
2712 if test "${enable_gpe+set}" = set; then
2713 enableval="$enable_gpe"
2714
2715 if test "$enableval" = yes; then
2716 ac_cv_use_gpe='wxUSE_GPE=yes'
2717 else
2718 ac_cv_use_gpe='wxUSE_GPE=no'
2719 fi
2720
2721 else
2722
2723 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2724 if test "x$LINE" != x ; then
2725 eval "DEFAULT_$LINE"
2726 else
2727 no_cache=1
2728 fi
2729
2730 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2731
2732 fi;
2733
2734 eval "$ac_cv_use_gpe"
2735 if test "$no_cache" != 1; then
2736 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2737 fi
2738
2739 if test "$wxUSE_GPE" = yes; then
2740 echo "$as_me:$LINENO: result: yes" >&5
2741 echo "${ECHO_T}yes" >&6
2742 else
2743 echo "$as_me:$LINENO: result: no" >&5
2744 echo "${ECHO_T}no" >&6
2745 fi
2746
2747
2748
2749 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2750 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2751 no_cache=0
2752
2753 # Check whether --with-libpng or --without-libpng was given.
2754 if test "${with_libpng+set}" = set; then
2755 withval="$with_libpng"
2756
2757 if test "$withval" = yes; then
2758 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2759 elif test "$withval" = no; then
2760 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2761 elif test "$withval" = sys; then
2762 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2763 elif test "$withval" = builtin; then
2764 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2765 else
2766 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2767 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2768 { (exit 1); exit 1; }; }
2769 fi
2770
2771 else
2772
2773 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2774 if test "x$LINE" != x ; then
2775 eval "DEFAULT_$LINE"
2776 else
2777 no_cache=1
2778 fi
2779
2780 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2781
2782 fi;
2783
2784 eval "$ac_cv_use_libpng"
2785 if test "$no_cache" != 1; then
2786 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2787 fi
2788
2789 if test "$wxUSE_LIBPNG" = yes; then
2790 echo "$as_me:$LINENO: result: yes" >&5
2791 echo "${ECHO_T}yes" >&6
2792 elif test "$wxUSE_LIBPNG" = no; then
2793 echo "$as_me:$LINENO: result: no" >&5
2794 echo "${ECHO_T}no" >&6
2795 elif test "$wxUSE_LIBPNG" = sys; then
2796 echo "$as_me:$LINENO: result: system version" >&5
2797 echo "${ECHO_T}system version" >&6
2798 elif test "$wxUSE_LIBPNG" = builtin; then
2799 echo "$as_me:$LINENO: result: builtin version" >&5
2800 echo "${ECHO_T}builtin version" >&6
2801 else
2802 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2803 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2804 { (exit 1); exit 1; }; }
2805 fi
2806
2807
2808 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2809 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2810 no_cache=0
2811
2812 # Check whether --with-libjpeg or --without-libjpeg was given.
2813 if test "${with_libjpeg+set}" = set; then
2814 withval="$with_libjpeg"
2815
2816 if test "$withval" = yes; then
2817 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2818 elif test "$withval" = no; then
2819 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2820 elif test "$withval" = sys; then
2821 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2822 elif test "$withval" = builtin; then
2823 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2824 else
2825 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2826 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2827 { (exit 1); exit 1; }; }
2828 fi
2829
2830 else
2831
2832 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2833 if test "x$LINE" != x ; then
2834 eval "DEFAULT_$LINE"
2835 else
2836 no_cache=1
2837 fi
2838
2839 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2840
2841 fi;
2842
2843 eval "$ac_cv_use_libjpeg"
2844 if test "$no_cache" != 1; then
2845 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2846 fi
2847
2848 if test "$wxUSE_LIBJPEG" = yes; then
2849 echo "$as_me:$LINENO: result: yes" >&5
2850 echo "${ECHO_T}yes" >&6
2851 elif test "$wxUSE_LIBJPEG" = no; then
2852 echo "$as_me:$LINENO: result: no" >&5
2853 echo "${ECHO_T}no" >&6
2854 elif test "$wxUSE_LIBJPEG" = sys; then
2855 echo "$as_me:$LINENO: result: system version" >&5
2856 echo "${ECHO_T}system version" >&6
2857 elif test "$wxUSE_LIBJPEG" = builtin; then
2858 echo "$as_me:$LINENO: result: builtin version" >&5
2859 echo "${ECHO_T}builtin version" >&6
2860 else
2861 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2862 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2863 { (exit 1); exit 1; }; }
2864 fi
2865
2866
2867 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2868 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2869 no_cache=0
2870
2871 # Check whether --with-libtiff or --without-libtiff was given.
2872 if test "${with_libtiff+set}" = set; then
2873 withval="$with_libtiff"
2874
2875 if test "$withval" = yes; then
2876 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2877 elif test "$withval" = no; then
2878 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2879 elif test "$withval" = sys; then
2880 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2881 elif test "$withval" = builtin; then
2882 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2883 else
2884 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2885 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2886 { (exit 1); exit 1; }; }
2887 fi
2888
2889 else
2890
2891 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2892 if test "x$LINE" != x ; then
2893 eval "DEFAULT_$LINE"
2894 else
2895 no_cache=1
2896 fi
2897
2898 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2899
2900 fi;
2901
2902 eval "$ac_cv_use_libtiff"
2903 if test "$no_cache" != 1; then
2904 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2905 fi
2906
2907 if test "$wxUSE_LIBTIFF" = yes; then
2908 echo "$as_me:$LINENO: result: yes" >&5
2909 echo "${ECHO_T}yes" >&6
2910 elif test "$wxUSE_LIBTIFF" = no; then
2911 echo "$as_me:$LINENO: result: no" >&5
2912 echo "${ECHO_T}no" >&6
2913 elif test "$wxUSE_LIBTIFF" = sys; then
2914 echo "$as_me:$LINENO: result: system version" >&5
2915 echo "${ECHO_T}system version" >&6
2916 elif test "$wxUSE_LIBTIFF" = builtin; then
2917 echo "$as_me:$LINENO: result: builtin version" >&5
2918 echo "${ECHO_T}builtin version" >&6
2919 else
2920 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2921 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2922 { (exit 1); exit 1; }; }
2923 fi
2924
2925
2926 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2927 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2928 no_cache=0
2929
2930 # Check whether --with-libxpm or --without-libxpm was given.
2931 if test "${with_libxpm+set}" = set; then
2932 withval="$with_libxpm"
2933
2934 if test "$withval" = yes; then
2935 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
2936 elif test "$withval" = no; then
2937 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
2938 elif test "$withval" = sys; then
2939 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
2940 elif test "$withval" = builtin; then
2941 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
2942 else
2943 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2944 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2945 { (exit 1); exit 1; }; }
2946 fi
2947
2948 else
2949
2950 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2951 if test "x$LINE" != x ; then
2952 eval "DEFAULT_$LINE"
2953 else
2954 no_cache=1
2955 fi
2956
2957 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2958
2959 fi;
2960
2961 eval "$ac_cv_use_libxpm"
2962 if test "$no_cache" != 1; then
2963 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2964 fi
2965
2966 if test "$wxUSE_LIBXPM" = yes; then
2967 echo "$as_me:$LINENO: result: yes" >&5
2968 echo "${ECHO_T}yes" >&6
2969 elif test "$wxUSE_LIBXPM" = no; then
2970 echo "$as_me:$LINENO: result: no" >&5
2971 echo "${ECHO_T}no" >&6
2972 elif test "$wxUSE_LIBXPM" = sys; then
2973 echo "$as_me:$LINENO: result: system version" >&5
2974 echo "${ECHO_T}system version" >&6
2975 elif test "$wxUSE_LIBXPM" = builtin; then
2976 echo "$as_me:$LINENO: result: builtin version" >&5
2977 echo "${ECHO_T}builtin version" >&6
2978 else
2979 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2980 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2981 { (exit 1); exit 1; }; }
2982 fi
2983
2984
2985 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2986 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
2987 no_cache=0
2988
2989 # Check whether --with-libmspack or --without-libmspack was given.
2990 if test "${with_libmspack+set}" = set; then
2991 withval="$with_libmspack"
2992
2993 if test "$withval" = yes; then
2994 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
2995 else
2996 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
2997 fi
2998
2999 else
3000
3001 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3002 if test "x$LINE" != x ; then
3003 eval "DEFAULT_$LINE"
3004 else
3005 no_cache=1
3006 fi
3007
3008 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3009
3010 fi;
3011
3012 eval "$ac_cv_use_libmspack"
3013 if test "$no_cache" != 1; then
3014 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3015 fi
3016
3017 if test "$wxUSE_LIBMSPACK" = yes; then
3018 echo "$as_me:$LINENO: result: yes" >&5
3019 echo "${ECHO_T}yes" >&6
3020 else
3021 echo "$as_me:$LINENO: result: no" >&5
3022 echo "${ECHO_T}no" >&6
3023 fi
3024
3025
3026 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3027 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3028 no_cache=0
3029
3030 # Check whether --with-sdl or --without-sdl was given.
3031 if test "${with_sdl+set}" = set; then
3032 withval="$with_sdl"
3033
3034 if test "$withval" = yes; then
3035 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3036 else
3037 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3038 fi
3039
3040 else
3041
3042 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3043 if test "x$LINE" != x ; then
3044 eval "DEFAULT_$LINE"
3045 else
3046 no_cache=1
3047 fi
3048
3049 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3050
3051 fi;
3052
3053 eval "$ac_cv_use_sdl"
3054 if test "$no_cache" != 1; then
3055 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3056 fi
3057
3058 if test "$wxUSE_LIBSDL" = yes; then
3059 echo "$as_me:$LINENO: result: yes" >&5
3060 echo "${ECHO_T}yes" >&6
3061 else
3062 echo "$as_me:$LINENO: result: no" >&5
3063 echo "${ECHO_T}no" >&6
3064 fi
3065
3066
3067 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3068 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3069 no_cache=0
3070
3071 # Check whether --with-opengl or --without-opengl was given.
3072 if test "${with_opengl+set}" = set; then
3073 withval="$with_opengl"
3074
3075 if test "$withval" = yes; then
3076 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3077 else
3078 ac_cv_use_opengl='wxUSE_OPENGL=no'
3079 fi
3080
3081 else
3082
3083 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3084 if test "x$LINE" != x ; then
3085 eval "DEFAULT_$LINE"
3086 else
3087 no_cache=1
3088 fi
3089
3090 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3091
3092 fi;
3093
3094 eval "$ac_cv_use_opengl"
3095 if test "$no_cache" != 1; then
3096 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3097 fi
3098
3099 if test "$wxUSE_OPENGL" = yes; then
3100 echo "$as_me:$LINENO: result: yes" >&5
3101 echo "${ECHO_T}yes" >&6
3102 else
3103 echo "$as_me:$LINENO: result: no" >&5
3104 echo "${ECHO_T}no" >&6
3105 fi
3106
3107
3108 fi
3109
3110
3111 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3112 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3113 no_cache=0
3114
3115 # Check whether --with-dmalloc or --without-dmalloc was given.
3116 if test "${with_dmalloc+set}" = set; then
3117 withval="$with_dmalloc"
3118
3119 if test "$withval" = yes; then
3120 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3121 else
3122 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3123 fi
3124
3125 else
3126
3127 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3128 if test "x$LINE" != x ; then
3129 eval "DEFAULT_$LINE"
3130 else
3131 no_cache=1
3132 fi
3133
3134 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3135
3136 fi;
3137
3138 eval "$ac_cv_use_dmalloc"
3139 if test "$no_cache" != 1; then
3140 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3141 fi
3142
3143 if test "$wxUSE_DMALLOC" = yes; then
3144 echo "$as_me:$LINENO: result: yes" >&5
3145 echo "${ECHO_T}yes" >&6
3146 else
3147 echo "$as_me:$LINENO: result: no" >&5
3148 echo "${ECHO_T}no" >&6
3149 fi
3150
3151
3152 echo "$as_me:$LINENO: checking for --with-regex" >&5
3153 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3154 no_cache=0
3155
3156 # Check whether --with-regex or --without-regex was given.
3157 if test "${with_regex+set}" = set; then
3158 withval="$with_regex"
3159
3160 if test "$withval" = yes; then
3161 ac_cv_use_regex='wxUSE_REGEX=yes'
3162 elif test "$withval" = no; then
3163 ac_cv_use_regex='wxUSE_REGEX=no'
3164 elif test "$withval" = sys; then
3165 ac_cv_use_regex='wxUSE_REGEX=sys'
3166 elif test "$withval" = builtin; then
3167 ac_cv_use_regex='wxUSE_REGEX=builtin'
3168 else
3169 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3170 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3171 { (exit 1); exit 1; }; }
3172 fi
3173
3174 else
3175
3176 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3177 if test "x$LINE" != x ; then
3178 eval "DEFAULT_$LINE"
3179 else
3180 no_cache=1
3181 fi
3182
3183 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3184
3185 fi;
3186
3187 eval "$ac_cv_use_regex"
3188 if test "$no_cache" != 1; then
3189 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3190 fi
3191
3192 if test "$wxUSE_REGEX" = yes; then
3193 echo "$as_me:$LINENO: result: yes" >&5
3194 echo "${ECHO_T}yes" >&6
3195 elif test "$wxUSE_REGEX" = no; then
3196 echo "$as_me:$LINENO: result: no" >&5
3197 echo "${ECHO_T}no" >&6
3198 elif test "$wxUSE_REGEX" = sys; then
3199 echo "$as_me:$LINENO: result: system version" >&5
3200 echo "${ECHO_T}system version" >&6
3201 elif test "$wxUSE_REGEX" = builtin; then
3202 echo "$as_me:$LINENO: result: builtin version" >&5
3203 echo "${ECHO_T}builtin version" >&6
3204 else
3205 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3206 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3207 { (exit 1); exit 1; }; }
3208 fi
3209
3210
3211 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3212 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3213 no_cache=0
3214
3215 # Check whether --with-zlib or --without-zlib was given.
3216 if test "${with_zlib+set}" = set; then
3217 withval="$with_zlib"
3218
3219 if test "$withval" = yes; then
3220 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3221 elif test "$withval" = no; then
3222 ac_cv_use_zlib='wxUSE_ZLIB=no'
3223 elif test "$withval" = sys; then
3224 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3225 elif test "$withval" = builtin; then
3226 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3227 else
3228 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3229 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3230 { (exit 1); exit 1; }; }
3231 fi
3232
3233 else
3234
3235 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3236 if test "x$LINE" != x ; then
3237 eval "DEFAULT_$LINE"
3238 else
3239 no_cache=1
3240 fi
3241
3242 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3243
3244 fi;
3245
3246 eval "$ac_cv_use_zlib"
3247 if test "$no_cache" != 1; then
3248 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3249 fi
3250
3251 if test "$wxUSE_ZLIB" = yes; then
3252 echo "$as_me:$LINENO: result: yes" >&5
3253 echo "${ECHO_T}yes" >&6
3254 elif test "$wxUSE_ZLIB" = no; then
3255 echo "$as_me:$LINENO: result: no" >&5
3256 echo "${ECHO_T}no" >&6
3257 elif test "$wxUSE_ZLIB" = sys; then
3258 echo "$as_me:$LINENO: result: system version" >&5
3259 echo "${ECHO_T}system version" >&6
3260 elif test "$wxUSE_ZLIB" = builtin; then
3261 echo "$as_me:$LINENO: result: builtin version" >&5
3262 echo "${ECHO_T}builtin version" >&6
3263 else
3264 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3265 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3266 { (exit 1); exit 1; }; }
3267 fi
3268
3269
3270 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3271 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3272 no_cache=0
3273
3274 # Check whether --with-odbc or --without-odbc was given.
3275 if test "${with_odbc+set}" = set; then
3276 withval="$with_odbc"
3277
3278 if test "$withval" = yes; then
3279 ac_cv_use_odbc='wxUSE_ODBC=yes'
3280 elif test "$withval" = no; then
3281 ac_cv_use_odbc='wxUSE_ODBC=no'
3282 elif test "$withval" = sys; then
3283 ac_cv_use_odbc='wxUSE_ODBC=sys'
3284 elif test "$withval" = builtin; then
3285 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3286 else
3287 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3288 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3289 { (exit 1); exit 1; }; }
3290 fi
3291
3292 else
3293
3294 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3295 if test "x$LINE" != x ; then
3296 eval "DEFAULT_$LINE"
3297 else
3298 no_cache=1
3299 fi
3300
3301 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3302
3303 fi;
3304
3305 eval "$ac_cv_use_odbc"
3306 if test "$no_cache" != 1; then
3307 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3308 fi
3309
3310 if test "$wxUSE_ODBC" = yes; then
3311 echo "$as_me:$LINENO: result: yes" >&5
3312 echo "${ECHO_T}yes" >&6
3313 elif test "$wxUSE_ODBC" = no; then
3314 echo "$as_me:$LINENO: result: no" >&5
3315 echo "${ECHO_T}no" >&6
3316 elif test "$wxUSE_ODBC" = sys; then
3317 echo "$as_me:$LINENO: result: system version" >&5
3318 echo "${ECHO_T}system version" >&6
3319 elif test "$wxUSE_ODBC" = builtin; then
3320 echo "$as_me:$LINENO: result: builtin version" >&5
3321 echo "${ECHO_T}builtin version" >&6
3322 else
3323 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3324 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3325 { (exit 1); exit 1; }; }
3326 fi
3327
3328
3329 echo "$as_me:$LINENO: checking for --with-expat" >&5
3330 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3331 no_cache=0
3332
3333 # Check whether --with-expat or --without-expat was given.
3334 if test "${with_expat+set}" = set; then
3335 withval="$with_expat"
3336
3337 if test "$withval" = yes; then
3338 ac_cv_use_expat='wxUSE_EXPAT=yes'
3339 elif test "$withval" = no; then
3340 ac_cv_use_expat='wxUSE_EXPAT=no'
3341 elif test "$withval" = sys; then
3342 ac_cv_use_expat='wxUSE_EXPAT=sys'
3343 elif test "$withval" = builtin; then
3344 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3345 else
3346 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3347 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3348 { (exit 1); exit 1; }; }
3349 fi
3350
3351 else
3352
3353 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3354 if test "x$LINE" != x ; then
3355 eval "DEFAULT_$LINE"
3356 else
3357 no_cache=1
3358 fi
3359
3360 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3361
3362 fi;
3363
3364 eval "$ac_cv_use_expat"
3365 if test "$no_cache" != 1; then
3366 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3367 fi
3368
3369 if test "$wxUSE_EXPAT" = yes; then
3370 echo "$as_me:$LINENO: result: yes" >&5
3371 echo "${ECHO_T}yes" >&6
3372 elif test "$wxUSE_EXPAT" = no; then
3373 echo "$as_me:$LINENO: result: no" >&5
3374 echo "${ECHO_T}no" >&6
3375 elif test "$wxUSE_EXPAT" = sys; then
3376 echo "$as_me:$LINENO: result: system version" >&5
3377 echo "${ECHO_T}system version" >&6
3378 elif test "$wxUSE_EXPAT" = builtin; then
3379 echo "$as_me:$LINENO: result: builtin version" >&5
3380 echo "${ECHO_T}builtin version" >&6
3381 else
3382 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3383 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3384 { (exit 1); exit 1; }; }
3385 fi
3386
3387
3388
3389
3390 enablestring=
3391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3392 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3393 no_cache=0
3394 # Check whether --enable-shared or --disable-shared was given.
3395 if test "${enable_shared+set}" = set; then
3396 enableval="$enable_shared"
3397
3398 if test "$enableval" = yes; then
3399 ac_cv_use_shared='wxUSE_SHARED=yes'
3400 else
3401 ac_cv_use_shared='wxUSE_SHARED=no'
3402 fi
3403
3404 else
3405
3406 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3407 if test "x$LINE" != x ; then
3408 eval "DEFAULT_$LINE"
3409 else
3410 no_cache=1
3411 fi
3412
3413 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3414
3415 fi;
3416
3417 eval "$ac_cv_use_shared"
3418 if test "$no_cache" != 1; then
3419 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3420 fi
3421
3422 if test "$wxUSE_SHARED" = yes; then
3423 echo "$as_me:$LINENO: result: yes" >&5
3424 echo "${ECHO_T}yes" >&6
3425 else
3426 echo "$as_me:$LINENO: result: no" >&5
3427 echo "${ECHO_T}no" >&6
3428 fi
3429
3430
3431 enablestring=
3432 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3433 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3434 no_cache=0
3435 # Check whether --enable-optimise or --disable-optimise was given.
3436 if test "${enable_optimise+set}" = set; then
3437 enableval="$enable_optimise"
3438
3439 if test "$enableval" = yes; then
3440 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3441 else
3442 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3443 fi
3444
3445 else
3446
3447 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3448 if test "x$LINE" != x ; then
3449 eval "DEFAULT_$LINE"
3450 else
3451 no_cache=1
3452 fi
3453
3454 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3455
3456 fi;
3457
3458 eval "$ac_cv_use_optimise"
3459 if test "$no_cache" != 1; then
3460 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3461 fi
3462
3463 if test "$wxUSE_OPTIMISE" = yes; then
3464 echo "$as_me:$LINENO: result: yes" >&5
3465 echo "${ECHO_T}yes" >&6
3466 else
3467 echo "$as_me:$LINENO: result: no" >&5
3468 echo "${ECHO_T}no" >&6
3469 fi
3470
3471
3472 enablestring=
3473 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3474 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3475 no_cache=0
3476 # Check whether --enable-debug or --disable-debug was given.
3477 if test "${enable_debug+set}" = set; then
3478 enableval="$enable_debug"
3479
3480 if test "$enableval" = yes; then
3481 ac_cv_use_debug='wxUSE_DEBUG=yes'
3482 else
3483 ac_cv_use_debug='wxUSE_DEBUG=no'
3484 fi
3485
3486 else
3487
3488 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3489 if test "x$LINE" != x ; then
3490 eval "DEFAULT_$LINE"
3491 else
3492 no_cache=1
3493 fi
3494
3495 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3496
3497 fi;
3498
3499 eval "$ac_cv_use_debug"
3500 if test "$no_cache" != 1; then
3501 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3502 fi
3503
3504 if test "$wxUSE_DEBUG" = yes; then
3505 echo "$as_me:$LINENO: result: yes" >&5
3506 echo "${ECHO_T}yes" >&6
3507 else
3508 echo "$as_me:$LINENO: result: no" >&5
3509 echo "${ECHO_T}no" >&6
3510 fi
3511
3512
3513 enablestring=
3514 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3515 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3516 no_cache=0
3517 # Check whether --enable-stl or --disable-stl was given.
3518 if test "${enable_stl+set}" = set; then
3519 enableval="$enable_stl"
3520
3521 if test "$enableval" = yes; then
3522 ac_cv_use_stl='wxUSE_STL=yes'
3523 else
3524 ac_cv_use_stl='wxUSE_STL=no'
3525 fi
3526
3527 else
3528
3529 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3530 if test "x$LINE" != x ; then
3531 eval "DEFAULT_$LINE"
3532 else
3533 no_cache=1
3534 fi
3535
3536 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3537
3538 fi;
3539
3540 eval "$ac_cv_use_stl"
3541 if test "$no_cache" != 1; then
3542 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3543 fi
3544
3545 if test "$wxUSE_STL" = yes; then
3546 echo "$as_me:$LINENO: result: yes" >&5
3547 echo "${ECHO_T}yes" >&6
3548 else
3549 echo "$as_me:$LINENO: result: no" >&5
3550 echo "${ECHO_T}no" >&6
3551 fi
3552
3553 if test "$USE_OS2" = "1"; then
3554
3555 enablestring=
3556 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3557 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3558 no_cache=0
3559 # Check whether --enable-omf or --disable-omf was given.
3560 if test "${enable_omf+set}" = set; then
3561 enableval="$enable_omf"
3562
3563 if test "$enableval" = yes; then
3564 ac_cv_use_omf='wxUSE_OMF=yes'
3565 else
3566 ac_cv_use_omf='wxUSE_OMF=no'
3567 fi
3568
3569 else
3570
3571 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3572 if test "x$LINE" != x ; then
3573 eval "DEFAULT_$LINE"
3574 else
3575 no_cache=1
3576 fi
3577
3578 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3579
3580 fi;
3581
3582 eval "$ac_cv_use_omf"
3583 if test "$no_cache" != 1; then
3584 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3585 fi
3586
3587 if test "$wxUSE_OMF" = yes; then
3588 echo "$as_me:$LINENO: result: yes" >&5
3589 echo "${ECHO_T}yes" >&6
3590 else
3591 echo "$as_me:$LINENO: result: no" >&5
3592 echo "${ECHO_T}no" >&6
3593 fi
3594
3595 fi
3596
3597 if test "$wxUSE_DEBUG" = "yes"; then
3598 DEFAULT_wxUSE_DEBUG_FLAG=yes
3599 DEFAULT_wxUSE_DEBUG_INFO=yes
3600 BUILD=debug
3601 elif test "$wxUSE_DEBUG" = "no"; then
3602 DEFAULT_wxUSE_DEBUG_FLAG=no
3603 DEFAULT_wxUSE_DEBUG_INFO=no
3604 BUILD=release
3605 fi
3606
3607
3608 enablestring=
3609 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3610 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3611 no_cache=0
3612 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3613 if test "${enable_debug_flag+set}" = set; then
3614 enableval="$enable_debug_flag"
3615
3616 if test "$enableval" = yes; then
3617 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3618 else
3619 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3620 fi
3621
3622 else
3623
3624 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3625 if test "x$LINE" != x ; then
3626 eval "DEFAULT_$LINE"
3627 else
3628 no_cache=1
3629 fi
3630
3631 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3632
3633 fi;
3634
3635 eval "$ac_cv_use_debug_flag"
3636 if test "$no_cache" != 1; then
3637 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3638 fi
3639
3640 if test "$wxUSE_DEBUG_FLAG" = yes; then
3641 echo "$as_me:$LINENO: result: yes" >&5
3642 echo "${ECHO_T}yes" >&6
3643 else
3644 echo "$as_me:$LINENO: result: no" >&5
3645 echo "${ECHO_T}no" >&6
3646 fi
3647
3648
3649 enablestring=
3650 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3651 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3652 no_cache=0
3653 # Check whether --enable-debug_info or --disable-debug_info was given.
3654 if test "${enable_debug_info+set}" = set; then
3655 enableval="$enable_debug_info"
3656
3657 if test "$enableval" = yes; then
3658 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3659 else
3660 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3661 fi
3662
3663 else
3664
3665 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3666 if test "x$LINE" != x ; then
3667 eval "DEFAULT_$LINE"
3668 else
3669 no_cache=1
3670 fi
3671
3672 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3673
3674 fi;
3675
3676 eval "$ac_cv_use_debug_info"
3677 if test "$no_cache" != 1; then
3678 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3679 fi
3680
3681 if test "$wxUSE_DEBUG_INFO" = yes; then
3682 echo "$as_me:$LINENO: result: yes" >&5
3683 echo "${ECHO_T}yes" >&6
3684 else
3685 echo "$as_me:$LINENO: result: no" >&5
3686 echo "${ECHO_T}no" >&6
3687 fi
3688
3689
3690 enablestring=
3691 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3692 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3693 no_cache=0
3694 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3695 if test "${enable_debug_gdb+set}" = set; then
3696 enableval="$enable_debug_gdb"
3697
3698 if test "$enableval" = yes; then
3699 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3700 else
3701 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3702 fi
3703
3704 else
3705
3706 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3707 if test "x$LINE" != x ; then
3708 eval "DEFAULT_$LINE"
3709 else
3710 no_cache=1
3711 fi
3712
3713 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3714
3715 fi;
3716
3717 eval "$ac_cv_use_debug_gdb"
3718 if test "$no_cache" != 1; then
3719 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3720 fi
3721
3722 if test "$wxUSE_DEBUG_GDB" = yes; then
3723 echo "$as_me:$LINENO: result: yes" >&5
3724 echo "${ECHO_T}yes" >&6
3725 else
3726 echo "$as_me:$LINENO: result: no" >&5
3727 echo "${ECHO_T}no" >&6
3728 fi
3729
3730
3731 enablestring=
3732 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3733 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3734 no_cache=0
3735 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3736 if test "${enable_debug_cntxt+set}" = set; then
3737 enableval="$enable_debug_cntxt"
3738
3739 if test "$enableval" = yes; then
3740 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3741 else
3742 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3743 fi
3744
3745 else
3746
3747 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3748 if test "x$LINE" != x ; then
3749 eval "DEFAULT_$LINE"
3750 else
3751 no_cache=1
3752 fi
3753
3754 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3755
3756 fi;
3757
3758 eval "$ac_cv_use_debug_cntxt"
3759 if test "$no_cache" != 1; then
3760 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3761 fi
3762
3763 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3764 echo "$as_me:$LINENO: result: yes" >&5
3765 echo "${ECHO_T}yes" >&6
3766 else
3767 echo "$as_me:$LINENO: result: no" >&5
3768 echo "${ECHO_T}no" >&6
3769 fi
3770
3771
3772 enablestring=
3773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3774 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3775 no_cache=0
3776 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3777 if test "${enable_mem_tracing+set}" = set; then
3778 enableval="$enable_mem_tracing"
3779
3780 if test "$enableval" = yes; then
3781 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3782 else
3783 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3784 fi
3785
3786 else
3787
3788 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3789 if test "x$LINE" != x ; then
3790 eval "DEFAULT_$LINE"
3791 else
3792 no_cache=1
3793 fi
3794
3795 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3796
3797 fi;
3798
3799 eval "$ac_cv_use_mem_tracing"
3800 if test "$no_cache" != 1; then
3801 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3802 fi
3803
3804 if test "$wxUSE_MEM_TRACING" = yes; then
3805 echo "$as_me:$LINENO: result: yes" >&5
3806 echo "${ECHO_T}yes" >&6
3807 else
3808 echo "$as_me:$LINENO: result: no" >&5
3809 echo "${ECHO_T}no" >&6
3810 fi
3811
3812
3813 enablestring=
3814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3815 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3816 no_cache=0
3817 # Check whether --enable-profile or --disable-profile was given.
3818 if test "${enable_profile+set}" = set; then
3819 enableval="$enable_profile"
3820
3821 if test "$enableval" = yes; then
3822 ac_cv_use_profile='wxUSE_PROFILE=yes'
3823 else
3824 ac_cv_use_profile='wxUSE_PROFILE=no'
3825 fi
3826
3827 else
3828
3829 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3830 if test "x$LINE" != x ; then
3831 eval "DEFAULT_$LINE"
3832 else
3833 no_cache=1
3834 fi
3835
3836 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3837
3838 fi;
3839
3840 eval "$ac_cv_use_profile"
3841 if test "$no_cache" != 1; then
3842 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3843 fi
3844
3845 if test "$wxUSE_PROFILE" = yes; then
3846 echo "$as_me:$LINENO: result: yes" >&5
3847 echo "${ECHO_T}yes" >&6
3848 else
3849 echo "$as_me:$LINENO: result: no" >&5
3850 echo "${ECHO_T}no" >&6
3851 fi
3852
3853
3854 enablestring=
3855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3856 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3857 no_cache=0
3858 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3859 if test "${enable_no_rtti+set}" = set; then
3860 enableval="$enable_no_rtti"
3861
3862 if test "$enableval" = yes; then
3863 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3864 else
3865 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3866 fi
3867
3868 else
3869
3870 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3871 if test "x$LINE" != x ; then
3872 eval "DEFAULT_$LINE"
3873 else
3874 no_cache=1
3875 fi
3876
3877 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3878
3879 fi;
3880
3881 eval "$ac_cv_use_no_rtti"
3882 if test "$no_cache" != 1; then
3883 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3884 fi
3885
3886 if test "$wxUSE_NO_RTTI" = yes; then
3887 echo "$as_me:$LINENO: result: yes" >&5
3888 echo "${ECHO_T}yes" >&6
3889 else
3890 echo "$as_me:$LINENO: result: no" >&5
3891 echo "${ECHO_T}no" >&6
3892 fi
3893
3894
3895 enablestring=
3896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3897 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3898 no_cache=0
3899 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3900 if test "${enable_no_exceptions+set}" = set; then
3901 enableval="$enable_no_exceptions"
3902
3903 if test "$enableval" = yes; then
3904 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3905 else
3906 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3907 fi
3908
3909 else
3910
3911 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3912 if test "x$LINE" != x ; then
3913 eval "DEFAULT_$LINE"
3914 else
3915 no_cache=1
3916 fi
3917
3918 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3919
3920 fi;
3921
3922 eval "$ac_cv_use_no_exceptions"
3923 if test "$no_cache" != 1; then
3924 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3925 fi
3926
3927 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3928 echo "$as_me:$LINENO: result: yes" >&5
3929 echo "${ECHO_T}yes" >&6
3930 else
3931 echo "$as_me:$LINENO: result: no" >&5
3932 echo "${ECHO_T}no" >&6
3933 fi
3934
3935
3936 enablestring=
3937 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3938 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3939 no_cache=0
3940 # Check whether --enable-permissive or --disable-permissive was given.
3941 if test "${enable_permissive+set}" = set; then
3942 enableval="$enable_permissive"
3943
3944 if test "$enableval" = yes; then
3945 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3946 else
3947 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3948 fi
3949
3950 else
3951
3952 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3953 if test "x$LINE" != x ; then
3954 eval "DEFAULT_$LINE"
3955 else
3956 no_cache=1
3957 fi
3958
3959 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3960
3961 fi;
3962
3963 eval "$ac_cv_use_permissive"
3964 if test "$no_cache" != 1; then
3965 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3966 fi
3967
3968 if test "$wxUSE_PERMISSIVE" = yes; then
3969 echo "$as_me:$LINENO: result: yes" >&5
3970 echo "${ECHO_T}yes" >&6
3971 else
3972 echo "$as_me:$LINENO: result: no" >&5
3973 echo "${ECHO_T}no" >&6
3974 fi
3975
3976
3977 enablestring=
3978 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3979 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3980 no_cache=0
3981 # Check whether --enable-no_deps or --disable-no_deps was given.
3982 if test "${enable_no_deps+set}" = set; then
3983 enableval="$enable_no_deps"
3984
3985 if test "$enableval" = yes; then
3986 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3987 else
3988 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
3989 fi
3990
3991 else
3992
3993 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3994 if test "x$LINE" != x ; then
3995 eval "DEFAULT_$LINE"
3996 else
3997 no_cache=1
3998 fi
3999
4000 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4001
4002 fi;
4003
4004 eval "$ac_cv_use_no_deps"
4005 if test "$no_cache" != 1; then
4006 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4007 fi
4008
4009 if test "$wxUSE_NO_DEPS" = yes; then
4010 echo "$as_me:$LINENO: result: yes" >&5
4011 echo "${ECHO_T}yes" >&6
4012 else
4013 echo "$as_me:$LINENO: result: no" >&5
4014 echo "${ECHO_T}no" >&6
4015 fi
4016
4017
4018
4019 enablestring=
4020 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4021 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4022 no_cache=0
4023 # Check whether --enable-compat22 or --disable-compat22 was given.
4024 if test "${enable_compat22+set}" = set; then
4025 enableval="$enable_compat22"
4026
4027 if test "$enableval" = yes; then
4028 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
4029 else
4030 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
4031 fi
4032
4033 else
4034
4035 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4036 if test "x$LINE" != x ; then
4037 eval "DEFAULT_$LINE"
4038 else
4039 no_cache=1
4040 fi
4041
4042 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4043
4044 fi;
4045
4046 eval "$ac_cv_use_compat22"
4047 if test "$no_cache" != 1; then
4048 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4049 fi
4050
4051 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4052 echo "$as_me:$LINENO: result: yes" >&5
4053 echo "${ECHO_T}yes" >&6
4054 else
4055 echo "$as_me:$LINENO: result: no" >&5
4056 echo "${ECHO_T}no" >&6
4057 fi
4058
4059
4060 enablestring=disable
4061 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4062 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4063 no_cache=0
4064 # Check whether --enable-compat24 or --disable-compat24 was given.
4065 if test "${enable_compat24+set}" = set; then
4066 enableval="$enable_compat24"
4067
4068 if test "$enableval" = yes; then
4069 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4070 else
4071 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4072 fi
4073
4074 else
4075
4076 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4077 if test "x$LINE" != x ; then
4078 eval "DEFAULT_$LINE"
4079 else
4080 no_cache=1
4081 fi
4082
4083 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4084
4085 fi;
4086
4087 eval "$ac_cv_use_compat24"
4088 if test "$no_cache" != 1; then
4089 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4090 fi
4091
4092 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4093 echo "$as_me:$LINENO: result: yes" >&5
4094 echo "${ECHO_T}yes" >&6
4095 else
4096 echo "$as_me:$LINENO: result: no" >&5
4097 echo "${ECHO_T}no" >&6
4098 fi
4099
4100
4101 # Check whether --enable-rpath or --disable-rpath was given.
4102 if test "${enable_rpath+set}" = set; then
4103 enableval="$enable_rpath"
4104 wxRPATH_DIR="$enableval"
4105 fi;
4106
4107 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable" -a "$wxRPATH_DIR" != "no"; then
4108 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
4109 fi
4110
4111
4112
4113
4114 enablestring=
4115 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4116 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4117 no_cache=0
4118 # Check whether --enable-intl or --disable-intl was given.
4119 if test "${enable_intl+set}" = set; then
4120 enableval="$enable_intl"
4121
4122 if test "$enableval" = yes; then
4123 ac_cv_use_intl='wxUSE_INTL=yes'
4124 else
4125 ac_cv_use_intl='wxUSE_INTL=no'
4126 fi
4127
4128 else
4129
4130 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4131 if test "x$LINE" != x ; then
4132 eval "DEFAULT_$LINE"
4133 else
4134 no_cache=1
4135 fi
4136
4137 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4138
4139 fi;
4140
4141 eval "$ac_cv_use_intl"
4142 if test "$no_cache" != 1; then
4143 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4144 fi
4145
4146 if test "$wxUSE_INTL" = yes; then
4147 echo "$as_me:$LINENO: result: yes" >&5
4148 echo "${ECHO_T}yes" >&6
4149 else
4150 echo "$as_me:$LINENO: result: no" >&5
4151 echo "${ECHO_T}no" >&6
4152 fi
4153
4154
4155 enablestring=
4156 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4157 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4158 no_cache=0
4159 # Check whether --enable-config or --disable-config was given.
4160 if test "${enable_config+set}" = set; then
4161 enableval="$enable_config"
4162
4163 if test "$enableval" = yes; then
4164 ac_cv_use_config='wxUSE_CONFIG=yes'
4165 else
4166 ac_cv_use_config='wxUSE_CONFIG=no'
4167 fi
4168
4169 else
4170
4171 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4172 if test "x$LINE" != x ; then
4173 eval "DEFAULT_$LINE"
4174 else
4175 no_cache=1
4176 fi
4177
4178 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4179
4180 fi;
4181
4182 eval "$ac_cv_use_config"
4183 if test "$no_cache" != 1; then
4184 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4185 fi
4186
4187 if test "$wxUSE_CONFIG" = yes; then
4188 echo "$as_me:$LINENO: result: yes" >&5
4189 echo "${ECHO_T}yes" >&6
4190 else
4191 echo "$as_me:$LINENO: result: no" >&5
4192 echo "${ECHO_T}no" >&6
4193 fi
4194
4195
4196
4197 enablestring=
4198 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4199 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4200 no_cache=0
4201 # Check whether --enable-protocols or --disable-protocols was given.
4202 if test "${enable_protocols+set}" = set; then
4203 enableval="$enable_protocols"
4204
4205 if test "$enableval" = yes; then
4206 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4207 else
4208 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4209 fi
4210
4211 else
4212
4213 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4214 if test "x$LINE" != x ; then
4215 eval "DEFAULT_$LINE"
4216 else
4217 no_cache=1
4218 fi
4219
4220 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4221
4222 fi;
4223
4224 eval "$ac_cv_use_protocols"
4225 if test "$no_cache" != 1; then
4226 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4227 fi
4228
4229 if test "$wxUSE_PROTOCOL" = yes; then
4230 echo "$as_me:$LINENO: result: yes" >&5
4231 echo "${ECHO_T}yes" >&6
4232 else
4233 echo "$as_me:$LINENO: result: no" >&5
4234 echo "${ECHO_T}no" >&6
4235 fi
4236
4237
4238 enablestring=
4239 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4240 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4241 no_cache=0
4242 # Check whether --enable-ftp or --disable-ftp was given.
4243 if test "${enable_ftp+set}" = set; then
4244 enableval="$enable_ftp"
4245
4246 if test "$enableval" = yes; then
4247 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4248 else
4249 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4250 fi
4251
4252 else
4253
4254 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4255 if test "x$LINE" != x ; then
4256 eval "DEFAULT_$LINE"
4257 else
4258 no_cache=1
4259 fi
4260
4261 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4262
4263 fi;
4264
4265 eval "$ac_cv_use_ftp"
4266 if test "$no_cache" != 1; then
4267 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4268 fi
4269
4270 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4271 echo "$as_me:$LINENO: result: yes" >&5
4272 echo "${ECHO_T}yes" >&6
4273 else
4274 echo "$as_me:$LINENO: result: no" >&5
4275 echo "${ECHO_T}no" >&6
4276 fi
4277
4278
4279 enablestring=
4280 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4281 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4282 no_cache=0
4283 # Check whether --enable-http or --disable-http was given.
4284 if test "${enable_http+set}" = set; then
4285 enableval="$enable_http"
4286
4287 if test "$enableval" = yes; then
4288 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4289 else
4290 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4291 fi
4292
4293 else
4294
4295 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4296 if test "x$LINE" != x ; then
4297 eval "DEFAULT_$LINE"
4298 else
4299 no_cache=1
4300 fi
4301
4302 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4303
4304 fi;
4305
4306 eval "$ac_cv_use_http"
4307 if test "$no_cache" != 1; then
4308 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4309 fi
4310
4311 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4312 echo "$as_me:$LINENO: result: yes" >&5
4313 echo "${ECHO_T}yes" >&6
4314 else
4315 echo "$as_me:$LINENO: result: no" >&5
4316 echo "${ECHO_T}no" >&6
4317 fi
4318
4319
4320 enablestring=
4321 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4322 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4323 no_cache=0
4324 # Check whether --enable-fileproto or --disable-fileproto was given.
4325 if test "${enable_fileproto+set}" = set; then
4326 enableval="$enable_fileproto"
4327
4328 if test "$enableval" = yes; then
4329 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4330 else
4331 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4332 fi
4333
4334 else
4335
4336 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4337 if test "x$LINE" != x ; then
4338 eval "DEFAULT_$LINE"
4339 else
4340 no_cache=1
4341 fi
4342
4343 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4344
4345 fi;
4346
4347 eval "$ac_cv_use_fileproto"
4348 if test "$no_cache" != 1; then
4349 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4350 fi
4351
4352 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4353 echo "$as_me:$LINENO: result: yes" >&5
4354 echo "${ECHO_T}yes" >&6
4355 else
4356 echo "$as_me:$LINENO: result: no" >&5
4357 echo "${ECHO_T}no" >&6
4358 fi
4359
4360
4361 enablestring=
4362 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4363 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4364 no_cache=0
4365 # Check whether --enable-sockets or --disable-sockets was given.
4366 if test "${enable_sockets+set}" = set; then
4367 enableval="$enable_sockets"
4368
4369 if test "$enableval" = yes; then
4370 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4371 else
4372 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4373 fi
4374
4375 else
4376
4377 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4378 if test "x$LINE" != x ; then
4379 eval "DEFAULT_$LINE"
4380 else
4381 no_cache=1
4382 fi
4383
4384 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4385
4386 fi;
4387
4388 eval "$ac_cv_use_sockets"
4389 if test "$no_cache" != 1; then
4390 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4391 fi
4392
4393 if test "$wxUSE_SOCKETS" = yes; then
4394 echo "$as_me:$LINENO: result: yes" >&5
4395 echo "${ECHO_T}yes" >&6
4396 else
4397 echo "$as_me:$LINENO: result: no" >&5
4398 echo "${ECHO_T}no" >&6
4399 fi
4400
4401
4402 enablestring=
4403 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4404 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4405 no_cache=0
4406 # Check whether --enable-ole or --disable-ole was given.
4407 if test "${enable_ole+set}" = set; then
4408 enableval="$enable_ole"
4409
4410 if test "$enableval" = yes; then
4411 ac_cv_use_ole='wxUSE_OLE=yes'
4412 else
4413 ac_cv_use_ole='wxUSE_OLE=no'
4414 fi
4415
4416 else
4417
4418 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4419 if test "x$LINE" != x ; then
4420 eval "DEFAULT_$LINE"
4421 else
4422 no_cache=1
4423 fi
4424
4425 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4426
4427 fi;
4428
4429 eval "$ac_cv_use_ole"
4430 if test "$no_cache" != 1; then
4431 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4432 fi
4433
4434 if test "$wxUSE_OLE" = yes; then
4435 echo "$as_me:$LINENO: result: yes" >&5
4436 echo "${ECHO_T}yes" >&6
4437 else
4438 echo "$as_me:$LINENO: result: no" >&5
4439 echo "${ECHO_T}no" >&6
4440 fi
4441
4442
4443 enablestring=
4444 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4445 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4446 no_cache=0
4447 # Check whether --enable-dataobj or --disable-dataobj was given.
4448 if test "${enable_dataobj+set}" = set; then
4449 enableval="$enable_dataobj"
4450
4451 if test "$enableval" = yes; then
4452 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4453 else
4454 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4455 fi
4456
4457 else
4458
4459 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4460 if test "x$LINE" != x ; then
4461 eval "DEFAULT_$LINE"
4462 else
4463 no_cache=1
4464 fi
4465
4466 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4467
4468 fi;
4469
4470 eval "$ac_cv_use_dataobj"
4471 if test "$no_cache" != 1; then
4472 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4473 fi
4474
4475 if test "$wxUSE_DATAOBJ" = yes; then
4476 echo "$as_me:$LINENO: result: yes" >&5
4477 echo "${ECHO_T}yes" >&6
4478 else
4479 echo "$as_me:$LINENO: result: no" >&5
4480 echo "${ECHO_T}no" >&6
4481 fi
4482
4483
4484
4485 enablestring=
4486 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4487 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4488 no_cache=0
4489 # Check whether --enable-ipc or --disable-ipc was given.
4490 if test "${enable_ipc+set}" = set; then
4491 enableval="$enable_ipc"
4492
4493 if test "$enableval" = yes; then
4494 ac_cv_use_ipc='wxUSE_IPC=yes'
4495 else
4496 ac_cv_use_ipc='wxUSE_IPC=no'
4497 fi
4498
4499 else
4500
4501 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4502 if test "x$LINE" != x ; then
4503 eval "DEFAULT_$LINE"
4504 else
4505 no_cache=1
4506 fi
4507
4508 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4509
4510 fi;
4511
4512 eval "$ac_cv_use_ipc"
4513 if test "$no_cache" != 1; then
4514 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4515 fi
4516
4517 if test "$wxUSE_IPC" = yes; then
4518 echo "$as_me:$LINENO: result: yes" >&5
4519 echo "${ECHO_T}yes" >&6
4520 else
4521 echo "$as_me:$LINENO: result: no" >&5
4522 echo "${ECHO_T}no" >&6
4523 fi
4524
4525
4526
4527 enablestring=
4528 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4529 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4530 no_cache=0
4531 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4532 if test "${enable_apple_ieee+set}" = set; then
4533 enableval="$enable_apple_ieee"
4534
4535 if test "$enableval" = yes; then
4536 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4537 else
4538 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4539 fi
4540
4541 else
4542
4543 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4544 if test "x$LINE" != x ; then
4545 eval "DEFAULT_$LINE"
4546 else
4547 no_cache=1
4548 fi
4549
4550 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4551
4552 fi;
4553
4554 eval "$ac_cv_use_apple_ieee"
4555 if test "$no_cache" != 1; then
4556 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4557 fi
4558
4559 if test "$wxUSE_APPLE_IEEE" = yes; then
4560 echo "$as_me:$LINENO: result: yes" >&5
4561 echo "${ECHO_T}yes" >&6
4562 else
4563 echo "$as_me:$LINENO: result: no" >&5
4564 echo "${ECHO_T}no" >&6
4565 fi
4566
4567
4568 enablestring=
4569 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4570 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4571 no_cache=0
4572 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4573 if test "${enable_catch_segvs+set}" = set; then
4574 enableval="$enable_catch_segvs"
4575
4576 if test "$enableval" = yes; then
4577 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4578 else
4579 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4580 fi
4581
4582 else
4583
4584 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4585 if test "x$LINE" != x ; then
4586 eval "DEFAULT_$LINE"
4587 else
4588 no_cache=1
4589 fi
4590
4591 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4592
4593 fi;
4594
4595 eval "$ac_cv_use_catch_segvs"
4596 if test "$no_cache" != 1; then
4597 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4598 fi
4599
4600 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4601 echo "$as_me:$LINENO: result: yes" >&5
4602 echo "${ECHO_T}yes" >&6
4603 else
4604 echo "$as_me:$LINENO: result: no" >&5
4605 echo "${ECHO_T}no" >&6
4606 fi
4607
4608
4609 enablestring=
4610 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4611 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4612 no_cache=0
4613 # Check whether --enable-cmdline or --disable-cmdline was given.
4614 if test "${enable_cmdline+set}" = set; then
4615 enableval="$enable_cmdline"
4616
4617 if test "$enableval" = yes; then
4618 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4619 else
4620 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4621 fi
4622
4623 else
4624
4625 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4626 if test "x$LINE" != x ; then
4627 eval "DEFAULT_$LINE"
4628 else
4629 no_cache=1
4630 fi
4631
4632 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4633
4634 fi;
4635
4636 eval "$ac_cv_use_cmdline"
4637 if test "$no_cache" != 1; then
4638 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4639 fi
4640
4641 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4642 echo "$as_me:$LINENO: result: yes" >&5
4643 echo "${ECHO_T}yes" >&6
4644 else
4645 echo "$as_me:$LINENO: result: no" >&5
4646 echo "${ECHO_T}no" >&6
4647 fi
4648
4649
4650 enablestring=
4651 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4652 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4653 no_cache=0
4654 # Check whether --enable-datetime or --disable-datetime was given.
4655 if test "${enable_datetime+set}" = set; then
4656 enableval="$enable_datetime"
4657
4658 if test "$enableval" = yes; then
4659 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4660 else
4661 ac_cv_use_datetime='wxUSE_DATETIME=no'
4662 fi
4663
4664 else
4665
4666 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4667 if test "x$LINE" != x ; then
4668 eval "DEFAULT_$LINE"
4669 else
4670 no_cache=1
4671 fi
4672
4673 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4674
4675 fi;
4676
4677 eval "$ac_cv_use_datetime"
4678 if test "$no_cache" != 1; then
4679 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4680 fi
4681
4682 if test "$wxUSE_DATETIME" = yes; then
4683 echo "$as_me:$LINENO: result: yes" >&5
4684 echo "${ECHO_T}yes" >&6
4685 else
4686 echo "$as_me:$LINENO: result: no" >&5
4687 echo "${ECHO_T}no" >&6
4688 fi
4689
4690
4691 enablestring=
4692 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4693 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4694 no_cache=0
4695 # Check whether --enable-dialupman or --disable-dialupman was given.
4696 if test "${enable_dialupman+set}" = set; then
4697 enableval="$enable_dialupman"
4698
4699 if test "$enableval" = yes; then
4700 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4701 else
4702 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4703 fi
4704
4705 else
4706
4707 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4708 if test "x$LINE" != x ; then
4709 eval "DEFAULT_$LINE"
4710 else
4711 no_cache=1
4712 fi
4713
4714 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4715
4716 fi;
4717
4718 eval "$ac_cv_use_dialupman"
4719 if test "$no_cache" != 1; then
4720 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4721 fi
4722
4723 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4724 echo "$as_me:$LINENO: result: yes" >&5
4725 echo "${ECHO_T}yes" >&6
4726 else
4727 echo "$as_me:$LINENO: result: no" >&5
4728 echo "${ECHO_T}no" >&6
4729 fi
4730
4731
4732 enablestring=
4733 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4734 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4735 no_cache=0
4736 # Check whether --enable-dynlib or --disable-dynlib was given.
4737 if test "${enable_dynlib+set}" = set; then
4738 enableval="$enable_dynlib"
4739
4740 if test "$enableval" = yes; then
4741 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4742 else
4743 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4744 fi
4745
4746 else
4747
4748 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4749 if test "x$LINE" != x ; then
4750 eval "DEFAULT_$LINE"
4751 else
4752 no_cache=1
4753 fi
4754
4755 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4756
4757 fi;
4758
4759 eval "$ac_cv_use_dynlib"
4760 if test "$no_cache" != 1; then
4761 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4762 fi
4763
4764 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4765 echo "$as_me:$LINENO: result: yes" >&5
4766 echo "${ECHO_T}yes" >&6
4767 else
4768 echo "$as_me:$LINENO: result: no" >&5
4769 echo "${ECHO_T}no" >&6
4770 fi
4771
4772
4773 enablestring=
4774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4775 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4776 no_cache=0
4777 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4778 if test "${enable_dynamicloader+set}" = set; then
4779 enableval="$enable_dynamicloader"
4780
4781 if test "$enableval" = yes; then
4782 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4783 else
4784 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4785 fi
4786
4787 else
4788
4789 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4790 if test "x$LINE" != x ; then
4791 eval "DEFAULT_$LINE"
4792 else
4793 no_cache=1
4794 fi
4795
4796 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4797
4798 fi;
4799
4800 eval "$ac_cv_use_dynamicloader"
4801 if test "$no_cache" != 1; then
4802 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4803 fi
4804
4805 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4806 echo "$as_me:$LINENO: result: yes" >&5
4807 echo "${ECHO_T}yes" >&6
4808 else
4809 echo "$as_me:$LINENO: result: no" >&5
4810 echo "${ECHO_T}no" >&6
4811 fi
4812
4813
4814 enablestring=
4815 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4816 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4817 no_cache=0
4818 # Check whether --enable-exceptions or --disable-exceptions was given.
4819 if test "${enable_exceptions+set}" = set; then
4820 enableval="$enable_exceptions"
4821
4822 if test "$enableval" = yes; then
4823 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
4824 else
4825 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
4826 fi
4827
4828 else
4829
4830 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4831 if test "x$LINE" != x ; then
4832 eval "DEFAULT_$LINE"
4833 else
4834 no_cache=1
4835 fi
4836
4837 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4838
4839 fi;
4840
4841 eval "$ac_cv_use_exceptions"
4842 if test "$no_cache" != 1; then
4843 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4844 fi
4845
4846 if test "$wxUSE_EXCEPTIONS" = yes; then
4847 echo "$as_me:$LINENO: result: yes" >&5
4848 echo "${ECHO_T}yes" >&6
4849 else
4850 echo "$as_me:$LINENO: result: no" >&5
4851 echo "${ECHO_T}no" >&6
4852 fi
4853
4854
4855 enablestring=
4856 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4857 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4858 no_cache=0
4859 # Check whether --enable-ffile or --disable-ffile was given.
4860 if test "${enable_ffile+set}" = set; then
4861 enableval="$enable_ffile"
4862
4863 if test "$enableval" = yes; then
4864 ac_cv_use_ffile='wxUSE_FFILE=yes'
4865 else
4866 ac_cv_use_ffile='wxUSE_FFILE=no'
4867 fi
4868
4869 else
4870
4871 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4872 if test "x$LINE" != x ; then
4873 eval "DEFAULT_$LINE"
4874 else
4875 no_cache=1
4876 fi
4877
4878 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4879
4880 fi;
4881
4882 eval "$ac_cv_use_ffile"
4883 if test "$no_cache" != 1; then
4884 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4885 fi
4886
4887 if test "$wxUSE_FFILE" = yes; then
4888 echo "$as_me:$LINENO: result: yes" >&5
4889 echo "${ECHO_T}yes" >&6
4890 else
4891 echo "$as_me:$LINENO: result: no" >&5
4892 echo "${ECHO_T}no" >&6
4893 fi
4894
4895
4896 enablestring=
4897 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4898 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4899 no_cache=0
4900 # Check whether --enable-file or --disable-file was given.
4901 if test "${enable_file+set}" = set; then
4902 enableval="$enable_file"
4903
4904 if test "$enableval" = yes; then
4905 ac_cv_use_file='wxUSE_FILE=yes'
4906 else
4907 ac_cv_use_file='wxUSE_FILE=no'
4908 fi
4909
4910 else
4911
4912 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4913 if test "x$LINE" != x ; then
4914 eval "DEFAULT_$LINE"
4915 else
4916 no_cache=1
4917 fi
4918
4919 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4920
4921 fi;
4922
4923 eval "$ac_cv_use_file"
4924 if test "$no_cache" != 1; then
4925 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4926 fi
4927
4928 if test "$wxUSE_FILE" = yes; then
4929 echo "$as_me:$LINENO: result: yes" >&5
4930 echo "${ECHO_T}yes" >&6
4931 else
4932 echo "$as_me:$LINENO: result: no" >&5
4933 echo "${ECHO_T}no" >&6
4934 fi
4935
4936
4937 enablestring=
4938 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4939 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4940 no_cache=0
4941 # Check whether --enable-filesystem or --disable-filesystem was given.
4942 if test "${enable_filesystem+set}" = set; then
4943 enableval="$enable_filesystem"
4944
4945 if test "$enableval" = yes; then
4946 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
4947 else
4948 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
4949 fi
4950
4951 else
4952
4953 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4954 if test "x$LINE" != x ; then
4955 eval "DEFAULT_$LINE"
4956 else
4957 no_cache=1
4958 fi
4959
4960 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4961
4962 fi;
4963
4964 eval "$ac_cv_use_filesystem"
4965 if test "$no_cache" != 1; then
4966 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4967 fi
4968
4969 if test "$wxUSE_FILESYSTEM" = yes; then
4970 echo "$as_me:$LINENO: result: yes" >&5
4971 echo "${ECHO_T}yes" >&6
4972 else
4973 echo "$as_me:$LINENO: result: no" >&5
4974 echo "${ECHO_T}no" >&6
4975 fi
4976
4977
4978 enablestring=
4979 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4980 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4981 no_cache=0
4982 # Check whether --enable-fontmap or --disable-fontmap was given.
4983 if test "${enable_fontmap+set}" = set; then
4984 enableval="$enable_fontmap"
4985
4986 if test "$enableval" = yes; then
4987 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4988 else
4989 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4990 fi
4991
4992 else
4993
4994 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4995 if test "x$LINE" != x ; then
4996 eval "DEFAULT_$LINE"
4997 else
4998 no_cache=1
4999 fi
5000
5001 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5002
5003 fi;
5004
5005 eval "$ac_cv_use_fontmap"
5006 if test "$no_cache" != 1; then
5007 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5008 fi
5009
5010 if test "$wxUSE_FONTMAP" = yes; then
5011 echo "$as_me:$LINENO: result: yes" >&5
5012 echo "${ECHO_T}yes" >&6
5013 else
5014 echo "$as_me:$LINENO: result: no" >&5
5015 echo "${ECHO_T}no" >&6
5016 fi
5017
5018
5019 enablestring=
5020 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5021 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5022 no_cache=0
5023 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5024 if test "${enable_fs_inet+set}" = set; then
5025 enableval="$enable_fs_inet"
5026
5027 if test "$enableval" = yes; then
5028 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5029 else
5030 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5031 fi
5032
5033 else
5034
5035 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5036 if test "x$LINE" != x ; then
5037 eval "DEFAULT_$LINE"
5038 else
5039 no_cache=1
5040 fi
5041
5042 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5043
5044 fi;
5045
5046 eval "$ac_cv_use_fs_inet"
5047 if test "$no_cache" != 1; then
5048 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5049 fi
5050
5051 if test "$wxUSE_FS_INET" = yes; then
5052 echo "$as_me:$LINENO: result: yes" >&5
5053 echo "${ECHO_T}yes" >&6
5054 else
5055 echo "$as_me:$LINENO: result: no" >&5
5056 echo "${ECHO_T}no" >&6
5057 fi
5058
5059
5060 enablestring=
5061 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5062 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5063 no_cache=0
5064 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5065 if test "${enable_fs_zip+set}" = set; then
5066 enableval="$enable_fs_zip"
5067
5068 if test "$enableval" = yes; then
5069 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5070 else
5071 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5072 fi
5073
5074 else
5075
5076 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5077 if test "x$LINE" != x ; then
5078 eval "DEFAULT_$LINE"
5079 else
5080 no_cache=1
5081 fi
5082
5083 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5084
5085 fi;
5086
5087 eval "$ac_cv_use_fs_zip"
5088 if test "$no_cache" != 1; then
5089 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5090 fi
5091
5092 if test "$wxUSE_FS_ZIP" = yes; then
5093 echo "$as_me:$LINENO: result: yes" >&5
5094 echo "${ECHO_T}yes" >&6
5095 else
5096 echo "$as_me:$LINENO: result: no" >&5
5097 echo "${ECHO_T}no" >&6
5098 fi
5099
5100
5101 enablestring=
5102 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5103 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5104 no_cache=0
5105 # Check whether --enable-geometry or --disable-geometry was given.
5106 if test "${enable_geometry+set}" = set; then
5107 enableval="$enable_geometry"
5108
5109 if test "$enableval" = yes; then
5110 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5111 else
5112 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5113 fi
5114
5115 else
5116
5117 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5118 if test "x$LINE" != x ; then
5119 eval "DEFAULT_$LINE"
5120 else
5121 no_cache=1
5122 fi
5123
5124 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5125
5126 fi;
5127
5128 eval "$ac_cv_use_geometry"
5129 if test "$no_cache" != 1; then
5130 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5131 fi
5132
5133 if test "$wxUSE_GEOMETRY" = yes; then
5134 echo "$as_me:$LINENO: result: yes" >&5
5135 echo "${ECHO_T}yes" >&6
5136 else
5137 echo "$as_me:$LINENO: result: no" >&5
5138 echo "${ECHO_T}no" >&6
5139 fi
5140
5141
5142 enablestring=
5143 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5144 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5145 no_cache=0
5146 # Check whether --enable-log or --disable-log was given.
5147 if test "${enable_log+set}" = set; then
5148 enableval="$enable_log"
5149
5150 if test "$enableval" = yes; then
5151 ac_cv_use_log='wxUSE_LOG=yes'
5152 else
5153 ac_cv_use_log='wxUSE_LOG=no'
5154 fi
5155
5156 else
5157
5158 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5159 if test "x$LINE" != x ; then
5160 eval "DEFAULT_$LINE"
5161 else
5162 no_cache=1
5163 fi
5164
5165 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5166
5167 fi;
5168
5169 eval "$ac_cv_use_log"
5170 if test "$no_cache" != 1; then
5171 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5172 fi
5173
5174 if test "$wxUSE_LOG" = yes; then
5175 echo "$as_me:$LINENO: result: yes" >&5
5176 echo "${ECHO_T}yes" >&6
5177 else
5178 echo "$as_me:$LINENO: result: no" >&5
5179 echo "${ECHO_T}no" >&6
5180 fi
5181
5182
5183 enablestring=
5184 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5185 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5186 no_cache=0
5187 # Check whether --enable-longlong or --disable-longlong was given.
5188 if test "${enable_longlong+set}" = set; then
5189 enableval="$enable_longlong"
5190
5191 if test "$enableval" = yes; then
5192 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5193 else
5194 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5195 fi
5196
5197 else
5198
5199 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5200 if test "x$LINE" != x ; then
5201 eval "DEFAULT_$LINE"
5202 else
5203 no_cache=1
5204 fi
5205
5206 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5207
5208 fi;
5209
5210 eval "$ac_cv_use_longlong"
5211 if test "$no_cache" != 1; then
5212 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5213 fi
5214
5215 if test "$wxUSE_LONGLONG" = yes; then
5216 echo "$as_me:$LINENO: result: yes" >&5
5217 echo "${ECHO_T}yes" >&6
5218 else
5219 echo "$as_me:$LINENO: result: no" >&5
5220 echo "${ECHO_T}no" >&6
5221 fi
5222
5223
5224 enablestring=
5225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5226 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5227 no_cache=0
5228 # Check whether --enable-mimetype or --disable-mimetype was given.
5229 if test "${enable_mimetype+set}" = set; then
5230 enableval="$enable_mimetype"
5231
5232 if test "$enableval" = yes; then
5233 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5234 else
5235 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5236 fi
5237
5238 else
5239
5240 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5241 if test "x$LINE" != x ; then
5242 eval "DEFAULT_$LINE"
5243 else
5244 no_cache=1
5245 fi
5246
5247 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5248
5249 fi;
5250
5251 eval "$ac_cv_use_mimetype"
5252 if test "$no_cache" != 1; then
5253 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5254 fi
5255
5256 if test "$wxUSE_MIMETYPE" = yes; then
5257 echo "$as_me:$LINENO: result: yes" >&5
5258 echo "${ECHO_T}yes" >&6
5259 else
5260 echo "$as_me:$LINENO: result: no" >&5
5261 echo "${ECHO_T}no" >&6
5262 fi
5263
5264
5265 enablestring=
5266 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5267 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5268 no_cache=0
5269 # Check whether --enable-mslu or --disable-mslu was given.
5270 if test "${enable_mslu+set}" = set; then
5271 enableval="$enable_mslu"
5272
5273 if test "$enableval" = yes; then
5274 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5275 else
5276 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5277 fi
5278
5279 else
5280
5281 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5282 if test "x$LINE" != x ; then
5283 eval "DEFAULT_$LINE"
5284 else
5285 no_cache=1
5286 fi
5287
5288 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5289
5290 fi;
5291
5292 eval "$ac_cv_use_mslu"
5293 if test "$no_cache" != 1; then
5294 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5295 fi
5296
5297 if test "$wxUSE_UNICODE_MSLU" = yes; then
5298 echo "$as_me:$LINENO: result: yes" >&5
5299 echo "${ECHO_T}yes" >&6
5300 else
5301 echo "$as_me:$LINENO: result: no" >&5
5302 echo "${ECHO_T}no" >&6
5303 fi
5304
5305
5306 enablestring=
5307 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5308 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5309 no_cache=0
5310 # Check whether --enable-snglinst or --disable-snglinst was given.
5311 if test "${enable_snglinst+set}" = set; then
5312 enableval="$enable_snglinst"
5313
5314 if test "$enableval" = yes; then
5315 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5316 else
5317 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5318 fi
5319
5320 else
5321
5322 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5323 if test "x$LINE" != x ; then
5324 eval "DEFAULT_$LINE"
5325 else
5326 no_cache=1
5327 fi
5328
5329 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5330
5331 fi;
5332
5333 eval "$ac_cv_use_snglinst"
5334 if test "$no_cache" != 1; then
5335 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5336 fi
5337
5338 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5339 echo "$as_me:$LINENO: result: yes" >&5
5340 echo "${ECHO_T}yes" >&6
5341 else
5342 echo "$as_me:$LINENO: result: no" >&5
5343 echo "${ECHO_T}no" >&6
5344 fi
5345
5346
5347 enablestring=
5348 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5349 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5350 no_cache=0
5351 # Check whether --enable-streams or --disable-streams was given.
5352 if test "${enable_streams+set}" = set; then
5353 enableval="$enable_streams"
5354
5355 if test "$enableval" = yes; then
5356 ac_cv_use_streams='wxUSE_STREAMS=yes'
5357 else
5358 ac_cv_use_streams='wxUSE_STREAMS=no'
5359 fi
5360
5361 else
5362
5363 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5364 if test "x$LINE" != x ; then
5365 eval "DEFAULT_$LINE"
5366 else
5367 no_cache=1
5368 fi
5369
5370 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5371
5372 fi;
5373
5374 eval "$ac_cv_use_streams"
5375 if test "$no_cache" != 1; then
5376 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5377 fi
5378
5379 if test "$wxUSE_STREAMS" = yes; then
5380 echo "$as_me:$LINENO: result: yes" >&5
5381 echo "${ECHO_T}yes" >&6
5382 else
5383 echo "$as_me:$LINENO: result: no" >&5
5384 echo "${ECHO_T}no" >&6
5385 fi
5386
5387
5388 enablestring=
5389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5390 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5391 no_cache=0
5392 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5393 if test "${enable_std_iostreams+set}" = set; then
5394 enableval="$enable_std_iostreams"
5395
5396 if test "$enableval" = yes; then
5397 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5398 else
5399 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5400 fi
5401
5402 else
5403
5404 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5405 if test "x$LINE" != x ; then
5406 eval "DEFAULT_$LINE"
5407 else
5408 no_cache=1
5409 fi
5410
5411 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5412
5413 fi;
5414
5415 eval "$ac_cv_use_std_iostreams"
5416 if test "$no_cache" != 1; then
5417 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5418 fi
5419
5420 if test "$wxUSE_STD_IOSTREAM" = yes; then
5421 echo "$as_me:$LINENO: result: yes" >&5
5422 echo "${ECHO_T}yes" >&6
5423 else
5424 echo "$as_me:$LINENO: result: no" >&5
5425 echo "${ECHO_T}no" >&6
5426 fi
5427
5428
5429 enablestring=
5430 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5431 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5432 no_cache=0
5433 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5434 if test "${enable_stopwatch+set}" = set; then
5435 enableval="$enable_stopwatch"
5436
5437 if test "$enableval" = yes; then
5438 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5439 else
5440 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5441 fi
5442
5443 else
5444
5445 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5446 if test "x$LINE" != x ; then
5447 eval "DEFAULT_$LINE"
5448 else
5449 no_cache=1
5450 fi
5451
5452 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5453
5454 fi;
5455
5456 eval "$ac_cv_use_stopwatch"
5457 if test "$no_cache" != 1; then
5458 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5459 fi
5460
5461 if test "$wxUSE_STOPWATCH" = yes; then
5462 echo "$as_me:$LINENO: result: yes" >&5
5463 echo "${ECHO_T}yes" >&6
5464 else
5465 echo "$as_me:$LINENO: result: no" >&5
5466 echo "${ECHO_T}no" >&6
5467 fi
5468
5469
5470 enablestring=
5471 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5472 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5473 no_cache=0
5474 # Check whether --enable-system_options or --disable-system_options was given.
5475 if test "${enable_system_options+set}" = set; then
5476 enableval="$enable_system_options"
5477
5478 if test "$enableval" = yes; then
5479 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5480 else
5481 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5482 fi
5483
5484 else
5485
5486 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5487 if test "x$LINE" != x ; then
5488 eval "DEFAULT_$LINE"
5489 else
5490 no_cache=1
5491 fi
5492
5493 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5494
5495 fi;
5496
5497 eval "$ac_cv_use_system_options"
5498 if test "$no_cache" != 1; then
5499 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5500 fi
5501
5502 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5503 echo "$as_me:$LINENO: result: yes" >&5
5504 echo "${ECHO_T}yes" >&6
5505 else
5506 echo "$as_me:$LINENO: result: no" >&5
5507 echo "${ECHO_T}no" >&6
5508 fi
5509
5510
5511 enablestring=
5512 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5513 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5514 no_cache=0
5515 # Check whether --enable-textbuf or --disable-textbuf was given.
5516 if test "${enable_textbuf+set}" = set; then
5517 enableval="$enable_textbuf"
5518
5519 if test "$enableval" = yes; then
5520 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5521 else
5522 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5523 fi
5524
5525 else
5526
5527 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5528 if test "x$LINE" != x ; then
5529 eval "DEFAULT_$LINE"
5530 else
5531 no_cache=1
5532 fi
5533
5534 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5535
5536 fi;
5537
5538 eval "$ac_cv_use_textbuf"
5539 if test "$no_cache" != 1; then
5540 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5541 fi
5542
5543 if test "$wxUSE_TEXTBUFFER" = yes; then
5544 echo "$as_me:$LINENO: result: yes" >&5
5545 echo "${ECHO_T}yes" >&6
5546 else
5547 echo "$as_me:$LINENO: result: no" >&5
5548 echo "${ECHO_T}no" >&6
5549 fi
5550
5551
5552 enablestring=
5553 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5554 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5555 no_cache=0
5556 # Check whether --enable-textfile or --disable-textfile was given.
5557 if test "${enable_textfile+set}" = set; then
5558 enableval="$enable_textfile"
5559
5560 if test "$enableval" = yes; then
5561 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5562 else
5563 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5564 fi
5565
5566 else
5567
5568 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5569 if test "x$LINE" != x ; then
5570 eval "DEFAULT_$LINE"
5571 else
5572 no_cache=1
5573 fi
5574
5575 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5576
5577 fi;
5578
5579 eval "$ac_cv_use_textfile"
5580 if test "$no_cache" != 1; then
5581 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5582 fi
5583
5584 if test "$wxUSE_TEXTFILE" = yes; then
5585 echo "$as_me:$LINENO: result: yes" >&5
5586 echo "${ECHO_T}yes" >&6
5587 else
5588 echo "$as_me:$LINENO: result: no" >&5
5589 echo "${ECHO_T}no" >&6
5590 fi
5591
5592
5593 enablestring=
5594 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5595 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5596 no_cache=0
5597 # Check whether --enable-timer or --disable-timer was given.
5598 if test "${enable_timer+set}" = set; then
5599 enableval="$enable_timer"
5600
5601 if test "$enableval" = yes; then
5602 ac_cv_use_timer='wxUSE_TIMER=yes'
5603 else
5604 ac_cv_use_timer='wxUSE_TIMER=no'
5605 fi
5606
5607 else
5608
5609 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5610 if test "x$LINE" != x ; then
5611 eval "DEFAULT_$LINE"
5612 else
5613 no_cache=1
5614 fi
5615
5616 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5617
5618 fi;
5619
5620 eval "$ac_cv_use_timer"
5621 if test "$no_cache" != 1; then
5622 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5623 fi
5624
5625 if test "$wxUSE_TIMER" = yes; then
5626 echo "$as_me:$LINENO: result: yes" >&5
5627 echo "${ECHO_T}yes" >&6
5628 else
5629 echo "$as_me:$LINENO: result: no" >&5
5630 echo "${ECHO_T}no" >&6
5631 fi
5632
5633
5634 enablestring=
5635 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5636 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5637 no_cache=0
5638 # Check whether --enable-unicode or --disable-unicode was given.
5639 if test "${enable_unicode+set}" = set; then
5640 enableval="$enable_unicode"
5641
5642 if test "$enableval" = yes; then
5643 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5644 else
5645 ac_cv_use_unicode='wxUSE_UNICODE=no'
5646 fi
5647
5648 else
5649
5650 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5651 if test "x$LINE" != x ; then
5652 eval "DEFAULT_$LINE"
5653 else
5654 no_cache=1
5655 fi
5656
5657 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5658
5659 fi;
5660
5661 eval "$ac_cv_use_unicode"
5662 if test "$no_cache" != 1; then
5663 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5664 fi
5665
5666 if test "$wxUSE_UNICODE" = yes; then
5667 echo "$as_me:$LINENO: result: yes" >&5
5668 echo "${ECHO_T}yes" >&6
5669 else
5670 echo "$as_me:$LINENO: result: no" >&5
5671 echo "${ECHO_T}no" >&6
5672 fi
5673
5674
5675 enablestring=
5676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5677 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5678 no_cache=0
5679 # Check whether --enable-sound or --disable-sound was given.
5680 if test "${enable_sound+set}" = set; then
5681 enableval="$enable_sound"
5682
5683 if test "$enableval" = yes; then
5684 ac_cv_use_sound='wxUSE_SOUND=yes'
5685 else
5686 ac_cv_use_sound='wxUSE_SOUND=no'
5687 fi
5688
5689 else
5690
5691 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5692 if test "x$LINE" != x ; then
5693 eval "DEFAULT_$LINE"
5694 else
5695 no_cache=1
5696 fi
5697
5698 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5699
5700 fi;
5701
5702 eval "$ac_cv_use_sound"
5703 if test "$no_cache" != 1; then
5704 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5705 fi
5706
5707 if test "$wxUSE_SOUND" = yes; then
5708 echo "$as_me:$LINENO: result: yes" >&5
5709 echo "${ECHO_T}yes" >&6
5710 else
5711 echo "$as_me:$LINENO: result: no" >&5
5712 echo "${ECHO_T}no" >&6
5713 fi
5714
5715
5716 enablestring=
5717 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5718 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5719 no_cache=0
5720 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5721 if test "${enable_wxprintfv+set}" = set; then
5722 enableval="$enable_wxprintfv"
5723
5724 if test "$enableval" = yes; then
5725 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5726 else
5727 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5728 fi
5729
5730 else
5731
5732 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5733 if test "x$LINE" != x ; then
5734 eval "DEFAULT_$LINE"
5735 else
5736 no_cache=1
5737 fi
5738
5739 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5740
5741 fi;
5742
5743 eval "$ac_cv_use_wxprintfv"
5744 if test "$no_cache" != 1; then
5745 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5746 fi
5747
5748 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5749 echo "$as_me:$LINENO: result: yes" >&5
5750 echo "${ECHO_T}yes" >&6
5751 else
5752 echo "$as_me:$LINENO: result: no" >&5
5753 echo "${ECHO_T}no" >&6
5754 fi
5755
5756
5757 enablestring=
5758 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5759 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5760 no_cache=0
5761 # Check whether --enable-zipstream or --disable-zipstream was given.
5762 if test "${enable_zipstream+set}" = set; then
5763 enableval="$enable_zipstream"
5764
5765 if test "$enableval" = yes; then
5766 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5767 else
5768 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5769 fi
5770
5771 else
5772
5773 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5774 if test "x$LINE" != x ; then
5775 eval "DEFAULT_$LINE"
5776 else
5777 no_cache=1
5778 fi
5779
5780 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5781
5782 fi;
5783
5784 eval "$ac_cv_use_zipstream"
5785 if test "$no_cache" != 1; then
5786 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5787 fi
5788
5789 if test "$wxUSE_ZIPSTREAM" = yes; then
5790 echo "$as_me:$LINENO: result: yes" >&5
5791 echo "${ECHO_T}yes" >&6
5792 else
5793 echo "$as_me:$LINENO: result: no" >&5
5794 echo "${ECHO_T}no" >&6
5795 fi
5796
5797
5798
5799 enablestring=
5800 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5801 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5802 no_cache=0
5803 # Check whether --enable-url or --disable-url was given.
5804 if test "${enable_url+set}" = set; then
5805 enableval="$enable_url"
5806
5807 if test "$enableval" = yes; then
5808 ac_cv_use_url='wxUSE_URL=yes'
5809 else
5810 ac_cv_use_url='wxUSE_URL=no'
5811 fi
5812
5813 else
5814
5815 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5816 if test "x$LINE" != x ; then
5817 eval "DEFAULT_$LINE"
5818 else
5819 no_cache=1
5820 fi
5821
5822 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5823
5824 fi;
5825
5826 eval "$ac_cv_use_url"
5827 if test "$no_cache" != 1; then
5828 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5829 fi
5830
5831 if test "$wxUSE_URL" = yes; then
5832 echo "$as_me:$LINENO: result: yes" >&5
5833 echo "${ECHO_T}yes" >&6
5834 else
5835 echo "$as_me:$LINENO: result: no" >&5
5836 echo "${ECHO_T}no" >&6
5837 fi
5838
5839
5840 enablestring=
5841 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5842 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5843 no_cache=0
5844 # Check whether --enable-protocol or --disable-protocol was given.
5845 if test "${enable_protocol+set}" = set; then
5846 enableval="$enable_protocol"
5847
5848 if test "$enableval" = yes; then
5849 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5850 else
5851 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5852 fi
5853
5854 else
5855
5856 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5857 if test "x$LINE" != x ; then
5858 eval "DEFAULT_$LINE"
5859 else
5860 no_cache=1
5861 fi
5862
5863 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5864
5865 fi;
5866
5867 eval "$ac_cv_use_protocol"
5868 if test "$no_cache" != 1; then
5869 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5870 fi
5871
5872 if test "$wxUSE_PROTOCOL" = yes; then
5873 echo "$as_me:$LINENO: result: yes" >&5
5874 echo "${ECHO_T}yes" >&6
5875 else
5876 echo "$as_me:$LINENO: result: no" >&5
5877 echo "${ECHO_T}no" >&6
5878 fi
5879
5880
5881 enablestring=
5882 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5883 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5884 no_cache=0
5885 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5886 if test "${enable_protocol_http+set}" = set; then
5887 enableval="$enable_protocol_http"
5888
5889 if test "$enableval" = yes; then
5890 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
5891 else
5892 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
5893 fi
5894
5895 else
5896
5897 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5898 if test "x$LINE" != x ; then
5899 eval "DEFAULT_$LINE"
5900 else
5901 no_cache=1
5902 fi
5903
5904 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5905
5906 fi;
5907
5908 eval "$ac_cv_use_protocol_http"
5909 if test "$no_cache" != 1; then
5910 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5911 fi
5912
5913 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5914 echo "$as_me:$LINENO: result: yes" >&5
5915 echo "${ECHO_T}yes" >&6
5916 else
5917 echo "$as_me:$LINENO: result: no" >&5
5918 echo "${ECHO_T}no" >&6
5919 fi
5920
5921
5922 enablestring=
5923 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5924 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5925 no_cache=0
5926 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5927 if test "${enable_protocol_ftp+set}" = set; then
5928 enableval="$enable_protocol_ftp"
5929
5930 if test "$enableval" = yes; then
5931 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
5932 else
5933 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
5934 fi
5935
5936 else
5937
5938 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5939 if test "x$LINE" != x ; then
5940 eval "DEFAULT_$LINE"
5941 else
5942 no_cache=1
5943 fi
5944
5945 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5946
5947 fi;
5948
5949 eval "$ac_cv_use_protocol_ftp"
5950 if test "$no_cache" != 1; then
5951 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5952 fi
5953
5954 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5955 echo "$as_me:$LINENO: result: yes" >&5
5956 echo "${ECHO_T}yes" >&6
5957 else
5958 echo "$as_me:$LINENO: result: no" >&5
5959 echo "${ECHO_T}no" >&6
5960 fi
5961
5962
5963 enablestring=
5964 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5965 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5966 no_cache=0
5967 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5968 if test "${enable_protocol_file+set}" = set; then
5969 enableval="$enable_protocol_file"
5970
5971 if test "$enableval" = yes; then
5972 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
5973 else
5974 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
5975 fi
5976
5977 else
5978
5979 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5980 if test "x$LINE" != x ; then
5981 eval "DEFAULT_$LINE"
5982 else
5983 no_cache=1
5984 fi
5985
5986 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5987
5988 fi;
5989
5990 eval "$ac_cv_use_protocol_file"
5991 if test "$no_cache" != 1; then
5992 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5993 fi
5994
5995 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5996 echo "$as_me:$LINENO: result: yes" >&5
5997 echo "${ECHO_T}yes" >&6
5998 else
5999 echo "$as_me:$LINENO: result: no" >&5
6000 echo "${ECHO_T}no" >&6
6001 fi
6002
6003
6004
6005
6006
6007 enablestring=
6008 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6009 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6010 no_cache=0
6011 # Check whether --enable-threads or --disable-threads was given.
6012 if test "${enable_threads+set}" = set; then
6013 enableval="$enable_threads"
6014
6015 if test "$enableval" = yes; then
6016 ac_cv_use_threads='wxUSE_THREADS=yes'
6017 else
6018 ac_cv_use_threads='wxUSE_THREADS=no'
6019 fi
6020
6021 else
6022
6023 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6024 if test "x$LINE" != x ; then
6025 eval "DEFAULT_$LINE"
6026 else
6027 no_cache=1
6028 fi
6029
6030 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6031
6032 fi;
6033
6034 eval "$ac_cv_use_threads"
6035 if test "$no_cache" != 1; then
6036 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6037 fi
6038
6039 if test "$wxUSE_THREADS" = yes; then
6040 echo "$as_me:$LINENO: result: yes" >&5
6041 echo "${ECHO_T}yes" >&6
6042 else
6043 echo "$as_me:$LINENO: result: no" >&5
6044 echo "${ECHO_T}no" >&6
6045 fi
6046
6047
6048 if test "$wxUSE_GUI" = "yes"; then
6049
6050
6051
6052 enablestring=
6053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6054 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6055 no_cache=0
6056 # Check whether --enable-docview or --disable-docview was given.
6057 if test "${enable_docview+set}" = set; then
6058 enableval="$enable_docview"
6059
6060 if test "$enableval" = yes; then
6061 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6062 else
6063 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6064 fi
6065
6066 else
6067
6068 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6069 if test "x$LINE" != x ; then
6070 eval "DEFAULT_$LINE"
6071 else
6072 no_cache=1
6073 fi
6074
6075 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6076
6077 fi;
6078
6079 eval "$ac_cv_use_docview"
6080 if test "$no_cache" != 1; then
6081 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6082 fi
6083
6084 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6085 echo "$as_me:$LINENO: result: yes" >&5
6086 echo "${ECHO_T}yes" >&6
6087 else
6088 echo "$as_me:$LINENO: result: no" >&5
6089 echo "${ECHO_T}no" >&6
6090 fi
6091
6092
6093 enablestring=
6094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6095 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6096 no_cache=0
6097 # Check whether --enable-help or --disable-help was given.
6098 if test "${enable_help+set}" = set; then
6099 enableval="$enable_help"
6100
6101 if test "$enableval" = yes; then
6102 ac_cv_use_help='wxUSE_HELP=yes'
6103 else
6104 ac_cv_use_help='wxUSE_HELP=no'
6105 fi
6106
6107 else
6108
6109 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6110 if test "x$LINE" != x ; then
6111 eval "DEFAULT_$LINE"
6112 else
6113 no_cache=1
6114 fi
6115
6116 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6117
6118 fi;
6119
6120 eval "$ac_cv_use_help"
6121 if test "$no_cache" != 1; then
6122 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6123 fi
6124
6125 if test "$wxUSE_HELP" = yes; then
6126 echo "$as_me:$LINENO: result: yes" >&5
6127 echo "${ECHO_T}yes" >&6
6128 else
6129 echo "$as_me:$LINENO: result: no" >&5
6130 echo "${ECHO_T}no" >&6
6131 fi
6132
6133
6134 enablestring=
6135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6136 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6137 no_cache=0
6138 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6139 if test "${enable_mshtmlhelp+set}" = set; then
6140 enableval="$enable_mshtmlhelp"
6141
6142 if test "$enableval" = yes; then
6143 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6144 else
6145 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6146 fi
6147
6148 else
6149
6150 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6151 if test "x$LINE" != x ; then
6152 eval "DEFAULT_$LINE"
6153 else
6154 no_cache=1
6155 fi
6156
6157 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6158
6159 fi;
6160
6161 eval "$ac_cv_use_mshtmlhelp"
6162 if test "$no_cache" != 1; then
6163 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6164 fi
6165
6166 if test "$wxUSE_MS_HTML_HELP" = yes; then
6167 echo "$as_me:$LINENO: result: yes" >&5
6168 echo "${ECHO_T}yes" >&6
6169 else
6170 echo "$as_me:$LINENO: result: no" >&5
6171 echo "${ECHO_T}no" >&6
6172 fi
6173
6174
6175 enablestring=
6176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6177 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6178 no_cache=0
6179 # Check whether --enable-html or --disable-html was given.
6180 if test "${enable_html+set}" = set; then
6181 enableval="$enable_html"
6182
6183 if test "$enableval" = yes; then
6184 ac_cv_use_html='wxUSE_HTML=yes'
6185 else
6186 ac_cv_use_html='wxUSE_HTML=no'
6187 fi
6188
6189 else
6190
6191 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6192 if test "x$LINE" != x ; then
6193 eval "DEFAULT_$LINE"
6194 else
6195 no_cache=1
6196 fi
6197
6198 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6199
6200 fi;
6201
6202 eval "$ac_cv_use_html"
6203 if test "$no_cache" != 1; then
6204 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6205 fi
6206
6207 if test "$wxUSE_HTML" = yes; then
6208 echo "$as_me:$LINENO: result: yes" >&5
6209 echo "${ECHO_T}yes" >&6
6210 else
6211 echo "$as_me:$LINENO: result: no" >&5
6212 echo "${ECHO_T}no" >&6
6213 fi
6214
6215
6216 enablestring=
6217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6218 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6219 no_cache=0
6220 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6221 if test "${enable_htmlhelp+set}" = set; then
6222 enableval="$enable_htmlhelp"
6223
6224 if test "$enableval" = yes; then
6225 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6226 else
6227 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6228 fi
6229
6230 else
6231
6232 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6233 if test "x$LINE" != x ; then
6234 eval "DEFAULT_$LINE"
6235 else
6236 no_cache=1
6237 fi
6238
6239 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6240
6241 fi;
6242
6243 eval "$ac_cv_use_htmlhelp"
6244 if test "$no_cache" != 1; then
6245 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6246 fi
6247
6248 if test "$wxUSE_WXHTML_HELP" = yes; then
6249 echo "$as_me:$LINENO: result: yes" >&5
6250 echo "${ECHO_T}yes" >&6
6251 else
6252 echo "$as_me:$LINENO: result: no" >&5
6253 echo "${ECHO_T}no" >&6
6254 fi
6255
6256
6257 enablestring=
6258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6259 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6260 no_cache=0
6261 # Check whether --enable-constraints or --disable-constraints was given.
6262 if test "${enable_constraints+set}" = set; then
6263 enableval="$enable_constraints"
6264
6265 if test "$enableval" = yes; then
6266 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6267 else
6268 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6269 fi
6270
6271 else
6272
6273 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6274 if test "x$LINE" != x ; then
6275 eval "DEFAULT_$LINE"
6276 else
6277 no_cache=1
6278 fi
6279
6280 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6281
6282 fi;
6283
6284 eval "$ac_cv_use_constraints"
6285 if test "$no_cache" != 1; then
6286 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6287 fi
6288
6289 if test "$wxUSE_CONSTRAINTS" = yes; then
6290 echo "$as_me:$LINENO: result: yes" >&5
6291 echo "${ECHO_T}yes" >&6
6292 else
6293 echo "$as_me:$LINENO: result: no" >&5
6294 echo "${ECHO_T}no" >&6
6295 fi
6296
6297
6298 enablestring=
6299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6300 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6301 no_cache=0
6302 # Check whether --enable-printarch or --disable-printarch was given.
6303 if test "${enable_printarch+set}" = set; then
6304 enableval="$enable_printarch"
6305
6306 if test "$enableval" = yes; then
6307 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6308 else
6309 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6310 fi
6311
6312 else
6313
6314 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6315 if test "x$LINE" != x ; then
6316 eval "DEFAULT_$LINE"
6317 else
6318 no_cache=1
6319 fi
6320
6321 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6322
6323 fi;
6324
6325 eval "$ac_cv_use_printarch"
6326 if test "$no_cache" != 1; then
6327 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6328 fi
6329
6330 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6331 echo "$as_me:$LINENO: result: yes" >&5
6332 echo "${ECHO_T}yes" >&6
6333 else
6334 echo "$as_me:$LINENO: result: no" >&5
6335 echo "${ECHO_T}no" >&6
6336 fi
6337
6338
6339 enablestring=
6340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6341 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6342 no_cache=0
6343 # Check whether --enable-mdi or --disable-mdi was given.
6344 if test "${enable_mdi+set}" = set; then
6345 enableval="$enable_mdi"
6346
6347 if test "$enableval" = yes; then
6348 ac_cv_use_mdi='wxUSE_MDI=yes'
6349 else
6350 ac_cv_use_mdi='wxUSE_MDI=no'
6351 fi
6352
6353 else
6354
6355 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6356 if test "x$LINE" != x ; then
6357 eval "DEFAULT_$LINE"
6358 else
6359 no_cache=1
6360 fi
6361
6362 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6363
6364 fi;
6365
6366 eval "$ac_cv_use_mdi"
6367 if test "$no_cache" != 1; then
6368 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6369 fi
6370
6371 if test "$wxUSE_MDI" = yes; then
6372 echo "$as_me:$LINENO: result: yes" >&5
6373 echo "${ECHO_T}yes" >&6
6374 else
6375 echo "$as_me:$LINENO: result: no" >&5
6376 echo "${ECHO_T}no" >&6
6377 fi
6378
6379
6380 enablestring=
6381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6382 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6383 no_cache=0
6384 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6385 if test "${enable_mdidoc+set}" = set; then
6386 enableval="$enable_mdidoc"
6387
6388 if test "$enableval" = yes; then
6389 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
6390 else
6391 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
6392 fi
6393
6394 else
6395
6396 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6397 if test "x$LINE" != x ; then
6398 eval "DEFAULT_$LINE"
6399 else
6400 no_cache=1
6401 fi
6402
6403 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6404
6405 fi;
6406
6407 eval "$ac_cv_use_mdidoc"
6408 if test "$no_cache" != 1; then
6409 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6410 fi
6411
6412 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6413 echo "$as_me:$LINENO: result: yes" >&5
6414 echo "${ECHO_T}yes" >&6
6415 else
6416 echo "$as_me:$LINENO: result: no" >&5
6417 echo "${ECHO_T}no" >&6
6418 fi
6419
6420
6421 enablestring=
6422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6423 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6424 no_cache=0
6425 # Check whether --enable-loggui or --disable-loggui was given.
6426 if test "${enable_loggui+set}" = set; then
6427 enableval="$enable_loggui"
6428
6429 if test "$enableval" = yes; then
6430 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6431 else
6432 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6433 fi
6434
6435 else
6436
6437 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6438 if test "x$LINE" != x ; then
6439 eval "DEFAULT_$LINE"
6440 else
6441 no_cache=1
6442 fi
6443
6444 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6445
6446 fi;
6447
6448 eval "$ac_cv_use_loggui"
6449 if test "$no_cache" != 1; then
6450 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6451 fi
6452
6453 if test "$wxUSE_LOGGUI" = yes; then
6454 echo "$as_me:$LINENO: result: yes" >&5
6455 echo "${ECHO_T}yes" >&6
6456 else
6457 echo "$as_me:$LINENO: result: no" >&5
6458 echo "${ECHO_T}no" >&6
6459 fi
6460
6461
6462 enablestring=
6463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6464 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6465 no_cache=0
6466 # Check whether --enable-logwin or --disable-logwin was given.
6467 if test "${enable_logwin+set}" = set; then
6468 enableval="$enable_logwin"
6469
6470 if test "$enableval" = yes; then
6471 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6472 else
6473 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6474 fi
6475
6476 else
6477
6478 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6479 if test "x$LINE" != x ; then
6480 eval "DEFAULT_$LINE"
6481 else
6482 no_cache=1
6483 fi
6484
6485 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6486
6487 fi;
6488
6489 eval "$ac_cv_use_logwin"
6490 if test "$no_cache" != 1; then
6491 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6492 fi
6493
6494 if test "$wxUSE_LOGWINDOW" = yes; then
6495 echo "$as_me:$LINENO: result: yes" >&5
6496 echo "${ECHO_T}yes" >&6
6497 else
6498 echo "$as_me:$LINENO: result: no" >&5
6499 echo "${ECHO_T}no" >&6
6500 fi
6501
6502
6503 enablestring=
6504 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6505 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6506 no_cache=0
6507 # Check whether --enable-logdialog or --disable-logdialog was given.
6508 if test "${enable_logdialog+set}" = set; then
6509 enableval="$enable_logdialog"
6510
6511 if test "$enableval" = yes; then
6512 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6513 else
6514 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6515 fi
6516
6517 else
6518
6519 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6520 if test "x$LINE" != x ; then
6521 eval "DEFAULT_$LINE"
6522 else
6523 no_cache=1
6524 fi
6525
6526 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6527
6528 fi;
6529
6530 eval "$ac_cv_use_logdialog"
6531 if test "$no_cache" != 1; then
6532 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6533 fi
6534
6535 if test "$wxUSE_LOGDIALOG" = yes; then
6536 echo "$as_me:$LINENO: result: yes" >&5
6537 echo "${ECHO_T}yes" >&6
6538 else
6539 echo "$as_me:$LINENO: result: no" >&5
6540 echo "${ECHO_T}no" >&6
6541 fi
6542
6543
6544 enablestring=
6545 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6546 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6547 no_cache=0
6548 # Check whether --enable-webkit or --disable-webkit was given.
6549 if test "${enable_webkit+set}" = set; then
6550 enableval="$enable_webkit"
6551
6552 if test "$enableval" = yes; then
6553 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
6554 else
6555 ac_cv_use_webkit='wxUSE_WEBKIT=no'
6556 fi
6557
6558 else
6559
6560 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6561 if test "x$LINE" != x ; then
6562 eval "DEFAULT_$LINE"
6563 else
6564 no_cache=1
6565 fi
6566
6567 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6568
6569 fi;
6570
6571 eval "$ac_cv_use_webkit"
6572 if test "$no_cache" != 1; then
6573 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6574 fi
6575
6576 if test "$wxUSE_WEBKIT" = yes; then
6577 echo "$as_me:$LINENO: result: yes" >&5
6578 echo "${ECHO_T}yes" >&6
6579 else
6580 echo "$as_me:$LINENO: result: no" >&5
6581 echo "${ECHO_T}no" >&6
6582 fi
6583
6584
6585
6586 enablestring=
6587 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6588 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6589 no_cache=0
6590 # Check whether --enable-postscript or --disable-postscript was given.
6591 if test "${enable_postscript+set}" = set; then
6592 enableval="$enable_postscript"
6593
6594 if test "$enableval" = yes; then
6595 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6596 else
6597 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6598 fi
6599
6600 else
6601
6602 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6603 if test "x$LINE" != x ; then
6604 eval "DEFAULT_$LINE"
6605 else
6606 no_cache=1
6607 fi
6608
6609 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6610
6611 fi;
6612
6613 eval "$ac_cv_use_postscript"
6614 if test "$no_cache" != 1; then
6615 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6616 fi
6617
6618 if test "$wxUSE_POSTSCRIPT" = yes; then
6619 echo "$as_me:$LINENO: result: yes" >&5
6620 echo "${ECHO_T}yes" >&6
6621 else
6622 echo "$as_me:$LINENO: result: no" >&5
6623 echo "${ECHO_T}no" >&6
6624 fi
6625
6626
6627
6628
6629
6630 enablestring=
6631 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6632 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6633 no_cache=0
6634 # Check whether --enable-prologio or --disable-prologio was given.
6635 if test "${enable_prologio+set}" = set; then
6636 enableval="$enable_prologio"
6637
6638 if test "$enableval" = yes; then
6639 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6640 else
6641 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6642 fi
6643
6644 else
6645
6646 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6647 if test "x$LINE" != x ; then
6648 eval "DEFAULT_$LINE"
6649 else
6650 no_cache=1
6651 fi
6652
6653 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6654
6655 fi;
6656
6657 eval "$ac_cv_use_prologio"
6658 if test "$no_cache" != 1; then
6659 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6660 fi
6661
6662 if test "$wxUSE_PROLOGIO" = yes; then
6663 echo "$as_me:$LINENO: result: yes" >&5
6664 echo "${ECHO_T}yes" >&6
6665 else
6666 echo "$as_me:$LINENO: result: no" >&5
6667 echo "${ECHO_T}no" >&6
6668 fi
6669
6670
6671 enablestring=
6672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6673 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6674 no_cache=0
6675 # Check whether --enable-resources or --disable-resources was given.
6676 if test "${enable_resources+set}" = set; then
6677 enableval="$enable_resources"
6678
6679 if test "$enableval" = yes; then
6680 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6681 else
6682 ac_cv_use_resources='wxUSE_RESOURCES=no'
6683 fi
6684
6685 else
6686
6687 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6688 if test "x$LINE" != x ; then
6689 eval "DEFAULT_$LINE"
6690 else
6691 no_cache=1
6692 fi
6693
6694 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6695
6696 fi;
6697
6698 eval "$ac_cv_use_resources"
6699 if test "$no_cache" != 1; then
6700 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6701 fi
6702
6703 if test "$wxUSE_RESOURCES" = yes; then
6704 echo "$as_me:$LINENO: result: yes" >&5
6705 echo "${ECHO_T}yes" >&6
6706 else
6707 echo "$as_me:$LINENO: result: no" >&5
6708 echo "${ECHO_T}no" >&6
6709 fi
6710
6711
6712
6713
6714 enablestring=
6715 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6716 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6717 no_cache=0
6718 # Check whether --enable-clipboard or --disable-clipboard was given.
6719 if test "${enable_clipboard+set}" = set; then
6720 enableval="$enable_clipboard"
6721
6722 if test "$enableval" = yes; then
6723 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6724 else
6725 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6726 fi
6727
6728 else
6729
6730 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6731 if test "x$LINE" != x ; then
6732 eval "DEFAULT_$LINE"
6733 else
6734 no_cache=1
6735 fi
6736
6737 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6738
6739 fi;
6740
6741 eval "$ac_cv_use_clipboard"
6742 if test "$no_cache" != 1; then
6743 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6744 fi
6745
6746 if test "$wxUSE_CLIPBOARD" = yes; then
6747 echo "$as_me:$LINENO: result: yes" >&5
6748 echo "${ECHO_T}yes" >&6
6749 else
6750 echo "$as_me:$LINENO: result: no" >&5
6751 echo "${ECHO_T}no" >&6
6752 fi
6753
6754
6755 enablestring=
6756 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6757 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6758 no_cache=0
6759 # Check whether --enable-dnd or --disable-dnd was given.
6760 if test "${enable_dnd+set}" = set; then
6761 enableval="$enable_dnd"
6762
6763 if test "$enableval" = yes; then
6764 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6765 else
6766 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6767 fi
6768
6769 else
6770
6771 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6772 if test "x$LINE" != x ; then
6773 eval "DEFAULT_$LINE"
6774 else
6775 no_cache=1
6776 fi
6777
6778 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6779
6780 fi;
6781
6782 eval "$ac_cv_use_dnd"
6783 if test "$no_cache" != 1; then
6784 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6785 fi
6786
6787 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6788 echo "$as_me:$LINENO: result: yes" >&5
6789 echo "${ECHO_T}yes" >&6
6790 else
6791 echo "$as_me:$LINENO: result: no" >&5
6792 echo "${ECHO_T}no" >&6
6793 fi
6794
6795
6796 enablestring=
6797 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6798 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6799 no_cache=0
6800 # Check whether --enable-metafile or --disable-metafile was given.
6801 if test "${enable_metafile+set}" = set; then
6802 enableval="$enable_metafile"
6803
6804 if test "$enableval" = yes; then
6805 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6806 else
6807 ac_cv_use_metafile='wxUSE_METAFILE=no'
6808 fi
6809
6810 else
6811
6812 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6813 if test "x$LINE" != x ; then
6814 eval "DEFAULT_$LINE"
6815 else
6816 no_cache=1
6817 fi
6818
6819 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6820
6821 fi;
6822
6823 eval "$ac_cv_use_metafile"
6824 if test "$no_cache" != 1; then
6825 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6826 fi
6827
6828 if test "$wxUSE_METAFILE" = yes; then
6829 echo "$as_me:$LINENO: result: yes" >&5
6830 echo "${ECHO_T}yes" >&6
6831 else
6832 echo "$as_me:$LINENO: result: no" >&5
6833 echo "${ECHO_T}no" >&6
6834 fi
6835
6836
6837
6838
6839
6840 enablestring=
6841 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6842 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6843 no_cache=0
6844 # Check whether --enable-controls or --disable-controls was given.
6845 if test "${enable_controls+set}" = set; then
6846 enableval="$enable_controls"
6847
6848 if test "$enableval" = yes; then
6849 ac_cv_use_controls='wxUSE_CONTROLS=yes'
6850 else
6851 ac_cv_use_controls='wxUSE_CONTROLS=no'
6852 fi
6853
6854 else
6855
6856 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6857 if test "x$LINE" != x ; then
6858 eval "DEFAULT_$LINE"
6859 else
6860 no_cache=1
6861 fi
6862
6863 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6864
6865 fi;
6866
6867 eval "$ac_cv_use_controls"
6868 if test "$no_cache" != 1; then
6869 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6870 fi
6871
6872 if test "$wxUSE_CONTROLS" = yes; then
6873 echo "$as_me:$LINENO: result: yes" >&5
6874 echo "${ECHO_T}yes" >&6
6875 else
6876 echo "$as_me:$LINENO: result: no" >&5
6877 echo "${ECHO_T}no" >&6
6878 fi
6879
6880
6881 if test "$wxUSE_CONTROLS" = "yes"; then
6882 DEFAULT_wxUSE_ACCEL=yes
6883 DEFAULT_wxUSE_BMPBUTTON=yes
6884 DEFAULT_wxUSE_BUTTON=yes
6885 DEFAULT_wxUSE_CALCTRL=no
6886 DEFAULT_wxUSE_CARET=yes
6887 DEFAULT_wxUSE_COMBOBOX=yes
6888 DEFAULT_wxUSE_CHECKBOX=yes
6889 DEFAULT_wxUSE_CHECKLISTBOX=yes
6890 DEFAULT_wxUSE_CHOICE=yes
6891 DEFAULT_wxUSE_GAUGE=yes
6892 DEFAULT_wxUSE_GRID=yes
6893 DEFAULT_wxUSE_IMAGLIST=yes
6894 DEFAULT_wxUSE_LISTBOOK=yes
6895 DEFAULT_wxUSE_LISTBOX=yes
6896 DEFAULT_wxUSE_LISTCTRL=yes
6897 DEFAULT_wxUSE_NOTEBOOK=yes
6898 DEFAULT_wxUSE_RADIOBOX=yes
6899 DEFAULT_wxUSE_RADIOBTN=yes
6900 DEFAULT_wxUSE_SASH=yes
6901 DEFAULT_wxUSE_SCROLLBAR=yes
6902 DEFAULT_wxUSE_SLIDER=yes
6903 DEFAULT_wxUSE_SPINBTN=yes
6904 DEFAULT_wxUSE_SPINCTRL=yes
6905 DEFAULT_wxUSE_SPLITTER=yes
6906 DEFAULT_wxUSE_STATBMP=yes
6907 DEFAULT_wxUSE_STATBOX=yes
6908 DEFAULT_wxUSE_STATLINE=yes
6909 DEFAULT_wxUSE_STATUSBAR=yes
6910 DEFAULT_wxUSE_TAB_DIALOG=yes
6911 DEFAULT_wxUSE_TOGGLEBTN=yes
6912 DEFAULT_wxUSE_TOOLBAR=yes
6913 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6914 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6915 DEFAULT_wxUSE_TOOLTIPS=yes
6916 DEFAULT_wxUSE_TREECTRL=yes
6917 DEFAULT_wxUSE_POPUPWIN=yes
6918 DEFAULT_wxUSE_TIPWINDOW=yes
6919 elif test "$wxUSE_CONTROLS" = "no"; then
6920 DEFAULT_wxUSE_ACCEL=no
6921 DEFAULT_wxUSE_BMPBUTTON=no
6922 DEFAULT_wxUSE_BUTTON=no
6923 DEFAULT_wxUSE_CALCTRL=no
6924 DEFAULT_wxUSE_CARET=no
6925 DEFAULT_wxUSE_COMBOBOX=no
6926 DEFAULT_wxUSE_CHECKBOX=no
6927 DEFAULT_wxUSE_CHECKLISTBOX=no
6928 DEFAULT_wxUSE_CHOICE=no
6929 DEFAULT_wxUSE_GAUGE=no
6930 DEFAULT_wxUSE_GRID=no
6931 DEFAULT_wxUSE_IMAGLIST=no
6932 DEFAULT_wxUSE_LISTBOOK=no
6933 DEFAULT_wxUSE_LISTBOX=no
6934 DEFAULT_wxUSE_LISTCTRL=no
6935 DEFAULT_wxUSE_NOTEBOOK=no
6936 DEFAULT_wxUSE_RADIOBOX=no
6937 DEFAULT_wxUSE_RADIOBTN=no
6938 DEFAULT_wxUSE_SASH=no
6939 DEFAULT_wxUSE_SCROLLBAR=no
6940 DEFAULT_wxUSE_SLIDER=no
6941 DEFAULT_wxUSE_SPINBTN=no
6942 DEFAULT_wxUSE_SPINCTRL=no
6943 DEFAULT_wxUSE_SPLITTER=no
6944 DEFAULT_wxUSE_STATBMP=no
6945 DEFAULT_wxUSE_STATBOX=no
6946 DEFAULT_wxUSE_STATLINE=no
6947 DEFAULT_wxUSE_STATUSBAR=no
6948 DEFAULT_wxUSE_TAB_DIALOG=no
6949 DEFAULT_wxUSE_TOGGLEBTN=no
6950 DEFAULT_wxUSE_TOOLBAR=no
6951 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6952 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6953 DEFAULT_wxUSE_TOOLTIPS=no
6954 DEFAULT_wxUSE_TREECTRL=no
6955 DEFAULT_wxUSE_POPUPWIN=no
6956 DEFAULT_wxUSE_TIPWINDOW=no
6957 fi
6958
6959 ## FIXME: This is a blatant hack
6960 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6961 wxUSE_PRINTING_ARCHITECTURE=no
6962 wxUSE_DRAG_AND_DROP=no
6963 DEFAULT_wxUSE_TOOLTIPS=no
6964 DEFAULT_wxUSE_DRAGIMAGE=no
6965 fi
6966
6967
6968 enablestring=
6969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6970 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6971 no_cache=0
6972 # Check whether --enable-accel or --disable-accel was given.
6973 if test "${enable_accel+set}" = set; then
6974 enableval="$enable_accel"
6975
6976 if test "$enableval" = yes; then
6977 ac_cv_use_accel='wxUSE_ACCEL=yes'
6978 else
6979 ac_cv_use_accel='wxUSE_ACCEL=no'
6980 fi
6981
6982 else
6983
6984 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6985 if test "x$LINE" != x ; then
6986 eval "DEFAULT_$LINE"
6987 else
6988 no_cache=1
6989 fi
6990
6991 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6992
6993 fi;
6994
6995 eval "$ac_cv_use_accel"
6996 if test "$no_cache" != 1; then
6997 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6998 fi
6999
7000 if test "$wxUSE_ACCEL" = yes; then
7001 echo "$as_me:$LINENO: result: yes" >&5
7002 echo "${ECHO_T}yes" >&6
7003 else
7004 echo "$as_me:$LINENO: result: no" >&5
7005 echo "${ECHO_T}no" >&6
7006 fi
7007
7008
7009 enablestring=
7010 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7011 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7012 no_cache=0
7013 # Check whether --enable-button or --disable-button was given.
7014 if test "${enable_button+set}" = set; then
7015 enableval="$enable_button"
7016
7017 if test "$enableval" = yes; then
7018 ac_cv_use_button='wxUSE_BUTTON=yes'
7019 else
7020 ac_cv_use_button='wxUSE_BUTTON=no'
7021 fi
7022
7023 else
7024
7025 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7026 if test "x$LINE" != x ; then
7027 eval "DEFAULT_$LINE"
7028 else
7029 no_cache=1
7030 fi
7031
7032 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7033
7034 fi;
7035
7036 eval "$ac_cv_use_button"
7037 if test "$no_cache" != 1; then
7038 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7039 fi
7040
7041 if test "$wxUSE_BUTTON" = yes; then
7042 echo "$as_me:$LINENO: result: yes" >&5
7043 echo "${ECHO_T}yes" >&6
7044 else
7045 echo "$as_me:$LINENO: result: no" >&5
7046 echo "${ECHO_T}no" >&6
7047 fi
7048
7049
7050 enablestring=
7051 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7052 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7053 no_cache=0
7054 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7055 if test "${enable_bmpbutton+set}" = set; then
7056 enableval="$enable_bmpbutton"
7057
7058 if test "$enableval" = yes; then
7059 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
7060 else
7061 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
7062 fi
7063
7064 else
7065
7066 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7067 if test "x$LINE" != x ; then
7068 eval "DEFAULT_$LINE"
7069 else
7070 no_cache=1
7071 fi
7072
7073 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7074
7075 fi;
7076
7077 eval "$ac_cv_use_bmpbutton"
7078 if test "$no_cache" != 1; then
7079 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7080 fi
7081
7082 if test "$wxUSE_BMPBUTTON" = yes; then
7083 echo "$as_me:$LINENO: result: yes" >&5
7084 echo "${ECHO_T}yes" >&6
7085 else
7086 echo "$as_me:$LINENO: result: no" >&5
7087 echo "${ECHO_T}no" >&6
7088 fi
7089
7090
7091 enablestring=
7092 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7093 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7094 no_cache=0
7095 # Check whether --enable-calendar or --disable-calendar was given.
7096 if test "${enable_calendar+set}" = set; then
7097 enableval="$enable_calendar"
7098
7099 if test "$enableval" = yes; then
7100 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7101 else
7102 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7103 fi
7104
7105 else
7106
7107 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7108 if test "x$LINE" != x ; then
7109 eval "DEFAULT_$LINE"
7110 else
7111 no_cache=1
7112 fi
7113
7114 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7115
7116 fi;
7117
7118 eval "$ac_cv_use_calendar"
7119 if test "$no_cache" != 1; then
7120 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7121 fi
7122
7123 if test "$wxUSE_CALCTRL" = yes; then
7124 echo "$as_me:$LINENO: result: yes" >&5
7125 echo "${ECHO_T}yes" >&6
7126 else
7127 echo "$as_me:$LINENO: result: no" >&5
7128 echo "${ECHO_T}no" >&6
7129 fi
7130
7131
7132 enablestring=
7133 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7134 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7135 no_cache=0
7136 # Check whether --enable-caret or --disable-caret was given.
7137 if test "${enable_caret+set}" = set; then
7138 enableval="$enable_caret"
7139
7140 if test "$enableval" = yes; then
7141 ac_cv_use_caret='wxUSE_CARET=yes'
7142 else
7143 ac_cv_use_caret='wxUSE_CARET=no'
7144 fi
7145
7146 else
7147
7148 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7149 if test "x$LINE" != x ; then
7150 eval "DEFAULT_$LINE"
7151 else
7152 no_cache=1
7153 fi
7154
7155 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7156
7157 fi;
7158
7159 eval "$ac_cv_use_caret"
7160 if test "$no_cache" != 1; then
7161 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7162 fi
7163
7164 if test "$wxUSE_CARET" = yes; then
7165 echo "$as_me:$LINENO: result: yes" >&5
7166 echo "${ECHO_T}yes" >&6
7167 else
7168 echo "$as_me:$LINENO: result: no" >&5
7169 echo "${ECHO_T}no" >&6
7170 fi
7171
7172
7173 enablestring=
7174 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7175 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7176 no_cache=0
7177 # Check whether --enable-checkbox or --disable-checkbox was given.
7178 if test "${enable_checkbox+set}" = set; then
7179 enableval="$enable_checkbox"
7180
7181 if test "$enableval" = yes; then
7182 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7183 else
7184 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7185 fi
7186
7187 else
7188
7189 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7190 if test "x$LINE" != x ; then
7191 eval "DEFAULT_$LINE"
7192 else
7193 no_cache=1
7194 fi
7195
7196 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7197
7198 fi;
7199
7200 eval "$ac_cv_use_checkbox"
7201 if test "$no_cache" != 1; then
7202 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7203 fi
7204
7205 if test "$wxUSE_CHECKBOX" = yes; then
7206 echo "$as_me:$LINENO: result: yes" >&5
7207 echo "${ECHO_T}yes" >&6
7208 else
7209 echo "$as_me:$LINENO: result: no" >&5
7210 echo "${ECHO_T}no" >&6
7211 fi
7212
7213
7214 enablestring=
7215 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7216 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7217 no_cache=0
7218 # Check whether --enable-checklst or --disable-checklst was given.
7219 if test "${enable_checklst+set}" = set; then
7220 enableval="$enable_checklst"
7221
7222 if test "$enableval" = yes; then
7223 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7224 else
7225 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7226 fi
7227
7228 else
7229
7230 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7231 if test "x$LINE" != x ; then
7232 eval "DEFAULT_$LINE"
7233 else
7234 no_cache=1
7235 fi
7236
7237 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7238
7239 fi;
7240
7241 eval "$ac_cv_use_checklst"
7242 if test "$no_cache" != 1; then
7243 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7244 fi
7245
7246 if test "$wxUSE_CHECKLST" = yes; then
7247 echo "$as_me:$LINENO: result: yes" >&5
7248 echo "${ECHO_T}yes" >&6
7249 else
7250 echo "$as_me:$LINENO: result: no" >&5
7251 echo "${ECHO_T}no" >&6
7252 fi
7253
7254
7255 enablestring=
7256 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7257 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7258 no_cache=0
7259 # Check whether --enable-choice or --disable-choice was given.
7260 if test "${enable_choice+set}" = set; then
7261 enableval="$enable_choice"
7262
7263 if test "$enableval" = yes; then
7264 ac_cv_use_choice='wxUSE_CHOICE=yes'
7265 else
7266 ac_cv_use_choice='wxUSE_CHOICE=no'
7267 fi
7268
7269 else
7270
7271 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7272 if test "x$LINE" != x ; then
7273 eval "DEFAULT_$LINE"
7274 else
7275 no_cache=1
7276 fi
7277
7278 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7279
7280 fi;
7281
7282 eval "$ac_cv_use_choice"
7283 if test "$no_cache" != 1; then
7284 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7285 fi
7286
7287 if test "$wxUSE_CHOICE" = yes; then
7288 echo "$as_me:$LINENO: result: yes" >&5
7289 echo "${ECHO_T}yes" >&6
7290 else
7291 echo "$as_me:$LINENO: result: no" >&5
7292 echo "${ECHO_T}no" >&6
7293 fi
7294
7295
7296 enablestring=
7297 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7298 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7299 no_cache=0
7300 # Check whether --enable-combobox or --disable-combobox was given.
7301 if test "${enable_combobox+set}" = set; then
7302 enableval="$enable_combobox"
7303
7304 if test "$enableval" = yes; then
7305 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7306 else
7307 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7308 fi
7309
7310 else
7311
7312 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7313 if test "x$LINE" != x ; then
7314 eval "DEFAULT_$LINE"
7315 else
7316 no_cache=1
7317 fi
7318
7319 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7320
7321 fi;
7322
7323 eval "$ac_cv_use_combobox"
7324 if test "$no_cache" != 1; then
7325 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7326 fi
7327
7328 if test "$wxUSE_COMBOBOX" = yes; then
7329 echo "$as_me:$LINENO: result: yes" >&5
7330 echo "${ECHO_T}yes" >&6
7331 else
7332 echo "$as_me:$LINENO: result: no" >&5
7333 echo "${ECHO_T}no" >&6
7334 fi
7335
7336
7337 enablestring=
7338 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7339 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7340 no_cache=0
7341 # Check whether --enable-display or --disable-display was given.
7342 if test "${enable_display+set}" = set; then
7343 enableval="$enable_display"
7344
7345 if test "$enableval" = yes; then
7346 ac_cv_use_display='wxUSE_DISPLAY=yes'
7347 else
7348 ac_cv_use_display='wxUSE_DISPLAY=no'
7349 fi
7350
7351 else
7352
7353 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7354 if test "x$LINE" != x ; then
7355 eval "DEFAULT_$LINE"
7356 else
7357 no_cache=1
7358 fi
7359
7360 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7361
7362 fi;
7363
7364 eval "$ac_cv_use_display"
7365 if test "$no_cache" != 1; then
7366 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7367 fi
7368
7369 if test "$wxUSE_DISPLAY" = yes; then
7370 echo "$as_me:$LINENO: result: yes" >&5
7371 echo "${ECHO_T}yes" >&6
7372 else
7373 echo "$as_me:$LINENO: result: no" >&5
7374 echo "${ECHO_T}no" >&6
7375 fi
7376
7377
7378 enablestring=
7379 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7380 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7381 no_cache=0
7382 # Check whether --enable-gauge or --disable-gauge was given.
7383 if test "${enable_gauge+set}" = set; then
7384 enableval="$enable_gauge"
7385
7386 if test "$enableval" = yes; then
7387 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7388 else
7389 ac_cv_use_gauge='wxUSE_GAUGE=no'
7390 fi
7391
7392 else
7393
7394 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7395 if test "x$LINE" != x ; then
7396 eval "DEFAULT_$LINE"
7397 else
7398 no_cache=1
7399 fi
7400
7401 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7402
7403 fi;
7404
7405 eval "$ac_cv_use_gauge"
7406 if test "$no_cache" != 1; then
7407 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7408 fi
7409
7410 if test "$wxUSE_GAUGE" = yes; then
7411 echo "$as_me:$LINENO: result: yes" >&5
7412 echo "${ECHO_T}yes" >&6
7413 else
7414 echo "$as_me:$LINENO: result: no" >&5
7415 echo "${ECHO_T}no" >&6
7416 fi
7417
7418
7419 enablestring=
7420 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7421 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7422 no_cache=0
7423 # Check whether --enable-grid or --disable-grid was given.
7424 if test "${enable_grid+set}" = set; then
7425 enableval="$enable_grid"
7426
7427 if test "$enableval" = yes; then
7428 ac_cv_use_grid='wxUSE_GRID=yes'
7429 else
7430 ac_cv_use_grid='wxUSE_GRID=no'
7431 fi
7432
7433 else
7434
7435 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7436 if test "x$LINE" != x ; then
7437 eval "DEFAULT_$LINE"
7438 else
7439 no_cache=1
7440 fi
7441
7442 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7443
7444 fi;
7445
7446 eval "$ac_cv_use_grid"
7447 if test "$no_cache" != 1; then
7448 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7449 fi
7450
7451 if test "$wxUSE_GRID" = yes; then
7452 echo "$as_me:$LINENO: result: yes" >&5
7453 echo "${ECHO_T}yes" >&6
7454 else
7455 echo "$as_me:$LINENO: result: no" >&5
7456 echo "${ECHO_T}no" >&6
7457 fi
7458
7459
7460 enablestring=
7461 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7462 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7463 no_cache=0
7464 # Check whether --enable-imaglist or --disable-imaglist was given.
7465 if test "${enable_imaglist+set}" = set; then
7466 enableval="$enable_imaglist"
7467
7468 if test "$enableval" = yes; then
7469 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7470 else
7471 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7472 fi
7473
7474 else
7475
7476 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7477 if test "x$LINE" != x ; then
7478 eval "DEFAULT_$LINE"
7479 else
7480 no_cache=1
7481 fi
7482
7483 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7484
7485 fi;
7486
7487 eval "$ac_cv_use_imaglist"
7488 if test "$no_cache" != 1; then
7489 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7490 fi
7491
7492 if test "$wxUSE_IMAGLIST" = yes; then
7493 echo "$as_me:$LINENO: result: yes" >&5
7494 echo "${ECHO_T}yes" >&6
7495 else
7496 echo "$as_me:$LINENO: result: no" >&5
7497 echo "${ECHO_T}no" >&6
7498 fi
7499
7500
7501 enablestring=
7502 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7503 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7504 no_cache=0
7505 # Check whether --enable-listbook or --disable-listbook was given.
7506 if test "${enable_listbook+set}" = set; then
7507 enableval="$enable_listbook"
7508
7509 if test "$enableval" = yes; then
7510 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7511 else
7512 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7513 fi
7514
7515 else
7516
7517 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7518 if test "x$LINE" != x ; then
7519 eval "DEFAULT_$LINE"
7520 else
7521 no_cache=1
7522 fi
7523
7524 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7525
7526 fi;
7527
7528 eval "$ac_cv_use_listbook"
7529 if test "$no_cache" != 1; then
7530 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7531 fi
7532
7533 if test "$wxUSE_LISTBOOK" = yes; then
7534 echo "$as_me:$LINENO: result: yes" >&5
7535 echo "${ECHO_T}yes" >&6
7536 else
7537 echo "$as_me:$LINENO: result: no" >&5
7538 echo "${ECHO_T}no" >&6
7539 fi
7540
7541
7542 enablestring=
7543 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7544 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7545 no_cache=0
7546 # Check whether --enable-listbox or --disable-listbox was given.
7547 if test "${enable_listbox+set}" = set; then
7548 enableval="$enable_listbox"
7549
7550 if test "$enableval" = yes; then
7551 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7552 else
7553 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7554 fi
7555
7556 else
7557
7558 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7559 if test "x$LINE" != x ; then
7560 eval "DEFAULT_$LINE"
7561 else
7562 no_cache=1
7563 fi
7564
7565 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7566
7567 fi;
7568
7569 eval "$ac_cv_use_listbox"
7570 if test "$no_cache" != 1; then
7571 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7572 fi
7573
7574 if test "$wxUSE_LISTBOX" = yes; then
7575 echo "$as_me:$LINENO: result: yes" >&5
7576 echo "${ECHO_T}yes" >&6
7577 else
7578 echo "$as_me:$LINENO: result: no" >&5
7579 echo "${ECHO_T}no" >&6
7580 fi
7581
7582
7583 enablestring=
7584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7585 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7586 no_cache=0
7587 # Check whether --enable-listctrl or --disable-listctrl was given.
7588 if test "${enable_listctrl+set}" = set; then
7589 enableval="$enable_listctrl"
7590
7591 if test "$enableval" = yes; then
7592 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7593 else
7594 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7595 fi
7596
7597 else
7598
7599 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7600 if test "x$LINE" != x ; then
7601 eval "DEFAULT_$LINE"
7602 else
7603 no_cache=1
7604 fi
7605
7606 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7607
7608 fi;
7609
7610 eval "$ac_cv_use_listctrl"
7611 if test "$no_cache" != 1; then
7612 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7613 fi
7614
7615 if test "$wxUSE_LISTCTRL" = yes; then
7616 echo "$as_me:$LINENO: result: yes" >&5
7617 echo "${ECHO_T}yes" >&6
7618 else
7619 echo "$as_me:$LINENO: result: no" >&5
7620 echo "${ECHO_T}no" >&6
7621 fi
7622
7623
7624 enablestring=
7625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7626 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7627 no_cache=0
7628 # Check whether --enable-notebook or --disable-notebook was given.
7629 if test "${enable_notebook+set}" = set; then
7630 enableval="$enable_notebook"
7631
7632 if test "$enableval" = yes; then
7633 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7634 else
7635 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7636 fi
7637
7638 else
7639
7640 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7641 if test "x$LINE" != x ; then
7642 eval "DEFAULT_$LINE"
7643 else
7644 no_cache=1
7645 fi
7646
7647 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7648
7649 fi;
7650
7651 eval "$ac_cv_use_notebook"
7652 if test "$no_cache" != 1; then
7653 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7654 fi
7655
7656 if test "$wxUSE_NOTEBOOK" = yes; then
7657 echo "$as_me:$LINENO: result: yes" >&5
7658 echo "${ECHO_T}yes" >&6
7659 else
7660 echo "$as_me:$LINENO: result: no" >&5
7661 echo "${ECHO_T}no" >&6
7662 fi
7663
7664
7665 enablestring=
7666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7667 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7668 no_cache=0
7669 # Check whether --enable-radiobox or --disable-radiobox was given.
7670 if test "${enable_radiobox+set}" = set; then
7671 enableval="$enable_radiobox"
7672
7673 if test "$enableval" = yes; then
7674 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7675 else
7676 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7677 fi
7678
7679 else
7680
7681 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7682 if test "x$LINE" != x ; then
7683 eval "DEFAULT_$LINE"
7684 else
7685 no_cache=1
7686 fi
7687
7688 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7689
7690 fi;
7691
7692 eval "$ac_cv_use_radiobox"
7693 if test "$no_cache" != 1; then
7694 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7695 fi
7696
7697 if test "$wxUSE_RADIOBOX" = yes; then
7698 echo "$as_me:$LINENO: result: yes" >&5
7699 echo "${ECHO_T}yes" >&6
7700 else
7701 echo "$as_me:$LINENO: result: no" >&5
7702 echo "${ECHO_T}no" >&6
7703 fi
7704
7705
7706 enablestring=
7707 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7708 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7709 no_cache=0
7710 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7711 if test "${enable_radiobtn+set}" = set; then
7712 enableval="$enable_radiobtn"
7713
7714 if test "$enableval" = yes; then
7715 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7716 else
7717 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7718 fi
7719
7720 else
7721
7722 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7723 if test "x$LINE" != x ; then
7724 eval "DEFAULT_$LINE"
7725 else
7726 no_cache=1
7727 fi
7728
7729 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7730
7731 fi;
7732
7733 eval "$ac_cv_use_radiobtn"
7734 if test "$no_cache" != 1; then
7735 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7736 fi
7737
7738 if test "$wxUSE_RADIOBTN" = yes; then
7739 echo "$as_me:$LINENO: result: yes" >&5
7740 echo "${ECHO_T}yes" >&6
7741 else
7742 echo "$as_me:$LINENO: result: no" >&5
7743 echo "${ECHO_T}no" >&6
7744 fi
7745
7746
7747 enablestring=
7748 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7749 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7750 no_cache=0
7751 # Check whether --enable-sash or --disable-sash was given.
7752 if test "${enable_sash+set}" = set; then
7753 enableval="$enable_sash"
7754
7755 if test "$enableval" = yes; then
7756 ac_cv_use_sash='wxUSE_SASH=yes'
7757 else
7758 ac_cv_use_sash='wxUSE_SASH=no'
7759 fi
7760
7761 else
7762
7763 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7764 if test "x$LINE" != x ; then
7765 eval "DEFAULT_$LINE"
7766 else
7767 no_cache=1
7768 fi
7769
7770 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7771
7772 fi;
7773
7774 eval "$ac_cv_use_sash"
7775 if test "$no_cache" != 1; then
7776 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7777 fi
7778
7779 if test "$wxUSE_SASH" = yes; then
7780 echo "$as_me:$LINENO: result: yes" >&5
7781 echo "${ECHO_T}yes" >&6
7782 else
7783 echo "$as_me:$LINENO: result: no" >&5
7784 echo "${ECHO_T}no" >&6
7785 fi
7786
7787
7788 enablestring=
7789 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7790 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7791 no_cache=0
7792 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7793 if test "${enable_scrollbar+set}" = set; then
7794 enableval="$enable_scrollbar"
7795
7796 if test "$enableval" = yes; then
7797 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
7798 else
7799 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
7800 fi
7801
7802 else
7803
7804 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7805 if test "x$LINE" != x ; then
7806 eval "DEFAULT_$LINE"
7807 else
7808 no_cache=1
7809 fi
7810
7811 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7812
7813 fi;
7814
7815 eval "$ac_cv_use_scrollbar"
7816 if test "$no_cache" != 1; then
7817 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7818 fi
7819
7820 if test "$wxUSE_SCROLLBAR" = yes; then
7821 echo "$as_me:$LINENO: result: yes" >&5
7822 echo "${ECHO_T}yes" >&6
7823 else
7824 echo "$as_me:$LINENO: result: no" >&5
7825 echo "${ECHO_T}no" >&6
7826 fi
7827
7828
7829 enablestring=
7830 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7831 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7832 no_cache=0
7833 # Check whether --enable-slider or --disable-slider was given.
7834 if test "${enable_slider+set}" = set; then
7835 enableval="$enable_slider"
7836
7837 if test "$enableval" = yes; then
7838 ac_cv_use_slider='wxUSE_SLIDER=yes'
7839 else
7840 ac_cv_use_slider='wxUSE_SLIDER=no'
7841 fi
7842
7843 else
7844
7845 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7846 if test "x$LINE" != x ; then
7847 eval "DEFAULT_$LINE"
7848 else
7849 no_cache=1
7850 fi
7851
7852 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7853
7854 fi;
7855
7856 eval "$ac_cv_use_slider"
7857 if test "$no_cache" != 1; then
7858 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7859 fi
7860
7861 if test "$wxUSE_SLIDER" = yes; then
7862 echo "$as_me:$LINENO: result: yes" >&5
7863 echo "${ECHO_T}yes" >&6
7864 else
7865 echo "$as_me:$LINENO: result: no" >&5
7866 echo "${ECHO_T}no" >&6
7867 fi
7868
7869
7870 enablestring=
7871 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7872 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7873 no_cache=0
7874 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7875 if test "${enable_spinbtn+set}" = set; then
7876 enableval="$enable_spinbtn"
7877
7878 if test "$enableval" = yes; then
7879 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
7880 else
7881 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
7882 fi
7883
7884 else
7885
7886 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7887 if test "x$LINE" != x ; then
7888 eval "DEFAULT_$LINE"
7889 else
7890 no_cache=1
7891 fi
7892
7893 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7894
7895 fi;
7896
7897 eval "$ac_cv_use_spinbtn"
7898 if test "$no_cache" != 1; then
7899 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7900 fi
7901
7902 if test "$wxUSE_SPINBTN" = yes; then
7903 echo "$as_me:$LINENO: result: yes" >&5
7904 echo "${ECHO_T}yes" >&6
7905 else
7906 echo "$as_me:$LINENO: result: no" >&5
7907 echo "${ECHO_T}no" >&6
7908 fi
7909
7910
7911 enablestring=
7912 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7913 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7914 no_cache=0
7915 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7916 if test "${enable_spinctrl+set}" = set; then
7917 enableval="$enable_spinctrl"
7918
7919 if test "$enableval" = yes; then
7920 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
7921 else
7922 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
7923 fi
7924
7925 else
7926
7927 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7928 if test "x$LINE" != x ; then
7929 eval "DEFAULT_$LINE"
7930 else
7931 no_cache=1
7932 fi
7933
7934 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7935
7936 fi;
7937
7938 eval "$ac_cv_use_spinctrl"
7939 if test "$no_cache" != 1; then
7940 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7941 fi
7942
7943 if test "$wxUSE_SPINCTRL" = yes; then
7944 echo "$as_me:$LINENO: result: yes" >&5
7945 echo "${ECHO_T}yes" >&6
7946 else
7947 echo "$as_me:$LINENO: result: no" >&5
7948 echo "${ECHO_T}no" >&6
7949 fi
7950
7951
7952 enablestring=
7953 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7954 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7955 no_cache=0
7956 # Check whether --enable-splitter or --disable-splitter was given.
7957 if test "${enable_splitter+set}" = set; then
7958 enableval="$enable_splitter"
7959
7960 if test "$enableval" = yes; then
7961 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
7962 else
7963 ac_cv_use_splitter='wxUSE_SPLITTER=no'
7964 fi
7965
7966 else
7967
7968 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7969 if test "x$LINE" != x ; then
7970 eval "DEFAULT_$LINE"
7971 else
7972 no_cache=1
7973 fi
7974
7975 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7976
7977 fi;
7978
7979 eval "$ac_cv_use_splitter"
7980 if test "$no_cache" != 1; then
7981 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7982 fi
7983
7984 if test "$wxUSE_SPLITTER" = yes; then
7985 echo "$as_me:$LINENO: result: yes" >&5
7986 echo "${ECHO_T}yes" >&6
7987 else
7988 echo "$as_me:$LINENO: result: no" >&5
7989 echo "${ECHO_T}no" >&6
7990 fi
7991
7992
7993 enablestring=
7994 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7995 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7996 no_cache=0
7997 # Check whether --enable-statbmp or --disable-statbmp was given.
7998 if test "${enable_statbmp+set}" = set; then
7999 enableval="$enable_statbmp"
8000
8001 if test "$enableval" = yes; then
8002 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
8003 else
8004 ac_cv_use_statbmp='wxUSE_STATBMP=no'
8005 fi
8006
8007 else
8008
8009 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8010 if test "x$LINE" != x ; then
8011 eval "DEFAULT_$LINE"
8012 else
8013 no_cache=1
8014 fi
8015
8016 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8017
8018 fi;
8019
8020 eval "$ac_cv_use_statbmp"
8021 if test "$no_cache" != 1; then
8022 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8023 fi
8024
8025 if test "$wxUSE_STATBMP" = yes; then
8026 echo "$as_me:$LINENO: result: yes" >&5
8027 echo "${ECHO_T}yes" >&6
8028 else
8029 echo "$as_me:$LINENO: result: no" >&5
8030 echo "${ECHO_T}no" >&6
8031 fi
8032
8033
8034 enablestring=
8035 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8036 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8037 no_cache=0
8038 # Check whether --enable-statbox or --disable-statbox was given.
8039 if test "${enable_statbox+set}" = set; then
8040 enableval="$enable_statbox"
8041
8042 if test "$enableval" = yes; then
8043 ac_cv_use_statbox='wxUSE_STATBOX=yes'
8044 else
8045 ac_cv_use_statbox='wxUSE_STATBOX=no'
8046 fi
8047
8048 else
8049
8050 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8051 if test "x$LINE" != x ; then
8052 eval "DEFAULT_$LINE"
8053 else
8054 no_cache=1
8055 fi
8056
8057 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8058
8059 fi;
8060
8061 eval "$ac_cv_use_statbox"
8062 if test "$no_cache" != 1; then
8063 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8064 fi
8065
8066 if test "$wxUSE_STATBOX" = yes; then
8067 echo "$as_me:$LINENO: result: yes" >&5
8068 echo "${ECHO_T}yes" >&6
8069 else
8070 echo "$as_me:$LINENO: result: no" >&5
8071 echo "${ECHO_T}no" >&6
8072 fi
8073
8074
8075 enablestring=
8076 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8077 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8078 no_cache=0
8079 # Check whether --enable-statline or --disable-statline was given.
8080 if test "${enable_statline+set}" = set; then
8081 enableval="$enable_statline"
8082
8083 if test "$enableval" = yes; then
8084 ac_cv_use_statline='wxUSE_STATLINE=yes'
8085 else
8086 ac_cv_use_statline='wxUSE_STATLINE=no'
8087 fi
8088
8089 else
8090
8091 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8092 if test "x$LINE" != x ; then
8093 eval "DEFAULT_$LINE"
8094 else
8095 no_cache=1
8096 fi
8097
8098 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8099
8100 fi;
8101
8102 eval "$ac_cv_use_statline"
8103 if test "$no_cache" != 1; then
8104 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8105 fi
8106
8107 if test "$wxUSE_STATLINE" = yes; then
8108 echo "$as_me:$LINENO: result: yes" >&5
8109 echo "${ECHO_T}yes" >&6
8110 else
8111 echo "$as_me:$LINENO: result: no" >&5
8112 echo "${ECHO_T}no" >&6
8113 fi
8114
8115
8116 enablestring=
8117 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8118 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8119 no_cache=0
8120 # Check whether --enable-stattext or --disable-stattext was given.
8121 if test "${enable_stattext+set}" = set; then
8122 enableval="$enable_stattext"
8123
8124 if test "$enableval" = yes; then
8125 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
8126 else
8127 ac_cv_use_stattext='wxUSE_STATTEXT=no'
8128 fi
8129
8130 else
8131
8132 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8133 if test "x$LINE" != x ; then
8134 eval "DEFAULT_$LINE"
8135 else
8136 no_cache=1
8137 fi
8138
8139 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8140
8141 fi;
8142
8143 eval "$ac_cv_use_stattext"
8144 if test "$no_cache" != 1; then
8145 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8146 fi
8147
8148 if test "$wxUSE_STATTEXT" = yes; then
8149 echo "$as_me:$LINENO: result: yes" >&5
8150 echo "${ECHO_T}yes" >&6
8151 else
8152 echo "$as_me:$LINENO: result: no" >&5
8153 echo "${ECHO_T}no" >&6
8154 fi
8155
8156
8157 enablestring=
8158 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8159 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8160 no_cache=0
8161 # Check whether --enable-statusbar or --disable-statusbar was given.
8162 if test "${enable_statusbar+set}" = set; then
8163 enableval="$enable_statusbar"
8164
8165 if test "$enableval" = yes; then
8166 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
8167 else
8168 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
8169 fi
8170
8171 else
8172
8173 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8174 if test "x$LINE" != x ; then
8175 eval "DEFAULT_$LINE"
8176 else
8177 no_cache=1
8178 fi
8179
8180 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8181
8182 fi;
8183
8184 eval "$ac_cv_use_statusbar"
8185 if test "$no_cache" != 1; then
8186 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8187 fi
8188
8189 if test "$wxUSE_STATUSBAR" = yes; then
8190 echo "$as_me:$LINENO: result: yes" >&5
8191 echo "${ECHO_T}yes" >&6
8192 else
8193 echo "$as_me:$LINENO: result: no" >&5
8194 echo "${ECHO_T}no" >&6
8195 fi
8196
8197
8198 enablestring=
8199 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8200 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8201 no_cache=0
8202 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8203 if test "${enable_tabdialog+set}" = set; then
8204 enableval="$enable_tabdialog"
8205
8206 if test "$enableval" = yes; then
8207 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
8208 else
8209 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
8210 fi
8211
8212 else
8213
8214 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8215 if test "x$LINE" != x ; then
8216 eval "DEFAULT_$LINE"
8217 else
8218 no_cache=1
8219 fi
8220
8221 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8222
8223 fi;
8224
8225 eval "$ac_cv_use_tabdialog"
8226 if test "$no_cache" != 1; then
8227 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8228 fi
8229
8230 if test "$wxUSE_TABDIALOG" = yes; then
8231 echo "$as_me:$LINENO: result: yes" >&5
8232 echo "${ECHO_T}yes" >&6
8233 else
8234 echo "$as_me:$LINENO: result: no" >&5
8235 echo "${ECHO_T}no" >&6
8236 fi
8237
8238
8239 enablestring=
8240 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8241 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8242 no_cache=0
8243 # Check whether --enable-textctrl or --disable-textctrl was given.
8244 if test "${enable_textctrl+set}" = set; then
8245 enableval="$enable_textctrl"
8246
8247 if test "$enableval" = yes; then
8248 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
8249 else
8250 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
8251 fi
8252
8253 else
8254
8255 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8256 if test "x$LINE" != x ; then
8257 eval "DEFAULT_$LINE"
8258 else
8259 no_cache=1
8260 fi
8261
8262 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8263
8264 fi;
8265
8266 eval "$ac_cv_use_textctrl"
8267 if test "$no_cache" != 1; then
8268 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8269 fi
8270
8271 if test "$wxUSE_TEXTCTRL" = yes; then
8272 echo "$as_me:$LINENO: result: yes" >&5
8273 echo "${ECHO_T}yes" >&6
8274 else
8275 echo "$as_me:$LINENO: result: no" >&5
8276 echo "${ECHO_T}no" >&6
8277 fi
8278
8279
8280 enablestring=
8281 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8282 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8283 no_cache=0
8284 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8285 if test "${enable_togglebtn+set}" = set; then
8286 enableval="$enable_togglebtn"
8287
8288 if test "$enableval" = yes; then
8289 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8290 else
8291 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8292 fi
8293
8294 else
8295
8296 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8297 if test "x$LINE" != x ; then
8298 eval "DEFAULT_$LINE"
8299 else
8300 no_cache=1
8301 fi
8302
8303 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8304
8305 fi;
8306
8307 eval "$ac_cv_use_togglebtn"
8308 if test "$no_cache" != 1; then
8309 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8310 fi
8311
8312 if test "$wxUSE_TOGGLEBTN" = yes; then
8313 echo "$as_me:$LINENO: result: yes" >&5
8314 echo "${ECHO_T}yes" >&6
8315 else
8316 echo "$as_me:$LINENO: result: no" >&5
8317 echo "${ECHO_T}no" >&6
8318 fi
8319
8320
8321 enablestring=
8322 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8323 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8324 no_cache=0
8325 # Check whether --enable-toolbar or --disable-toolbar was given.
8326 if test "${enable_toolbar+set}" = set; then
8327 enableval="$enable_toolbar"
8328
8329 if test "$enableval" = yes; then
8330 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8331 else
8332 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8333 fi
8334
8335 else
8336
8337 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8338 if test "x$LINE" != x ; then
8339 eval "DEFAULT_$LINE"
8340 else
8341 no_cache=1
8342 fi
8343
8344 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8345
8346 fi;
8347
8348 eval "$ac_cv_use_toolbar"
8349 if test "$no_cache" != 1; then
8350 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8351 fi
8352
8353 if test "$wxUSE_TOOLBAR" = yes; then
8354 echo "$as_me:$LINENO: result: yes" >&5
8355 echo "${ECHO_T}yes" >&6
8356 else
8357 echo "$as_me:$LINENO: result: no" >&5
8358 echo "${ECHO_T}no" >&6
8359 fi
8360
8361
8362 enablestring=
8363 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8364 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8365 no_cache=0
8366 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8367 if test "${enable_tbarnative+set}" = set; then
8368 enableval="$enable_tbarnative"
8369
8370 if test "$enableval" = yes; then
8371 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8372 else
8373 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8374 fi
8375
8376 else
8377
8378 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8379 if test "x$LINE" != x ; then
8380 eval "DEFAULT_$LINE"
8381 else
8382 no_cache=1
8383 fi
8384
8385 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8386
8387 fi;
8388
8389 eval "$ac_cv_use_tbarnative"
8390 if test "$no_cache" != 1; then
8391 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8392 fi
8393
8394 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8395 echo "$as_me:$LINENO: result: yes" >&5
8396 echo "${ECHO_T}yes" >&6
8397 else
8398 echo "$as_me:$LINENO: result: no" >&5
8399 echo "${ECHO_T}no" >&6
8400 fi
8401
8402
8403 enablestring=
8404 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8405 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8406 no_cache=0
8407 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8408 if test "${enable_tbarsmpl+set}" = set; then
8409 enableval="$enable_tbarsmpl"
8410
8411 if test "$enableval" = yes; then
8412 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8413 else
8414 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8415 fi
8416
8417 else
8418
8419 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8420 if test "x$LINE" != x ; then
8421 eval "DEFAULT_$LINE"
8422 else
8423 no_cache=1
8424 fi
8425
8426 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8427
8428 fi;
8429
8430 eval "$ac_cv_use_tbarsmpl"
8431 if test "$no_cache" != 1; then
8432 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8433 fi
8434
8435 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8436 echo "$as_me:$LINENO: result: yes" >&5
8437 echo "${ECHO_T}yes" >&6
8438 else
8439 echo "$as_me:$LINENO: result: no" >&5
8440 echo "${ECHO_T}no" >&6
8441 fi
8442
8443
8444 enablestring=
8445 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8446 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8447 no_cache=0
8448 # Check whether --enable-treectrl or --disable-treectrl was given.
8449 if test "${enable_treectrl+set}" = set; then
8450 enableval="$enable_treectrl"
8451
8452 if test "$enableval" = yes; then
8453 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8454 else
8455 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8456 fi
8457
8458 else
8459
8460 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8461 if test "x$LINE" != x ; then
8462 eval "DEFAULT_$LINE"
8463 else
8464 no_cache=1
8465 fi
8466
8467 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8468
8469 fi;
8470
8471 eval "$ac_cv_use_treectrl"
8472 if test "$no_cache" != 1; then
8473 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8474 fi
8475
8476 if test "$wxUSE_TREECTRL" = yes; then
8477 echo "$as_me:$LINENO: result: yes" >&5
8478 echo "${ECHO_T}yes" >&6
8479 else
8480 echo "$as_me:$LINENO: result: no" >&5
8481 echo "${ECHO_T}no" >&6
8482 fi
8483
8484
8485 enablestring=
8486 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8487 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8488 no_cache=0
8489 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8490 if test "${enable_tipwindow+set}" = set; then
8491 enableval="$enable_tipwindow"
8492
8493 if test "$enableval" = yes; then
8494 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8495 else
8496 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8497 fi
8498
8499 else
8500
8501 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8502 if test "x$LINE" != x ; then
8503 eval "DEFAULT_$LINE"
8504 else
8505 no_cache=1
8506 fi
8507
8508 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8509
8510 fi;
8511
8512 eval "$ac_cv_use_tipwindow"
8513 if test "$no_cache" != 1; then
8514 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8515 fi
8516
8517 if test "$wxUSE_TIPWINDOW" = yes; then
8518 echo "$as_me:$LINENO: result: yes" >&5
8519 echo "${ECHO_T}yes" >&6
8520 else
8521 echo "$as_me:$LINENO: result: no" >&5
8522 echo "${ECHO_T}no" >&6
8523 fi
8524
8525
8526 enablestring=
8527 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8528 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8529 no_cache=0
8530 # Check whether --enable-popupwin or --disable-popupwin was given.
8531 if test "${enable_popupwin+set}" = set; then
8532 enableval="$enable_popupwin"
8533
8534 if test "$enableval" = yes; then
8535 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8536 else
8537 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8538 fi
8539
8540 else
8541
8542 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8543 if test "x$LINE" != x ; then
8544 eval "DEFAULT_$LINE"
8545 else
8546 no_cache=1
8547 fi
8548
8549 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8550
8551 fi;
8552
8553 eval "$ac_cv_use_popupwin"
8554 if test "$no_cache" != 1; then
8555 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8556 fi
8557
8558 if test "$wxUSE_POPUPWIN" = yes; then
8559 echo "$as_me:$LINENO: result: yes" >&5
8560 echo "${ECHO_T}yes" >&6
8561 else
8562 echo "$as_me:$LINENO: result: no" >&5
8563 echo "${ECHO_T}no" >&6
8564 fi
8565
8566
8567
8568
8569 enablestring=
8570 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8571 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8572 no_cache=0
8573 # Check whether --enable-commondlg or --disable-commondlg was given.
8574 if test "${enable_commondlg+set}" = set; then
8575 enableval="$enable_commondlg"
8576
8577 if test "$enableval" = yes; then
8578 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8579 else
8580 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8581 fi
8582
8583 else
8584
8585 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8586 if test "x$LINE" != x ; then
8587 eval "DEFAULT_$LINE"
8588 else
8589 no_cache=1
8590 fi
8591
8592 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8593
8594 fi;
8595
8596 eval "$ac_cv_use_commondlg"
8597 if test "$no_cache" != 1; then
8598 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8599 fi
8600
8601 if test "$wxUSE_COMMONDLGS" = yes; then
8602 echo "$as_me:$LINENO: result: yes" >&5
8603 echo "${ECHO_T}yes" >&6
8604 else
8605 echo "$as_me:$LINENO: result: no" >&5
8606 echo "${ECHO_T}no" >&6
8607 fi
8608
8609
8610 enablestring=
8611 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8612 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8613 no_cache=0
8614 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8615 if test "${enable_choicedlg+set}" = set; then
8616 enableval="$enable_choicedlg"
8617
8618 if test "$enableval" = yes; then
8619 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8620 else
8621 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8622 fi
8623
8624 else
8625
8626 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8627 if test "x$LINE" != x ; then
8628 eval "DEFAULT_$LINE"
8629 else
8630 no_cache=1
8631 fi
8632
8633 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8634
8635 fi;
8636
8637 eval "$ac_cv_use_choicedlg"
8638 if test "$no_cache" != 1; then
8639 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8640 fi
8641
8642 if test "$wxUSE_CHOICEDLG" = yes; then
8643 echo "$as_me:$LINENO: result: yes" >&5
8644 echo "${ECHO_T}yes" >&6
8645 else
8646 echo "$as_me:$LINENO: result: no" >&5
8647 echo "${ECHO_T}no" >&6
8648 fi
8649
8650
8651 enablestring=
8652 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8653 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8654 no_cache=0
8655 # Check whether --enable-coldlg or --disable-coldlg was given.
8656 if test "${enable_coldlg+set}" = set; then
8657 enableval="$enable_coldlg"
8658
8659 if test "$enableval" = yes; then
8660 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8661 else
8662 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8663 fi
8664
8665 else
8666
8667 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8668 if test "x$LINE" != x ; then
8669 eval "DEFAULT_$LINE"
8670 else
8671 no_cache=1
8672 fi
8673
8674 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8675
8676 fi;
8677
8678 eval "$ac_cv_use_coldlg"
8679 if test "$no_cache" != 1; then
8680 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8681 fi
8682
8683 if test "$wxUSE_COLOURDLG" = yes; then
8684 echo "$as_me:$LINENO: result: yes" >&5
8685 echo "${ECHO_T}yes" >&6
8686 else
8687 echo "$as_me:$LINENO: result: no" >&5
8688 echo "${ECHO_T}no" >&6
8689 fi
8690
8691
8692 enablestring=
8693 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8694 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8695 no_cache=0
8696 # Check whether --enable-filedlg or --disable-filedlg was given.
8697 if test "${enable_filedlg+set}" = set; then
8698 enableval="$enable_filedlg"
8699
8700 if test "$enableval" = yes; then
8701 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8702 else
8703 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8704 fi
8705
8706 else
8707
8708 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8709 if test "x$LINE" != x ; then
8710 eval "DEFAULT_$LINE"
8711 else
8712 no_cache=1
8713 fi
8714
8715 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8716
8717 fi;
8718
8719 eval "$ac_cv_use_filedlg"
8720 if test "$no_cache" != 1; then
8721 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8722 fi
8723
8724 if test "$wxUSE_FILEDLG" = yes; then
8725 echo "$as_me:$LINENO: result: yes" >&5
8726 echo "${ECHO_T}yes" >&6
8727 else
8728 echo "$as_me:$LINENO: result: no" >&5
8729 echo "${ECHO_T}no" >&6
8730 fi
8731
8732
8733 enablestring=
8734 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8735 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8736 no_cache=0
8737 # Check whether --enable-finddlg or --disable-finddlg was given.
8738 if test "${enable_finddlg+set}" = set; then
8739 enableval="$enable_finddlg"
8740
8741 if test "$enableval" = yes; then
8742 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8743 else
8744 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8745 fi
8746
8747 else
8748
8749 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8750 if test "x$LINE" != x ; then
8751 eval "DEFAULT_$LINE"
8752 else
8753 no_cache=1
8754 fi
8755
8756 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8757
8758 fi;
8759
8760 eval "$ac_cv_use_finddlg"
8761 if test "$no_cache" != 1; then
8762 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8763 fi
8764
8765 if test "$wxUSE_FINDREPLDLG" = yes; then
8766 echo "$as_me:$LINENO: result: yes" >&5
8767 echo "${ECHO_T}yes" >&6
8768 else
8769 echo "$as_me:$LINENO: result: no" >&5
8770 echo "${ECHO_T}no" >&6
8771 fi
8772
8773
8774 enablestring=
8775 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8776 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8777 no_cache=0
8778 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8779 if test "${enable_fontdlg+set}" = set; then
8780 enableval="$enable_fontdlg"
8781
8782 if test "$enableval" = yes; then
8783 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8784 else
8785 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8786 fi
8787
8788 else
8789
8790 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8791 if test "x$LINE" != x ; then
8792 eval "DEFAULT_$LINE"
8793 else
8794 no_cache=1
8795 fi
8796
8797 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8798
8799 fi;
8800
8801 eval "$ac_cv_use_fontdlg"
8802 if test "$no_cache" != 1; then
8803 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8804 fi
8805
8806 if test "$wxUSE_FONTDLG" = yes; then
8807 echo "$as_me:$LINENO: result: yes" >&5
8808 echo "${ECHO_T}yes" >&6
8809 else
8810 echo "$as_me:$LINENO: result: no" >&5
8811 echo "${ECHO_T}no" >&6
8812 fi
8813
8814
8815 enablestring=
8816 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8817 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8818 no_cache=0
8819 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8820 if test "${enable_dirdlg+set}" = set; then
8821 enableval="$enable_dirdlg"
8822
8823 if test "$enableval" = yes; then
8824 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
8825 else
8826 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
8827 fi
8828
8829 else
8830
8831 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8832 if test "x$LINE" != x ; then
8833 eval "DEFAULT_$LINE"
8834 else
8835 no_cache=1
8836 fi
8837
8838 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8839
8840 fi;
8841
8842 eval "$ac_cv_use_dirdlg"
8843 if test "$no_cache" != 1; then
8844 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8845 fi
8846
8847 if test "$wxUSE_DIRDLG" = yes; then
8848 echo "$as_me:$LINENO: result: yes" >&5
8849 echo "${ECHO_T}yes" >&6
8850 else
8851 echo "$as_me:$LINENO: result: no" >&5
8852 echo "${ECHO_T}no" >&6
8853 fi
8854
8855
8856 enablestring=
8857 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8858 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8859 no_cache=0
8860 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8861 if test "${enable_msgdlg+set}" = set; then
8862 enableval="$enable_msgdlg"
8863
8864 if test "$enableval" = yes; then
8865 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
8866 else
8867 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
8868 fi
8869
8870 else
8871
8872 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8873 if test "x$LINE" != x ; then
8874 eval "DEFAULT_$LINE"
8875 else
8876 no_cache=1
8877 fi
8878
8879 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8880
8881 fi;
8882
8883 eval "$ac_cv_use_msgdlg"
8884 if test "$no_cache" != 1; then
8885 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8886 fi
8887
8888 if test "$wxUSE_MSGDLG" = yes; then
8889 echo "$as_me:$LINENO: result: yes" >&5
8890 echo "${ECHO_T}yes" >&6
8891 else
8892 echo "$as_me:$LINENO: result: no" >&5
8893 echo "${ECHO_T}no" >&6
8894 fi
8895
8896
8897 enablestring=
8898 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8899 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8900 no_cache=0
8901 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8902 if test "${enable_numberdlg+set}" = set; then
8903 enableval="$enable_numberdlg"
8904
8905 if test "$enableval" = yes; then
8906 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
8907 else
8908 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
8909 fi
8910
8911 else
8912
8913 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8914 if test "x$LINE" != x ; then
8915 eval "DEFAULT_$LINE"
8916 else
8917 no_cache=1
8918 fi
8919
8920 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8921
8922 fi;
8923
8924 eval "$ac_cv_use_numberdlg"
8925 if test "$no_cache" != 1; then
8926 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8927 fi
8928
8929 if test "$wxUSE_NUMBERDLG" = yes; then
8930 echo "$as_me:$LINENO: result: yes" >&5
8931 echo "${ECHO_T}yes" >&6
8932 else
8933 echo "$as_me:$LINENO: result: no" >&5
8934 echo "${ECHO_T}no" >&6
8935 fi
8936
8937
8938 enablestring=
8939 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8940 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8941 no_cache=0
8942 # Check whether --enable-splash or --disable-splash was given.
8943 if test "${enable_splash+set}" = set; then
8944 enableval="$enable_splash"
8945
8946 if test "$enableval" = yes; then
8947 ac_cv_use_splash='wxUSE_SPLASH=yes'
8948 else
8949 ac_cv_use_splash='wxUSE_SPLASH=no'
8950 fi
8951
8952 else
8953
8954 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8955 if test "x$LINE" != x ; then
8956 eval "DEFAULT_$LINE"
8957 else
8958 no_cache=1
8959 fi
8960
8961 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8962
8963 fi;
8964
8965 eval "$ac_cv_use_splash"
8966 if test "$no_cache" != 1; then
8967 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8968 fi
8969
8970 if test "$wxUSE_SPLASH" = yes; then
8971 echo "$as_me:$LINENO: result: yes" >&5
8972 echo "${ECHO_T}yes" >&6
8973 else
8974 echo "$as_me:$LINENO: result: no" >&5
8975 echo "${ECHO_T}no" >&6
8976 fi
8977
8978
8979 enablestring=
8980 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8981 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8982 no_cache=0
8983 # Check whether --enable-textdlg or --disable-textdlg was given.
8984 if test "${enable_textdlg+set}" = set; then
8985 enableval="$enable_textdlg"
8986
8987 if test "$enableval" = yes; then
8988 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
8989 else
8990 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
8991 fi
8992
8993 else
8994
8995 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8996 if test "x$LINE" != x ; then
8997 eval "DEFAULT_$LINE"
8998 else
8999 no_cache=1
9000 fi
9001
9002 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9003
9004 fi;
9005
9006 eval "$ac_cv_use_textdlg"
9007 if test "$no_cache" != 1; then
9008 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9009 fi
9010
9011 if test "$wxUSE_TEXTDLG" = yes; then
9012 echo "$as_me:$LINENO: result: yes" >&5
9013 echo "${ECHO_T}yes" >&6
9014 else
9015 echo "$as_me:$LINENO: result: no" >&5
9016 echo "${ECHO_T}no" >&6
9017 fi
9018
9019
9020 enablestring=
9021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9022 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9023 no_cache=0
9024 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9025 if test "${enable_tipdlg+set}" = set; then
9026 enableval="$enable_tipdlg"
9027
9028 if test "$enableval" = yes; then
9029 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
9030 else
9031 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
9032 fi
9033
9034 else
9035
9036 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9037 if test "x$LINE" != x ; then
9038 eval "DEFAULT_$LINE"
9039 else
9040 no_cache=1
9041 fi
9042
9043 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9044
9045 fi;
9046
9047 eval "$ac_cv_use_tipdlg"
9048 if test "$no_cache" != 1; then
9049 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9050 fi
9051
9052 if test "$wxUSE_STARTUP_TIPS" = yes; then
9053 echo "$as_me:$LINENO: result: yes" >&5
9054 echo "${ECHO_T}yes" >&6
9055 else
9056 echo "$as_me:$LINENO: result: no" >&5
9057 echo "${ECHO_T}no" >&6
9058 fi
9059
9060
9061 enablestring=
9062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9063 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9064 no_cache=0
9065 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9066 if test "${enable_progressdlg+set}" = set; then
9067 enableval="$enable_progressdlg"
9068
9069 if test "$enableval" = yes; then
9070 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
9071 else
9072 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
9073 fi
9074
9075 else
9076
9077 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9078 if test "x$LINE" != x ; then
9079 eval "DEFAULT_$LINE"
9080 else
9081 no_cache=1
9082 fi
9083
9084 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9085
9086 fi;
9087
9088 eval "$ac_cv_use_progressdlg"
9089 if test "$no_cache" != 1; then
9090 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9091 fi
9092
9093 if test "$wxUSE_PROGRESSDLG" = yes; then
9094 echo "$as_me:$LINENO: result: yes" >&5
9095 echo "${ECHO_T}yes" >&6
9096 else
9097 echo "$as_me:$LINENO: result: no" >&5
9098 echo "${ECHO_T}no" >&6
9099 fi
9100
9101
9102 enablestring=
9103 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9104 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9105 no_cache=0
9106 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9107 if test "${enable_wizarddlg+set}" = set; then
9108 enableval="$enable_wizarddlg"
9109
9110 if test "$enableval" = yes; then
9111 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
9112 else
9113 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
9114 fi
9115
9116 else
9117
9118 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9119 if test "x$LINE" != x ; then
9120 eval "DEFAULT_$LINE"
9121 else
9122 no_cache=1
9123 fi
9124
9125 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9126
9127 fi;
9128
9129 eval "$ac_cv_use_wizarddlg"
9130 if test "$no_cache" != 1; then
9131 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9132 fi
9133
9134 if test "$wxUSE_WIZARDDLG" = yes; then
9135 echo "$as_me:$LINENO: result: yes" >&5
9136 echo "${ECHO_T}yes" >&6
9137 else
9138 echo "$as_me:$LINENO: result: no" >&5
9139 echo "${ECHO_T}no" >&6
9140 fi
9141
9142
9143
9144
9145 enablestring=
9146 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9147 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9148 no_cache=0
9149 # Check whether --enable-menus or --disable-menus was given.
9150 if test "${enable_menus+set}" = set; then
9151 enableval="$enable_menus"
9152
9153 if test "$enableval" = yes; then
9154 ac_cv_use_menus='wxUSE_MENUS=yes'
9155 else
9156 ac_cv_use_menus='wxUSE_MENUS=no'
9157 fi
9158
9159 else
9160
9161 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9162 if test "x$LINE" != x ; then
9163 eval "DEFAULT_$LINE"
9164 else
9165 no_cache=1
9166 fi
9167
9168 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9169
9170 fi;
9171
9172 eval "$ac_cv_use_menus"
9173 if test "$no_cache" != 1; then
9174 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9175 fi
9176
9177 if test "$wxUSE_MENUS" = yes; then
9178 echo "$as_me:$LINENO: result: yes" >&5
9179 echo "${ECHO_T}yes" >&6
9180 else
9181 echo "$as_me:$LINENO: result: no" >&5
9182 echo "${ECHO_T}no" >&6
9183 fi
9184
9185
9186 enablestring=
9187 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9188 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9189 no_cache=0
9190 # Check whether --enable-miniframe or --disable-miniframe was given.
9191 if test "${enable_miniframe+set}" = set; then
9192 enableval="$enable_miniframe"
9193
9194 if test "$enableval" = yes; then
9195 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
9196 else
9197 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
9198 fi
9199
9200 else
9201
9202 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9203 if test "x$LINE" != x ; then
9204 eval "DEFAULT_$LINE"
9205 else
9206 no_cache=1
9207 fi
9208
9209 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9210
9211 fi;
9212
9213 eval "$ac_cv_use_miniframe"
9214 if test "$no_cache" != 1; then
9215 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9216 fi
9217
9218 if test "$wxUSE_MINIFRAME" = yes; then
9219 echo "$as_me:$LINENO: result: yes" >&5
9220 echo "${ECHO_T}yes" >&6
9221 else
9222 echo "$as_me:$LINENO: result: no" >&5
9223 echo "${ECHO_T}no" >&6
9224 fi
9225
9226
9227 enablestring=
9228 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9229 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9230 no_cache=0
9231 # Check whether --enable-tooltips or --disable-tooltips was given.
9232 if test "${enable_tooltips+set}" = set; then
9233 enableval="$enable_tooltips"
9234
9235 if test "$enableval" = yes; then
9236 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
9237 else
9238 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
9239 fi
9240
9241 else
9242
9243 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9244 if test "x$LINE" != x ; then
9245 eval "DEFAULT_$LINE"
9246 else
9247 no_cache=1
9248 fi
9249
9250 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9251
9252 fi;
9253
9254 eval "$ac_cv_use_tooltips"
9255 if test "$no_cache" != 1; then
9256 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9257 fi
9258
9259 if test "$wxUSE_TOOLTIPS" = yes; then
9260 echo "$as_me:$LINENO: result: yes" >&5
9261 echo "${ECHO_T}yes" >&6
9262 else
9263 echo "$as_me:$LINENO: result: no" >&5
9264 echo "${ECHO_T}no" >&6
9265 fi
9266
9267
9268 enablestring=
9269 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9270 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9271 no_cache=0
9272 # Check whether --enable-splines or --disable-splines was given.
9273 if test "${enable_splines+set}" = set; then
9274 enableval="$enable_splines"
9275
9276 if test "$enableval" = yes; then
9277 ac_cv_use_splines='wxUSE_SPLINES=yes'
9278 else
9279 ac_cv_use_splines='wxUSE_SPLINES=no'
9280 fi
9281
9282 else
9283
9284 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9285 if test "x$LINE" != x ; then
9286 eval "DEFAULT_$LINE"
9287 else
9288 no_cache=1
9289 fi
9290
9291 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9292
9293 fi;
9294
9295 eval "$ac_cv_use_splines"
9296 if test "$no_cache" != 1; then
9297 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9298 fi
9299
9300 if test "$wxUSE_SPLINES" = yes; then
9301 echo "$as_me:$LINENO: result: yes" >&5
9302 echo "${ECHO_T}yes" >&6
9303 else
9304 echo "$as_me:$LINENO: result: no" >&5
9305 echo "${ECHO_T}no" >&6
9306 fi
9307
9308
9309 enablestring=
9310 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9311 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9312 no_cache=0
9313 # Check whether --enable-validators or --disable-validators was given.
9314 if test "${enable_validators+set}" = set; then
9315 enableval="$enable_validators"
9316
9317 if test "$enableval" = yes; then
9318 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9319 else
9320 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9321 fi
9322
9323 else
9324
9325 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9326 if test "x$LINE" != x ; then
9327 eval "DEFAULT_$LINE"
9328 else
9329 no_cache=1
9330 fi
9331
9332 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9333
9334 fi;
9335
9336 eval "$ac_cv_use_validators"
9337 if test "$no_cache" != 1; then
9338 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9339 fi
9340
9341 if test "$wxUSE_VALIDATORS" = yes; then
9342 echo "$as_me:$LINENO: result: yes" >&5
9343 echo "${ECHO_T}yes" >&6
9344 else
9345 echo "$as_me:$LINENO: result: no" >&5
9346 echo "${ECHO_T}no" >&6
9347 fi
9348
9349
9350 enablestring=
9351 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9352 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9353 no_cache=0
9354 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9355 if test "${enable_busyinfo+set}" = set; then
9356 enableval="$enable_busyinfo"
9357
9358 if test "$enableval" = yes; then
9359 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9360 else
9361 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9362 fi
9363
9364 else
9365
9366 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9367 if test "x$LINE" != x ; then
9368 eval "DEFAULT_$LINE"
9369 else
9370 no_cache=1
9371 fi
9372
9373 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9374
9375 fi;
9376
9377 eval "$ac_cv_use_busyinfo"
9378 if test "$no_cache" != 1; then
9379 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9380 fi
9381
9382 if test "$wxUSE_BUSYINFO" = yes; then
9383 echo "$as_me:$LINENO: result: yes" >&5
9384 echo "${ECHO_T}yes" >&6
9385 else
9386 echo "$as_me:$LINENO: result: no" >&5
9387 echo "${ECHO_T}no" >&6
9388 fi
9389
9390
9391 enablestring=
9392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9393 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9394 no_cache=0
9395 # Check whether --enable-joystick or --disable-joystick was given.
9396 if test "${enable_joystick+set}" = set; then
9397 enableval="$enable_joystick"
9398
9399 if test "$enableval" = yes; then
9400 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9401 else
9402 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9403 fi
9404
9405 else
9406
9407 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9408 if test "x$LINE" != x ; then
9409 eval "DEFAULT_$LINE"
9410 else
9411 no_cache=1
9412 fi
9413
9414 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9415
9416 fi;
9417
9418 eval "$ac_cv_use_joystick"
9419 if test "$no_cache" != 1; then
9420 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9421 fi
9422
9423 if test "$wxUSE_JOYSTICK" = yes; then
9424 echo "$as_me:$LINENO: result: yes" >&5
9425 echo "${ECHO_T}yes" >&6
9426 else
9427 echo "$as_me:$LINENO: result: no" >&5
9428 echo "${ECHO_T}no" >&6
9429 fi
9430
9431
9432 enablestring=
9433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9434 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9435 no_cache=0
9436 # Check whether --enable-metafile or --disable-metafile was given.
9437 if test "${enable_metafile+set}" = set; then
9438 enableval="$enable_metafile"
9439
9440 if test "$enableval" = yes; then
9441 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9442 else
9443 ac_cv_use_metafile='wxUSE_METAFILE=no'
9444 fi
9445
9446 else
9447
9448 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9449 if test "x$LINE" != x ; then
9450 eval "DEFAULT_$LINE"
9451 else
9452 no_cache=1
9453 fi
9454
9455 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9456
9457 fi;
9458
9459 eval "$ac_cv_use_metafile"
9460 if test "$no_cache" != 1; then
9461 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9462 fi
9463
9464 if test "$wxUSE_METAFILE" = yes; then
9465 echo "$as_me:$LINENO: result: yes" >&5
9466 echo "${ECHO_T}yes" >&6
9467 else
9468 echo "$as_me:$LINENO: result: no" >&5
9469 echo "${ECHO_T}no" >&6
9470 fi
9471
9472
9473 enablestring=
9474 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9475 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9476 no_cache=0
9477 # Check whether --enable-dragimage or --disable-dragimage was given.
9478 if test "${enable_dragimage+set}" = set; then
9479 enableval="$enable_dragimage"
9480
9481 if test "$enableval" = yes; then
9482 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9483 else
9484 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9485 fi
9486
9487 else
9488
9489 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9490 if test "x$LINE" != x ; then
9491 eval "DEFAULT_$LINE"
9492 else
9493 no_cache=1
9494 fi
9495
9496 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9497
9498 fi;
9499
9500 eval "$ac_cv_use_dragimage"
9501 if test "$no_cache" != 1; then
9502 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9503 fi
9504
9505 if test "$wxUSE_DRAGIMAGE" = yes; then
9506 echo "$as_me:$LINENO: result: yes" >&5
9507 echo "${ECHO_T}yes" >&6
9508 else
9509 echo "$as_me:$LINENO: result: no" >&5
9510 echo "${ECHO_T}no" >&6
9511 fi
9512
9513
9514 enablestring=
9515 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9516 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9517 no_cache=0
9518 # Check whether --enable-accessibility or --disable-accessibility was given.
9519 if test "${enable_accessibility+set}" = set; then
9520 enableval="$enable_accessibility"
9521
9522 if test "$enableval" = yes; then
9523 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9524 else
9525 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9526 fi
9527
9528 else
9529
9530 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9531 if test "x$LINE" != x ; then
9532 eval "DEFAULT_$LINE"
9533 else
9534 no_cache=1
9535 fi
9536
9537 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9538
9539 fi;
9540
9541 eval "$ac_cv_use_accessibility"
9542 if test "$no_cache" != 1; then
9543 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9544 fi
9545
9546 if test "$wxUSE_ACCESSIBILITY" = yes; then
9547 echo "$as_me:$LINENO: result: yes" >&5
9548 echo "${ECHO_T}yes" >&6
9549 else
9550 echo "$as_me:$LINENO: result: no" >&5
9551 echo "${ECHO_T}no" >&6
9552 fi
9553
9554
9555
9556
9557 enablestring=
9558 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9559 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9560 no_cache=0
9561 # Check whether --enable-palette or --disable-palette was given.
9562 if test "${enable_palette+set}" = set; then
9563 enableval="$enable_palette"
9564
9565 if test "$enableval" = yes; then
9566 ac_cv_use_palette='wxUSE_PALETTE=yes'
9567 else
9568 ac_cv_use_palette='wxUSE_PALETTE=no'
9569 fi
9570
9571 else
9572
9573 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9574 if test "x$LINE" != x ; then
9575 eval "DEFAULT_$LINE"
9576 else
9577 no_cache=1
9578 fi
9579
9580 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9581
9582 fi;
9583
9584 eval "$ac_cv_use_palette"
9585 if test "$no_cache" != 1; then
9586 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9587 fi
9588
9589 if test "$wxUSE_PALETTE" = yes; then
9590 echo "$as_me:$LINENO: result: yes" >&5
9591 echo "${ECHO_T}yes" >&6
9592 else
9593 echo "$as_me:$LINENO: result: no" >&5
9594 echo "${ECHO_T}no" >&6
9595 fi
9596
9597
9598 enablestring=
9599 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9600 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9601 no_cache=0
9602 # Check whether --enable-image or --disable-image was given.
9603 if test "${enable_image+set}" = set; then
9604 enableval="$enable_image"
9605
9606 if test "$enableval" = yes; then
9607 ac_cv_use_image='wxUSE_IMAGE=yes'
9608 else
9609 ac_cv_use_image='wxUSE_IMAGE=no'
9610 fi
9611
9612 else
9613
9614 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9615 if test "x$LINE" != x ; then
9616 eval "DEFAULT_$LINE"
9617 else
9618 no_cache=1
9619 fi
9620
9621 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9622
9623 fi;
9624
9625 eval "$ac_cv_use_image"
9626 if test "$no_cache" != 1; then
9627 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9628 fi
9629
9630 if test "$wxUSE_IMAGE" = yes; then
9631 echo "$as_me:$LINENO: result: yes" >&5
9632 echo "${ECHO_T}yes" >&6
9633 else
9634 echo "$as_me:$LINENO: result: no" >&5
9635 echo "${ECHO_T}no" >&6
9636 fi
9637
9638
9639 enablestring=
9640 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9641 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9642 no_cache=0
9643 # Check whether --enable-gif or --disable-gif was given.
9644 if test "${enable_gif+set}" = set; then
9645 enableval="$enable_gif"
9646
9647 if test "$enableval" = yes; then
9648 ac_cv_use_gif='wxUSE_GIF=yes'
9649 else
9650 ac_cv_use_gif='wxUSE_GIF=no'
9651 fi
9652
9653 else
9654
9655 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9656 if test "x$LINE" != x ; then
9657 eval "DEFAULT_$LINE"
9658 else
9659 no_cache=1
9660 fi
9661
9662 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9663
9664 fi;
9665
9666 eval "$ac_cv_use_gif"
9667 if test "$no_cache" != 1; then
9668 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9669 fi
9670
9671 if test "$wxUSE_GIF" = yes; then
9672 echo "$as_me:$LINENO: result: yes" >&5
9673 echo "${ECHO_T}yes" >&6
9674 else
9675 echo "$as_me:$LINENO: result: no" >&5
9676 echo "${ECHO_T}no" >&6
9677 fi
9678
9679
9680 enablestring=
9681 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9682 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9683 no_cache=0
9684 # Check whether --enable-pcx or --disable-pcx was given.
9685 if test "${enable_pcx+set}" = set; then
9686 enableval="$enable_pcx"
9687
9688 if test "$enableval" = yes; then
9689 ac_cv_use_pcx='wxUSE_PCX=yes'
9690 else
9691 ac_cv_use_pcx='wxUSE_PCX=no'
9692 fi
9693
9694 else
9695
9696 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9697 if test "x$LINE" != x ; then
9698 eval "DEFAULT_$LINE"
9699 else
9700 no_cache=1
9701 fi
9702
9703 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9704
9705 fi;
9706
9707 eval "$ac_cv_use_pcx"
9708 if test "$no_cache" != 1; then
9709 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9710 fi
9711
9712 if test "$wxUSE_PCX" = yes; then
9713 echo "$as_me:$LINENO: result: yes" >&5
9714 echo "${ECHO_T}yes" >&6
9715 else
9716 echo "$as_me:$LINENO: result: no" >&5
9717 echo "${ECHO_T}no" >&6
9718 fi
9719
9720
9721 enablestring=
9722 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9723 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9724 no_cache=0
9725 # Check whether --enable-iff or --disable-iff was given.
9726 if test "${enable_iff+set}" = set; then
9727 enableval="$enable_iff"
9728
9729 if test "$enableval" = yes; then
9730 ac_cv_use_iff='wxUSE_IFF=yes'
9731 else
9732 ac_cv_use_iff='wxUSE_IFF=no'
9733 fi
9734
9735 else
9736
9737 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9738 if test "x$LINE" != x ; then
9739 eval "DEFAULT_$LINE"
9740 else
9741 no_cache=1
9742 fi
9743
9744 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9745
9746 fi;
9747
9748 eval "$ac_cv_use_iff"
9749 if test "$no_cache" != 1; then
9750 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9751 fi
9752
9753 if test "$wxUSE_IFF" = yes; then
9754 echo "$as_me:$LINENO: result: yes" >&5
9755 echo "${ECHO_T}yes" >&6
9756 else
9757 echo "$as_me:$LINENO: result: no" >&5
9758 echo "${ECHO_T}no" >&6
9759 fi
9760
9761
9762 enablestring=
9763 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9764 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9765 no_cache=0
9766 # Check whether --enable-pnm or --disable-pnm was given.
9767 if test "${enable_pnm+set}" = set; then
9768 enableval="$enable_pnm"
9769
9770 if test "$enableval" = yes; then
9771 ac_cv_use_pnm='wxUSE_PNM=yes'
9772 else
9773 ac_cv_use_pnm='wxUSE_PNM=no'
9774 fi
9775
9776 else
9777
9778 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9779 if test "x$LINE" != x ; then
9780 eval "DEFAULT_$LINE"
9781 else
9782 no_cache=1
9783 fi
9784
9785 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9786
9787 fi;
9788
9789 eval "$ac_cv_use_pnm"
9790 if test "$no_cache" != 1; then
9791 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9792 fi
9793
9794 if test "$wxUSE_PNM" = yes; then
9795 echo "$as_me:$LINENO: result: yes" >&5
9796 echo "${ECHO_T}yes" >&6
9797 else
9798 echo "$as_me:$LINENO: result: no" >&5
9799 echo "${ECHO_T}no" >&6
9800 fi
9801
9802
9803 enablestring=
9804 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9805 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9806 no_cache=0
9807 # Check whether --enable-xpm or --disable-xpm was given.
9808 if test "${enable_xpm+set}" = set; then
9809 enableval="$enable_xpm"
9810
9811 if test "$enableval" = yes; then
9812 ac_cv_use_xpm='wxUSE_XPM=yes'
9813 else
9814 ac_cv_use_xpm='wxUSE_XPM=no'
9815 fi
9816
9817 else
9818
9819 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9820 if test "x$LINE" != x ; then
9821 eval "DEFAULT_$LINE"
9822 else
9823 no_cache=1
9824 fi
9825
9826 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9827
9828 fi;
9829
9830 eval "$ac_cv_use_xpm"
9831 if test "$no_cache" != 1; then
9832 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9833 fi
9834
9835 if test "$wxUSE_XPM" = yes; then
9836 echo "$as_me:$LINENO: result: yes" >&5
9837 echo "${ECHO_T}yes" >&6
9838 else
9839 echo "$as_me:$LINENO: result: no" >&5
9840 echo "${ECHO_T}no" >&6
9841 fi
9842
9843
9844 enablestring=
9845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9846 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9847 no_cache=0
9848 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9849 if test "${enable_ico_cur+set}" = set; then
9850 enableval="$enable_ico_cur"
9851
9852 if test "$enableval" = yes; then
9853 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
9854 else
9855 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
9856 fi
9857
9858 else
9859
9860 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9861 if test "x$LINE" != x ; then
9862 eval "DEFAULT_$LINE"
9863 else
9864 no_cache=1
9865 fi
9866
9867 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9868
9869 fi;
9870
9871 eval "$ac_cv_use_ico_cur"
9872 if test "$no_cache" != 1; then
9873 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9874 fi
9875
9876 if test "$wxUSE_ICO_CUR" = yes; then
9877 echo "$as_me:$LINENO: result: yes" >&5
9878 echo "${ECHO_T}yes" >&6
9879 else
9880 echo "$as_me:$LINENO: result: no" >&5
9881 echo "${ECHO_T}no" >&6
9882 fi
9883
9884
9885 fi
9886
9887
9888
9889 enablestring=
9890 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9891 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9892 no_cache=0
9893 # Check whether --enable-official_build or --disable-official_build was given.
9894 if test "${enable_official_build+set}" = set; then
9895 enableval="$enable_official_build"
9896
9897 if test "$enableval" = yes; then
9898 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
9899 else
9900 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
9901 fi
9902
9903 else
9904
9905 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9906 if test "x$LINE" != x ; then
9907 eval "DEFAULT_$LINE"
9908 else
9909 no_cache=1
9910 fi
9911
9912 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9913
9914 fi;
9915
9916 eval "$ac_cv_use_official_build"
9917 if test "$no_cache" != 1; then
9918 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9919 fi
9920
9921 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9922 echo "$as_me:$LINENO: result: yes" >&5
9923 echo "${ECHO_T}yes" >&6
9924 else
9925 echo "$as_me:$LINENO: result: no" >&5
9926 echo "${ECHO_T}no" >&6
9927 fi
9928
9929 # Check whether --enable-vendor or --disable-vendor was given.
9930 if test "${enable_vendor+set}" = set; then
9931 enableval="$enable_vendor"
9932 VENDOR="$enableval"
9933 fi;
9934 if test "x$VENDOR" = "x"; then
9935 VENDOR="custom"
9936 fi
9937
9938 case "${host}" in
9939 *-pc-os2_emx | *-pc-os2-emx )
9940 PATH_IFS=';'
9941 ;;
9942 *)
9943 PATH_IFS=':'
9944 ;;
9945 esac
9946
9947
9948
9949 echo "saving argument cache $wx_arg_cache_file"
9950 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9951
9952
9953
9954 echo "$as_me:$LINENO: checking for toolkit" >&5
9955 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9956
9957 # In Wine, we need to default to MSW, not GTK or MOTIF
9958 if test "$wxUSE_WINE" = "yes"; then
9959 DEFAULT_DEFAULT_wxUSE_GTK=0
9960 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9961 DEFAULT_DEFAULT_wxUSE_MSW=1
9962 wxUSE_SHARED=no
9963 fi
9964
9965 if test "$wxUSE_GUI" = "yes"; then
9966
9967 if test "$USE_BEOS" = 1; then
9968 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9969 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9970 { (exit 1); exit 1; }; }
9971 fi
9972
9973 if test "$TOOLKIT_GIVEN" = 1; then
9974 for toolkit in `echo $ALL_TOOLKITS`; do
9975 var=wxUSE_$toolkit
9976 eval "value=\$${var}"
9977 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9978 done
9979 else
9980 for toolkit in `echo $ALL_TOOLKITS`; do
9981 if test "$has_toolkit_in_cache" != 1; then
9982 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9983 else
9984 var=DEFAULT_wxUSE_$toolkit
9985 fi
9986 eval "wxUSE_$toolkit=\$${var}"
9987 done
9988 fi
9989
9990 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9991 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9992 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9993
9994 case "${host}" in
9995 *-pc-os2_emx | *-pc-os2-emx )
9996 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9997 esac
9998
9999 case "$NUM_TOOLKITS" in
10000 1)
10001 ;;
10002 0)
10003 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10004 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10005 { (exit 1); exit 1; }; }
10006 ;;
10007 *)
10008 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10009 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10010 { (exit 1); exit 1; }; }
10011 esac
10012
10013 for toolkit in `echo $ALL_TOOLKITS`; do
10014 var=wxUSE_$toolkit
10015 eval "value=\$${var}"
10016 if test "x$value" != x; then
10017 cache_var=CACHE_$toolkit
10018 eval "cache=\$${cache_var}"
10019 if test "$cache" = 1; then
10020 echo "$var=$value" >> ${wx_arg_cache_file}
10021 fi
10022 if test "$value" = 1; then
10023 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10024 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10025 echo "${ECHO_T}$toolkit_echo" >&6
10026 fi
10027 fi
10028 done
10029 else
10030 if test "x$host_alias" != "x"; then
10031 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10032 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10033 else
10034 echo "$as_me:$LINENO: result: base only" >&5
10035 echo "${ECHO_T}base only" >&6
10036 fi
10037 fi
10038
10039 wants_win32=0
10040 doesnt_want_win32=0
10041 case "${host}" in
10042 *-*-cygwin*)
10043 if test "$wxUSE_MSW" = 1 ; then
10044 wants_win32=1
10045 else
10046 doesnt_want_win32=1
10047 fi
10048 ;;
10049 *-*-mingw*)
10050 wants_win32=1
10051 ;;
10052 esac
10053
10054 if test "$wxUSE_WINE" = "yes"; then
10055 wants_win32=1
10056 CC=winegcc
10057 CXX=wineg++
10058 RESCOMP=wrc
10059 LDFLAGS_GUI="-mwindows"
10060 fi
10061
10062 if test "$wants_win32" = 1 ; then
10063 USE_UNIX=0
10064 USE_WIN32=1
10065 cat >>confdefs.h <<\_ACEOF
10066 #define __WIN32__ 1
10067 _ACEOF
10068
10069 cat >>confdefs.h <<\_ACEOF
10070 #define __WIN95__ 1
10071 _ACEOF
10072
10073 cat >>confdefs.h <<\_ACEOF
10074 #define __WINDOWS__ 1
10075 _ACEOF
10076
10077 cat >>confdefs.h <<\_ACEOF
10078 #define __GNUWIN32__ 1
10079 _ACEOF
10080
10081 cat >>confdefs.h <<\_ACEOF
10082 #define STRICT 1
10083 _ACEOF
10084
10085 cat >>confdefs.h <<\_ACEOF
10086 #define WINVER 0x0400
10087 _ACEOF
10088
10089 fi
10090 if test "$doesnt_want_win32" = 1 ; then
10091 USE_UNIX=1
10092 USE_WIN32=0
10093 fi
10094
10095 if test "$USE_UNIX" = 1 ; then
10096 wxUSE_UNIX=yes
10097 cat >>confdefs.h <<\_ACEOF
10098 #define __UNIX__ 1
10099 _ACEOF
10100
10101 fi
10102
10103
10104 cat >confcache <<\_ACEOF
10105 # This file is a shell script that caches the results of configure
10106 # tests run on this system so they can be shared between configure
10107 # scripts and configure runs, see configure's option --config-cache.
10108 # It is not useful on other systems. If it contains results you don't
10109 # want to keep, you may remove or edit it.
10110 #
10111 # config.status only pays attention to the cache file if you give it
10112 # the --recheck option to rerun configure.
10113 #
10114 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10115 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10116 # following values.
10117
10118 _ACEOF
10119
10120 # The following way of writing the cache mishandles newlines in values,
10121 # but we know of no workaround that is simple, portable, and efficient.
10122 # So, don't put newlines in cache variables' values.
10123 # Ultrix sh set writes to stderr and can't be redirected directly,
10124 # and sets the high bit in the cache file unless we assign to the vars.
10125 {
10126 (set) 2>&1 |
10127 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10128 *ac_space=\ *)
10129 # `set' does not quote correctly, so add quotes (double-quote
10130 # substitution turns \\\\ into \\, and sed turns \\ into \).
10131 sed -n \
10132 "s/'/'\\\\''/g;
10133 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10134 ;;
10135 *)
10136 # `set' quotes correctly as required by POSIX, so do not add quotes.
10137 sed -n \
10138 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10139 ;;
10140 esac;
10141 } |
10142 sed '
10143 t clear
10144 : clear
10145 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10146 t end
10147 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10148 : end' >>confcache
10149 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10150 if test -w $cache_file; then
10151 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10152 cat confcache >$cache_file
10153 else
10154 echo "not updating unwritable cache $cache_file"
10155 fi
10156 fi
10157 rm -f confcache
10158
10159 if test "$build" != "$host" ; then
10160 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
10161 CC=$host_alias-gcc
10162 CXX=$host_alias-c++
10163 AR=$host_alias-ar
10164 RANLIB=$host_alias-ranlib
10165 DLLTOOL=$host_alias-dlltool
10166 RESCOMP=$host_alias-windres
10167 LD=$host_alias-ld
10168 NM=$host_alias-nm
10169 STRIP=$host_alias-strip
10170 else
10171 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10172 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10173 { (exit 1); exit 1; }; }
10174 fi
10175 fi
10176
10177 CFLAGS=${CFLAGS:=}
10178 ac_ext=c
10179 ac_cpp='$CPP $CPPFLAGS'
10180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10183 if test -n "$ac_tool_prefix"; then
10184 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10185 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10186 echo "$as_me:$LINENO: checking for $ac_word" >&5
10187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10188 if test "${ac_cv_prog_CC+set}" = set; then
10189 echo $ECHO_N "(cached) $ECHO_C" >&6
10190 else
10191 if test -n "$CC"; then
10192 ac_cv_prog_CC="$CC" # Let the user override the test.
10193 else
10194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10195 for as_dir in $PATH
10196 do
10197 IFS=$as_save_IFS
10198 test -z "$as_dir" && as_dir=.
10199 for ac_exec_ext in '' $ac_executable_extensions; do
10200 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10201 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10203 break 2
10204 fi
10205 done
10206 done
10207
10208 fi
10209 fi
10210 CC=$ac_cv_prog_CC
10211 if test -n "$CC"; then
10212 echo "$as_me:$LINENO: result: $CC" >&5
10213 echo "${ECHO_T}$CC" >&6
10214 else
10215 echo "$as_me:$LINENO: result: no" >&5
10216 echo "${ECHO_T}no" >&6
10217 fi
10218
10219 fi
10220 if test -z "$ac_cv_prog_CC"; then
10221 ac_ct_CC=$CC
10222 # Extract the first word of "gcc", so it can be a program name with args.
10223 set dummy gcc; ac_word=$2
10224 echo "$as_me:$LINENO: checking for $ac_word" >&5
10225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10226 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10227 echo $ECHO_N "(cached) $ECHO_C" >&6
10228 else
10229 if test -n "$ac_ct_CC"; then
10230 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10231 else
10232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10233 for as_dir in $PATH
10234 do
10235 IFS=$as_save_IFS
10236 test -z "$as_dir" && as_dir=.
10237 for ac_exec_ext in '' $ac_executable_extensions; do
10238 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10239 ac_cv_prog_ac_ct_CC="gcc"
10240 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10241 break 2
10242 fi
10243 done
10244 done
10245
10246 fi
10247 fi
10248 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10249 if test -n "$ac_ct_CC"; then
10250 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10251 echo "${ECHO_T}$ac_ct_CC" >&6
10252 else
10253 echo "$as_me:$LINENO: result: no" >&5
10254 echo "${ECHO_T}no" >&6
10255 fi
10256
10257 CC=$ac_ct_CC
10258 else
10259 CC="$ac_cv_prog_CC"
10260 fi
10261
10262 if test -z "$CC"; then
10263 if test -n "$ac_tool_prefix"; then
10264 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10265 set dummy ${ac_tool_prefix}cc; ac_word=$2
10266 echo "$as_me:$LINENO: checking for $ac_word" >&5
10267 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10268 if test "${ac_cv_prog_CC+set}" = set; then
10269 echo $ECHO_N "(cached) $ECHO_C" >&6
10270 else
10271 if test -n "$CC"; then
10272 ac_cv_prog_CC="$CC" # Let the user override the test.
10273 else
10274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10275 for as_dir in $PATH
10276 do
10277 IFS=$as_save_IFS
10278 test -z "$as_dir" && as_dir=.
10279 for ac_exec_ext in '' $ac_executable_extensions; do
10280 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10281 ac_cv_prog_CC="${ac_tool_prefix}cc"
10282 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10283 break 2
10284 fi
10285 done
10286 done
10287
10288 fi
10289 fi
10290 CC=$ac_cv_prog_CC
10291 if test -n "$CC"; then
10292 echo "$as_me:$LINENO: result: $CC" >&5
10293 echo "${ECHO_T}$CC" >&6
10294 else
10295 echo "$as_me:$LINENO: result: no" >&5
10296 echo "${ECHO_T}no" >&6
10297 fi
10298
10299 fi
10300 if test -z "$ac_cv_prog_CC"; then
10301 ac_ct_CC=$CC
10302 # Extract the first word of "cc", so it can be a program name with args.
10303 set dummy cc; ac_word=$2
10304 echo "$as_me:$LINENO: checking for $ac_word" >&5
10305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10306 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10307 echo $ECHO_N "(cached) $ECHO_C" >&6
10308 else
10309 if test -n "$ac_ct_CC"; then
10310 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10311 else
10312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10313 for as_dir in $PATH
10314 do
10315 IFS=$as_save_IFS
10316 test -z "$as_dir" && as_dir=.
10317 for ac_exec_ext in '' $ac_executable_extensions; do
10318 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10319 ac_cv_prog_ac_ct_CC="cc"
10320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10321 break 2
10322 fi
10323 done
10324 done
10325
10326 fi
10327 fi
10328 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10329 if test -n "$ac_ct_CC"; then
10330 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10331 echo "${ECHO_T}$ac_ct_CC" >&6
10332 else
10333 echo "$as_me:$LINENO: result: no" >&5
10334 echo "${ECHO_T}no" >&6
10335 fi
10336
10337 CC=$ac_ct_CC
10338 else
10339 CC="$ac_cv_prog_CC"
10340 fi
10341
10342 fi
10343 if test -z "$CC"; then
10344 # Extract the first word of "cc", so it can be a program name with args.
10345 set dummy cc; ac_word=$2
10346 echo "$as_me:$LINENO: checking for $ac_word" >&5
10347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10348 if test "${ac_cv_prog_CC+set}" = set; then
10349 echo $ECHO_N "(cached) $ECHO_C" >&6
10350 else
10351 if test -n "$CC"; then
10352 ac_cv_prog_CC="$CC" # Let the user override the test.
10353 else
10354 ac_prog_rejected=no
10355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10356 for as_dir in $PATH
10357 do
10358 IFS=$as_save_IFS
10359 test -z "$as_dir" && as_dir=.
10360 for ac_exec_ext in '' $ac_executable_extensions; do
10361 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10362 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10363 ac_prog_rejected=yes
10364 continue
10365 fi
10366 ac_cv_prog_CC="cc"
10367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10368 break 2
10369 fi
10370 done
10371 done
10372
10373 if test $ac_prog_rejected = yes; then
10374 # We found a bogon in the path, so make sure we never use it.
10375 set dummy $ac_cv_prog_CC
10376 shift
10377 if test $# != 0; then
10378 # We chose a different compiler from the bogus one.
10379 # However, it has the same basename, so the bogon will be chosen
10380 # first if we set CC to just the basename; use the full file name.
10381 shift
10382 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10383 fi
10384 fi
10385 fi
10386 fi
10387 CC=$ac_cv_prog_CC
10388 if test -n "$CC"; then
10389 echo "$as_me:$LINENO: result: $CC" >&5
10390 echo "${ECHO_T}$CC" >&6
10391 else
10392 echo "$as_me:$LINENO: result: no" >&5
10393 echo "${ECHO_T}no" >&6
10394 fi
10395
10396 fi
10397 if test -z "$CC"; then
10398 if test -n "$ac_tool_prefix"; then
10399 for ac_prog in cl
10400 do
10401 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10402 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10403 echo "$as_me:$LINENO: checking for $ac_word" >&5
10404 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10405 if test "${ac_cv_prog_CC+set}" = set; then
10406 echo $ECHO_N "(cached) $ECHO_C" >&6
10407 else
10408 if test -n "$CC"; then
10409 ac_cv_prog_CC="$CC" # Let the user override the test.
10410 else
10411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10412 for as_dir in $PATH
10413 do
10414 IFS=$as_save_IFS
10415 test -z "$as_dir" && as_dir=.
10416 for ac_exec_ext in '' $ac_executable_extensions; do
10417 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10418 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10419 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10420 break 2
10421 fi
10422 done
10423 done
10424
10425 fi
10426 fi
10427 CC=$ac_cv_prog_CC
10428 if test -n "$CC"; then
10429 echo "$as_me:$LINENO: result: $CC" >&5
10430 echo "${ECHO_T}$CC" >&6
10431 else
10432 echo "$as_me:$LINENO: result: no" >&5
10433 echo "${ECHO_T}no" >&6
10434 fi
10435
10436 test -n "$CC" && break
10437 done
10438 fi
10439 if test -z "$CC"; then
10440 ac_ct_CC=$CC
10441 for ac_prog in cl
10442 do
10443 # Extract the first word of "$ac_prog", so it can be a program name with args.
10444 set dummy $ac_prog; 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_ac_ct_CC+set}" = set; then
10448 echo $ECHO_N "(cached) $ECHO_C" >&6
10449 else
10450 if test -n "$ac_ct_CC"; then
10451 ac_cv_prog_ac_ct_CC="$ac_ct_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_ac_ct_CC="$ac_prog"
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 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10470 if test -n "$ac_ct_CC"; then
10471 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10472 echo "${ECHO_T}$ac_ct_CC" >&6
10473 else
10474 echo "$as_me:$LINENO: result: no" >&5
10475 echo "${ECHO_T}no" >&6
10476 fi
10477
10478 test -n "$ac_ct_CC" && break
10479 done
10480
10481 CC=$ac_ct_CC
10482 fi
10483
10484 fi
10485
10486
10487 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10488 See \`config.log' for more details." >&5
10489 echo "$as_me: error: no acceptable C compiler found in \$PATH
10490 See \`config.log' for more details." >&2;}
10491 { (exit 1); exit 1; }; }
10492
10493 # Provide some information about the compiler.
10494 echo "$as_me:$LINENO:" \
10495 "checking for C compiler version" >&5
10496 ac_compiler=`set X $ac_compile; echo $2`
10497 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10498 (eval $ac_compiler --version </dev/null >&5) 2>&5
10499 ac_status=$?
10500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10501 (exit $ac_status); }
10502 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10503 (eval $ac_compiler -v </dev/null >&5) 2>&5
10504 ac_status=$?
10505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10506 (exit $ac_status); }
10507 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10508 (eval $ac_compiler -V </dev/null >&5) 2>&5
10509 ac_status=$?
10510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10511 (exit $ac_status); }
10512
10513 cat >conftest.$ac_ext <<_ACEOF
10514 /* confdefs.h. */
10515 _ACEOF
10516 cat confdefs.h >>conftest.$ac_ext
10517 cat >>conftest.$ac_ext <<_ACEOF
10518 /* end confdefs.h. */
10519
10520 int
10521 main ()
10522 {
10523
10524 ;
10525 return 0;
10526 }
10527 _ACEOF
10528 ac_clean_files_save=$ac_clean_files
10529 ac_clean_files="$ac_clean_files a.out a.exe b.out"
10530 # Try to create an executable without -o first, disregard a.out.
10531 # It will help us diagnose broken compilers, and finding out an intuition
10532 # of exeext.
10533 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10534 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10535 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10536 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10537 (eval $ac_link_default) 2>&5
10538 ac_status=$?
10539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10540 (exit $ac_status); }; then
10541 # Find the output, starting from the most likely. This scheme is
10542 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10543 # resort.
10544
10545 # Be careful to initialize this variable, since it used to be cached.
10546 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10547 ac_cv_exeext=
10548 # b.out is created by i960 compilers.
10549 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10550 do
10551 test -f "$ac_file" || continue
10552 case $ac_file in
10553 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10554 ;;
10555 conftest.$ac_ext )
10556 # This is the source file.
10557 ;;
10558 [ab].out )
10559 # We found the default executable, but exeext='' is most
10560 # certainly right.
10561 break;;
10562 *.* )
10563 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10564 # FIXME: I believe we export ac_cv_exeext for Libtool,
10565 # but it would be cool to find out if it's true. Does anybody
10566 # maintain Libtool? --akim.
10567 export ac_cv_exeext
10568 break;;
10569 * )
10570 break;;
10571 esac
10572 done
10573 else
10574 echo "$as_me: failed program was:" >&5
10575 sed 's/^/| /' conftest.$ac_ext >&5
10576
10577 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10578 See \`config.log' for more details." >&5
10579 echo "$as_me: error: C compiler cannot create executables
10580 See \`config.log' for more details." >&2;}
10581 { (exit 77); exit 77; }; }
10582 fi
10583
10584 ac_exeext=$ac_cv_exeext
10585 echo "$as_me:$LINENO: result: $ac_file" >&5
10586 echo "${ECHO_T}$ac_file" >&6
10587
10588 # Check the compiler produces executables we can run. If not, either
10589 # the compiler is broken, or we cross compile.
10590 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10591 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10592 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10593 # If not cross compiling, check that we can run a simple program.
10594 if test "$cross_compiling" != yes; then
10595 if { ac_try='./$ac_file'
10596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10597 (eval $ac_try) 2>&5
10598 ac_status=$?
10599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10600 (exit $ac_status); }; }; then
10601 cross_compiling=no
10602 else
10603 if test "$cross_compiling" = maybe; then
10604 cross_compiling=yes
10605 else
10606 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10607 If you meant to cross compile, use \`--host'.
10608 See \`config.log' for more details." >&5
10609 echo "$as_me: error: cannot run C compiled programs.
10610 If you meant to cross compile, use \`--host'.
10611 See \`config.log' for more details." >&2;}
10612 { (exit 1); exit 1; }; }
10613 fi
10614 fi
10615 fi
10616 echo "$as_me:$LINENO: result: yes" >&5
10617 echo "${ECHO_T}yes" >&6
10618
10619 rm -f a.out a.exe conftest$ac_cv_exeext b.out
10620 ac_clean_files=$ac_clean_files_save
10621 # Check the compiler produces executables we can run. If not, either
10622 # the compiler is broken, or we cross compile.
10623 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10624 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10625 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10626 echo "${ECHO_T}$cross_compiling" >&6
10627
10628 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10629 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10631 (eval $ac_link) 2>&5
10632 ac_status=$?
10633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10634 (exit $ac_status); }; then
10635 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10636 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10637 # work properly (i.e., refer to `conftest.exe'), while it won't with
10638 # `rm'.
10639 for ac_file in conftest.exe conftest conftest.*; do
10640 test -f "$ac_file" || continue
10641 case $ac_file in
10642 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10643 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10644 export ac_cv_exeext
10645 break;;
10646 * ) break;;
10647 esac
10648 done
10649 else
10650 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10651 See \`config.log' for more details." >&5
10652 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10653 See \`config.log' for more details." >&2;}
10654 { (exit 1); exit 1; }; }
10655 fi
10656
10657 rm -f conftest$ac_cv_exeext
10658 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10659 echo "${ECHO_T}$ac_cv_exeext" >&6
10660
10661 rm -f conftest.$ac_ext
10662 EXEEXT=$ac_cv_exeext
10663 ac_exeext=$EXEEXT
10664 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10665 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10666 if test "${ac_cv_objext+set}" = set; then
10667 echo $ECHO_N "(cached) $ECHO_C" >&6
10668 else
10669 cat >conftest.$ac_ext <<_ACEOF
10670 /* confdefs.h. */
10671 _ACEOF
10672 cat confdefs.h >>conftest.$ac_ext
10673 cat >>conftest.$ac_ext <<_ACEOF
10674 /* end confdefs.h. */
10675
10676 int
10677 main ()
10678 {
10679
10680 ;
10681 return 0;
10682 }
10683 _ACEOF
10684 rm -f conftest.o conftest.obj
10685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10686 (eval $ac_compile) 2>&5
10687 ac_status=$?
10688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10689 (exit $ac_status); }; then
10690 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10691 case $ac_file in
10692 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10693 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10694 break;;
10695 esac
10696 done
10697 else
10698 echo "$as_me: failed program was:" >&5
10699 sed 's/^/| /' conftest.$ac_ext >&5
10700
10701 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10702 See \`config.log' for more details." >&5
10703 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10704 See \`config.log' for more details." >&2;}
10705 { (exit 1); exit 1; }; }
10706 fi
10707
10708 rm -f conftest.$ac_cv_objext conftest.$ac_ext
10709 fi
10710 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10711 echo "${ECHO_T}$ac_cv_objext" >&6
10712 OBJEXT=$ac_cv_objext
10713 ac_objext=$OBJEXT
10714 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10715 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10716 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10717 echo $ECHO_N "(cached) $ECHO_C" >&6
10718 else
10719 cat >conftest.$ac_ext <<_ACEOF
10720 /* confdefs.h. */
10721 _ACEOF
10722 cat confdefs.h >>conftest.$ac_ext
10723 cat >>conftest.$ac_ext <<_ACEOF
10724 /* end confdefs.h. */
10725
10726 int
10727 main ()
10728 {
10729 #ifndef __GNUC__
10730 choke me
10731 #endif
10732
10733 ;
10734 return 0;
10735 }
10736 _ACEOF
10737 rm -f conftest.$ac_objext
10738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10739 (eval $ac_compile) 2>conftest.er1
10740 ac_status=$?
10741 grep -v '^ *+' conftest.er1 >conftest.err
10742 rm -f conftest.er1
10743 cat conftest.err >&5
10744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10745 (exit $ac_status); } &&
10746 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10748 (eval $ac_try) 2>&5
10749 ac_status=$?
10750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10751 (exit $ac_status); }; } &&
10752 { ac_try='test -s conftest.$ac_objext'
10753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10754 (eval $ac_try) 2>&5
10755 ac_status=$?
10756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10757 (exit $ac_status); }; }; then
10758 ac_compiler_gnu=yes
10759 else
10760 echo "$as_me: failed program was:" >&5
10761 sed 's/^/| /' conftest.$ac_ext >&5
10762
10763 ac_compiler_gnu=no
10764 fi
10765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10766 ac_cv_c_compiler_gnu=$ac_compiler_gnu
10767
10768 fi
10769 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10770 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10771 GCC=`test $ac_compiler_gnu = yes && echo yes`
10772 ac_test_CFLAGS=${CFLAGS+set}
10773 ac_save_CFLAGS=$CFLAGS
10774 CFLAGS="-g"
10775 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10776 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10777 if test "${ac_cv_prog_cc_g+set}" = set; then
10778 echo $ECHO_N "(cached) $ECHO_C" >&6
10779 else
10780 cat >conftest.$ac_ext <<_ACEOF
10781 /* confdefs.h. */
10782 _ACEOF
10783 cat confdefs.h >>conftest.$ac_ext
10784 cat >>conftest.$ac_ext <<_ACEOF
10785 /* end confdefs.h. */
10786
10787 int
10788 main ()
10789 {
10790
10791 ;
10792 return 0;
10793 }
10794 _ACEOF
10795 rm -f conftest.$ac_objext
10796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10797 (eval $ac_compile) 2>conftest.er1
10798 ac_status=$?
10799 grep -v '^ *+' conftest.er1 >conftest.err
10800 rm -f conftest.er1
10801 cat conftest.err >&5
10802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10803 (exit $ac_status); } &&
10804 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10806 (eval $ac_try) 2>&5
10807 ac_status=$?
10808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10809 (exit $ac_status); }; } &&
10810 { ac_try='test -s conftest.$ac_objext'
10811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10812 (eval $ac_try) 2>&5
10813 ac_status=$?
10814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10815 (exit $ac_status); }; }; then
10816 ac_cv_prog_cc_g=yes
10817 else
10818 echo "$as_me: failed program was:" >&5
10819 sed 's/^/| /' conftest.$ac_ext >&5
10820
10821 ac_cv_prog_cc_g=no
10822 fi
10823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10824 fi
10825 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10826 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10827 if test "$ac_test_CFLAGS" = set; then
10828 CFLAGS=$ac_save_CFLAGS
10829 elif test $ac_cv_prog_cc_g = yes; then
10830 if test "$GCC" = yes; then
10831 CFLAGS="-g -O2"
10832 else
10833 CFLAGS="-g"
10834 fi
10835 else
10836 if test "$GCC" = yes; then
10837 CFLAGS="-O2"
10838 else
10839 CFLAGS=
10840 fi
10841 fi
10842 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10843 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10844 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10845 echo $ECHO_N "(cached) $ECHO_C" >&6
10846 else
10847 ac_cv_prog_cc_stdc=no
10848 ac_save_CC=$CC
10849 cat >conftest.$ac_ext <<_ACEOF
10850 /* confdefs.h. */
10851 _ACEOF
10852 cat confdefs.h >>conftest.$ac_ext
10853 cat >>conftest.$ac_ext <<_ACEOF
10854 /* end confdefs.h. */
10855 #include <stdarg.h>
10856 #include <stdio.h>
10857 #include <sys/types.h>
10858 #include <sys/stat.h>
10859 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10860 struct buf { int x; };
10861 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10862 static char *e (p, i)
10863 char **p;
10864 int i;
10865 {
10866 return p[i];
10867 }
10868 static char *f (char * (*g) (char **, int), char **p, ...)
10869 {
10870 char *s;
10871 va_list v;
10872 va_start (v,p);
10873 s = g (p, va_arg (v,int));
10874 va_end (v);
10875 return s;
10876 }
10877
10878 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10879 function prototypes and stuff, but not '\xHH' hex character constants.
10880 These don't provoke an error unfortunately, instead are silently treated
10881 as 'x'. The following induces an error, until -std1 is added to get
10882 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
10883 array size at least. It's necessary to write '\x00'==0 to get something
10884 that's true only with -std1. */
10885 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
10886
10887 int test (int i, double x);
10888 struct s1 {int (*f) (int a);};
10889 struct s2 {int (*f) (double a);};
10890 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10891 int argc;
10892 char **argv;
10893 int
10894 main ()
10895 {
10896 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10897 ;
10898 return 0;
10899 }
10900 _ACEOF
10901 # Don't try gcc -ansi; that turns off useful extensions and
10902 # breaks some systems' header files.
10903 # AIX -qlanglvl=ansi
10904 # Ultrix and OSF/1 -std1
10905 # HP-UX 10.20 and later -Ae
10906 # HP-UX older versions -Aa -D_HPUX_SOURCE
10907 # SVR4 -Xc -D__EXTENSIONS__
10908 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10909 do
10910 CC="$ac_save_CC $ac_arg"
10911 rm -f conftest.$ac_objext
10912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10913 (eval $ac_compile) 2>conftest.er1
10914 ac_status=$?
10915 grep -v '^ *+' conftest.er1 >conftest.err
10916 rm -f conftest.er1
10917 cat conftest.err >&5
10918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10919 (exit $ac_status); } &&
10920 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10922 (eval $ac_try) 2>&5
10923 ac_status=$?
10924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10925 (exit $ac_status); }; } &&
10926 { ac_try='test -s conftest.$ac_objext'
10927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10928 (eval $ac_try) 2>&5
10929 ac_status=$?
10930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10931 (exit $ac_status); }; }; then
10932 ac_cv_prog_cc_stdc=$ac_arg
10933 break
10934 else
10935 echo "$as_me: failed program was:" >&5
10936 sed 's/^/| /' conftest.$ac_ext >&5
10937
10938 fi
10939 rm -f conftest.err conftest.$ac_objext
10940 done
10941 rm -f conftest.$ac_ext conftest.$ac_objext
10942 CC=$ac_save_CC
10943
10944 fi
10945
10946 case "x$ac_cv_prog_cc_stdc" in
10947 x|xno)
10948 echo "$as_me:$LINENO: result: none needed" >&5
10949 echo "${ECHO_T}none needed" >&6 ;;
10950 *)
10951 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10952 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10953 CC="$CC $ac_cv_prog_cc_stdc" ;;
10954 esac
10955
10956 # Some people use a C++ compiler to compile C. Since we use `exit',
10957 # in C++ we need to declare it. In case someone uses the same compiler
10958 # for both compiling C and C++ we need to have the C++ compiler decide
10959 # the declaration of exit, since it's the most demanding environment.
10960 cat >conftest.$ac_ext <<_ACEOF
10961 #ifndef __cplusplus
10962 choke me
10963 #endif
10964 _ACEOF
10965 rm -f conftest.$ac_objext
10966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10967 (eval $ac_compile) 2>conftest.er1
10968 ac_status=$?
10969 grep -v '^ *+' conftest.er1 >conftest.err
10970 rm -f conftest.er1
10971 cat conftest.err >&5
10972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10973 (exit $ac_status); } &&
10974 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10976 (eval $ac_try) 2>&5
10977 ac_status=$?
10978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10979 (exit $ac_status); }; } &&
10980 { ac_try='test -s conftest.$ac_objext'
10981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10982 (eval $ac_try) 2>&5
10983 ac_status=$?
10984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10985 (exit $ac_status); }; }; then
10986 for ac_declaration in \
10987 '' \
10988 'extern "C" void std::exit (int) throw (); using std::exit;' \
10989 'extern "C" void std::exit (int); using std::exit;' \
10990 'extern "C" void exit (int) throw ();' \
10991 'extern "C" void exit (int);' \
10992 'void exit (int);'
10993 do
10994 cat >conftest.$ac_ext <<_ACEOF
10995 /* confdefs.h. */
10996 _ACEOF
10997 cat confdefs.h >>conftest.$ac_ext
10998 cat >>conftest.$ac_ext <<_ACEOF
10999 /* end confdefs.h. */
11000 $ac_declaration
11001 #include <stdlib.h>
11002 int
11003 main ()
11004 {
11005 exit (42);
11006 ;
11007 return 0;
11008 }
11009 _ACEOF
11010 rm -f conftest.$ac_objext
11011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11012 (eval $ac_compile) 2>conftest.er1
11013 ac_status=$?
11014 grep -v '^ *+' conftest.er1 >conftest.err
11015 rm -f conftest.er1
11016 cat conftest.err >&5
11017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11018 (exit $ac_status); } &&
11019 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11021 (eval $ac_try) 2>&5
11022 ac_status=$?
11023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11024 (exit $ac_status); }; } &&
11025 { ac_try='test -s conftest.$ac_objext'
11026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11027 (eval $ac_try) 2>&5
11028 ac_status=$?
11029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11030 (exit $ac_status); }; }; then
11031 :
11032 else
11033 echo "$as_me: failed program was:" >&5
11034 sed 's/^/| /' conftest.$ac_ext >&5
11035
11036 continue
11037 fi
11038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
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 $ac_declaration
11046 int
11047 main ()
11048 {
11049 exit (42);
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 break
11076 else
11077 echo "$as_me: failed program was:" >&5
11078 sed 's/^/| /' conftest.$ac_ext >&5
11079
11080 fi
11081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11082 done
11083 rm -f conftest*
11084 if test -n "$ac_declaration"; then
11085 echo '#ifdef __cplusplus' >>confdefs.h
11086 echo $ac_declaration >>confdefs.h
11087 echo '#endif' >>confdefs.h
11088 fi
11089
11090 else
11091 echo "$as_me: failed program was:" >&5
11092 sed 's/^/| /' conftest.$ac_ext >&5
11093
11094 fi
11095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11096 ac_ext=c
11097 ac_cpp='$CPP $CPPFLAGS'
11098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11101
11102
11103
11104 ac_ext=c
11105 ac_cpp='$CPP $CPPFLAGS'
11106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11109 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11110 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11111 # On Suns, sometimes $CPP names a directory.
11112 if test -n "$CPP" && test -d "$CPP"; then
11113 CPP=
11114 fi
11115 if test -z "$CPP"; then
11116 if test "${ac_cv_prog_CPP+set}" = set; then
11117 echo $ECHO_N "(cached) $ECHO_C" >&6
11118 else
11119 # Double quotes because CPP needs to be expanded
11120 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11121 do
11122 ac_preproc_ok=false
11123 for ac_c_preproc_warn_flag in '' yes
11124 do
11125 # Use a header file that comes with gcc, so configuring glibc
11126 # with a fresh cross-compiler works.
11127 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11128 # <limits.h> exists even on freestanding compilers.
11129 # On the NeXT, cc -E runs the code through the compiler's parser,
11130 # not just through cpp. "Syntax error" is here to catch this case.
11131 cat >conftest.$ac_ext <<_ACEOF
11132 /* confdefs.h. */
11133 _ACEOF
11134 cat confdefs.h >>conftest.$ac_ext
11135 cat >>conftest.$ac_ext <<_ACEOF
11136 /* end confdefs.h. */
11137 #ifdef __STDC__
11138 # include <limits.h>
11139 #else
11140 # include <assert.h>
11141 #endif
11142 Syntax error
11143 _ACEOF
11144 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11145 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11146 ac_status=$?
11147 grep -v '^ *+' conftest.er1 >conftest.err
11148 rm -f conftest.er1
11149 cat conftest.err >&5
11150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11151 (exit $ac_status); } >/dev/null; then
11152 if test -s conftest.err; then
11153 ac_cpp_err=$ac_c_preproc_warn_flag
11154 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11155 else
11156 ac_cpp_err=
11157 fi
11158 else
11159 ac_cpp_err=yes
11160 fi
11161 if test -z "$ac_cpp_err"; then
11162 :
11163 else
11164 echo "$as_me: failed program was:" >&5
11165 sed 's/^/| /' conftest.$ac_ext >&5
11166
11167 # Broken: fails on valid input.
11168 continue
11169 fi
11170 rm -f conftest.err conftest.$ac_ext
11171
11172 # OK, works on sane cases. Now check whether non-existent headers
11173 # can be detected and how.
11174 cat >conftest.$ac_ext <<_ACEOF
11175 /* confdefs.h. */
11176 _ACEOF
11177 cat confdefs.h >>conftest.$ac_ext
11178 cat >>conftest.$ac_ext <<_ACEOF
11179 /* end confdefs.h. */
11180 #include <ac_nonexistent.h>
11181 _ACEOF
11182 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11183 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11184 ac_status=$?
11185 grep -v '^ *+' conftest.er1 >conftest.err
11186 rm -f conftest.er1
11187 cat conftest.err >&5
11188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11189 (exit $ac_status); } >/dev/null; then
11190 if test -s conftest.err; then
11191 ac_cpp_err=$ac_c_preproc_warn_flag
11192 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11193 else
11194 ac_cpp_err=
11195 fi
11196 else
11197 ac_cpp_err=yes
11198 fi
11199 if test -z "$ac_cpp_err"; then
11200 # Broken: success on invalid input.
11201 continue
11202 else
11203 echo "$as_me: failed program was:" >&5
11204 sed 's/^/| /' conftest.$ac_ext >&5
11205
11206 # Passes both tests.
11207 ac_preproc_ok=:
11208 break
11209 fi
11210 rm -f conftest.err conftest.$ac_ext
11211
11212 done
11213 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11214 rm -f conftest.err conftest.$ac_ext
11215 if $ac_preproc_ok; then
11216 break
11217 fi
11218
11219 done
11220 ac_cv_prog_CPP=$CPP
11221
11222 fi
11223 CPP=$ac_cv_prog_CPP
11224 else
11225 ac_cv_prog_CPP=$CPP
11226 fi
11227 echo "$as_me:$LINENO: result: $CPP" >&5
11228 echo "${ECHO_T}$CPP" >&6
11229 ac_preproc_ok=false
11230 for ac_c_preproc_warn_flag in '' yes
11231 do
11232 # Use a header file that comes with gcc, so configuring glibc
11233 # with a fresh cross-compiler works.
11234 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11235 # <limits.h> exists even on freestanding compilers.
11236 # On the NeXT, cc -E runs the code through the compiler's parser,
11237 # not just through cpp. "Syntax error" is here to catch this case.
11238 cat >conftest.$ac_ext <<_ACEOF
11239 /* confdefs.h. */
11240 _ACEOF
11241 cat confdefs.h >>conftest.$ac_ext
11242 cat >>conftest.$ac_ext <<_ACEOF
11243 /* end confdefs.h. */
11244 #ifdef __STDC__
11245 # include <limits.h>
11246 #else
11247 # include <assert.h>
11248 #endif
11249 Syntax error
11250 _ACEOF
11251 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11252 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11253 ac_status=$?
11254 grep -v '^ *+' conftest.er1 >conftest.err
11255 rm -f conftest.er1
11256 cat conftest.err >&5
11257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11258 (exit $ac_status); } >/dev/null; then
11259 if test -s conftest.err; then
11260 ac_cpp_err=$ac_c_preproc_warn_flag
11261 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11262 else
11263 ac_cpp_err=
11264 fi
11265 else
11266 ac_cpp_err=yes
11267 fi
11268 if test -z "$ac_cpp_err"; then
11269 :
11270 else
11271 echo "$as_me: failed program was:" >&5
11272 sed 's/^/| /' conftest.$ac_ext >&5
11273
11274 # Broken: fails on valid input.
11275 continue
11276 fi
11277 rm -f conftest.err conftest.$ac_ext
11278
11279 # OK, works on sane cases. Now check whether non-existent headers
11280 # can be detected and how.
11281 cat >conftest.$ac_ext <<_ACEOF
11282 /* confdefs.h. */
11283 _ACEOF
11284 cat confdefs.h >>conftest.$ac_ext
11285 cat >>conftest.$ac_ext <<_ACEOF
11286 /* end confdefs.h. */
11287 #include <ac_nonexistent.h>
11288 _ACEOF
11289 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11290 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11291 ac_status=$?
11292 grep -v '^ *+' conftest.er1 >conftest.err
11293 rm -f conftest.er1
11294 cat conftest.err >&5
11295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11296 (exit $ac_status); } >/dev/null; then
11297 if test -s conftest.err; then
11298 ac_cpp_err=$ac_c_preproc_warn_flag
11299 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11300 else
11301 ac_cpp_err=
11302 fi
11303 else
11304 ac_cpp_err=yes
11305 fi
11306 if test -z "$ac_cpp_err"; then
11307 # Broken: success on invalid input.
11308 continue
11309 else
11310 echo "$as_me: failed program was:" >&5
11311 sed 's/^/| /' conftest.$ac_ext >&5
11312
11313 # Passes both tests.
11314 ac_preproc_ok=:
11315 break
11316 fi
11317 rm -f conftest.err conftest.$ac_ext
11318
11319 done
11320 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11321 rm -f conftest.err conftest.$ac_ext
11322 if $ac_preproc_ok; then
11323 :
11324 else
11325 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11326 See \`config.log' for more details." >&5
11327 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11328 See \`config.log' for more details." >&2;}
11329 { (exit 1); exit 1; }; }
11330 fi
11331
11332 ac_ext=c
11333 ac_cpp='$CPP $CPPFLAGS'
11334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11337
11338
11339 echo "$as_me:$LINENO: checking for egrep" >&5
11340 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11341 if test "${ac_cv_prog_egrep+set}" = set; then
11342 echo $ECHO_N "(cached) $ECHO_C" >&6
11343 else
11344 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
11345 then ac_cv_prog_egrep='grep -E'
11346 else ac_cv_prog_egrep='egrep'
11347 fi
11348 fi
11349 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11350 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11351 EGREP=$ac_cv_prog_egrep
11352
11353
11354 if test $ac_cv_c_compiler_gnu = yes; then
11355 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11356 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11357 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11358 echo $ECHO_N "(cached) $ECHO_C" >&6
11359 else
11360 ac_pattern="Autoconf.*'x'"
11361 cat >conftest.$ac_ext <<_ACEOF
11362 /* confdefs.h. */
11363 _ACEOF
11364 cat confdefs.h >>conftest.$ac_ext
11365 cat >>conftest.$ac_ext <<_ACEOF
11366 /* end confdefs.h. */
11367 #include <sgtty.h>
11368 Autoconf TIOCGETP
11369 _ACEOF
11370 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11371 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11372 ac_cv_prog_gcc_traditional=yes
11373 else
11374 ac_cv_prog_gcc_traditional=no
11375 fi
11376 rm -f conftest*
11377
11378
11379 if test $ac_cv_prog_gcc_traditional = no; then
11380 cat >conftest.$ac_ext <<_ACEOF
11381 /* confdefs.h. */
11382 _ACEOF
11383 cat confdefs.h >>conftest.$ac_ext
11384 cat >>conftest.$ac_ext <<_ACEOF
11385 /* end confdefs.h. */
11386 #include <termio.h>
11387 Autoconf TCGETA
11388 _ACEOF
11389 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11390 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11391 ac_cv_prog_gcc_traditional=yes
11392 fi
11393 rm -f conftest*
11394
11395 fi
11396 fi
11397 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11398 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11399 if test $ac_cv_prog_gcc_traditional = yes; then
11400 CC="$CC -traditional"
11401 fi
11402 fi
11403
11404
11405
11406
11407 ac_ext=cc
11408 ac_cpp='$CXXCPP $CPPFLAGS'
11409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11412
11413
11414 CXXFLAGS=${CXXFLAGS:=}
11415 ac_ext=cc
11416 ac_cpp='$CXXCPP $CPPFLAGS'
11417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11420 if test -n "$ac_tool_prefix"; then
11421 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11422 do
11423 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11424 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11425 echo "$as_me:$LINENO: checking for $ac_word" >&5
11426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11427 if test "${ac_cv_prog_CXX+set}" = set; then
11428 echo $ECHO_N "(cached) $ECHO_C" >&6
11429 else
11430 if test -n "$CXX"; then
11431 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11432 else
11433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11434 for as_dir in $PATH
11435 do
11436 IFS=$as_save_IFS
11437 test -z "$as_dir" && as_dir=.
11438 for ac_exec_ext in '' $ac_executable_extensions; do
11439 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11440 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11442 break 2
11443 fi
11444 done
11445 done
11446
11447 fi
11448 fi
11449 CXX=$ac_cv_prog_CXX
11450 if test -n "$CXX"; then
11451 echo "$as_me:$LINENO: result: $CXX" >&5
11452 echo "${ECHO_T}$CXX" >&6
11453 else
11454 echo "$as_me:$LINENO: result: no" >&5
11455 echo "${ECHO_T}no" >&6
11456 fi
11457
11458 test -n "$CXX" && break
11459 done
11460 fi
11461 if test -z "$CXX"; then
11462 ac_ct_CXX=$CXX
11463 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11464 do
11465 # Extract the first word of "$ac_prog", so it can be a program name with args.
11466 set dummy $ac_prog; ac_word=$2
11467 echo "$as_me:$LINENO: checking for $ac_word" >&5
11468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11469 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11470 echo $ECHO_N "(cached) $ECHO_C" >&6
11471 else
11472 if test -n "$ac_ct_CXX"; then
11473 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11474 else
11475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11476 for as_dir in $PATH
11477 do
11478 IFS=$as_save_IFS
11479 test -z "$as_dir" && as_dir=.
11480 for ac_exec_ext in '' $ac_executable_extensions; do
11481 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11482 ac_cv_prog_ac_ct_CXX="$ac_prog"
11483 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11484 break 2
11485 fi
11486 done
11487 done
11488
11489 fi
11490 fi
11491 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11492 if test -n "$ac_ct_CXX"; then
11493 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11494 echo "${ECHO_T}$ac_ct_CXX" >&6
11495 else
11496 echo "$as_me:$LINENO: result: no" >&5
11497 echo "${ECHO_T}no" >&6
11498 fi
11499
11500 test -n "$ac_ct_CXX" && break
11501 done
11502 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
11503
11504 CXX=$ac_ct_CXX
11505 fi
11506
11507
11508 # Provide some information about the compiler.
11509 echo "$as_me:$LINENO:" \
11510 "checking for C++ compiler version" >&5
11511 ac_compiler=`set X $ac_compile; echo $2`
11512 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11513 (eval $ac_compiler --version </dev/null >&5) 2>&5
11514 ac_status=$?
11515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11516 (exit $ac_status); }
11517 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11518 (eval $ac_compiler -v </dev/null >&5) 2>&5
11519 ac_status=$?
11520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11521 (exit $ac_status); }
11522 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11523 (eval $ac_compiler -V </dev/null >&5) 2>&5
11524 ac_status=$?
11525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11526 (exit $ac_status); }
11527
11528 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11529 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11530 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11531 echo $ECHO_N "(cached) $ECHO_C" >&6
11532 else
11533 cat >conftest.$ac_ext <<_ACEOF
11534 /* confdefs.h. */
11535 _ACEOF
11536 cat confdefs.h >>conftest.$ac_ext
11537 cat >>conftest.$ac_ext <<_ACEOF
11538 /* end confdefs.h. */
11539
11540 int
11541 main ()
11542 {
11543 #ifndef __GNUC__
11544 choke me
11545 #endif
11546
11547 ;
11548 return 0;
11549 }
11550 _ACEOF
11551 rm -f conftest.$ac_objext
11552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11553 (eval $ac_compile) 2>conftest.er1
11554 ac_status=$?
11555 grep -v '^ *+' conftest.er1 >conftest.err
11556 rm -f conftest.er1
11557 cat conftest.err >&5
11558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11559 (exit $ac_status); } &&
11560 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11562 (eval $ac_try) 2>&5
11563 ac_status=$?
11564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11565 (exit $ac_status); }; } &&
11566 { ac_try='test -s conftest.$ac_objext'
11567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11568 (eval $ac_try) 2>&5
11569 ac_status=$?
11570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11571 (exit $ac_status); }; }; then
11572 ac_compiler_gnu=yes
11573 else
11574 echo "$as_me: failed program was:" >&5
11575 sed 's/^/| /' conftest.$ac_ext >&5
11576
11577 ac_compiler_gnu=no
11578 fi
11579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11580 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11581
11582 fi
11583 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11584 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11585 GXX=`test $ac_compiler_gnu = yes && echo yes`
11586 ac_test_CXXFLAGS=${CXXFLAGS+set}
11587 ac_save_CXXFLAGS=$CXXFLAGS
11588 CXXFLAGS="-g"
11589 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11590 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11591 if test "${ac_cv_prog_cxx_g+set}" = set; then
11592 echo $ECHO_N "(cached) $ECHO_C" >&6
11593 else
11594 cat >conftest.$ac_ext <<_ACEOF
11595 /* confdefs.h. */
11596 _ACEOF
11597 cat confdefs.h >>conftest.$ac_ext
11598 cat >>conftest.$ac_ext <<_ACEOF
11599 /* end confdefs.h. */
11600
11601 int
11602 main ()
11603 {
11604
11605 ;
11606 return 0;
11607 }
11608 _ACEOF
11609 rm -f conftest.$ac_objext
11610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11611 (eval $ac_compile) 2>conftest.er1
11612 ac_status=$?
11613 grep -v '^ *+' conftest.er1 >conftest.err
11614 rm -f conftest.er1
11615 cat conftest.err >&5
11616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11617 (exit $ac_status); } &&
11618 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11620 (eval $ac_try) 2>&5
11621 ac_status=$?
11622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11623 (exit $ac_status); }; } &&
11624 { ac_try='test -s conftest.$ac_objext'
11625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11626 (eval $ac_try) 2>&5
11627 ac_status=$?
11628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11629 (exit $ac_status); }; }; then
11630 ac_cv_prog_cxx_g=yes
11631 else
11632 echo "$as_me: failed program was:" >&5
11633 sed 's/^/| /' conftest.$ac_ext >&5
11634
11635 ac_cv_prog_cxx_g=no
11636 fi
11637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11638 fi
11639 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11640 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11641 if test "$ac_test_CXXFLAGS" = set; then
11642 CXXFLAGS=$ac_save_CXXFLAGS
11643 elif test $ac_cv_prog_cxx_g = yes; then
11644 if test "$GXX" = yes; then
11645 CXXFLAGS="-g -O2"
11646 else
11647 CXXFLAGS="-g"
11648 fi
11649 else
11650 if test "$GXX" = yes; then
11651 CXXFLAGS="-O2"
11652 else
11653 CXXFLAGS=
11654 fi
11655 fi
11656 for ac_declaration in \
11657 '' \
11658 'extern "C" void std::exit (int) throw (); using std::exit;' \
11659 'extern "C" void std::exit (int); using std::exit;' \
11660 'extern "C" void exit (int) throw ();' \
11661 'extern "C" void exit (int);' \
11662 'void exit (int);'
11663 do
11664 cat >conftest.$ac_ext <<_ACEOF
11665 /* confdefs.h. */
11666 _ACEOF
11667 cat confdefs.h >>conftest.$ac_ext
11668 cat >>conftest.$ac_ext <<_ACEOF
11669 /* end confdefs.h. */
11670 $ac_declaration
11671 #include <stdlib.h>
11672 int
11673 main ()
11674 {
11675 exit (42);
11676 ;
11677 return 0;
11678 }
11679 _ACEOF
11680 rm -f conftest.$ac_objext
11681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11682 (eval $ac_compile) 2>conftest.er1
11683 ac_status=$?
11684 grep -v '^ *+' conftest.er1 >conftest.err
11685 rm -f conftest.er1
11686 cat conftest.err >&5
11687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11688 (exit $ac_status); } &&
11689 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11691 (eval $ac_try) 2>&5
11692 ac_status=$?
11693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11694 (exit $ac_status); }; } &&
11695 { ac_try='test -s conftest.$ac_objext'
11696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11697 (eval $ac_try) 2>&5
11698 ac_status=$?
11699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11700 (exit $ac_status); }; }; then
11701 :
11702 else
11703 echo "$as_me: failed program was:" >&5
11704 sed 's/^/| /' conftest.$ac_ext >&5
11705
11706 continue
11707 fi
11708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11709 cat >conftest.$ac_ext <<_ACEOF
11710 /* confdefs.h. */
11711 _ACEOF
11712 cat confdefs.h >>conftest.$ac_ext
11713 cat >>conftest.$ac_ext <<_ACEOF
11714 /* end confdefs.h. */
11715 $ac_declaration
11716 int
11717 main ()
11718 {
11719 exit (42);
11720 ;
11721 return 0;
11722 }
11723 _ACEOF
11724 rm -f conftest.$ac_objext
11725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11726 (eval $ac_compile) 2>conftest.er1
11727 ac_status=$?
11728 grep -v '^ *+' conftest.er1 >conftest.err
11729 rm -f conftest.er1
11730 cat conftest.err >&5
11731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11732 (exit $ac_status); } &&
11733 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11735 (eval $ac_try) 2>&5
11736 ac_status=$?
11737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11738 (exit $ac_status); }; } &&
11739 { ac_try='test -s conftest.$ac_objext'
11740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11741 (eval $ac_try) 2>&5
11742 ac_status=$?
11743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11744 (exit $ac_status); }; }; then
11745 break
11746 else
11747 echo "$as_me: failed program was:" >&5
11748 sed 's/^/| /' conftest.$ac_ext >&5
11749
11750 fi
11751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11752 done
11753 rm -f conftest*
11754 if test -n "$ac_declaration"; then
11755 echo '#ifdef __cplusplus' >>confdefs.h
11756 echo $ac_declaration >>confdefs.h
11757 echo '#endif' >>confdefs.h
11758 fi
11759
11760 ac_ext=cc
11761 ac_cpp='$CXXCPP $CPPFLAGS'
11762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11765
11766
11767 ac_ext=c
11768 ac_cpp='$CPP $CPPFLAGS'
11769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11772
11773
11774 if test -n "$ac_tool_prefix"; then
11775 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11776 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11777 echo "$as_me:$LINENO: checking for $ac_word" >&5
11778 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11779 if test "${ac_cv_prog_RANLIB+set}" = set; then
11780 echo $ECHO_N "(cached) $ECHO_C" >&6
11781 else
11782 if test -n "$RANLIB"; then
11783 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11784 else
11785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11786 for as_dir in $PATH
11787 do
11788 IFS=$as_save_IFS
11789 test -z "$as_dir" && as_dir=.
11790 for ac_exec_ext in '' $ac_executable_extensions; do
11791 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11792 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11793 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11794 break 2
11795 fi
11796 done
11797 done
11798
11799 fi
11800 fi
11801 RANLIB=$ac_cv_prog_RANLIB
11802 if test -n "$RANLIB"; then
11803 echo "$as_me:$LINENO: result: $RANLIB" >&5
11804 echo "${ECHO_T}$RANLIB" >&6
11805 else
11806 echo "$as_me:$LINENO: result: no" >&5
11807 echo "${ECHO_T}no" >&6
11808 fi
11809
11810 fi
11811 if test -z "$ac_cv_prog_RANLIB"; then
11812 ac_ct_RANLIB=$RANLIB
11813 # Extract the first word of "ranlib", so it can be a program name with args.
11814 set dummy ranlib; ac_word=$2
11815 echo "$as_me:$LINENO: checking for $ac_word" >&5
11816 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11817 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11818 echo $ECHO_N "(cached) $ECHO_C" >&6
11819 else
11820 if test -n "$ac_ct_RANLIB"; then
11821 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11822 else
11823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11824 for as_dir in $PATH
11825 do
11826 IFS=$as_save_IFS
11827 test -z "$as_dir" && as_dir=.
11828 for ac_exec_ext in '' $ac_executable_extensions; do
11829 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11830 ac_cv_prog_ac_ct_RANLIB="ranlib"
11831 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11832 break 2
11833 fi
11834 done
11835 done
11836
11837 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11838 fi
11839 fi
11840 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11841 if test -n "$ac_ct_RANLIB"; then
11842 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11843 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11844 else
11845 echo "$as_me:$LINENO: result: no" >&5
11846 echo "${ECHO_T}no" >&6
11847 fi
11848
11849 RANLIB=$ac_ct_RANLIB
11850 else
11851 RANLIB="$ac_cv_prog_RANLIB"
11852 fi
11853
11854
11855 # Extract the first word of "ar", so it can be a program name with args.
11856 set dummy ar; ac_word=$2
11857 echo "$as_me:$LINENO: checking for $ac_word" >&5
11858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11859 if test "${ac_cv_prog_AR+set}" = set; then
11860 echo $ECHO_N "(cached) $ECHO_C" >&6
11861 else
11862 if test -n "$AR"; then
11863 ac_cv_prog_AR="$AR" # Let the user override the test.
11864 else
11865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11866 for as_dir in $PATH
11867 do
11868 IFS=$as_save_IFS
11869 test -z "$as_dir" && as_dir=.
11870 for ac_exec_ext in '' $ac_executable_extensions; do
11871 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11872 ac_cv_prog_AR="ar"
11873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11874 break 2
11875 fi
11876 done
11877 done
11878
11879 fi
11880 fi
11881 AR=$ac_cv_prog_AR
11882 if test -n "$AR"; then
11883 echo "$as_me:$LINENO: result: $AR" >&5
11884 echo "${ECHO_T}$AR" >&6
11885 else
11886 echo "$as_me:$LINENO: result: no" >&5
11887 echo "${ECHO_T}no" >&6
11888 fi
11889
11890 if test "x$AR" = "x" ; then
11891 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
11892 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
11893 { (exit 1); exit 1; }; }
11894 fi
11895
11896 # Find a good install program. We prefer a C program (faster),
11897 # so one script is as good as another. But avoid the broken or
11898 # incompatible versions:
11899 # SysV /etc/install, /usr/sbin/install
11900 # SunOS /usr/etc/install
11901 # IRIX /sbin/install
11902 # AIX /bin/install
11903 # AmigaOS /C/install, which installs bootblocks on floppy discs
11904 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11905 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11906 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11907 # OS/2's system install, which has a completely different semantic
11908 # ./install, which can be erroneously created by make from ./install.sh.
11909 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11910 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11911 if test -z "$INSTALL"; then
11912 if test "${ac_cv_path_install+set}" = set; then
11913 echo $ECHO_N "(cached) $ECHO_C" >&6
11914 else
11915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11916 for as_dir in $PATH
11917 do
11918 IFS=$as_save_IFS
11919 test -z "$as_dir" && as_dir=.
11920 # Account for people who put trailing slashes in PATH elements.
11921 case $as_dir/ in
11922 ./ | .// | /cC/* | \
11923 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11924 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
11925 /usr/ucb/* ) ;;
11926 *)
11927 # OSF1 and SCO ODT 3.0 have their own names for install.
11928 # Don't use installbsd from OSF since it installs stuff as root
11929 # by default.
11930 for ac_prog in ginstall scoinst install; do
11931 for ac_exec_ext in '' $ac_executable_extensions; do
11932 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11933 if test $ac_prog = install &&
11934 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11935 # AIX install. It has an incompatible calling convention.
11936 :
11937 elif test $ac_prog = install &&
11938 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11939 # program-specific install script used by HP pwplus--don't use.
11940 :
11941 else
11942 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11943 break 3
11944 fi
11945 fi
11946 done
11947 done
11948 ;;
11949 esac
11950 done
11951
11952
11953 fi
11954 if test "${ac_cv_path_install+set}" = set; then
11955 INSTALL=$ac_cv_path_install
11956 else
11957 # As a last resort, use the slow shell script. We don't cache a
11958 # path for INSTALL within a source directory, because that will
11959 # break other packages using the cache if that directory is
11960 # removed, or if the path is relative.
11961 INSTALL=$ac_install_sh
11962 fi
11963 fi
11964 echo "$as_me:$LINENO: result: $INSTALL" >&5
11965 echo "${ECHO_T}$INSTALL" >&6
11966
11967 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11968 # It thinks the first close brace ends the variable substitution.
11969 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11970
11971 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11972
11973 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11974
11975
11976 case ${INSTALL} in
11977 /* ) # Absolute
11978 ;;
11979 ?:* ) # Drive letter, considered as absolute.
11980 ;;
11981 *)
11982 INSTALL=`pwd`/${INSTALL} ;;
11983 esac
11984
11985 case ${host} in
11986 *-hp-hpux* )
11987 INSTALL_DIR="mkdir"
11988 ;;
11989
11990 *) INSTALL_DIR="$INSTALL -d"
11991 ;;
11992 esac
11993
11994
11995 case "${host}" in
11996
11997 powerpc-*-darwin* )
11998 INSTALL_PROGRAM="cp -fp"
11999 INSTALL_DATA="cp -fp"
12000 ;;
12001 *)
12002 ;;
12003 esac
12004
12005 # Extract the first word of "strip", so it can be a program name with args.
12006 set dummy strip; ac_word=$2
12007 echo "$as_me:$LINENO: checking for $ac_word" >&5
12008 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12009 if test "${ac_cv_prog_STRIP+set}" = set; then
12010 echo $ECHO_N "(cached) $ECHO_C" >&6
12011 else
12012 if test -n "$STRIP"; then
12013 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
12014 else
12015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12016 for as_dir in $PATH
12017 do
12018 IFS=$as_save_IFS
12019 test -z "$as_dir" && as_dir=.
12020 for ac_exec_ext in '' $ac_executable_extensions; do
12021 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12022 ac_cv_prog_STRIP="strip"
12023 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12024 break 2
12025 fi
12026 done
12027 done
12028
12029 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
12030 fi
12031 fi
12032 STRIP=$ac_cv_prog_STRIP
12033 if test -n "$STRIP"; then
12034 echo "$as_me:$LINENO: result: $STRIP" >&5
12035 echo "${ECHO_T}$STRIP" >&6
12036 else
12037 echo "$as_me:$LINENO: result: no" >&5
12038 echo "${ECHO_T}no" >&6
12039 fi
12040
12041
12042 echo "$as_me:$LINENO: checking if make is GNU make" >&5
12043 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12044 if test "${wx_cv_prog_makeisgnu+set}" = set; then
12045 echo $ECHO_N "(cached) $ECHO_C" >&6
12046 else
12047
12048 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
12049 egrep -s GNU > /dev/null); then
12050 wx_cv_prog_makeisgnu="yes"
12051 else
12052 wx_cv_prog_makeisgnu="no"
12053 fi
12054
12055 fi
12056 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12057 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12058
12059 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12060 IF_GNU_MAKE=""
12061 else
12062 IF_GNU_MAKE="#"
12063 fi
12064
12065
12066
12067 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12068 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12069 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12070 if test "${wx_cv_prog_makevpath+set}" = set; then
12071 echo $ECHO_N "(cached) $ECHO_C" >&6
12072 else
12073
12074 cat - << EOF > confMake
12075 check : file
12076 cp \$? \$@
12077 cp \$? final_file
12078 EOF
12079
12080 if test ! -d sub ; then
12081 mkdir sub
12082 fi
12083 echo dummy > sub/file
12084 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
12085 RESULT=$?
12086 rm -f sub/file check final_file confMake
12087 rmdir sub
12088 if test "$RESULT" = 0; then
12089 wx_cv_prog_makevpath="yes"
12090 else
12091 wx_cv_prog_makevpath="no"
12092 fi
12093
12094 fi
12095 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12096 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12097
12098 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12099 { { echo "$as_me:$LINENO: error:
12100 You need a make-utility that is able to use the variable
12101 VPATH correctly.
12102 If your version of make does not support VPATH correctly,
12103 please install GNU-make (possibly as gmake), and start
12104 configure with the following command:
12105 export MAKE=gmake; ./configure for sh-type shells
12106 setenv MAKE gmake; ./configure for csh-type shells
12107 Also please do remember to use gmake in this case every time
12108 you are trying to compile.
12109 " >&5
12110 echo "$as_me: error:
12111 You need a make-utility that is able to use the variable
12112 VPATH correctly.
12113 If your version of make does not support VPATH correctly,
12114 please install GNU-make (possibly as gmake), and start
12115 configure with the following command:
12116 export MAKE=gmake; ./configure for sh-type shells
12117 setenv MAKE gmake; ./configure for csh-type shells
12118 Also please do remember to use gmake in this case every time
12119 you are trying to compile.
12120 " >&2;}
12121 { (exit 1); exit 1; }; }
12122 fi fi
12123 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12124 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12125 LN_S=$as_ln_s
12126 if test "$LN_S" = "ln -s"; then
12127 echo "$as_me:$LINENO: result: yes" >&5
12128 echo "${ECHO_T}yes" >&6
12129 else
12130 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12131 echo "${ECHO_T}no, using $LN_S" >&6
12132 fi
12133
12134
12135
12136 case "${host}" in
12137 *-pc-os2_emx | *-pc-os2-emx )
12138 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12139 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12140 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12141 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12142 echo $ECHO_N "(cached) $ECHO_C" >&6
12143 else
12144 ac_check_lib_save_LIBS=$LIBS
12145 LIBS="-lcExt $LIBS"
12146 cat >conftest.$ac_ext <<_ACEOF
12147 /* confdefs.h. */
12148 _ACEOF
12149 cat confdefs.h >>conftest.$ac_ext
12150 cat >>conftest.$ac_ext <<_ACEOF
12151 /* end confdefs.h. */
12152
12153 /* Override any gcc2 internal prototype to avoid an error. */
12154 #ifdef __cplusplus
12155 extern "C"
12156 #endif
12157 /* We use char because int might match the return type of a gcc2
12158 builtin and then its argument prototype would still apply. */
12159 char drand48 ();
12160 int
12161 main ()
12162 {
12163 drand48 ();
12164 ;
12165 return 0;
12166 }
12167 _ACEOF
12168 rm -f conftest.$ac_objext conftest$ac_exeext
12169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12170 (eval $ac_link) 2>conftest.er1
12171 ac_status=$?
12172 grep -v '^ *+' conftest.er1 >conftest.err
12173 rm -f conftest.er1
12174 cat conftest.err >&5
12175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12176 (exit $ac_status); } &&
12177 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12179 (eval $ac_try) 2>&5
12180 ac_status=$?
12181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12182 (exit $ac_status); }; } &&
12183 { ac_try='test -s conftest$ac_exeext'
12184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12185 (eval $ac_try) 2>&5
12186 ac_status=$?
12187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12188 (exit $ac_status); }; }; then
12189 ac_cv_lib_cExt_drand48=yes
12190 else
12191 echo "$as_me: failed program was:" >&5
12192 sed 's/^/| /' conftest.$ac_ext >&5
12193
12194 ac_cv_lib_cExt_drand48=no
12195 fi
12196 rm -f conftest.err conftest.$ac_objext \
12197 conftest$ac_exeext conftest.$ac_ext
12198 LIBS=$ac_check_lib_save_LIBS
12199 fi
12200 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12201 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12202 if test $ac_cv_lib_cExt_drand48 = yes; then
12203 LIBS="$LIBS -lcExt"
12204 fi
12205
12206 else
12207 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
12208 fi
12209 echo "$as_me:$LINENO: checking for gcc version" >&5
12210 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12211 if test "${wx_cv_gccversion+set}" = set; then
12212 echo $ECHO_N "(cached) $ECHO_C" >&6
12213 else
12214
12215 cat >conftest.$ac_ext <<_ACEOF
12216 /* confdefs.h. */
12217 _ACEOF
12218 cat confdefs.h >>conftest.$ac_ext
12219 cat >>conftest.$ac_ext <<_ACEOF
12220 /* end confdefs.h. */
12221
12222 int
12223 main ()
12224 {
12225
12226 #if (__GNUC__ < 3)
12227 #error old gcc
12228 #endif
12229
12230 ;
12231 return 0;
12232 }
12233 _ACEOF
12234 rm -f conftest.$ac_objext
12235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12236 (eval $ac_compile) 2>conftest.er1
12237 ac_status=$?
12238 grep -v '^ *+' conftest.er1 >conftest.err
12239 rm -f conftest.er1
12240 cat conftest.err >&5
12241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12242 (exit $ac_status); } &&
12243 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12245 (eval $ac_try) 2>&5
12246 ac_status=$?
12247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12248 (exit $ac_status); }; } &&
12249 { ac_try='test -s conftest.$ac_objext'
12250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12251 (eval $ac_try) 2>&5
12252 ac_status=$?
12253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12254 (exit $ac_status); }; }; then
12255
12256 cat >conftest.$ac_ext <<_ACEOF
12257 /* confdefs.h. */
12258 _ACEOF
12259 cat confdefs.h >>conftest.$ac_ext
12260 cat >>conftest.$ac_ext <<_ACEOF
12261 /* end confdefs.h. */
12262
12263 int
12264 main ()
12265 {
12266
12267 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12268 #error intermediate gcc
12269 #endif
12270
12271 ;
12272 return 0;
12273 }
12274 _ACEOF
12275 rm -f conftest.$ac_objext
12276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12277 (eval $ac_compile) 2>conftest.er1
12278 ac_status=$?
12279 grep -v '^ *+' conftest.er1 >conftest.err
12280 rm -f conftest.er1
12281 cat conftest.err >&5
12282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12283 (exit $ac_status); } &&
12284 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12286 (eval $ac_try) 2>&5
12287 ac_status=$?
12288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12289 (exit $ac_status); }; } &&
12290 { ac_try='test -s conftest.$ac_objext'
12291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12292 (eval $ac_try) 2>&5
12293 ac_status=$?
12294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12295 (exit $ac_status); }; }; then
12296
12297 wx_cv_gccversion=Innotek
12298
12299 else
12300 echo "$as_me: failed program was:" >&5
12301 sed 's/^/| /' conftest.$ac_ext >&5
12302
12303
12304 wx_cv_gccversion=3
12305
12306
12307 fi
12308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12309
12310 else
12311 echo "$as_me: failed program was:" >&5
12312 sed 's/^/| /' conftest.$ac_ext >&5
12313
12314
12315 wx_cv_gccversion=2
12316
12317
12318 fi
12319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12320
12321 fi
12322 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12323 echo "${ECHO_T}$wx_cv_gccversion" >&6
12324 if test "$wx_cv_gccversion" = "2"; then
12325 LIBS="$LIBS -lstdcpp"
12326 LDFLAGS="$LDFLAGS -Zsysv-signals"
12327 else
12328 if test "$wx_cv_gccversion" = "3"; then
12329 LIBS="$LIBS -lstdcxx"
12330 LDFLAGS="$LDFLAGS -Zsysv-signals"
12331 else
12332 LIBS="$LIBS -lstdc++"
12333 fi
12334 fi
12335 if test "$wxUSE_OMF" = "yes"; then
12336 LDFLAGS="$LDFLAGS -Zomf -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12337 fi
12338 ;;
12339 *)
12340
12341
12342
12343 ac_ext=cc
12344 ac_cpp='$CXXCPP $CPPFLAGS'
12345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12348
12349
12350
12351 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12352 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12353 if test "${ac_cv_string_strcasecmp+set}" = set; then
12354 echo $ECHO_N "(cached) $ECHO_C" >&6
12355 else
12356
12357 cat >conftest.$ac_ext <<_ACEOF
12358 /* confdefs.h. */
12359 _ACEOF
12360 cat confdefs.h >>conftest.$ac_ext
12361 cat >>conftest.$ac_ext <<_ACEOF
12362 /* end confdefs.h. */
12363
12364 #include <string.h>
12365
12366 int
12367 main ()
12368 {
12369
12370 strcasecmp("foo", "bar");
12371
12372 ;
12373 return 0;
12374 }
12375 _ACEOF
12376 rm -f conftest.$ac_objext conftest$ac_exeext
12377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12378 (eval $ac_link) 2>conftest.er1
12379 ac_status=$?
12380 grep -v '^ *+' conftest.er1 >conftest.err
12381 rm -f conftest.er1
12382 cat conftest.err >&5
12383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12384 (exit $ac_status); } &&
12385 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12387 (eval $ac_try) 2>&5
12388 ac_status=$?
12389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12390 (exit $ac_status); }; } &&
12391 { ac_try='test -s conftest$ac_exeext'
12392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12393 (eval $ac_try) 2>&5
12394 ac_status=$?
12395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12396 (exit $ac_status); }; }; then
12397 ac_cv_string_strcasecmp=yes
12398 else
12399 echo "$as_me: failed program was:" >&5
12400 sed 's/^/| /' conftest.$ac_ext >&5
12401
12402 ac_cv_string_strcasecmp=no
12403
12404 fi
12405 rm -f conftest.err conftest.$ac_objext \
12406 conftest$ac_exeext conftest.$ac_ext
12407
12408 fi
12409 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12410 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12411
12412 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
12413 cat >>confdefs.h <<\_ACEOF
12414 #define HAVE_STRCASECMP_IN_STRING_H 1
12415 _ACEOF
12416
12417 else
12418 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12419 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12420 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12421 echo $ECHO_N "(cached) $ECHO_C" >&6
12422 else
12423
12424 cat >conftest.$ac_ext <<_ACEOF
12425 /* confdefs.h. */
12426 _ACEOF
12427 cat confdefs.h >>conftest.$ac_ext
12428 cat >>conftest.$ac_ext <<_ACEOF
12429 /* end confdefs.h. */
12430
12431 #include <strings.h>
12432
12433 int
12434 main ()
12435 {
12436
12437 strcasecmp("foo", "bar");
12438
12439 ;
12440 return 0;
12441 }
12442 _ACEOF
12443 rm -f conftest.$ac_objext conftest$ac_exeext
12444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12445 (eval $ac_link) 2>conftest.er1
12446 ac_status=$?
12447 grep -v '^ *+' conftest.er1 >conftest.err
12448 rm -f conftest.er1
12449 cat conftest.err >&5
12450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12451 (exit $ac_status); } &&
12452 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12454 (eval $ac_try) 2>&5
12455 ac_status=$?
12456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12457 (exit $ac_status); }; } &&
12458 { ac_try='test -s conftest$ac_exeext'
12459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12460 (eval $ac_try) 2>&5
12461 ac_status=$?
12462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12463 (exit $ac_status); }; }; then
12464 ac_cv_strings_strcasecmp=yes
12465 else
12466 echo "$as_me: failed program was:" >&5
12467 sed 's/^/| /' conftest.$ac_ext >&5
12468
12469 ac_cv_strings_strcasecmp=no
12470
12471 fi
12472 rm -f conftest.err conftest.$ac_objext \
12473 conftest$ac_exeext conftest.$ac_ext
12474
12475 fi
12476 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12477 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12478
12479 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
12480 cat >>confdefs.h <<\_ACEOF
12481 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12482 _ACEOF
12483
12484 else
12485 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12486 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12487 { (exit 1); exit 1; }; }
12488 fi
12489 fi
12490
12491 ac_ext=c
12492 ac_cpp='$CPP $CPPFLAGS'
12493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12496
12497 ;;
12498 esac
12499
12500
12501 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12502 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12503 if test "${ac_cv_header_stdc+set}" = set; then
12504 echo $ECHO_N "(cached) $ECHO_C" >&6
12505 else
12506 cat >conftest.$ac_ext <<_ACEOF
12507 /* confdefs.h. */
12508 _ACEOF
12509 cat confdefs.h >>conftest.$ac_ext
12510 cat >>conftest.$ac_ext <<_ACEOF
12511 /* end confdefs.h. */
12512 #include <stdlib.h>
12513 #include <stdarg.h>
12514 #include <string.h>
12515 #include <float.h>
12516
12517 int
12518 main ()
12519 {
12520
12521 ;
12522 return 0;
12523 }
12524 _ACEOF
12525 rm -f conftest.$ac_objext
12526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12527 (eval $ac_compile) 2>conftest.er1
12528 ac_status=$?
12529 grep -v '^ *+' conftest.er1 >conftest.err
12530 rm -f conftest.er1
12531 cat conftest.err >&5
12532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12533 (exit $ac_status); } &&
12534 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12536 (eval $ac_try) 2>&5
12537 ac_status=$?
12538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12539 (exit $ac_status); }; } &&
12540 { ac_try='test -s conftest.$ac_objext'
12541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12542 (eval $ac_try) 2>&5
12543 ac_status=$?
12544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12545 (exit $ac_status); }; }; then
12546 ac_cv_header_stdc=yes
12547 else
12548 echo "$as_me: failed program was:" >&5
12549 sed 's/^/| /' conftest.$ac_ext >&5
12550
12551 ac_cv_header_stdc=no
12552 fi
12553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12554
12555 if test $ac_cv_header_stdc = yes; then
12556 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12557 cat >conftest.$ac_ext <<_ACEOF
12558 /* confdefs.h. */
12559 _ACEOF
12560 cat confdefs.h >>conftest.$ac_ext
12561 cat >>conftest.$ac_ext <<_ACEOF
12562 /* end confdefs.h. */
12563 #include <string.h>
12564
12565 _ACEOF
12566 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12567 $EGREP "memchr" >/dev/null 2>&1; then
12568 :
12569 else
12570 ac_cv_header_stdc=no
12571 fi
12572 rm -f conftest*
12573
12574 fi
12575
12576 if test $ac_cv_header_stdc = yes; then
12577 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12578 cat >conftest.$ac_ext <<_ACEOF
12579 /* confdefs.h. */
12580 _ACEOF
12581 cat confdefs.h >>conftest.$ac_ext
12582 cat >>conftest.$ac_ext <<_ACEOF
12583 /* end confdefs.h. */
12584 #include <stdlib.h>
12585
12586 _ACEOF
12587 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12588 $EGREP "free" >/dev/null 2>&1; then
12589 :
12590 else
12591 ac_cv_header_stdc=no
12592 fi
12593 rm -f conftest*
12594
12595 fi
12596
12597 if test $ac_cv_header_stdc = yes; then
12598 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12599 if test "$cross_compiling" = yes; then
12600 :
12601 else
12602 cat >conftest.$ac_ext <<_ACEOF
12603 /* confdefs.h. */
12604 _ACEOF
12605 cat confdefs.h >>conftest.$ac_ext
12606 cat >>conftest.$ac_ext <<_ACEOF
12607 /* end confdefs.h. */
12608 #include <ctype.h>
12609 #if ((' ' & 0x0FF) == 0x020)
12610 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12611 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12612 #else
12613 # define ISLOWER(c) \
12614 (('a' <= (c) && (c) <= 'i') \
12615 || ('j' <= (c) && (c) <= 'r') \
12616 || ('s' <= (c) && (c) <= 'z'))
12617 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12618 #endif
12619
12620 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12621 int
12622 main ()
12623 {
12624 int i;
12625 for (i = 0; i < 256; i++)
12626 if (XOR (islower (i), ISLOWER (i))
12627 || toupper (i) != TOUPPER (i))
12628 exit(2);
12629 exit (0);
12630 }
12631 _ACEOF
12632 rm -f conftest$ac_exeext
12633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12634 (eval $ac_link) 2>&5
12635 ac_status=$?
12636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12637 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12639 (eval $ac_try) 2>&5
12640 ac_status=$?
12641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12642 (exit $ac_status); }; }; then
12643 :
12644 else
12645 echo "$as_me: program exited with status $ac_status" >&5
12646 echo "$as_me: failed program was:" >&5
12647 sed 's/^/| /' conftest.$ac_ext >&5
12648
12649 ( exit $ac_status )
12650 ac_cv_header_stdc=no
12651 fi
12652 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12653 fi
12654 fi
12655 fi
12656 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12657 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12658 if test $ac_cv_header_stdc = yes; then
12659
12660 cat >>confdefs.h <<\_ACEOF
12661 #define STDC_HEADERS 1
12662 _ACEOF
12663
12664 fi
12665
12666 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12677 inttypes.h stdint.h unistd.h
12678 do
12679 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12680 echo "$as_me:$LINENO: checking for $ac_header" >&5
12681 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12682 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12683 echo $ECHO_N "(cached) $ECHO_C" >&6
12684 else
12685 cat >conftest.$ac_ext <<_ACEOF
12686 /* confdefs.h. */
12687 _ACEOF
12688 cat confdefs.h >>conftest.$ac_ext
12689 cat >>conftest.$ac_ext <<_ACEOF
12690 /* end confdefs.h. */
12691 $ac_includes_default
12692
12693 #include <$ac_header>
12694 _ACEOF
12695 rm -f conftest.$ac_objext
12696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12697 (eval $ac_compile) 2>conftest.er1
12698 ac_status=$?
12699 grep -v '^ *+' conftest.er1 >conftest.err
12700 rm -f conftest.er1
12701 cat conftest.err >&5
12702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12703 (exit $ac_status); } &&
12704 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12706 (eval $ac_try) 2>&5
12707 ac_status=$?
12708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12709 (exit $ac_status); }; } &&
12710 { ac_try='test -s conftest.$ac_objext'
12711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12712 (eval $ac_try) 2>&5
12713 ac_status=$?
12714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12715 (exit $ac_status); }; }; then
12716 eval "$as_ac_Header=yes"
12717 else
12718 echo "$as_me: failed program was:" >&5
12719 sed 's/^/| /' conftest.$ac_ext >&5
12720
12721 eval "$as_ac_Header=no"
12722 fi
12723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12724 fi
12725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12726 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12727 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12728 cat >>confdefs.h <<_ACEOF
12729 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12730 _ACEOF
12731
12732 fi
12733
12734 done
12735
12736
12737
12738 for ac_header in stdlib.h
12739 do
12740 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12741 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12742 echo "$as_me:$LINENO: checking for $ac_header" >&5
12743 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12744 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12745 echo $ECHO_N "(cached) $ECHO_C" >&6
12746 fi
12747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12748 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12749 else
12750 # Is the header compilable?
12751 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12752 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12753 cat >conftest.$ac_ext <<_ACEOF
12754 /* confdefs.h. */
12755 _ACEOF
12756 cat confdefs.h >>conftest.$ac_ext
12757 cat >>conftest.$ac_ext <<_ACEOF
12758 /* end confdefs.h. */
12759 $ac_includes_default
12760 #include <$ac_header>
12761 _ACEOF
12762 rm -f conftest.$ac_objext
12763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12764 (eval $ac_compile) 2>conftest.er1
12765 ac_status=$?
12766 grep -v '^ *+' conftest.er1 >conftest.err
12767 rm -f conftest.er1
12768 cat conftest.err >&5
12769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12770 (exit $ac_status); } &&
12771 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12773 (eval $ac_try) 2>&5
12774 ac_status=$?
12775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12776 (exit $ac_status); }; } &&
12777 { ac_try='test -s conftest.$ac_objext'
12778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12779 (eval $ac_try) 2>&5
12780 ac_status=$?
12781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12782 (exit $ac_status); }; }; then
12783 ac_header_compiler=yes
12784 else
12785 echo "$as_me: failed program was:" >&5
12786 sed 's/^/| /' conftest.$ac_ext >&5
12787
12788 ac_header_compiler=no
12789 fi
12790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12791 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12792 echo "${ECHO_T}$ac_header_compiler" >&6
12793
12794 # Is the header present?
12795 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12796 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12797 cat >conftest.$ac_ext <<_ACEOF
12798 /* confdefs.h. */
12799 _ACEOF
12800 cat confdefs.h >>conftest.$ac_ext
12801 cat >>conftest.$ac_ext <<_ACEOF
12802 /* end confdefs.h. */
12803 #include <$ac_header>
12804 _ACEOF
12805 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12806 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12807 ac_status=$?
12808 grep -v '^ *+' conftest.er1 >conftest.err
12809 rm -f conftest.er1
12810 cat conftest.err >&5
12811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12812 (exit $ac_status); } >/dev/null; then
12813 if test -s conftest.err; then
12814 ac_cpp_err=$ac_c_preproc_warn_flag
12815 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12816 else
12817 ac_cpp_err=
12818 fi
12819 else
12820 ac_cpp_err=yes
12821 fi
12822 if test -z "$ac_cpp_err"; then
12823 ac_header_preproc=yes
12824 else
12825 echo "$as_me: failed program was:" >&5
12826 sed 's/^/| /' conftest.$ac_ext >&5
12827
12828 ac_header_preproc=no
12829 fi
12830 rm -f conftest.err conftest.$ac_ext
12831 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12832 echo "${ECHO_T}$ac_header_preproc" >&6
12833
12834 # So? What about this header?
12835 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12836 yes:no: )
12837 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12838 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12839 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12840 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12841 ac_header_preproc=yes
12842 ;;
12843 no:yes:* )
12844 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12845 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12846 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12847 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12848 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12849 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12850 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12851 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12852 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12853 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12854 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12855 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12856 (
12857 cat <<\_ASBOX
12858 ## ----------------------------------------- ##
12859 ## Report this to wx-dev@lists.wxwidgets.org ##
12860 ## ----------------------------------------- ##
12861 _ASBOX
12862 ) |
12863 sed "s/^/$as_me: WARNING: /" >&2
12864 ;;
12865 esac
12866 echo "$as_me:$LINENO: checking for $ac_header" >&5
12867 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12868 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12869 echo $ECHO_N "(cached) $ECHO_C" >&6
12870 else
12871 eval "$as_ac_Header=\$ac_header_preproc"
12872 fi
12873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12874 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12875
12876 fi
12877 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12878 cat >>confdefs.h <<_ACEOF
12879 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12880 _ACEOF
12881
12882 fi
12883
12884 done
12885
12886
12887 for ac_header in malloc.h
12888 do
12889 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12890 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12891 echo "$as_me:$LINENO: checking for $ac_header" >&5
12892 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12893 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12894 echo $ECHO_N "(cached) $ECHO_C" >&6
12895 fi
12896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12897 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12898 else
12899 # Is the header compilable?
12900 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12901 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12902 cat >conftest.$ac_ext <<_ACEOF
12903 /* confdefs.h. */
12904 _ACEOF
12905 cat confdefs.h >>conftest.$ac_ext
12906 cat >>conftest.$ac_ext <<_ACEOF
12907 /* end confdefs.h. */
12908 $ac_includes_default
12909 #include <$ac_header>
12910 _ACEOF
12911 rm -f conftest.$ac_objext
12912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12913 (eval $ac_compile) 2>conftest.er1
12914 ac_status=$?
12915 grep -v '^ *+' conftest.er1 >conftest.err
12916 rm -f conftest.er1
12917 cat conftest.err >&5
12918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12919 (exit $ac_status); } &&
12920 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12922 (eval $ac_try) 2>&5
12923 ac_status=$?
12924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12925 (exit $ac_status); }; } &&
12926 { ac_try='test -s conftest.$ac_objext'
12927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12928 (eval $ac_try) 2>&5
12929 ac_status=$?
12930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12931 (exit $ac_status); }; }; then
12932 ac_header_compiler=yes
12933 else
12934 echo "$as_me: failed program was:" >&5
12935 sed 's/^/| /' conftest.$ac_ext >&5
12936
12937 ac_header_compiler=no
12938 fi
12939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12940 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12941 echo "${ECHO_T}$ac_header_compiler" >&6
12942
12943 # Is the header present?
12944 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12945 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12946 cat >conftest.$ac_ext <<_ACEOF
12947 /* confdefs.h. */
12948 _ACEOF
12949 cat confdefs.h >>conftest.$ac_ext
12950 cat >>conftest.$ac_ext <<_ACEOF
12951 /* end confdefs.h. */
12952 #include <$ac_header>
12953 _ACEOF
12954 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12955 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12956 ac_status=$?
12957 grep -v '^ *+' conftest.er1 >conftest.err
12958 rm -f conftest.er1
12959 cat conftest.err >&5
12960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12961 (exit $ac_status); } >/dev/null; then
12962 if test -s conftest.err; then
12963 ac_cpp_err=$ac_c_preproc_warn_flag
12964 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12965 else
12966 ac_cpp_err=
12967 fi
12968 else
12969 ac_cpp_err=yes
12970 fi
12971 if test -z "$ac_cpp_err"; then
12972 ac_header_preproc=yes
12973 else
12974 echo "$as_me: failed program was:" >&5
12975 sed 's/^/| /' conftest.$ac_ext >&5
12976
12977 ac_header_preproc=no
12978 fi
12979 rm -f conftest.err conftest.$ac_ext
12980 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12981 echo "${ECHO_T}$ac_header_preproc" >&6
12982
12983 # So? What about this header?
12984 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12985 yes:no: )
12986 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12987 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12988 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12989 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12990 ac_header_preproc=yes
12991 ;;
12992 no:yes:* )
12993 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12994 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12995 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12996 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12997 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12998 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12999 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13000 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13001 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13002 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13003 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13004 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13005 (
13006 cat <<\_ASBOX
13007 ## ----------------------------------------- ##
13008 ## Report this to wx-dev@lists.wxwidgets.org ##
13009 ## ----------------------------------------- ##
13010 _ASBOX
13011 ) |
13012 sed "s/^/$as_me: WARNING: /" >&2
13013 ;;
13014 esac
13015 echo "$as_me:$LINENO: checking for $ac_header" >&5
13016 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13017 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13018 echo $ECHO_N "(cached) $ECHO_C" >&6
13019 else
13020 eval "$as_ac_Header=\$ac_header_preproc"
13021 fi
13022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13023 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13024
13025 fi
13026 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13027 cat >>confdefs.h <<_ACEOF
13028 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13029 _ACEOF
13030
13031 fi
13032
13033 done
13034
13035
13036 for ac_header in unistd.h
13037 do
13038 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13039 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13040 echo "$as_me:$LINENO: checking for $ac_header" >&5
13041 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13042 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13043 echo $ECHO_N "(cached) $ECHO_C" >&6
13044 fi
13045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13046 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13047 else
13048 # Is the header compilable?
13049 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13050 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13051 cat >conftest.$ac_ext <<_ACEOF
13052 /* confdefs.h. */
13053 _ACEOF
13054 cat confdefs.h >>conftest.$ac_ext
13055 cat >>conftest.$ac_ext <<_ACEOF
13056 /* end confdefs.h. */
13057 $ac_includes_default
13058 #include <$ac_header>
13059 _ACEOF
13060 rm -f conftest.$ac_objext
13061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13062 (eval $ac_compile) 2>conftest.er1
13063 ac_status=$?
13064 grep -v '^ *+' conftest.er1 >conftest.err
13065 rm -f conftest.er1
13066 cat conftest.err >&5
13067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13068 (exit $ac_status); } &&
13069 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13071 (eval $ac_try) 2>&5
13072 ac_status=$?
13073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13074 (exit $ac_status); }; } &&
13075 { ac_try='test -s conftest.$ac_objext'
13076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13077 (eval $ac_try) 2>&5
13078 ac_status=$?
13079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13080 (exit $ac_status); }; }; then
13081 ac_header_compiler=yes
13082 else
13083 echo "$as_me: failed program was:" >&5
13084 sed 's/^/| /' conftest.$ac_ext >&5
13085
13086 ac_header_compiler=no
13087 fi
13088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13089 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13090 echo "${ECHO_T}$ac_header_compiler" >&6
13091
13092 # Is the header present?
13093 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13094 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13095 cat >conftest.$ac_ext <<_ACEOF
13096 /* confdefs.h. */
13097 _ACEOF
13098 cat confdefs.h >>conftest.$ac_ext
13099 cat >>conftest.$ac_ext <<_ACEOF
13100 /* end confdefs.h. */
13101 #include <$ac_header>
13102 _ACEOF
13103 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13104 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13105 ac_status=$?
13106 grep -v '^ *+' conftest.er1 >conftest.err
13107 rm -f conftest.er1
13108 cat conftest.err >&5
13109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13110 (exit $ac_status); } >/dev/null; then
13111 if test -s conftest.err; then
13112 ac_cpp_err=$ac_c_preproc_warn_flag
13113 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13114 else
13115 ac_cpp_err=
13116 fi
13117 else
13118 ac_cpp_err=yes
13119 fi
13120 if test -z "$ac_cpp_err"; then
13121 ac_header_preproc=yes
13122 else
13123 echo "$as_me: failed program was:" >&5
13124 sed 's/^/| /' conftest.$ac_ext >&5
13125
13126 ac_header_preproc=no
13127 fi
13128 rm -f conftest.err conftest.$ac_ext
13129 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13130 echo "${ECHO_T}$ac_header_preproc" >&6
13131
13132 # So? What about this header?
13133 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13134 yes:no: )
13135 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13136 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13137 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13138 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13139 ac_header_preproc=yes
13140 ;;
13141 no:yes:* )
13142 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13143 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13144 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13145 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13146 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13147 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13148 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13149 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13150 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13151 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13152 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13153 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13154 (
13155 cat <<\_ASBOX
13156 ## ----------------------------------------- ##
13157 ## Report this to wx-dev@lists.wxwidgets.org ##
13158 ## ----------------------------------------- ##
13159 _ASBOX
13160 ) |
13161 sed "s/^/$as_me: WARNING: /" >&2
13162 ;;
13163 esac
13164 echo "$as_me:$LINENO: checking for $ac_header" >&5
13165 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13166 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13167 echo $ECHO_N "(cached) $ECHO_C" >&6
13168 else
13169 eval "$as_ac_Header=\$ac_header_preproc"
13170 fi
13171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13172 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13173
13174 fi
13175 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13176 cat >>confdefs.h <<_ACEOF
13177 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13178 _ACEOF
13179
13180 fi
13181
13182 done
13183
13184
13185 for ac_header in wchar.h
13186 do
13187 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13188 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13189 echo "$as_me:$LINENO: checking for $ac_header" >&5
13190 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13191 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13192 echo $ECHO_N "(cached) $ECHO_C" >&6
13193 fi
13194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13195 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13196 else
13197 # Is the header compilable?
13198 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13199 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13200 cat >conftest.$ac_ext <<_ACEOF
13201 /* confdefs.h. */
13202 _ACEOF
13203 cat confdefs.h >>conftest.$ac_ext
13204 cat >>conftest.$ac_ext <<_ACEOF
13205 /* end confdefs.h. */
13206 $ac_includes_default
13207 #include <$ac_header>
13208 _ACEOF
13209 rm -f conftest.$ac_objext
13210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13211 (eval $ac_compile) 2>conftest.er1
13212 ac_status=$?
13213 grep -v '^ *+' conftest.er1 >conftest.err
13214 rm -f conftest.er1
13215 cat conftest.err >&5
13216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13217 (exit $ac_status); } &&
13218 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13220 (eval $ac_try) 2>&5
13221 ac_status=$?
13222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13223 (exit $ac_status); }; } &&
13224 { ac_try='test -s conftest.$ac_objext'
13225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13226 (eval $ac_try) 2>&5
13227 ac_status=$?
13228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13229 (exit $ac_status); }; }; then
13230 ac_header_compiler=yes
13231 else
13232 echo "$as_me: failed program was:" >&5
13233 sed 's/^/| /' conftest.$ac_ext >&5
13234
13235 ac_header_compiler=no
13236 fi
13237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13238 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13239 echo "${ECHO_T}$ac_header_compiler" >&6
13240
13241 # Is the header present?
13242 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13243 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13244 cat >conftest.$ac_ext <<_ACEOF
13245 /* confdefs.h. */
13246 _ACEOF
13247 cat confdefs.h >>conftest.$ac_ext
13248 cat >>conftest.$ac_ext <<_ACEOF
13249 /* end confdefs.h. */
13250 #include <$ac_header>
13251 _ACEOF
13252 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13253 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13254 ac_status=$?
13255 grep -v '^ *+' conftest.er1 >conftest.err
13256 rm -f conftest.er1
13257 cat conftest.err >&5
13258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13259 (exit $ac_status); } >/dev/null; then
13260 if test -s conftest.err; then
13261 ac_cpp_err=$ac_c_preproc_warn_flag
13262 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13263 else
13264 ac_cpp_err=
13265 fi
13266 else
13267 ac_cpp_err=yes
13268 fi
13269 if test -z "$ac_cpp_err"; then
13270 ac_header_preproc=yes
13271 else
13272 echo "$as_me: failed program was:" >&5
13273 sed 's/^/| /' conftest.$ac_ext >&5
13274
13275 ac_header_preproc=no
13276 fi
13277 rm -f conftest.err conftest.$ac_ext
13278 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13279 echo "${ECHO_T}$ac_header_preproc" >&6
13280
13281 # So? What about this header?
13282 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13283 yes:no: )
13284 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13285 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13286 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13287 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13288 ac_header_preproc=yes
13289 ;;
13290 no:yes:* )
13291 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13292 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13293 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13294 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13295 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13296 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13297 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13298 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13299 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13300 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13301 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13302 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13303 (
13304 cat <<\_ASBOX
13305 ## ----------------------------------------- ##
13306 ## Report this to wx-dev@lists.wxwidgets.org ##
13307 ## ----------------------------------------- ##
13308 _ASBOX
13309 ) |
13310 sed "s/^/$as_me: WARNING: /" >&2
13311 ;;
13312 esac
13313 echo "$as_me:$LINENO: checking for $ac_header" >&5
13314 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13315 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13316 echo $ECHO_N "(cached) $ECHO_C" >&6
13317 else
13318 eval "$as_ac_Header=\$ac_header_preproc"
13319 fi
13320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13321 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13322
13323 fi
13324 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13325 cat >>confdefs.h <<_ACEOF
13326 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13327 _ACEOF
13328
13329 fi
13330
13331 done
13332
13333
13334 if test "$ac_cv_header_wchar_h" != "yes"; then
13335
13336 for ac_header in wcstr.h
13337 do
13338 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13339 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13340 echo "$as_me:$LINENO: checking for $ac_header" >&5
13341 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13342 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13343 echo $ECHO_N "(cached) $ECHO_C" >&6
13344 fi
13345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13346 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13347 else
13348 # Is the header compilable?
13349 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13350 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13351 cat >conftest.$ac_ext <<_ACEOF
13352 /* confdefs.h. */
13353 _ACEOF
13354 cat confdefs.h >>conftest.$ac_ext
13355 cat >>conftest.$ac_ext <<_ACEOF
13356 /* end confdefs.h. */
13357 $ac_includes_default
13358 #include <$ac_header>
13359 _ACEOF
13360 rm -f conftest.$ac_objext
13361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13362 (eval $ac_compile) 2>conftest.er1
13363 ac_status=$?
13364 grep -v '^ *+' conftest.er1 >conftest.err
13365 rm -f conftest.er1
13366 cat conftest.err >&5
13367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13368 (exit $ac_status); } &&
13369 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13371 (eval $ac_try) 2>&5
13372 ac_status=$?
13373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13374 (exit $ac_status); }; } &&
13375 { ac_try='test -s conftest.$ac_objext'
13376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13377 (eval $ac_try) 2>&5
13378 ac_status=$?
13379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13380 (exit $ac_status); }; }; then
13381 ac_header_compiler=yes
13382 else
13383 echo "$as_me: failed program was:" >&5
13384 sed 's/^/| /' conftest.$ac_ext >&5
13385
13386 ac_header_compiler=no
13387 fi
13388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13389 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13390 echo "${ECHO_T}$ac_header_compiler" >&6
13391
13392 # Is the header present?
13393 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13394 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13395 cat >conftest.$ac_ext <<_ACEOF
13396 /* confdefs.h. */
13397 _ACEOF
13398 cat confdefs.h >>conftest.$ac_ext
13399 cat >>conftest.$ac_ext <<_ACEOF
13400 /* end confdefs.h. */
13401 #include <$ac_header>
13402 _ACEOF
13403 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13404 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13405 ac_status=$?
13406 grep -v '^ *+' conftest.er1 >conftest.err
13407 rm -f conftest.er1
13408 cat conftest.err >&5
13409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13410 (exit $ac_status); } >/dev/null; then
13411 if test -s conftest.err; then
13412 ac_cpp_err=$ac_c_preproc_warn_flag
13413 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13414 else
13415 ac_cpp_err=
13416 fi
13417 else
13418 ac_cpp_err=yes
13419 fi
13420 if test -z "$ac_cpp_err"; then
13421 ac_header_preproc=yes
13422 else
13423 echo "$as_me: failed program was:" >&5
13424 sed 's/^/| /' conftest.$ac_ext >&5
13425
13426 ac_header_preproc=no
13427 fi
13428 rm -f conftest.err conftest.$ac_ext
13429 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13430 echo "${ECHO_T}$ac_header_preproc" >&6
13431
13432 # So? What about this header?
13433 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13434 yes:no: )
13435 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13436 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13437 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13438 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13439 ac_header_preproc=yes
13440 ;;
13441 no:yes:* )
13442 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13443 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13444 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13445 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13446 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13447 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13448 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13449 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13450 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13451 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13452 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13453 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13454 (
13455 cat <<\_ASBOX
13456 ## ----------------------------------------- ##
13457 ## Report this to wx-dev@lists.wxwidgets.org ##
13458 ## ----------------------------------------- ##
13459 _ASBOX
13460 ) |
13461 sed "s/^/$as_me: WARNING: /" >&2
13462 ;;
13463 esac
13464 echo "$as_me:$LINENO: checking for $ac_header" >&5
13465 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13466 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13467 echo $ECHO_N "(cached) $ECHO_C" >&6
13468 else
13469 eval "$as_ac_Header=\$ac_header_preproc"
13470 fi
13471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13472 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13473
13474 fi
13475 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13476 cat >>confdefs.h <<_ACEOF
13477 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13478 _ACEOF
13479
13480 fi
13481
13482 done
13483
13484 fi
13485
13486
13487 for ac_header in fnmatch.h
13488 do
13489 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13490 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13491 echo "$as_me:$LINENO: checking for $ac_header" >&5
13492 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13493 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13494 echo $ECHO_N "(cached) $ECHO_C" >&6
13495 fi
13496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13497 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13498 else
13499 # Is the header compilable?
13500 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13501 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13502 cat >conftest.$ac_ext <<_ACEOF
13503 /* confdefs.h. */
13504 _ACEOF
13505 cat confdefs.h >>conftest.$ac_ext
13506 cat >>conftest.$ac_ext <<_ACEOF
13507 /* end confdefs.h. */
13508 $ac_includes_default
13509 #include <$ac_header>
13510 _ACEOF
13511 rm -f conftest.$ac_objext
13512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13513 (eval $ac_compile) 2>conftest.er1
13514 ac_status=$?
13515 grep -v '^ *+' conftest.er1 >conftest.err
13516 rm -f conftest.er1
13517 cat conftest.err >&5
13518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13519 (exit $ac_status); } &&
13520 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13522 (eval $ac_try) 2>&5
13523 ac_status=$?
13524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13525 (exit $ac_status); }; } &&
13526 { ac_try='test -s conftest.$ac_objext'
13527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13528 (eval $ac_try) 2>&5
13529 ac_status=$?
13530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13531 (exit $ac_status); }; }; then
13532 ac_header_compiler=yes
13533 else
13534 echo "$as_me: failed program was:" >&5
13535 sed 's/^/| /' conftest.$ac_ext >&5
13536
13537 ac_header_compiler=no
13538 fi
13539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13540 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13541 echo "${ECHO_T}$ac_header_compiler" >&6
13542
13543 # Is the header present?
13544 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13545 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13546 cat >conftest.$ac_ext <<_ACEOF
13547 /* confdefs.h. */
13548 _ACEOF
13549 cat confdefs.h >>conftest.$ac_ext
13550 cat >>conftest.$ac_ext <<_ACEOF
13551 /* end confdefs.h. */
13552 #include <$ac_header>
13553 _ACEOF
13554 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13555 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13556 ac_status=$?
13557 grep -v '^ *+' conftest.er1 >conftest.err
13558 rm -f conftest.er1
13559 cat conftest.err >&5
13560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13561 (exit $ac_status); } >/dev/null; then
13562 if test -s conftest.err; then
13563 ac_cpp_err=$ac_c_preproc_warn_flag
13564 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13565 else
13566 ac_cpp_err=
13567 fi
13568 else
13569 ac_cpp_err=yes
13570 fi
13571 if test -z "$ac_cpp_err"; then
13572 ac_header_preproc=yes
13573 else
13574 echo "$as_me: failed program was:" >&5
13575 sed 's/^/| /' conftest.$ac_ext >&5
13576
13577 ac_header_preproc=no
13578 fi
13579 rm -f conftest.err conftest.$ac_ext
13580 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13581 echo "${ECHO_T}$ac_header_preproc" >&6
13582
13583 # So? What about this header?
13584 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13585 yes:no: )
13586 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13587 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13588 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13589 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13590 ac_header_preproc=yes
13591 ;;
13592 no:yes:* )
13593 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13594 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13595 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13596 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13597 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13598 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13599 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13600 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13601 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13602 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13603 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13604 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13605 (
13606 cat <<\_ASBOX
13607 ## ----------------------------------------- ##
13608 ## Report this to wx-dev@lists.wxwidgets.org ##
13609 ## ----------------------------------------- ##
13610 _ASBOX
13611 ) |
13612 sed "s/^/$as_me: WARNING: /" >&2
13613 ;;
13614 esac
13615 echo "$as_me:$LINENO: checking for $ac_header" >&5
13616 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13617 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13618 echo $ECHO_N "(cached) $ECHO_C" >&6
13619 else
13620 eval "$as_ac_Header=\$ac_header_preproc"
13621 fi
13622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13623 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13624
13625 fi
13626 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13627 cat >>confdefs.h <<_ACEOF
13628 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13629 _ACEOF
13630
13631 fi
13632
13633 done
13634
13635
13636 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13637
13638 for ac_func in fnmatch
13639 do
13640 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13641 echo "$as_me:$LINENO: checking for $ac_func" >&5
13642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13643 if eval "test \"\${$as_ac_var+set}\" = set"; then
13644 echo $ECHO_N "(cached) $ECHO_C" >&6
13645 else
13646 cat >conftest.$ac_ext <<_ACEOF
13647 /* confdefs.h. */
13648 _ACEOF
13649 cat confdefs.h >>conftest.$ac_ext
13650 cat >>conftest.$ac_ext <<_ACEOF
13651 /* end confdefs.h. */
13652 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13653 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13654 #define $ac_func innocuous_$ac_func
13655
13656 /* System header to define __stub macros and hopefully few prototypes,
13657 which can conflict with char $ac_func (); below.
13658 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13659 <limits.h> exists even on freestanding compilers. */
13660
13661 #ifdef __STDC__
13662 # include <limits.h>
13663 #else
13664 # include <assert.h>
13665 #endif
13666
13667 #undef $ac_func
13668
13669 /* Override any gcc2 internal prototype to avoid an error. */
13670 #ifdef __cplusplus
13671 extern "C"
13672 {
13673 #endif
13674 /* We use char because int might match the return type of a gcc2
13675 builtin and then its argument prototype would still apply. */
13676 char $ac_func ();
13677 /* The GNU C library defines this for functions which it implements
13678 to always fail with ENOSYS. Some functions are actually named
13679 something starting with __ and the normal name is an alias. */
13680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13681 choke me
13682 #else
13683 char (*f) () = $ac_func;
13684 #endif
13685 #ifdef __cplusplus
13686 }
13687 #endif
13688
13689 int
13690 main ()
13691 {
13692 return f != $ac_func;
13693 ;
13694 return 0;
13695 }
13696 _ACEOF
13697 rm -f conftest.$ac_objext conftest$ac_exeext
13698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13699 (eval $ac_link) 2>conftest.er1
13700 ac_status=$?
13701 grep -v '^ *+' conftest.er1 >conftest.err
13702 rm -f conftest.er1
13703 cat conftest.err >&5
13704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13705 (exit $ac_status); } &&
13706 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13708 (eval $ac_try) 2>&5
13709 ac_status=$?
13710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13711 (exit $ac_status); }; } &&
13712 { ac_try='test -s conftest$ac_exeext'
13713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13714 (eval $ac_try) 2>&5
13715 ac_status=$?
13716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13717 (exit $ac_status); }; }; then
13718 eval "$as_ac_var=yes"
13719 else
13720 echo "$as_me: failed program was:" >&5
13721 sed 's/^/| /' conftest.$ac_ext >&5
13722
13723 eval "$as_ac_var=no"
13724 fi
13725 rm -f conftest.err conftest.$ac_objext \
13726 conftest$ac_exeext conftest.$ac_ext
13727 fi
13728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13729 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13730 if test `eval echo '${'$as_ac_var'}'` = yes; then
13731 cat >>confdefs.h <<_ACEOF
13732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13733 _ACEOF
13734
13735 fi
13736 done
13737
13738 fi
13739
13740
13741 for ac_header in langinfo.h
13742 do
13743 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13744 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13745 echo "$as_me:$LINENO: checking for $ac_header" >&5
13746 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13747 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13748 echo $ECHO_N "(cached) $ECHO_C" >&6
13749 fi
13750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13751 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13752 else
13753 # Is the header compilable?
13754 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13755 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13756 cat >conftest.$ac_ext <<_ACEOF
13757 /* confdefs.h. */
13758 _ACEOF
13759 cat confdefs.h >>conftest.$ac_ext
13760 cat >>conftest.$ac_ext <<_ACEOF
13761 /* end confdefs.h. */
13762 $ac_includes_default
13763 #include <$ac_header>
13764 _ACEOF
13765 rm -f conftest.$ac_objext
13766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13767 (eval $ac_compile) 2>conftest.er1
13768 ac_status=$?
13769 grep -v '^ *+' conftest.er1 >conftest.err
13770 rm -f conftest.er1
13771 cat conftest.err >&5
13772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13773 (exit $ac_status); } &&
13774 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13776 (eval $ac_try) 2>&5
13777 ac_status=$?
13778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13779 (exit $ac_status); }; } &&
13780 { ac_try='test -s conftest.$ac_objext'
13781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13782 (eval $ac_try) 2>&5
13783 ac_status=$?
13784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13785 (exit $ac_status); }; }; then
13786 ac_header_compiler=yes
13787 else
13788 echo "$as_me: failed program was:" >&5
13789 sed 's/^/| /' conftest.$ac_ext >&5
13790
13791 ac_header_compiler=no
13792 fi
13793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13794 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13795 echo "${ECHO_T}$ac_header_compiler" >&6
13796
13797 # Is the header present?
13798 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13799 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13800 cat >conftest.$ac_ext <<_ACEOF
13801 /* confdefs.h. */
13802 _ACEOF
13803 cat confdefs.h >>conftest.$ac_ext
13804 cat >>conftest.$ac_ext <<_ACEOF
13805 /* end confdefs.h. */
13806 #include <$ac_header>
13807 _ACEOF
13808 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13809 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13810 ac_status=$?
13811 grep -v '^ *+' conftest.er1 >conftest.err
13812 rm -f conftest.er1
13813 cat conftest.err >&5
13814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13815 (exit $ac_status); } >/dev/null; then
13816 if test -s conftest.err; then
13817 ac_cpp_err=$ac_c_preproc_warn_flag
13818 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13819 else
13820 ac_cpp_err=
13821 fi
13822 else
13823 ac_cpp_err=yes
13824 fi
13825 if test -z "$ac_cpp_err"; then
13826 ac_header_preproc=yes
13827 else
13828 echo "$as_me: failed program was:" >&5
13829 sed 's/^/| /' conftest.$ac_ext >&5
13830
13831 ac_header_preproc=no
13832 fi
13833 rm -f conftest.err conftest.$ac_ext
13834 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13835 echo "${ECHO_T}$ac_header_preproc" >&6
13836
13837 # So? What about this header?
13838 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13839 yes:no: )
13840 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13841 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13842 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13843 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13844 ac_header_preproc=yes
13845 ;;
13846 no:yes:* )
13847 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13848 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13849 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13850 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13851 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13852 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13853 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13854 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13855 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13856 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13857 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13858 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13859 (
13860 cat <<\_ASBOX
13861 ## ----------------------------------------- ##
13862 ## Report this to wx-dev@lists.wxwidgets.org ##
13863 ## ----------------------------------------- ##
13864 _ASBOX
13865 ) |
13866 sed "s/^/$as_me: WARNING: /" >&2
13867 ;;
13868 esac
13869 echo "$as_me:$LINENO: checking for $ac_header" >&5
13870 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13871 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13872 echo $ECHO_N "(cached) $ECHO_C" >&6
13873 else
13874 eval "$as_ac_Header=\$ac_header_preproc"
13875 fi
13876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13877 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13878
13879 fi
13880 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13881 cat >>confdefs.h <<_ACEOF
13882 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13883 _ACEOF
13884
13885 fi
13886
13887 done
13888
13889
13890 case "${host}" in
13891 *-pc-os2_emx | *-pc-os2-emx )
13892 if test $ac_cv_header_langinfo_h = "yes"; then
13893 LIBS="$LIBS -lintl"
13894 fi
13895 ;;
13896 esac
13897
13898 if test "$wxUSE_GUI" = "yes"; then
13899 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13900
13901 for ac_header in X11/Xlib.h
13902 do
13903 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13904 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13905 echo "$as_me:$LINENO: checking for $ac_header" >&5
13906 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13907 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13908 echo $ECHO_N "(cached) $ECHO_C" >&6
13909 fi
13910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13911 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13912 else
13913 # Is the header compilable?
13914 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13915 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13916 cat >conftest.$ac_ext <<_ACEOF
13917 /* confdefs.h. */
13918 _ACEOF
13919 cat confdefs.h >>conftest.$ac_ext
13920 cat >>conftest.$ac_ext <<_ACEOF
13921 /* end confdefs.h. */
13922 $ac_includes_default
13923 #include <$ac_header>
13924 _ACEOF
13925 rm -f conftest.$ac_objext
13926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13927 (eval $ac_compile) 2>conftest.er1
13928 ac_status=$?
13929 grep -v '^ *+' conftest.er1 >conftest.err
13930 rm -f conftest.er1
13931 cat conftest.err >&5
13932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13933 (exit $ac_status); } &&
13934 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13936 (eval $ac_try) 2>&5
13937 ac_status=$?
13938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13939 (exit $ac_status); }; } &&
13940 { ac_try='test -s conftest.$ac_objext'
13941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13942 (eval $ac_try) 2>&5
13943 ac_status=$?
13944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13945 (exit $ac_status); }; }; then
13946 ac_header_compiler=yes
13947 else
13948 echo "$as_me: failed program was:" >&5
13949 sed 's/^/| /' conftest.$ac_ext >&5
13950
13951 ac_header_compiler=no
13952 fi
13953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13954 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13955 echo "${ECHO_T}$ac_header_compiler" >&6
13956
13957 # Is the header present?
13958 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13959 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13960 cat >conftest.$ac_ext <<_ACEOF
13961 /* confdefs.h. */
13962 _ACEOF
13963 cat confdefs.h >>conftest.$ac_ext
13964 cat >>conftest.$ac_ext <<_ACEOF
13965 /* end confdefs.h. */
13966 #include <$ac_header>
13967 _ACEOF
13968 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13969 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13970 ac_status=$?
13971 grep -v '^ *+' conftest.er1 >conftest.err
13972 rm -f conftest.er1
13973 cat conftest.err >&5
13974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13975 (exit $ac_status); } >/dev/null; then
13976 if test -s conftest.err; then
13977 ac_cpp_err=$ac_c_preproc_warn_flag
13978 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13979 else
13980 ac_cpp_err=
13981 fi
13982 else
13983 ac_cpp_err=yes
13984 fi
13985 if test -z "$ac_cpp_err"; then
13986 ac_header_preproc=yes
13987 else
13988 echo "$as_me: failed program was:" >&5
13989 sed 's/^/| /' conftest.$ac_ext >&5
13990
13991 ac_header_preproc=no
13992 fi
13993 rm -f conftest.err conftest.$ac_ext
13994 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13995 echo "${ECHO_T}$ac_header_preproc" >&6
13996
13997 # So? What about this header?
13998 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13999 yes:no: )
14000 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14001 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14002 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14003 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14004 ac_header_preproc=yes
14005 ;;
14006 no:yes:* )
14007 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14008 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14009 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14010 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14011 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14012 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14013 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14014 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14015 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14016 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14017 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14018 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14019 (
14020 cat <<\_ASBOX
14021 ## ----------------------------------------- ##
14022 ## Report this to wx-dev@lists.wxwidgets.org ##
14023 ## ----------------------------------------- ##
14024 _ASBOX
14025 ) |
14026 sed "s/^/$as_me: WARNING: /" >&2
14027 ;;
14028 esac
14029 echo "$as_me:$LINENO: checking for $ac_header" >&5
14030 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14031 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14032 echo $ECHO_N "(cached) $ECHO_C" >&6
14033 else
14034 eval "$as_ac_Header=\$ac_header_preproc"
14035 fi
14036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14037 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14038
14039 fi
14040 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14041 cat >>confdefs.h <<_ACEOF
14042 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14043 _ACEOF
14044
14045 fi
14046
14047 done
14048
14049
14050 for ac_header in X11/XKBlib.h
14051 do
14052 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14053 echo "$as_me:$LINENO: checking for $ac_header" >&5
14054 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14055 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14056 echo $ECHO_N "(cached) $ECHO_C" >&6
14057 else
14058 cat >conftest.$ac_ext <<_ACEOF
14059 /* confdefs.h. */
14060 _ACEOF
14061 cat confdefs.h >>conftest.$ac_ext
14062 cat >>conftest.$ac_ext <<_ACEOF
14063 /* end confdefs.h. */
14064
14065 #if HAVE_X11_XLIB_H
14066 #include <X11/Xlib.h>
14067 #endif
14068
14069
14070 #include <$ac_header>
14071 _ACEOF
14072 rm -f conftest.$ac_objext
14073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14074 (eval $ac_compile) 2>conftest.er1
14075 ac_status=$?
14076 grep -v '^ *+' conftest.er1 >conftest.err
14077 rm -f conftest.er1
14078 cat conftest.err >&5
14079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14080 (exit $ac_status); } &&
14081 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14083 (eval $ac_try) 2>&5
14084 ac_status=$?
14085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14086 (exit $ac_status); }; } &&
14087 { ac_try='test -s conftest.$ac_objext'
14088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14089 (eval $ac_try) 2>&5
14090 ac_status=$?
14091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14092 (exit $ac_status); }; }; then
14093 eval "$as_ac_Header=yes"
14094 else
14095 echo "$as_me: failed program was:" >&5
14096 sed 's/^/| /' conftest.$ac_ext >&5
14097
14098 eval "$as_ac_Header=no"
14099 fi
14100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14101 fi
14102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14103 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14104 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14105 cat >>confdefs.h <<_ACEOF
14106 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14107 _ACEOF
14108
14109 fi
14110
14111 done
14112
14113 fi
14114 fi
14115
14116
14117 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14118 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14119 if test "${ac_cv_c_const+set}" = set; then
14120 echo $ECHO_N "(cached) $ECHO_C" >&6
14121 else
14122 cat >conftest.$ac_ext <<_ACEOF
14123 /* confdefs.h. */
14124 _ACEOF
14125 cat confdefs.h >>conftest.$ac_ext
14126 cat >>conftest.$ac_ext <<_ACEOF
14127 /* end confdefs.h. */
14128
14129 int
14130 main ()
14131 {
14132 /* FIXME: Include the comments suggested by Paul. */
14133 #ifndef __cplusplus
14134 /* Ultrix mips cc rejects this. */
14135 typedef int charset[2];
14136 const charset x;
14137 /* SunOS 4.1.1 cc rejects this. */
14138 char const *const *ccp;
14139 char **p;
14140 /* NEC SVR4.0.2 mips cc rejects this. */
14141 struct point {int x, y;};
14142 static struct point const zero = {0,0};
14143 /* AIX XL C 1.02.0.0 rejects this.
14144 It does not let you subtract one const X* pointer from another in
14145 an arm of an if-expression whose if-part is not a constant
14146 expression */
14147 const char *g = "string";
14148 ccp = &g + (g ? g-g : 0);
14149 /* HPUX 7.0 cc rejects these. */
14150 ++ccp;
14151 p = (char**) ccp;
14152 ccp = (char const *const *) p;
14153 { /* SCO 3.2v4 cc rejects this. */
14154 char *t;
14155 char const *s = 0 ? (char *) 0 : (char const *) 0;
14156
14157 *t++ = 0;
14158 }
14159 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14160 int x[] = {25, 17};
14161 const int *foo = &x[0];
14162 ++foo;
14163 }
14164 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14165 typedef const int *iptr;
14166 iptr p = 0;
14167 ++p;
14168 }
14169 { /* AIX XL C 1.02.0.0 rejects this saying
14170 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14171 struct s { int j; const int *ap[3]; };
14172 struct s *b; b->j = 5;
14173 }
14174 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14175 const int foo = 10;
14176 }
14177 #endif
14178
14179 ;
14180 return 0;
14181 }
14182 _ACEOF
14183 rm -f conftest.$ac_objext
14184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14185 (eval $ac_compile) 2>conftest.er1
14186 ac_status=$?
14187 grep -v '^ *+' conftest.er1 >conftest.err
14188 rm -f conftest.er1
14189 cat conftest.err >&5
14190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14191 (exit $ac_status); } &&
14192 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14194 (eval $ac_try) 2>&5
14195 ac_status=$?
14196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14197 (exit $ac_status); }; } &&
14198 { ac_try='test -s conftest.$ac_objext'
14199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14200 (eval $ac_try) 2>&5
14201 ac_status=$?
14202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14203 (exit $ac_status); }; }; then
14204 ac_cv_c_const=yes
14205 else
14206 echo "$as_me: failed program was:" >&5
14207 sed 's/^/| /' conftest.$ac_ext >&5
14208
14209 ac_cv_c_const=no
14210 fi
14211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14212 fi
14213 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14214 echo "${ECHO_T}$ac_cv_c_const" >&6
14215 if test $ac_cv_c_const = no; then
14216
14217 cat >>confdefs.h <<\_ACEOF
14218 #define const
14219 _ACEOF
14220
14221 fi
14222
14223 echo "$as_me:$LINENO: checking for inline" >&5
14224 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14225 if test "${ac_cv_c_inline+set}" = set; then
14226 echo $ECHO_N "(cached) $ECHO_C" >&6
14227 else
14228 ac_cv_c_inline=no
14229 for ac_kw in inline __inline__ __inline; do
14230 cat >conftest.$ac_ext <<_ACEOF
14231 /* confdefs.h. */
14232 _ACEOF
14233 cat confdefs.h >>conftest.$ac_ext
14234 cat >>conftest.$ac_ext <<_ACEOF
14235 /* end confdefs.h. */
14236 #ifndef __cplusplus
14237 typedef int foo_t;
14238 static $ac_kw foo_t static_foo () {return 0; }
14239 $ac_kw foo_t foo () {return 0; }
14240 #endif
14241
14242 _ACEOF
14243 rm -f conftest.$ac_objext
14244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14245 (eval $ac_compile) 2>conftest.er1
14246 ac_status=$?
14247 grep -v '^ *+' conftest.er1 >conftest.err
14248 rm -f conftest.er1
14249 cat conftest.err >&5
14250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14251 (exit $ac_status); } &&
14252 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14254 (eval $ac_try) 2>&5
14255 ac_status=$?
14256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14257 (exit $ac_status); }; } &&
14258 { ac_try='test -s conftest.$ac_objext'
14259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14260 (eval $ac_try) 2>&5
14261 ac_status=$?
14262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14263 (exit $ac_status); }; }; then
14264 ac_cv_c_inline=$ac_kw; break
14265 else
14266 echo "$as_me: failed program was:" >&5
14267 sed 's/^/| /' conftest.$ac_ext >&5
14268
14269 fi
14270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14271 done
14272
14273 fi
14274 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14275 echo "${ECHO_T}$ac_cv_c_inline" >&6
14276
14277
14278 case $ac_cv_c_inline in
14279 inline | yes) ;;
14280 *)
14281 case $ac_cv_c_inline in
14282 no) ac_val=;;
14283 *) ac_val=$ac_cv_c_inline;;
14284 esac
14285 cat >>confdefs.h <<_ACEOF
14286 #ifndef __cplusplus
14287 #define inline $ac_val
14288 #endif
14289 _ACEOF
14290 ;;
14291 esac
14292
14293
14294 echo "$as_me:$LINENO: checking for char" >&5
14295 echo $ECHO_N "checking for char... $ECHO_C" >&6
14296 if test "${ac_cv_type_char+set}" = set; then
14297 echo $ECHO_N "(cached) $ECHO_C" >&6
14298 else
14299 cat >conftest.$ac_ext <<_ACEOF
14300 /* confdefs.h. */
14301 _ACEOF
14302 cat confdefs.h >>conftest.$ac_ext
14303 cat >>conftest.$ac_ext <<_ACEOF
14304 /* end confdefs.h. */
14305 $ac_includes_default
14306 int
14307 main ()
14308 {
14309 if ((char *) 0)
14310 return 0;
14311 if (sizeof (char))
14312 return 0;
14313 ;
14314 return 0;
14315 }
14316 _ACEOF
14317 rm -f conftest.$ac_objext
14318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14319 (eval $ac_compile) 2>conftest.er1
14320 ac_status=$?
14321 grep -v '^ *+' conftest.er1 >conftest.err
14322 rm -f conftest.er1
14323 cat conftest.err >&5
14324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14325 (exit $ac_status); } &&
14326 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14328 (eval $ac_try) 2>&5
14329 ac_status=$?
14330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14331 (exit $ac_status); }; } &&
14332 { ac_try='test -s conftest.$ac_objext'
14333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14334 (eval $ac_try) 2>&5
14335 ac_status=$?
14336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14337 (exit $ac_status); }; }; then
14338 ac_cv_type_char=yes
14339 else
14340 echo "$as_me: failed program was:" >&5
14341 sed 's/^/| /' conftest.$ac_ext >&5
14342
14343 ac_cv_type_char=no
14344 fi
14345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14346 fi
14347 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14348 echo "${ECHO_T}$ac_cv_type_char" >&6
14349
14350 echo "$as_me:$LINENO: checking size of char" >&5
14351 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14352 if test "${ac_cv_sizeof_char+set}" = set; then
14353 echo $ECHO_N "(cached) $ECHO_C" >&6
14354 else
14355 if test "$ac_cv_type_char" = yes; then
14356 # The cast to unsigned long works around a bug in the HP C Compiler
14357 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14358 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14359 # This bug is HP SR number 8606223364.
14360 if test "$cross_compiling" = yes; then
14361 # Depending upon the size, compute the lo and hi bounds.
14362 cat >conftest.$ac_ext <<_ACEOF
14363 /* confdefs.h. */
14364 _ACEOF
14365 cat confdefs.h >>conftest.$ac_ext
14366 cat >>conftest.$ac_ext <<_ACEOF
14367 /* end confdefs.h. */
14368 $ac_includes_default
14369 int
14370 main ()
14371 {
14372 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14373 test_array [0] = 0
14374
14375 ;
14376 return 0;
14377 }
14378 _ACEOF
14379 rm -f conftest.$ac_objext
14380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14381 (eval $ac_compile) 2>conftest.er1
14382 ac_status=$?
14383 grep -v '^ *+' conftest.er1 >conftest.err
14384 rm -f conftest.er1
14385 cat conftest.err >&5
14386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14387 (exit $ac_status); } &&
14388 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14390 (eval $ac_try) 2>&5
14391 ac_status=$?
14392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14393 (exit $ac_status); }; } &&
14394 { ac_try='test -s conftest.$ac_objext'
14395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14396 (eval $ac_try) 2>&5
14397 ac_status=$?
14398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14399 (exit $ac_status); }; }; then
14400 ac_lo=0 ac_mid=0
14401 while :; do
14402 cat >conftest.$ac_ext <<_ACEOF
14403 /* confdefs.h. */
14404 _ACEOF
14405 cat confdefs.h >>conftest.$ac_ext
14406 cat >>conftest.$ac_ext <<_ACEOF
14407 /* end confdefs.h. */
14408 $ac_includes_default
14409 int
14410 main ()
14411 {
14412 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14413 test_array [0] = 0
14414
14415 ;
14416 return 0;
14417 }
14418 _ACEOF
14419 rm -f conftest.$ac_objext
14420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14421 (eval $ac_compile) 2>conftest.er1
14422 ac_status=$?
14423 grep -v '^ *+' conftest.er1 >conftest.err
14424 rm -f conftest.er1
14425 cat conftest.err >&5
14426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14427 (exit $ac_status); } &&
14428 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14430 (eval $ac_try) 2>&5
14431 ac_status=$?
14432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14433 (exit $ac_status); }; } &&
14434 { ac_try='test -s conftest.$ac_objext'
14435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14436 (eval $ac_try) 2>&5
14437 ac_status=$?
14438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14439 (exit $ac_status); }; }; then
14440 ac_hi=$ac_mid; break
14441 else
14442 echo "$as_me: failed program was:" >&5
14443 sed 's/^/| /' conftest.$ac_ext >&5
14444
14445 ac_lo=`expr $ac_mid + 1`
14446 if test $ac_lo -le $ac_mid; then
14447 ac_lo= ac_hi=
14448 break
14449 fi
14450 ac_mid=`expr 2 '*' $ac_mid + 1`
14451 fi
14452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14453 done
14454 else
14455 echo "$as_me: failed program was:" >&5
14456 sed 's/^/| /' conftest.$ac_ext >&5
14457
14458 cat >conftest.$ac_ext <<_ACEOF
14459 /* confdefs.h. */
14460 _ACEOF
14461 cat confdefs.h >>conftest.$ac_ext
14462 cat >>conftest.$ac_ext <<_ACEOF
14463 /* end confdefs.h. */
14464 $ac_includes_default
14465 int
14466 main ()
14467 {
14468 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14469 test_array [0] = 0
14470
14471 ;
14472 return 0;
14473 }
14474 _ACEOF
14475 rm -f conftest.$ac_objext
14476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14477 (eval $ac_compile) 2>conftest.er1
14478 ac_status=$?
14479 grep -v '^ *+' conftest.er1 >conftest.err
14480 rm -f conftest.er1
14481 cat conftest.err >&5
14482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14483 (exit $ac_status); } &&
14484 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14486 (eval $ac_try) 2>&5
14487 ac_status=$?
14488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14489 (exit $ac_status); }; } &&
14490 { ac_try='test -s conftest.$ac_objext'
14491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14492 (eval $ac_try) 2>&5
14493 ac_status=$?
14494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14495 (exit $ac_status); }; }; then
14496 ac_hi=-1 ac_mid=-1
14497 while :; do
14498 cat >conftest.$ac_ext <<_ACEOF
14499 /* confdefs.h. */
14500 _ACEOF
14501 cat confdefs.h >>conftest.$ac_ext
14502 cat >>conftest.$ac_ext <<_ACEOF
14503 /* end confdefs.h. */
14504 $ac_includes_default
14505 int
14506 main ()
14507 {
14508 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14509 test_array [0] = 0
14510
14511 ;
14512 return 0;
14513 }
14514 _ACEOF
14515 rm -f conftest.$ac_objext
14516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14517 (eval $ac_compile) 2>conftest.er1
14518 ac_status=$?
14519 grep -v '^ *+' conftest.er1 >conftest.err
14520 rm -f conftest.er1
14521 cat conftest.err >&5
14522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14523 (exit $ac_status); } &&
14524 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14526 (eval $ac_try) 2>&5
14527 ac_status=$?
14528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14529 (exit $ac_status); }; } &&
14530 { ac_try='test -s conftest.$ac_objext'
14531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14532 (eval $ac_try) 2>&5
14533 ac_status=$?
14534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14535 (exit $ac_status); }; }; then
14536 ac_lo=$ac_mid; break
14537 else
14538 echo "$as_me: failed program was:" >&5
14539 sed 's/^/| /' conftest.$ac_ext >&5
14540
14541 ac_hi=`expr '(' $ac_mid ')' - 1`
14542 if test $ac_mid -le $ac_hi; then
14543 ac_lo= ac_hi=
14544 break
14545 fi
14546 ac_mid=`expr 2 '*' $ac_mid`
14547 fi
14548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14549 done
14550 else
14551 echo "$as_me: failed program was:" >&5
14552 sed 's/^/| /' conftest.$ac_ext >&5
14553
14554 ac_lo= ac_hi=
14555 fi
14556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14557 fi
14558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14559 # Binary search between lo and hi bounds.
14560 while test "x$ac_lo" != "x$ac_hi"; do
14561 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14562 cat >conftest.$ac_ext <<_ACEOF
14563 /* confdefs.h. */
14564 _ACEOF
14565 cat confdefs.h >>conftest.$ac_ext
14566 cat >>conftest.$ac_ext <<_ACEOF
14567 /* end confdefs.h. */
14568 $ac_includes_default
14569 int
14570 main ()
14571 {
14572 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14573 test_array [0] = 0
14574
14575 ;
14576 return 0;
14577 }
14578 _ACEOF
14579 rm -f conftest.$ac_objext
14580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14581 (eval $ac_compile) 2>conftest.er1
14582 ac_status=$?
14583 grep -v '^ *+' conftest.er1 >conftest.err
14584 rm -f conftest.er1
14585 cat conftest.err >&5
14586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14587 (exit $ac_status); } &&
14588 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14590 (eval $ac_try) 2>&5
14591 ac_status=$?
14592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14593 (exit $ac_status); }; } &&
14594 { ac_try='test -s conftest.$ac_objext'
14595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14596 (eval $ac_try) 2>&5
14597 ac_status=$?
14598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14599 (exit $ac_status); }; }; then
14600 ac_hi=$ac_mid
14601 else
14602 echo "$as_me: failed program was:" >&5
14603 sed 's/^/| /' conftest.$ac_ext >&5
14604
14605 ac_lo=`expr '(' $ac_mid ')' + 1`
14606 fi
14607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14608 done
14609 case $ac_lo in
14610 ?*) ac_cv_sizeof_char=$ac_lo;;
14611 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14612 See \`config.log' for more details." >&5
14613 echo "$as_me: error: cannot compute sizeof (char), 77
14614 See \`config.log' for more details." >&2;}
14615 { (exit 1); exit 1; }; } ;;
14616 esac
14617 else
14618 if test "$cross_compiling" = yes; then
14619 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
14620 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
14621 { (exit 1); exit 1; }; }
14622 else
14623 cat >conftest.$ac_ext <<_ACEOF
14624 /* confdefs.h. */
14625 _ACEOF
14626 cat confdefs.h >>conftest.$ac_ext
14627 cat >>conftest.$ac_ext <<_ACEOF
14628 /* end confdefs.h. */
14629 $ac_includes_default
14630 long longval () { return (long) (sizeof (char)); }
14631 unsigned long ulongval () { return (long) (sizeof (char)); }
14632 #include <stdio.h>
14633 #include <stdlib.h>
14634 int
14635 main ()
14636 {
14637
14638 FILE *f = fopen ("conftest.val", "w");
14639 if (! f)
14640 exit (1);
14641 if (((long) (sizeof (char))) < 0)
14642 {
14643 long i = longval ();
14644 if (i != ((long) (sizeof (char))))
14645 exit (1);
14646 fprintf (f, "%ld\n", i);
14647 }
14648 else
14649 {
14650 unsigned long i = ulongval ();
14651 if (i != ((long) (sizeof (char))))
14652 exit (1);
14653 fprintf (f, "%lu\n", i);
14654 }
14655 exit (ferror (f) || fclose (f) != 0);
14656
14657 ;
14658 return 0;
14659 }
14660 _ACEOF
14661 rm -f conftest$ac_exeext
14662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14663 (eval $ac_link) 2>&5
14664 ac_status=$?
14665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14666 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14668 (eval $ac_try) 2>&5
14669 ac_status=$?
14670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14671 (exit $ac_status); }; }; then
14672 ac_cv_sizeof_char=`cat conftest.val`
14673 else
14674 echo "$as_me: program exited with status $ac_status" >&5
14675 echo "$as_me: failed program was:" >&5
14676 sed 's/^/| /' conftest.$ac_ext >&5
14677
14678 ( exit $ac_status )
14679 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14680 See \`config.log' for more details." >&5
14681 echo "$as_me: error: cannot compute sizeof (char), 77
14682 See \`config.log' for more details." >&2;}
14683 { (exit 1); exit 1; }; }
14684 fi
14685 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14686 fi
14687 fi
14688 rm -f conftest.val
14689 else
14690 ac_cv_sizeof_char=0
14691 fi
14692 fi
14693 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14694 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14695 cat >>confdefs.h <<_ACEOF
14696 #define SIZEOF_CHAR $ac_cv_sizeof_char
14697 _ACEOF
14698
14699
14700 echo "$as_me:$LINENO: checking for short" >&5
14701 echo $ECHO_N "checking for short... $ECHO_C" >&6
14702 if test "${ac_cv_type_short+set}" = set; then
14703 echo $ECHO_N "(cached) $ECHO_C" >&6
14704 else
14705 cat >conftest.$ac_ext <<_ACEOF
14706 /* confdefs.h. */
14707 _ACEOF
14708 cat confdefs.h >>conftest.$ac_ext
14709 cat >>conftest.$ac_ext <<_ACEOF
14710 /* end confdefs.h. */
14711 $ac_includes_default
14712 int
14713 main ()
14714 {
14715 if ((short *) 0)
14716 return 0;
14717 if (sizeof (short))
14718 return 0;
14719 ;
14720 return 0;
14721 }
14722 _ACEOF
14723 rm -f conftest.$ac_objext
14724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14725 (eval $ac_compile) 2>conftest.er1
14726 ac_status=$?
14727 grep -v '^ *+' conftest.er1 >conftest.err
14728 rm -f conftest.er1
14729 cat conftest.err >&5
14730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14731 (exit $ac_status); } &&
14732 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14734 (eval $ac_try) 2>&5
14735 ac_status=$?
14736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14737 (exit $ac_status); }; } &&
14738 { ac_try='test -s conftest.$ac_objext'
14739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14740 (eval $ac_try) 2>&5
14741 ac_status=$?
14742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14743 (exit $ac_status); }; }; then
14744 ac_cv_type_short=yes
14745 else
14746 echo "$as_me: failed program was:" >&5
14747 sed 's/^/| /' conftest.$ac_ext >&5
14748
14749 ac_cv_type_short=no
14750 fi
14751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14752 fi
14753 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14754 echo "${ECHO_T}$ac_cv_type_short" >&6
14755
14756 echo "$as_me:$LINENO: checking size of short" >&5
14757 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14758 if test "${ac_cv_sizeof_short+set}" = set; then
14759 echo $ECHO_N "(cached) $ECHO_C" >&6
14760 else
14761 if test "$ac_cv_type_short" = yes; then
14762 # The cast to unsigned long works around a bug in the HP C Compiler
14763 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14764 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14765 # This bug is HP SR number 8606223364.
14766 if test "$cross_compiling" = yes; then
14767 # Depending upon the size, compute the lo and hi bounds.
14768 cat >conftest.$ac_ext <<_ACEOF
14769 /* confdefs.h. */
14770 _ACEOF
14771 cat confdefs.h >>conftest.$ac_ext
14772 cat >>conftest.$ac_ext <<_ACEOF
14773 /* end confdefs.h. */
14774 $ac_includes_default
14775 int
14776 main ()
14777 {
14778 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14779 test_array [0] = 0
14780
14781 ;
14782 return 0;
14783 }
14784 _ACEOF
14785 rm -f conftest.$ac_objext
14786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14787 (eval $ac_compile) 2>conftest.er1
14788 ac_status=$?
14789 grep -v '^ *+' conftest.er1 >conftest.err
14790 rm -f conftest.er1
14791 cat conftest.err >&5
14792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14793 (exit $ac_status); } &&
14794 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14796 (eval $ac_try) 2>&5
14797 ac_status=$?
14798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14799 (exit $ac_status); }; } &&
14800 { ac_try='test -s conftest.$ac_objext'
14801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14802 (eval $ac_try) 2>&5
14803 ac_status=$?
14804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14805 (exit $ac_status); }; }; then
14806 ac_lo=0 ac_mid=0
14807 while :; do
14808 cat >conftest.$ac_ext <<_ACEOF
14809 /* confdefs.h. */
14810 _ACEOF
14811 cat confdefs.h >>conftest.$ac_ext
14812 cat >>conftest.$ac_ext <<_ACEOF
14813 /* end confdefs.h. */
14814 $ac_includes_default
14815 int
14816 main ()
14817 {
14818 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14819 test_array [0] = 0
14820
14821 ;
14822 return 0;
14823 }
14824 _ACEOF
14825 rm -f conftest.$ac_objext
14826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14827 (eval $ac_compile) 2>conftest.er1
14828 ac_status=$?
14829 grep -v '^ *+' conftest.er1 >conftest.err
14830 rm -f conftest.er1
14831 cat conftest.err >&5
14832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14833 (exit $ac_status); } &&
14834 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14836 (eval $ac_try) 2>&5
14837 ac_status=$?
14838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14839 (exit $ac_status); }; } &&
14840 { ac_try='test -s conftest.$ac_objext'
14841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14842 (eval $ac_try) 2>&5
14843 ac_status=$?
14844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14845 (exit $ac_status); }; }; then
14846 ac_hi=$ac_mid; break
14847 else
14848 echo "$as_me: failed program was:" >&5
14849 sed 's/^/| /' conftest.$ac_ext >&5
14850
14851 ac_lo=`expr $ac_mid + 1`
14852 if test $ac_lo -le $ac_mid; then
14853 ac_lo= ac_hi=
14854 break
14855 fi
14856 ac_mid=`expr 2 '*' $ac_mid + 1`
14857 fi
14858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14859 done
14860 else
14861 echo "$as_me: failed program was:" >&5
14862 sed 's/^/| /' conftest.$ac_ext >&5
14863
14864 cat >conftest.$ac_ext <<_ACEOF
14865 /* confdefs.h. */
14866 _ACEOF
14867 cat confdefs.h >>conftest.$ac_ext
14868 cat >>conftest.$ac_ext <<_ACEOF
14869 /* end confdefs.h. */
14870 $ac_includes_default
14871 int
14872 main ()
14873 {
14874 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14875 test_array [0] = 0
14876
14877 ;
14878 return 0;
14879 }
14880 _ACEOF
14881 rm -f conftest.$ac_objext
14882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14883 (eval $ac_compile) 2>conftest.er1
14884 ac_status=$?
14885 grep -v '^ *+' conftest.er1 >conftest.err
14886 rm -f conftest.er1
14887 cat conftest.err >&5
14888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14889 (exit $ac_status); } &&
14890 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14892 (eval $ac_try) 2>&5
14893 ac_status=$?
14894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14895 (exit $ac_status); }; } &&
14896 { ac_try='test -s conftest.$ac_objext'
14897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14898 (eval $ac_try) 2>&5
14899 ac_status=$?
14900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14901 (exit $ac_status); }; }; then
14902 ac_hi=-1 ac_mid=-1
14903 while :; do
14904 cat >conftest.$ac_ext <<_ACEOF
14905 /* confdefs.h. */
14906 _ACEOF
14907 cat confdefs.h >>conftest.$ac_ext
14908 cat >>conftest.$ac_ext <<_ACEOF
14909 /* end confdefs.h. */
14910 $ac_includes_default
14911 int
14912 main ()
14913 {
14914 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14915 test_array [0] = 0
14916
14917 ;
14918 return 0;
14919 }
14920 _ACEOF
14921 rm -f conftest.$ac_objext
14922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14923 (eval $ac_compile) 2>conftest.er1
14924 ac_status=$?
14925 grep -v '^ *+' conftest.er1 >conftest.err
14926 rm -f conftest.er1
14927 cat conftest.err >&5
14928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14929 (exit $ac_status); } &&
14930 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14932 (eval $ac_try) 2>&5
14933 ac_status=$?
14934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14935 (exit $ac_status); }; } &&
14936 { ac_try='test -s conftest.$ac_objext'
14937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14938 (eval $ac_try) 2>&5
14939 ac_status=$?
14940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14941 (exit $ac_status); }; }; then
14942 ac_lo=$ac_mid; break
14943 else
14944 echo "$as_me: failed program was:" >&5
14945 sed 's/^/| /' conftest.$ac_ext >&5
14946
14947 ac_hi=`expr '(' $ac_mid ')' - 1`
14948 if test $ac_mid -le $ac_hi; then
14949 ac_lo= ac_hi=
14950 break
14951 fi
14952 ac_mid=`expr 2 '*' $ac_mid`
14953 fi
14954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14955 done
14956 else
14957 echo "$as_me: failed program was:" >&5
14958 sed 's/^/| /' conftest.$ac_ext >&5
14959
14960 ac_lo= ac_hi=
14961 fi
14962 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14963 fi
14964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14965 # Binary search between lo and hi bounds.
14966 while test "x$ac_lo" != "x$ac_hi"; do
14967 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14968 cat >conftest.$ac_ext <<_ACEOF
14969 /* confdefs.h. */
14970 _ACEOF
14971 cat confdefs.h >>conftest.$ac_ext
14972 cat >>conftest.$ac_ext <<_ACEOF
14973 /* end confdefs.h. */
14974 $ac_includes_default
14975 int
14976 main ()
14977 {
14978 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14979 test_array [0] = 0
14980
14981 ;
14982 return 0;
14983 }
14984 _ACEOF
14985 rm -f conftest.$ac_objext
14986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14987 (eval $ac_compile) 2>conftest.er1
14988 ac_status=$?
14989 grep -v '^ *+' conftest.er1 >conftest.err
14990 rm -f conftest.er1
14991 cat conftest.err >&5
14992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14993 (exit $ac_status); } &&
14994 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14996 (eval $ac_try) 2>&5
14997 ac_status=$?
14998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14999 (exit $ac_status); }; } &&
15000 { ac_try='test -s conftest.$ac_objext'
15001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15002 (eval $ac_try) 2>&5
15003 ac_status=$?
15004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15005 (exit $ac_status); }; }; then
15006 ac_hi=$ac_mid
15007 else
15008 echo "$as_me: failed program was:" >&5
15009 sed 's/^/| /' conftest.$ac_ext >&5
15010
15011 ac_lo=`expr '(' $ac_mid ')' + 1`
15012 fi
15013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15014 done
15015 case $ac_lo in
15016 ?*) ac_cv_sizeof_short=$ac_lo;;
15017 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15018 See \`config.log' for more details." >&5
15019 echo "$as_me: error: cannot compute sizeof (short), 77
15020 See \`config.log' for more details." >&2;}
15021 { (exit 1); exit 1; }; } ;;
15022 esac
15023 else
15024 if test "$cross_compiling" = yes; then
15025 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15026 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15027 { (exit 1); exit 1; }; }
15028 else
15029 cat >conftest.$ac_ext <<_ACEOF
15030 /* confdefs.h. */
15031 _ACEOF
15032 cat confdefs.h >>conftest.$ac_ext
15033 cat >>conftest.$ac_ext <<_ACEOF
15034 /* end confdefs.h. */
15035 $ac_includes_default
15036 long longval () { return (long) (sizeof (short)); }
15037 unsigned long ulongval () { return (long) (sizeof (short)); }
15038 #include <stdio.h>
15039 #include <stdlib.h>
15040 int
15041 main ()
15042 {
15043
15044 FILE *f = fopen ("conftest.val", "w");
15045 if (! f)
15046 exit (1);
15047 if (((long) (sizeof (short))) < 0)
15048 {
15049 long i = longval ();
15050 if (i != ((long) (sizeof (short))))
15051 exit (1);
15052 fprintf (f, "%ld\n", i);
15053 }
15054 else
15055 {
15056 unsigned long i = ulongval ();
15057 if (i != ((long) (sizeof (short))))
15058 exit (1);
15059 fprintf (f, "%lu\n", i);
15060 }
15061 exit (ferror (f) || fclose (f) != 0);
15062
15063 ;
15064 return 0;
15065 }
15066 _ACEOF
15067 rm -f conftest$ac_exeext
15068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15069 (eval $ac_link) 2>&5
15070 ac_status=$?
15071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15072 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15074 (eval $ac_try) 2>&5
15075 ac_status=$?
15076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15077 (exit $ac_status); }; }; then
15078 ac_cv_sizeof_short=`cat conftest.val`
15079 else
15080 echo "$as_me: program exited with status $ac_status" >&5
15081 echo "$as_me: failed program was:" >&5
15082 sed 's/^/| /' conftest.$ac_ext >&5
15083
15084 ( exit $ac_status )
15085 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15086 See \`config.log' for more details." >&5
15087 echo "$as_me: error: cannot compute sizeof (short), 77
15088 See \`config.log' for more details." >&2;}
15089 { (exit 1); exit 1; }; }
15090 fi
15091 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15092 fi
15093 fi
15094 rm -f conftest.val
15095 else
15096 ac_cv_sizeof_short=0
15097 fi
15098 fi
15099 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15100 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15101 cat >>confdefs.h <<_ACEOF
15102 #define SIZEOF_SHORT $ac_cv_sizeof_short
15103 _ACEOF
15104
15105
15106 echo "$as_me:$LINENO: checking for void *" >&5
15107 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15108 if test "${ac_cv_type_void_p+set}" = set; then
15109 echo $ECHO_N "(cached) $ECHO_C" >&6
15110 else
15111 cat >conftest.$ac_ext <<_ACEOF
15112 /* confdefs.h. */
15113 _ACEOF
15114 cat confdefs.h >>conftest.$ac_ext
15115 cat >>conftest.$ac_ext <<_ACEOF
15116 /* end confdefs.h. */
15117 $ac_includes_default
15118 int
15119 main ()
15120 {
15121 if ((void * *) 0)
15122 return 0;
15123 if (sizeof (void *))
15124 return 0;
15125 ;
15126 return 0;
15127 }
15128 _ACEOF
15129 rm -f conftest.$ac_objext
15130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15131 (eval $ac_compile) 2>conftest.er1
15132 ac_status=$?
15133 grep -v '^ *+' conftest.er1 >conftest.err
15134 rm -f conftest.er1
15135 cat conftest.err >&5
15136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15137 (exit $ac_status); } &&
15138 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15140 (eval $ac_try) 2>&5
15141 ac_status=$?
15142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15143 (exit $ac_status); }; } &&
15144 { ac_try='test -s conftest.$ac_objext'
15145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15146 (eval $ac_try) 2>&5
15147 ac_status=$?
15148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15149 (exit $ac_status); }; }; then
15150 ac_cv_type_void_p=yes
15151 else
15152 echo "$as_me: failed program was:" >&5
15153 sed 's/^/| /' conftest.$ac_ext >&5
15154
15155 ac_cv_type_void_p=no
15156 fi
15157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15158 fi
15159 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15160 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15161
15162 echo "$as_me:$LINENO: checking size of void *" >&5
15163 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15164 if test "${ac_cv_sizeof_void_p+set}" = set; then
15165 echo $ECHO_N "(cached) $ECHO_C" >&6
15166 else
15167 if test "$ac_cv_type_void_p" = yes; then
15168 # The cast to unsigned long works around a bug in the HP C Compiler
15169 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15170 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15171 # This bug is HP SR number 8606223364.
15172 if test "$cross_compiling" = yes; then
15173 # Depending upon the size, compute the lo and hi bounds.
15174 cat >conftest.$ac_ext <<_ACEOF
15175 /* confdefs.h. */
15176 _ACEOF
15177 cat confdefs.h >>conftest.$ac_ext
15178 cat >>conftest.$ac_ext <<_ACEOF
15179 /* end confdefs.h. */
15180 $ac_includes_default
15181 int
15182 main ()
15183 {
15184 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15185 test_array [0] = 0
15186
15187 ;
15188 return 0;
15189 }
15190 _ACEOF
15191 rm -f conftest.$ac_objext
15192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15193 (eval $ac_compile) 2>conftest.er1
15194 ac_status=$?
15195 grep -v '^ *+' conftest.er1 >conftest.err
15196 rm -f conftest.er1
15197 cat conftest.err >&5
15198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15199 (exit $ac_status); } &&
15200 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15202 (eval $ac_try) 2>&5
15203 ac_status=$?
15204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15205 (exit $ac_status); }; } &&
15206 { ac_try='test -s conftest.$ac_objext'
15207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15208 (eval $ac_try) 2>&5
15209 ac_status=$?
15210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15211 (exit $ac_status); }; }; then
15212 ac_lo=0 ac_mid=0
15213 while :; do
15214 cat >conftest.$ac_ext <<_ACEOF
15215 /* confdefs.h. */
15216 _ACEOF
15217 cat confdefs.h >>conftest.$ac_ext
15218 cat >>conftest.$ac_ext <<_ACEOF
15219 /* end confdefs.h. */
15220 $ac_includes_default
15221 int
15222 main ()
15223 {
15224 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15225 test_array [0] = 0
15226
15227 ;
15228 return 0;
15229 }
15230 _ACEOF
15231 rm -f conftest.$ac_objext
15232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15233 (eval $ac_compile) 2>conftest.er1
15234 ac_status=$?
15235 grep -v '^ *+' conftest.er1 >conftest.err
15236 rm -f conftest.er1
15237 cat conftest.err >&5
15238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15239 (exit $ac_status); } &&
15240 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15242 (eval $ac_try) 2>&5
15243 ac_status=$?
15244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15245 (exit $ac_status); }; } &&
15246 { ac_try='test -s conftest.$ac_objext'
15247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15248 (eval $ac_try) 2>&5
15249 ac_status=$?
15250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15251 (exit $ac_status); }; }; then
15252 ac_hi=$ac_mid; break
15253 else
15254 echo "$as_me: failed program was:" >&5
15255 sed 's/^/| /' conftest.$ac_ext >&5
15256
15257 ac_lo=`expr $ac_mid + 1`
15258 if test $ac_lo -le $ac_mid; then
15259 ac_lo= ac_hi=
15260 break
15261 fi
15262 ac_mid=`expr 2 '*' $ac_mid + 1`
15263 fi
15264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15265 done
15266 else
15267 echo "$as_me: failed program was:" >&5
15268 sed 's/^/| /' conftest.$ac_ext >&5
15269
15270 cat >conftest.$ac_ext <<_ACEOF
15271 /* confdefs.h. */
15272 _ACEOF
15273 cat confdefs.h >>conftest.$ac_ext
15274 cat >>conftest.$ac_ext <<_ACEOF
15275 /* end confdefs.h. */
15276 $ac_includes_default
15277 int
15278 main ()
15279 {
15280 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15281 test_array [0] = 0
15282
15283 ;
15284 return 0;
15285 }
15286 _ACEOF
15287 rm -f conftest.$ac_objext
15288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15289 (eval $ac_compile) 2>conftest.er1
15290 ac_status=$?
15291 grep -v '^ *+' conftest.er1 >conftest.err
15292 rm -f conftest.er1
15293 cat conftest.err >&5
15294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15295 (exit $ac_status); } &&
15296 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15298 (eval $ac_try) 2>&5
15299 ac_status=$?
15300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15301 (exit $ac_status); }; } &&
15302 { ac_try='test -s conftest.$ac_objext'
15303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15304 (eval $ac_try) 2>&5
15305 ac_status=$?
15306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15307 (exit $ac_status); }; }; then
15308 ac_hi=-1 ac_mid=-1
15309 while :; do
15310 cat >conftest.$ac_ext <<_ACEOF
15311 /* confdefs.h. */
15312 _ACEOF
15313 cat confdefs.h >>conftest.$ac_ext
15314 cat >>conftest.$ac_ext <<_ACEOF
15315 /* end confdefs.h. */
15316 $ac_includes_default
15317 int
15318 main ()
15319 {
15320 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15321 test_array [0] = 0
15322
15323 ;
15324 return 0;
15325 }
15326 _ACEOF
15327 rm -f conftest.$ac_objext
15328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15329 (eval $ac_compile) 2>conftest.er1
15330 ac_status=$?
15331 grep -v '^ *+' conftest.er1 >conftest.err
15332 rm -f conftest.er1
15333 cat conftest.err >&5
15334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15335 (exit $ac_status); } &&
15336 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15338 (eval $ac_try) 2>&5
15339 ac_status=$?
15340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15341 (exit $ac_status); }; } &&
15342 { ac_try='test -s conftest.$ac_objext'
15343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15344 (eval $ac_try) 2>&5
15345 ac_status=$?
15346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15347 (exit $ac_status); }; }; then
15348 ac_lo=$ac_mid; break
15349 else
15350 echo "$as_me: failed program was:" >&5
15351 sed 's/^/| /' conftest.$ac_ext >&5
15352
15353 ac_hi=`expr '(' $ac_mid ')' - 1`
15354 if test $ac_mid -le $ac_hi; then
15355 ac_lo= ac_hi=
15356 break
15357 fi
15358 ac_mid=`expr 2 '*' $ac_mid`
15359 fi
15360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15361 done
15362 else
15363 echo "$as_me: failed program was:" >&5
15364 sed 's/^/| /' conftest.$ac_ext >&5
15365
15366 ac_lo= ac_hi=
15367 fi
15368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15369 fi
15370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15371 # Binary search between lo and hi bounds.
15372 while test "x$ac_lo" != "x$ac_hi"; do
15373 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15374 cat >conftest.$ac_ext <<_ACEOF
15375 /* confdefs.h. */
15376 _ACEOF
15377 cat confdefs.h >>conftest.$ac_ext
15378 cat >>conftest.$ac_ext <<_ACEOF
15379 /* end confdefs.h. */
15380 $ac_includes_default
15381 int
15382 main ()
15383 {
15384 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15385 test_array [0] = 0
15386
15387 ;
15388 return 0;
15389 }
15390 _ACEOF
15391 rm -f conftest.$ac_objext
15392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15393 (eval $ac_compile) 2>conftest.er1
15394 ac_status=$?
15395 grep -v '^ *+' conftest.er1 >conftest.err
15396 rm -f conftest.er1
15397 cat conftest.err >&5
15398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15399 (exit $ac_status); } &&
15400 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15402 (eval $ac_try) 2>&5
15403 ac_status=$?
15404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15405 (exit $ac_status); }; } &&
15406 { ac_try='test -s conftest.$ac_objext'
15407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15408 (eval $ac_try) 2>&5
15409 ac_status=$?
15410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15411 (exit $ac_status); }; }; then
15412 ac_hi=$ac_mid
15413 else
15414 echo "$as_me: failed program was:" >&5
15415 sed 's/^/| /' conftest.$ac_ext >&5
15416
15417 ac_lo=`expr '(' $ac_mid ')' + 1`
15418 fi
15419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15420 done
15421 case $ac_lo in
15422 ?*) ac_cv_sizeof_void_p=$ac_lo;;
15423 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15424 See \`config.log' for more details." >&5
15425 echo "$as_me: error: cannot compute sizeof (void *), 77
15426 See \`config.log' for more details." >&2;}
15427 { (exit 1); exit 1; }; } ;;
15428 esac
15429 else
15430 if test "$cross_compiling" = yes; then
15431 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15432 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15433 { (exit 1); exit 1; }; }
15434 else
15435 cat >conftest.$ac_ext <<_ACEOF
15436 /* confdefs.h. */
15437 _ACEOF
15438 cat confdefs.h >>conftest.$ac_ext
15439 cat >>conftest.$ac_ext <<_ACEOF
15440 /* end confdefs.h. */
15441 $ac_includes_default
15442 long longval () { return (long) (sizeof (void *)); }
15443 unsigned long ulongval () { return (long) (sizeof (void *)); }
15444 #include <stdio.h>
15445 #include <stdlib.h>
15446 int
15447 main ()
15448 {
15449
15450 FILE *f = fopen ("conftest.val", "w");
15451 if (! f)
15452 exit (1);
15453 if (((long) (sizeof (void *))) < 0)
15454 {
15455 long i = longval ();
15456 if (i != ((long) (sizeof (void *))))
15457 exit (1);
15458 fprintf (f, "%ld\n", i);
15459 }
15460 else
15461 {
15462 unsigned long i = ulongval ();
15463 if (i != ((long) (sizeof (void *))))
15464 exit (1);
15465 fprintf (f, "%lu\n", i);
15466 }
15467 exit (ferror (f) || fclose (f) != 0);
15468
15469 ;
15470 return 0;
15471 }
15472 _ACEOF
15473 rm -f conftest$ac_exeext
15474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15475 (eval $ac_link) 2>&5
15476 ac_status=$?
15477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15478 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15480 (eval $ac_try) 2>&5
15481 ac_status=$?
15482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15483 (exit $ac_status); }; }; then
15484 ac_cv_sizeof_void_p=`cat conftest.val`
15485 else
15486 echo "$as_me: program exited with status $ac_status" >&5
15487 echo "$as_me: failed program was:" >&5
15488 sed 's/^/| /' conftest.$ac_ext >&5
15489
15490 ( exit $ac_status )
15491 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15492 See \`config.log' for more details." >&5
15493 echo "$as_me: error: cannot compute sizeof (void *), 77
15494 See \`config.log' for more details." >&2;}
15495 { (exit 1); exit 1; }; }
15496 fi
15497 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15498 fi
15499 fi
15500 rm -f conftest.val
15501 else
15502 ac_cv_sizeof_void_p=0
15503 fi
15504 fi
15505 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15506 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15507 cat >>confdefs.h <<_ACEOF
15508 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15509 _ACEOF
15510
15511
15512 echo "$as_me:$LINENO: checking for int" >&5
15513 echo $ECHO_N "checking for int... $ECHO_C" >&6
15514 if test "${ac_cv_type_int+set}" = set; then
15515 echo $ECHO_N "(cached) $ECHO_C" >&6
15516 else
15517 cat >conftest.$ac_ext <<_ACEOF
15518 /* confdefs.h. */
15519 _ACEOF
15520 cat confdefs.h >>conftest.$ac_ext
15521 cat >>conftest.$ac_ext <<_ACEOF
15522 /* end confdefs.h. */
15523 $ac_includes_default
15524 int
15525 main ()
15526 {
15527 if ((int *) 0)
15528 return 0;
15529 if (sizeof (int))
15530 return 0;
15531 ;
15532 return 0;
15533 }
15534 _ACEOF
15535 rm -f conftest.$ac_objext
15536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15537 (eval $ac_compile) 2>conftest.er1
15538 ac_status=$?
15539 grep -v '^ *+' conftest.er1 >conftest.err
15540 rm -f conftest.er1
15541 cat conftest.err >&5
15542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15543 (exit $ac_status); } &&
15544 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15546 (eval $ac_try) 2>&5
15547 ac_status=$?
15548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15549 (exit $ac_status); }; } &&
15550 { ac_try='test -s conftest.$ac_objext'
15551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15552 (eval $ac_try) 2>&5
15553 ac_status=$?
15554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15555 (exit $ac_status); }; }; then
15556 ac_cv_type_int=yes
15557 else
15558 echo "$as_me: failed program was:" >&5
15559 sed 's/^/| /' conftest.$ac_ext >&5
15560
15561 ac_cv_type_int=no
15562 fi
15563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15564 fi
15565 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15566 echo "${ECHO_T}$ac_cv_type_int" >&6
15567
15568 echo "$as_me:$LINENO: checking size of int" >&5
15569 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15570 if test "${ac_cv_sizeof_int+set}" = set; then
15571 echo $ECHO_N "(cached) $ECHO_C" >&6
15572 else
15573 if test "$ac_cv_type_int" = yes; then
15574 # The cast to unsigned long works around a bug in the HP C Compiler
15575 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15576 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15577 # This bug is HP SR number 8606223364.
15578 if test "$cross_compiling" = yes; then
15579 # Depending upon the size, compute the lo and hi bounds.
15580 cat >conftest.$ac_ext <<_ACEOF
15581 /* confdefs.h. */
15582 _ACEOF
15583 cat confdefs.h >>conftest.$ac_ext
15584 cat >>conftest.$ac_ext <<_ACEOF
15585 /* end confdefs.h. */
15586 $ac_includes_default
15587 int
15588 main ()
15589 {
15590 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15591 test_array [0] = 0
15592
15593 ;
15594 return 0;
15595 }
15596 _ACEOF
15597 rm -f conftest.$ac_objext
15598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15599 (eval $ac_compile) 2>conftest.er1
15600 ac_status=$?
15601 grep -v '^ *+' conftest.er1 >conftest.err
15602 rm -f conftest.er1
15603 cat conftest.err >&5
15604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15605 (exit $ac_status); } &&
15606 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15608 (eval $ac_try) 2>&5
15609 ac_status=$?
15610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15611 (exit $ac_status); }; } &&
15612 { ac_try='test -s conftest.$ac_objext'
15613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15614 (eval $ac_try) 2>&5
15615 ac_status=$?
15616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15617 (exit $ac_status); }; }; then
15618 ac_lo=0 ac_mid=0
15619 while :; do
15620 cat >conftest.$ac_ext <<_ACEOF
15621 /* confdefs.h. */
15622 _ACEOF
15623 cat confdefs.h >>conftest.$ac_ext
15624 cat >>conftest.$ac_ext <<_ACEOF
15625 /* end confdefs.h. */
15626 $ac_includes_default
15627 int
15628 main ()
15629 {
15630 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15631 test_array [0] = 0
15632
15633 ;
15634 return 0;
15635 }
15636 _ACEOF
15637 rm -f conftest.$ac_objext
15638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15639 (eval $ac_compile) 2>conftest.er1
15640 ac_status=$?
15641 grep -v '^ *+' conftest.er1 >conftest.err
15642 rm -f conftest.er1
15643 cat conftest.err >&5
15644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15645 (exit $ac_status); } &&
15646 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15648 (eval $ac_try) 2>&5
15649 ac_status=$?
15650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15651 (exit $ac_status); }; } &&
15652 { ac_try='test -s conftest.$ac_objext'
15653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15654 (eval $ac_try) 2>&5
15655 ac_status=$?
15656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15657 (exit $ac_status); }; }; then
15658 ac_hi=$ac_mid; break
15659 else
15660 echo "$as_me: failed program was:" >&5
15661 sed 's/^/| /' conftest.$ac_ext >&5
15662
15663 ac_lo=`expr $ac_mid + 1`
15664 if test $ac_lo -le $ac_mid; then
15665 ac_lo= ac_hi=
15666 break
15667 fi
15668 ac_mid=`expr 2 '*' $ac_mid + 1`
15669 fi
15670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15671 done
15672 else
15673 echo "$as_me: failed program was:" >&5
15674 sed 's/^/| /' conftest.$ac_ext >&5
15675
15676 cat >conftest.$ac_ext <<_ACEOF
15677 /* confdefs.h. */
15678 _ACEOF
15679 cat confdefs.h >>conftest.$ac_ext
15680 cat >>conftest.$ac_ext <<_ACEOF
15681 /* end confdefs.h. */
15682 $ac_includes_default
15683 int
15684 main ()
15685 {
15686 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15687 test_array [0] = 0
15688
15689 ;
15690 return 0;
15691 }
15692 _ACEOF
15693 rm -f conftest.$ac_objext
15694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15695 (eval $ac_compile) 2>conftest.er1
15696 ac_status=$?
15697 grep -v '^ *+' conftest.er1 >conftest.err
15698 rm -f conftest.er1
15699 cat conftest.err >&5
15700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15701 (exit $ac_status); } &&
15702 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15704 (eval $ac_try) 2>&5
15705 ac_status=$?
15706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15707 (exit $ac_status); }; } &&
15708 { ac_try='test -s conftest.$ac_objext'
15709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15710 (eval $ac_try) 2>&5
15711 ac_status=$?
15712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15713 (exit $ac_status); }; }; then
15714 ac_hi=-1 ac_mid=-1
15715 while :; do
15716 cat >conftest.$ac_ext <<_ACEOF
15717 /* confdefs.h. */
15718 _ACEOF
15719 cat confdefs.h >>conftest.$ac_ext
15720 cat >>conftest.$ac_ext <<_ACEOF
15721 /* end confdefs.h. */
15722 $ac_includes_default
15723 int
15724 main ()
15725 {
15726 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15727 test_array [0] = 0
15728
15729 ;
15730 return 0;
15731 }
15732 _ACEOF
15733 rm -f conftest.$ac_objext
15734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15735 (eval $ac_compile) 2>conftest.er1
15736 ac_status=$?
15737 grep -v '^ *+' conftest.er1 >conftest.err
15738 rm -f conftest.er1
15739 cat conftest.err >&5
15740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15741 (exit $ac_status); } &&
15742 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15744 (eval $ac_try) 2>&5
15745 ac_status=$?
15746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15747 (exit $ac_status); }; } &&
15748 { ac_try='test -s conftest.$ac_objext'
15749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15750 (eval $ac_try) 2>&5
15751 ac_status=$?
15752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15753 (exit $ac_status); }; }; then
15754 ac_lo=$ac_mid; break
15755 else
15756 echo "$as_me: failed program was:" >&5
15757 sed 's/^/| /' conftest.$ac_ext >&5
15758
15759 ac_hi=`expr '(' $ac_mid ')' - 1`
15760 if test $ac_mid -le $ac_hi; then
15761 ac_lo= ac_hi=
15762 break
15763 fi
15764 ac_mid=`expr 2 '*' $ac_mid`
15765 fi
15766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15767 done
15768 else
15769 echo "$as_me: failed program was:" >&5
15770 sed 's/^/| /' conftest.$ac_ext >&5
15771
15772 ac_lo= ac_hi=
15773 fi
15774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15775 fi
15776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15777 # Binary search between lo and hi bounds.
15778 while test "x$ac_lo" != "x$ac_hi"; do
15779 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15780 cat >conftest.$ac_ext <<_ACEOF
15781 /* confdefs.h. */
15782 _ACEOF
15783 cat confdefs.h >>conftest.$ac_ext
15784 cat >>conftest.$ac_ext <<_ACEOF
15785 /* end confdefs.h. */
15786 $ac_includes_default
15787 int
15788 main ()
15789 {
15790 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15791 test_array [0] = 0
15792
15793 ;
15794 return 0;
15795 }
15796 _ACEOF
15797 rm -f conftest.$ac_objext
15798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15799 (eval $ac_compile) 2>conftest.er1
15800 ac_status=$?
15801 grep -v '^ *+' conftest.er1 >conftest.err
15802 rm -f conftest.er1
15803 cat conftest.err >&5
15804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15805 (exit $ac_status); } &&
15806 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15808 (eval $ac_try) 2>&5
15809 ac_status=$?
15810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15811 (exit $ac_status); }; } &&
15812 { ac_try='test -s conftest.$ac_objext'
15813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15814 (eval $ac_try) 2>&5
15815 ac_status=$?
15816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15817 (exit $ac_status); }; }; then
15818 ac_hi=$ac_mid
15819 else
15820 echo "$as_me: failed program was:" >&5
15821 sed 's/^/| /' conftest.$ac_ext >&5
15822
15823 ac_lo=`expr '(' $ac_mid ')' + 1`
15824 fi
15825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15826 done
15827 case $ac_lo in
15828 ?*) ac_cv_sizeof_int=$ac_lo;;
15829 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15830 See \`config.log' for more details." >&5
15831 echo "$as_me: error: cannot compute sizeof (int), 77
15832 See \`config.log' for more details." >&2;}
15833 { (exit 1); exit 1; }; } ;;
15834 esac
15835 else
15836 if test "$cross_compiling" = yes; then
15837 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15838 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15839 { (exit 1); exit 1; }; }
15840 else
15841 cat >conftest.$ac_ext <<_ACEOF
15842 /* confdefs.h. */
15843 _ACEOF
15844 cat confdefs.h >>conftest.$ac_ext
15845 cat >>conftest.$ac_ext <<_ACEOF
15846 /* end confdefs.h. */
15847 $ac_includes_default
15848 long longval () { return (long) (sizeof (int)); }
15849 unsigned long ulongval () { return (long) (sizeof (int)); }
15850 #include <stdio.h>
15851 #include <stdlib.h>
15852 int
15853 main ()
15854 {
15855
15856 FILE *f = fopen ("conftest.val", "w");
15857 if (! f)
15858 exit (1);
15859 if (((long) (sizeof (int))) < 0)
15860 {
15861 long i = longval ();
15862 if (i != ((long) (sizeof (int))))
15863 exit (1);
15864 fprintf (f, "%ld\n", i);
15865 }
15866 else
15867 {
15868 unsigned long i = ulongval ();
15869 if (i != ((long) (sizeof (int))))
15870 exit (1);
15871 fprintf (f, "%lu\n", i);
15872 }
15873 exit (ferror (f) || fclose (f) != 0);
15874
15875 ;
15876 return 0;
15877 }
15878 _ACEOF
15879 rm -f conftest$ac_exeext
15880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15881 (eval $ac_link) 2>&5
15882 ac_status=$?
15883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15884 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15886 (eval $ac_try) 2>&5
15887 ac_status=$?
15888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15889 (exit $ac_status); }; }; then
15890 ac_cv_sizeof_int=`cat conftest.val`
15891 else
15892 echo "$as_me: program exited with status $ac_status" >&5
15893 echo "$as_me: failed program was:" >&5
15894 sed 's/^/| /' conftest.$ac_ext >&5
15895
15896 ( exit $ac_status )
15897 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15898 See \`config.log' for more details." >&5
15899 echo "$as_me: error: cannot compute sizeof (int), 77
15900 See \`config.log' for more details." >&2;}
15901 { (exit 1); exit 1; }; }
15902 fi
15903 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15904 fi
15905 fi
15906 rm -f conftest.val
15907 else
15908 ac_cv_sizeof_int=0
15909 fi
15910 fi
15911 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15912 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15913 cat >>confdefs.h <<_ACEOF
15914 #define SIZEOF_INT $ac_cv_sizeof_int
15915 _ACEOF
15916
15917
15918 echo "$as_me:$LINENO: checking for long" >&5
15919 echo $ECHO_N "checking for long... $ECHO_C" >&6
15920 if test "${ac_cv_type_long+set}" = set; then
15921 echo $ECHO_N "(cached) $ECHO_C" >&6
15922 else
15923 cat >conftest.$ac_ext <<_ACEOF
15924 /* confdefs.h. */
15925 _ACEOF
15926 cat confdefs.h >>conftest.$ac_ext
15927 cat >>conftest.$ac_ext <<_ACEOF
15928 /* end confdefs.h. */
15929 $ac_includes_default
15930 int
15931 main ()
15932 {
15933 if ((long *) 0)
15934 return 0;
15935 if (sizeof (long))
15936 return 0;
15937 ;
15938 return 0;
15939 }
15940 _ACEOF
15941 rm -f conftest.$ac_objext
15942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15943 (eval $ac_compile) 2>conftest.er1
15944 ac_status=$?
15945 grep -v '^ *+' conftest.er1 >conftest.err
15946 rm -f conftest.er1
15947 cat conftest.err >&5
15948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15949 (exit $ac_status); } &&
15950 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15952 (eval $ac_try) 2>&5
15953 ac_status=$?
15954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15955 (exit $ac_status); }; } &&
15956 { ac_try='test -s conftest.$ac_objext'
15957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15958 (eval $ac_try) 2>&5
15959 ac_status=$?
15960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15961 (exit $ac_status); }; }; then
15962 ac_cv_type_long=yes
15963 else
15964 echo "$as_me: failed program was:" >&5
15965 sed 's/^/| /' conftest.$ac_ext >&5
15966
15967 ac_cv_type_long=no
15968 fi
15969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15970 fi
15971 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15972 echo "${ECHO_T}$ac_cv_type_long" >&6
15973
15974 echo "$as_me:$LINENO: checking size of long" >&5
15975 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15976 if test "${ac_cv_sizeof_long+set}" = set; then
15977 echo $ECHO_N "(cached) $ECHO_C" >&6
15978 else
15979 if test "$ac_cv_type_long" = yes; then
15980 # The cast to unsigned long works around a bug in the HP C Compiler
15981 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15982 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15983 # This bug is HP SR number 8606223364.
15984 if test "$cross_compiling" = yes; then
15985 # Depending upon the size, compute the lo and hi bounds.
15986 cat >conftest.$ac_ext <<_ACEOF
15987 /* confdefs.h. */
15988 _ACEOF
15989 cat confdefs.h >>conftest.$ac_ext
15990 cat >>conftest.$ac_ext <<_ACEOF
15991 /* end confdefs.h. */
15992 $ac_includes_default
15993 int
15994 main ()
15995 {
15996 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15997 test_array [0] = 0
15998
15999 ;
16000 return 0;
16001 }
16002 _ACEOF
16003 rm -f conftest.$ac_objext
16004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16005 (eval $ac_compile) 2>conftest.er1
16006 ac_status=$?
16007 grep -v '^ *+' conftest.er1 >conftest.err
16008 rm -f conftest.er1
16009 cat conftest.err >&5
16010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16011 (exit $ac_status); } &&
16012 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16014 (eval $ac_try) 2>&5
16015 ac_status=$?
16016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16017 (exit $ac_status); }; } &&
16018 { ac_try='test -s conftest.$ac_objext'
16019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16020 (eval $ac_try) 2>&5
16021 ac_status=$?
16022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16023 (exit $ac_status); }; }; then
16024 ac_lo=0 ac_mid=0
16025 while :; do
16026 cat >conftest.$ac_ext <<_ACEOF
16027 /* confdefs.h. */
16028 _ACEOF
16029 cat confdefs.h >>conftest.$ac_ext
16030 cat >>conftest.$ac_ext <<_ACEOF
16031 /* end confdefs.h. */
16032 $ac_includes_default
16033 int
16034 main ()
16035 {
16036 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16037 test_array [0] = 0
16038
16039 ;
16040 return 0;
16041 }
16042 _ACEOF
16043 rm -f conftest.$ac_objext
16044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16045 (eval $ac_compile) 2>conftest.er1
16046 ac_status=$?
16047 grep -v '^ *+' conftest.er1 >conftest.err
16048 rm -f conftest.er1
16049 cat conftest.err >&5
16050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16051 (exit $ac_status); } &&
16052 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16054 (eval $ac_try) 2>&5
16055 ac_status=$?
16056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16057 (exit $ac_status); }; } &&
16058 { ac_try='test -s conftest.$ac_objext'
16059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16060 (eval $ac_try) 2>&5
16061 ac_status=$?
16062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16063 (exit $ac_status); }; }; then
16064 ac_hi=$ac_mid; break
16065 else
16066 echo "$as_me: failed program was:" >&5
16067 sed 's/^/| /' conftest.$ac_ext >&5
16068
16069 ac_lo=`expr $ac_mid + 1`
16070 if test $ac_lo -le $ac_mid; then
16071 ac_lo= ac_hi=
16072 break
16073 fi
16074 ac_mid=`expr 2 '*' $ac_mid + 1`
16075 fi
16076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16077 done
16078 else
16079 echo "$as_me: failed program was:" >&5
16080 sed 's/^/| /' conftest.$ac_ext >&5
16081
16082 cat >conftest.$ac_ext <<_ACEOF
16083 /* confdefs.h. */
16084 _ACEOF
16085 cat confdefs.h >>conftest.$ac_ext
16086 cat >>conftest.$ac_ext <<_ACEOF
16087 /* end confdefs.h. */
16088 $ac_includes_default
16089 int
16090 main ()
16091 {
16092 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16093 test_array [0] = 0
16094
16095 ;
16096 return 0;
16097 }
16098 _ACEOF
16099 rm -f conftest.$ac_objext
16100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16101 (eval $ac_compile) 2>conftest.er1
16102 ac_status=$?
16103 grep -v '^ *+' conftest.er1 >conftest.err
16104 rm -f conftest.er1
16105 cat conftest.err >&5
16106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16107 (exit $ac_status); } &&
16108 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16110 (eval $ac_try) 2>&5
16111 ac_status=$?
16112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16113 (exit $ac_status); }; } &&
16114 { ac_try='test -s conftest.$ac_objext'
16115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16116 (eval $ac_try) 2>&5
16117 ac_status=$?
16118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16119 (exit $ac_status); }; }; then
16120 ac_hi=-1 ac_mid=-1
16121 while :; do
16122 cat >conftest.$ac_ext <<_ACEOF
16123 /* confdefs.h. */
16124 _ACEOF
16125 cat confdefs.h >>conftest.$ac_ext
16126 cat >>conftest.$ac_ext <<_ACEOF
16127 /* end confdefs.h. */
16128 $ac_includes_default
16129 int
16130 main ()
16131 {
16132 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16133 test_array [0] = 0
16134
16135 ;
16136 return 0;
16137 }
16138 _ACEOF
16139 rm -f conftest.$ac_objext
16140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16141 (eval $ac_compile) 2>conftest.er1
16142 ac_status=$?
16143 grep -v '^ *+' conftest.er1 >conftest.err
16144 rm -f conftest.er1
16145 cat conftest.err >&5
16146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16147 (exit $ac_status); } &&
16148 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16150 (eval $ac_try) 2>&5
16151 ac_status=$?
16152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16153 (exit $ac_status); }; } &&
16154 { ac_try='test -s conftest.$ac_objext'
16155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16156 (eval $ac_try) 2>&5
16157 ac_status=$?
16158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16159 (exit $ac_status); }; }; then
16160 ac_lo=$ac_mid; break
16161 else
16162 echo "$as_me: failed program was:" >&5
16163 sed 's/^/| /' conftest.$ac_ext >&5
16164
16165 ac_hi=`expr '(' $ac_mid ')' - 1`
16166 if test $ac_mid -le $ac_hi; then
16167 ac_lo= ac_hi=
16168 break
16169 fi
16170 ac_mid=`expr 2 '*' $ac_mid`
16171 fi
16172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16173 done
16174 else
16175 echo "$as_me: failed program was:" >&5
16176 sed 's/^/| /' conftest.$ac_ext >&5
16177
16178 ac_lo= ac_hi=
16179 fi
16180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16181 fi
16182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16183 # Binary search between lo and hi bounds.
16184 while test "x$ac_lo" != "x$ac_hi"; do
16185 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16186 cat >conftest.$ac_ext <<_ACEOF
16187 /* confdefs.h. */
16188 _ACEOF
16189 cat confdefs.h >>conftest.$ac_ext
16190 cat >>conftest.$ac_ext <<_ACEOF
16191 /* end confdefs.h. */
16192 $ac_includes_default
16193 int
16194 main ()
16195 {
16196 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16197 test_array [0] = 0
16198
16199 ;
16200 return 0;
16201 }
16202 _ACEOF
16203 rm -f conftest.$ac_objext
16204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16205 (eval $ac_compile) 2>conftest.er1
16206 ac_status=$?
16207 grep -v '^ *+' conftest.er1 >conftest.err
16208 rm -f conftest.er1
16209 cat conftest.err >&5
16210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16211 (exit $ac_status); } &&
16212 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16214 (eval $ac_try) 2>&5
16215 ac_status=$?
16216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16217 (exit $ac_status); }; } &&
16218 { ac_try='test -s conftest.$ac_objext'
16219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16220 (eval $ac_try) 2>&5
16221 ac_status=$?
16222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16223 (exit $ac_status); }; }; then
16224 ac_hi=$ac_mid
16225 else
16226 echo "$as_me: failed program was:" >&5
16227 sed 's/^/| /' conftest.$ac_ext >&5
16228
16229 ac_lo=`expr '(' $ac_mid ')' + 1`
16230 fi
16231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16232 done
16233 case $ac_lo in
16234 ?*) ac_cv_sizeof_long=$ac_lo;;
16235 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16236 See \`config.log' for more details." >&5
16237 echo "$as_me: error: cannot compute sizeof (long), 77
16238 See \`config.log' for more details." >&2;}
16239 { (exit 1); exit 1; }; } ;;
16240 esac
16241 else
16242 if test "$cross_compiling" = yes; then
16243 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16244 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16245 { (exit 1); exit 1; }; }
16246 else
16247 cat >conftest.$ac_ext <<_ACEOF
16248 /* confdefs.h. */
16249 _ACEOF
16250 cat confdefs.h >>conftest.$ac_ext
16251 cat >>conftest.$ac_ext <<_ACEOF
16252 /* end confdefs.h. */
16253 $ac_includes_default
16254 long longval () { return (long) (sizeof (long)); }
16255 unsigned long ulongval () { return (long) (sizeof (long)); }
16256 #include <stdio.h>
16257 #include <stdlib.h>
16258 int
16259 main ()
16260 {
16261
16262 FILE *f = fopen ("conftest.val", "w");
16263 if (! f)
16264 exit (1);
16265 if (((long) (sizeof (long))) < 0)
16266 {
16267 long i = longval ();
16268 if (i != ((long) (sizeof (long))))
16269 exit (1);
16270 fprintf (f, "%ld\n", i);
16271 }
16272 else
16273 {
16274 unsigned long i = ulongval ();
16275 if (i != ((long) (sizeof (long))))
16276 exit (1);
16277 fprintf (f, "%lu\n", i);
16278 }
16279 exit (ferror (f) || fclose (f) != 0);
16280
16281 ;
16282 return 0;
16283 }
16284 _ACEOF
16285 rm -f conftest$ac_exeext
16286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16287 (eval $ac_link) 2>&5
16288 ac_status=$?
16289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16290 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16292 (eval $ac_try) 2>&5
16293 ac_status=$?
16294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16295 (exit $ac_status); }; }; then
16296 ac_cv_sizeof_long=`cat conftest.val`
16297 else
16298 echo "$as_me: program exited with status $ac_status" >&5
16299 echo "$as_me: failed program was:" >&5
16300 sed 's/^/| /' conftest.$ac_ext >&5
16301
16302 ( exit $ac_status )
16303 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16304 See \`config.log' for more details." >&5
16305 echo "$as_me: error: cannot compute sizeof (long), 77
16306 See \`config.log' for more details." >&2;}
16307 { (exit 1); exit 1; }; }
16308 fi
16309 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16310 fi
16311 fi
16312 rm -f conftest.val
16313 else
16314 ac_cv_sizeof_long=0
16315 fi
16316 fi
16317 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16318 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16319 cat >>confdefs.h <<_ACEOF
16320 #define SIZEOF_LONG $ac_cv_sizeof_long
16321 _ACEOF
16322
16323
16324 echo "$as_me:$LINENO: checking for size_t" >&5
16325 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16326 if test "${ac_cv_type_size_t+set}" = set; then
16327 echo $ECHO_N "(cached) $ECHO_C" >&6
16328 else
16329 cat >conftest.$ac_ext <<_ACEOF
16330 /* confdefs.h. */
16331 _ACEOF
16332 cat confdefs.h >>conftest.$ac_ext
16333 cat >>conftest.$ac_ext <<_ACEOF
16334 /* end confdefs.h. */
16335 $ac_includes_default
16336 int
16337 main ()
16338 {
16339 if ((size_t *) 0)
16340 return 0;
16341 if (sizeof (size_t))
16342 return 0;
16343 ;
16344 return 0;
16345 }
16346 _ACEOF
16347 rm -f conftest.$ac_objext
16348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16349 (eval $ac_compile) 2>conftest.er1
16350 ac_status=$?
16351 grep -v '^ *+' conftest.er1 >conftest.err
16352 rm -f conftest.er1
16353 cat conftest.err >&5
16354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16355 (exit $ac_status); } &&
16356 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16358 (eval $ac_try) 2>&5
16359 ac_status=$?
16360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16361 (exit $ac_status); }; } &&
16362 { ac_try='test -s conftest.$ac_objext'
16363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16364 (eval $ac_try) 2>&5
16365 ac_status=$?
16366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16367 (exit $ac_status); }; }; then
16368 ac_cv_type_size_t=yes
16369 else
16370 echo "$as_me: failed program was:" >&5
16371 sed 's/^/| /' conftest.$ac_ext >&5
16372
16373 ac_cv_type_size_t=no
16374 fi
16375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16376 fi
16377 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16378 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16379
16380 echo "$as_me:$LINENO: checking size of size_t" >&5
16381 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16382 if test "${ac_cv_sizeof_size_t+set}" = set; then
16383 echo $ECHO_N "(cached) $ECHO_C" >&6
16384 else
16385 if test "$ac_cv_type_size_t" = yes; then
16386 # The cast to unsigned long works around a bug in the HP C Compiler
16387 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16388 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16389 # This bug is HP SR number 8606223364.
16390 if test "$cross_compiling" = yes; then
16391 # Depending upon the size, compute the lo and hi bounds.
16392 cat >conftest.$ac_ext <<_ACEOF
16393 /* confdefs.h. */
16394 _ACEOF
16395 cat confdefs.h >>conftest.$ac_ext
16396 cat >>conftest.$ac_ext <<_ACEOF
16397 /* end confdefs.h. */
16398 $ac_includes_default
16399 int
16400 main ()
16401 {
16402 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16403 test_array [0] = 0
16404
16405 ;
16406 return 0;
16407 }
16408 _ACEOF
16409 rm -f conftest.$ac_objext
16410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16411 (eval $ac_compile) 2>conftest.er1
16412 ac_status=$?
16413 grep -v '^ *+' conftest.er1 >conftest.err
16414 rm -f conftest.er1
16415 cat conftest.err >&5
16416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16417 (exit $ac_status); } &&
16418 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16420 (eval $ac_try) 2>&5
16421 ac_status=$?
16422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16423 (exit $ac_status); }; } &&
16424 { ac_try='test -s conftest.$ac_objext'
16425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16426 (eval $ac_try) 2>&5
16427 ac_status=$?
16428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16429 (exit $ac_status); }; }; then
16430 ac_lo=0 ac_mid=0
16431 while :; do
16432 cat >conftest.$ac_ext <<_ACEOF
16433 /* confdefs.h. */
16434 _ACEOF
16435 cat confdefs.h >>conftest.$ac_ext
16436 cat >>conftest.$ac_ext <<_ACEOF
16437 /* end confdefs.h. */
16438 $ac_includes_default
16439 int
16440 main ()
16441 {
16442 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16443 test_array [0] = 0
16444
16445 ;
16446 return 0;
16447 }
16448 _ACEOF
16449 rm -f conftest.$ac_objext
16450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16451 (eval $ac_compile) 2>conftest.er1
16452 ac_status=$?
16453 grep -v '^ *+' conftest.er1 >conftest.err
16454 rm -f conftest.er1
16455 cat conftest.err >&5
16456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16457 (exit $ac_status); } &&
16458 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16460 (eval $ac_try) 2>&5
16461 ac_status=$?
16462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16463 (exit $ac_status); }; } &&
16464 { ac_try='test -s conftest.$ac_objext'
16465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16466 (eval $ac_try) 2>&5
16467 ac_status=$?
16468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16469 (exit $ac_status); }; }; then
16470 ac_hi=$ac_mid; break
16471 else
16472 echo "$as_me: failed program was:" >&5
16473 sed 's/^/| /' conftest.$ac_ext >&5
16474
16475 ac_lo=`expr $ac_mid + 1`
16476 if test $ac_lo -le $ac_mid; then
16477 ac_lo= ac_hi=
16478 break
16479 fi
16480 ac_mid=`expr 2 '*' $ac_mid + 1`
16481 fi
16482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16483 done
16484 else
16485 echo "$as_me: failed program was:" >&5
16486 sed 's/^/| /' conftest.$ac_ext >&5
16487
16488 cat >conftest.$ac_ext <<_ACEOF
16489 /* confdefs.h. */
16490 _ACEOF
16491 cat confdefs.h >>conftest.$ac_ext
16492 cat >>conftest.$ac_ext <<_ACEOF
16493 /* end confdefs.h. */
16494 $ac_includes_default
16495 int
16496 main ()
16497 {
16498 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16499 test_array [0] = 0
16500
16501 ;
16502 return 0;
16503 }
16504 _ACEOF
16505 rm -f conftest.$ac_objext
16506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16507 (eval $ac_compile) 2>conftest.er1
16508 ac_status=$?
16509 grep -v '^ *+' conftest.er1 >conftest.err
16510 rm -f conftest.er1
16511 cat conftest.err >&5
16512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16513 (exit $ac_status); } &&
16514 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16516 (eval $ac_try) 2>&5
16517 ac_status=$?
16518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16519 (exit $ac_status); }; } &&
16520 { ac_try='test -s conftest.$ac_objext'
16521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16522 (eval $ac_try) 2>&5
16523 ac_status=$?
16524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16525 (exit $ac_status); }; }; then
16526 ac_hi=-1 ac_mid=-1
16527 while :; do
16528 cat >conftest.$ac_ext <<_ACEOF
16529 /* confdefs.h. */
16530 _ACEOF
16531 cat confdefs.h >>conftest.$ac_ext
16532 cat >>conftest.$ac_ext <<_ACEOF
16533 /* end confdefs.h. */
16534 $ac_includes_default
16535 int
16536 main ()
16537 {
16538 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16539 test_array [0] = 0
16540
16541 ;
16542 return 0;
16543 }
16544 _ACEOF
16545 rm -f conftest.$ac_objext
16546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16547 (eval $ac_compile) 2>conftest.er1
16548 ac_status=$?
16549 grep -v '^ *+' conftest.er1 >conftest.err
16550 rm -f conftest.er1
16551 cat conftest.err >&5
16552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16553 (exit $ac_status); } &&
16554 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16556 (eval $ac_try) 2>&5
16557 ac_status=$?
16558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16559 (exit $ac_status); }; } &&
16560 { ac_try='test -s conftest.$ac_objext'
16561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16562 (eval $ac_try) 2>&5
16563 ac_status=$?
16564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16565 (exit $ac_status); }; }; then
16566 ac_lo=$ac_mid; break
16567 else
16568 echo "$as_me: failed program was:" >&5
16569 sed 's/^/| /' conftest.$ac_ext >&5
16570
16571 ac_hi=`expr '(' $ac_mid ')' - 1`
16572 if test $ac_mid -le $ac_hi; then
16573 ac_lo= ac_hi=
16574 break
16575 fi
16576 ac_mid=`expr 2 '*' $ac_mid`
16577 fi
16578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16579 done
16580 else
16581 echo "$as_me: failed program was:" >&5
16582 sed 's/^/| /' conftest.$ac_ext >&5
16583
16584 ac_lo= ac_hi=
16585 fi
16586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16587 fi
16588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16589 # Binary search between lo and hi bounds.
16590 while test "x$ac_lo" != "x$ac_hi"; do
16591 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16592 cat >conftest.$ac_ext <<_ACEOF
16593 /* confdefs.h. */
16594 _ACEOF
16595 cat confdefs.h >>conftest.$ac_ext
16596 cat >>conftest.$ac_ext <<_ACEOF
16597 /* end confdefs.h. */
16598 $ac_includes_default
16599 int
16600 main ()
16601 {
16602 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16603 test_array [0] = 0
16604
16605 ;
16606 return 0;
16607 }
16608 _ACEOF
16609 rm -f conftest.$ac_objext
16610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16611 (eval $ac_compile) 2>conftest.er1
16612 ac_status=$?
16613 grep -v '^ *+' conftest.er1 >conftest.err
16614 rm -f conftest.er1
16615 cat conftest.err >&5
16616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16617 (exit $ac_status); } &&
16618 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16620 (eval $ac_try) 2>&5
16621 ac_status=$?
16622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16623 (exit $ac_status); }; } &&
16624 { ac_try='test -s conftest.$ac_objext'
16625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16626 (eval $ac_try) 2>&5
16627 ac_status=$?
16628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16629 (exit $ac_status); }; }; then
16630 ac_hi=$ac_mid
16631 else
16632 echo "$as_me: failed program was:" >&5
16633 sed 's/^/| /' conftest.$ac_ext >&5
16634
16635 ac_lo=`expr '(' $ac_mid ')' + 1`
16636 fi
16637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16638 done
16639 case $ac_lo in
16640 ?*) ac_cv_sizeof_size_t=$ac_lo;;
16641 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16642 See \`config.log' for more details." >&5
16643 echo "$as_me: error: cannot compute sizeof (size_t), 77
16644 See \`config.log' for more details." >&2;}
16645 { (exit 1); exit 1; }; } ;;
16646 esac
16647 else
16648 if test "$cross_compiling" = yes; then
16649 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16650 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16651 { (exit 1); exit 1; }; }
16652 else
16653 cat >conftest.$ac_ext <<_ACEOF
16654 /* confdefs.h. */
16655 _ACEOF
16656 cat confdefs.h >>conftest.$ac_ext
16657 cat >>conftest.$ac_ext <<_ACEOF
16658 /* end confdefs.h. */
16659 $ac_includes_default
16660 long longval () { return (long) (sizeof (size_t)); }
16661 unsigned long ulongval () { return (long) (sizeof (size_t)); }
16662 #include <stdio.h>
16663 #include <stdlib.h>
16664 int
16665 main ()
16666 {
16667
16668 FILE *f = fopen ("conftest.val", "w");
16669 if (! f)
16670 exit (1);
16671 if (((long) (sizeof (size_t))) < 0)
16672 {
16673 long i = longval ();
16674 if (i != ((long) (sizeof (size_t))))
16675 exit (1);
16676 fprintf (f, "%ld\n", i);
16677 }
16678 else
16679 {
16680 unsigned long i = ulongval ();
16681 if (i != ((long) (sizeof (size_t))))
16682 exit (1);
16683 fprintf (f, "%lu\n", i);
16684 }
16685 exit (ferror (f) || fclose (f) != 0);
16686
16687 ;
16688 return 0;
16689 }
16690 _ACEOF
16691 rm -f conftest$ac_exeext
16692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16693 (eval $ac_link) 2>&5
16694 ac_status=$?
16695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16696 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16698 (eval $ac_try) 2>&5
16699 ac_status=$?
16700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16701 (exit $ac_status); }; }; then
16702 ac_cv_sizeof_size_t=`cat conftest.val`
16703 else
16704 echo "$as_me: program exited with status $ac_status" >&5
16705 echo "$as_me: failed program was:" >&5
16706 sed 's/^/| /' conftest.$ac_ext >&5
16707
16708 ( exit $ac_status )
16709 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16710 See \`config.log' for more details." >&5
16711 echo "$as_me: error: cannot compute sizeof (size_t), 77
16712 See \`config.log' for more details." >&2;}
16713 { (exit 1); exit 1; }; }
16714 fi
16715 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16716 fi
16717 fi
16718 rm -f conftest.val
16719 else
16720 ac_cv_sizeof_size_t=0
16721 fi
16722 fi
16723 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
16724 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
16725 cat >>confdefs.h <<_ACEOF
16726 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16727 _ACEOF
16728
16729
16730
16731 case "${host}" in
16732 arm-*-linux* )
16733 echo "$as_me:$LINENO: checking for long long" >&5
16734 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16735 if test "${ac_cv_type_long_long+set}" = set; then
16736 echo $ECHO_N "(cached) $ECHO_C" >&6
16737 else
16738 cat >conftest.$ac_ext <<_ACEOF
16739 /* confdefs.h. */
16740 _ACEOF
16741 cat confdefs.h >>conftest.$ac_ext
16742 cat >>conftest.$ac_ext <<_ACEOF
16743 /* end confdefs.h. */
16744 $ac_includes_default
16745 int
16746 main ()
16747 {
16748 if ((long long *) 0)
16749 return 0;
16750 if (sizeof (long long))
16751 return 0;
16752 ;
16753 return 0;
16754 }
16755 _ACEOF
16756 rm -f conftest.$ac_objext
16757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16758 (eval $ac_compile) 2>conftest.er1
16759 ac_status=$?
16760 grep -v '^ *+' conftest.er1 >conftest.err
16761 rm -f conftest.er1
16762 cat conftest.err >&5
16763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16764 (exit $ac_status); } &&
16765 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16767 (eval $ac_try) 2>&5
16768 ac_status=$?
16769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16770 (exit $ac_status); }; } &&
16771 { ac_try='test -s conftest.$ac_objext'
16772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16773 (eval $ac_try) 2>&5
16774 ac_status=$?
16775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16776 (exit $ac_status); }; }; then
16777 ac_cv_type_long_long=yes
16778 else
16779 echo "$as_me: failed program was:" >&5
16780 sed 's/^/| /' conftest.$ac_ext >&5
16781
16782 ac_cv_type_long_long=no
16783 fi
16784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16785 fi
16786 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16787 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16788
16789 echo "$as_me:$LINENO: checking size of long long" >&5
16790 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16791 if test "${ac_cv_sizeof_long_long+set}" = set; then
16792 echo $ECHO_N "(cached) $ECHO_C" >&6
16793 else
16794 if test "$ac_cv_type_long_long" = yes; then
16795 # The cast to unsigned long works around a bug in the HP C Compiler
16796 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16797 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16798 # This bug is HP SR number 8606223364.
16799 if test "$cross_compiling" = yes; then
16800 # Depending upon the size, compute the lo and hi bounds.
16801 cat >conftest.$ac_ext <<_ACEOF
16802 /* confdefs.h. */
16803 _ACEOF
16804 cat confdefs.h >>conftest.$ac_ext
16805 cat >>conftest.$ac_ext <<_ACEOF
16806 /* end confdefs.h. */
16807 $ac_includes_default
16808 int
16809 main ()
16810 {
16811 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16812 test_array [0] = 0
16813
16814 ;
16815 return 0;
16816 }
16817 _ACEOF
16818 rm -f conftest.$ac_objext
16819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16820 (eval $ac_compile) 2>conftest.er1
16821 ac_status=$?
16822 grep -v '^ *+' conftest.er1 >conftest.err
16823 rm -f conftest.er1
16824 cat conftest.err >&5
16825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16826 (exit $ac_status); } &&
16827 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16829 (eval $ac_try) 2>&5
16830 ac_status=$?
16831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16832 (exit $ac_status); }; } &&
16833 { ac_try='test -s conftest.$ac_objext'
16834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16835 (eval $ac_try) 2>&5
16836 ac_status=$?
16837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16838 (exit $ac_status); }; }; then
16839 ac_lo=0 ac_mid=0
16840 while :; do
16841 cat >conftest.$ac_ext <<_ACEOF
16842 /* confdefs.h. */
16843 _ACEOF
16844 cat confdefs.h >>conftest.$ac_ext
16845 cat >>conftest.$ac_ext <<_ACEOF
16846 /* end confdefs.h. */
16847 $ac_includes_default
16848 int
16849 main ()
16850 {
16851 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16852 test_array [0] = 0
16853
16854 ;
16855 return 0;
16856 }
16857 _ACEOF
16858 rm -f conftest.$ac_objext
16859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16860 (eval $ac_compile) 2>conftest.er1
16861 ac_status=$?
16862 grep -v '^ *+' conftest.er1 >conftest.err
16863 rm -f conftest.er1
16864 cat conftest.err >&5
16865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16866 (exit $ac_status); } &&
16867 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16869 (eval $ac_try) 2>&5
16870 ac_status=$?
16871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16872 (exit $ac_status); }; } &&
16873 { ac_try='test -s conftest.$ac_objext'
16874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16875 (eval $ac_try) 2>&5
16876 ac_status=$?
16877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16878 (exit $ac_status); }; }; then
16879 ac_hi=$ac_mid; break
16880 else
16881 echo "$as_me: failed program was:" >&5
16882 sed 's/^/| /' conftest.$ac_ext >&5
16883
16884 ac_lo=`expr $ac_mid + 1`
16885 if test $ac_lo -le $ac_mid; then
16886 ac_lo= ac_hi=
16887 break
16888 fi
16889 ac_mid=`expr 2 '*' $ac_mid + 1`
16890 fi
16891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16892 done
16893 else
16894 echo "$as_me: failed program was:" >&5
16895 sed 's/^/| /' conftest.$ac_ext >&5
16896
16897 cat >conftest.$ac_ext <<_ACEOF
16898 /* confdefs.h. */
16899 _ACEOF
16900 cat confdefs.h >>conftest.$ac_ext
16901 cat >>conftest.$ac_ext <<_ACEOF
16902 /* end confdefs.h. */
16903 $ac_includes_default
16904 int
16905 main ()
16906 {
16907 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16908 test_array [0] = 0
16909
16910 ;
16911 return 0;
16912 }
16913 _ACEOF
16914 rm -f conftest.$ac_objext
16915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16916 (eval $ac_compile) 2>conftest.er1
16917 ac_status=$?
16918 grep -v '^ *+' conftest.er1 >conftest.err
16919 rm -f conftest.er1
16920 cat conftest.err >&5
16921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16922 (exit $ac_status); } &&
16923 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16925 (eval $ac_try) 2>&5
16926 ac_status=$?
16927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16928 (exit $ac_status); }; } &&
16929 { ac_try='test -s conftest.$ac_objext'
16930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16931 (eval $ac_try) 2>&5
16932 ac_status=$?
16933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16934 (exit $ac_status); }; }; then
16935 ac_hi=-1 ac_mid=-1
16936 while :; do
16937 cat >conftest.$ac_ext <<_ACEOF
16938 /* confdefs.h. */
16939 _ACEOF
16940 cat confdefs.h >>conftest.$ac_ext
16941 cat >>conftest.$ac_ext <<_ACEOF
16942 /* end confdefs.h. */
16943 $ac_includes_default
16944 int
16945 main ()
16946 {
16947 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16948 test_array [0] = 0
16949
16950 ;
16951 return 0;
16952 }
16953 _ACEOF
16954 rm -f conftest.$ac_objext
16955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16956 (eval $ac_compile) 2>conftest.er1
16957 ac_status=$?
16958 grep -v '^ *+' conftest.er1 >conftest.err
16959 rm -f conftest.er1
16960 cat conftest.err >&5
16961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16962 (exit $ac_status); } &&
16963 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16965 (eval $ac_try) 2>&5
16966 ac_status=$?
16967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16968 (exit $ac_status); }; } &&
16969 { ac_try='test -s conftest.$ac_objext'
16970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16971 (eval $ac_try) 2>&5
16972 ac_status=$?
16973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16974 (exit $ac_status); }; }; then
16975 ac_lo=$ac_mid; break
16976 else
16977 echo "$as_me: failed program was:" >&5
16978 sed 's/^/| /' conftest.$ac_ext >&5
16979
16980 ac_hi=`expr '(' $ac_mid ')' - 1`
16981 if test $ac_mid -le $ac_hi; then
16982 ac_lo= ac_hi=
16983 break
16984 fi
16985 ac_mid=`expr 2 '*' $ac_mid`
16986 fi
16987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16988 done
16989 else
16990 echo "$as_me: failed program was:" >&5
16991 sed 's/^/| /' conftest.$ac_ext >&5
16992
16993 ac_lo= ac_hi=
16994 fi
16995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16996 fi
16997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16998 # Binary search between lo and hi bounds.
16999 while test "x$ac_lo" != "x$ac_hi"; do
17000 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17001 cat >conftest.$ac_ext <<_ACEOF
17002 /* confdefs.h. */
17003 _ACEOF
17004 cat confdefs.h >>conftest.$ac_ext
17005 cat >>conftest.$ac_ext <<_ACEOF
17006 /* end confdefs.h. */
17007 $ac_includes_default
17008 int
17009 main ()
17010 {
17011 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17012 test_array [0] = 0
17013
17014 ;
17015 return 0;
17016 }
17017 _ACEOF
17018 rm -f conftest.$ac_objext
17019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17020 (eval $ac_compile) 2>conftest.er1
17021 ac_status=$?
17022 grep -v '^ *+' conftest.er1 >conftest.err
17023 rm -f conftest.er1
17024 cat conftest.err >&5
17025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17026 (exit $ac_status); } &&
17027 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17029 (eval $ac_try) 2>&5
17030 ac_status=$?
17031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17032 (exit $ac_status); }; } &&
17033 { ac_try='test -s conftest.$ac_objext'
17034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17035 (eval $ac_try) 2>&5
17036 ac_status=$?
17037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17038 (exit $ac_status); }; }; then
17039 ac_hi=$ac_mid
17040 else
17041 echo "$as_me: failed program was:" >&5
17042 sed 's/^/| /' conftest.$ac_ext >&5
17043
17044 ac_lo=`expr '(' $ac_mid ')' + 1`
17045 fi
17046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17047 done
17048 case $ac_lo in
17049 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17050 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17051 See \`config.log' for more details." >&5
17052 echo "$as_me: error: cannot compute sizeof (long long), 77
17053 See \`config.log' for more details." >&2;}
17054 { (exit 1); exit 1; }; } ;;
17055 esac
17056 else
17057 if test "$cross_compiling" = yes; then
17058 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17059 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17060 { (exit 1); exit 1; }; }
17061 else
17062 cat >conftest.$ac_ext <<_ACEOF
17063 /* confdefs.h. */
17064 _ACEOF
17065 cat confdefs.h >>conftest.$ac_ext
17066 cat >>conftest.$ac_ext <<_ACEOF
17067 /* end confdefs.h. */
17068 $ac_includes_default
17069 long longval () { return (long) (sizeof (long long)); }
17070 unsigned long ulongval () { return (long) (sizeof (long long)); }
17071 #include <stdio.h>
17072 #include <stdlib.h>
17073 int
17074 main ()
17075 {
17076
17077 FILE *f = fopen ("conftest.val", "w");
17078 if (! f)
17079 exit (1);
17080 if (((long) (sizeof (long long))) < 0)
17081 {
17082 long i = longval ();
17083 if (i != ((long) (sizeof (long long))))
17084 exit (1);
17085 fprintf (f, "%ld\n", i);
17086 }
17087 else
17088 {
17089 unsigned long i = ulongval ();
17090 if (i != ((long) (sizeof (long long))))
17091 exit (1);
17092 fprintf (f, "%lu\n", i);
17093 }
17094 exit (ferror (f) || fclose (f) != 0);
17095
17096 ;
17097 return 0;
17098 }
17099 _ACEOF
17100 rm -f conftest$ac_exeext
17101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17102 (eval $ac_link) 2>&5
17103 ac_status=$?
17104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17105 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17107 (eval $ac_try) 2>&5
17108 ac_status=$?
17109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17110 (exit $ac_status); }; }; then
17111 ac_cv_sizeof_long_long=`cat conftest.val`
17112 else
17113 echo "$as_me: program exited with status $ac_status" >&5
17114 echo "$as_me: failed program was:" >&5
17115 sed 's/^/| /' conftest.$ac_ext >&5
17116
17117 ( exit $ac_status )
17118 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17119 See \`config.log' for more details." >&5
17120 echo "$as_me: error: cannot compute sizeof (long long), 77
17121 See \`config.log' for more details." >&2;}
17122 { (exit 1); exit 1; }; }
17123 fi
17124 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17125 fi
17126 fi
17127 rm -f conftest.val
17128 else
17129 ac_cv_sizeof_long_long=0
17130 fi
17131 fi
17132 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17133 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17134 cat >>confdefs.h <<_ACEOF
17135 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17136 _ACEOF
17137
17138
17139 ;;
17140 *-hp-hpux* )
17141 echo "$as_me:$LINENO: checking for long long" >&5
17142 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17143 if test "${ac_cv_type_long_long+set}" = set; then
17144 echo $ECHO_N "(cached) $ECHO_C" >&6
17145 else
17146 cat >conftest.$ac_ext <<_ACEOF
17147 /* confdefs.h. */
17148 _ACEOF
17149 cat confdefs.h >>conftest.$ac_ext
17150 cat >>conftest.$ac_ext <<_ACEOF
17151 /* end confdefs.h. */
17152 $ac_includes_default
17153 int
17154 main ()
17155 {
17156 if ((long long *) 0)
17157 return 0;
17158 if (sizeof (long long))
17159 return 0;
17160 ;
17161 return 0;
17162 }
17163 _ACEOF
17164 rm -f conftest.$ac_objext
17165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17166 (eval $ac_compile) 2>conftest.er1
17167 ac_status=$?
17168 grep -v '^ *+' conftest.er1 >conftest.err
17169 rm -f conftest.er1
17170 cat conftest.err >&5
17171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17172 (exit $ac_status); } &&
17173 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17175 (eval $ac_try) 2>&5
17176 ac_status=$?
17177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17178 (exit $ac_status); }; } &&
17179 { ac_try='test -s conftest.$ac_objext'
17180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17181 (eval $ac_try) 2>&5
17182 ac_status=$?
17183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17184 (exit $ac_status); }; }; then
17185 ac_cv_type_long_long=yes
17186 else
17187 echo "$as_me: failed program was:" >&5
17188 sed 's/^/| /' conftest.$ac_ext >&5
17189
17190 ac_cv_type_long_long=no
17191 fi
17192 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17193 fi
17194 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17195 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17196
17197 echo "$as_me:$LINENO: checking size of long long" >&5
17198 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17199 if test "${ac_cv_sizeof_long_long+set}" = set; then
17200 echo $ECHO_N "(cached) $ECHO_C" >&6
17201 else
17202 if test "$ac_cv_type_long_long" = yes; then
17203 # The cast to unsigned long works around a bug in the HP C Compiler
17204 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17205 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17206 # This bug is HP SR number 8606223364.
17207 if test "$cross_compiling" = yes; then
17208 # Depending upon the size, compute the lo and hi bounds.
17209 cat >conftest.$ac_ext <<_ACEOF
17210 /* confdefs.h. */
17211 _ACEOF
17212 cat confdefs.h >>conftest.$ac_ext
17213 cat >>conftest.$ac_ext <<_ACEOF
17214 /* end confdefs.h. */
17215 $ac_includes_default
17216 int
17217 main ()
17218 {
17219 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17220 test_array [0] = 0
17221
17222 ;
17223 return 0;
17224 }
17225 _ACEOF
17226 rm -f conftest.$ac_objext
17227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17228 (eval $ac_compile) 2>conftest.er1
17229 ac_status=$?
17230 grep -v '^ *+' conftest.er1 >conftest.err
17231 rm -f conftest.er1
17232 cat conftest.err >&5
17233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17234 (exit $ac_status); } &&
17235 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17237 (eval $ac_try) 2>&5
17238 ac_status=$?
17239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17240 (exit $ac_status); }; } &&
17241 { ac_try='test -s conftest.$ac_objext'
17242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17243 (eval $ac_try) 2>&5
17244 ac_status=$?
17245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17246 (exit $ac_status); }; }; then
17247 ac_lo=0 ac_mid=0
17248 while :; do
17249 cat >conftest.$ac_ext <<_ACEOF
17250 /* confdefs.h. */
17251 _ACEOF
17252 cat confdefs.h >>conftest.$ac_ext
17253 cat >>conftest.$ac_ext <<_ACEOF
17254 /* end confdefs.h. */
17255 $ac_includes_default
17256 int
17257 main ()
17258 {
17259 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17260 test_array [0] = 0
17261
17262 ;
17263 return 0;
17264 }
17265 _ACEOF
17266 rm -f conftest.$ac_objext
17267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17268 (eval $ac_compile) 2>conftest.er1
17269 ac_status=$?
17270 grep -v '^ *+' conftest.er1 >conftest.err
17271 rm -f conftest.er1
17272 cat conftest.err >&5
17273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17274 (exit $ac_status); } &&
17275 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17277 (eval $ac_try) 2>&5
17278 ac_status=$?
17279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17280 (exit $ac_status); }; } &&
17281 { ac_try='test -s conftest.$ac_objext'
17282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17283 (eval $ac_try) 2>&5
17284 ac_status=$?
17285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17286 (exit $ac_status); }; }; then
17287 ac_hi=$ac_mid; break
17288 else
17289 echo "$as_me: failed program was:" >&5
17290 sed 's/^/| /' conftest.$ac_ext >&5
17291
17292 ac_lo=`expr $ac_mid + 1`
17293 if test $ac_lo -le $ac_mid; then
17294 ac_lo= ac_hi=
17295 break
17296 fi
17297 ac_mid=`expr 2 '*' $ac_mid + 1`
17298 fi
17299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17300 done
17301 else
17302 echo "$as_me: failed program was:" >&5
17303 sed 's/^/| /' conftest.$ac_ext >&5
17304
17305 cat >conftest.$ac_ext <<_ACEOF
17306 /* confdefs.h. */
17307 _ACEOF
17308 cat confdefs.h >>conftest.$ac_ext
17309 cat >>conftest.$ac_ext <<_ACEOF
17310 /* end confdefs.h. */
17311 $ac_includes_default
17312 int
17313 main ()
17314 {
17315 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17316 test_array [0] = 0
17317
17318 ;
17319 return 0;
17320 }
17321 _ACEOF
17322 rm -f conftest.$ac_objext
17323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17324 (eval $ac_compile) 2>conftest.er1
17325 ac_status=$?
17326 grep -v '^ *+' conftest.er1 >conftest.err
17327 rm -f conftest.er1
17328 cat conftest.err >&5
17329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17330 (exit $ac_status); } &&
17331 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17333 (eval $ac_try) 2>&5
17334 ac_status=$?
17335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17336 (exit $ac_status); }; } &&
17337 { ac_try='test -s conftest.$ac_objext'
17338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17339 (eval $ac_try) 2>&5
17340 ac_status=$?
17341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17342 (exit $ac_status); }; }; then
17343 ac_hi=-1 ac_mid=-1
17344 while :; do
17345 cat >conftest.$ac_ext <<_ACEOF
17346 /* confdefs.h. */
17347 _ACEOF
17348 cat confdefs.h >>conftest.$ac_ext
17349 cat >>conftest.$ac_ext <<_ACEOF
17350 /* end confdefs.h. */
17351 $ac_includes_default
17352 int
17353 main ()
17354 {
17355 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17356 test_array [0] = 0
17357
17358 ;
17359 return 0;
17360 }
17361 _ACEOF
17362 rm -f conftest.$ac_objext
17363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17364 (eval $ac_compile) 2>conftest.er1
17365 ac_status=$?
17366 grep -v '^ *+' conftest.er1 >conftest.err
17367 rm -f conftest.er1
17368 cat conftest.err >&5
17369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17370 (exit $ac_status); } &&
17371 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17373 (eval $ac_try) 2>&5
17374 ac_status=$?
17375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17376 (exit $ac_status); }; } &&
17377 { ac_try='test -s conftest.$ac_objext'
17378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17379 (eval $ac_try) 2>&5
17380 ac_status=$?
17381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17382 (exit $ac_status); }; }; then
17383 ac_lo=$ac_mid; break
17384 else
17385 echo "$as_me: failed program was:" >&5
17386 sed 's/^/| /' conftest.$ac_ext >&5
17387
17388 ac_hi=`expr '(' $ac_mid ')' - 1`
17389 if test $ac_mid -le $ac_hi; then
17390 ac_lo= ac_hi=
17391 break
17392 fi
17393 ac_mid=`expr 2 '*' $ac_mid`
17394 fi
17395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17396 done
17397 else
17398 echo "$as_me: failed program was:" >&5
17399 sed 's/^/| /' conftest.$ac_ext >&5
17400
17401 ac_lo= ac_hi=
17402 fi
17403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17404 fi
17405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17406 # Binary search between lo and hi bounds.
17407 while test "x$ac_lo" != "x$ac_hi"; do
17408 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17409 cat >conftest.$ac_ext <<_ACEOF
17410 /* confdefs.h. */
17411 _ACEOF
17412 cat confdefs.h >>conftest.$ac_ext
17413 cat >>conftest.$ac_ext <<_ACEOF
17414 /* end confdefs.h. */
17415 $ac_includes_default
17416 int
17417 main ()
17418 {
17419 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17420 test_array [0] = 0
17421
17422 ;
17423 return 0;
17424 }
17425 _ACEOF
17426 rm -f conftest.$ac_objext
17427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17428 (eval $ac_compile) 2>conftest.er1
17429 ac_status=$?
17430 grep -v '^ *+' conftest.er1 >conftest.err
17431 rm -f conftest.er1
17432 cat conftest.err >&5
17433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17434 (exit $ac_status); } &&
17435 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17437 (eval $ac_try) 2>&5
17438 ac_status=$?
17439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17440 (exit $ac_status); }; } &&
17441 { ac_try='test -s conftest.$ac_objext'
17442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17443 (eval $ac_try) 2>&5
17444 ac_status=$?
17445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17446 (exit $ac_status); }; }; then
17447 ac_hi=$ac_mid
17448 else
17449 echo "$as_me: failed program was:" >&5
17450 sed 's/^/| /' conftest.$ac_ext >&5
17451
17452 ac_lo=`expr '(' $ac_mid ')' + 1`
17453 fi
17454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17455 done
17456 case $ac_lo in
17457 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17458 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17459 See \`config.log' for more details." >&5
17460 echo "$as_me: error: cannot compute sizeof (long long), 77
17461 See \`config.log' for more details." >&2;}
17462 { (exit 1); exit 1; }; } ;;
17463 esac
17464 else
17465 if test "$cross_compiling" = yes; then
17466 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17467 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17468 { (exit 1); exit 1; }; }
17469 else
17470 cat >conftest.$ac_ext <<_ACEOF
17471 /* confdefs.h. */
17472 _ACEOF
17473 cat confdefs.h >>conftest.$ac_ext
17474 cat >>conftest.$ac_ext <<_ACEOF
17475 /* end confdefs.h. */
17476 $ac_includes_default
17477 long longval () { return (long) (sizeof (long long)); }
17478 unsigned long ulongval () { return (long) (sizeof (long long)); }
17479 #include <stdio.h>
17480 #include <stdlib.h>
17481 int
17482 main ()
17483 {
17484
17485 FILE *f = fopen ("conftest.val", "w");
17486 if (! f)
17487 exit (1);
17488 if (((long) (sizeof (long long))) < 0)
17489 {
17490 long i = longval ();
17491 if (i != ((long) (sizeof (long long))))
17492 exit (1);
17493 fprintf (f, "%ld\n", i);
17494 }
17495 else
17496 {
17497 unsigned long i = ulongval ();
17498 if (i != ((long) (sizeof (long long))))
17499 exit (1);
17500 fprintf (f, "%lu\n", i);
17501 }
17502 exit (ferror (f) || fclose (f) != 0);
17503
17504 ;
17505 return 0;
17506 }
17507 _ACEOF
17508 rm -f conftest$ac_exeext
17509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17510 (eval $ac_link) 2>&5
17511 ac_status=$?
17512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17513 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17515 (eval $ac_try) 2>&5
17516 ac_status=$?
17517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17518 (exit $ac_status); }; }; then
17519 ac_cv_sizeof_long_long=`cat conftest.val`
17520 else
17521 echo "$as_me: program exited with status $ac_status" >&5
17522 echo "$as_me: failed program was:" >&5
17523 sed 's/^/| /' conftest.$ac_ext >&5
17524
17525 ( exit $ac_status )
17526 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17527 See \`config.log' for more details." >&5
17528 echo "$as_me: error: cannot compute sizeof (long long), 77
17529 See \`config.log' for more details." >&2;}
17530 { (exit 1); exit 1; }; }
17531 fi
17532 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17533 fi
17534 fi
17535 rm -f conftest.val
17536 else
17537 ac_cv_sizeof_long_long=0
17538 fi
17539 fi
17540 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17541 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17542 cat >>confdefs.h <<_ACEOF
17543 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17544 _ACEOF
17545
17546
17547 if test "$ac_cv_sizeof_long_long" != "0"; then
17548 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
17549 fi
17550 ;;
17551 * )
17552 echo "$as_me:$LINENO: checking for long long" >&5
17553 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17554 if test "${ac_cv_type_long_long+set}" = set; then
17555 echo $ECHO_N "(cached) $ECHO_C" >&6
17556 else
17557 cat >conftest.$ac_ext <<_ACEOF
17558 /* confdefs.h. */
17559 _ACEOF
17560 cat confdefs.h >>conftest.$ac_ext
17561 cat >>conftest.$ac_ext <<_ACEOF
17562 /* end confdefs.h. */
17563 $ac_includes_default
17564 int
17565 main ()
17566 {
17567 if ((long long *) 0)
17568 return 0;
17569 if (sizeof (long long))
17570 return 0;
17571 ;
17572 return 0;
17573 }
17574 _ACEOF
17575 rm -f conftest.$ac_objext
17576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17577 (eval $ac_compile) 2>conftest.er1
17578 ac_status=$?
17579 grep -v '^ *+' conftest.er1 >conftest.err
17580 rm -f conftest.er1
17581 cat conftest.err >&5
17582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17583 (exit $ac_status); } &&
17584 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17586 (eval $ac_try) 2>&5
17587 ac_status=$?
17588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17589 (exit $ac_status); }; } &&
17590 { ac_try='test -s conftest.$ac_objext'
17591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17592 (eval $ac_try) 2>&5
17593 ac_status=$?
17594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17595 (exit $ac_status); }; }; then
17596 ac_cv_type_long_long=yes
17597 else
17598 echo "$as_me: failed program was:" >&5
17599 sed 's/^/| /' conftest.$ac_ext >&5
17600
17601 ac_cv_type_long_long=no
17602 fi
17603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17604 fi
17605 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17606 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17607
17608 echo "$as_me:$LINENO: checking size of long long" >&5
17609 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17610 if test "${ac_cv_sizeof_long_long+set}" = set; then
17611 echo $ECHO_N "(cached) $ECHO_C" >&6
17612 else
17613 if test "$ac_cv_type_long_long" = yes; then
17614 # The cast to unsigned long works around a bug in the HP C Compiler
17615 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17616 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17617 # This bug is HP SR number 8606223364.
17618 if test "$cross_compiling" = yes; then
17619 # Depending upon the size, compute the lo and hi bounds.
17620 cat >conftest.$ac_ext <<_ACEOF
17621 /* confdefs.h. */
17622 _ACEOF
17623 cat confdefs.h >>conftest.$ac_ext
17624 cat >>conftest.$ac_ext <<_ACEOF
17625 /* end confdefs.h. */
17626 $ac_includes_default
17627 int
17628 main ()
17629 {
17630 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17631 test_array [0] = 0
17632
17633 ;
17634 return 0;
17635 }
17636 _ACEOF
17637 rm -f conftest.$ac_objext
17638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17639 (eval $ac_compile) 2>conftest.er1
17640 ac_status=$?
17641 grep -v '^ *+' conftest.er1 >conftest.err
17642 rm -f conftest.er1
17643 cat conftest.err >&5
17644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17645 (exit $ac_status); } &&
17646 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17648 (eval $ac_try) 2>&5
17649 ac_status=$?
17650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17651 (exit $ac_status); }; } &&
17652 { ac_try='test -s conftest.$ac_objext'
17653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17654 (eval $ac_try) 2>&5
17655 ac_status=$?
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); }; }; then
17658 ac_lo=0 ac_mid=0
17659 while :; do
17660 cat >conftest.$ac_ext <<_ACEOF
17661 /* confdefs.h. */
17662 _ACEOF
17663 cat confdefs.h >>conftest.$ac_ext
17664 cat >>conftest.$ac_ext <<_ACEOF
17665 /* end confdefs.h. */
17666 $ac_includes_default
17667 int
17668 main ()
17669 {
17670 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17671 test_array [0] = 0
17672
17673 ;
17674 return 0;
17675 }
17676 _ACEOF
17677 rm -f conftest.$ac_objext
17678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17679 (eval $ac_compile) 2>conftest.er1
17680 ac_status=$?
17681 grep -v '^ *+' conftest.er1 >conftest.err
17682 rm -f conftest.er1
17683 cat conftest.err >&5
17684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17685 (exit $ac_status); } &&
17686 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17688 (eval $ac_try) 2>&5
17689 ac_status=$?
17690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17691 (exit $ac_status); }; } &&
17692 { ac_try='test -s conftest.$ac_objext'
17693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17694 (eval $ac_try) 2>&5
17695 ac_status=$?
17696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17697 (exit $ac_status); }; }; then
17698 ac_hi=$ac_mid; break
17699 else
17700 echo "$as_me: failed program was:" >&5
17701 sed 's/^/| /' conftest.$ac_ext >&5
17702
17703 ac_lo=`expr $ac_mid + 1`
17704 if test $ac_lo -le $ac_mid; then
17705 ac_lo= ac_hi=
17706 break
17707 fi
17708 ac_mid=`expr 2 '*' $ac_mid + 1`
17709 fi
17710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17711 done
17712 else
17713 echo "$as_me: failed program was:" >&5
17714 sed 's/^/| /' conftest.$ac_ext >&5
17715
17716 cat >conftest.$ac_ext <<_ACEOF
17717 /* confdefs.h. */
17718 _ACEOF
17719 cat confdefs.h >>conftest.$ac_ext
17720 cat >>conftest.$ac_ext <<_ACEOF
17721 /* end confdefs.h. */
17722 $ac_includes_default
17723 int
17724 main ()
17725 {
17726 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17727 test_array [0] = 0
17728
17729 ;
17730 return 0;
17731 }
17732 _ACEOF
17733 rm -f conftest.$ac_objext
17734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17735 (eval $ac_compile) 2>conftest.er1
17736 ac_status=$?
17737 grep -v '^ *+' conftest.er1 >conftest.err
17738 rm -f conftest.er1
17739 cat conftest.err >&5
17740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17741 (exit $ac_status); } &&
17742 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17744 (eval $ac_try) 2>&5
17745 ac_status=$?
17746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17747 (exit $ac_status); }; } &&
17748 { ac_try='test -s conftest.$ac_objext'
17749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17750 (eval $ac_try) 2>&5
17751 ac_status=$?
17752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17753 (exit $ac_status); }; }; then
17754 ac_hi=-1 ac_mid=-1
17755 while :; do
17756 cat >conftest.$ac_ext <<_ACEOF
17757 /* confdefs.h. */
17758 _ACEOF
17759 cat confdefs.h >>conftest.$ac_ext
17760 cat >>conftest.$ac_ext <<_ACEOF
17761 /* end confdefs.h. */
17762 $ac_includes_default
17763 int
17764 main ()
17765 {
17766 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17767 test_array [0] = 0
17768
17769 ;
17770 return 0;
17771 }
17772 _ACEOF
17773 rm -f conftest.$ac_objext
17774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17775 (eval $ac_compile) 2>conftest.er1
17776 ac_status=$?
17777 grep -v '^ *+' conftest.er1 >conftest.err
17778 rm -f conftest.er1
17779 cat conftest.err >&5
17780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17781 (exit $ac_status); } &&
17782 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17784 (eval $ac_try) 2>&5
17785 ac_status=$?
17786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17787 (exit $ac_status); }; } &&
17788 { ac_try='test -s conftest.$ac_objext'
17789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17790 (eval $ac_try) 2>&5
17791 ac_status=$?
17792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17793 (exit $ac_status); }; }; then
17794 ac_lo=$ac_mid; break
17795 else
17796 echo "$as_me: failed program was:" >&5
17797 sed 's/^/| /' conftest.$ac_ext >&5
17798
17799 ac_hi=`expr '(' $ac_mid ')' - 1`
17800 if test $ac_mid -le $ac_hi; then
17801 ac_lo= ac_hi=
17802 break
17803 fi
17804 ac_mid=`expr 2 '*' $ac_mid`
17805 fi
17806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17807 done
17808 else
17809 echo "$as_me: failed program was:" >&5
17810 sed 's/^/| /' conftest.$ac_ext >&5
17811
17812 ac_lo= ac_hi=
17813 fi
17814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17815 fi
17816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17817 # Binary search between lo and hi bounds.
17818 while test "x$ac_lo" != "x$ac_hi"; do
17819 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17820 cat >conftest.$ac_ext <<_ACEOF
17821 /* confdefs.h. */
17822 _ACEOF
17823 cat confdefs.h >>conftest.$ac_ext
17824 cat >>conftest.$ac_ext <<_ACEOF
17825 /* end confdefs.h. */
17826 $ac_includes_default
17827 int
17828 main ()
17829 {
17830 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17831 test_array [0] = 0
17832
17833 ;
17834 return 0;
17835 }
17836 _ACEOF
17837 rm -f conftest.$ac_objext
17838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17839 (eval $ac_compile) 2>conftest.er1
17840 ac_status=$?
17841 grep -v '^ *+' conftest.er1 >conftest.err
17842 rm -f conftest.er1
17843 cat conftest.err >&5
17844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17845 (exit $ac_status); } &&
17846 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17848 (eval $ac_try) 2>&5
17849 ac_status=$?
17850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17851 (exit $ac_status); }; } &&
17852 { ac_try='test -s conftest.$ac_objext'
17853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17854 (eval $ac_try) 2>&5
17855 ac_status=$?
17856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17857 (exit $ac_status); }; }; then
17858 ac_hi=$ac_mid
17859 else
17860 echo "$as_me: failed program was:" >&5
17861 sed 's/^/| /' conftest.$ac_ext >&5
17862
17863 ac_lo=`expr '(' $ac_mid ')' + 1`
17864 fi
17865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17866 done
17867 case $ac_lo in
17868 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17869 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17870 See \`config.log' for more details." >&5
17871 echo "$as_me: error: cannot compute sizeof (long long), 77
17872 See \`config.log' for more details." >&2;}
17873 { (exit 1); exit 1; }; } ;;
17874 esac
17875 else
17876 if test "$cross_compiling" = yes; then
17877 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17878 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17879 { (exit 1); exit 1; }; }
17880 else
17881 cat >conftest.$ac_ext <<_ACEOF
17882 /* confdefs.h. */
17883 _ACEOF
17884 cat confdefs.h >>conftest.$ac_ext
17885 cat >>conftest.$ac_ext <<_ACEOF
17886 /* end confdefs.h. */
17887 $ac_includes_default
17888 long longval () { return (long) (sizeof (long long)); }
17889 unsigned long ulongval () { return (long) (sizeof (long long)); }
17890 #include <stdio.h>
17891 #include <stdlib.h>
17892 int
17893 main ()
17894 {
17895
17896 FILE *f = fopen ("conftest.val", "w");
17897 if (! f)
17898 exit (1);
17899 if (((long) (sizeof (long long))) < 0)
17900 {
17901 long i = longval ();
17902 if (i != ((long) (sizeof (long long))))
17903 exit (1);
17904 fprintf (f, "%ld\n", i);
17905 }
17906 else
17907 {
17908 unsigned long i = ulongval ();
17909 if (i != ((long) (sizeof (long long))))
17910 exit (1);
17911 fprintf (f, "%lu\n", i);
17912 }
17913 exit (ferror (f) || fclose (f) != 0);
17914
17915 ;
17916 return 0;
17917 }
17918 _ACEOF
17919 rm -f conftest$ac_exeext
17920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17921 (eval $ac_link) 2>&5
17922 ac_status=$?
17923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17924 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17926 (eval $ac_try) 2>&5
17927 ac_status=$?
17928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17929 (exit $ac_status); }; }; then
17930 ac_cv_sizeof_long_long=`cat conftest.val`
17931 else
17932 echo "$as_me: program exited with status $ac_status" >&5
17933 echo "$as_me: failed program was:" >&5
17934 sed 's/^/| /' conftest.$ac_ext >&5
17935
17936 ( exit $ac_status )
17937 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17938 See \`config.log' for more details." >&5
17939 echo "$as_me: error: cannot compute sizeof (long long), 77
17940 See \`config.log' for more details." >&2;}
17941 { (exit 1); exit 1; }; }
17942 fi
17943 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17944 fi
17945 fi
17946 rm -f conftest.val
17947 else
17948 ac_cv_sizeof_long_long=0
17949 fi
17950 fi
17951 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17952 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17953 cat >>confdefs.h <<_ACEOF
17954 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17955 _ACEOF
17956
17957
17958 esac
17959
17960 echo "$as_me:$LINENO: checking size of wchar_t" >&5
17961 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
17962 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
17963 echo $ECHO_N "(cached) $ECHO_C" >&6
17964 else
17965
17966 if test "$cross_compiling" = yes; then
17967
17968 case "${host}" in
17969 *-pc-msdosdjgpp )
17970 wx_cv_sizeof_wchar_t=0
17971 ;;
17972 * )
17973 wx_cv_sizeof_wchar_t=4
17974 ;;
17975 esac
17976
17977
17978 else
17979 cat >conftest.$ac_ext <<_ACEOF
17980 /* confdefs.h. */
17981 _ACEOF
17982 cat confdefs.h >>conftest.$ac_ext
17983 cat >>conftest.$ac_ext <<_ACEOF
17984 /* end confdefs.h. */
17985
17986 /* DJGPP only has fake wchar_t: */
17987 #ifdef __DJGPP__
17988 # error "fake wchar_t"
17989 #endif
17990 #ifdef HAVE_WCHAR_H
17991 # ifdef __CYGWIN__
17992 # include <stddef.h>
17993 # endif
17994 # include <wchar.h>
17995 #endif
17996 #ifdef HAVE_STDLIB_H
17997 # include <stdlib.h>
17998 #endif
17999 #include <stdio.h>
18000 int main()
18001 {
18002 FILE *f=fopen("conftestval", "w");
18003 if (!f) exit(1);
18004 fprintf(f, "%i", sizeof(wchar_t));
18005 exit(0);
18006 }
18007
18008 _ACEOF
18009 rm -f conftest$ac_exeext
18010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18011 (eval $ac_link) 2>&5
18012 ac_status=$?
18013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18014 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18016 (eval $ac_try) 2>&5
18017 ac_status=$?
18018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18019 (exit $ac_status); }; }; then
18020 wx_cv_sizeof_wchar_t=`cat conftestval`
18021 else
18022 echo "$as_me: program exited with status $ac_status" >&5
18023 echo "$as_me: failed program was:" >&5
18024 sed 's/^/| /' conftest.$ac_ext >&5
18025
18026 ( exit $ac_status )
18027 wx_cv_sizeof_wchar_t=0
18028 fi
18029 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18030 fi
18031
18032 fi
18033 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18034 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18035
18036 cat >>confdefs.h <<_ACEOF
18037 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18038 _ACEOF
18039
18040
18041 # Check whether --enable-largefile or --disable-largefile was given.
18042 if test "${enable_largefile+set}" = set; then
18043 enableval="$enable_largefile"
18044
18045 fi;
18046 if test "$enable_largefile" != no; then
18047 wx_largefile=no
18048
18049 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18050 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18051 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18052 echo $ECHO_N "(cached) $ECHO_C" >&6
18053 else
18054
18055 cat >conftest.$ac_ext <<_ACEOF
18056 /* confdefs.h. */
18057 _ACEOF
18058 cat confdefs.h >>conftest.$ac_ext
18059 cat >>conftest.$ac_ext <<_ACEOF
18060 /* end confdefs.h. */
18061 #define _FILE_OFFSET_BITS 64
18062 #include <sys/types.h>
18063 int
18064 main ()
18065 {
18066 typedef struct {
18067 unsigned int field: sizeof(off_t) == 8;
18068 } wxlf;
18069
18070 ;
18071 return 0;
18072 }
18073 _ACEOF
18074 rm -f conftest.$ac_objext
18075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18076 (eval $ac_compile) 2>conftest.er1
18077 ac_status=$?
18078 grep -v '^ *+' conftest.er1 >conftest.err
18079 rm -f conftest.er1
18080 cat conftest.err >&5
18081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18082 (exit $ac_status); } &&
18083 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18085 (eval $ac_try) 2>&5
18086 ac_status=$?
18087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18088 (exit $ac_status); }; } &&
18089 { ac_try='test -s conftest.$ac_objext'
18090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18091 (eval $ac_try) 2>&5
18092 ac_status=$?
18093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18094 (exit $ac_status); }; }; then
18095 ac_cv_sys_file_offset_bits=64
18096 else
18097 echo "$as_me: failed program was:" >&5
18098 sed 's/^/| /' conftest.$ac_ext >&5
18099
18100 ac_cv_sys_file_offset_bits=no
18101 fi
18102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18103
18104
18105 fi
18106 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18107 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18108
18109 if test "$ac_cv_sys_file_offset_bits" != no; then
18110 wx_largefile=yes
18111 cat >>confdefs.h <<_ACEOF
18112 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18113 _ACEOF
18114
18115 fi
18116
18117 if test "x$wx_largefile" != "xyes"; then
18118
18119 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18120 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18121 if test "${ac_cv_sys_large_files+set}" = set; then
18122 echo $ECHO_N "(cached) $ECHO_C" >&6
18123 else
18124
18125 cat >conftest.$ac_ext <<_ACEOF
18126 /* confdefs.h. */
18127 _ACEOF
18128 cat confdefs.h >>conftest.$ac_ext
18129 cat >>conftest.$ac_ext <<_ACEOF
18130 /* end confdefs.h. */
18131 #define _LARGE_FILES 1
18132 #include <sys/types.h>
18133 int
18134 main ()
18135 {
18136 typedef struct {
18137 unsigned int field: sizeof(off_t) == 8;
18138 } wxlf;
18139
18140 ;
18141 return 0;
18142 }
18143 _ACEOF
18144 rm -f conftest.$ac_objext
18145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18146 (eval $ac_compile) 2>conftest.er1
18147 ac_status=$?
18148 grep -v '^ *+' conftest.er1 >conftest.err
18149 rm -f conftest.er1
18150 cat conftest.err >&5
18151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18152 (exit $ac_status); } &&
18153 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18155 (eval $ac_try) 2>&5
18156 ac_status=$?
18157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18158 (exit $ac_status); }; } &&
18159 { ac_try='test -s conftest.$ac_objext'
18160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18161 (eval $ac_try) 2>&5
18162 ac_status=$?
18163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18164 (exit $ac_status); }; }; then
18165 ac_cv_sys_large_files=1
18166 else
18167 echo "$as_me: failed program was:" >&5
18168 sed 's/^/| /' conftest.$ac_ext >&5
18169
18170 ac_cv_sys_large_files=no
18171 fi
18172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18173
18174
18175 fi
18176 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18177 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18178
18179 if test "$ac_cv_sys_large_files" != no; then
18180 wx_largefile=yes
18181 cat >>confdefs.h <<_ACEOF
18182 #define _LARGE_FILES $ac_cv_sys_large_files
18183 _ACEOF
18184
18185 fi
18186
18187 fi
18188
18189 echo "$as_me:$LINENO: checking if large file support is available" >&5
18190 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18191 if test "x$wx_largefile" = "xyes"; then
18192 cat >>confdefs.h <<\_ACEOF
18193 #define HAVE_LARGEFILE_SUPPORT 1
18194 _ACEOF
18195
18196 fi
18197 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18198 echo "${ECHO_T}$wx_largefile" >&6
18199 fi
18200
18201
18202 if test "x$wx_largefile" = "xyes"; then
18203 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18204 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18205 else
18206 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
18207 fi
18208 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18209 fi
18210
18211 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18212 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18213 if test "${ac_cv_c_bigendian+set}" = set; then
18214 echo $ECHO_N "(cached) $ECHO_C" >&6
18215 else
18216 ac_cv_c_bigendian=unknown
18217 # See if sys/param.h defines the BYTE_ORDER macro.
18218 cat >conftest.$ac_ext <<_ACEOF
18219 /* confdefs.h. */
18220 _ACEOF
18221 cat confdefs.h >>conftest.$ac_ext
18222 cat >>conftest.$ac_ext <<_ACEOF
18223 /* end confdefs.h. */
18224 #include <sys/types.h>
18225 #include <sys/param.h>
18226 int
18227 main ()
18228 {
18229
18230 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18231 bogus endian macros
18232 #endif
18233 ;
18234 return 0;
18235 }
18236 _ACEOF
18237 rm -f conftest.$ac_objext
18238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18239 (eval $ac_compile) 2>conftest.er1
18240 ac_status=$?
18241 grep -v '^ *+' conftest.er1 >conftest.err
18242 rm -f conftest.er1
18243 cat conftest.err >&5
18244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18245 (exit $ac_status); } &&
18246 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
18252 { ac_try='test -s conftest.$ac_objext'
18253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18254 (eval $ac_try) 2>&5
18255 ac_status=$?
18256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18257 (exit $ac_status); }; }; then
18258 # It does; now see whether it defined to BIG_ENDIAN or not.
18259 cat >conftest.$ac_ext <<_ACEOF
18260 /* confdefs.h. */
18261 _ACEOF
18262 cat confdefs.h >>conftest.$ac_ext
18263 cat >>conftest.$ac_ext <<_ACEOF
18264 /* end confdefs.h. */
18265 #include <sys/types.h>
18266 #include <sys/param.h>
18267 int
18268 main ()
18269 {
18270
18271 #if BYTE_ORDER != BIG_ENDIAN
18272 not big endian
18273 #endif
18274 ;
18275 return 0;
18276 }
18277 _ACEOF
18278 rm -f conftest.$ac_objext
18279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18280 (eval $ac_compile) 2>conftest.er1
18281 ac_status=$?
18282 grep -v '^ *+' conftest.er1 >conftest.err
18283 rm -f conftest.er1
18284 cat conftest.err >&5
18285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18286 (exit $ac_status); } &&
18287 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18289 (eval $ac_try) 2>&5
18290 ac_status=$?
18291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18292 (exit $ac_status); }; } &&
18293 { ac_try='test -s conftest.$ac_objext'
18294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18295 (eval $ac_try) 2>&5
18296 ac_status=$?
18297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18298 (exit $ac_status); }; }; then
18299 ac_cv_c_bigendian=yes
18300 else
18301 echo "$as_me: failed program was:" >&5
18302 sed 's/^/| /' conftest.$ac_ext >&5
18303
18304 ac_cv_c_bigendian=no
18305 fi
18306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18307 else
18308 echo "$as_me: failed program was:" >&5
18309 sed 's/^/| /' conftest.$ac_ext >&5
18310
18311 fi
18312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18313 if test $ac_cv_c_bigendian = unknown; then
18314 if test "$cross_compiling" = yes; then
18315 ac_cv_c_bigendian=unknown
18316 else
18317 cat >conftest.$ac_ext <<_ACEOF
18318 /* confdefs.h. */
18319 _ACEOF
18320 cat confdefs.h >>conftest.$ac_ext
18321 cat >>conftest.$ac_ext <<_ACEOF
18322 /* end confdefs.h. */
18323 main () {
18324 /* Are we little or big endian? From Harbison&Steele. */
18325 union
18326 {
18327 long l;
18328 char c[sizeof (long)];
18329 } u;
18330 u.l = 1;
18331 exit (u.c[sizeof (long) - 1] == 1);
18332 }
18333 _ACEOF
18334 rm -f conftest$ac_exeext
18335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18336 (eval $ac_link) 2>&5
18337 ac_status=$?
18338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18339 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18341 (eval $ac_try) 2>&5
18342 ac_status=$?
18343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18344 (exit $ac_status); }; }; then
18345 ac_cv_c_bigendian=no
18346 else
18347 echo "$as_me: program exited with status $ac_status" >&5
18348 echo "$as_me: failed program was:" >&5
18349 sed 's/^/| /' conftest.$ac_ext >&5
18350
18351 ( exit $ac_status )
18352 ac_cv_c_bigendian=yes
18353 fi
18354 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18355 fi
18356 fi
18357 fi
18358 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18359 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
18360 if test $ac_cv_c_bigendian = unknown; then
18361 { 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
18362 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;}
18363 fi
18364 if test $ac_cv_c_bigendian = yes; then
18365 cat >>confdefs.h <<\_ACEOF
18366 #define WORDS_BIGENDIAN 1
18367 _ACEOF
18368
18369 fi
18370
18371
18372 ac_ext=cc
18373 ac_cpp='$CXXCPP $CPPFLAGS'
18374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18377 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
18378 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
18379 if test -z "$CXXCPP"; then
18380 if test "${ac_cv_prog_CXXCPP+set}" = set; then
18381 echo $ECHO_N "(cached) $ECHO_C" >&6
18382 else
18383 # Double quotes because CXXCPP needs to be expanded
18384 for CXXCPP in "$CXX -E" "/lib/cpp"
18385 do
18386 ac_preproc_ok=false
18387 for ac_cxx_preproc_warn_flag in '' yes
18388 do
18389 # Use a header file that comes with gcc, so configuring glibc
18390 # with a fresh cross-compiler works.
18391 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18392 # <limits.h> exists even on freestanding compilers.
18393 # On the NeXT, cc -E runs the code through the compiler's parser,
18394 # not just through cpp. "Syntax error" is here to catch this case.
18395 cat >conftest.$ac_ext <<_ACEOF
18396 /* confdefs.h. */
18397 _ACEOF
18398 cat confdefs.h >>conftest.$ac_ext
18399 cat >>conftest.$ac_ext <<_ACEOF
18400 /* end confdefs.h. */
18401 #ifdef __STDC__
18402 # include <limits.h>
18403 #else
18404 # include <assert.h>
18405 #endif
18406 Syntax error
18407 _ACEOF
18408 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18409 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18410 ac_status=$?
18411 grep -v '^ *+' conftest.er1 >conftest.err
18412 rm -f conftest.er1
18413 cat conftest.err >&5
18414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18415 (exit $ac_status); } >/dev/null; then
18416 if test -s conftest.err; then
18417 ac_cpp_err=$ac_cxx_preproc_warn_flag
18418 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18419 else
18420 ac_cpp_err=
18421 fi
18422 else
18423 ac_cpp_err=yes
18424 fi
18425 if test -z "$ac_cpp_err"; then
18426 :
18427 else
18428 echo "$as_me: failed program was:" >&5
18429 sed 's/^/| /' conftest.$ac_ext >&5
18430
18431 # Broken: fails on valid input.
18432 continue
18433 fi
18434 rm -f conftest.err conftest.$ac_ext
18435
18436 # OK, works on sane cases. Now check whether non-existent headers
18437 # can be detected and how.
18438 cat >conftest.$ac_ext <<_ACEOF
18439 /* confdefs.h. */
18440 _ACEOF
18441 cat confdefs.h >>conftest.$ac_ext
18442 cat >>conftest.$ac_ext <<_ACEOF
18443 /* end confdefs.h. */
18444 #include <ac_nonexistent.h>
18445 _ACEOF
18446 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18447 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18448 ac_status=$?
18449 grep -v '^ *+' conftest.er1 >conftest.err
18450 rm -f conftest.er1
18451 cat conftest.err >&5
18452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18453 (exit $ac_status); } >/dev/null; then
18454 if test -s conftest.err; then
18455 ac_cpp_err=$ac_cxx_preproc_warn_flag
18456 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18457 else
18458 ac_cpp_err=
18459 fi
18460 else
18461 ac_cpp_err=yes
18462 fi
18463 if test -z "$ac_cpp_err"; then
18464 # Broken: success on invalid input.
18465 continue
18466 else
18467 echo "$as_me: failed program was:" >&5
18468 sed 's/^/| /' conftest.$ac_ext >&5
18469
18470 # Passes both tests.
18471 ac_preproc_ok=:
18472 break
18473 fi
18474 rm -f conftest.err conftest.$ac_ext
18475
18476 done
18477 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18478 rm -f conftest.err conftest.$ac_ext
18479 if $ac_preproc_ok; then
18480 break
18481 fi
18482
18483 done
18484 ac_cv_prog_CXXCPP=$CXXCPP
18485
18486 fi
18487 CXXCPP=$ac_cv_prog_CXXCPP
18488 else
18489 ac_cv_prog_CXXCPP=$CXXCPP
18490 fi
18491 echo "$as_me:$LINENO: result: $CXXCPP" >&5
18492 echo "${ECHO_T}$CXXCPP" >&6
18493 ac_preproc_ok=false
18494 for ac_cxx_preproc_warn_flag in '' yes
18495 do
18496 # Use a header file that comes with gcc, so configuring glibc
18497 # with a fresh cross-compiler works.
18498 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18499 # <limits.h> exists even on freestanding compilers.
18500 # On the NeXT, cc -E runs the code through the compiler's parser,
18501 # not just through cpp. "Syntax error" is here to catch this case.
18502 cat >conftest.$ac_ext <<_ACEOF
18503 /* confdefs.h. */
18504 _ACEOF
18505 cat confdefs.h >>conftest.$ac_ext
18506 cat >>conftest.$ac_ext <<_ACEOF
18507 /* end confdefs.h. */
18508 #ifdef __STDC__
18509 # include <limits.h>
18510 #else
18511 # include <assert.h>
18512 #endif
18513 Syntax error
18514 _ACEOF
18515 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18516 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18517 ac_status=$?
18518 grep -v '^ *+' conftest.er1 >conftest.err
18519 rm -f conftest.er1
18520 cat conftest.err >&5
18521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18522 (exit $ac_status); } >/dev/null; then
18523 if test -s conftest.err; then
18524 ac_cpp_err=$ac_cxx_preproc_warn_flag
18525 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18526 else
18527 ac_cpp_err=
18528 fi
18529 else
18530 ac_cpp_err=yes
18531 fi
18532 if test -z "$ac_cpp_err"; then
18533 :
18534 else
18535 echo "$as_me: failed program was:" >&5
18536 sed 's/^/| /' conftest.$ac_ext >&5
18537
18538 # Broken: fails on valid input.
18539 continue
18540 fi
18541 rm -f conftest.err conftest.$ac_ext
18542
18543 # OK, works on sane cases. Now check whether non-existent headers
18544 # can be detected and how.
18545 cat >conftest.$ac_ext <<_ACEOF
18546 /* confdefs.h. */
18547 _ACEOF
18548 cat confdefs.h >>conftest.$ac_ext
18549 cat >>conftest.$ac_ext <<_ACEOF
18550 /* end confdefs.h. */
18551 #include <ac_nonexistent.h>
18552 _ACEOF
18553 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18554 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18555 ac_status=$?
18556 grep -v '^ *+' conftest.er1 >conftest.err
18557 rm -f conftest.er1
18558 cat conftest.err >&5
18559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18560 (exit $ac_status); } >/dev/null; then
18561 if test -s conftest.err; then
18562 ac_cpp_err=$ac_cxx_preproc_warn_flag
18563 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18564 else
18565 ac_cpp_err=
18566 fi
18567 else
18568 ac_cpp_err=yes
18569 fi
18570 if test -z "$ac_cpp_err"; then
18571 # Broken: success on invalid input.
18572 continue
18573 else
18574 echo "$as_me: failed program was:" >&5
18575 sed 's/^/| /' conftest.$ac_ext >&5
18576
18577 # Passes both tests.
18578 ac_preproc_ok=:
18579 break
18580 fi
18581 rm -f conftest.err conftest.$ac_ext
18582
18583 done
18584 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18585 rm -f conftest.err conftest.$ac_ext
18586 if $ac_preproc_ok; then
18587 :
18588 else
18589 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18590 See \`config.log' for more details." >&5
18591 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18592 See \`config.log' for more details." >&2;}
18593 { (exit 1); exit 1; }; }
18594 fi
18595
18596 ac_ext=cc
18597 ac_cpp='$CXXCPP $CPPFLAGS'
18598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18601
18602
18603
18604
18605
18606 ac_ext=cc
18607 ac_cpp='$CXXCPP $CPPFLAGS'
18608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18611
18612
18613
18614 for ac_header in iostream
18615 do
18616 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18617 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18618 echo "$as_me:$LINENO: checking for $ac_header" >&5
18619 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18620 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18621 echo $ECHO_N "(cached) $ECHO_C" >&6
18622 fi
18623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18624 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18625 else
18626 # Is the header compilable?
18627 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18628 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18629 cat >conftest.$ac_ext <<_ACEOF
18630 /* confdefs.h. */
18631 _ACEOF
18632 cat confdefs.h >>conftest.$ac_ext
18633 cat >>conftest.$ac_ext <<_ACEOF
18634 /* end confdefs.h. */
18635 $ac_includes_default
18636 #include <$ac_header>
18637 _ACEOF
18638 rm -f conftest.$ac_objext
18639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18640 (eval $ac_compile) 2>conftest.er1
18641 ac_status=$?
18642 grep -v '^ *+' conftest.er1 >conftest.err
18643 rm -f conftest.er1
18644 cat conftest.err >&5
18645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18646 (exit $ac_status); } &&
18647 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18649 (eval $ac_try) 2>&5
18650 ac_status=$?
18651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18652 (exit $ac_status); }; } &&
18653 { ac_try='test -s conftest.$ac_objext'
18654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18655 (eval $ac_try) 2>&5
18656 ac_status=$?
18657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18658 (exit $ac_status); }; }; then
18659 ac_header_compiler=yes
18660 else
18661 echo "$as_me: failed program was:" >&5
18662 sed 's/^/| /' conftest.$ac_ext >&5
18663
18664 ac_header_compiler=no
18665 fi
18666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18667 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18668 echo "${ECHO_T}$ac_header_compiler" >&6
18669
18670 # Is the header present?
18671 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18672 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18673 cat >conftest.$ac_ext <<_ACEOF
18674 /* confdefs.h. */
18675 _ACEOF
18676 cat confdefs.h >>conftest.$ac_ext
18677 cat >>conftest.$ac_ext <<_ACEOF
18678 /* end confdefs.h. */
18679 #include <$ac_header>
18680 _ACEOF
18681 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18682 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18683 ac_status=$?
18684 grep -v '^ *+' conftest.er1 >conftest.err
18685 rm -f conftest.er1
18686 cat conftest.err >&5
18687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18688 (exit $ac_status); } >/dev/null; then
18689 if test -s conftest.err; then
18690 ac_cpp_err=$ac_cxx_preproc_warn_flag
18691 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18692 else
18693 ac_cpp_err=
18694 fi
18695 else
18696 ac_cpp_err=yes
18697 fi
18698 if test -z "$ac_cpp_err"; then
18699 ac_header_preproc=yes
18700 else
18701 echo "$as_me: failed program was:" >&5
18702 sed 's/^/| /' conftest.$ac_ext >&5
18703
18704 ac_header_preproc=no
18705 fi
18706 rm -f conftest.err conftest.$ac_ext
18707 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18708 echo "${ECHO_T}$ac_header_preproc" >&6
18709
18710 # So? What about this header?
18711 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18712 yes:no: )
18713 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18714 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18715 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18716 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18717 ac_header_preproc=yes
18718 ;;
18719 no:yes:* )
18720 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18721 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18722 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18723 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18724 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18725 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18726 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18727 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18728 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18729 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18730 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18731 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18732 (
18733 cat <<\_ASBOX
18734 ## ----------------------------------------- ##
18735 ## Report this to wx-dev@lists.wxwidgets.org ##
18736 ## ----------------------------------------- ##
18737 _ASBOX
18738 ) |
18739 sed "s/^/$as_me: WARNING: /" >&2
18740 ;;
18741 esac
18742 echo "$as_me:$LINENO: checking for $ac_header" >&5
18743 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18744 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18745 echo $ECHO_N "(cached) $ECHO_C" >&6
18746 else
18747 eval "$as_ac_Header=\$ac_header_preproc"
18748 fi
18749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18750 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18751
18752 fi
18753 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18754 cat >>confdefs.h <<_ACEOF
18755 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18756 _ACEOF
18757
18758 fi
18759
18760 done
18761
18762
18763 if test "$ac_cv_header_iostream" = "yes" ; then
18764 :
18765 else
18766 cat >>confdefs.h <<\_ACEOF
18767 #define wxUSE_IOSTREAMH 1
18768 _ACEOF
18769
18770 fi
18771
18772 ac_ext=c
18773 ac_cpp='$CPP $CPPFLAGS'
18774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18777
18778
18779
18780
18781 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
18782 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
18783 if test "${wx_cv_cpp_bool+set}" = set; then
18784 echo $ECHO_N "(cached) $ECHO_C" >&6
18785 else
18786
18787
18788
18789 ac_ext=cc
18790 ac_cpp='$CXXCPP $CPPFLAGS'
18791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18794
18795
18796 cat >conftest.$ac_ext <<_ACEOF
18797 /* confdefs.h. */
18798 _ACEOF
18799 cat confdefs.h >>conftest.$ac_ext
18800 cat >>conftest.$ac_ext <<_ACEOF
18801 /* end confdefs.h. */
18802
18803
18804 int
18805 main ()
18806 {
18807
18808 bool b = true;
18809
18810 return 0;
18811
18812 ;
18813 return 0;
18814 }
18815 _ACEOF
18816 rm -f conftest.$ac_objext
18817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18818 (eval $ac_compile) 2>conftest.er1
18819 ac_status=$?
18820 grep -v '^ *+' conftest.er1 >conftest.err
18821 rm -f conftest.er1
18822 cat conftest.err >&5
18823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18824 (exit $ac_status); } &&
18825 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18827 (eval $ac_try) 2>&5
18828 ac_status=$?
18829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18830 (exit $ac_status); }; } &&
18831 { ac_try='test -s conftest.$ac_objext'
18832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18833 (eval $ac_try) 2>&5
18834 ac_status=$?
18835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18836 (exit $ac_status); }; }; then
18837
18838 wx_cv_cpp_bool=yes
18839
18840 else
18841 echo "$as_me: failed program was:" >&5
18842 sed 's/^/| /' conftest.$ac_ext >&5
18843
18844
18845 wx_cv_cpp_bool=no
18846
18847
18848 fi
18849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18850
18851 ac_ext=c
18852 ac_cpp='$CPP $CPPFLAGS'
18853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18856
18857
18858 fi
18859 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
18860 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
18861
18862 if test "$wx_cv_cpp_bool" = "yes"; then
18863 cat >>confdefs.h <<\_ACEOF
18864 #define HAVE_BOOL 1
18865 _ACEOF
18866
18867 fi
18868
18869
18870
18871 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
18872 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
18873 if test "${wx_cv_explicit+set}" = set; then
18874 echo $ECHO_N "(cached) $ECHO_C" >&6
18875 else
18876
18877
18878
18879 ac_ext=cc
18880 ac_cpp='$CXXCPP $CPPFLAGS'
18881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18884
18885
18886 cat >conftest.$ac_ext <<_ACEOF
18887 /* confdefs.h. */
18888 _ACEOF
18889 cat confdefs.h >>conftest.$ac_ext
18890 cat >>conftest.$ac_ext <<_ACEOF
18891 /* end confdefs.h. */
18892
18893 class Foo { public: explicit Foo(int) {} };
18894
18895 int
18896 main ()
18897 {
18898
18899 return 0;
18900
18901 ;
18902 return 0;
18903 }
18904 _ACEOF
18905 rm -f conftest.$ac_objext
18906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18907 (eval $ac_compile) 2>conftest.er1
18908 ac_status=$?
18909 grep -v '^ *+' conftest.er1 >conftest.err
18910 rm -f conftest.er1
18911 cat conftest.err >&5
18912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18913 (exit $ac_status); } &&
18914 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18916 (eval $ac_try) 2>&5
18917 ac_status=$?
18918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18919 (exit $ac_status); }; } &&
18920 { ac_try='test -s conftest.$ac_objext'
18921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18922 (eval $ac_try) 2>&5
18923 ac_status=$?
18924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18925 (exit $ac_status); }; }; then
18926
18927 cat >conftest.$ac_ext <<_ACEOF
18928 /* confdefs.h. */
18929 _ACEOF
18930 cat confdefs.h >>conftest.$ac_ext
18931 cat >>conftest.$ac_ext <<_ACEOF
18932 /* end confdefs.h. */
18933
18934 class Foo { public: explicit Foo(int) {} };
18935 static void TakeFoo(const Foo& foo) { }
18936
18937 int
18938 main ()
18939 {
18940
18941 TakeFoo(17);
18942 return 0;
18943
18944 ;
18945 return 0;
18946 }
18947 _ACEOF
18948 rm -f conftest.$ac_objext
18949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18950 (eval $ac_compile) 2>conftest.er1
18951 ac_status=$?
18952 grep -v '^ *+' conftest.er1 >conftest.err
18953 rm -f conftest.er1
18954 cat conftest.err >&5
18955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18956 (exit $ac_status); } &&
18957 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18959 (eval $ac_try) 2>&5
18960 ac_status=$?
18961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18962 (exit $ac_status); }; } &&
18963 { ac_try='test -s conftest.$ac_objext'
18964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18965 (eval $ac_try) 2>&5
18966 ac_status=$?
18967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18968 (exit $ac_status); }; }; then
18969 wx_cv_explicit=no
18970 else
18971 echo "$as_me: failed program was:" >&5
18972 sed 's/^/| /' conftest.$ac_ext >&5
18973
18974 wx_cv_explicit=yes
18975
18976 fi
18977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18978
18979 else
18980 echo "$as_me: failed program was:" >&5
18981 sed 's/^/| /' conftest.$ac_ext >&5
18982
18983 wx_cv_explicit=no
18984
18985 fi
18986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18987
18988 ac_ext=c
18989 ac_cpp='$CPP $CPPFLAGS'
18990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18993
18994
18995 fi
18996 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
18997 echo "${ECHO_T}$wx_cv_explicit" >&6
18998
18999 if test "$wx_cv_explicit" = "yes"; then
19000 cat >>confdefs.h <<\_ACEOF
19001 #define HAVE_EXPLICIT 1
19002 _ACEOF
19003
19004 fi
19005
19006
19007 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
19008 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
19009 if test "${ac_cv_cxx_const_cast+set}" = set; then
19010 echo $ECHO_N "(cached) $ECHO_C" >&6
19011 else
19012
19013
19014 ac_ext=cc
19015 ac_cpp='$CXXCPP $CPPFLAGS'
19016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19019
19020 cat >conftest.$ac_ext <<_ACEOF
19021 /* confdefs.h. */
19022 _ACEOF
19023 cat confdefs.h >>conftest.$ac_ext
19024 cat >>conftest.$ac_ext <<_ACEOF
19025 /* end confdefs.h. */
19026
19027 int
19028 main ()
19029 {
19030 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19031 ;
19032 return 0;
19033 }
19034 _ACEOF
19035 rm -f conftest.$ac_objext
19036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19037 (eval $ac_compile) 2>conftest.er1
19038 ac_status=$?
19039 grep -v '^ *+' conftest.er1 >conftest.err
19040 rm -f conftest.er1
19041 cat conftest.err >&5
19042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19043 (exit $ac_status); } &&
19044 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19046 (eval $ac_try) 2>&5
19047 ac_status=$?
19048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19049 (exit $ac_status); }; } &&
19050 { ac_try='test -s conftest.$ac_objext'
19051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19052 (eval $ac_try) 2>&5
19053 ac_status=$?
19054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19055 (exit $ac_status); }; }; then
19056 ac_cv_cxx_const_cast=yes
19057 else
19058 echo "$as_me: failed program was:" >&5
19059 sed 's/^/| /' conftest.$ac_ext >&5
19060
19061 ac_cv_cxx_const_cast=no
19062 fi
19063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19064 ac_ext=c
19065 ac_cpp='$CPP $CPPFLAGS'
19066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19069
19070
19071 fi
19072 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19073 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19074 if test "$ac_cv_cxx_const_cast" = yes; then
19075
19076 cat >>confdefs.h <<\_ACEOF
19077 #define HAVE_CONST_CAST
19078 _ACEOF
19079
19080 fi
19081
19082 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19083 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19084 if test "${ac_cv_cxx_static_cast+set}" = set; then
19085 echo $ECHO_N "(cached) $ECHO_C" >&6
19086 else
19087
19088
19089 ac_ext=cc
19090 ac_cpp='$CXXCPP $CPPFLAGS'
19091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19094
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 #include <typeinfo>
19102 class Base { public : Base () {} virtual void f () = 0; };
19103 class Derived : public Base { public : Derived () {} virtual void f () {} };
19104 int g (Derived&) { return 0; }
19105 int
19106 main ()
19107 {
19108
19109 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19110 ;
19111 return 0;
19112 }
19113 _ACEOF
19114 rm -f conftest.$ac_objext
19115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19116 (eval $ac_compile) 2>conftest.er1
19117 ac_status=$?
19118 grep -v '^ *+' conftest.er1 >conftest.err
19119 rm -f conftest.er1
19120 cat conftest.err >&5
19121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19122 (exit $ac_status); } &&
19123 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19125 (eval $ac_try) 2>&5
19126 ac_status=$?
19127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19128 (exit $ac_status); }; } &&
19129 { ac_try='test -s conftest.$ac_objext'
19130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19131 (eval $ac_try) 2>&5
19132 ac_status=$?
19133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19134 (exit $ac_status); }; }; then
19135 ac_cv_cxx_static_cast=yes
19136 else
19137 echo "$as_me: failed program was:" >&5
19138 sed 's/^/| /' conftest.$ac_ext >&5
19139
19140 ac_cv_cxx_static_cast=no
19141 fi
19142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19143 ac_ext=c
19144 ac_cpp='$CPP $CPPFLAGS'
19145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19148
19149
19150 fi
19151 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19152 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19153 if test "$ac_cv_cxx_static_cast" = yes; then
19154
19155 cat >>confdefs.h <<\_ACEOF
19156 #define HAVE_STATIC_CAST
19157 _ACEOF
19158
19159 fi
19160
19161
19162 if test "$wxUSE_STL" = "yes"; then
19163 ac_ext=cc
19164 ac_cpp='$CXXCPP $CPPFLAGS'
19165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19168
19169
19170 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19171 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
19172 cat >conftest.$ac_ext <<_ACEOF
19173 /* confdefs.h. */
19174 _ACEOF
19175 cat confdefs.h >>conftest.$ac_ext
19176 cat >>conftest.$ac_ext <<_ACEOF
19177 /* end confdefs.h. */
19178 #include <string>
19179 #include <functional>
19180 #include <algorithm>
19181 #include <vector>
19182 #include <list>
19183 int
19184 main ()
19185 {
19186 std::vector<int> moo;
19187 std::list<int> foo;
19188 std::vector<int>::iterator it =
19189 std::find_if(moo.begin(), moo.end(),
19190 std::bind2nd(std::less<int>(), 3));
19191 ;
19192 return 0;
19193 }
19194 _ACEOF
19195 rm -f conftest.$ac_objext
19196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19197 (eval $ac_compile) 2>conftest.er1
19198 ac_status=$?
19199 grep -v '^ *+' conftest.er1 >conftest.err
19200 rm -f conftest.er1
19201 cat conftest.err >&5
19202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19203 (exit $ac_status); } &&
19204 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19206 (eval $ac_try) 2>&5
19207 ac_status=$?
19208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19209 (exit $ac_status); }; } &&
19210 { ac_try='test -s conftest.$ac_objext'
19211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19212 (eval $ac_try) 2>&5
19213 ac_status=$?
19214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19215 (exit $ac_status); }; }; then
19216 echo "$as_me:$LINENO: result: yes" >&5
19217 echo "${ECHO_T}yes" >&6
19218 else
19219 echo "$as_me: failed program was:" >&5
19220 sed 's/^/| /' conftest.$ac_ext >&5
19221
19222 echo "$as_me:$LINENO: result: no" >&5
19223 echo "${ECHO_T}no" >&6
19224 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
19225 echo "$as_me: error: Basic STL functionality missing" >&2;}
19226 { (exit 1); exit 1; }; }
19227 fi
19228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19229
19230 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
19231 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
19232 cat >conftest.$ac_ext <<_ACEOF
19233 /* confdefs.h. */
19234 _ACEOF
19235 cat confdefs.h >>conftest.$ac_ext
19236 cat >>conftest.$ac_ext <<_ACEOF
19237 /* end confdefs.h. */
19238 #include <string>
19239 int
19240 main ()
19241 {
19242 std::wstring foo;
19243 ;
19244 return 0;
19245 }
19246 _ACEOF
19247 rm -f conftest.$ac_objext
19248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19249 (eval $ac_compile) 2>conftest.er1
19250 ac_status=$?
19251 grep -v '^ *+' conftest.er1 >conftest.err
19252 rm -f conftest.er1
19253 cat conftest.err >&5
19254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19255 (exit $ac_status); } &&
19256 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19258 (eval $ac_try) 2>&5
19259 ac_status=$?
19260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19261 (exit $ac_status); }; } &&
19262 { ac_try='test -s conftest.$ac_objext'
19263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19264 (eval $ac_try) 2>&5
19265 ac_status=$?
19266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19267 (exit $ac_status); }; }; then
19268 echo "$as_me:$LINENO: result: yes" >&5
19269 echo "${ECHO_T}yes" >&6
19270 cat >>confdefs.h <<\_ACEOF
19271 #define HAVE_STD_WSTRING 1
19272 _ACEOF
19273
19274 else
19275 echo "$as_me: failed program was:" >&5
19276 sed 's/^/| /' conftest.$ac_ext >&5
19277
19278 echo "$as_me:$LINENO: result: no" >&5
19279 echo "${ECHO_T}no" >&6
19280 fi
19281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19282
19283 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
19284 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
19285 cat >conftest.$ac_ext <<_ACEOF
19286 /* confdefs.h. */
19287 _ACEOF
19288 cat confdefs.h >>conftest.$ac_ext
19289 cat >>conftest.$ac_ext <<_ACEOF
19290 /* end confdefs.h. */
19291 #include <string>
19292 int
19293 main ()
19294 {
19295 std::string foo, bar;
19296 foo.compare(bar);
19297 foo.compare(1, 1, bar);
19298 foo.compare(1, 1, bar, 1, 1);
19299 foo.compare("");
19300 foo.compare(1, 1, "");
19301 foo.compare(1, 1, "", 2);
19302 ;
19303 return 0;
19304 }
19305 _ACEOF
19306 rm -f conftest.$ac_objext
19307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19308 (eval $ac_compile) 2>conftest.er1
19309 ac_status=$?
19310 grep -v '^ *+' conftest.er1 >conftest.err
19311 rm -f conftest.er1
19312 cat conftest.err >&5
19313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19314 (exit $ac_status); } &&
19315 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19317 (eval $ac_try) 2>&5
19318 ac_status=$?
19319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19320 (exit $ac_status); }; } &&
19321 { ac_try='test -s conftest.$ac_objext'
19322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19323 (eval $ac_try) 2>&5
19324 ac_status=$?
19325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19326 (exit $ac_status); }; }; then
19327 echo "$as_me:$LINENO: result: yes" >&5
19328 echo "${ECHO_T}yes" >&6
19329 cat >>confdefs.h <<\_ACEOF
19330 #define HAVE_STD_STRING_COMPARE 1
19331 _ACEOF
19332
19333 else
19334 echo "$as_me: failed program was:" >&5
19335 sed 's/^/| /' conftest.$ac_ext >&5
19336
19337 echo "$as_me:$LINENO: result: no" >&5
19338 echo "${ECHO_T}no" >&6
19339 fi
19340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19341
19342 if test "${ac_cv_header_hash_map+set}" = set; then
19343 echo "$as_me:$LINENO: checking for hash_map" >&5
19344 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19345 if test "${ac_cv_header_hash_map+set}" = set; then
19346 echo $ECHO_N "(cached) $ECHO_C" >&6
19347 fi
19348 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19349 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19350 else
19351 # Is the header compilable?
19352 echo "$as_me:$LINENO: checking hash_map usability" >&5
19353 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
19354 cat >conftest.$ac_ext <<_ACEOF
19355 /* confdefs.h. */
19356 _ACEOF
19357 cat confdefs.h >>conftest.$ac_ext
19358 cat >>conftest.$ac_ext <<_ACEOF
19359 /* end confdefs.h. */
19360 $ac_includes_default
19361 #include <hash_map>
19362 _ACEOF
19363 rm -f conftest.$ac_objext
19364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19365 (eval $ac_compile) 2>conftest.er1
19366 ac_status=$?
19367 grep -v '^ *+' conftest.er1 >conftest.err
19368 rm -f conftest.er1
19369 cat conftest.err >&5
19370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19371 (exit $ac_status); } &&
19372 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19374 (eval $ac_try) 2>&5
19375 ac_status=$?
19376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19377 (exit $ac_status); }; } &&
19378 { ac_try='test -s conftest.$ac_objext'
19379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19380 (eval $ac_try) 2>&5
19381 ac_status=$?
19382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19383 (exit $ac_status); }; }; then
19384 ac_header_compiler=yes
19385 else
19386 echo "$as_me: failed program was:" >&5
19387 sed 's/^/| /' conftest.$ac_ext >&5
19388
19389 ac_header_compiler=no
19390 fi
19391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19392 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19393 echo "${ECHO_T}$ac_header_compiler" >&6
19394
19395 # Is the header present?
19396 echo "$as_me:$LINENO: checking hash_map presence" >&5
19397 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
19398 cat >conftest.$ac_ext <<_ACEOF
19399 /* confdefs.h. */
19400 _ACEOF
19401 cat confdefs.h >>conftest.$ac_ext
19402 cat >>conftest.$ac_ext <<_ACEOF
19403 /* end confdefs.h. */
19404 #include <hash_map>
19405 _ACEOF
19406 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19407 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19408 ac_status=$?
19409 grep -v '^ *+' conftest.er1 >conftest.err
19410 rm -f conftest.er1
19411 cat conftest.err >&5
19412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19413 (exit $ac_status); } >/dev/null; then
19414 if test -s conftest.err; then
19415 ac_cpp_err=$ac_cxx_preproc_warn_flag
19416 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19417 else
19418 ac_cpp_err=
19419 fi
19420 else
19421 ac_cpp_err=yes
19422 fi
19423 if test -z "$ac_cpp_err"; then
19424 ac_header_preproc=yes
19425 else
19426 echo "$as_me: failed program was:" >&5
19427 sed 's/^/| /' conftest.$ac_ext >&5
19428
19429 ac_header_preproc=no
19430 fi
19431 rm -f conftest.err conftest.$ac_ext
19432 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19433 echo "${ECHO_T}$ac_header_preproc" >&6
19434
19435 # So? What about this header?
19436 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19437 yes:no: )
19438 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
19439 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
19440 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
19441 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
19442 ac_header_preproc=yes
19443 ;;
19444 no:yes:* )
19445 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
19446 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
19447 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
19448 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
19449 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
19450 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
19451 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
19452 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
19453 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
19454 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
19455 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
19456 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
19457 (
19458 cat <<\_ASBOX
19459 ## ----------------------------------------- ##
19460 ## Report this to wx-dev@lists.wxwidgets.org ##
19461 ## ----------------------------------------- ##
19462 _ASBOX
19463 ) |
19464 sed "s/^/$as_me: WARNING: /" >&2
19465 ;;
19466 esac
19467 echo "$as_me:$LINENO: checking for hash_map" >&5
19468 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19469 if test "${ac_cv_header_hash_map+set}" = set; then
19470 echo $ECHO_N "(cached) $ECHO_C" >&6
19471 else
19472 ac_cv_header_hash_map=$ac_header_preproc
19473 fi
19474 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19475 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19476
19477 fi
19478 if test $ac_cv_header_hash_map = yes; then
19479 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
19480 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
19481 cat >conftest.$ac_ext <<_ACEOF
19482 /* confdefs.h. */
19483 _ACEOF
19484 cat confdefs.h >>conftest.$ac_ext
19485 cat >>conftest.$ac_ext <<_ACEOF
19486 /* end confdefs.h. */
19487 #include <hash_map>
19488 #include <hash_set>
19489 int
19490 main ()
19491 {
19492 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
19493 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
19494 ;
19495 return 0;
19496 }
19497 _ACEOF
19498 rm -f conftest.$ac_objext
19499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19500 (eval $ac_compile) 2>conftest.er1
19501 ac_status=$?
19502 grep -v '^ *+' conftest.er1 >conftest.err
19503 rm -f conftest.er1
19504 cat conftest.err >&5
19505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19506 (exit $ac_status); } &&
19507 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19509 (eval $ac_try) 2>&5
19510 ac_status=$?
19511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19512 (exit $ac_status); }; } &&
19513 { ac_try='test -s conftest.$ac_objext'
19514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19515 (eval $ac_try) 2>&5
19516 ac_status=$?
19517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19518 (exit $ac_status); }; }; then
19519 echo "$as_me:$LINENO: result: yes" >&5
19520 echo "${ECHO_T}yes" >&6
19521 cat >>confdefs.h <<\_ACEOF
19522 #define HAVE_HASH_MAP 1
19523 _ACEOF
19524
19525 cat >>confdefs.h <<\_ACEOF
19526 #define HAVE_STD_HASH_MAP 1
19527 _ACEOF
19528
19529 else
19530 echo "$as_me: failed program was:" >&5
19531 sed 's/^/| /' conftest.$ac_ext >&5
19532
19533 echo "$as_me:$LINENO: result: no" >&5
19534 echo "${ECHO_T}no" >&6
19535 fi
19536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19537
19538 fi
19539
19540
19541
19542 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19543 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
19544 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
19545 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19546 echo $ECHO_N "(cached) $ECHO_C" >&6
19547 fi
19548 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
19549 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
19550 else
19551 # Is the header compilable?
19552 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
19553 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
19554 cat >conftest.$ac_ext <<_ACEOF
19555 /* confdefs.h. */
19556 _ACEOF
19557 cat confdefs.h >>conftest.$ac_ext
19558 cat >>conftest.$ac_ext <<_ACEOF
19559 /* end confdefs.h. */
19560 $ac_includes_default
19561 #include <ext/hash_map>
19562 _ACEOF
19563 rm -f conftest.$ac_objext
19564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19565 (eval $ac_compile) 2>conftest.er1
19566 ac_status=$?
19567 grep -v '^ *+' conftest.er1 >conftest.err
19568 rm -f conftest.er1
19569 cat conftest.err >&5
19570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19571 (exit $ac_status); } &&
19572 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19574 (eval $ac_try) 2>&5
19575 ac_status=$?
19576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19577 (exit $ac_status); }; } &&
19578 { ac_try='test -s conftest.$ac_objext'
19579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19580 (eval $ac_try) 2>&5
19581 ac_status=$?
19582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19583 (exit $ac_status); }; }; then
19584 ac_header_compiler=yes
19585 else
19586 echo "$as_me: failed program was:" >&5
19587 sed 's/^/| /' conftest.$ac_ext >&5
19588
19589 ac_header_compiler=no
19590 fi
19591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19592 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19593 echo "${ECHO_T}$ac_header_compiler" >&6
19594
19595 # Is the header present?
19596 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
19597 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
19598 cat >conftest.$ac_ext <<_ACEOF
19599 /* confdefs.h. */
19600 _ACEOF
19601 cat confdefs.h >>conftest.$ac_ext
19602 cat >>conftest.$ac_ext <<_ACEOF
19603 /* end confdefs.h. */
19604 #include <ext/hash_map>
19605 _ACEOF
19606 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19607 (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
19614 if test -s conftest.err; then
19615 ac_cpp_err=$ac_cxx_preproc_warn_flag
19616 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19617 else
19618 ac_cpp_err=
19619 fi
19620 else
19621 ac_cpp_err=yes
19622 fi
19623 if test -z "$ac_cpp_err"; then
19624 ac_header_preproc=yes
19625 else
19626 echo "$as_me: failed program was:" >&5
19627 sed 's/^/| /' conftest.$ac_ext >&5
19628
19629 ac_header_preproc=no
19630 fi
19631 rm -f conftest.err conftest.$ac_ext
19632 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19633 echo "${ECHO_T}$ac_header_preproc" >&6
19634
19635 # So? What about this header?
19636 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19637 yes:no: )
19638 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
19639 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
19640 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
19641 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
19642 ac_header_preproc=yes
19643 ;;
19644 no:yes:* )
19645 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
19646 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
19647 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
19648 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
19649 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
19650 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
19651 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
19652 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
19653 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
19654 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
19655 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
19656 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
19657 (
19658 cat <<\_ASBOX
19659 ## ----------------------------------------- ##
19660 ## Report this to wx-dev@lists.wxwidgets.org ##
19661 ## ----------------------------------------- ##
19662 _ASBOX
19663 ) |
19664 sed "s/^/$as_me: WARNING: /" >&2
19665 ;;
19666 esac
19667 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
19668 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
19669 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19670 echo $ECHO_N "(cached) $ECHO_C" >&6
19671 else
19672 ac_cv_header_ext_hash_map=$ac_header_preproc
19673 fi
19674 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
19675 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
19676
19677 fi
19678 if test $ac_cv_header_ext_hash_map = yes; then
19679 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
19680 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
19681 cat >conftest.$ac_ext <<_ACEOF
19682 /* confdefs.h. */
19683 _ACEOF
19684 cat confdefs.h >>conftest.$ac_ext
19685 cat >>conftest.$ac_ext <<_ACEOF
19686 /* end confdefs.h. */
19687 #include <ext/hash_map>
19688 #include <ext/hash_set>
19689 int
19690 main ()
19691 {
19692 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
19693 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
19694 ;
19695 return 0;
19696 }
19697 _ACEOF
19698 rm -f conftest.$ac_objext
19699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19700 (eval $ac_compile) 2>conftest.er1
19701 ac_status=$?
19702 grep -v '^ *+' conftest.er1 >conftest.err
19703 rm -f conftest.er1
19704 cat conftest.err >&5
19705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19706 (exit $ac_status); } &&
19707 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19709 (eval $ac_try) 2>&5
19710 ac_status=$?
19711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19712 (exit $ac_status); }; } &&
19713 { ac_try='test -s conftest.$ac_objext'
19714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19715 (eval $ac_try) 2>&5
19716 ac_status=$?
19717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19718 (exit $ac_status); }; }; then
19719 echo "$as_me:$LINENO: result: yes" >&5
19720 echo "${ECHO_T}yes" >&6
19721 cat >>confdefs.h <<\_ACEOF
19722 #define HAVE_EXT_HASH_MAP 1
19723 _ACEOF
19724
19725 cat >>confdefs.h <<\_ACEOF
19726 #define HAVE_GNU_CXX_HASH_MAP 1
19727 _ACEOF
19728
19729 else
19730 echo "$as_me: failed program was:" >&5
19731 sed 's/^/| /' conftest.$ac_ext >&5
19732
19733 echo "$as_me:$LINENO: result: no" >&5
19734 echo "${ECHO_T}no" >&6
19735 fi
19736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19737
19738 fi
19739
19740
19741
19742 ac_ext=c
19743 ac_cpp='$CPP $CPPFLAGS'
19744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19747
19748 fi
19749
19750
19751 SEARCH_INCLUDE="\
19752 /usr/local/include \
19753 \
19754 /usr/Motif-2.1/include \
19755 /usr/Motif-1.2/include \
19756 /usr/include/Motif1.2 \
19757 /opt/xpm/include/X11 \
19758 /opt/GBxpm/include/ \
19759 /opt/GBxpm/X11/include/ \
19760 \
19761 /usr/dt/include \
19762 /usr/openwin/include \
19763 \
19764 /usr/include/Xm \
19765 \
19766 /usr/X11R6/include \
19767 /usr/X11R6.4/include \
19768 /usr/X11R5/include \
19769 /usr/X11R4/include \
19770 \
19771 /usr/include/X11R6 \
19772 /usr/include/X11R5 \
19773 /usr/include/X11R4 \
19774 \
19775 /usr/local/X11R6/include \
19776 /usr/local/X11R5/include \
19777 /usr/local/X11R4/include \
19778 \
19779 /usr/local/include/X11R6 \
19780 /usr/local/include/X11R5 \
19781 /usr/local/include/X11R4 \
19782 \
19783 /usr/X11/include \
19784 /usr/include/X11 \
19785 /usr/local/X11/include \
19786 /usr/local/include/X11 \
19787 \
19788 /usr/X386/include \
19789 /usr/x386/include \
19790 /usr/XFree86/include/X11 \
19791 \
19792 X:/XFree86/include \
19793 X:/XFree86/include/X11 \
19794 \
19795 /usr/include/gtk \
19796 /usr/local/include/gtk \
19797 /usr/include/glib \
19798 /usr/local/include/glib \
19799 \
19800 /usr/include/qt \
19801 /usr/local/include/qt \
19802 \
19803 /usr/local/arm/3.3.2/include \
19804 \
19805 /usr/include/windows \
19806 /usr/include/wine \
19807 /usr/local/include/wine \
19808 \
19809 /usr/unsupported/include \
19810 /usr/athena/include \
19811 /usr/local/x11r5/include \
19812 /usr/lpp/Xamples/include \
19813 \
19814 /usr/openwin/share/include"
19815
19816 SEARCH_LIB="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
19817
19818
19819 cat >confcache <<\_ACEOF
19820 # This file is a shell script that caches the results of configure
19821 # tests run on this system so they can be shared between configure
19822 # scripts and configure runs, see configure's option --config-cache.
19823 # It is not useful on other systems. If it contains results you don't
19824 # want to keep, you may remove or edit it.
19825 #
19826 # config.status only pays attention to the cache file if you give it
19827 # the --recheck option to rerun configure.
19828 #
19829 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19830 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19831 # following values.
19832
19833 _ACEOF
19834
19835 # The following way of writing the cache mishandles newlines in values,
19836 # but we know of no workaround that is simple, portable, and efficient.
19837 # So, don't put newlines in cache variables' values.
19838 # Ultrix sh set writes to stderr and can't be redirected directly,
19839 # and sets the high bit in the cache file unless we assign to the vars.
19840 {
19841 (set) 2>&1 |
19842 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19843 *ac_space=\ *)
19844 # `set' does not quote correctly, so add quotes (double-quote
19845 # substitution turns \\\\ into \\, and sed turns \\ into \).
19846 sed -n \
19847 "s/'/'\\\\''/g;
19848 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19849 ;;
19850 *)
19851 # `set' quotes correctly as required by POSIX, so do not add quotes.
19852 sed -n \
19853 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19854 ;;
19855 esac;
19856 } |
19857 sed '
19858 t clear
19859 : clear
19860 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19861 t end
19862 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19863 : end' >>confcache
19864 if diff $cache_file confcache >/dev/null 2>&1; then :; else
19865 if test -w $cache_file; then
19866 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19867 cat confcache >$cache_file
19868 else
19869 echo "not updating unwritable cache $cache_file"
19870 fi
19871 fi
19872 rm -f confcache
19873
19874 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19875 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
19876 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
19877 if test "${wx_cv_lib_glibc21+set}" = set; then
19878 echo $ECHO_N "(cached) $ECHO_C" >&6
19879 else
19880
19881 cat >conftest.$ac_ext <<_ACEOF
19882 /* confdefs.h. */
19883 _ACEOF
19884 cat confdefs.h >>conftest.$ac_ext
19885 cat >>conftest.$ac_ext <<_ACEOF
19886 /* end confdefs.h. */
19887 #include <features.h>
19888 int
19889 main ()
19890 {
19891
19892 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
19893 #error not glibc2.1
19894 #endif
19895
19896 ;
19897 return 0;
19898 }
19899 _ACEOF
19900 rm -f conftest.$ac_objext
19901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19902 (eval $ac_compile) 2>conftest.er1
19903 ac_status=$?
19904 grep -v '^ *+' conftest.er1 >conftest.err
19905 rm -f conftest.er1
19906 cat conftest.err >&5
19907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19908 (exit $ac_status); } &&
19909 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
19915 { ac_try='test -s conftest.$ac_objext'
19916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19917 (eval $ac_try) 2>&5
19918 ac_status=$?
19919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19920 (exit $ac_status); }; }; then
19921
19922 wx_cv_lib_glibc21=yes
19923
19924 else
19925 echo "$as_me: failed program was:" >&5
19926 sed 's/^/| /' conftest.$ac_ext >&5
19927
19928
19929 wx_cv_lib_glibc21=no
19930
19931
19932 fi
19933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19934
19935 fi
19936 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
19937 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
19938 if test "$wx_cv_lib_glibc21" = "yes"; then
19939 cat >>confdefs.h <<\_ACEOF
19940 #define wxHAVE_GLIBC2 1
19941 _ACEOF
19942
19943 fi
19944 fi
19945
19946 if test "x$wx_cv_lib_glibc21" = "xyes"; then
19947 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
19948 cat >>confdefs.h <<\_ACEOF
19949 #define _GNU_SOURCE 1
19950 _ACEOF
19951
19952 fi
19953 fi
19954
19955
19956
19957 if test "$wxUSE_REGEX" != "no"; then
19958 cat >>confdefs.h <<\_ACEOF
19959 #define wxUSE_REGEX 1
19960 _ACEOF
19961
19962
19963 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
19964 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
19965 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
19966 wxUSE_REGEX=builtin
19967 fi
19968
19969 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
19970 if test "${ac_cv_header_regex_h+set}" = set; then
19971 echo "$as_me:$LINENO: checking for regex.h" >&5
19972 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
19973 if test "${ac_cv_header_regex_h+set}" = set; then
19974 echo $ECHO_N "(cached) $ECHO_C" >&6
19975 fi
19976 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
19977 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
19978 else
19979 # Is the header compilable?
19980 echo "$as_me:$LINENO: checking regex.h usability" >&5
19981 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
19982 cat >conftest.$ac_ext <<_ACEOF
19983 /* confdefs.h. */
19984 _ACEOF
19985 cat confdefs.h >>conftest.$ac_ext
19986 cat >>conftest.$ac_ext <<_ACEOF
19987 /* end confdefs.h. */
19988 $ac_includes_default
19989 #include <regex.h>
19990 _ACEOF
19991 rm -f conftest.$ac_objext
19992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19993 (eval $ac_compile) 2>conftest.er1
19994 ac_status=$?
19995 grep -v '^ *+' conftest.er1 >conftest.err
19996 rm -f conftest.er1
19997 cat conftest.err >&5
19998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19999 (exit $ac_status); } &&
20000 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20002 (eval $ac_try) 2>&5
20003 ac_status=$?
20004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20005 (exit $ac_status); }; } &&
20006 { ac_try='test -s conftest.$ac_objext'
20007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20008 (eval $ac_try) 2>&5
20009 ac_status=$?
20010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20011 (exit $ac_status); }; }; then
20012 ac_header_compiler=yes
20013 else
20014 echo "$as_me: failed program was:" >&5
20015 sed 's/^/| /' conftest.$ac_ext >&5
20016
20017 ac_header_compiler=no
20018 fi
20019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20020 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20021 echo "${ECHO_T}$ac_header_compiler" >&6
20022
20023 # Is the header present?
20024 echo "$as_me:$LINENO: checking regex.h presence" >&5
20025 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
20026 cat >conftest.$ac_ext <<_ACEOF
20027 /* confdefs.h. */
20028 _ACEOF
20029 cat confdefs.h >>conftest.$ac_ext
20030 cat >>conftest.$ac_ext <<_ACEOF
20031 /* end confdefs.h. */
20032 #include <regex.h>
20033 _ACEOF
20034 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20035 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20036 ac_status=$?
20037 grep -v '^ *+' conftest.er1 >conftest.err
20038 rm -f conftest.er1
20039 cat conftest.err >&5
20040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20041 (exit $ac_status); } >/dev/null; then
20042 if test -s conftest.err; then
20043 ac_cpp_err=$ac_c_preproc_warn_flag
20044 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20045 else
20046 ac_cpp_err=
20047 fi
20048 else
20049 ac_cpp_err=yes
20050 fi
20051 if test -z "$ac_cpp_err"; then
20052 ac_header_preproc=yes
20053 else
20054 echo "$as_me: failed program was:" >&5
20055 sed 's/^/| /' conftest.$ac_ext >&5
20056
20057 ac_header_preproc=no
20058 fi
20059 rm -f conftest.err conftest.$ac_ext
20060 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20061 echo "${ECHO_T}$ac_header_preproc" >&6
20062
20063 # So? What about this header?
20064 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20065 yes:no: )
20066 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
20067 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20068 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
20069 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
20070 ac_header_preproc=yes
20071 ;;
20072 no:yes:* )
20073 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
20074 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
20075 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
20076 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
20077 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
20078 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
20079 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
20080 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
20081 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
20082 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
20083 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
20084 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
20085 (
20086 cat <<\_ASBOX
20087 ## ----------------------------------------- ##
20088 ## Report this to wx-dev@lists.wxwidgets.org ##
20089 ## ----------------------------------------- ##
20090 _ASBOX
20091 ) |
20092 sed "s/^/$as_me: WARNING: /" >&2
20093 ;;
20094 esac
20095 echo "$as_me:$LINENO: checking for regex.h" >&5
20096 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20097 if test "${ac_cv_header_regex_h+set}" = set; then
20098 echo $ECHO_N "(cached) $ECHO_C" >&6
20099 else
20100 ac_cv_header_regex_h=$ac_header_preproc
20101 fi
20102 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20103 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20104
20105 fi
20106 if test $ac_cv_header_regex_h = yes; then
20107
20108 for ac_func in regcomp
20109 do
20110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20111 echo "$as_me:$LINENO: checking for $ac_func" >&5
20112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20113 if eval "test \"\${$as_ac_var+set}\" = set"; then
20114 echo $ECHO_N "(cached) $ECHO_C" >&6
20115 else
20116 cat >conftest.$ac_ext <<_ACEOF
20117 /* confdefs.h. */
20118 _ACEOF
20119 cat confdefs.h >>conftest.$ac_ext
20120 cat >>conftest.$ac_ext <<_ACEOF
20121 /* end confdefs.h. */
20122 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20123 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20124 #define $ac_func innocuous_$ac_func
20125
20126 /* System header to define __stub macros and hopefully few prototypes,
20127 which can conflict with char $ac_func (); below.
20128 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20129 <limits.h> exists even on freestanding compilers. */
20130
20131 #ifdef __STDC__
20132 # include <limits.h>
20133 #else
20134 # include <assert.h>
20135 #endif
20136
20137 #undef $ac_func
20138
20139 /* Override any gcc2 internal prototype to avoid an error. */
20140 #ifdef __cplusplus
20141 extern "C"
20142 {
20143 #endif
20144 /* We use char because int might match the return type of a gcc2
20145 builtin and then its argument prototype would still apply. */
20146 char $ac_func ();
20147 /* The GNU C library defines this for functions which it implements
20148 to always fail with ENOSYS. Some functions are actually named
20149 something starting with __ and the normal name is an alias. */
20150 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20151 choke me
20152 #else
20153 char (*f) () = $ac_func;
20154 #endif
20155 #ifdef __cplusplus
20156 }
20157 #endif
20158
20159 int
20160 main ()
20161 {
20162 return f != $ac_func;
20163 ;
20164 return 0;
20165 }
20166 _ACEOF
20167 rm -f conftest.$ac_objext conftest$ac_exeext
20168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20169 (eval $ac_link) 2>conftest.er1
20170 ac_status=$?
20171 grep -v '^ *+' conftest.er1 >conftest.err
20172 rm -f conftest.er1
20173 cat conftest.err >&5
20174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20175 (exit $ac_status); } &&
20176 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20178 (eval $ac_try) 2>&5
20179 ac_status=$?
20180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20181 (exit $ac_status); }; } &&
20182 { ac_try='test -s conftest$ac_exeext'
20183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20184 (eval $ac_try) 2>&5
20185 ac_status=$?
20186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20187 (exit $ac_status); }; }; then
20188 eval "$as_ac_var=yes"
20189 else
20190 echo "$as_me: failed program was:" >&5
20191 sed 's/^/| /' conftest.$ac_ext >&5
20192
20193 eval "$as_ac_var=no"
20194 fi
20195 rm -f conftest.err conftest.$ac_objext \
20196 conftest$ac_exeext conftest.$ac_ext
20197 fi
20198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20199 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20200 if test `eval echo '${'$as_ac_var'}'` = yes; then
20201 cat >>confdefs.h <<_ACEOF
20202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20203 _ACEOF
20204
20205 fi
20206 done
20207
20208 fi
20209
20210
20211
20212 if test "x$ac_cv_func_regcomp" != "xyes"; then
20213 if test "$wxUSE_REGEX" = "sys" ; then
20214 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
20215 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
20216 { (exit 1); exit 1; }; }
20217 else
20218 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
20219 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
20220 wxUSE_REGEX=builtin
20221 fi
20222 else
20223 wxUSE_REGEX=sys
20224 cat >>confdefs.h <<\_ACEOF
20225 #define WX_NO_REGEX_ADVANCED 1
20226 _ACEOF
20227
20228 fi
20229 fi
20230 fi
20231
20232
20233 ZLIB_LINK=
20234 if test "$wxUSE_ZLIB" != "no" ; then
20235 cat >>confdefs.h <<\_ACEOF
20236 #define wxUSE_ZLIB 1
20237 _ACEOF
20238
20239
20240 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
20241 if test "$USE_DARWIN" = 1; then
20242 system_zlib_h_ok="yes"
20243 else
20244 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
20245 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
20246 if test "${ac_cv_header_zlib_h+set}" = set; then
20247 echo $ECHO_N "(cached) $ECHO_C" >&6
20248 else
20249 if test "$cross_compiling" = yes; then
20250 unset ac_cv_header_zlib_h
20251
20252 else
20253 cat >conftest.$ac_ext <<_ACEOF
20254 /* confdefs.h. */
20255 _ACEOF
20256 cat confdefs.h >>conftest.$ac_ext
20257 cat >>conftest.$ac_ext <<_ACEOF
20258 /* end confdefs.h. */
20259
20260 #include <zlib.h>
20261 #include <stdio.h>
20262
20263 int main()
20264 {
20265 FILE *f=fopen("conftestval", "w");
20266 if (!f) exit(1);
20267 fprintf(f, "%s",
20268 ZLIB_VERSION[0] == '1' &&
20269 (ZLIB_VERSION[2] > '1' ||
20270 (ZLIB_VERSION[2] == '1' &&
20271 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
20272 exit(0);
20273 }
20274
20275 _ACEOF
20276 rm -f conftest$ac_exeext
20277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20278 (eval $ac_link) 2>&5
20279 ac_status=$?
20280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20281 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20283 (eval $ac_try) 2>&5
20284 ac_status=$?
20285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20286 (exit $ac_status); }; }; then
20287 ac_cv_header_zlib_h=`cat conftestval`
20288 else
20289 echo "$as_me: program exited with status $ac_status" >&5
20290 echo "$as_me: failed program was:" >&5
20291 sed 's/^/| /' conftest.$ac_ext >&5
20292
20293 ( exit $ac_status )
20294 ac_cv_header_zlib_h=no
20295 fi
20296 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20297 fi
20298
20299 fi
20300 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20301 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20302 if test "${ac_cv_header_zlib_h+set}" = set; then
20303 echo "$as_me:$LINENO: checking for zlib.h" >&5
20304 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20305 if test "${ac_cv_header_zlib_h+set}" = set; then
20306 echo $ECHO_N "(cached) $ECHO_C" >&6
20307 fi
20308 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20309 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20310 else
20311 # Is the header compilable?
20312 echo "$as_me:$LINENO: checking zlib.h usability" >&5
20313 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
20314 cat >conftest.$ac_ext <<_ACEOF
20315 /* confdefs.h. */
20316 _ACEOF
20317 cat confdefs.h >>conftest.$ac_ext
20318 cat >>conftest.$ac_ext <<_ACEOF
20319 /* end confdefs.h. */
20320 $ac_includes_default
20321 #include <zlib.h>
20322 _ACEOF
20323 rm -f conftest.$ac_objext
20324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20325 (eval $ac_compile) 2>conftest.er1
20326 ac_status=$?
20327 grep -v '^ *+' conftest.er1 >conftest.err
20328 rm -f conftest.er1
20329 cat conftest.err >&5
20330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20331 (exit $ac_status); } &&
20332 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20334 (eval $ac_try) 2>&5
20335 ac_status=$?
20336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20337 (exit $ac_status); }; } &&
20338 { ac_try='test -s conftest.$ac_objext'
20339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20340 (eval $ac_try) 2>&5
20341 ac_status=$?
20342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20343 (exit $ac_status); }; }; then
20344 ac_header_compiler=yes
20345 else
20346 echo "$as_me: failed program was:" >&5
20347 sed 's/^/| /' conftest.$ac_ext >&5
20348
20349 ac_header_compiler=no
20350 fi
20351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20352 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20353 echo "${ECHO_T}$ac_header_compiler" >&6
20354
20355 # Is the header present?
20356 echo "$as_me:$LINENO: checking zlib.h presence" >&5
20357 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
20358 cat >conftest.$ac_ext <<_ACEOF
20359 /* confdefs.h. */
20360 _ACEOF
20361 cat confdefs.h >>conftest.$ac_ext
20362 cat >>conftest.$ac_ext <<_ACEOF
20363 /* end confdefs.h. */
20364 #include <zlib.h>
20365 _ACEOF
20366 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20367 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20368 ac_status=$?
20369 grep -v '^ *+' conftest.er1 >conftest.err
20370 rm -f conftest.er1
20371 cat conftest.err >&5
20372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20373 (exit $ac_status); } >/dev/null; then
20374 if test -s conftest.err; then
20375 ac_cpp_err=$ac_c_preproc_warn_flag
20376 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20377 else
20378 ac_cpp_err=
20379 fi
20380 else
20381 ac_cpp_err=yes
20382 fi
20383 if test -z "$ac_cpp_err"; then
20384 ac_header_preproc=yes
20385 else
20386 echo "$as_me: failed program was:" >&5
20387 sed 's/^/| /' conftest.$ac_ext >&5
20388
20389 ac_header_preproc=no
20390 fi
20391 rm -f conftest.err conftest.$ac_ext
20392 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20393 echo "${ECHO_T}$ac_header_preproc" >&6
20394
20395 # So? What about this header?
20396 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20397 yes:no: )
20398 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
20399 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20400 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
20401 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
20402 ac_header_preproc=yes
20403 ;;
20404 no:yes:* )
20405 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
20406 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
20407 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
20408 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
20409 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
20410 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
20411 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
20412 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
20413 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
20414 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
20415 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
20416 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
20417 (
20418 cat <<\_ASBOX
20419 ## ----------------------------------------- ##
20420 ## Report this to wx-dev@lists.wxwidgets.org ##
20421 ## ----------------------------------------- ##
20422 _ASBOX
20423 ) |
20424 sed "s/^/$as_me: WARNING: /" >&2
20425 ;;
20426 esac
20427 echo "$as_me:$LINENO: checking for zlib.h" >&5
20428 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20429 if test "${ac_cv_header_zlib_h+set}" = set; then
20430 echo $ECHO_N "(cached) $ECHO_C" >&6
20431 else
20432 ac_cv_header_zlib_h=$ac_header_preproc
20433 fi
20434 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20435 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20436
20437 fi
20438
20439
20440
20441 system_zlib_h_ok=$ac_cv_header_zlib_h
20442 fi
20443
20444 if test "$system_zlib_h_ok" = "yes"; then
20445 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
20446 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
20447 if test "${ac_cv_lib_z_deflate+set}" = set; then
20448 echo $ECHO_N "(cached) $ECHO_C" >&6
20449 else
20450 ac_check_lib_save_LIBS=$LIBS
20451 LIBS="-lz $LIBS"
20452 cat >conftest.$ac_ext <<_ACEOF
20453 /* confdefs.h. */
20454 _ACEOF
20455 cat confdefs.h >>conftest.$ac_ext
20456 cat >>conftest.$ac_ext <<_ACEOF
20457 /* end confdefs.h. */
20458
20459 /* Override any gcc2 internal prototype to avoid an error. */
20460 #ifdef __cplusplus
20461 extern "C"
20462 #endif
20463 /* We use char because int might match the return type of a gcc2
20464 builtin and then its argument prototype would still apply. */
20465 char deflate ();
20466 int
20467 main ()
20468 {
20469 deflate ();
20470 ;
20471 return 0;
20472 }
20473 _ACEOF
20474 rm -f conftest.$ac_objext conftest$ac_exeext
20475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20476 (eval $ac_link) 2>conftest.er1
20477 ac_status=$?
20478 grep -v '^ *+' conftest.er1 >conftest.err
20479 rm -f conftest.er1
20480 cat conftest.err >&5
20481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20482 (exit $ac_status); } &&
20483 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20485 (eval $ac_try) 2>&5
20486 ac_status=$?
20487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20488 (exit $ac_status); }; } &&
20489 { ac_try='test -s conftest$ac_exeext'
20490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20491 (eval $ac_try) 2>&5
20492 ac_status=$?
20493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20494 (exit $ac_status); }; }; then
20495 ac_cv_lib_z_deflate=yes
20496 else
20497 echo "$as_me: failed program was:" >&5
20498 sed 's/^/| /' conftest.$ac_ext >&5
20499
20500 ac_cv_lib_z_deflate=no
20501 fi
20502 rm -f conftest.err conftest.$ac_objext \
20503 conftest$ac_exeext conftest.$ac_ext
20504 LIBS=$ac_check_lib_save_LIBS
20505 fi
20506 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
20507 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
20508 if test $ac_cv_lib_z_deflate = yes; then
20509 ZLIB_LINK=" -lz"
20510 fi
20511
20512 fi
20513
20514 if test "x$ZLIB_LINK" = "x" ; then
20515 if test "$wxUSE_ZLIB" = "sys" ; then
20516 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
20517 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
20518 { (exit 1); exit 1; }; }
20519 else
20520 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
20521 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
20522 wxUSE_ZLIB=builtin
20523 fi
20524 else
20525 wxUSE_ZLIB=sys
20526 fi
20527 fi
20528 fi
20529
20530
20531 PNG_LINK=
20532 if test "$wxUSE_LIBPNG" != "no" ; then
20533 cat >>confdefs.h <<\_ACEOF
20534 #define wxUSE_LIBPNG 1
20535 _ACEOF
20536
20537
20538 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
20539 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
20540 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
20541 wxUSE_LIBPNG=sys
20542 fi
20543
20544 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
20545 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
20546 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
20547 wxUSE_LIBPNG=builtin
20548 fi
20549
20550 if test "$wxUSE_MGL" != 1 ; then
20551 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
20552 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
20553 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
20554 if test "${ac_cv_header_png_h+set}" = set; then
20555 echo $ECHO_N "(cached) $ECHO_C" >&6
20556 else
20557 if test "$cross_compiling" = yes; then
20558 unset ac_cv_header_png_h
20559
20560 else
20561 cat >conftest.$ac_ext <<_ACEOF
20562 /* confdefs.h. */
20563 _ACEOF
20564 cat confdefs.h >>conftest.$ac_ext
20565 cat >>conftest.$ac_ext <<_ACEOF
20566 /* end confdefs.h. */
20567
20568 #include <png.h>
20569 #include <stdio.h>
20570
20571 int main()
20572 {
20573 FILE *f=fopen("conftestval", "w");
20574 if (!f) exit(1);
20575 fprintf(f, "%s",
20576 PNG_LIBPNG_VER > 90 ? "yes" : "no");
20577 exit(0);
20578 }
20579
20580 _ACEOF
20581 rm -f conftest$ac_exeext
20582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20583 (eval $ac_link) 2>&5
20584 ac_status=$?
20585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20586 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20588 (eval $ac_try) 2>&5
20589 ac_status=$?
20590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20591 (exit $ac_status); }; }; then
20592 ac_cv_header_png_h=`cat conftestval`
20593 else
20594 echo "$as_me: program exited with status $ac_status" >&5
20595 echo "$as_me: failed program was:" >&5
20596 sed 's/^/| /' conftest.$ac_ext >&5
20597
20598 ( exit $ac_status )
20599 ac_cv_header_png_h=no
20600 fi
20601 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20602 fi
20603
20604 fi
20605 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20606 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20607 if test "${ac_cv_header_png_h+set}" = set; then
20608 echo "$as_me:$LINENO: checking for png.h" >&5
20609 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20610 if test "${ac_cv_header_png_h+set}" = set; then
20611 echo $ECHO_N "(cached) $ECHO_C" >&6
20612 fi
20613 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20614 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20615 else
20616 # Is the header compilable?
20617 echo "$as_me:$LINENO: checking png.h usability" >&5
20618 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
20619 cat >conftest.$ac_ext <<_ACEOF
20620 /* confdefs.h. */
20621 _ACEOF
20622 cat confdefs.h >>conftest.$ac_ext
20623 cat >>conftest.$ac_ext <<_ACEOF
20624 /* end confdefs.h. */
20625 $ac_includes_default
20626 #include <png.h>
20627 _ACEOF
20628 rm -f conftest.$ac_objext
20629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20630 (eval $ac_compile) 2>conftest.er1
20631 ac_status=$?
20632 grep -v '^ *+' conftest.er1 >conftest.err
20633 rm -f conftest.er1
20634 cat conftest.err >&5
20635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20636 (exit $ac_status); } &&
20637 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20639 (eval $ac_try) 2>&5
20640 ac_status=$?
20641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20642 (exit $ac_status); }; } &&
20643 { ac_try='test -s conftest.$ac_objext'
20644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20645 (eval $ac_try) 2>&5
20646 ac_status=$?
20647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20648 (exit $ac_status); }; }; then
20649 ac_header_compiler=yes
20650 else
20651 echo "$as_me: failed program was:" >&5
20652 sed 's/^/| /' conftest.$ac_ext >&5
20653
20654 ac_header_compiler=no
20655 fi
20656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20657 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20658 echo "${ECHO_T}$ac_header_compiler" >&6
20659
20660 # Is the header present?
20661 echo "$as_me:$LINENO: checking png.h presence" >&5
20662 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
20663 cat >conftest.$ac_ext <<_ACEOF
20664 /* confdefs.h. */
20665 _ACEOF
20666 cat confdefs.h >>conftest.$ac_ext
20667 cat >>conftest.$ac_ext <<_ACEOF
20668 /* end confdefs.h. */
20669 #include <png.h>
20670 _ACEOF
20671 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20672 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20673 ac_status=$?
20674 grep -v '^ *+' conftest.er1 >conftest.err
20675 rm -f conftest.er1
20676 cat conftest.err >&5
20677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20678 (exit $ac_status); } >/dev/null; then
20679 if test -s conftest.err; then
20680 ac_cpp_err=$ac_c_preproc_warn_flag
20681 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20682 else
20683 ac_cpp_err=
20684 fi
20685 else
20686 ac_cpp_err=yes
20687 fi
20688 if test -z "$ac_cpp_err"; then
20689 ac_header_preproc=yes
20690 else
20691 echo "$as_me: failed program was:" >&5
20692 sed 's/^/| /' conftest.$ac_ext >&5
20693
20694 ac_header_preproc=no
20695 fi
20696 rm -f conftest.err conftest.$ac_ext
20697 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20698 echo "${ECHO_T}$ac_header_preproc" >&6
20699
20700 # So? What about this header?
20701 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20702 yes:no: )
20703 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
20704 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20705 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
20706 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
20707 ac_header_preproc=yes
20708 ;;
20709 no:yes:* )
20710 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
20711 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
20712 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
20713 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
20714 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
20715 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
20716 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
20717 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
20718 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
20719 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
20720 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
20721 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
20722 (
20723 cat <<\_ASBOX
20724 ## ----------------------------------------- ##
20725 ## Report this to wx-dev@lists.wxwidgets.org ##
20726 ## ----------------------------------------- ##
20727 _ASBOX
20728 ) |
20729 sed "s/^/$as_me: WARNING: /" >&2
20730 ;;
20731 esac
20732 echo "$as_me:$LINENO: checking for png.h" >&5
20733 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20734 if test "${ac_cv_header_png_h+set}" = set; then
20735 echo $ECHO_N "(cached) $ECHO_C" >&6
20736 else
20737 ac_cv_header_png_h=$ac_header_preproc
20738 fi
20739 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20740 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20741
20742 fi
20743
20744
20745
20746 if test "$ac_cv_header_png_h" = "yes"; then
20747 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
20748 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
20749 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
20750 echo $ECHO_N "(cached) $ECHO_C" >&6
20751 else
20752 ac_check_lib_save_LIBS=$LIBS
20753 LIBS="-lpng -lz -lm $LIBS"
20754 cat >conftest.$ac_ext <<_ACEOF
20755 /* confdefs.h. */
20756 _ACEOF
20757 cat confdefs.h >>conftest.$ac_ext
20758 cat >>conftest.$ac_ext <<_ACEOF
20759 /* end confdefs.h. */
20760
20761 /* Override any gcc2 internal prototype to avoid an error. */
20762 #ifdef __cplusplus
20763 extern "C"
20764 #endif
20765 /* We use char because int might match the return type of a gcc2
20766 builtin and then its argument prototype would still apply. */
20767 char png_check_sig ();
20768 int
20769 main ()
20770 {
20771 png_check_sig ();
20772 ;
20773 return 0;
20774 }
20775 _ACEOF
20776 rm -f conftest.$ac_objext conftest$ac_exeext
20777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20778 (eval $ac_link) 2>conftest.er1
20779 ac_status=$?
20780 grep -v '^ *+' conftest.er1 >conftest.err
20781 rm -f conftest.er1
20782 cat conftest.err >&5
20783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20784 (exit $ac_status); } &&
20785 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20787 (eval $ac_try) 2>&5
20788 ac_status=$?
20789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20790 (exit $ac_status); }; } &&
20791 { ac_try='test -s conftest$ac_exeext'
20792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20793 (eval $ac_try) 2>&5
20794 ac_status=$?
20795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20796 (exit $ac_status); }; }; then
20797 ac_cv_lib_png_png_check_sig=yes
20798 else
20799 echo "$as_me: failed program was:" >&5
20800 sed 's/^/| /' conftest.$ac_ext >&5
20801
20802 ac_cv_lib_png_png_check_sig=no
20803 fi
20804 rm -f conftest.err conftest.$ac_objext \
20805 conftest$ac_exeext conftest.$ac_ext
20806 LIBS=$ac_check_lib_save_LIBS
20807 fi
20808 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
20809 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
20810 if test $ac_cv_lib_png_png_check_sig = yes; then
20811 PNG_LINK=" -lpng -lz"
20812 fi
20813
20814 fi
20815
20816 if test "x$PNG_LINK" = "x" ; then
20817 if test "$wxUSE_LIBPNG" = "sys" ; then
20818 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
20819 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
20820 { (exit 1); exit 1; }; }
20821 else
20822 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
20823 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
20824 wxUSE_LIBPNG=builtin
20825 fi
20826 else
20827 wxUSE_LIBPNG=sys
20828 fi
20829 fi
20830 fi
20831
20832 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
20833 fi
20834
20835
20836 JPEG_LINK=
20837 if test "$wxUSE_LIBJPEG" != "no" ; then
20838 cat >>confdefs.h <<\_ACEOF
20839 #define wxUSE_LIBJPEG 1
20840 _ACEOF
20841
20842
20843 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
20844 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
20845 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
20846 wxUSE_LIBJPEG=sys
20847 fi
20848
20849 if test "$wxUSE_MGL" != 1 ; then
20850 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
20851 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
20852 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
20853 if test "${ac_cv_header_jpeglib_h+set}" = set; then
20854 echo $ECHO_N "(cached) $ECHO_C" >&6
20855 else
20856 cat >conftest.$ac_ext <<_ACEOF
20857 /* confdefs.h. */
20858 _ACEOF
20859 cat confdefs.h >>conftest.$ac_ext
20860 cat >>conftest.$ac_ext <<_ACEOF
20861 /* end confdefs.h. */
20862
20863 #undef HAVE_STDLIB_H
20864 #include <stdio.h>
20865 #include <jpeglib.h>
20866
20867 int
20868 main ()
20869 {
20870
20871
20872 ;
20873 return 0;
20874 }
20875 _ACEOF
20876 rm -f conftest.$ac_objext
20877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20878 (eval $ac_compile) 2>conftest.er1
20879 ac_status=$?
20880 grep -v '^ *+' conftest.er1 >conftest.err
20881 rm -f conftest.er1
20882 cat conftest.err >&5
20883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20884 (exit $ac_status); } &&
20885 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20887 (eval $ac_try) 2>&5
20888 ac_status=$?
20889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20890 (exit $ac_status); }; } &&
20891 { ac_try='test -s conftest.$ac_objext'
20892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20893 (eval $ac_try) 2>&5
20894 ac_status=$?
20895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20896 (exit $ac_status); }; }; then
20897 ac_cv_header_jpeglib_h=yes
20898 else
20899 echo "$as_me: failed program was:" >&5
20900 sed 's/^/| /' conftest.$ac_ext >&5
20901
20902 ac_cv_header_jpeglib_h=no
20903
20904 fi
20905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20906
20907 fi
20908
20909 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
20910 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
20911
20912 if test "$ac_cv_header_jpeglib_h" = "yes"; then
20913 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
20914 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
20915 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
20916 echo $ECHO_N "(cached) $ECHO_C" >&6
20917 else
20918 ac_check_lib_save_LIBS=$LIBS
20919 LIBS="-ljpeg $LIBS"
20920 cat >conftest.$ac_ext <<_ACEOF
20921 /* confdefs.h. */
20922 _ACEOF
20923 cat confdefs.h >>conftest.$ac_ext
20924 cat >>conftest.$ac_ext <<_ACEOF
20925 /* end confdefs.h. */
20926
20927 /* Override any gcc2 internal prototype to avoid an error. */
20928 #ifdef __cplusplus
20929 extern "C"
20930 #endif
20931 /* We use char because int might match the return type of a gcc2
20932 builtin and then its argument prototype would still apply. */
20933 char jpeg_read_header ();
20934 int
20935 main ()
20936 {
20937 jpeg_read_header ();
20938 ;
20939 return 0;
20940 }
20941 _ACEOF
20942 rm -f conftest.$ac_objext conftest$ac_exeext
20943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20944 (eval $ac_link) 2>conftest.er1
20945 ac_status=$?
20946 grep -v '^ *+' conftest.er1 >conftest.err
20947 rm -f conftest.er1
20948 cat conftest.err >&5
20949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20950 (exit $ac_status); } &&
20951 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20953 (eval $ac_try) 2>&5
20954 ac_status=$?
20955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20956 (exit $ac_status); }; } &&
20957 { ac_try='test -s conftest$ac_exeext'
20958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20959 (eval $ac_try) 2>&5
20960 ac_status=$?
20961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20962 (exit $ac_status); }; }; then
20963 ac_cv_lib_jpeg_jpeg_read_header=yes
20964 else
20965 echo "$as_me: failed program was:" >&5
20966 sed 's/^/| /' conftest.$ac_ext >&5
20967
20968 ac_cv_lib_jpeg_jpeg_read_header=no
20969 fi
20970 rm -f conftest.err conftest.$ac_objext \
20971 conftest$ac_exeext conftest.$ac_ext
20972 LIBS=$ac_check_lib_save_LIBS
20973 fi
20974 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
20975 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
20976 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
20977 JPEG_LINK=" -ljpeg"
20978 fi
20979
20980 fi
20981
20982 if test "x$JPEG_LINK" = "x" ; then
20983 if test "$wxUSE_LIBJPEG" = "sys" ; then
20984 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
20985 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
20986 { (exit 1); exit 1; }; }
20987 else
20988 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
20989 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
20990 wxUSE_LIBJPEG=builtin
20991 fi
20992 else
20993 wxUSE_LIBJPEG=sys
20994 fi
20995 fi
20996 fi
20997 fi
20998
20999
21000 TIFF_LINK=
21001 TIFF_PREREQ_LINKS=-lm
21002 if test "$wxUSE_LIBTIFF" != "no" ; then
21003 cat >>confdefs.h <<\_ACEOF
21004 #define wxUSE_LIBTIFF 1
21005 _ACEOF
21006
21007
21008 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
21009 if test "$wxUSE_LIBJPEG" = "sys"; then
21010 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
21011 fi
21012 if test "$wxUSE_ZLIB" = "sys"; then
21013 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
21014 fi
21015 if test "${ac_cv_header_tiffio_h+set}" = set; then
21016 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21017 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21018 if test "${ac_cv_header_tiffio_h+set}" = set; then
21019 echo $ECHO_N "(cached) $ECHO_C" >&6
21020 fi
21021 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21022 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21023 else
21024 # Is the header compilable?
21025 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
21026 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
21027 cat >conftest.$ac_ext <<_ACEOF
21028 /* confdefs.h. */
21029 _ACEOF
21030 cat confdefs.h >>conftest.$ac_ext
21031 cat >>conftest.$ac_ext <<_ACEOF
21032 /* end confdefs.h. */
21033 $ac_includes_default
21034 #include <tiffio.h>
21035 _ACEOF
21036 rm -f conftest.$ac_objext
21037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21038 (eval $ac_compile) 2>conftest.er1
21039 ac_status=$?
21040 grep -v '^ *+' conftest.er1 >conftest.err
21041 rm -f conftest.er1
21042 cat conftest.err >&5
21043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21044 (exit $ac_status); } &&
21045 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21047 (eval $ac_try) 2>&5
21048 ac_status=$?
21049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21050 (exit $ac_status); }; } &&
21051 { ac_try='test -s conftest.$ac_objext'
21052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21053 (eval $ac_try) 2>&5
21054 ac_status=$?
21055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21056 (exit $ac_status); }; }; then
21057 ac_header_compiler=yes
21058 else
21059 echo "$as_me: failed program was:" >&5
21060 sed 's/^/| /' conftest.$ac_ext >&5
21061
21062 ac_header_compiler=no
21063 fi
21064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21065 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21066 echo "${ECHO_T}$ac_header_compiler" >&6
21067
21068 # Is the header present?
21069 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
21070 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
21071 cat >conftest.$ac_ext <<_ACEOF
21072 /* confdefs.h. */
21073 _ACEOF
21074 cat confdefs.h >>conftest.$ac_ext
21075 cat >>conftest.$ac_ext <<_ACEOF
21076 /* end confdefs.h. */
21077 #include <tiffio.h>
21078 _ACEOF
21079 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21080 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21081 ac_status=$?
21082 grep -v '^ *+' conftest.er1 >conftest.err
21083 rm -f conftest.er1
21084 cat conftest.err >&5
21085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21086 (exit $ac_status); } >/dev/null; then
21087 if test -s conftest.err; then
21088 ac_cpp_err=$ac_c_preproc_warn_flag
21089 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21090 else
21091 ac_cpp_err=
21092 fi
21093 else
21094 ac_cpp_err=yes
21095 fi
21096 if test -z "$ac_cpp_err"; then
21097 ac_header_preproc=yes
21098 else
21099 echo "$as_me: failed program was:" >&5
21100 sed 's/^/| /' conftest.$ac_ext >&5
21101
21102 ac_header_preproc=no
21103 fi
21104 rm -f conftest.err conftest.$ac_ext
21105 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21106 echo "${ECHO_T}$ac_header_preproc" >&6
21107
21108 # So? What about this header?
21109 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21110 yes:no: )
21111 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
21112 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21113 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
21114 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
21115 ac_header_preproc=yes
21116 ;;
21117 no:yes:* )
21118 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
21119 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
21120 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
21121 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
21122 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
21123 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
21124 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
21125 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
21126 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
21127 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
21128 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
21129 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
21130 (
21131 cat <<\_ASBOX
21132 ## ----------------------------------------- ##
21133 ## Report this to wx-dev@lists.wxwidgets.org ##
21134 ## ----------------------------------------- ##
21135 _ASBOX
21136 ) |
21137 sed "s/^/$as_me: WARNING: /" >&2
21138 ;;
21139 esac
21140 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21141 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21142 if test "${ac_cv_header_tiffio_h+set}" = set; then
21143 echo $ECHO_N "(cached) $ECHO_C" >&6
21144 else
21145 ac_cv_header_tiffio_h=$ac_header_preproc
21146 fi
21147 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21148 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21149
21150 fi
21151 if test $ac_cv_header_tiffio_h = yes; then
21152
21153 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
21154 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
21155 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
21156 echo $ECHO_N "(cached) $ECHO_C" >&6
21157 else
21158 ac_check_lib_save_LIBS=$LIBS
21159 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
21160 cat >conftest.$ac_ext <<_ACEOF
21161 /* confdefs.h. */
21162 _ACEOF
21163 cat confdefs.h >>conftest.$ac_ext
21164 cat >>conftest.$ac_ext <<_ACEOF
21165 /* end confdefs.h. */
21166
21167 /* Override any gcc2 internal prototype to avoid an error. */
21168 #ifdef __cplusplus
21169 extern "C"
21170 #endif
21171 /* We use char because int might match the return type of a gcc2
21172 builtin and then its argument prototype would still apply. */
21173 char TIFFError ();
21174 int
21175 main ()
21176 {
21177 TIFFError ();
21178 ;
21179 return 0;
21180 }
21181 _ACEOF
21182 rm -f conftest.$ac_objext conftest$ac_exeext
21183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21184 (eval $ac_link) 2>conftest.er1
21185 ac_status=$?
21186 grep -v '^ *+' conftest.er1 >conftest.err
21187 rm -f conftest.er1
21188 cat conftest.err >&5
21189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21190 (exit $ac_status); } &&
21191 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21193 (eval $ac_try) 2>&5
21194 ac_status=$?
21195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21196 (exit $ac_status); }; } &&
21197 { ac_try='test -s conftest$ac_exeext'
21198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21199 (eval $ac_try) 2>&5
21200 ac_status=$?
21201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21202 (exit $ac_status); }; }; then
21203 ac_cv_lib_tiff_TIFFError=yes
21204 else
21205 echo "$as_me: failed program was:" >&5
21206 sed 's/^/| /' conftest.$ac_ext >&5
21207
21208 ac_cv_lib_tiff_TIFFError=no
21209 fi
21210 rm -f conftest.err conftest.$ac_objext \
21211 conftest$ac_exeext conftest.$ac_ext
21212 LIBS=$ac_check_lib_save_LIBS
21213 fi
21214 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
21215 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
21216 if test $ac_cv_lib_tiff_TIFFError = yes; then
21217 TIFF_LINK=" -ltiff"
21218 fi
21219
21220
21221
21222 fi
21223
21224
21225
21226 if test "x$TIFF_LINK" = "x" ; then
21227 if test "$wxUSE_LIBTIFF" = "sys" ; then
21228 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
21229 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
21230 { (exit 1); exit 1; }; }
21231 else
21232 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
21233 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
21234 wxUSE_LIBTIFF=builtin
21235 fi
21236 else
21237 wxUSE_LIBTIFF=sys
21238 fi
21239 fi
21240 fi
21241
21242
21243 if test "$wxUSE_EXPAT" != "no"; then
21244 wxUSE_XML=yes
21245 cat >>confdefs.h <<\_ACEOF
21246 #define wxUSE_EXPAT 1
21247 _ACEOF
21248
21249 cat >>confdefs.h <<\_ACEOF
21250 #define wxUSE_XML 1
21251 _ACEOF
21252
21253
21254 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
21255 if test "${ac_cv_header_expat_h+set}" = set; then
21256 echo "$as_me:$LINENO: checking for expat.h" >&5
21257 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21258 if test "${ac_cv_header_expat_h+set}" = set; then
21259 echo $ECHO_N "(cached) $ECHO_C" >&6
21260 fi
21261 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21262 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21263 else
21264 # Is the header compilable?
21265 echo "$as_me:$LINENO: checking expat.h usability" >&5
21266 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
21267 cat >conftest.$ac_ext <<_ACEOF
21268 /* confdefs.h. */
21269 _ACEOF
21270 cat confdefs.h >>conftest.$ac_ext
21271 cat >>conftest.$ac_ext <<_ACEOF
21272 /* end confdefs.h. */
21273 $ac_includes_default
21274 #include <expat.h>
21275 _ACEOF
21276 rm -f conftest.$ac_objext
21277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21278 (eval $ac_compile) 2>conftest.er1
21279 ac_status=$?
21280 grep -v '^ *+' conftest.er1 >conftest.err
21281 rm -f conftest.er1
21282 cat conftest.err >&5
21283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21284 (exit $ac_status); } &&
21285 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21287 (eval $ac_try) 2>&5
21288 ac_status=$?
21289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21290 (exit $ac_status); }; } &&
21291 { ac_try='test -s conftest.$ac_objext'
21292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21293 (eval $ac_try) 2>&5
21294 ac_status=$?
21295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21296 (exit $ac_status); }; }; then
21297 ac_header_compiler=yes
21298 else
21299 echo "$as_me: failed program was:" >&5
21300 sed 's/^/| /' conftest.$ac_ext >&5
21301
21302 ac_header_compiler=no
21303 fi
21304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21305 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21306 echo "${ECHO_T}$ac_header_compiler" >&6
21307
21308 # Is the header present?
21309 echo "$as_me:$LINENO: checking expat.h presence" >&5
21310 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
21311 cat >conftest.$ac_ext <<_ACEOF
21312 /* confdefs.h. */
21313 _ACEOF
21314 cat confdefs.h >>conftest.$ac_ext
21315 cat >>conftest.$ac_ext <<_ACEOF
21316 /* end confdefs.h. */
21317 #include <expat.h>
21318 _ACEOF
21319 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21320 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21321 ac_status=$?
21322 grep -v '^ *+' conftest.er1 >conftest.err
21323 rm -f conftest.er1
21324 cat conftest.err >&5
21325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21326 (exit $ac_status); } >/dev/null; then
21327 if test -s conftest.err; then
21328 ac_cpp_err=$ac_c_preproc_warn_flag
21329 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21330 else
21331 ac_cpp_err=
21332 fi
21333 else
21334 ac_cpp_err=yes
21335 fi
21336 if test -z "$ac_cpp_err"; then
21337 ac_header_preproc=yes
21338 else
21339 echo "$as_me: failed program was:" >&5
21340 sed 's/^/| /' conftest.$ac_ext >&5
21341
21342 ac_header_preproc=no
21343 fi
21344 rm -f conftest.err conftest.$ac_ext
21345 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21346 echo "${ECHO_T}$ac_header_preproc" >&6
21347
21348 # So? What about this header?
21349 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21350 yes:no: )
21351 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
21352 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21353 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
21354 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
21355 ac_header_preproc=yes
21356 ;;
21357 no:yes:* )
21358 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
21359 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
21360 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
21361 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
21362 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
21363 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
21364 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
21365 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
21366 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
21367 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
21368 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
21369 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
21370 (
21371 cat <<\_ASBOX
21372 ## ----------------------------------------- ##
21373 ## Report this to wx-dev@lists.wxwidgets.org ##
21374 ## ----------------------------------------- ##
21375 _ASBOX
21376 ) |
21377 sed "s/^/$as_me: WARNING: /" >&2
21378 ;;
21379 esac
21380 echo "$as_me:$LINENO: checking for expat.h" >&5
21381 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21382 if test "${ac_cv_header_expat_h+set}" = set; then
21383 echo $ECHO_N "(cached) $ECHO_C" >&6
21384 else
21385 ac_cv_header_expat_h=$ac_header_preproc
21386 fi
21387 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21388 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21389
21390 fi
21391 if test $ac_cv_header_expat_h = yes; then
21392 found_expat_h=1
21393 fi
21394
21395
21396 if test "x$found_expat_h" = "x1"; then
21397 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
21398 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
21399 if test "${wx_cv_expat_is_not_broken+set}" = set; then
21400 echo $ECHO_N "(cached) $ECHO_C" >&6
21401 else
21402
21403
21404
21405 ac_ext=cc
21406 ac_cpp='$CXXCPP $CPPFLAGS'
21407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21410
21411 cat >conftest.$ac_ext <<_ACEOF
21412 /* confdefs.h. */
21413 _ACEOF
21414 cat confdefs.h >>conftest.$ac_ext
21415 cat >>conftest.$ac_ext <<_ACEOF
21416 /* end confdefs.h. */
21417 #include <expat.h>
21418 int
21419 main ()
21420 {
21421
21422 ;
21423 return 0;
21424 }
21425 _ACEOF
21426 rm -f conftest.$ac_objext
21427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21428 (eval $ac_compile) 2>conftest.er1
21429 ac_status=$?
21430 grep -v '^ *+' conftest.er1 >conftest.err
21431 rm -f conftest.er1
21432 cat conftest.err >&5
21433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21434 (exit $ac_status); } &&
21435 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21437 (eval $ac_try) 2>&5
21438 ac_status=$?
21439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21440 (exit $ac_status); }; } &&
21441 { ac_try='test -s conftest.$ac_objext'
21442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21443 (eval $ac_try) 2>&5
21444 ac_status=$?
21445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21446 (exit $ac_status); }; }; then
21447 wx_cv_expat_is_not_broken=yes
21448 else
21449 echo "$as_me: failed program was:" >&5
21450 sed 's/^/| /' conftest.$ac_ext >&5
21451
21452 wx_cv_expat_is_not_broken=no
21453
21454 fi
21455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21456 ac_ext=c
21457 ac_cpp='$CPP $CPPFLAGS'
21458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21461
21462
21463
21464 fi
21465 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
21466 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
21467 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
21468 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
21469 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
21470 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
21471 echo $ECHO_N "(cached) $ECHO_C" >&6
21472 else
21473 ac_check_lib_save_LIBS=$LIBS
21474 LIBS="-lexpat $LIBS"
21475 cat >conftest.$ac_ext <<_ACEOF
21476 /* confdefs.h. */
21477 _ACEOF
21478 cat confdefs.h >>conftest.$ac_ext
21479 cat >>conftest.$ac_ext <<_ACEOF
21480 /* end confdefs.h. */
21481
21482 /* Override any gcc2 internal prototype to avoid an error. */
21483 #ifdef __cplusplus
21484 extern "C"
21485 #endif
21486 /* We use char because int might match the return type of a gcc2
21487 builtin and then its argument prototype would still apply. */
21488 char XML_ParserCreate ();
21489 int
21490 main ()
21491 {
21492 XML_ParserCreate ();
21493 ;
21494 return 0;
21495 }
21496 _ACEOF
21497 rm -f conftest.$ac_objext conftest$ac_exeext
21498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21499 (eval $ac_link) 2>conftest.er1
21500 ac_status=$?
21501 grep -v '^ *+' conftest.er1 >conftest.err
21502 rm -f conftest.er1
21503 cat conftest.err >&5
21504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21505 (exit $ac_status); } &&
21506 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21508 (eval $ac_try) 2>&5
21509 ac_status=$?
21510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21511 (exit $ac_status); }; } &&
21512 { ac_try='test -s conftest$ac_exeext'
21513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21514 (eval $ac_try) 2>&5
21515 ac_status=$?
21516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21517 (exit $ac_status); }; }; then
21518 ac_cv_lib_expat_XML_ParserCreate=yes
21519 else
21520 echo "$as_me: failed program was:" >&5
21521 sed 's/^/| /' conftest.$ac_ext >&5
21522
21523 ac_cv_lib_expat_XML_ParserCreate=no
21524 fi
21525 rm -f conftest.err conftest.$ac_objext \
21526 conftest$ac_exeext conftest.$ac_ext
21527 LIBS=$ac_check_lib_save_LIBS
21528 fi
21529 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
21530 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
21531 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
21532 EXPAT_LINK=" -lexpat"
21533 fi
21534
21535 fi
21536 fi
21537 if test "x$EXPAT_LINK" = "x" ; then
21538 if test "$wxUSE_EXPAT" = "sys" ; then
21539 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
21540 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
21541 { (exit 1); exit 1; }; }
21542 else
21543 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
21544 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
21545 wxUSE_EXPAT=builtin
21546 fi
21547 else
21548 wxUSE_EXPAT=sys
21549 fi
21550 fi
21551 if test "$wxUSE_EXPAT" = "builtin" ; then
21552
21553
21554 subdirs="$subdirs src/expat"
21555
21556 fi
21557 fi
21558
21559
21560
21561 if test "$wxUSE_LIBMSPACK" != "no"; then
21562
21563 if test "${ac_cv_header_mspack_h+set}" = set; then
21564 echo "$as_me:$LINENO: checking for mspack.h" >&5
21565 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21566 if test "${ac_cv_header_mspack_h+set}" = set; then
21567 echo $ECHO_N "(cached) $ECHO_C" >&6
21568 fi
21569 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21570 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21571 else
21572 # Is the header compilable?
21573 echo "$as_me:$LINENO: checking mspack.h usability" >&5
21574 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
21575 cat >conftest.$ac_ext <<_ACEOF
21576 /* confdefs.h. */
21577 _ACEOF
21578 cat confdefs.h >>conftest.$ac_ext
21579 cat >>conftest.$ac_ext <<_ACEOF
21580 /* end confdefs.h. */
21581 $ac_includes_default
21582 #include <mspack.h>
21583 _ACEOF
21584 rm -f conftest.$ac_objext
21585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21586 (eval $ac_compile) 2>conftest.er1
21587 ac_status=$?
21588 grep -v '^ *+' conftest.er1 >conftest.err
21589 rm -f conftest.er1
21590 cat conftest.err >&5
21591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21592 (exit $ac_status); } &&
21593 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21595 (eval $ac_try) 2>&5
21596 ac_status=$?
21597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21598 (exit $ac_status); }; } &&
21599 { ac_try='test -s conftest.$ac_objext'
21600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21601 (eval $ac_try) 2>&5
21602 ac_status=$?
21603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21604 (exit $ac_status); }; }; then
21605 ac_header_compiler=yes
21606 else
21607 echo "$as_me: failed program was:" >&5
21608 sed 's/^/| /' conftest.$ac_ext >&5
21609
21610 ac_header_compiler=no
21611 fi
21612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21613 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21614 echo "${ECHO_T}$ac_header_compiler" >&6
21615
21616 # Is the header present?
21617 echo "$as_me:$LINENO: checking mspack.h presence" >&5
21618 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
21619 cat >conftest.$ac_ext <<_ACEOF
21620 /* confdefs.h. */
21621 _ACEOF
21622 cat confdefs.h >>conftest.$ac_ext
21623 cat >>conftest.$ac_ext <<_ACEOF
21624 /* end confdefs.h. */
21625 #include <mspack.h>
21626 _ACEOF
21627 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21628 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21629 ac_status=$?
21630 grep -v '^ *+' conftest.er1 >conftest.err
21631 rm -f conftest.er1
21632 cat conftest.err >&5
21633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21634 (exit $ac_status); } >/dev/null; then
21635 if test -s conftest.err; then
21636 ac_cpp_err=$ac_c_preproc_warn_flag
21637 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21638 else
21639 ac_cpp_err=
21640 fi
21641 else
21642 ac_cpp_err=yes
21643 fi
21644 if test -z "$ac_cpp_err"; then
21645 ac_header_preproc=yes
21646 else
21647 echo "$as_me: failed program was:" >&5
21648 sed 's/^/| /' conftest.$ac_ext >&5
21649
21650 ac_header_preproc=no
21651 fi
21652 rm -f conftest.err conftest.$ac_ext
21653 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21654 echo "${ECHO_T}$ac_header_preproc" >&6
21655
21656 # So? What about this header?
21657 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21658 yes:no: )
21659 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
21660 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21661 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
21662 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
21663 ac_header_preproc=yes
21664 ;;
21665 no:yes:* )
21666 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
21667 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
21668 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
21669 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
21670 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
21671 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
21672 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
21673 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
21674 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
21675 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
21676 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
21677 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
21678 (
21679 cat <<\_ASBOX
21680 ## ----------------------------------------- ##
21681 ## Report this to wx-dev@lists.wxwidgets.org ##
21682 ## ----------------------------------------- ##
21683 _ASBOX
21684 ) |
21685 sed "s/^/$as_me: WARNING: /" >&2
21686 ;;
21687 esac
21688 echo "$as_me:$LINENO: checking for mspack.h" >&5
21689 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21690 if test "${ac_cv_header_mspack_h+set}" = set; then
21691 echo $ECHO_N "(cached) $ECHO_C" >&6
21692 else
21693 ac_cv_header_mspack_h=$ac_header_preproc
21694 fi
21695 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21696 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21697
21698 fi
21699 if test $ac_cv_header_mspack_h = yes; then
21700 found_mspack_h=1
21701 fi
21702
21703
21704 if test "x$found_mspack_h" = "x1"; then
21705 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
21706 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
21707 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
21708 echo $ECHO_N "(cached) $ECHO_C" >&6
21709 else
21710 ac_check_lib_save_LIBS=$LIBS
21711 LIBS="-lmspack $LIBS"
21712 cat >conftest.$ac_ext <<_ACEOF
21713 /* confdefs.h. */
21714 _ACEOF
21715 cat confdefs.h >>conftest.$ac_ext
21716 cat >>conftest.$ac_ext <<_ACEOF
21717 /* end confdefs.h. */
21718
21719 /* Override any gcc2 internal prototype to avoid an error. */
21720 #ifdef __cplusplus
21721 extern "C"
21722 #endif
21723 /* We use char because int might match the return type of a gcc2
21724 builtin and then its argument prototype would still apply. */
21725 char mspack_create_chm_decompressor ();
21726 int
21727 main ()
21728 {
21729 mspack_create_chm_decompressor ();
21730 ;
21731 return 0;
21732 }
21733 _ACEOF
21734 rm -f conftest.$ac_objext conftest$ac_exeext
21735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21736 (eval $ac_link) 2>conftest.er1
21737 ac_status=$?
21738 grep -v '^ *+' conftest.er1 >conftest.err
21739 rm -f conftest.er1
21740 cat conftest.err >&5
21741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21742 (exit $ac_status); } &&
21743 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21745 (eval $ac_try) 2>&5
21746 ac_status=$?
21747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21748 (exit $ac_status); }; } &&
21749 { ac_try='test -s conftest$ac_exeext'
21750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21751 (eval $ac_try) 2>&5
21752 ac_status=$?
21753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21754 (exit $ac_status); }; }; then
21755 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
21756 else
21757 echo "$as_me: failed program was:" >&5
21758 sed 's/^/| /' conftest.$ac_ext >&5
21759
21760 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
21761 fi
21762 rm -f conftest.err conftest.$ac_objext \
21763 conftest$ac_exeext conftest.$ac_ext
21764 LIBS=$ac_check_lib_save_LIBS
21765 fi
21766 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
21767 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
21768 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
21769 MSPACK_LINK=" -lmspack"
21770 fi
21771
21772 fi
21773 if test "x$MSPACK_LINK" = "x" ; then
21774 wxUSE_LIBMSPACK=no
21775 else
21776 cat >>confdefs.h <<\_ACEOF
21777 #define wxUSE_LIBMSPACK 1
21778 _ACEOF
21779
21780 fi
21781 fi
21782
21783
21784
21785 AFMINSTALL=
21786 WIN32INSTALL=
21787
21788 TOOLKIT=
21789 TOOLKIT_INCLUDE=
21790 WIDGET_SET=
21791
21792 if test "$USE_WIN32" = 1 ; then
21793
21794 for ac_header in w32api.h
21795 do
21796 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21797 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21798 echo "$as_me:$LINENO: checking for $ac_header" >&5
21799 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21800 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21801 echo $ECHO_N "(cached) $ECHO_C" >&6
21802 fi
21803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21804 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21805 else
21806 # Is the header compilable?
21807 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21808 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21809 cat >conftest.$ac_ext <<_ACEOF
21810 /* confdefs.h. */
21811 _ACEOF
21812 cat confdefs.h >>conftest.$ac_ext
21813 cat >>conftest.$ac_ext <<_ACEOF
21814 /* end confdefs.h. */
21815 $ac_includes_default
21816 #include <$ac_header>
21817 _ACEOF
21818 rm -f conftest.$ac_objext
21819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21820 (eval $ac_compile) 2>conftest.er1
21821 ac_status=$?
21822 grep -v '^ *+' conftest.er1 >conftest.err
21823 rm -f conftest.er1
21824 cat conftest.err >&5
21825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21826 (exit $ac_status); } &&
21827 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21829 (eval $ac_try) 2>&5
21830 ac_status=$?
21831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21832 (exit $ac_status); }; } &&
21833 { ac_try='test -s conftest.$ac_objext'
21834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21835 (eval $ac_try) 2>&5
21836 ac_status=$?
21837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21838 (exit $ac_status); }; }; then
21839 ac_header_compiler=yes
21840 else
21841 echo "$as_me: failed program was:" >&5
21842 sed 's/^/| /' conftest.$ac_ext >&5
21843
21844 ac_header_compiler=no
21845 fi
21846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21847 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21848 echo "${ECHO_T}$ac_header_compiler" >&6
21849
21850 # Is the header present?
21851 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21852 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21853 cat >conftest.$ac_ext <<_ACEOF
21854 /* confdefs.h. */
21855 _ACEOF
21856 cat confdefs.h >>conftest.$ac_ext
21857 cat >>conftest.$ac_ext <<_ACEOF
21858 /* end confdefs.h. */
21859 #include <$ac_header>
21860 _ACEOF
21861 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21862 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21863 ac_status=$?
21864 grep -v '^ *+' conftest.er1 >conftest.err
21865 rm -f conftest.er1
21866 cat conftest.err >&5
21867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21868 (exit $ac_status); } >/dev/null; then
21869 if test -s conftest.err; then
21870 ac_cpp_err=$ac_c_preproc_warn_flag
21871 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21872 else
21873 ac_cpp_err=
21874 fi
21875 else
21876 ac_cpp_err=yes
21877 fi
21878 if test -z "$ac_cpp_err"; then
21879 ac_header_preproc=yes
21880 else
21881 echo "$as_me: failed program was:" >&5
21882 sed 's/^/| /' conftest.$ac_ext >&5
21883
21884 ac_header_preproc=no
21885 fi
21886 rm -f conftest.err conftest.$ac_ext
21887 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21888 echo "${ECHO_T}$ac_header_preproc" >&6
21889
21890 # So? What about this header?
21891 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21892 yes:no: )
21893 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21894 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21895 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21896 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21897 ac_header_preproc=yes
21898 ;;
21899 no:yes:* )
21900 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21901 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21902 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21903 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21904 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21905 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21906 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21907 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21908 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21909 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21910 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21911 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21912 (
21913 cat <<\_ASBOX
21914 ## ----------------------------------------- ##
21915 ## Report this to wx-dev@lists.wxwidgets.org ##
21916 ## ----------------------------------------- ##
21917 _ASBOX
21918 ) |
21919 sed "s/^/$as_me: WARNING: /" >&2
21920 ;;
21921 esac
21922 echo "$as_me:$LINENO: checking for $ac_header" >&5
21923 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21924 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21925 echo $ECHO_N "(cached) $ECHO_C" >&6
21926 else
21927 eval "$as_ac_Header=\$ac_header_preproc"
21928 fi
21929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21930 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21931
21932 fi
21933 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21934 cat >>confdefs.h <<_ACEOF
21935 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21936 _ACEOF
21937
21938 fi
21939
21940 done
21941
21942 if test "${ac_cv_header_windows_h+set}" = set; then
21943 echo "$as_me:$LINENO: checking for windows.h" >&5
21944 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
21945 if test "${ac_cv_header_windows_h+set}" = set; then
21946 echo $ECHO_N "(cached) $ECHO_C" >&6
21947 fi
21948 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
21949 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
21950 else
21951 # Is the header compilable?
21952 echo "$as_me:$LINENO: checking windows.h usability" >&5
21953 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
21954 cat >conftest.$ac_ext <<_ACEOF
21955 /* confdefs.h. */
21956 _ACEOF
21957 cat confdefs.h >>conftest.$ac_ext
21958 cat >>conftest.$ac_ext <<_ACEOF
21959 /* end confdefs.h. */
21960 $ac_includes_default
21961 #include <windows.h>
21962 _ACEOF
21963 rm -f conftest.$ac_objext
21964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21965 (eval $ac_compile) 2>conftest.er1
21966 ac_status=$?
21967 grep -v '^ *+' conftest.er1 >conftest.err
21968 rm -f conftest.er1
21969 cat conftest.err >&5
21970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21971 (exit $ac_status); } &&
21972 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21974 (eval $ac_try) 2>&5
21975 ac_status=$?
21976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21977 (exit $ac_status); }; } &&
21978 { ac_try='test -s conftest.$ac_objext'
21979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21980 (eval $ac_try) 2>&5
21981 ac_status=$?
21982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21983 (exit $ac_status); }; }; then
21984 ac_header_compiler=yes
21985 else
21986 echo "$as_me: failed program was:" >&5
21987 sed 's/^/| /' conftest.$ac_ext >&5
21988
21989 ac_header_compiler=no
21990 fi
21991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21992 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21993 echo "${ECHO_T}$ac_header_compiler" >&6
21994
21995 # Is the header present?
21996 echo "$as_me:$LINENO: checking windows.h presence" >&5
21997 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
21998 cat >conftest.$ac_ext <<_ACEOF
21999 /* confdefs.h. */
22000 _ACEOF
22001 cat confdefs.h >>conftest.$ac_ext
22002 cat >>conftest.$ac_ext <<_ACEOF
22003 /* end confdefs.h. */
22004 #include <windows.h>
22005 _ACEOF
22006 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22007 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22008 ac_status=$?
22009 grep -v '^ *+' conftest.er1 >conftest.err
22010 rm -f conftest.er1
22011 cat conftest.err >&5
22012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22013 (exit $ac_status); } >/dev/null; then
22014 if test -s conftest.err; then
22015 ac_cpp_err=$ac_c_preproc_warn_flag
22016 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22017 else
22018 ac_cpp_err=
22019 fi
22020 else
22021 ac_cpp_err=yes
22022 fi
22023 if test -z "$ac_cpp_err"; then
22024 ac_header_preproc=yes
22025 else
22026 echo "$as_me: failed program was:" >&5
22027 sed 's/^/| /' conftest.$ac_ext >&5
22028
22029 ac_header_preproc=no
22030 fi
22031 rm -f conftest.err conftest.$ac_ext
22032 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22033 echo "${ECHO_T}$ac_header_preproc" >&6
22034
22035 # So? What about this header?
22036 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22037 yes:no: )
22038 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
22039 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22040 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
22041 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
22042 ac_header_preproc=yes
22043 ;;
22044 no:yes:* )
22045 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
22046 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
22047 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
22048 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
22049 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
22050 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
22051 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
22052 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
22053 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
22054 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
22055 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
22056 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
22057 (
22058 cat <<\_ASBOX
22059 ## ----------------------------------------- ##
22060 ## Report this to wx-dev@lists.wxwidgets.org ##
22061 ## ----------------------------------------- ##
22062 _ASBOX
22063 ) |
22064 sed "s/^/$as_me: WARNING: /" >&2
22065 ;;
22066 esac
22067 echo "$as_me:$LINENO: checking for windows.h" >&5
22068 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22069 if test "${ac_cv_header_windows_h+set}" = set; then
22070 echo $ECHO_N "(cached) $ECHO_C" >&6
22071 else
22072 ac_cv_header_windows_h=$ac_header_preproc
22073 fi
22074 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22075 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22076
22077 fi
22078 if test $ac_cv_header_windows_h = yes; then
22079 :
22080 else
22081
22082 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
22083 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
22084 { (exit 1); exit 1; }; }
22085
22086 fi
22087
22088
22089
22090 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
22091
22092 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
22093 LIBS="$LIBS -loleacc"
22094 fi
22095
22096 case "${host}" in
22097 *-*-cygwin* )
22098 LIBS="$LIBS -lkernel32 -luser32"
22099 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
22100 esac
22101
22102 if test "$wxUSE_ODBC" = "sys" ; then
22103 wxUSE_ODBC = "yes"
22104 fi
22105 if test "$wxUSE_ODBC" = "yes" ; then
22106 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
22107 cat >>confdefs.h <<\_ACEOF
22108 #define wxUSE_ODBC 1
22109 _ACEOF
22110
22111 fi
22112
22113 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
22114 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
22115
22116 WIN32INSTALL=win32install
22117 fi
22118
22119 if test "$wxUSE_GUI" = "yes"; then
22120 USE_GUI=1
22121
22122 GUI_TK_LIBRARY=
22123
22124 WXGTK12=
22125 WXGTK127=
22126 WXGTK20=
22127 WXGPE=
22128
22129 if test "$wxUSE_MSW" = 1 ; then
22130 TOOLKIT=MSW
22131 GUIDIST=MSW_DIST
22132
22133 case "${host}" in
22134 *-*-mingw32* )
22135 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
22136 esac
22137 fi
22138
22139 if test "$wxUSE_GTK" = 1; then
22140 echo "$as_me:$LINENO: checking for GTK+ version" >&5
22141 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
22142
22143 gtk_version_cached=1
22144 if test "${wx_cv_lib_gtk+set}" = set; then
22145 echo $ECHO_N "(cached) $ECHO_C" >&6
22146 else
22147
22148 gtk_version_cached=0
22149 echo "$as_me:$LINENO: result: " >&5
22150 echo "${ECHO_T}" >&6
22151
22152 GTK_MODULES=
22153 if test "$wxUSE_THREADS" = "yes"; then
22154 GTK_MODULES=gthread
22155 fi
22156
22157 wx_cv_lib_gtk=
22158 if test "x$wxUSE_GTK2" = "xyes"; then
22159 # Check whether --enable-gtktest or --disable-gtktest was given.
22160 if test "${enable_gtktest+set}" = set; then
22161 enableval="$enable_gtktest"
22162
22163 else
22164 enable_gtktest=yes
22165 fi;
22166
22167 pkg_config_args=gtk+-2.0
22168 for module in . $GTK_MODULES
22169 do
22170 case "$module" in
22171 gthread)
22172 pkg_config_args="$pkg_config_args gthread-2.0"
22173 ;;
22174 esac
22175 done
22176
22177 no_gtk=""
22178
22179 # Extract the first word of "pkg-config", so it can be a program name with args.
22180 set dummy pkg-config; ac_word=$2
22181 echo "$as_me:$LINENO: checking for $ac_word" >&5
22182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22183 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22184 echo $ECHO_N "(cached) $ECHO_C" >&6
22185 else
22186 case $PKG_CONFIG in
22187 [\\/]* | ?:[\\/]*)
22188 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22189 ;;
22190 *)
22191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22192 for as_dir in $PATH
22193 do
22194 IFS=$as_save_IFS
22195 test -z "$as_dir" && as_dir=.
22196 for ac_exec_ext in '' $ac_executable_extensions; do
22197 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22198 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22200 break 2
22201 fi
22202 done
22203 done
22204
22205 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22206 ;;
22207 esac
22208 fi
22209 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22210
22211 if test -n "$PKG_CONFIG"; then
22212 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22213 echo "${ECHO_T}$PKG_CONFIG" >&6
22214 else
22215 echo "$as_me:$LINENO: result: no" >&5
22216 echo "${ECHO_T}no" >&6
22217 fi
22218
22219
22220 if test x$PKG_CONFIG != xno ; then
22221 if pkg-config --atleast-pkgconfig-version 0.7 ; then
22222 :
22223 else
22224 echo "*** pkg-config too old; version 0.7 or better required."
22225 no_gtk=yes
22226 PKG_CONFIG=no
22227 fi
22228 else
22229 no_gtk=yes
22230 fi
22231
22232 min_gtk_version=2.0.0
22233 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
22234 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
22235
22236 if test x$PKG_CONFIG != xno ; then
22237 ## don't try to run the test against uninstalled libtool libs
22238 if $PKG_CONFIG --uninstalled $pkg_config_args; then
22239 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
22240 enable_gtktest=no
22241 fi
22242
22243 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
22244 :
22245 else
22246 no_gtk=yes
22247 fi
22248 fi
22249
22250 if test x"$no_gtk" = x ; then
22251 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
22252 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
22253 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
22254 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22255 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
22256 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22257 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
22258 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22259 if test "x$enable_gtktest" = "xyes" ; then
22260 ac_save_CFLAGS="$CFLAGS"
22261 ac_save_LIBS="$LIBS"
22262 CFLAGS="$CFLAGS $GTK_CFLAGS"
22263 LIBS="$GTK_LIBS $LIBS"
22264 rm -f conf.gtktest
22265 if test "$cross_compiling" = yes; then
22266 echo $ac_n "cross compiling; assumed OK... $ac_c"
22267 else
22268 cat >conftest.$ac_ext <<_ACEOF
22269 /* confdefs.h. */
22270 _ACEOF
22271 cat confdefs.h >>conftest.$ac_ext
22272 cat >>conftest.$ac_ext <<_ACEOF
22273 /* end confdefs.h. */
22274
22275 #include <gtk/gtk.h>
22276 #include <stdio.h>
22277 #include <stdlib.h>
22278
22279 int
22280 main ()
22281 {
22282 int major, minor, micro;
22283 char *tmp_version;
22284
22285 system ("touch conf.gtktest");
22286
22287 /* HP/UX 9 (%@#!) writes to sscanf strings */
22288 tmp_version = g_strdup("$min_gtk_version");
22289 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
22290 printf("%s, bad version string\n", "$min_gtk_version");
22291 exit(1);
22292 }
22293
22294 if ((gtk_major_version != $gtk_config_major_version) ||
22295 (gtk_minor_version != $gtk_config_minor_version) ||
22296 (gtk_micro_version != $gtk_config_micro_version))
22297 {
22298 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22299 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22300 gtk_major_version, gtk_minor_version, gtk_micro_version);
22301 printf ("*** was found! If pkg-config was correct, then it is best\n");
22302 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22303 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22304 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22305 printf("*** required on your system.\n");
22306 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
22307 printf("*** to point to the correct configuration files\n");
22308 }
22309 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22310 (gtk_minor_version != GTK_MINOR_VERSION) ||
22311 (gtk_micro_version != GTK_MICRO_VERSION))
22312 {
22313 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22314 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22315 printf("*** library (version %d.%d.%d)\n",
22316 gtk_major_version, gtk_minor_version, gtk_micro_version);
22317 }
22318 else
22319 {
22320 if ((gtk_major_version > major) ||
22321 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22322 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22323 {
22324 return 0;
22325 }
22326 else
22327 {
22328 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22329 gtk_major_version, gtk_minor_version, gtk_micro_version);
22330 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22331 major, minor, micro);
22332 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22333 printf("***\n");
22334 printf("*** If you have already installed a sufficiently new version, this error\n");
22335 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
22336 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22337 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
22338 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
22339 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22340 printf("*** so that the correct libraries are found at run-time))\n");
22341 }
22342 }
22343 return 1;
22344 }
22345
22346 _ACEOF
22347 rm -f conftest$ac_exeext
22348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22349 (eval $ac_link) 2>&5
22350 ac_status=$?
22351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22352 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22354 (eval $ac_try) 2>&5
22355 ac_status=$?
22356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22357 (exit $ac_status); }; }; then
22358 :
22359 else
22360 echo "$as_me: program exited with status $ac_status" >&5
22361 echo "$as_me: failed program was:" >&5
22362 sed 's/^/| /' conftest.$ac_ext >&5
22363
22364 ( exit $ac_status )
22365 no_gtk=yes
22366 fi
22367 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22368 fi
22369 CFLAGS="$ac_save_CFLAGS"
22370 LIBS="$ac_save_LIBS"
22371 fi
22372 fi
22373 if test "x$no_gtk" = x ; then
22374 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
22375 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
22376 wx_cv_lib_gtk=2.0
22377 else
22378 echo "$as_me:$LINENO: result: no" >&5
22379 echo "${ECHO_T}no" >&6
22380 if test "$PKG_CONFIG" = "no" ; then
22381 echo "*** A new enough version of pkg-config was not found."
22382 echo "*** See http://pkgconfig.sourceforge.net"
22383 else
22384 if test -f conf.gtktest ; then
22385 :
22386 else
22387 echo "*** Could not run GTK+ test program, checking why..."
22388 ac_save_CFLAGS="$CFLAGS"
22389 ac_save_LIBS="$LIBS"
22390 CFLAGS="$CFLAGS $GTK_CFLAGS"
22391 LIBS="$LIBS $GTK_LIBS"
22392 cat >conftest.$ac_ext <<_ACEOF
22393 /* confdefs.h. */
22394 _ACEOF
22395 cat confdefs.h >>conftest.$ac_ext
22396 cat >>conftest.$ac_ext <<_ACEOF
22397 /* end confdefs.h. */
22398
22399 #include <gtk/gtk.h>
22400 #include <stdio.h>
22401
22402 int
22403 main ()
22404 {
22405 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22406 ;
22407 return 0;
22408 }
22409 _ACEOF
22410 rm -f conftest.$ac_objext conftest$ac_exeext
22411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22412 (eval $ac_link) 2>conftest.er1
22413 ac_status=$?
22414 grep -v '^ *+' conftest.er1 >conftest.err
22415 rm -f conftest.er1
22416 cat conftest.err >&5
22417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22418 (exit $ac_status); } &&
22419 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22421 (eval $ac_try) 2>&5
22422 ac_status=$?
22423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22424 (exit $ac_status); }; } &&
22425 { ac_try='test -s conftest$ac_exeext'
22426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22427 (eval $ac_try) 2>&5
22428 ac_status=$?
22429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22430 (exit $ac_status); }; }; then
22431 echo "*** The test program compiled, but did not run. This usually means"
22432 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
22433 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
22434 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22435 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22436 echo "*** is required on your system"
22437 echo "***"
22438 echo "*** If you have an old version installed, it is best to remove it, although"
22439 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22440 else
22441 echo "$as_me: failed program was:" >&5
22442 sed 's/^/| /' conftest.$ac_ext >&5
22443
22444 echo "*** The test program failed to compile or link. See the file config.log for the"
22445 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
22446 fi
22447 rm -f conftest.err conftest.$ac_objext \
22448 conftest$ac_exeext conftest.$ac_ext
22449 CFLAGS="$ac_save_CFLAGS"
22450 LIBS="$ac_save_LIBS"
22451 fi
22452 fi
22453 GTK_CFLAGS=""
22454 GTK_LIBS=""
22455 :
22456 fi
22457
22458
22459 rm -f conf.gtktest
22460
22461 else
22462
22463 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22464 if test "${with_gtk_prefix+set}" = set; then
22465 withval="$with_gtk_prefix"
22466 gtk_config_prefix="$withval"
22467 else
22468 gtk_config_prefix=""
22469 fi;
22470
22471 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22472 if test "${with_gtk_exec_prefix+set}" = set; then
22473 withval="$with_gtk_exec_prefix"
22474 gtk_config_exec_prefix="$withval"
22475 else
22476 gtk_config_exec_prefix=""
22477 fi;
22478 # Check whether --enable-gtktest or --disable-gtktest was given.
22479 if test "${enable_gtktest+set}" = set; then
22480 enableval="$enable_gtktest"
22481
22482 else
22483 enable_gtktest=yes
22484 fi;
22485
22486 for module in . $GTK_MODULES
22487 do
22488 case "$module" in
22489 gthread)
22490 gtk_config_args="$gtk_config_args gthread"
22491 ;;
22492 esac
22493 done
22494
22495 if test x$gtk_config_exec_prefix != x ; then
22496 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22497 if test x${GTK_CONFIG+set} != xset ; then
22498 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
22499 fi
22500 fi
22501 if test x$gtk_config_prefix != x ; then
22502 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
22503 if test x${GTK_CONFIG+set} != xset ; then
22504 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
22505 fi
22506 fi
22507
22508 # Extract the first word of "gtk-config", so it can be a program name with args.
22509 set dummy gtk-config; ac_word=$2
22510 echo "$as_me:$LINENO: checking for $ac_word" >&5
22511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22512 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22513 echo $ECHO_N "(cached) $ECHO_C" >&6
22514 else
22515 case $GTK_CONFIG in
22516 [\\/]* | ?:[\\/]*)
22517 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
22518 ;;
22519 *)
22520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22521 for as_dir in $PATH
22522 do
22523 IFS=$as_save_IFS
22524 test -z "$as_dir" && as_dir=.
22525 for ac_exec_ext in '' $ac_executable_extensions; do
22526 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22527 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22528 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22529 break 2
22530 fi
22531 done
22532 done
22533
22534 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
22535 ;;
22536 esac
22537 fi
22538 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
22539
22540 if test -n "$GTK_CONFIG"; then
22541 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22542 echo "${ECHO_T}$GTK_CONFIG" >&6
22543 else
22544 echo "$as_me:$LINENO: result: no" >&5
22545 echo "${ECHO_T}no" >&6
22546 fi
22547
22548 min_gtk_version=1.2.7
22549 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22550 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22551 no_gtk=""
22552 if test "$GTK_CONFIG" = "no" ; then
22553 no_gtk=yes
22554 else
22555 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
22556 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
22557 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
22558 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22559 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
22560 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22561 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
22562 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22563 if test "x$enable_gtktest" = "xyes" ; then
22564 ac_save_CFLAGS="$CFLAGS"
22565 ac_save_LIBS="$LIBS"
22566 CFLAGS="$CFLAGS $GTK_CFLAGS"
22567 LIBS="$GTK_LIBS $LIBS"
22568 rm -f conf.gtktest
22569 if test "$cross_compiling" = yes; then
22570 echo $ac_n "cross compiling; assumed OK... $ac_c"
22571 else
22572 cat >conftest.$ac_ext <<_ACEOF
22573 /* confdefs.h. */
22574 _ACEOF
22575 cat confdefs.h >>conftest.$ac_ext
22576 cat >>conftest.$ac_ext <<_ACEOF
22577 /* end confdefs.h. */
22578
22579 #include <gtk/gtk.h>
22580 #include <stdio.h>
22581 #include <stdlib.h>
22582
22583 int
22584 main ()
22585 {
22586 int major, minor, micro;
22587 char *tmp_version;
22588
22589 system ("touch conf.gtktest");
22590
22591 /* HP/UX 9 (%@#!) writes to sscanf strings */
22592 tmp_version = g_strdup("$min_gtk_version");
22593 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
22594 printf("%s, bad version string\n", "$min_gtk_version");
22595 exit(1);
22596 }
22597
22598 if ((gtk_major_version != $gtk_config_major_version) ||
22599 (gtk_minor_version != $gtk_config_minor_version) ||
22600 (gtk_micro_version != $gtk_config_micro_version))
22601 {
22602 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22603 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22604 gtk_major_version, gtk_minor_version, gtk_micro_version);
22605 printf ("*** was found! If gtk-config was correct, then it is best\n");
22606 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22607 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22608 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22609 printf("*** required on your system.\n");
22610 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
22611 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
22612 printf("*** before re-running configure\n");
22613 }
22614 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
22615 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22616 (gtk_minor_version != GTK_MINOR_VERSION) ||
22617 (gtk_micro_version != GTK_MICRO_VERSION))
22618 {
22619 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22620 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22621 printf("*** library (version %d.%d.%d)\n",
22622 gtk_major_version, gtk_minor_version, gtk_micro_version);
22623 }
22624 #endif /* defined (GTK_MAJOR_VERSION) ... */
22625 else
22626 {
22627 if ((gtk_major_version > major) ||
22628 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22629 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22630 {
22631 return 0;
22632 }
22633 else
22634 {
22635 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22636 gtk_major_version, gtk_minor_version, gtk_micro_version);
22637 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22638 major, minor, micro);
22639 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22640 printf("***\n");
22641 printf("*** If you have already installed a sufficiently new version, this error\n");
22642 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
22643 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22644 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
22645 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
22646 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22647 printf("*** so that the correct libraries are found at run-time))\n");
22648 }
22649 }
22650 return 1;
22651 }
22652
22653 _ACEOF
22654 rm -f conftest$ac_exeext
22655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22656 (eval $ac_link) 2>&5
22657 ac_status=$?
22658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22659 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22661 (eval $ac_try) 2>&5
22662 ac_status=$?
22663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22664 (exit $ac_status); }; }; then
22665 :
22666 else
22667 echo "$as_me: program exited with status $ac_status" >&5
22668 echo "$as_me: failed program was:" >&5
22669 sed 's/^/| /' conftest.$ac_ext >&5
22670
22671 ( exit $ac_status )
22672 no_gtk=yes
22673 fi
22674 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22675 fi
22676 CFLAGS="$ac_save_CFLAGS"
22677 LIBS="$ac_save_LIBS"
22678 fi
22679 fi
22680 if test "x$no_gtk" = x ; then
22681 echo "$as_me:$LINENO: result: yes" >&5
22682 echo "${ECHO_T}yes" >&6
22683 wx_cv_lib_gtk=1.2.7
22684 else
22685 echo "$as_me:$LINENO: result: no" >&5
22686 echo "${ECHO_T}no" >&6
22687 if test "$GTK_CONFIG" = "no" ; then
22688 echo "*** The gtk-config script installed by GTK could not be found"
22689 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
22690 echo "*** your path, or set the GTK_CONFIG environment variable to the"
22691 echo "*** full path to gtk-config."
22692 else
22693 if test -f conf.gtktest ; then
22694 :
22695 else
22696 echo "*** Could not run GTK test program, checking why..."
22697 CFLAGS="$CFLAGS $GTK_CFLAGS"
22698 LIBS="$LIBS $GTK_LIBS"
22699 cat >conftest.$ac_ext <<_ACEOF
22700 /* confdefs.h. */
22701 _ACEOF
22702 cat confdefs.h >>conftest.$ac_ext
22703 cat >>conftest.$ac_ext <<_ACEOF
22704 /* end confdefs.h. */
22705
22706 #include <gtk/gtk.h>
22707 #include <stdio.h>
22708
22709 int
22710 main ()
22711 {
22712 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22713 ;
22714 return 0;
22715 }
22716 _ACEOF
22717 rm -f conftest.$ac_objext conftest$ac_exeext
22718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22719 (eval $ac_link) 2>conftest.er1
22720 ac_status=$?
22721 grep -v '^ *+' conftest.er1 >conftest.err
22722 rm -f conftest.er1
22723 cat conftest.err >&5
22724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22725 (exit $ac_status); } &&
22726 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22728 (eval $ac_try) 2>&5
22729 ac_status=$?
22730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22731 (exit $ac_status); }; } &&
22732 { ac_try='test -s conftest$ac_exeext'
22733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22734 (eval $ac_try) 2>&5
22735 ac_status=$?
22736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22737 (exit $ac_status); }; }; then
22738 echo "*** The test program compiled, but did not run. This usually means"
22739 echo "*** that the run-time linker is not finding GTK or finding the wrong"
22740 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
22741 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22742 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22743 echo "*** is required on your system"
22744 echo "***"
22745 echo "*** If you have an old version installed, it is best to remove it, although"
22746 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22747 echo "***"
22748 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
22749 echo "*** came with the system with the command"
22750 echo "***"
22751 echo "*** rpm --erase --nodeps gtk gtk-devel"
22752 else
22753 echo "$as_me: failed program was:" >&5
22754 sed 's/^/| /' conftest.$ac_ext >&5
22755
22756 echo "*** The test program failed to compile or link. See the file config.log for the"
22757 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
22758 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
22759 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
22760 fi
22761 rm -f conftest.err conftest.$ac_objext \
22762 conftest$ac_exeext conftest.$ac_ext
22763 CFLAGS="$ac_save_CFLAGS"
22764 LIBS="$ac_save_LIBS"
22765 fi
22766 fi
22767 GTK_CFLAGS=""
22768 GTK_LIBS=""
22769 :
22770 fi
22771
22772
22773 rm -f conf.gtktest
22774
22775
22776 if test -z "$wx_cv_lib_gtk"; then
22777
22778 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22779 if test "${with_gtk_prefix+set}" = set; then
22780 withval="$with_gtk_prefix"
22781 gtk_config_prefix="$withval"
22782 else
22783 gtk_config_prefix=""
22784 fi;
22785
22786 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22787 if test "${with_gtk_exec_prefix+set}" = set; then
22788 withval="$with_gtk_exec_prefix"
22789 gtk_config_exec_prefix="$withval"
22790 else
22791 gtk_config_exec_prefix=""
22792 fi;
22793 # Check whether --enable-gtktest or --disable-gtktest was given.
22794 if test "${enable_gtktest+set}" = set; then
22795 enableval="$enable_gtktest"
22796
22797 else
22798 enable_gtktest=yes
22799 fi;
22800
22801 for module in . $GTK_MODULES
22802 do
22803 case "$module" in
22804 gthread)
22805 gtk_config_args="$gtk_config_args gthread"
22806 ;;
22807 esac
22808 done
22809
22810 if test x$gtk_config_exec_prefix != x ; then
22811 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22812 if test x${GTK_CONFIG+set} != xset ; then
22813 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
22814 fi
22815 fi
22816 if test x$gtk_config_prefix != x ; then
22817 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
22818 if test x${GTK_CONFIG+set} != xset ; then
22819 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
22820 fi
22821 fi
22822
22823 # Extract the first word of "gtk-config", so it can be a program name with args.
22824 set dummy gtk-config; ac_word=$2
22825 echo "$as_me:$LINENO: checking for $ac_word" >&5
22826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22827 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22828 echo $ECHO_N "(cached) $ECHO_C" >&6
22829 else
22830 case $GTK_CONFIG in
22831 [\\/]* | ?:[\\/]*)
22832 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
22833 ;;
22834 *)
22835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22836 for as_dir in $PATH
22837 do
22838 IFS=$as_save_IFS
22839 test -z "$as_dir" && as_dir=.
22840 for ac_exec_ext in '' $ac_executable_extensions; do
22841 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22842 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22843 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22844 break 2
22845 fi
22846 done
22847 done
22848
22849 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
22850 ;;
22851 esac
22852 fi
22853 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
22854
22855 if test -n "$GTK_CONFIG"; then
22856 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22857 echo "${ECHO_T}$GTK_CONFIG" >&6
22858 else
22859 echo "$as_me:$LINENO: result: no" >&5
22860 echo "${ECHO_T}no" >&6
22861 fi
22862
22863 min_gtk_version=1.2.3
22864 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22865 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22866 no_gtk=""
22867 if test "$GTK_CONFIG" = "no" ; then
22868 no_gtk=yes
22869 else
22870 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
22871 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
22872 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
22873 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22874 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
22875 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22876 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
22877 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22878 if test "x$enable_gtktest" = "xyes" ; then
22879 ac_save_CFLAGS="$CFLAGS"
22880 ac_save_LIBS="$LIBS"
22881 CFLAGS="$CFLAGS $GTK_CFLAGS"
22882 LIBS="$GTK_LIBS $LIBS"
22883 rm -f conf.gtktest
22884 if test "$cross_compiling" = yes; then
22885 echo $ac_n "cross compiling; assumed OK... $ac_c"
22886 else
22887 cat >conftest.$ac_ext <<_ACEOF
22888 /* confdefs.h. */
22889 _ACEOF
22890 cat confdefs.h >>conftest.$ac_ext
22891 cat >>conftest.$ac_ext <<_ACEOF
22892 /* end confdefs.h. */
22893
22894 #include <gtk/gtk.h>
22895 #include <stdio.h>
22896 #include <stdlib.h>
22897
22898 int
22899 main ()
22900 {
22901 int major, minor, micro;
22902 char *tmp_version;
22903
22904 system ("touch conf.gtktest");
22905
22906 /* HP/UX 9 (%@#!) writes to sscanf strings */
22907 tmp_version = g_strdup("$min_gtk_version");
22908 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
22909 printf("%s, bad version string\n", "$min_gtk_version");
22910 exit(1);
22911 }
22912
22913 if ((gtk_major_version != $gtk_config_major_version) ||
22914 (gtk_minor_version != $gtk_config_minor_version) ||
22915 (gtk_micro_version != $gtk_config_micro_version))
22916 {
22917 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22918 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22919 gtk_major_version, gtk_minor_version, gtk_micro_version);
22920 printf ("*** was found! If gtk-config was correct, then it is best\n");
22921 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22922 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22923 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22924 printf("*** required on your system.\n");
22925 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
22926 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
22927 printf("*** before re-running configure\n");
22928 }
22929 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
22930 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22931 (gtk_minor_version != GTK_MINOR_VERSION) ||
22932 (gtk_micro_version != GTK_MICRO_VERSION))
22933 {
22934 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22935 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22936 printf("*** library (version %d.%d.%d)\n",
22937 gtk_major_version, gtk_minor_version, gtk_micro_version);
22938 }
22939 #endif /* defined (GTK_MAJOR_VERSION) ... */
22940 else
22941 {
22942 if ((gtk_major_version > major) ||
22943 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22944 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22945 {
22946 return 0;
22947 }
22948 else
22949 {
22950 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22951 gtk_major_version, gtk_minor_version, gtk_micro_version);
22952 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22953 major, minor, micro);
22954 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22955 printf("***\n");
22956 printf("*** If you have already installed a sufficiently new version, this error\n");
22957 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
22958 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22959 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
22960 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
22961 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22962 printf("*** so that the correct libraries are found at run-time))\n");
22963 }
22964 }
22965 return 1;
22966 }
22967
22968 _ACEOF
22969 rm -f conftest$ac_exeext
22970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22971 (eval $ac_link) 2>&5
22972 ac_status=$?
22973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22974 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22976 (eval $ac_try) 2>&5
22977 ac_status=$?
22978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22979 (exit $ac_status); }; }; then
22980 :
22981 else
22982 echo "$as_me: program exited with status $ac_status" >&5
22983 echo "$as_me: failed program was:" >&5
22984 sed 's/^/| /' conftest.$ac_ext >&5
22985
22986 ( exit $ac_status )
22987 no_gtk=yes
22988 fi
22989 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22990 fi
22991 CFLAGS="$ac_save_CFLAGS"
22992 LIBS="$ac_save_LIBS"
22993 fi
22994 fi
22995 if test "x$no_gtk" = x ; then
22996 echo "$as_me:$LINENO: result: yes" >&5
22997 echo "${ECHO_T}yes" >&6
22998 wx_cv_lib_gtk=1.2.3
22999 else
23000 echo "$as_me:$LINENO: result: no" >&5
23001 echo "${ECHO_T}no" >&6
23002 if test "$GTK_CONFIG" = "no" ; then
23003 echo "*** The gtk-config script installed by GTK could not be found"
23004 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23005 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23006 echo "*** full path to gtk-config."
23007 else
23008 if test -f conf.gtktest ; then
23009 :
23010 else
23011 echo "*** Could not run GTK test program, checking why..."
23012 CFLAGS="$CFLAGS $GTK_CFLAGS"
23013 LIBS="$LIBS $GTK_LIBS"
23014 cat >conftest.$ac_ext <<_ACEOF
23015 /* confdefs.h. */
23016 _ACEOF
23017 cat confdefs.h >>conftest.$ac_ext
23018 cat >>conftest.$ac_ext <<_ACEOF
23019 /* end confdefs.h. */
23020
23021 #include <gtk/gtk.h>
23022 #include <stdio.h>
23023
23024 int
23025 main ()
23026 {
23027 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23028 ;
23029 return 0;
23030 }
23031 _ACEOF
23032 rm -f conftest.$ac_objext conftest$ac_exeext
23033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23034 (eval $ac_link) 2>conftest.er1
23035 ac_status=$?
23036 grep -v '^ *+' conftest.er1 >conftest.err
23037 rm -f conftest.er1
23038 cat conftest.err >&5
23039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23040 (exit $ac_status); } &&
23041 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23043 (eval $ac_try) 2>&5
23044 ac_status=$?
23045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23046 (exit $ac_status); }; } &&
23047 { ac_try='test -s conftest$ac_exeext'
23048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23049 (eval $ac_try) 2>&5
23050 ac_status=$?
23051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23052 (exit $ac_status); }; }; then
23053 echo "*** The test program compiled, but did not run. This usually means"
23054 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23055 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23056 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23057 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23058 echo "*** is required on your system"
23059 echo "***"
23060 echo "*** If you have an old version installed, it is best to remove it, although"
23061 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23062 echo "***"
23063 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23064 echo "*** came with the system with the command"
23065 echo "***"
23066 echo "*** rpm --erase --nodeps gtk gtk-devel"
23067 else
23068 echo "$as_me: failed program was:" >&5
23069 sed 's/^/| /' conftest.$ac_ext >&5
23070
23071 echo "*** The test program failed to compile or link. See the file config.log for the"
23072 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23073 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23074 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23075 fi
23076 rm -f conftest.err conftest.$ac_objext \
23077 conftest$ac_exeext conftest.$ac_ext
23078 CFLAGS="$ac_save_CFLAGS"
23079 LIBS="$ac_save_LIBS"
23080 fi
23081 fi
23082 GTK_CFLAGS=""
23083 GTK_LIBS=""
23084 :
23085 fi
23086
23087
23088 rm -f conf.gtktest
23089
23090 fi
23091 fi
23092
23093 if test -z "$wx_cv_lib_gtk"; then
23094 wx_cv_lib_gtk=none
23095 else
23096 wx_cv_cflags_gtk=$GTK_CFLAGS
23097 wx_cv_libs_gtk=$GTK_LIBS
23098 fi
23099
23100
23101 fi
23102
23103
23104 if test "$gtk_version_cached" = 1; then
23105 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
23106 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
23107 fi
23108
23109 case "$wx_cv_lib_gtk" in
23110 2.0) WXGTK20=1
23111 TOOLKIT_VERSION=2
23112 ;;
23113 1.2.7) WXGTK127=1
23114 WXGTK12=1
23115 ;;
23116 1.2.3) WXGTK12=1
23117 ;;
23118 *) { { echo "$as_me:$LINENO: error:
23119 Please check that gtk-config is in path, the directory
23120 where GTK+ libraries are installed (returned by
23121 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23122 equivalent variable and GTK+ is version 1.2.3 or above.
23123 " >&5
23124 echo "$as_me: error:
23125 Please check that gtk-config is in path, the directory
23126 where GTK+ libraries are installed (returned by
23127 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23128 equivalent variable and GTK+ is version 1.2.3 or above.
23129 " >&2;}
23130 { (exit 1); exit 1; }; }
23131 ;;
23132 esac
23133
23134 if test "$WXGTK20" = 1; then
23135 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
23136
23137 succeeded=no
23138
23139 if test -z "$PKG_CONFIG"; then
23140 # Extract the first word of "pkg-config", so it can be a program name with args.
23141 set dummy pkg-config; ac_word=$2
23142 echo "$as_me:$LINENO: checking for $ac_word" >&5
23143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23144 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23145 echo $ECHO_N "(cached) $ECHO_C" >&6
23146 else
23147 case $PKG_CONFIG in
23148 [\\/]* | ?:[\\/]*)
23149 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23150 ;;
23151 *)
23152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23153 for as_dir in $PATH
23154 do
23155 IFS=$as_save_IFS
23156 test -z "$as_dir" && as_dir=.
23157 for ac_exec_ext in '' $ac_executable_extensions; do
23158 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23159 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23161 break 2
23162 fi
23163 done
23164 done
23165
23166 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23167 ;;
23168 esac
23169 fi
23170 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23171
23172 if test -n "$PKG_CONFIG"; then
23173 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23174 echo "${ECHO_T}$PKG_CONFIG" >&6
23175 else
23176 echo "$as_me:$LINENO: result: no" >&5
23177 echo "${ECHO_T}no" >&6
23178 fi
23179
23180 fi
23181
23182 if test "$PKG_CONFIG" = "no" ; then
23183 echo "*** The pkg-config script could not be found. Make sure it is"
23184 echo "*** in your path, or set the PKG_CONFIG environment variable"
23185 echo "*** to the full path to pkg-config."
23186 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23187 else
23188 PKG_CONFIG_MIN_VERSION=0.9.0
23189 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23190 echo "$as_me:$LINENO: checking for pangoft2" >&5
23191 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
23192
23193 if $PKG_CONFIG --exists "pangoft2" ; then
23194 echo "$as_me:$LINENO: result: yes" >&5
23195 echo "${ECHO_T}yes" >&6
23196 succeeded=yes
23197
23198 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
23199 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
23200 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
23201 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
23202 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
23203
23204 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
23205 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
23206 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
23207 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
23208 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
23209 else
23210 PANGOFT2_CFLAGS=""
23211 PANGOFT2_LIBS=""
23212 ## If we have a custom action on failure, don't print errors, but
23213 ## do set a variable so people can do so.
23214 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
23215
23216 fi
23217
23218
23219
23220 else
23221 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23222 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23223 fi
23224 fi
23225
23226 if test $succeeded = yes; then
23227
23228 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
23229 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
23230
23231 else
23232
23233 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
23234 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
23235 wxUSE_PRINTING_ARCHITECTURE="no"
23236
23237
23238 fi
23239
23240 fi
23241
23242 save_CFLAGS="$CFLAGS"
23243 save_LIBS="$LIBS"
23244 CFLAGS="$CFLAGS $GTK_CFLAGS"
23245 LIBS="$LIBS $GTK_LIBS"
23246
23247 for ac_func in pango_font_family_is_monospace
23248 do
23249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23250 echo "$as_me:$LINENO: checking for $ac_func" >&5
23251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23252 if eval "test \"\${$as_ac_var+set}\" = set"; then
23253 echo $ECHO_N "(cached) $ECHO_C" >&6
23254 else
23255 cat >conftest.$ac_ext <<_ACEOF
23256 /* confdefs.h. */
23257 _ACEOF
23258 cat confdefs.h >>conftest.$ac_ext
23259 cat >>conftest.$ac_ext <<_ACEOF
23260 /* end confdefs.h. */
23261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23263 #define $ac_func innocuous_$ac_func
23264
23265 /* System header to define __stub macros and hopefully few prototypes,
23266 which can conflict with char $ac_func (); below.
23267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23268 <limits.h> exists even on freestanding compilers. */
23269
23270 #ifdef __STDC__
23271 # include <limits.h>
23272 #else
23273 # include <assert.h>
23274 #endif
23275
23276 #undef $ac_func
23277
23278 /* Override any gcc2 internal prototype to avoid an error. */
23279 #ifdef __cplusplus
23280 extern "C"
23281 {
23282 #endif
23283 /* We use char because int might match the return type of a gcc2
23284 builtin and then its argument prototype would still apply. */
23285 char $ac_func ();
23286 /* The GNU C library defines this for functions which it implements
23287 to always fail with ENOSYS. Some functions are actually named
23288 something starting with __ and the normal name is an alias. */
23289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23290 choke me
23291 #else
23292 char (*f) () = $ac_func;
23293 #endif
23294 #ifdef __cplusplus
23295 }
23296 #endif
23297
23298 int
23299 main ()
23300 {
23301 return f != $ac_func;
23302 ;
23303 return 0;
23304 }
23305 _ACEOF
23306 rm -f conftest.$ac_objext conftest$ac_exeext
23307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23308 (eval $ac_link) 2>conftest.er1
23309 ac_status=$?
23310 grep -v '^ *+' conftest.er1 >conftest.err
23311 rm -f conftest.er1
23312 cat conftest.err >&5
23313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23314 (exit $ac_status); } &&
23315 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23317 (eval $ac_try) 2>&5
23318 ac_status=$?
23319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23320 (exit $ac_status); }; } &&
23321 { ac_try='test -s conftest$ac_exeext'
23322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23323 (eval $ac_try) 2>&5
23324 ac_status=$?
23325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23326 (exit $ac_status); }; }; then
23327 eval "$as_ac_var=yes"
23328 else
23329 echo "$as_me: failed program was:" >&5
23330 sed 's/^/| /' conftest.$ac_ext >&5
23331
23332 eval "$as_ac_var=no"
23333 fi
23334 rm -f conftest.err conftest.$ac_objext \
23335 conftest$ac_exeext conftest.$ac_ext
23336 fi
23337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23338 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23339 if test `eval echo '${'$as_ac_var'}'` = yes; then
23340 cat >>confdefs.h <<_ACEOF
23341 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23342 _ACEOF
23343
23344 fi
23345 done
23346
23347 CFLAGS="$save_CFLAGS"
23348 LIBS="$save_LIBS"
23349 else
23350 if test "$wxUSE_UNICODE" = "yes"; then
23351 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
23352 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
23353 wxUSE_UNICODE=no
23354 fi
23355 fi
23356
23357 if test "$USE_DARWIN" != 1; then
23358
23359 for ac_func in poll
23360 do
23361 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23362 echo "$as_me:$LINENO: checking for $ac_func" >&5
23363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23364 if eval "test \"\${$as_ac_var+set}\" = set"; then
23365 echo $ECHO_N "(cached) $ECHO_C" >&6
23366 else
23367 cat >conftest.$ac_ext <<_ACEOF
23368 /* confdefs.h. */
23369 _ACEOF
23370 cat confdefs.h >>conftest.$ac_ext
23371 cat >>conftest.$ac_ext <<_ACEOF
23372 /* end confdefs.h. */
23373 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23374 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23375 #define $ac_func innocuous_$ac_func
23376
23377 /* System header to define __stub macros and hopefully few prototypes,
23378 which can conflict with char $ac_func (); below.
23379 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23380 <limits.h> exists even on freestanding compilers. */
23381
23382 #ifdef __STDC__
23383 # include <limits.h>
23384 #else
23385 # include <assert.h>
23386 #endif
23387
23388 #undef $ac_func
23389
23390 /* Override any gcc2 internal prototype to avoid an error. */
23391 #ifdef __cplusplus
23392 extern "C"
23393 {
23394 #endif
23395 /* We use char because int might match the return type of a gcc2
23396 builtin and then its argument prototype would still apply. */
23397 char $ac_func ();
23398 /* The GNU C library defines this for functions which it implements
23399 to always fail with ENOSYS. Some functions are actually named
23400 something starting with __ and the normal name is an alias. */
23401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23402 choke me
23403 #else
23404 char (*f) () = $ac_func;
23405 #endif
23406 #ifdef __cplusplus
23407 }
23408 #endif
23409
23410 int
23411 main ()
23412 {
23413 return f != $ac_func;
23414 ;
23415 return 0;
23416 }
23417 _ACEOF
23418 rm -f conftest.$ac_objext conftest$ac_exeext
23419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23420 (eval $ac_link) 2>conftest.er1
23421 ac_status=$?
23422 grep -v '^ *+' conftest.er1 >conftest.err
23423 rm -f conftest.er1
23424 cat conftest.err >&5
23425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23426 (exit $ac_status); } &&
23427 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23429 (eval $ac_try) 2>&5
23430 ac_status=$?
23431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23432 (exit $ac_status); }; } &&
23433 { ac_try='test -s conftest$ac_exeext'
23434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23435 (eval $ac_try) 2>&5
23436 ac_status=$?
23437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23438 (exit $ac_status); }; }; then
23439 eval "$as_ac_var=yes"
23440 else
23441 echo "$as_me: failed program was:" >&5
23442 sed 's/^/| /' conftest.$ac_ext >&5
23443
23444 eval "$as_ac_var=no"
23445 fi
23446 rm -f conftest.err conftest.$ac_objext \
23447 conftest$ac_exeext conftest.$ac_ext
23448 fi
23449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23450 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23451 if test `eval echo '${'$as_ac_var'}'` = yes; then
23452 cat >>confdefs.h <<_ACEOF
23453 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23454 _ACEOF
23455
23456 fi
23457 done
23458
23459 fi
23460
23461 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
23462 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
23463
23464 AFMINSTALL=afminstall
23465 TOOLKIT=GTK
23466 GUIDIST=GTK_DIST
23467
23468 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
23469 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
23470 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
23471 echo $ECHO_N "(cached) $ECHO_C" >&6
23472 else
23473 ac_check_lib_save_LIBS=$LIBS
23474 LIBS="-lgdk $LIBS"
23475 cat >conftest.$ac_ext <<_ACEOF
23476 /* confdefs.h. */
23477 _ACEOF
23478 cat confdefs.h >>conftest.$ac_ext
23479 cat >>conftest.$ac_ext <<_ACEOF
23480 /* end confdefs.h. */
23481
23482 /* Override any gcc2 internal prototype to avoid an error. */
23483 #ifdef __cplusplus
23484 extern "C"
23485 #endif
23486 /* We use char because int might match the return type of a gcc2
23487 builtin and then its argument prototype would still apply. */
23488 char gdk_im_open ();
23489 int
23490 main ()
23491 {
23492 gdk_im_open ();
23493 ;
23494 return 0;
23495 }
23496 _ACEOF
23497 rm -f conftest.$ac_objext conftest$ac_exeext
23498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23499 (eval $ac_link) 2>conftest.er1
23500 ac_status=$?
23501 grep -v '^ *+' conftest.er1 >conftest.err
23502 rm -f conftest.er1
23503 cat conftest.err >&5
23504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23505 (exit $ac_status); } &&
23506 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23508 (eval $ac_try) 2>&5
23509 ac_status=$?
23510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23511 (exit $ac_status); }; } &&
23512 { ac_try='test -s conftest$ac_exeext'
23513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23514 (eval $ac_try) 2>&5
23515 ac_status=$?
23516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23517 (exit $ac_status); }; }; then
23518 ac_cv_lib_gdk_gdk_im_open=yes
23519 else
23520 echo "$as_me: failed program was:" >&5
23521 sed 's/^/| /' conftest.$ac_ext >&5
23522
23523 ac_cv_lib_gdk_gdk_im_open=no
23524 fi
23525 rm -f conftest.err conftest.$ac_objext \
23526 conftest$ac_exeext conftest.$ac_ext
23527 LIBS=$ac_check_lib_save_LIBS
23528 fi
23529 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
23530 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
23531 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
23532 cat >>confdefs.h <<\_ACEOF
23533 #define HAVE_XIM 1
23534 _ACEOF
23535
23536 fi
23537
23538
23539
23540 if test "$wxUSE_GPE" = "yes"; then
23541 echo "$as_me:$LINENO: checking for gpewidget library" >&5
23542 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
23543
23544 ac_find_libraries=
23545 for ac_dir in $SEARCH_LIB /usr/lib;
23546 do
23547 for ac_extension in a so sl dylib; do
23548 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
23549 ac_find_libraries=$ac_dir
23550 break 2
23551 fi
23552 done
23553 done
23554
23555 if test "$ac_find_libraries" != "" ; then
23556
23557 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
23558 result=$?
23559 if test $result = 0; then
23560 ac_path_to_link=""
23561 else
23562 ac_path_to_link=" -L$ac_find_libraries"
23563 fi
23564
23565 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
23566 WXGPE=1
23567 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23568 echo "${ECHO_T}found at $ac_find_libraries" >&6
23569 else
23570 echo "$as_me:$LINENO: result: not found" >&5
23571 echo "${ECHO_T}not found" >&6
23572 fi
23573
23574 fi
23575 fi
23576
23577 if test "$wxUSE_MGL" = 1; then
23578 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
23579 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
23580 if test "x$MGL_ROOT" = x ; then
23581 echo "$as_me:$LINENO: result: not found" >&5
23582 echo "${ECHO_T}not found" >&6
23583 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
23584 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
23585 { (exit 1); exit 1; }; }
23586 else
23587 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
23588 echo "${ECHO_T}$MGL_ROOT" >&6
23589 fi
23590
23591 echo "$as_me:$LINENO: checking for libmgl location" >&5
23592 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
23593 case "${host}" in
23594 *-*-linux* )
23595 if test "x$wxUSE_SHARED" = xyes ; then
23596 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
23597 else
23598 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
23599 fi
23600 ;;
23601 *-pc-msdosdjgpp )
23602 mgl_os_candidates="dos32/dj2"
23603 ;;
23604 *)
23605 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
23606 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
23607 { (exit 1); exit 1; }; }
23608 esac
23609
23610 mgl_lib_type=""
23611 mgl_os=""
23612
23613 for mgl_os_i in $mgl_os_candidates ; do
23614 if test "x$mgl_os" = x ; then
23615 if test "$wxUSE_DEBUG_FLAG" = yes ; then
23616 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
23617 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
23618 mgl_lib_type=debug
23619 mgl_os=$mgl_os_i
23620 fi
23621 fi
23622 if test "x$mgl_lib_type" = x ; then
23623 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
23624 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
23625 mgl_lib_type=release
23626 mgl_os=$mgl_os_i
23627 fi
23628 fi
23629 fi
23630 done
23631
23632 if test "x$mgl_os" = x ; then
23633 echo "$as_me:$LINENO: result: not found" >&5
23634 echo "${ECHO_T}not found" >&6
23635 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
23636 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
23637 { (exit 1); exit 1; }; }
23638 fi
23639 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
23640 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
23641
23642 wxUSE_UNIVERSAL="yes"
23643
23644 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
23645 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
23646
23647 AFMINSTALL=afminstall
23648 TOOLKIT=MGL
23649 GUIDIST=MGL_DIST
23650 fi
23651
23652 if test "$wxUSE_MICROWIN" = 1; then
23653 echo "$as_me:$LINENO: checking for MicroWindows" >&5
23654 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
23655 if test "x$MICROWINDOWS" = x ; then
23656 echo "$as_me:$LINENO: result: not found" >&5
23657 echo "${ECHO_T}not found" >&6
23658 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
23659 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
23660 { (exit 1); exit 1; }; }
23661 else
23662 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
23663 echo "${ECHO_T}$MICROWINDOWS" >&6
23664 fi
23665
23666 if test -f $MICROWINDOWS/lib/libmwin.a; then
23667 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
23668 echo "${ECHO_T}MicroWindows' libraries found." >&6
23669 else
23670 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
23671 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
23672 { (exit 1); exit 1; }; }
23673 fi
23674
23675 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
23676 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
23677
23678 wxUSE_UNIVERSAL="yes"
23679
23680 AFMINSTALL=afminstall
23681 TOOLKIT=MICROWIN
23682 GUIDIST=MICROWIN_DIST
23683
23684 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
23685 fi
23686
23687 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
23688
23689 if test "x$ac_path_x_has_been_run" != xyes; then
23690 echo "$as_me:$LINENO: checking for X" >&5
23691 echo $ECHO_N "checking for X... $ECHO_C" >&6
23692
23693 ac_path_x_has_been_run=yes
23694
23695 # Check whether --with-x or --without-x was given.
23696 if test "${with_x+set}" = set; then
23697 withval="$with_x"
23698
23699 fi;
23700 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
23701 if test "x$with_x" = xno; then
23702 # The user explicitly disabled X.
23703 have_x=disabled
23704 else
23705 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
23706 # Both variables are already set.
23707 have_x=yes
23708 else
23709 if test "${ac_cv_have_x+set}" = set; then
23710 echo $ECHO_N "(cached) $ECHO_C" >&6
23711 else
23712 # One or both of the vars are not set, and there is no cached value.
23713 ac_x_includes=no ac_x_libraries=no
23714 rm -fr conftest.dir
23715 if mkdir conftest.dir; then
23716 cd conftest.dir
23717 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
23718 cat >Imakefile <<'_ACEOF'
23719 acfindx:
23720 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
23721 _ACEOF
23722 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
23723 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
23724 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
23725 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
23726 for ac_extension in a so sl; do
23727 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
23728 test -f $ac_im_libdir/libX11.$ac_extension; then
23729 ac_im_usrlibdir=$ac_im_libdir; break
23730 fi
23731 done
23732 # Screen out bogus values from the imake configuration. They are
23733 # bogus both because they are the default anyway, and because
23734 # using them would break gcc on systems where it needs fixed includes.
23735 case $ac_im_incroot in
23736 /usr/include) ;;
23737 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
23738 esac
23739 case $ac_im_usrlibdir in
23740 /usr/lib | /lib) ;;
23741 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
23742 esac
23743 fi
23744 cd ..
23745 rm -fr conftest.dir
23746 fi
23747
23748 # Standard set of common directories for X headers.
23749 # Check X11 before X11Rn because it is often a symlink to the current release.
23750 ac_x_header_dirs='
23751 /usr/X11/include
23752 /usr/X11R6/include
23753 /usr/X11R5/include
23754 /usr/X11R4/include
23755
23756 /usr/include/X11
23757 /usr/include/X11R6
23758 /usr/include/X11R5
23759 /usr/include/X11R4
23760
23761 /usr/local/X11/include
23762 /usr/local/X11R6/include
23763 /usr/local/X11R5/include
23764 /usr/local/X11R4/include
23765
23766 /usr/local/include/X11
23767 /usr/local/include/X11R6
23768 /usr/local/include/X11R5
23769 /usr/local/include/X11R4
23770
23771 /usr/X386/include
23772 /usr/x386/include
23773 /usr/XFree86/include/X11
23774
23775 /usr/include
23776 /usr/local/include
23777 /usr/unsupported/include
23778 /usr/athena/include
23779 /usr/local/x11r5/include
23780 /usr/lpp/Xamples/include
23781
23782 /usr/openwin/include
23783 /usr/openwin/share/include'
23784
23785 if test "$ac_x_includes" = no; then
23786 # Guess where to find include files, by looking for a specified header file.
23787 # First, try using that file with no special directory specified.
23788 cat >conftest.$ac_ext <<_ACEOF
23789 /* confdefs.h. */
23790 _ACEOF
23791 cat confdefs.h >>conftest.$ac_ext
23792 cat >>conftest.$ac_ext <<_ACEOF
23793 /* end confdefs.h. */
23794 #include <X11/Intrinsic.h>
23795 _ACEOF
23796 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23797 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23798 ac_status=$?
23799 grep -v '^ *+' conftest.er1 >conftest.err
23800 rm -f conftest.er1
23801 cat conftest.err >&5
23802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23803 (exit $ac_status); } >/dev/null; then
23804 if test -s conftest.err; then
23805 ac_cpp_err=$ac_c_preproc_warn_flag
23806 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23807 else
23808 ac_cpp_err=
23809 fi
23810 else
23811 ac_cpp_err=yes
23812 fi
23813 if test -z "$ac_cpp_err"; then
23814 # We can compile using X headers with no special include directory.
23815 ac_x_includes=
23816 else
23817 echo "$as_me: failed program was:" >&5
23818 sed 's/^/| /' conftest.$ac_ext >&5
23819
23820 for ac_dir in $ac_x_header_dirs; do
23821 if test -r "$ac_dir/X11/Intrinsic.h"; then
23822 ac_x_includes=$ac_dir
23823 break
23824 fi
23825 done
23826 fi
23827 rm -f conftest.err conftest.$ac_ext
23828 fi # $ac_x_includes = no
23829
23830 if test "$ac_x_libraries" = no; then
23831 # Check for the libraries.
23832 # See if we find them without any special options.
23833 # Don't add to $LIBS permanently.
23834 ac_save_LIBS=$LIBS
23835 LIBS="-lXt $LIBS"
23836 cat >conftest.$ac_ext <<_ACEOF
23837 /* confdefs.h. */
23838 _ACEOF
23839 cat confdefs.h >>conftest.$ac_ext
23840 cat >>conftest.$ac_ext <<_ACEOF
23841 /* end confdefs.h. */
23842 #include <X11/Intrinsic.h>
23843 int
23844 main ()
23845 {
23846 XtMalloc (0)
23847 ;
23848 return 0;
23849 }
23850 _ACEOF
23851 rm -f conftest.$ac_objext conftest$ac_exeext
23852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23853 (eval $ac_link) 2>conftest.er1
23854 ac_status=$?
23855 grep -v '^ *+' conftest.er1 >conftest.err
23856 rm -f conftest.er1
23857 cat conftest.err >&5
23858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23859 (exit $ac_status); } &&
23860 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23862 (eval $ac_try) 2>&5
23863 ac_status=$?
23864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23865 (exit $ac_status); }; } &&
23866 { ac_try='test -s conftest$ac_exeext'
23867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23868 (eval $ac_try) 2>&5
23869 ac_status=$?
23870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23871 (exit $ac_status); }; }; then
23872 LIBS=$ac_save_LIBS
23873 # We can link X programs with no special library path.
23874 ac_x_libraries=
23875 else
23876 echo "$as_me: failed program was:" >&5
23877 sed 's/^/| /' conftest.$ac_ext >&5
23878
23879 LIBS=$ac_save_LIBS
23880 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
23881 do
23882 # Don't even attempt the hair of trying to link an X program!
23883 for ac_extension in a so sl; do
23884 if test -r $ac_dir/libXt.$ac_extension; then
23885 ac_x_libraries=$ac_dir
23886 break 2
23887 fi
23888 done
23889 done
23890 fi
23891 rm -f conftest.err conftest.$ac_objext \
23892 conftest$ac_exeext conftest.$ac_ext
23893 fi # $ac_x_libraries = no
23894
23895 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
23896 # Didn't find X anywhere. Cache the known absence of X.
23897 ac_cv_have_x="have_x=no"
23898 else
23899 # Record where we found X for the cache.
23900 ac_cv_have_x="have_x=yes \
23901 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
23902 fi
23903 fi
23904
23905 fi
23906 eval "$ac_cv_have_x"
23907 fi # $with_x != no
23908
23909 if test "$have_x" != yes; then
23910 echo "$as_me:$LINENO: result: $have_x" >&5
23911 echo "${ECHO_T}$have_x" >&6
23912 no_x=yes
23913 else
23914 # If each of the values was on the command line, it overrides each guess.
23915 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
23916 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
23917 # Update the cache value to reflect the command line values.
23918 ac_cv_have_x="have_x=yes \
23919 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
23920 # It might be that x_includes is empty (headers are found in the
23921 # standard search path. Then output the corresponding message
23922 ac_out_x_includes=$x_includes
23923 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
23924 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
23925 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
23926 fi
23927
23928 fi
23929 if test "$no_x" = yes; then
23930 # Not all programs may use this symbol, but it does not hurt to define it.
23931
23932 cat >>confdefs.h <<\_ACEOF
23933 #define X_DISPLAY_MISSING 1
23934 _ACEOF
23935
23936 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
23937 else
23938 if test -n "$x_includes"; then
23939 X_CFLAGS="$X_CFLAGS -I$x_includes"
23940 fi
23941
23942 # It would also be nice to do this for all -L options, not just this one.
23943 if test -n "$x_libraries"; then
23944 X_LIBS="$X_LIBS -L$x_libraries"
23945 # For Solaris; some versions of Sun CC require a space after -R and
23946 # others require no space. Words are not sufficient . . . .
23947 case `(uname -sr) 2>/dev/null` in
23948 "SunOS 5"*)
23949 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
23950 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
23951 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
23952 cat >conftest.$ac_ext <<_ACEOF
23953 /* confdefs.h. */
23954 _ACEOF
23955 cat confdefs.h >>conftest.$ac_ext
23956 cat >>conftest.$ac_ext <<_ACEOF
23957 /* end confdefs.h. */
23958
23959 int
23960 main ()
23961 {
23962
23963 ;
23964 return 0;
23965 }
23966 _ACEOF
23967 rm -f conftest.$ac_objext conftest$ac_exeext
23968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23969 (eval $ac_link) 2>conftest.er1
23970 ac_status=$?
23971 grep -v '^ *+' conftest.er1 >conftest.err
23972 rm -f conftest.er1
23973 cat conftest.err >&5
23974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23975 (exit $ac_status); } &&
23976 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23978 (eval $ac_try) 2>&5
23979 ac_status=$?
23980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23981 (exit $ac_status); }; } &&
23982 { ac_try='test -s conftest$ac_exeext'
23983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23984 (eval $ac_try) 2>&5
23985 ac_status=$?
23986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23987 (exit $ac_status); }; }; then
23988 ac_R_nospace=yes
23989 else
23990 echo "$as_me: failed program was:" >&5
23991 sed 's/^/| /' conftest.$ac_ext >&5
23992
23993 ac_R_nospace=no
23994 fi
23995 rm -f conftest.err conftest.$ac_objext \
23996 conftest$ac_exeext conftest.$ac_ext
23997 if test $ac_R_nospace = yes; then
23998 echo "$as_me:$LINENO: result: no" >&5
23999 echo "${ECHO_T}no" >&6
24000 X_LIBS="$X_LIBS -R$x_libraries"
24001 else
24002 LIBS="$ac_xsave_LIBS -R $x_libraries"
24003 cat >conftest.$ac_ext <<_ACEOF
24004 /* confdefs.h. */
24005 _ACEOF
24006 cat confdefs.h >>conftest.$ac_ext
24007 cat >>conftest.$ac_ext <<_ACEOF
24008 /* end confdefs.h. */
24009
24010 int
24011 main ()
24012 {
24013
24014 ;
24015 return 0;
24016 }
24017 _ACEOF
24018 rm -f conftest.$ac_objext conftest$ac_exeext
24019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24020 (eval $ac_link) 2>conftest.er1
24021 ac_status=$?
24022 grep -v '^ *+' conftest.er1 >conftest.err
24023 rm -f conftest.er1
24024 cat conftest.err >&5
24025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24026 (exit $ac_status); } &&
24027 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24029 (eval $ac_try) 2>&5
24030 ac_status=$?
24031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24032 (exit $ac_status); }; } &&
24033 { ac_try='test -s conftest$ac_exeext'
24034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24035 (eval $ac_try) 2>&5
24036 ac_status=$?
24037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24038 (exit $ac_status); }; }; then
24039 ac_R_space=yes
24040 else
24041 echo "$as_me: failed program was:" >&5
24042 sed 's/^/| /' conftest.$ac_ext >&5
24043
24044 ac_R_space=no
24045 fi
24046 rm -f conftest.err conftest.$ac_objext \
24047 conftest$ac_exeext conftest.$ac_ext
24048 if test $ac_R_space = yes; then
24049 echo "$as_me:$LINENO: result: yes" >&5
24050 echo "${ECHO_T}yes" >&6
24051 X_LIBS="$X_LIBS -R $x_libraries"
24052 else
24053 echo "$as_me:$LINENO: result: neither works" >&5
24054 echo "${ECHO_T}neither works" >&6
24055 fi
24056 fi
24057 LIBS=$ac_xsave_LIBS
24058 esac
24059 fi
24060
24061 # Check for system-dependent libraries X programs must link with.
24062 # Do this before checking for the system-independent R6 libraries
24063 # (-lICE), since we may need -lsocket or whatever for X linking.
24064
24065 if test "$ISC" = yes; then
24066 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
24067 else
24068 # Martyn Johnson says this is needed for Ultrix, if the X
24069 # libraries were built with DECnet support. And Karl Berry says
24070 # the Alpha needs dnet_stub (dnet does not exist).
24071 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
24072 cat >conftest.$ac_ext <<_ACEOF
24073 /* confdefs.h. */
24074 _ACEOF
24075 cat confdefs.h >>conftest.$ac_ext
24076 cat >>conftest.$ac_ext <<_ACEOF
24077 /* end confdefs.h. */
24078
24079 /* Override any gcc2 internal prototype to avoid an error. */
24080 #ifdef __cplusplus
24081 extern "C"
24082 #endif
24083 /* We use char because int might match the return type of a gcc2
24084 builtin and then its argument prototype would still apply. */
24085 char XOpenDisplay ();
24086 int
24087 main ()
24088 {
24089 XOpenDisplay ();
24090 ;
24091 return 0;
24092 }
24093 _ACEOF
24094 rm -f conftest.$ac_objext conftest$ac_exeext
24095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24096 (eval $ac_link) 2>conftest.er1
24097 ac_status=$?
24098 grep -v '^ *+' conftest.er1 >conftest.err
24099 rm -f conftest.er1
24100 cat conftest.err >&5
24101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24102 (exit $ac_status); } &&
24103 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24105 (eval $ac_try) 2>&5
24106 ac_status=$?
24107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24108 (exit $ac_status); }; } &&
24109 { ac_try='test -s conftest$ac_exeext'
24110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24111 (eval $ac_try) 2>&5
24112 ac_status=$?
24113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24114 (exit $ac_status); }; }; then
24115 :
24116 else
24117 echo "$as_me: failed program was:" >&5
24118 sed 's/^/| /' conftest.$ac_ext >&5
24119
24120 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
24121 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
24122 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
24123 echo $ECHO_N "(cached) $ECHO_C" >&6
24124 else
24125 ac_check_lib_save_LIBS=$LIBS
24126 LIBS="-ldnet $LIBS"
24127 cat >conftest.$ac_ext <<_ACEOF
24128 /* confdefs.h. */
24129 _ACEOF
24130 cat confdefs.h >>conftest.$ac_ext
24131 cat >>conftest.$ac_ext <<_ACEOF
24132 /* end confdefs.h. */
24133
24134 /* Override any gcc2 internal prototype to avoid an error. */
24135 #ifdef __cplusplus
24136 extern "C"
24137 #endif
24138 /* We use char because int might match the return type of a gcc2
24139 builtin and then its argument prototype would still apply. */
24140 char dnet_ntoa ();
24141 int
24142 main ()
24143 {
24144 dnet_ntoa ();
24145 ;
24146 return 0;
24147 }
24148 _ACEOF
24149 rm -f conftest.$ac_objext conftest$ac_exeext
24150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24151 (eval $ac_link) 2>conftest.er1
24152 ac_status=$?
24153 grep -v '^ *+' conftest.er1 >conftest.err
24154 rm -f conftest.er1
24155 cat conftest.err >&5
24156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24157 (exit $ac_status); } &&
24158 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24160 (eval $ac_try) 2>&5
24161 ac_status=$?
24162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24163 (exit $ac_status); }; } &&
24164 { ac_try='test -s conftest$ac_exeext'
24165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24166 (eval $ac_try) 2>&5
24167 ac_status=$?
24168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24169 (exit $ac_status); }; }; then
24170 ac_cv_lib_dnet_dnet_ntoa=yes
24171 else
24172 echo "$as_me: failed program was:" >&5
24173 sed 's/^/| /' conftest.$ac_ext >&5
24174
24175 ac_cv_lib_dnet_dnet_ntoa=no
24176 fi
24177 rm -f conftest.err conftest.$ac_objext \
24178 conftest$ac_exeext conftest.$ac_ext
24179 LIBS=$ac_check_lib_save_LIBS
24180 fi
24181 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24182 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
24183 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
24184 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
24185 fi
24186
24187 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
24188 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
24189 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
24190 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
24191 echo $ECHO_N "(cached) $ECHO_C" >&6
24192 else
24193 ac_check_lib_save_LIBS=$LIBS
24194 LIBS="-ldnet_stub $LIBS"
24195 cat >conftest.$ac_ext <<_ACEOF
24196 /* confdefs.h. */
24197 _ACEOF
24198 cat confdefs.h >>conftest.$ac_ext
24199 cat >>conftest.$ac_ext <<_ACEOF
24200 /* end confdefs.h. */
24201
24202 /* Override any gcc2 internal prototype to avoid an error. */
24203 #ifdef __cplusplus
24204 extern "C"
24205 #endif
24206 /* We use char because int might match the return type of a gcc2
24207 builtin and then its argument prototype would still apply. */
24208 char dnet_ntoa ();
24209 int
24210 main ()
24211 {
24212 dnet_ntoa ();
24213 ;
24214 return 0;
24215 }
24216 _ACEOF
24217 rm -f conftest.$ac_objext conftest$ac_exeext
24218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24219 (eval $ac_link) 2>conftest.er1
24220 ac_status=$?
24221 grep -v '^ *+' conftest.er1 >conftest.err
24222 rm -f conftest.er1
24223 cat conftest.err >&5
24224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24225 (exit $ac_status); } &&
24226 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24228 (eval $ac_try) 2>&5
24229 ac_status=$?
24230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24231 (exit $ac_status); }; } &&
24232 { ac_try='test -s conftest$ac_exeext'
24233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24234 (eval $ac_try) 2>&5
24235 ac_status=$?
24236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24237 (exit $ac_status); }; }; then
24238 ac_cv_lib_dnet_stub_dnet_ntoa=yes
24239 else
24240 echo "$as_me: failed program was:" >&5
24241 sed 's/^/| /' conftest.$ac_ext >&5
24242
24243 ac_cv_lib_dnet_stub_dnet_ntoa=no
24244 fi
24245 rm -f conftest.err conftest.$ac_objext \
24246 conftest$ac_exeext conftest.$ac_ext
24247 LIBS=$ac_check_lib_save_LIBS
24248 fi
24249 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24250 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
24251 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
24252 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
24253 fi
24254
24255 fi
24256 fi
24257 rm -f conftest.err conftest.$ac_objext \
24258 conftest$ac_exeext conftest.$ac_ext
24259 LIBS="$ac_xsave_LIBS"
24260
24261 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24262 # to get the SysV transport functions.
24263 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24264 # needs -lnsl.
24265 # The nsl library prevents programs from opening the X display
24266 # on Irix 5.2, according to T.E. Dickey.
24267 # The functions gethostbyname, getservbyname, and inet_addr are
24268 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24269 echo "$as_me:$LINENO: checking for gethostbyname" >&5
24270 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
24271 if test "${ac_cv_func_gethostbyname+set}" = set; then
24272 echo $ECHO_N "(cached) $ECHO_C" >&6
24273 else
24274 cat >conftest.$ac_ext <<_ACEOF
24275 /* confdefs.h. */
24276 _ACEOF
24277 cat confdefs.h >>conftest.$ac_ext
24278 cat >>conftest.$ac_ext <<_ACEOF
24279 /* end confdefs.h. */
24280 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
24281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24282 #define gethostbyname innocuous_gethostbyname
24283
24284 /* System header to define __stub macros and hopefully few prototypes,
24285 which can conflict with char gethostbyname (); below.
24286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24287 <limits.h> exists even on freestanding compilers. */
24288
24289 #ifdef __STDC__
24290 # include <limits.h>
24291 #else
24292 # include <assert.h>
24293 #endif
24294
24295 #undef gethostbyname
24296
24297 /* Override any gcc2 internal prototype to avoid an error. */
24298 #ifdef __cplusplus
24299 extern "C"
24300 {
24301 #endif
24302 /* We use char because int might match the return type of a gcc2
24303 builtin and then its argument prototype would still apply. */
24304 char gethostbyname ();
24305 /* The GNU C library defines this for functions which it implements
24306 to always fail with ENOSYS. Some functions are actually named
24307 something starting with __ and the normal name is an alias. */
24308 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
24309 choke me
24310 #else
24311 char (*f) () = gethostbyname;
24312 #endif
24313 #ifdef __cplusplus
24314 }
24315 #endif
24316
24317 int
24318 main ()
24319 {
24320 return f != gethostbyname;
24321 ;
24322 return 0;
24323 }
24324 _ACEOF
24325 rm -f conftest.$ac_objext conftest$ac_exeext
24326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24327 (eval $ac_link) 2>conftest.er1
24328 ac_status=$?
24329 grep -v '^ *+' conftest.er1 >conftest.err
24330 rm -f conftest.er1
24331 cat conftest.err >&5
24332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24333 (exit $ac_status); } &&
24334 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24336 (eval $ac_try) 2>&5
24337 ac_status=$?
24338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24339 (exit $ac_status); }; } &&
24340 { ac_try='test -s conftest$ac_exeext'
24341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24342 (eval $ac_try) 2>&5
24343 ac_status=$?
24344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24345 (exit $ac_status); }; }; then
24346 ac_cv_func_gethostbyname=yes
24347 else
24348 echo "$as_me: failed program was:" >&5
24349 sed 's/^/| /' conftest.$ac_ext >&5
24350
24351 ac_cv_func_gethostbyname=no
24352 fi
24353 rm -f conftest.err conftest.$ac_objext \
24354 conftest$ac_exeext conftest.$ac_ext
24355 fi
24356 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24357 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
24358
24359 if test $ac_cv_func_gethostbyname = no; then
24360 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
24361 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
24362 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
24363 echo $ECHO_N "(cached) $ECHO_C" >&6
24364 else
24365 ac_check_lib_save_LIBS=$LIBS
24366 LIBS="-lnsl $LIBS"
24367 cat >conftest.$ac_ext <<_ACEOF
24368 /* confdefs.h. */
24369 _ACEOF
24370 cat confdefs.h >>conftest.$ac_ext
24371 cat >>conftest.$ac_ext <<_ACEOF
24372 /* end confdefs.h. */
24373
24374 /* Override any gcc2 internal prototype to avoid an error. */
24375 #ifdef __cplusplus
24376 extern "C"
24377 #endif
24378 /* We use char because int might match the return type of a gcc2
24379 builtin and then its argument prototype would still apply. */
24380 char gethostbyname ();
24381 int
24382 main ()
24383 {
24384 gethostbyname ();
24385 ;
24386 return 0;
24387 }
24388 _ACEOF
24389 rm -f conftest.$ac_objext conftest$ac_exeext
24390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24391 (eval $ac_link) 2>conftest.er1
24392 ac_status=$?
24393 grep -v '^ *+' conftest.er1 >conftest.err
24394 rm -f conftest.er1
24395 cat conftest.err >&5
24396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24397 (exit $ac_status); } &&
24398 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24400 (eval $ac_try) 2>&5
24401 ac_status=$?
24402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24403 (exit $ac_status); }; } &&
24404 { ac_try='test -s conftest$ac_exeext'
24405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24406 (eval $ac_try) 2>&5
24407 ac_status=$?
24408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24409 (exit $ac_status); }; }; then
24410 ac_cv_lib_nsl_gethostbyname=yes
24411 else
24412 echo "$as_me: failed program was:" >&5
24413 sed 's/^/| /' conftest.$ac_ext >&5
24414
24415 ac_cv_lib_nsl_gethostbyname=no
24416 fi
24417 rm -f conftest.err conftest.$ac_objext \
24418 conftest$ac_exeext conftest.$ac_ext
24419 LIBS=$ac_check_lib_save_LIBS
24420 fi
24421 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
24422 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
24423 if test $ac_cv_lib_nsl_gethostbyname = yes; then
24424 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
24425 fi
24426
24427 if test $ac_cv_lib_nsl_gethostbyname = no; then
24428 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
24429 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
24430 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
24431 echo $ECHO_N "(cached) $ECHO_C" >&6
24432 else
24433 ac_check_lib_save_LIBS=$LIBS
24434 LIBS="-lbsd $LIBS"
24435 cat >conftest.$ac_ext <<_ACEOF
24436 /* confdefs.h. */
24437 _ACEOF
24438 cat confdefs.h >>conftest.$ac_ext
24439 cat >>conftest.$ac_ext <<_ACEOF
24440 /* end confdefs.h. */
24441
24442 /* Override any gcc2 internal prototype to avoid an error. */
24443 #ifdef __cplusplus
24444 extern "C"
24445 #endif
24446 /* We use char because int might match the return type of a gcc2
24447 builtin and then its argument prototype would still apply. */
24448 char gethostbyname ();
24449 int
24450 main ()
24451 {
24452 gethostbyname ();
24453 ;
24454 return 0;
24455 }
24456 _ACEOF
24457 rm -f conftest.$ac_objext conftest$ac_exeext
24458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24459 (eval $ac_link) 2>conftest.er1
24460 ac_status=$?
24461 grep -v '^ *+' conftest.er1 >conftest.err
24462 rm -f conftest.er1
24463 cat conftest.err >&5
24464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24465 (exit $ac_status); } &&
24466 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24468 (eval $ac_try) 2>&5
24469 ac_status=$?
24470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24471 (exit $ac_status); }; } &&
24472 { ac_try='test -s conftest$ac_exeext'
24473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24474 (eval $ac_try) 2>&5
24475 ac_status=$?
24476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24477 (exit $ac_status); }; }; then
24478 ac_cv_lib_bsd_gethostbyname=yes
24479 else
24480 echo "$as_me: failed program was:" >&5
24481 sed 's/^/| /' conftest.$ac_ext >&5
24482
24483 ac_cv_lib_bsd_gethostbyname=no
24484 fi
24485 rm -f conftest.err conftest.$ac_objext \
24486 conftest$ac_exeext conftest.$ac_ext
24487 LIBS=$ac_check_lib_save_LIBS
24488 fi
24489 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24490 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
24491 if test $ac_cv_lib_bsd_gethostbyname = yes; then
24492 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
24493 fi
24494
24495 fi
24496 fi
24497
24498 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24499 # socket/setsockopt and other routines are undefined under SCO ODT
24500 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24501 # on later versions), says Simon Leinen: it contains gethostby*
24502 # variants that don't use the name server (or something). -lsocket
24503 # must be given before -lnsl if both are needed. We assume that
24504 # if connect needs -lnsl, so does gethostbyname.
24505 echo "$as_me:$LINENO: checking for connect" >&5
24506 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24507 if test "${ac_cv_func_connect+set}" = set; then
24508 echo $ECHO_N "(cached) $ECHO_C" >&6
24509 else
24510 cat >conftest.$ac_ext <<_ACEOF
24511 /* confdefs.h. */
24512 _ACEOF
24513 cat confdefs.h >>conftest.$ac_ext
24514 cat >>conftest.$ac_ext <<_ACEOF
24515 /* end confdefs.h. */
24516 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
24517 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24518 #define connect innocuous_connect
24519
24520 /* System header to define __stub macros and hopefully few prototypes,
24521 which can conflict with char connect (); below.
24522 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24523 <limits.h> exists even on freestanding compilers. */
24524
24525 #ifdef __STDC__
24526 # include <limits.h>
24527 #else
24528 # include <assert.h>
24529 #endif
24530
24531 #undef connect
24532
24533 /* Override any gcc2 internal prototype to avoid an error. */
24534 #ifdef __cplusplus
24535 extern "C"
24536 {
24537 #endif
24538 /* We use char because int might match the return type of a gcc2
24539 builtin and then its argument prototype would still apply. */
24540 char connect ();
24541 /* The GNU C library defines this for functions which it implements
24542 to always fail with ENOSYS. Some functions are actually named
24543 something starting with __ and the normal name is an alias. */
24544 #if defined (__stub_connect) || defined (__stub___connect)
24545 choke me
24546 #else
24547 char (*f) () = connect;
24548 #endif
24549 #ifdef __cplusplus
24550 }
24551 #endif
24552
24553 int
24554 main ()
24555 {
24556 return f != connect;
24557 ;
24558 return 0;
24559 }
24560 _ACEOF
24561 rm -f conftest.$ac_objext conftest$ac_exeext
24562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24563 (eval $ac_link) 2>conftest.er1
24564 ac_status=$?
24565 grep -v '^ *+' conftest.er1 >conftest.err
24566 rm -f conftest.er1
24567 cat conftest.err >&5
24568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24569 (exit $ac_status); } &&
24570 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24572 (eval $ac_try) 2>&5
24573 ac_status=$?
24574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24575 (exit $ac_status); }; } &&
24576 { ac_try='test -s conftest$ac_exeext'
24577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24578 (eval $ac_try) 2>&5
24579 ac_status=$?
24580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24581 (exit $ac_status); }; }; then
24582 ac_cv_func_connect=yes
24583 else
24584 echo "$as_me: failed program was:" >&5
24585 sed 's/^/| /' conftest.$ac_ext >&5
24586
24587 ac_cv_func_connect=no
24588 fi
24589 rm -f conftest.err conftest.$ac_objext \
24590 conftest$ac_exeext conftest.$ac_ext
24591 fi
24592 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24593 echo "${ECHO_T}$ac_cv_func_connect" >&6
24594
24595 if test $ac_cv_func_connect = no; then
24596 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24597 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
24598 if test "${ac_cv_lib_socket_connect+set}" = set; then
24599 echo $ECHO_N "(cached) $ECHO_C" >&6
24600 else
24601 ac_check_lib_save_LIBS=$LIBS
24602 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
24603 cat >conftest.$ac_ext <<_ACEOF
24604 /* confdefs.h. */
24605 _ACEOF
24606 cat confdefs.h >>conftest.$ac_ext
24607 cat >>conftest.$ac_ext <<_ACEOF
24608 /* end confdefs.h. */
24609
24610 /* Override any gcc2 internal prototype to avoid an error. */
24611 #ifdef __cplusplus
24612 extern "C"
24613 #endif
24614 /* We use char because int might match the return type of a gcc2
24615 builtin and then its argument prototype would still apply. */
24616 char connect ();
24617 int
24618 main ()
24619 {
24620 connect ();
24621 ;
24622 return 0;
24623 }
24624 _ACEOF
24625 rm -f conftest.$ac_objext conftest$ac_exeext
24626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24627 (eval $ac_link) 2>conftest.er1
24628 ac_status=$?
24629 grep -v '^ *+' conftest.er1 >conftest.err
24630 rm -f conftest.er1
24631 cat conftest.err >&5
24632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24633 (exit $ac_status); } &&
24634 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24636 (eval $ac_try) 2>&5
24637 ac_status=$?
24638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24639 (exit $ac_status); }; } &&
24640 { ac_try='test -s conftest$ac_exeext'
24641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24642 (eval $ac_try) 2>&5
24643 ac_status=$?
24644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24645 (exit $ac_status); }; }; then
24646 ac_cv_lib_socket_connect=yes
24647 else
24648 echo "$as_me: failed program was:" >&5
24649 sed 's/^/| /' conftest.$ac_ext >&5
24650
24651 ac_cv_lib_socket_connect=no
24652 fi
24653 rm -f conftest.err conftest.$ac_objext \
24654 conftest$ac_exeext conftest.$ac_ext
24655 LIBS=$ac_check_lib_save_LIBS
24656 fi
24657 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24658 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
24659 if test $ac_cv_lib_socket_connect = yes; then
24660 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
24661 fi
24662
24663 fi
24664
24665 # Guillermo Gomez says -lposix is necessary on A/UX.
24666 echo "$as_me:$LINENO: checking for remove" >&5
24667 echo $ECHO_N "checking for remove... $ECHO_C" >&6
24668 if test "${ac_cv_func_remove+set}" = set; then
24669 echo $ECHO_N "(cached) $ECHO_C" >&6
24670 else
24671 cat >conftest.$ac_ext <<_ACEOF
24672 /* confdefs.h. */
24673 _ACEOF
24674 cat confdefs.h >>conftest.$ac_ext
24675 cat >>conftest.$ac_ext <<_ACEOF
24676 /* end confdefs.h. */
24677 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
24678 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24679 #define remove innocuous_remove
24680
24681 /* System header to define __stub macros and hopefully few prototypes,
24682 which can conflict with char remove (); below.
24683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24684 <limits.h> exists even on freestanding compilers. */
24685
24686 #ifdef __STDC__
24687 # include <limits.h>
24688 #else
24689 # include <assert.h>
24690 #endif
24691
24692 #undef remove
24693
24694 /* Override any gcc2 internal prototype to avoid an error. */
24695 #ifdef __cplusplus
24696 extern "C"
24697 {
24698 #endif
24699 /* We use char because int might match the return type of a gcc2
24700 builtin and then its argument prototype would still apply. */
24701 char remove ();
24702 /* The GNU C library defines this for functions which it implements
24703 to always fail with ENOSYS. Some functions are actually named
24704 something starting with __ and the normal name is an alias. */
24705 #if defined (__stub_remove) || defined (__stub___remove)
24706 choke me
24707 #else
24708 char (*f) () = remove;
24709 #endif
24710 #ifdef __cplusplus
24711 }
24712 #endif
24713
24714 int
24715 main ()
24716 {
24717 return f != remove;
24718 ;
24719 return 0;
24720 }
24721 _ACEOF
24722 rm -f conftest.$ac_objext conftest$ac_exeext
24723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24724 (eval $ac_link) 2>conftest.er1
24725 ac_status=$?
24726 grep -v '^ *+' conftest.er1 >conftest.err
24727 rm -f conftest.er1
24728 cat conftest.err >&5
24729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24730 (exit $ac_status); } &&
24731 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24733 (eval $ac_try) 2>&5
24734 ac_status=$?
24735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24736 (exit $ac_status); }; } &&
24737 { ac_try='test -s conftest$ac_exeext'
24738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24739 (eval $ac_try) 2>&5
24740 ac_status=$?
24741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24742 (exit $ac_status); }; }; then
24743 ac_cv_func_remove=yes
24744 else
24745 echo "$as_me: failed program was:" >&5
24746 sed 's/^/| /' conftest.$ac_ext >&5
24747
24748 ac_cv_func_remove=no
24749 fi
24750 rm -f conftest.err conftest.$ac_objext \
24751 conftest$ac_exeext conftest.$ac_ext
24752 fi
24753 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
24754 echo "${ECHO_T}$ac_cv_func_remove" >&6
24755
24756 if test $ac_cv_func_remove = no; then
24757 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
24758 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
24759 if test "${ac_cv_lib_posix_remove+set}" = set; then
24760 echo $ECHO_N "(cached) $ECHO_C" >&6
24761 else
24762 ac_check_lib_save_LIBS=$LIBS
24763 LIBS="-lposix $LIBS"
24764 cat >conftest.$ac_ext <<_ACEOF
24765 /* confdefs.h. */
24766 _ACEOF
24767 cat confdefs.h >>conftest.$ac_ext
24768 cat >>conftest.$ac_ext <<_ACEOF
24769 /* end confdefs.h. */
24770
24771 /* Override any gcc2 internal prototype to avoid an error. */
24772 #ifdef __cplusplus
24773 extern "C"
24774 #endif
24775 /* We use char because int might match the return type of a gcc2
24776 builtin and then its argument prototype would still apply. */
24777 char remove ();
24778 int
24779 main ()
24780 {
24781 remove ();
24782 ;
24783 return 0;
24784 }
24785 _ACEOF
24786 rm -f conftest.$ac_objext conftest$ac_exeext
24787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24788 (eval $ac_link) 2>conftest.er1
24789 ac_status=$?
24790 grep -v '^ *+' conftest.er1 >conftest.err
24791 rm -f conftest.er1
24792 cat conftest.err >&5
24793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24794 (exit $ac_status); } &&
24795 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24797 (eval $ac_try) 2>&5
24798 ac_status=$?
24799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24800 (exit $ac_status); }; } &&
24801 { ac_try='test -s conftest$ac_exeext'
24802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24803 (eval $ac_try) 2>&5
24804 ac_status=$?
24805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24806 (exit $ac_status); }; }; then
24807 ac_cv_lib_posix_remove=yes
24808 else
24809 echo "$as_me: failed program was:" >&5
24810 sed 's/^/| /' conftest.$ac_ext >&5
24811
24812 ac_cv_lib_posix_remove=no
24813 fi
24814 rm -f conftest.err conftest.$ac_objext \
24815 conftest$ac_exeext conftest.$ac_ext
24816 LIBS=$ac_check_lib_save_LIBS
24817 fi
24818 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
24819 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
24820 if test $ac_cv_lib_posix_remove = yes; then
24821 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
24822 fi
24823
24824 fi
24825
24826 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
24827 echo "$as_me:$LINENO: checking for shmat" >&5
24828 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
24829 if test "${ac_cv_func_shmat+set}" = set; then
24830 echo $ECHO_N "(cached) $ECHO_C" >&6
24831 else
24832 cat >conftest.$ac_ext <<_ACEOF
24833 /* confdefs.h. */
24834 _ACEOF
24835 cat confdefs.h >>conftest.$ac_ext
24836 cat >>conftest.$ac_ext <<_ACEOF
24837 /* end confdefs.h. */
24838 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
24839 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24840 #define shmat innocuous_shmat
24841
24842 /* System header to define __stub macros and hopefully few prototypes,
24843 which can conflict with char shmat (); below.
24844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24845 <limits.h> exists even on freestanding compilers. */
24846
24847 #ifdef __STDC__
24848 # include <limits.h>
24849 #else
24850 # include <assert.h>
24851 #endif
24852
24853 #undef shmat
24854
24855 /* Override any gcc2 internal prototype to avoid an error. */
24856 #ifdef __cplusplus
24857 extern "C"
24858 {
24859 #endif
24860 /* We use char because int might match the return type of a gcc2
24861 builtin and then its argument prototype would still apply. */
24862 char shmat ();
24863 /* The GNU C library defines this for functions which it implements
24864 to always fail with ENOSYS. Some functions are actually named
24865 something starting with __ and the normal name is an alias. */
24866 #if defined (__stub_shmat) || defined (__stub___shmat)
24867 choke me
24868 #else
24869 char (*f) () = shmat;
24870 #endif
24871 #ifdef __cplusplus
24872 }
24873 #endif
24874
24875 int
24876 main ()
24877 {
24878 return f != shmat;
24879 ;
24880 return 0;
24881 }
24882 _ACEOF
24883 rm -f conftest.$ac_objext conftest$ac_exeext
24884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24885 (eval $ac_link) 2>conftest.er1
24886 ac_status=$?
24887 grep -v '^ *+' conftest.er1 >conftest.err
24888 rm -f conftest.er1
24889 cat conftest.err >&5
24890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24891 (exit $ac_status); } &&
24892 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24894 (eval $ac_try) 2>&5
24895 ac_status=$?
24896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24897 (exit $ac_status); }; } &&
24898 { ac_try='test -s conftest$ac_exeext'
24899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24900 (eval $ac_try) 2>&5
24901 ac_status=$?
24902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24903 (exit $ac_status); }; }; then
24904 ac_cv_func_shmat=yes
24905 else
24906 echo "$as_me: failed program was:" >&5
24907 sed 's/^/| /' conftest.$ac_ext >&5
24908
24909 ac_cv_func_shmat=no
24910 fi
24911 rm -f conftest.err conftest.$ac_objext \
24912 conftest$ac_exeext conftest.$ac_ext
24913 fi
24914 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
24915 echo "${ECHO_T}$ac_cv_func_shmat" >&6
24916
24917 if test $ac_cv_func_shmat = no; then
24918 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
24919 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
24920 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
24921 echo $ECHO_N "(cached) $ECHO_C" >&6
24922 else
24923 ac_check_lib_save_LIBS=$LIBS
24924 LIBS="-lipc $LIBS"
24925 cat >conftest.$ac_ext <<_ACEOF
24926 /* confdefs.h. */
24927 _ACEOF
24928 cat confdefs.h >>conftest.$ac_ext
24929 cat >>conftest.$ac_ext <<_ACEOF
24930 /* end confdefs.h. */
24931
24932 /* Override any gcc2 internal prototype to avoid an error. */
24933 #ifdef __cplusplus
24934 extern "C"
24935 #endif
24936 /* We use char because int might match the return type of a gcc2
24937 builtin and then its argument prototype would still apply. */
24938 char shmat ();
24939 int
24940 main ()
24941 {
24942 shmat ();
24943 ;
24944 return 0;
24945 }
24946 _ACEOF
24947 rm -f conftest.$ac_objext conftest$ac_exeext
24948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24949 (eval $ac_link) 2>conftest.er1
24950 ac_status=$?
24951 grep -v '^ *+' conftest.er1 >conftest.err
24952 rm -f conftest.er1
24953 cat conftest.err >&5
24954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24955 (exit $ac_status); } &&
24956 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24958 (eval $ac_try) 2>&5
24959 ac_status=$?
24960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24961 (exit $ac_status); }; } &&
24962 { ac_try='test -s conftest$ac_exeext'
24963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24964 (eval $ac_try) 2>&5
24965 ac_status=$?
24966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24967 (exit $ac_status); }; }; then
24968 ac_cv_lib_ipc_shmat=yes
24969 else
24970 echo "$as_me: failed program was:" >&5
24971 sed 's/^/| /' conftest.$ac_ext >&5
24972
24973 ac_cv_lib_ipc_shmat=no
24974 fi
24975 rm -f conftest.err conftest.$ac_objext \
24976 conftest$ac_exeext conftest.$ac_ext
24977 LIBS=$ac_check_lib_save_LIBS
24978 fi
24979 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
24980 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
24981 if test $ac_cv_lib_ipc_shmat = yes; then
24982 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
24983 fi
24984
24985 fi
24986 fi
24987
24988 # Check for libraries that X11R6 Xt/Xaw programs need.
24989 ac_save_LDFLAGS=$LDFLAGS
24990 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
24991 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
24992 # check for ICE first), but we must link in the order -lSM -lICE or
24993 # we get undefined symbols. So assume we have SM if we have ICE.
24994 # These have to be linked with before -lX11, unlike the other
24995 # libraries we check for below, so use a different variable.
24996 # John Interrante, Karl Berry
24997 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
24998 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
24999 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25000 echo $ECHO_N "(cached) $ECHO_C" >&6
25001 else
25002 ac_check_lib_save_LIBS=$LIBS
25003 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25004 cat >conftest.$ac_ext <<_ACEOF
25005 /* confdefs.h. */
25006 _ACEOF
25007 cat confdefs.h >>conftest.$ac_ext
25008 cat >>conftest.$ac_ext <<_ACEOF
25009 /* end confdefs.h. */
25010
25011 /* Override any gcc2 internal prototype to avoid an error. */
25012 #ifdef __cplusplus
25013 extern "C"
25014 #endif
25015 /* We use char because int might match the return type of a gcc2
25016 builtin and then its argument prototype would still apply. */
25017 char IceConnectionNumber ();
25018 int
25019 main ()
25020 {
25021 IceConnectionNumber ();
25022 ;
25023 return 0;
25024 }
25025 _ACEOF
25026 rm -f conftest.$ac_objext conftest$ac_exeext
25027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25028 (eval $ac_link) 2>conftest.er1
25029 ac_status=$?
25030 grep -v '^ *+' conftest.er1 >conftest.err
25031 rm -f conftest.er1
25032 cat conftest.err >&5
25033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25034 (exit $ac_status); } &&
25035 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25037 (eval $ac_try) 2>&5
25038 ac_status=$?
25039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25040 (exit $ac_status); }; } &&
25041 { ac_try='test -s conftest$ac_exeext'
25042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25043 (eval $ac_try) 2>&5
25044 ac_status=$?
25045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25046 (exit $ac_status); }; }; then
25047 ac_cv_lib_ICE_IceConnectionNumber=yes
25048 else
25049 echo "$as_me: failed program was:" >&5
25050 sed 's/^/| /' conftest.$ac_ext >&5
25051
25052 ac_cv_lib_ICE_IceConnectionNumber=no
25053 fi
25054 rm -f conftest.err conftest.$ac_objext \
25055 conftest$ac_exeext conftest.$ac_ext
25056 LIBS=$ac_check_lib_save_LIBS
25057 fi
25058 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25059 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
25060 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
25061 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25062 fi
25063
25064 LDFLAGS=$ac_save_LDFLAGS
25065
25066 fi
25067
25068
25069 if test "$no_x" = "yes"; then
25070 { { echo "$as_me:$LINENO: error: X11 not found" >&5
25071 echo "$as_me: error: X11 not found" >&2;}
25072 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
25073 fi
25074
25075 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25076 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
25077 AFMINSTALL=afminstall
25078 COMPILED_X_PROGRAM=0
25079
25080 fi
25081
25082 if test "$wxUSE_X11" = 1; then
25083 if test "$wxUSE_NANOX" = "yes"; then
25084 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
25085 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
25086 if test "x$MICROWIN" = x ; then
25087 echo "$as_me:$LINENO: result: not found" >&5
25088 echo "${ECHO_T}not found" >&6
25089 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
25090 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
25091 { (exit 1); exit 1; }; }
25092 else
25093 echo "$as_me:$LINENO: result: $MICROWIN" >&5
25094 echo "${ECHO_T}$MICROWIN" >&6
25095 cat >>confdefs.h <<\_ACEOF
25096 #define wxUSE_NANOX 1
25097 _ACEOF
25098
25099 fi
25100 fi
25101
25102 if test "$wxUSE_UNICODE" = "yes"; then
25103
25104 succeeded=no
25105
25106 if test -z "$PKG_CONFIG"; then
25107 # Extract the first word of "pkg-config", so it can be a program name with args.
25108 set dummy pkg-config; ac_word=$2
25109 echo "$as_me:$LINENO: checking for $ac_word" >&5
25110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25111 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25112 echo $ECHO_N "(cached) $ECHO_C" >&6
25113 else
25114 case $PKG_CONFIG in
25115 [\\/]* | ?:[\\/]*)
25116 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25117 ;;
25118 *)
25119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25120 for as_dir in $PATH
25121 do
25122 IFS=$as_save_IFS
25123 test -z "$as_dir" && as_dir=.
25124 for ac_exec_ext in '' $ac_executable_extensions; do
25125 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25126 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25128 break 2
25129 fi
25130 done
25131 done
25132
25133 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
25134 ;;
25135 esac
25136 fi
25137 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25138
25139 if test -n "$PKG_CONFIG"; then
25140 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25141 echo "${ECHO_T}$PKG_CONFIG" >&6
25142 else
25143 echo "$as_me:$LINENO: result: no" >&5
25144 echo "${ECHO_T}no" >&6
25145 fi
25146
25147 fi
25148
25149 if test "$PKG_CONFIG" = "no" ; then
25150 echo "*** The pkg-config script could not be found. Make sure it is"
25151 echo "*** in your path, or set the PKG_CONFIG environment variable"
25152 echo "*** to the full path to pkg-config."
25153 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25154 else
25155 PKG_CONFIG_MIN_VERSION=0.9.0
25156 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25157 echo "$as_me:$LINENO: checking for pangox" >&5
25158 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
25159
25160 if $PKG_CONFIG --exists "pangox" ; then
25161 echo "$as_me:$LINENO: result: yes" >&5
25162 echo "${ECHO_T}yes" >&6
25163 succeeded=yes
25164
25165 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
25166 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
25167 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
25168 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
25169 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
25170
25171 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
25172 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
25173 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
25174 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
25175 echo "${ECHO_T}$PANGOX_LIBS" >&6
25176 else
25177 PANGOX_CFLAGS=""
25178 PANGOX_LIBS=""
25179 ## If we have a custom action on failure, don't print errors, but
25180 ## do set a variable so people can do so.
25181 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25182
25183 fi
25184
25185
25186
25187 else
25188 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25189 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25190 fi
25191 fi
25192
25193 if test $succeeded = yes; then
25194
25195 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
25196 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
25197
25198 else
25199
25200 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
25201 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
25202 { (exit 1); exit 1; }; }
25203
25204
25205 fi
25206
25207
25208 succeeded=no
25209
25210 if test -z "$PKG_CONFIG"; then
25211 # Extract the first word of "pkg-config", so it can be a program name with args.
25212 set dummy pkg-config; ac_word=$2
25213 echo "$as_me:$LINENO: checking for $ac_word" >&5
25214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25215 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25216 echo $ECHO_N "(cached) $ECHO_C" >&6
25217 else
25218 case $PKG_CONFIG in
25219 [\\/]* | ?:[\\/]*)
25220 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25221 ;;
25222 *)
25223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25224 for as_dir in $PATH
25225 do
25226 IFS=$as_save_IFS
25227 test -z "$as_dir" && as_dir=.
25228 for ac_exec_ext in '' $ac_executable_extensions; do
25229 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25230 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25232 break 2
25233 fi
25234 done
25235 done
25236
25237 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
25238 ;;
25239 esac
25240 fi
25241 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25242
25243 if test -n "$PKG_CONFIG"; then
25244 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25245 echo "${ECHO_T}$PKG_CONFIG" >&6
25246 else
25247 echo "$as_me:$LINENO: result: no" >&5
25248 echo "${ECHO_T}no" >&6
25249 fi
25250
25251 fi
25252
25253 if test "$PKG_CONFIG" = "no" ; then
25254 echo "*** The pkg-config script could not be found. Make sure it is"
25255 echo "*** in your path, or set the PKG_CONFIG environment variable"
25256 echo "*** to the full path to pkg-config."
25257 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25258 else
25259 PKG_CONFIG_MIN_VERSION=0.9.0
25260 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25261 echo "$as_me:$LINENO: checking for pangoft2" >&5
25262 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
25263
25264 if $PKG_CONFIG --exists "pangoft2" ; then
25265 echo "$as_me:$LINENO: result: yes" >&5
25266 echo "${ECHO_T}yes" >&6
25267 succeeded=yes
25268
25269 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
25270 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
25271 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
25272 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
25273 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
25274
25275 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
25276 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
25277 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
25278 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
25279 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
25280 else
25281 PANGOFT2_CFLAGS=""
25282 PANGOFT2_LIBS=""
25283 ## If we have a custom action on failure, don't print errors, but
25284 ## do set a variable so people can do so.
25285 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25286
25287 fi
25288
25289
25290
25291 else
25292 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25293 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25294 fi
25295 fi
25296
25297 if test $succeeded = yes; then
25298
25299 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
25300 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25301
25302 else
25303
25304 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25305 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25306 wxUSE_PRINTING_ARCHITECTURE="no"
25307
25308
25309 fi
25310
25311
25312 succeeded=no
25313
25314 if test -z "$PKG_CONFIG"; then
25315 # Extract the first word of "pkg-config", so it can be a program name with args.
25316 set dummy pkg-config; ac_word=$2
25317 echo "$as_me:$LINENO: checking for $ac_word" >&5
25318 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25319 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25320 echo $ECHO_N "(cached) $ECHO_C" >&6
25321 else
25322 case $PKG_CONFIG in
25323 [\\/]* | ?:[\\/]*)
25324 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25325 ;;
25326 *)
25327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25328 for as_dir in $PATH
25329 do
25330 IFS=$as_save_IFS
25331 test -z "$as_dir" && as_dir=.
25332 for ac_exec_ext in '' $ac_executable_extensions; do
25333 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25334 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25336 break 2
25337 fi
25338 done
25339 done
25340
25341 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
25342 ;;
25343 esac
25344 fi
25345 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25346
25347 if test -n "$PKG_CONFIG"; then
25348 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25349 echo "${ECHO_T}$PKG_CONFIG" >&6
25350 else
25351 echo "$as_me:$LINENO: result: no" >&5
25352 echo "${ECHO_T}no" >&6
25353 fi
25354
25355 fi
25356
25357 if test "$PKG_CONFIG" = "no" ; then
25358 echo "*** The pkg-config script could not be found. Make sure it is"
25359 echo "*** in your path, or set the PKG_CONFIG environment variable"
25360 echo "*** to the full path to pkg-config."
25361 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25362 else
25363 PKG_CONFIG_MIN_VERSION=0.9.0
25364 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25365 echo "$as_me:$LINENO: checking for pangoxft" >&5
25366 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
25367
25368 if $PKG_CONFIG --exists "pangoxft" ; then
25369 echo "$as_me:$LINENO: result: yes" >&5
25370 echo "${ECHO_T}yes" >&6
25371 succeeded=yes
25372
25373 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
25374 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
25375 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
25376 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
25377 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
25378
25379 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
25380 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
25381 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
25382 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
25383 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
25384 else
25385 PANGOXFT_CFLAGS=""
25386 PANGOXFT_LIBS=""
25387 ## If we have a custom action on failure, don't print errors, but
25388 ## do set a variable so people can do so.
25389 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25390
25391 fi
25392
25393
25394
25395 else
25396 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25397 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25398 fi
25399 fi
25400
25401 if test $succeeded = yes; then
25402
25403 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
25404 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25405
25406 else
25407
25408 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25409 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25410
25411
25412 fi
25413
25414 save_CFLAGS="$CFLAGS"
25415 save_LIBS="$LIBS"
25416 CFLAGS="$CFLAGS $PANGOX_CFLAGS"
25417 LIBS="$LIBS $PANGOX_LIBS"
25418
25419 for ac_func in pango_font_family_is_monospace
25420 do
25421 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25422 echo "$as_me:$LINENO: checking for $ac_func" >&5
25423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25424 if eval "test \"\${$as_ac_var+set}\" = set"; then
25425 echo $ECHO_N "(cached) $ECHO_C" >&6
25426 else
25427 cat >conftest.$ac_ext <<_ACEOF
25428 /* confdefs.h. */
25429 _ACEOF
25430 cat confdefs.h >>conftest.$ac_ext
25431 cat >>conftest.$ac_ext <<_ACEOF
25432 /* end confdefs.h. */
25433 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25434 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25435 #define $ac_func innocuous_$ac_func
25436
25437 /* System header to define __stub macros and hopefully few prototypes,
25438 which can conflict with char $ac_func (); below.
25439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25440 <limits.h> exists even on freestanding compilers. */
25441
25442 #ifdef __STDC__
25443 # include <limits.h>
25444 #else
25445 # include <assert.h>
25446 #endif
25447
25448 #undef $ac_func
25449
25450 /* Override any gcc2 internal prototype to avoid an error. */
25451 #ifdef __cplusplus
25452 extern "C"
25453 {
25454 #endif
25455 /* We use char because int might match the return type of a gcc2
25456 builtin and then its argument prototype would still apply. */
25457 char $ac_func ();
25458 /* The GNU C library defines this for functions which it implements
25459 to always fail with ENOSYS. Some functions are actually named
25460 something starting with __ and the normal name is an alias. */
25461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25462 choke me
25463 #else
25464 char (*f) () = $ac_func;
25465 #endif
25466 #ifdef __cplusplus
25467 }
25468 #endif
25469
25470 int
25471 main ()
25472 {
25473 return f != $ac_func;
25474 ;
25475 return 0;
25476 }
25477 _ACEOF
25478 rm -f conftest.$ac_objext conftest$ac_exeext
25479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25480 (eval $ac_link) 2>conftest.er1
25481 ac_status=$?
25482 grep -v '^ *+' conftest.er1 >conftest.err
25483 rm -f conftest.er1
25484 cat conftest.err >&5
25485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25486 (exit $ac_status); } &&
25487 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25489 (eval $ac_try) 2>&5
25490 ac_status=$?
25491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25492 (exit $ac_status); }; } &&
25493 { ac_try='test -s conftest$ac_exeext'
25494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25495 (eval $ac_try) 2>&5
25496 ac_status=$?
25497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25498 (exit $ac_status); }; }; then
25499 eval "$as_ac_var=yes"
25500 else
25501 echo "$as_me: failed program was:" >&5
25502 sed 's/^/| /' conftest.$ac_ext >&5
25503
25504 eval "$as_ac_var=no"
25505 fi
25506 rm -f conftest.err conftest.$ac_objext \
25507 conftest$ac_exeext conftest.$ac_ext
25508 fi
25509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25511 if test `eval echo '${'$as_ac_var'}'` = yes; then
25512 cat >>confdefs.h <<_ACEOF
25513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25514 _ACEOF
25515
25516 fi
25517 done
25518
25519 CFLAGS="$save_CFLAGS"
25520 LIBS="$save_LIBS"
25521 fi
25522
25523 wxUSE_UNIVERSAL="yes"
25524
25525 if test "$wxUSE_NANOX" = "yes"; then
25526 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25527 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"
25528 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25529 else
25530 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
25531 fi
25532
25533 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
25534 TOOLKIT=X11
25535 GUIDIST=X11_DIST
25536 fi
25537
25538 if test "$wxUSE_MOTIF" = 1; then
25539 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
25540 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
25541
25542 ac_find_includes=
25543 for ac_dir in $SEARCH_INCLUDE /usr/include;
25544 do
25545 if test -f "$ac_dir/Xm/Xm.h"; then
25546 ac_find_includes=$ac_dir
25547 break
25548 fi
25549 done
25550
25551 if test "$ac_find_includes" != "" ; then
25552 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
25553 echo "${ECHO_T}found in $ac_find_includes" >&6
25554
25555 if test "x$ac_find_includes" = "x/usr/include"; then
25556 ac_path_to_include=""
25557 else
25558 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
25559 result=$?
25560 if test $result = 0; then
25561 ac_path_to_include=""
25562 else
25563 ac_path_to_include=" -I$ac_find_includes"
25564 fi
25565 fi
25566
25567 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
25568 else
25569 cat >conftest.$ac_ext <<_ACEOF
25570 /* confdefs.h. */
25571 _ACEOF
25572 cat confdefs.h >>conftest.$ac_ext
25573 cat >>conftest.$ac_ext <<_ACEOF
25574 /* end confdefs.h. */
25575
25576 #include <Xm/Xm.h>
25577
25578 int
25579 main ()
25580 {
25581
25582 int version;
25583 version = xmUseVersion;
25584
25585 ;
25586 return 0;
25587 }
25588 _ACEOF
25589 rm -f conftest.$ac_objext
25590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25591 (eval $ac_compile) 2>conftest.er1
25592 ac_status=$?
25593 grep -v '^ *+' conftest.er1 >conftest.err
25594 rm -f conftest.er1
25595 cat conftest.err >&5
25596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25597 (exit $ac_status); } &&
25598 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25600 (eval $ac_try) 2>&5
25601 ac_status=$?
25602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25603 (exit $ac_status); }; } &&
25604 { ac_try='test -s conftest.$ac_objext'
25605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25606 (eval $ac_try) 2>&5
25607 ac_status=$?
25608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25609 (exit $ac_status); }; }; then
25610
25611 echo "$as_me:$LINENO: result: found in default search path" >&5
25612 echo "${ECHO_T}found in default search path" >&6
25613 COMPILED_X_PROGRAM=1
25614
25615 else
25616 echo "$as_me: failed program was:" >&5
25617 sed 's/^/| /' conftest.$ac_ext >&5
25618
25619
25620 echo "$as_me:$LINENO: result: no" >&5
25621 echo "${ECHO_T}no" >&6
25622 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
25623 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
25624 { (exit 1); exit 1; }; }
25625
25626
25627 fi
25628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25629 fi
25630
25631 if test "$COMPILED_X_PROGRAM" = 0; then
25632 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
25633 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
25634
25635 ac_find_libraries=
25636 for ac_dir in $SEARCH_LIB /usr/lib;
25637 do
25638 for ac_extension in a so sl dylib; do
25639 if test -f "$ac_dir/libXm.$ac_extension"; then
25640 ac_find_libraries=$ac_dir
25641 break 2
25642 fi
25643 done
25644 done
25645
25646 if test "$ac_find_libraries" != "" ; then
25647 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25648 echo "${ECHO_T}found at $ac_find_libraries" >&6
25649
25650
25651 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
25652 result=$?
25653 if test $result = 0; then
25654 ac_path_to_link=""
25655 else
25656 ac_path_to_link=" -L$ac_find_libraries"
25657 fi
25658
25659 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
25660 else
25661 save_CFLAGS=$CFLAGS
25662 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
25663
25664 cat >conftest.$ac_ext <<_ACEOF
25665 /* confdefs.h. */
25666 _ACEOF
25667 cat confdefs.h >>conftest.$ac_ext
25668 cat >>conftest.$ac_ext <<_ACEOF
25669 /* end confdefs.h. */
25670
25671 #include <Xm/Xm.h>
25672
25673 int
25674 main ()
25675 {
25676
25677 int version;
25678 version = xmUseVersion;
25679
25680 ;
25681 return 0;
25682 }
25683 _ACEOF
25684 rm -f conftest.$ac_objext
25685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25686 (eval $ac_compile) 2>conftest.er1
25687 ac_status=$?
25688 grep -v '^ *+' conftest.er1 >conftest.err
25689 rm -f conftest.er1
25690 cat conftest.err >&5
25691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25692 (exit $ac_status); } &&
25693 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25695 (eval $ac_try) 2>&5
25696 ac_status=$?
25697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25698 (exit $ac_status); }; } &&
25699 { ac_try='test -s conftest.$ac_objext'
25700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25701 (eval $ac_try) 2>&5
25702 ac_status=$?
25703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25704 (exit $ac_status); }; }; then
25705
25706 echo "$as_me:$LINENO: result: found in default search path" >&5
25707 echo "${ECHO_T}found in default search path" >&6
25708 COMPILED_X_PROGRAM=1
25709
25710 else
25711 echo "$as_me: failed program was:" >&5
25712 sed 's/^/| /' conftest.$ac_ext >&5
25713
25714
25715 echo "$as_me:$LINENO: result: no" >&5
25716 echo "${ECHO_T}no" >&6
25717 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
25718 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
25719 { (exit 1); exit 1; }; }
25720
25721
25722 fi
25723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25724
25725 CFLAGS=$save_CFLAGS
25726 fi
25727 fi
25728
25729 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
25730 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
25731 libp_link=""
25732 libsm_ice_link=""
25733 libs_found=0
25734 for libp in "" " -lXp"; do
25735 if test "$libs_found" = "0"; then
25736 for libsm_ice in "" " -lSM -lICE"; do
25737 if test "$libs_found" = "0"; then
25738 save_LIBS="$LIBS"
25739 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
25740 save_CFLAGS=$CFLAGS
25741 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
25742
25743 cat >conftest.$ac_ext <<_ACEOF
25744 /* confdefs.h. */
25745 _ACEOF
25746 cat confdefs.h >>conftest.$ac_ext
25747 cat >>conftest.$ac_ext <<_ACEOF
25748 /* end confdefs.h. */
25749
25750 #include <Xm/Xm.h>
25751 #include <Xm/List.h>
25752
25753 int
25754 main ()
25755 {
25756
25757 XmString string = NULL;
25758 Widget w = NULL;
25759 int position = 0;
25760 XmListAddItem(w, string, position);
25761
25762 ;
25763 return 0;
25764 }
25765 _ACEOF
25766 rm -f conftest.$ac_objext conftest$ac_exeext
25767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25768 (eval $ac_link) 2>conftest.er1
25769 ac_status=$?
25770 grep -v '^ *+' conftest.er1 >conftest.err
25771 rm -f conftest.er1
25772 cat conftest.err >&5
25773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25774 (exit $ac_status); } &&
25775 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25777 (eval $ac_try) 2>&5
25778 ac_status=$?
25779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25780 (exit $ac_status); }; } &&
25781 { ac_try='test -s conftest$ac_exeext'
25782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25783 (eval $ac_try) 2>&5
25784 ac_status=$?
25785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25786 (exit $ac_status); }; }; then
25787
25788 libp_link="$libp"
25789 libsm_ice_link="$libsm_ice"
25790 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
25791 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
25792 libs_found=1
25793
25794 else
25795 echo "$as_me: failed program was:" >&5
25796 sed 's/^/| /' conftest.$ac_ext >&5
25797
25798
25799
25800 fi
25801 rm -f conftest.err conftest.$ac_objext \
25802 conftest$ac_exeext conftest.$ac_ext
25803
25804 LIBS="$save_LIBS"
25805 CFLAGS=$save_CFLAGS
25806 fi
25807 done
25808 fi
25809 done
25810
25811 if test "$libs_found" = "0"; then
25812 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
25813 echo "${ECHO_T}can't find the right libraries" >&6
25814 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
25815 echo "$as_me: error: can't link a simple motif program" >&2;}
25816 { (exit 1); exit 1; }; }
25817 fi
25818
25819 save_CFLAGS=$CFLAGS
25820 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
25821 echo "$as_me:$LINENO: checking for Motif 2" >&5
25822 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
25823 cat >conftest.$ac_ext <<_ACEOF
25824 /* confdefs.h. */
25825 _ACEOF
25826 cat confdefs.h >>conftest.$ac_ext
25827 cat >>conftest.$ac_ext <<_ACEOF
25828 /* end confdefs.h. */
25829
25830 #include <Xm/Xm.h>
25831
25832 int
25833 main ()
25834 {
25835
25836 #if XmVersion < 2000
25837 #error "Not Motif 2"
25838 #endif
25839
25840 ;
25841 return 0;
25842 }
25843 _ACEOF
25844 rm -f conftest.$ac_objext
25845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25846 (eval $ac_compile) 2>conftest.er1
25847 ac_status=$?
25848 grep -v '^ *+' conftest.er1 >conftest.err
25849 rm -f conftest.er1
25850 cat conftest.err >&5
25851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25852 (exit $ac_status); } &&
25853 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25855 (eval $ac_try) 2>&5
25856 ac_status=$?
25857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25858 (exit $ac_status); }; } &&
25859 { ac_try='test -s conftest.$ac_objext'
25860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25861 (eval $ac_try) 2>&5
25862 ac_status=$?
25863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25864 (exit $ac_status); }; }; then
25865
25866 cat >>confdefs.h <<\_ACEOF
25867 #define __WXMOTIF20__ 1
25868 _ACEOF
25869
25870 echo "$as_me:$LINENO: result: found" >&5
25871 echo "${ECHO_T}found" >&6
25872
25873 else
25874 echo "$as_me: failed program was:" >&5
25875 sed 's/^/| /' conftest.$ac_ext >&5
25876
25877
25878 cat >>confdefs.h <<\_ACEOF
25879 #define __WXMOTIF20__ 0
25880 _ACEOF
25881
25882 echo "$as_me:$LINENO: result: not found" >&5
25883 echo "${ECHO_T}not found" >&6
25884
25885 fi
25886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25887 CFLAGS=$save_CFLAGS
25888
25889 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
25890 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
25891 TOOLKIT=MOTIF
25892 GUIDIST=MOTIF_DIST
25893 fi
25894
25895 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
25896 if test "$wxUSE_LIBXPM" = "sys"; then
25897 echo "$as_me:$LINENO: checking for Xpm library" >&5
25898 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
25899
25900 ac_find_libraries=
25901 for ac_dir in $SEARCH_LIB /usr/lib;
25902 do
25903 for ac_extension in a so sl dylib; do
25904 if test -f "$ac_dir/libXpm.$ac_extension"; then
25905 ac_find_libraries=$ac_dir
25906 break 2
25907 fi
25908 done
25909 done
25910
25911 if test "$ac_find_libraries" != "" ; then
25912
25913 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
25914 result=$?
25915 if test $result = 0; then
25916 ac_path_to_link=""
25917 else
25918 ac_path_to_link=" -L$ac_find_libraries"
25919 fi
25920
25921 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
25922 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25923 echo "${ECHO_T}found at $ac_find_libraries" >&6
25924
25925 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
25926 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
25927 if test "${wx_cv_x11_xpm_h+set}" = set; then
25928 echo $ECHO_N "(cached) $ECHO_C" >&6
25929 else
25930
25931 save_CFLAGS=$CFLAGS
25932 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
25933
25934 cat >conftest.$ac_ext <<_ACEOF
25935 /* confdefs.h. */
25936 _ACEOF
25937 cat confdefs.h >>conftest.$ac_ext
25938 cat >>conftest.$ac_ext <<_ACEOF
25939 /* end confdefs.h. */
25940
25941 #include <X11/xpm.h>
25942
25943 int
25944 main ()
25945 {
25946
25947 int version;
25948 version = XpmLibraryVersion();
25949
25950 ;
25951 return 0;
25952 }
25953 _ACEOF
25954 rm -f conftest.$ac_objext
25955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25956 (eval $ac_compile) 2>conftest.er1
25957 ac_status=$?
25958 grep -v '^ *+' conftest.er1 >conftest.err
25959 rm -f conftest.er1
25960 cat conftest.err >&5
25961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25962 (exit $ac_status); } &&
25963 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25965 (eval $ac_try) 2>&5
25966 ac_status=$?
25967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25968 (exit $ac_status); }; } &&
25969 { ac_try='test -s conftest.$ac_objext'
25970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25971 (eval $ac_try) 2>&5
25972 ac_status=$?
25973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25974 (exit $ac_status); }; }; then
25975 wx_cv_x11_xpm_h=yes
25976 else
25977 echo "$as_me: failed program was:" >&5
25978 sed 's/^/| /' conftest.$ac_ext >&5
25979
25980 wx_cv_x11_xpm_h=no
25981
25982 fi
25983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25984
25985 CFLAGS=$save_CFLAGS
25986
25987
25988 fi
25989 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
25990 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
25991
25992 if test $wx_cv_x11_xpm_h = "yes"; then
25993 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
25994 cat >>confdefs.h <<\_ACEOF
25995 #define wxHAVE_LIB_XPM 1
25996 _ACEOF
25997
25998 else
25999 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
26000 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26001 fi
26002 fi
26003
26004 fi
26005
26006 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
26007 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
26008 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
26009 echo $ECHO_N "(cached) $ECHO_C" >&6
26010 else
26011 ac_check_lib_save_LIBS=$LIBS
26012 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26013 cat >conftest.$ac_ext <<_ACEOF
26014 /* confdefs.h. */
26015 _ACEOF
26016 cat confdefs.h >>conftest.$ac_ext
26017 cat >>conftest.$ac_ext <<_ACEOF
26018 /* end confdefs.h. */
26019
26020 /* Override any gcc2 internal prototype to avoid an error. */
26021 #ifdef __cplusplus
26022 extern "C"
26023 #endif
26024 /* We use char because int might match the return type of a gcc2
26025 builtin and then its argument prototype would still apply. */
26026 char XShapeQueryExtension ();
26027 int
26028 main ()
26029 {
26030 XShapeQueryExtension ();
26031 ;
26032 return 0;
26033 }
26034 _ACEOF
26035 rm -f conftest.$ac_objext conftest$ac_exeext
26036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26037 (eval $ac_link) 2>conftest.er1
26038 ac_status=$?
26039 grep -v '^ *+' conftest.er1 >conftest.err
26040 rm -f conftest.er1
26041 cat conftest.err >&5
26042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26043 (exit $ac_status); } &&
26044 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26046 (eval $ac_try) 2>&5
26047 ac_status=$?
26048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26049 (exit $ac_status); }; } &&
26050 { ac_try='test -s conftest$ac_exeext'
26051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26052 (eval $ac_try) 2>&5
26053 ac_status=$?
26054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26055 (exit $ac_status); }; }; then
26056 ac_cv_lib_Xext_XShapeQueryExtension=yes
26057 else
26058 echo "$as_me: failed program was:" >&5
26059 sed 's/^/| /' conftest.$ac_ext >&5
26060
26061 ac_cv_lib_Xext_XShapeQueryExtension=no
26062 fi
26063 rm -f conftest.err conftest.$ac_objext \
26064 conftest$ac_exeext conftest.$ac_ext
26065 LIBS=$ac_check_lib_save_LIBS
26066 fi
26067 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26068 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
26069 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
26070
26071 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
26072 wxHAVE_XEXT_LIB=1
26073
26074 fi
26075
26076
26077 if test "$wxHAVE_XEXT_LIB" = 1; then
26078 save_CFLAGS="$CFLAGS"
26079 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26080
26081 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
26082 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
26083 cat >conftest.$ac_ext <<_ACEOF
26084 /* confdefs.h. */
26085 _ACEOF
26086 cat confdefs.h >>conftest.$ac_ext
26087 cat >>conftest.$ac_ext <<_ACEOF
26088 /* end confdefs.h. */
26089
26090 #include <X11/Xlib.h>
26091 #include <X11/extensions/shape.h>
26092
26093 int
26094 main ()
26095 {
26096
26097 int dummy1, dummy2;
26098 XShapeQueryExtension((Display*)NULL,
26099 (int*)NULL, (int*)NULL);
26100
26101 ;
26102 return 0;
26103 }
26104 _ACEOF
26105 rm -f conftest.$ac_objext
26106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26107 (eval $ac_compile) 2>conftest.er1
26108 ac_status=$?
26109 grep -v '^ *+' conftest.er1 >conftest.err
26110 rm -f conftest.er1
26111 cat conftest.err >&5
26112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26113 (exit $ac_status); } &&
26114 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26116 (eval $ac_try) 2>&5
26117 ac_status=$?
26118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26119 (exit $ac_status); }; } &&
26120 { ac_try='test -s conftest.$ac_objext'
26121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26122 (eval $ac_try) 2>&5
26123 ac_status=$?
26124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26125 (exit $ac_status); }; }; then
26126
26127 cat >>confdefs.h <<\_ACEOF
26128 #define HAVE_XSHAPE 1
26129 _ACEOF
26130
26131 echo "$as_me:$LINENO: result: found" >&5
26132 echo "${ECHO_T}found" >&6
26133
26134 else
26135 echo "$as_me: failed program was:" >&5
26136 sed 's/^/| /' conftest.$ac_ext >&5
26137
26138
26139 echo "$as_me:$LINENO: result: not found" >&5
26140 echo "${ECHO_T}not found" >&6
26141
26142 fi
26143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26144 CFLAGS="$save_CFLAGS"
26145
26146 fi
26147 fi
26148
26149 if test "$wxUSE_MAC" = 1; then
26150 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26151 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26152 if test "$GCC" = yes; then
26153 echo "$as_me:$LINENO: result: gcc" >&5
26154 echo "${ECHO_T}gcc" >&6
26155 CPPFLAGS_PASCAL="-fpascal-strings"
26156 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26157 echo "$as_me:$LINENO: result: xlc" >&5
26158 echo "${ECHO_T}xlc" >&6
26159 CPPFLAGS_PASCAL="-qmacpstr"
26160 else
26161 echo "$as_me:$LINENO: result: none" >&5
26162 echo "${ECHO_T}none" >&6
26163 fi
26164
26165 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
26166
26167 TOOLKIT_VPATH="\${top_srcdir}/src/mac/carbon${PATH_IFS}\${top_srcdir}/src/mac/carbon/morefilex"
26168 TOOLKIT=MAC
26169 GUIDIST=MACX_DIST
26170 WXBASEPORT="_carbon"
26171 fi
26172
26173 if test "$wxUSE_COCOA" = 1; then
26174 TOOLKIT_VPATH="\${top_srcdir}/src/cocoa"
26175 TOOLKIT=COCOA
26176 GUIDIST=COCOA_DIST
26177 fi
26178
26179 if test "$wxUSE_PM" = 1; then
26180 TOOLKIT=PM
26181 GUIDIST=PM_DIST
26182 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
26183 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
26184 if test "${wx_cv_spbcdata+set}" = set; then
26185 echo $ECHO_N "(cached) $ECHO_C" >&6
26186 else
26187
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
26195 #define INCL_PM
26196 #include <os2.h>
26197
26198 int
26199 main ()
26200 {
26201
26202 SPBCDATA test;
26203
26204 ;
26205 return 0;
26206 }
26207 _ACEOF
26208 rm -f conftest.$ac_objext
26209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26210 (eval $ac_compile) 2>conftest.er1
26211 ac_status=$?
26212 grep -v '^ *+' conftest.er1 >conftest.err
26213 rm -f conftest.er1
26214 cat conftest.err >&5
26215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26216 (exit $ac_status); } &&
26217 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26219 (eval $ac_try) 2>&5
26220 ac_status=$?
26221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26222 (exit $ac_status); }; } &&
26223 { ac_try='test -s conftest.$ac_objext'
26224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26225 (eval $ac_try) 2>&5
26226 ac_status=$?
26227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26228 (exit $ac_status); }; }; then
26229 wx_cv_spbcdata=yes
26230 else
26231 echo "$as_me: failed program was:" >&5
26232 sed 's/^/| /' conftest.$ac_ext >&5
26233
26234 wx_cv_spbcdata=no
26235
26236 fi
26237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26238
26239
26240 fi
26241 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
26242 echo "${ECHO_T}$wx_cv_spbcdata" >&6
26243
26244 if test $wx_cv_spbcdata = "yes"; then
26245 cat >>confdefs.h <<\_ACEOF
26246 #define HAVE_SPBCDATA 1
26247 _ACEOF
26248
26249 fi
26250 fi
26251
26252 if test "$TOOLKIT" = "PM" ; then
26253 TOOLKIT_DIR="os2"
26254 else
26255 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
26256 fi
26257
26258 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
26259
26260 if test "$wxUSE_UNIVERSAL" = "yes"; then
26261 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
26262
26263 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
26264 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
26265
26266 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
26267 if test "$wxUSE_X11" = 1; then
26268 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
26269 else
26270 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
26271 fi
26272 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26273 WIDGET_SET=univ
26274 else
26275 ALL_OBJECTS="\$(GUIOBJS)"
26276 ALL_SOURCES="\$(ALL_SOURCES)"
26277 ALL_HEADERS="\$(ALL_HEADERS)"
26278 fi
26279
26280 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
26281
26282 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
26283 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
26284 fi
26285
26286 if test "$wxUSE_HTML" = "yes"; then
26287 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
26288 fi
26289
26290 if test "$wxUSE_LIBJPEG" = "builtin" ; then
26291 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
26292 fi
26293 if test "$wxUSE_LIBTIFF" = "builtin" ; then
26294 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
26295 fi
26296 if test "$wxUSE_LIBPNG" = "builtin" ; then
26297 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
26298 fi
26299
26300 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26301 DISTDIR="wx\$(TOOLKIT)"
26302 else
26303 USE_GUI=0
26304
26305 TOOLKIT_DIR="base"
26306
26307 if test "$USE_WIN32" = 1 ; then
26308 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
26309 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
26310
26311 TOOLKIT="MSW"
26312 else
26313 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
26314 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
26315 fi
26316
26317 ALL_SOURCES="\$(ALL_SOURCES)"
26318 ALL_HEADERS="\$(ALL_HEADERS)"
26319
26320 PORT_FILES="\${top_srcdir}/src/files.lst"
26321
26322 GUIDIST="BASE_DIST"
26323 DISTDIR="wxBase"
26324 fi
26325
26326
26327
26328
26329 IODBC_C_SRC=""
26330
26331
26332 if test "$TOOLKIT" != "MSW" ; then
26333
26334 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
26335
26336 if test "${ac_cv_header_sql_h+set}" = set; then
26337 echo "$as_me:$LINENO: checking for sql.h" >&5
26338 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26339 if test "${ac_cv_header_sql_h+set}" = set; then
26340 echo $ECHO_N "(cached) $ECHO_C" >&6
26341 fi
26342 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26343 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26344 else
26345 # Is the header compilable?
26346 echo "$as_me:$LINENO: checking sql.h usability" >&5
26347 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
26348 cat >conftest.$ac_ext <<_ACEOF
26349 /* confdefs.h. */
26350 _ACEOF
26351 cat confdefs.h >>conftest.$ac_ext
26352 cat >>conftest.$ac_ext <<_ACEOF
26353 /* end confdefs.h. */
26354 $ac_includes_default
26355 #include <sql.h>
26356 _ACEOF
26357 rm -f conftest.$ac_objext
26358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26359 (eval $ac_compile) 2>conftest.er1
26360 ac_status=$?
26361 grep -v '^ *+' conftest.er1 >conftest.err
26362 rm -f conftest.er1
26363 cat conftest.err >&5
26364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26365 (exit $ac_status); } &&
26366 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26368 (eval $ac_try) 2>&5
26369 ac_status=$?
26370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26371 (exit $ac_status); }; } &&
26372 { ac_try='test -s conftest.$ac_objext'
26373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26374 (eval $ac_try) 2>&5
26375 ac_status=$?
26376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26377 (exit $ac_status); }; }; then
26378 ac_header_compiler=yes
26379 else
26380 echo "$as_me: failed program was:" >&5
26381 sed 's/^/| /' conftest.$ac_ext >&5
26382
26383 ac_header_compiler=no
26384 fi
26385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26386 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26387 echo "${ECHO_T}$ac_header_compiler" >&6
26388
26389 # Is the header present?
26390 echo "$as_me:$LINENO: checking sql.h presence" >&5
26391 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
26392 cat >conftest.$ac_ext <<_ACEOF
26393 /* confdefs.h. */
26394 _ACEOF
26395 cat confdefs.h >>conftest.$ac_ext
26396 cat >>conftest.$ac_ext <<_ACEOF
26397 /* end confdefs.h. */
26398 #include <sql.h>
26399 _ACEOF
26400 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26401 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26402 ac_status=$?
26403 grep -v '^ *+' conftest.er1 >conftest.err
26404 rm -f conftest.er1
26405 cat conftest.err >&5
26406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26407 (exit $ac_status); } >/dev/null; then
26408 if test -s conftest.err; then
26409 ac_cpp_err=$ac_c_preproc_warn_flag
26410 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26411 else
26412 ac_cpp_err=
26413 fi
26414 else
26415 ac_cpp_err=yes
26416 fi
26417 if test -z "$ac_cpp_err"; then
26418 ac_header_preproc=yes
26419 else
26420 echo "$as_me: failed program was:" >&5
26421 sed 's/^/| /' conftest.$ac_ext >&5
26422
26423 ac_header_preproc=no
26424 fi
26425 rm -f conftest.err conftest.$ac_ext
26426 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26427 echo "${ECHO_T}$ac_header_preproc" >&6
26428
26429 # So? What about this header?
26430 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26431 yes:no: )
26432 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
26433 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26434 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
26435 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
26436 ac_header_preproc=yes
26437 ;;
26438 no:yes:* )
26439 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
26440 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
26441 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
26442 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
26443 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
26444 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
26445 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
26446 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
26447 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
26448 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
26449 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
26450 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
26451 (
26452 cat <<\_ASBOX
26453 ## ----------------------------------------- ##
26454 ## Report this to wx-dev@lists.wxwidgets.org ##
26455 ## ----------------------------------------- ##
26456 _ASBOX
26457 ) |
26458 sed "s/^/$as_me: WARNING: /" >&2
26459 ;;
26460 esac
26461 echo "$as_me:$LINENO: checking for sql.h" >&5
26462 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26463 if test "${ac_cv_header_sql_h+set}" = set; then
26464 echo $ECHO_N "(cached) $ECHO_C" >&6
26465 else
26466 ac_cv_header_sql_h=$ac_header_preproc
26467 fi
26468 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26469 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26470
26471 fi
26472 if test $ac_cv_header_sql_h = yes; then
26473 found_sql_h=1
26474 fi
26475
26476
26477 if test "x$found_sql_h" = "x1" ; then
26478 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
26479 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
26480 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
26481 echo $ECHO_N "(cached) $ECHO_C" >&6
26482 else
26483 ac_check_lib_save_LIBS=$LIBS
26484 LIBS="-liodbc $LIBS"
26485 cat >conftest.$ac_ext <<_ACEOF
26486 /* confdefs.h. */
26487 _ACEOF
26488 cat confdefs.h >>conftest.$ac_ext
26489 cat >>conftest.$ac_ext <<_ACEOF
26490 /* end confdefs.h. */
26491
26492 /* Override any gcc2 internal prototype to avoid an error. */
26493 #ifdef __cplusplus
26494 extern "C"
26495 #endif
26496 /* We use char because int might match the return type of a gcc2
26497 builtin and then its argument prototype would still apply. */
26498 char SQLAllocEnv ();
26499 int
26500 main ()
26501 {
26502 SQLAllocEnv ();
26503 ;
26504 return 0;
26505 }
26506 _ACEOF
26507 rm -f conftest.$ac_objext conftest$ac_exeext
26508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26509 (eval $ac_link) 2>conftest.er1
26510 ac_status=$?
26511 grep -v '^ *+' conftest.er1 >conftest.err
26512 rm -f conftest.er1
26513 cat conftest.err >&5
26514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26515 (exit $ac_status); } &&
26516 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26518 (eval $ac_try) 2>&5
26519 ac_status=$?
26520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26521 (exit $ac_status); }; } &&
26522 { ac_try='test -s conftest$ac_exeext'
26523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26524 (eval $ac_try) 2>&5
26525 ac_status=$?
26526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26527 (exit $ac_status); }; }; then
26528 ac_cv_lib_iodbc_SQLAllocEnv=yes
26529 else
26530 echo "$as_me: failed program was:" >&5
26531 sed 's/^/| /' conftest.$ac_ext >&5
26532
26533 ac_cv_lib_iodbc_SQLAllocEnv=no
26534 fi
26535 rm -f conftest.err conftest.$ac_objext \
26536 conftest$ac_exeext conftest.$ac_ext
26537 LIBS=$ac_check_lib_save_LIBS
26538 fi
26539 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
26540 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
26541 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
26542 ODBC_LINK=" -liodbc"
26543 else
26544
26545 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
26546 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
26547 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
26548 echo $ECHO_N "(cached) $ECHO_C" >&6
26549 else
26550 ac_check_lib_save_LIBS=$LIBS
26551 LIBS="-lunixodbc $LIBS"
26552 cat >conftest.$ac_ext <<_ACEOF
26553 /* confdefs.h. */
26554 _ACEOF
26555 cat confdefs.h >>conftest.$ac_ext
26556 cat >>conftest.$ac_ext <<_ACEOF
26557 /* end confdefs.h. */
26558
26559 /* Override any gcc2 internal prototype to avoid an error. */
26560 #ifdef __cplusplus
26561 extern "C"
26562 #endif
26563 /* We use char because int might match the return type of a gcc2
26564 builtin and then its argument prototype would still apply. */
26565 char SQLAllocEnv ();
26566 int
26567 main ()
26568 {
26569 SQLAllocEnv ();
26570 ;
26571 return 0;
26572 }
26573 _ACEOF
26574 rm -f conftest.$ac_objext conftest$ac_exeext
26575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26576 (eval $ac_link) 2>conftest.er1
26577 ac_status=$?
26578 grep -v '^ *+' conftest.er1 >conftest.err
26579 rm -f conftest.er1
26580 cat conftest.err >&5
26581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26582 (exit $ac_status); } &&
26583 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26585 (eval $ac_try) 2>&5
26586 ac_status=$?
26587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26588 (exit $ac_status); }; } &&
26589 { ac_try='test -s conftest$ac_exeext'
26590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26591 (eval $ac_try) 2>&5
26592 ac_status=$?
26593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26594 (exit $ac_status); }; }; then
26595 ac_cv_lib_unixodbc_SQLAllocEnv=yes
26596 else
26597 echo "$as_me: failed program was:" >&5
26598 sed 's/^/| /' conftest.$ac_ext >&5
26599
26600 ac_cv_lib_unixodbc_SQLAllocEnv=no
26601 fi
26602 rm -f conftest.err conftest.$ac_objext \
26603 conftest$ac_exeext conftest.$ac_ext
26604 LIBS=$ac_check_lib_save_LIBS
26605 fi
26606 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
26607 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
26608 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
26609 ODBC_LINK=" -lunixodbc"
26610 else
26611
26612 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
26613 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
26614 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
26615 echo $ECHO_N "(cached) $ECHO_C" >&6
26616 else
26617 ac_check_lib_save_LIBS=$LIBS
26618 LIBS="-lodbc $LIBS"
26619 cat >conftest.$ac_ext <<_ACEOF
26620 /* confdefs.h. */
26621 _ACEOF
26622 cat confdefs.h >>conftest.$ac_ext
26623 cat >>conftest.$ac_ext <<_ACEOF
26624 /* end confdefs.h. */
26625
26626 /* Override any gcc2 internal prototype to avoid an error. */
26627 #ifdef __cplusplus
26628 extern "C"
26629 #endif
26630 /* We use char because int might match the return type of a gcc2
26631 builtin and then its argument prototype would still apply. */
26632 char SQLAllocEnv ();
26633 int
26634 main ()
26635 {
26636 SQLAllocEnv ();
26637 ;
26638 return 0;
26639 }
26640 _ACEOF
26641 rm -f conftest.$ac_objext conftest$ac_exeext
26642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26643 (eval $ac_link) 2>conftest.er1
26644 ac_status=$?
26645 grep -v '^ *+' conftest.er1 >conftest.err
26646 rm -f conftest.er1
26647 cat conftest.err >&5
26648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26649 (exit $ac_status); } &&
26650 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26652 (eval $ac_try) 2>&5
26653 ac_status=$?
26654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26655 (exit $ac_status); }; } &&
26656 { ac_try='test -s conftest$ac_exeext'
26657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26658 (eval $ac_try) 2>&5
26659 ac_status=$?
26660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26661 (exit $ac_status); }; }; then
26662 ac_cv_lib_odbc_SQLAllocEnv=yes
26663 else
26664 echo "$as_me: failed program was:" >&5
26665 sed 's/^/| /' conftest.$ac_ext >&5
26666
26667 ac_cv_lib_odbc_SQLAllocEnv=no
26668 fi
26669 rm -f conftest.err conftest.$ac_objext \
26670 conftest$ac_exeext conftest.$ac_ext
26671 LIBS=$ac_check_lib_save_LIBS
26672 fi
26673 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
26674 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
26675 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
26676 ODBC_LINK=" -lodbc"
26677 fi
26678
26679
26680 fi
26681
26682
26683 fi
26684
26685 fi
26686 if test "x$ODBC_LINK" = "x" ; then
26687 if test "$wxUSE_ODBC" = "sys" ; then
26688 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
26689 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
26690 { (exit 1); exit 1; }; }
26691 else
26692 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
26693 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
26694 wxUSE_ODBC=builtin
26695 fi
26696 else
26697 wxUSE_ODBC=sys
26698 fi
26699 fi
26700 if test "$wxUSE_ODBC" != "no" ; then
26701 cat >>confdefs.h <<\_ACEOF
26702 #define wxUSE_ODBC 1
26703 _ACEOF
26704
26705 if test "$wxUSE_ODBC" = "builtin" ; then
26706 cat >>confdefs.h <<\_ACEOF
26707 #define wxUSE_BUILTIN_IODBC 1
26708 _ACEOF
26709
26710 fi
26711 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
26712
26713 WXODBCFLAG="-D_IODBC_"
26714 fi
26715 fi
26716
26717 if test "$wxUSE_REGEX" = "builtin" ; then
26718 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
26719 fi
26720 if test "$wxUSE_ZLIB" = "builtin" ; then
26721 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
26722 fi
26723
26724
26725 if test "$wxUSE_DISPLAY" = "yes"; then
26726 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
26727 echo "$as_me:$LINENO: checking for Xinerama" >&5
26728 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
26729
26730 ac_find_libraries=
26731 for ac_dir in $SEARCH_LIB /usr/lib;
26732 do
26733 for ac_extension in a so sl dylib; do
26734 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26735 ac_find_libraries=$ac_dir
26736 break 2
26737 fi
26738 done
26739 done
26740
26741 if test "$ac_find_libraries" != "" ; then
26742
26743 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
26744 result=$?
26745 if test $result = 0; then
26746 ac_path_to_link=""
26747 else
26748 ac_path_to_link=" -L$ac_find_libraries"
26749 fi
26750
26751 if test "$ac_path_to_link" != " -L/usr/lib" ; then
26752 LDFLAGS="$LDFLAGS $ac_path_to_link"
26753 fi
26754 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
26755 echo "$as_me:$LINENO: result: yes" >&5
26756 echo "${ECHO_T}yes" >&6
26757
26758 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
26759 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
26760
26761 ac_find_libraries=
26762 for ac_dir in $SEARCH_LIB /usr/lib;
26763 do
26764 for ac_extension in a so sl dylib; do
26765 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
26766 ac_find_libraries=$ac_dir
26767 break 2
26768 fi
26769 done
26770 done
26771
26772 if test "$ac_find_libraries" != "" ; then
26773 echo "$as_me:$LINENO: result: yes" >&5
26774 echo "${ECHO_T}yes" >&6
26775
26776 for ac_header in X11/extensions/xf86vmode.h
26777 do
26778 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26779 echo "$as_me:$LINENO: checking for $ac_header" >&5
26780 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26781 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26782 echo $ECHO_N "(cached) $ECHO_C" >&6
26783 else
26784 cat >conftest.$ac_ext <<_ACEOF
26785 /* confdefs.h. */
26786 _ACEOF
26787 cat confdefs.h >>conftest.$ac_ext
26788 cat >>conftest.$ac_ext <<_ACEOF
26789 /* end confdefs.h. */
26790
26791 #if HAVE_X11_XLIB_H
26792 #include <X11/Xlib.h>
26793 #endif
26794
26795
26796 #include <$ac_header>
26797 _ACEOF
26798 rm -f conftest.$ac_objext
26799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26800 (eval $ac_compile) 2>conftest.er1
26801 ac_status=$?
26802 grep -v '^ *+' conftest.er1 >conftest.err
26803 rm -f conftest.er1
26804 cat conftest.err >&5
26805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26806 (exit $ac_status); } &&
26807 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26809 (eval $ac_try) 2>&5
26810 ac_status=$?
26811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26812 (exit $ac_status); }; } &&
26813 { ac_try='test -s conftest.$ac_objext'
26814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26815 (eval $ac_try) 2>&5
26816 ac_status=$?
26817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26818 (exit $ac_status); }; }; then
26819 eval "$as_ac_Header=yes"
26820 else
26821 echo "$as_me: failed program was:" >&5
26822 sed 's/^/| /' conftest.$ac_ext >&5
26823
26824 eval "$as_ac_Header=no"
26825 fi
26826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26827 fi
26828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26829 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26830 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26831 cat >>confdefs.h <<_ACEOF
26832 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26833 _ACEOF
26834
26835 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
26836
26837 fi
26838
26839 done
26840
26841 else
26842 echo "$as_me:$LINENO: result: no" >&5
26843 echo "${ECHO_T}no" >&6
26844 fi
26845
26846 else
26847 echo "$as_me:$LINENO: result: no" >&5
26848 echo "${ECHO_T}no" >&6
26849 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
26850 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
26851 wxUSE_DISPLAY="no"
26852 fi
26853 elif test "$wxUSE_MSW" = 1; then
26854
26855
26856 for ac_header in multimon.h ddraw.h
26857 do
26858 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26859 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26860 echo "$as_me:$LINENO: checking for $ac_header" >&5
26861 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26862 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26863 echo $ECHO_N "(cached) $ECHO_C" >&6
26864 fi
26865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26866 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26867 else
26868 # Is the header compilable?
26869 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26870 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26871 cat >conftest.$ac_ext <<_ACEOF
26872 /* confdefs.h. */
26873 _ACEOF
26874 cat confdefs.h >>conftest.$ac_ext
26875 cat >>conftest.$ac_ext <<_ACEOF
26876 /* end confdefs.h. */
26877 $ac_includes_default
26878 #include <$ac_header>
26879 _ACEOF
26880 rm -f conftest.$ac_objext
26881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26882 (eval $ac_compile) 2>conftest.er1
26883 ac_status=$?
26884 grep -v '^ *+' conftest.er1 >conftest.err
26885 rm -f conftest.er1
26886 cat conftest.err >&5
26887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26888 (exit $ac_status); } &&
26889 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26891 (eval $ac_try) 2>&5
26892 ac_status=$?
26893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26894 (exit $ac_status); }; } &&
26895 { ac_try='test -s conftest.$ac_objext'
26896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26897 (eval $ac_try) 2>&5
26898 ac_status=$?
26899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26900 (exit $ac_status); }; }; then
26901 ac_header_compiler=yes
26902 else
26903 echo "$as_me: failed program was:" >&5
26904 sed 's/^/| /' conftest.$ac_ext >&5
26905
26906 ac_header_compiler=no
26907 fi
26908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26909 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26910 echo "${ECHO_T}$ac_header_compiler" >&6
26911
26912 # Is the header present?
26913 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26914 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26915 cat >conftest.$ac_ext <<_ACEOF
26916 /* confdefs.h. */
26917 _ACEOF
26918 cat confdefs.h >>conftest.$ac_ext
26919 cat >>conftest.$ac_ext <<_ACEOF
26920 /* end confdefs.h. */
26921 #include <$ac_header>
26922 _ACEOF
26923 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26924 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26925 ac_status=$?
26926 grep -v '^ *+' conftest.er1 >conftest.err
26927 rm -f conftest.er1
26928 cat conftest.err >&5
26929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26930 (exit $ac_status); } >/dev/null; then
26931 if test -s conftest.err; then
26932 ac_cpp_err=$ac_c_preproc_warn_flag
26933 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26934 else
26935 ac_cpp_err=
26936 fi
26937 else
26938 ac_cpp_err=yes
26939 fi
26940 if test -z "$ac_cpp_err"; then
26941 ac_header_preproc=yes
26942 else
26943 echo "$as_me: failed program was:" >&5
26944 sed 's/^/| /' conftest.$ac_ext >&5
26945
26946 ac_header_preproc=no
26947 fi
26948 rm -f conftest.err conftest.$ac_ext
26949 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26950 echo "${ECHO_T}$ac_header_preproc" >&6
26951
26952 # So? What about this header?
26953 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26954 yes:no: )
26955 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26956 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26957 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26958 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26959 ac_header_preproc=yes
26960 ;;
26961 no:yes:* )
26962 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26963 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26964 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26965 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26966 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26967 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26968 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26969 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26970 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26971 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26972 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26973 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26974 (
26975 cat <<\_ASBOX
26976 ## ----------------------------------------- ##
26977 ## Report this to wx-dev@lists.wxwidgets.org ##
26978 ## ----------------------------------------- ##
26979 _ASBOX
26980 ) |
26981 sed "s/^/$as_me: WARNING: /" >&2
26982 ;;
26983 esac
26984 echo "$as_me:$LINENO: checking for $ac_header" >&5
26985 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26986 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26987 echo $ECHO_N "(cached) $ECHO_C" >&6
26988 else
26989 eval "$as_ac_Header=\$ac_header_preproc"
26990 fi
26991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26992 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26993
26994 fi
26995 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26996 cat >>confdefs.h <<_ACEOF
26997 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26998 _ACEOF
26999
27000 else
27001
27002 wxUSE_DISPLAY="no"
27003 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
27004 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
27005
27006 fi
27007
27008 done
27009
27010 fi
27011 fi
27012
27013
27014 USE_OPENGL=0
27015 if test "$wxUSE_OPENGL" = "yes"; then
27016 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27017 OPENGL_LIBS="-framework OpenGL -framework AGL"
27018 elif test "$wxUSE_MSW" = 1; then
27019 OPENGL_LIBS="-lopengl32 -lglu32"
27020 else
27021
27022
27023 ac_find_includes=
27024 for ac_dir in $SEARCH_INCLUDE /usr/include;
27025 do
27026 if test -f "$ac_dir/GL/gl.h"; then
27027 ac_find_includes=$ac_dir
27028 break
27029 fi
27030 done
27031
27032 if test "$ac_find_includes" != "" ; then
27033 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27034 echo "${ECHO_T}found in $ac_find_includes" >&6
27035
27036 if test "x$ac_find_includes" = "x/usr/include"; then
27037 ac_path_to_include=""
27038 else
27039 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
27040 result=$?
27041 if test $result = 0; then
27042 ac_path_to_include=""
27043 else
27044 ac_path_to_include=" -I$ac_find_includes"
27045 fi
27046 fi
27047
27048 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
27049 fi
27050
27051 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27052 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27053 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27054 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27055 echo $ECHO_N "(cached) $ECHO_C" >&6
27056 fi
27057 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27058 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27059 else
27060 # Is the header compilable?
27061 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
27062 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
27063 cat >conftest.$ac_ext <<_ACEOF
27064 /* confdefs.h. */
27065 _ACEOF
27066 cat confdefs.h >>conftest.$ac_ext
27067 cat >>conftest.$ac_ext <<_ACEOF
27068 /* end confdefs.h. */
27069 $ac_includes_default
27070 #include <GL/gl.h>
27071 _ACEOF
27072 rm -f conftest.$ac_objext
27073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27074 (eval $ac_compile) 2>conftest.er1
27075 ac_status=$?
27076 grep -v '^ *+' conftest.er1 >conftest.err
27077 rm -f conftest.er1
27078 cat conftest.err >&5
27079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27080 (exit $ac_status); } &&
27081 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27083 (eval $ac_try) 2>&5
27084 ac_status=$?
27085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27086 (exit $ac_status); }; } &&
27087 { ac_try='test -s conftest.$ac_objext'
27088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27089 (eval $ac_try) 2>&5
27090 ac_status=$?
27091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27092 (exit $ac_status); }; }; then
27093 ac_header_compiler=yes
27094 else
27095 echo "$as_me: failed program was:" >&5
27096 sed 's/^/| /' conftest.$ac_ext >&5
27097
27098 ac_header_compiler=no
27099 fi
27100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27101 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27102 echo "${ECHO_T}$ac_header_compiler" >&6
27103
27104 # Is the header present?
27105 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
27106 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
27107 cat >conftest.$ac_ext <<_ACEOF
27108 /* confdefs.h. */
27109 _ACEOF
27110 cat confdefs.h >>conftest.$ac_ext
27111 cat >>conftest.$ac_ext <<_ACEOF
27112 /* end confdefs.h. */
27113 #include <GL/gl.h>
27114 _ACEOF
27115 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27116 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27117 ac_status=$?
27118 grep -v '^ *+' conftest.er1 >conftest.err
27119 rm -f conftest.er1
27120 cat conftest.err >&5
27121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27122 (exit $ac_status); } >/dev/null; then
27123 if test -s conftest.err; then
27124 ac_cpp_err=$ac_c_preproc_warn_flag
27125 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27126 else
27127 ac_cpp_err=
27128 fi
27129 else
27130 ac_cpp_err=yes
27131 fi
27132 if test -z "$ac_cpp_err"; then
27133 ac_header_preproc=yes
27134 else
27135 echo "$as_me: failed program was:" >&5
27136 sed 's/^/| /' conftest.$ac_ext >&5
27137
27138 ac_header_preproc=no
27139 fi
27140 rm -f conftest.err conftest.$ac_ext
27141 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27142 echo "${ECHO_T}$ac_header_preproc" >&6
27143
27144 # So? What about this header?
27145 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27146 yes:no: )
27147 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27148 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27149 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
27150 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
27151 ac_header_preproc=yes
27152 ;;
27153 no:yes:* )
27154 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
27155 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
27156 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
27157 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
27158 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
27159 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
27160 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
27161 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
27162 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
27163 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
27164 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
27165 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
27166 (
27167 cat <<\_ASBOX
27168 ## ----------------------------------------- ##
27169 ## Report this to wx-dev@lists.wxwidgets.org ##
27170 ## ----------------------------------------- ##
27171 _ASBOX
27172 ) |
27173 sed "s/^/$as_me: WARNING: /" >&2
27174 ;;
27175 esac
27176 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27177 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27178 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27179 echo $ECHO_N "(cached) $ECHO_C" >&6
27180 else
27181 ac_cv_header_GL_gl_h=$ac_header_preproc
27182 fi
27183 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27184 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27185
27186 fi
27187 if test $ac_cv_header_GL_gl_h = yes; then
27188
27189 found_gl=0
27190
27191 echo "$as_me:$LINENO: checking for -lGL" >&5
27192 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
27193
27194 ac_find_libraries=
27195 for ac_dir in $SEARCH_LIB /usr/lib;
27196 do
27197 for ac_extension in a so sl dylib; do
27198 if test -f "$ac_dir/libGL.$ac_extension"; then
27199 ac_find_libraries=$ac_dir
27200 break 2
27201 fi
27202 done
27203 done
27204
27205 if test "$ac_find_libraries" != "" ; then
27206
27207 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27208 result=$?
27209 if test $result = 0; then
27210 ac_path_to_link=""
27211 else
27212 ac_path_to_link=" -L$ac_find_libraries"
27213 fi
27214
27215 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27216 LDFLAGS_GL="$ac_path_to_link"
27217 fi
27218
27219
27220 ac_find_libraries=
27221 for ac_dir in $SEARCH_LIB /usr/lib;
27222 do
27223 for ac_extension in a so sl dylib; do
27224 if test -f "$ac_dir/libGLU.$ac_extension"; then
27225 ac_find_libraries=$ac_dir
27226 break 2
27227 fi
27228 done
27229 done
27230
27231 if test "$ac_find_libraries" != "" ; then
27232
27233 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27234 result=$?
27235 if test $result = 0; then
27236 ac_path_to_link=""
27237 else
27238 ac_path_to_link=" -L$ac_find_libraries"
27239 fi
27240
27241 if test "$ac_path_to_link" != " -L/usr/lib" -a \
27242 "$ac_path_to_link" != "$LDFLAGS_GL"; then
27243 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
27244 fi
27245
27246 found_gl=1
27247 OPENGL_LIBS="-lGL -lGLU"
27248 echo "$as_me:$LINENO: result: yes" >&5
27249 echo "${ECHO_T}yes" >&6
27250 fi
27251 fi
27252
27253 if test "$found_gl" != 1; then
27254 echo "$as_me:$LINENO: result: no" >&5
27255 echo "${ECHO_T}no" >&6
27256 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
27257 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
27258
27259 ac_find_libraries=
27260 for ac_dir in $SEARCH_LIB /usr/lib;
27261 do
27262 for ac_extension in a so sl dylib; do
27263 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
27264 ac_find_libraries=$ac_dir
27265 break 2
27266 fi
27267 done
27268 done
27269
27270 if test "$ac_find_libraries" != "" ; then
27271
27272 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27273 result=$?
27274 if test $result = 0; then
27275 ac_path_to_link=""
27276 else
27277 ac_path_to_link=" -L$ac_find_libraries"
27278 fi
27279
27280 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
27281 OPENGL_LIBS="-lMesaGL -lMesaGLU"
27282 echo "$as_me:$LINENO: result: yes" >&5
27283 echo "${ECHO_T}yes" >&6
27284 else
27285 echo "$as_me:$LINENO: result: no" >&5
27286 echo "${ECHO_T}no" >&6
27287 fi
27288 fi
27289
27290 fi
27291
27292
27293
27294 if test "x$OPENGL_LIBS" = "x"; then
27295 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
27296 echo "$as_me: error: OpenGL libraries not available" >&2;}
27297 { (exit 1); exit 1; }; }
27298 fi
27299 fi
27300
27301 if test "$wxUSE_OPENGL" = "yes"; then
27302 USE_OPENGL=1
27303 cat >>confdefs.h <<\_ACEOF
27304 #define wxUSE_OPENGL 1
27305 _ACEOF
27306
27307 cat >>confdefs.h <<\_ACEOF
27308 #define wxUSE_GLCANVAS 1
27309 _ACEOF
27310
27311 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
27312 fi
27313 fi
27314
27315 if test -z "$TOOLKIT_VPATH" ; then
27316 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
27317 fi
27318
27319 if test -n "$TOOLKIT" ; then
27320 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
27321 fi
27322
27323 UNICODE=0
27324 lib_unicode_suffix=
27325 wxconfig_filename_unicode="ansi"
27326 if test "$wxUSE_UNICODE" = "yes"; then
27327 lib_unicode_suffix=u
27328 wxconfig_filename_unicode="unicode"
27329 UNICODE=1
27330 fi
27331
27332 lib_debug_suffix=
27333 wxconfig_filename_debug="release"
27334 DEBUG_FLAG=0
27335 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
27336 lib_debug_suffix=d
27337 wxconfig_filename_debug="debug"
27338 DEBUG_FLAG=1
27339 fi
27340
27341 DEBUG_INFO=0
27342 if test "$wxUSE_DEBUG_INFO" = "yes"; then
27343 DEBUG_INFO=1
27344 fi
27345
27346 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
27347
27348 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
27349 TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
27350
27351 WXCONFIG_DATA_FILE="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${wxconfig_filename_unicode}-${wxconfig_filename_debug}-${WX_RELEASE}"
27352
27353 if test "$cross_compiling" = "yes"; then
27354 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
27355 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
27356 WXCONFIG_DATA_FILE="${WXCONFIG_DATA_FILE}-${host_alias}"
27357 HOST_SUFFIX="-${host_alias}"
27358 fi
27359
27360 WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
27361 WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
27362 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
27363 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
27364
27365 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
27366 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
27367
27368 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
27369 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
27370 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
27371 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27372
27373 case "${host}" in
27374 *-*-cygwin* | *-*-mingw32* )
27375 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
27376 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27377 ;;
27378
27379 *-*-darwin* )
27380
27381 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
27382 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
27383
27384 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
27385 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
27386 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
27387 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27388
27389 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27390 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.${WX_CURRENT}.r"
27391 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
27392 fi
27393 ;;
27394 esac
27395
27396 WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
27397 WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
27398
27399 WXCONFIG_LIBS="-l${WX_LIBRARY}"
27400 WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
27401
27402 if test "$wxUSE_OPENGL" = "yes"; then
27403 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
27404 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
27405 fi
27406
27407
27408
27409 if test "$wxUSE_SHARED" = "yes"; then
27410 case "${host}" in
27411 *-pc-msdosdjgpp )
27412 wxUSE_SHARED=no
27413 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
27414 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
27415 ;;
27416 esac
27417 fi
27418
27419 SHARED=0
27420 if test "$wxUSE_SHARED" = "yes"; then
27421 SHARED=1
27422
27423
27424 found_versioning=no
27425
27426
27427 if test $found_versioning = no ; then
27428 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
27429 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
27430 if test "${wx_cv_version_script+set}" = set; then
27431 echo $ECHO_N "(cached) $ECHO_C" >&6
27432 else
27433
27434 echo "VER_1 { *; };" >conftest.sym
27435 echo "int main() { return 0; }" >conftest.cpp
27436
27437 if { ac_try='
27438 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
27439 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
27440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27441 (eval $ac_try) 2>&5
27442 ac_status=$?
27443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27444 (exit $ac_status); }; } ; then
27445 if test -s conftest.stderr ; then
27446 wx_cv_version_script=no
27447 else
27448 wx_cv_version_script=yes
27449 fi
27450 else
27451 wx_cv_version_script=no
27452 fi
27453 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
27454
27455 fi
27456 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
27457 echo "${ECHO_T}$wx_cv_version_script" >&6
27458 if test $wx_cv_version_script = yes ; then
27459 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
27460 fi
27461 fi
27462
27463
27464 case "${host}" in
27465 *-*-linux* | *-*-gnu* )
27466 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
27467 ;;
27468
27469 *-*-solaris2* )
27470 if test "$GCC" = yes ; then
27471 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
27472
27473 saveLdflags="$LDFLAGS"
27474 LDFLAGS="$saveLdflags -Wl,-rpath,/"
27475 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
27476 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
27477 cat >conftest.$ac_ext <<_ACEOF
27478 /* confdefs.h. */
27479 _ACEOF
27480 cat confdefs.h >>conftest.$ac_ext
27481 cat >>conftest.$ac_ext <<_ACEOF
27482 /* end confdefs.h. */
27483
27484 int
27485 main ()
27486 {
27487
27488 ;
27489 return 0;
27490 }
27491 _ACEOF
27492 rm -f conftest.$ac_objext conftest$ac_exeext
27493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27494 (eval $ac_link) 2>conftest.er1
27495 ac_status=$?
27496 grep -v '^ *+' conftest.er1 >conftest.err
27497 rm -f conftest.er1
27498 cat conftest.err >&5
27499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27500 (exit $ac_status); } &&
27501 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27503 (eval $ac_try) 2>&5
27504 ac_status=$?
27505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27506 (exit $ac_status); }; } &&
27507 { ac_try='test -s conftest$ac_exeext'
27508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27509 (eval $ac_try) 2>&5
27510 ac_status=$?
27511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27512 (exit $ac_status); }; }; then
27513
27514 echo "$as_me:$LINENO: result: yes" >&5
27515 echo "${ECHO_T}yes" >&6
27516 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
27517
27518 else
27519 echo "$as_me: failed program was:" >&5
27520 sed 's/^/| /' conftest.$ac_ext >&5
27521
27522
27523 echo "$as_me:$LINENO: result: no" >&5
27524 echo "${ECHO_T}no" >&6
27525 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
27526 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
27527 LDFLAGS="$saveLdflags -Wl,-R,/"
27528 cat >conftest.$ac_ext <<_ACEOF
27529 /* confdefs.h. */
27530 _ACEOF
27531 cat confdefs.h >>conftest.$ac_ext
27532 cat >>conftest.$ac_ext <<_ACEOF
27533 /* end confdefs.h. */
27534
27535 int
27536 main ()
27537 {
27538
27539 ;
27540 return 0;
27541 }
27542 _ACEOF
27543 rm -f conftest.$ac_objext conftest$ac_exeext
27544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27545 (eval $ac_link) 2>conftest.er1
27546 ac_status=$?
27547 grep -v '^ *+' conftest.er1 >conftest.err
27548 rm -f conftest.er1
27549 cat conftest.err >&5
27550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27551 (exit $ac_status); } &&
27552 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27554 (eval $ac_try) 2>&5
27555 ac_status=$?
27556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27557 (exit $ac_status); }; } &&
27558 { ac_try='test -s conftest$ac_exeext'
27559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27560 (eval $ac_try) 2>&5
27561 ac_status=$?
27562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27563 (exit $ac_status); }; }; then
27564
27565 echo "$as_me:$LINENO: result: yes" >&5
27566 echo "${ECHO_T}yes" >&6
27567 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
27568 else
27569 echo "$as_me: failed program was:" >&5
27570 sed 's/^/| /' conftest.$ac_ext >&5
27571
27572
27573 echo "$as_me:$LINENO: result: no" >&5
27574 echo "${ECHO_T}no" >&6
27575
27576 fi
27577 rm -f conftest.err conftest.$ac_objext \
27578 conftest$ac_exeext conftest.$ac_ext
27579
27580 fi
27581 rm -f conftest.err conftest.$ac_objext \
27582 conftest$ac_exeext conftest.$ac_ext
27583 LDFLAGS="$saveLdflags"
27584 else
27585 SHARED_LD="${CXX} -G -o"
27586 PIC_FLAG="-KPIC"
27587 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
27588 fi
27589 ;;
27590
27591 powerpc-*-darwin* )
27592 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
27593 cat <<EOF >change-install-names
27594 #!/bin/sh
27595 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
27596 inst_cmd="install_name_tool "
27597 for i in \${libnames} ; do
27598 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
27599 done
27600 \${inst_cmd} \${3}
27601 EOF
27602 chmod +x change-install-names
27603 ;;
27604
27605 *-*-cygwin* | *-*-mingw32* )
27606 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
27607 ;;
27608
27609 esac
27610
27611 if test "x$WX_TARGET_LIBRARY" = "x"; then
27612 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
27613 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
27614 fi
27615
27616 WX_TARGET_LIBRARY_TYPE="so"
27617 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
27618 fi
27619
27620 if test "$wxUSE_SHARED" = "no"; then
27621
27622 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
27623 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
27624 fi
27625
27626 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
27627 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
27628 fi
27629
27630 if test "$wxUSE_OPENGL" = "yes"; then
27631 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
27632 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
27633 else
27634 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
27635 fi
27636
27637 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
27638 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
27639
27640 WX_TARGET_LIBRARY_TYPE="a"
27641 INSTALL_LIBRARY='$(INSTALL_DATA)'
27642
27643 STATIC_FLAG="yes"
27644 else
27645 STATIC_FLAG="no"
27646 fi
27647
27648 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
27649 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
27650 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
27651 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
27652
27653 # Extract the first word of "Rez", so it can be a program name with args.
27654 set dummy Rez; ac_word=$2
27655 echo "$as_me:$LINENO: checking for $ac_word" >&5
27656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27657 if test "${ac_cv_prog_RESCOMP+set}" = set; then
27658 echo $ECHO_N "(cached) $ECHO_C" >&6
27659 else
27660 if test -n "$RESCOMP"; then
27661 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
27662 else
27663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27664 for as_dir in $PATH
27665 do
27666 IFS=$as_save_IFS
27667 test -z "$as_dir" && as_dir=.
27668 for ac_exec_ext in '' $ac_executable_extensions; do
27669 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27670 ac_cv_prog_RESCOMP="Rez"
27671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27672 break 2
27673 fi
27674 done
27675 done
27676
27677 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
27678 fi
27679 fi
27680 RESCOMP=$ac_cv_prog_RESCOMP
27681 if test -n "$RESCOMP"; then
27682 echo "$as_me:$LINENO: result: $RESCOMP" >&5
27683 echo "${ECHO_T}$RESCOMP" >&6
27684 else
27685 echo "$as_me:$LINENO: result: no" >&5
27686 echo "${ECHO_T}no" >&6
27687 fi
27688
27689 # Extract the first word of "DeRez", so it can be a program name with args.
27690 set dummy DeRez; ac_word=$2
27691 echo "$as_me:$LINENO: checking for $ac_word" >&5
27692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27693 if test "${ac_cv_prog_DEREZ+set}" = set; then
27694 echo $ECHO_N "(cached) $ECHO_C" >&6
27695 else
27696 if test -n "$DEREZ"; then
27697 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
27698 else
27699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27700 for as_dir in $PATH
27701 do
27702 IFS=$as_save_IFS
27703 test -z "$as_dir" && as_dir=.
27704 for ac_exec_ext in '' $ac_executable_extensions; do
27705 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27706 ac_cv_prog_DEREZ="DeRez"
27707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27708 break 2
27709 fi
27710 done
27711 done
27712
27713 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
27714 fi
27715 fi
27716 DEREZ=$ac_cv_prog_DEREZ
27717 if test -n "$DEREZ"; then
27718 echo "$as_me:$LINENO: result: $DEREZ" >&5
27719 echo "${ECHO_T}$DEREZ" >&6
27720 else
27721 echo "$as_me:$LINENO: result: no" >&5
27722 echo "${ECHO_T}no" >&6
27723 fi
27724
27725 # Extract the first word of "SetFile", so it can be a program name with args.
27726 set dummy SetFile; ac_word=$2
27727 echo "$as_me:$LINENO: checking for $ac_word" >&5
27728 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27729 if test "${ac_cv_prog_SETFILE+set}" = set; then
27730 echo $ECHO_N "(cached) $ECHO_C" >&6
27731 else
27732 if test -n "$SETFILE"; then
27733 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
27734 else
27735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27736 for as_dir in $PATH
27737 do
27738 IFS=$as_save_IFS
27739 test -z "$as_dir" && as_dir=.
27740 for ac_exec_ext in '' $ac_executable_extensions; do
27741 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27742 ac_cv_prog_SETFILE="SetFile"
27743 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27744 break 2
27745 fi
27746 done
27747 done
27748
27749 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
27750 fi
27751 fi
27752 SETFILE=$ac_cv_prog_SETFILE
27753 if test -n "$SETFILE"; then
27754 echo "$as_me:$LINENO: result: $SETFILE" >&5
27755 echo "${ECHO_T}$SETFILE" >&6
27756 else
27757 echo "$as_me:$LINENO: result: no" >&5
27758 echo "${ECHO_T}no" >&6
27759 fi
27760
27761
27762 MACSETFILE="\$(SETFILE)"
27763
27764 if test "$wxUSE_MAC" = 1; then
27765 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
27766
27767 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
27768 else
27769 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
27770 MACRESWXCONFIG="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
27771 fi
27772 else
27773 MACSETFILE="@#"
27774 MACRESWXCONFIG="#"
27775
27776 if test "$wxUSE_PM" = 1; then
27777 MACRESCOMP="emxbind -ep"
27778 else
27779 MACRESCOMP="@#"
27780 fi
27781 fi
27782
27783
27784
27785 echo "$as_me:$LINENO: checking for mode_t" >&5
27786 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
27787 if test "${ac_cv_type_mode_t+set}" = set; then
27788 echo $ECHO_N "(cached) $ECHO_C" >&6
27789 else
27790 cat >conftest.$ac_ext <<_ACEOF
27791 /* confdefs.h. */
27792 _ACEOF
27793 cat confdefs.h >>conftest.$ac_ext
27794 cat >>conftest.$ac_ext <<_ACEOF
27795 /* end confdefs.h. */
27796 $ac_includes_default
27797 int
27798 main ()
27799 {
27800 if ((mode_t *) 0)
27801 return 0;
27802 if (sizeof (mode_t))
27803 return 0;
27804 ;
27805 return 0;
27806 }
27807 _ACEOF
27808 rm -f conftest.$ac_objext
27809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27810 (eval $ac_compile) 2>conftest.er1
27811 ac_status=$?
27812 grep -v '^ *+' conftest.er1 >conftest.err
27813 rm -f conftest.er1
27814 cat conftest.err >&5
27815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27816 (exit $ac_status); } &&
27817 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27819 (eval $ac_try) 2>&5
27820 ac_status=$?
27821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27822 (exit $ac_status); }; } &&
27823 { ac_try='test -s conftest.$ac_objext'
27824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27825 (eval $ac_try) 2>&5
27826 ac_status=$?
27827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27828 (exit $ac_status); }; }; then
27829 ac_cv_type_mode_t=yes
27830 else
27831 echo "$as_me: failed program was:" >&5
27832 sed 's/^/| /' conftest.$ac_ext >&5
27833
27834 ac_cv_type_mode_t=no
27835 fi
27836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27837 fi
27838 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
27839 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
27840 if test $ac_cv_type_mode_t = yes; then
27841 :
27842 else
27843
27844 cat >>confdefs.h <<_ACEOF
27845 #define mode_t int
27846 _ACEOF
27847
27848 fi
27849
27850 echo "$as_me:$LINENO: checking for off_t" >&5
27851 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
27852 if test "${ac_cv_type_off_t+set}" = set; then
27853 echo $ECHO_N "(cached) $ECHO_C" >&6
27854 else
27855 cat >conftest.$ac_ext <<_ACEOF
27856 /* confdefs.h. */
27857 _ACEOF
27858 cat confdefs.h >>conftest.$ac_ext
27859 cat >>conftest.$ac_ext <<_ACEOF
27860 /* end confdefs.h. */
27861 $ac_includes_default
27862 int
27863 main ()
27864 {
27865 if ((off_t *) 0)
27866 return 0;
27867 if (sizeof (off_t))
27868 return 0;
27869 ;
27870 return 0;
27871 }
27872 _ACEOF
27873 rm -f conftest.$ac_objext
27874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27875 (eval $ac_compile) 2>conftest.er1
27876 ac_status=$?
27877 grep -v '^ *+' conftest.er1 >conftest.err
27878 rm -f conftest.er1
27879 cat conftest.err >&5
27880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27881 (exit $ac_status); } &&
27882 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27884 (eval $ac_try) 2>&5
27885 ac_status=$?
27886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27887 (exit $ac_status); }; } &&
27888 { ac_try='test -s conftest.$ac_objext'
27889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27890 (eval $ac_try) 2>&5
27891 ac_status=$?
27892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27893 (exit $ac_status); }; }; then
27894 ac_cv_type_off_t=yes
27895 else
27896 echo "$as_me: failed program was:" >&5
27897 sed 's/^/| /' conftest.$ac_ext >&5
27898
27899 ac_cv_type_off_t=no
27900 fi
27901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27902 fi
27903 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
27904 echo "${ECHO_T}$ac_cv_type_off_t" >&6
27905 if test $ac_cv_type_off_t = yes; then
27906 :
27907 else
27908
27909 cat >>confdefs.h <<_ACEOF
27910 #define off_t long
27911 _ACEOF
27912
27913 fi
27914
27915 echo "$as_me:$LINENO: checking for pid_t" >&5
27916 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
27917 if test "${ac_cv_type_pid_t+set}" = set; then
27918 echo $ECHO_N "(cached) $ECHO_C" >&6
27919 else
27920 cat >conftest.$ac_ext <<_ACEOF
27921 /* confdefs.h. */
27922 _ACEOF
27923 cat confdefs.h >>conftest.$ac_ext
27924 cat >>conftest.$ac_ext <<_ACEOF
27925 /* end confdefs.h. */
27926 $ac_includes_default
27927 int
27928 main ()
27929 {
27930 if ((pid_t *) 0)
27931 return 0;
27932 if (sizeof (pid_t))
27933 return 0;
27934 ;
27935 return 0;
27936 }
27937 _ACEOF
27938 rm -f conftest.$ac_objext
27939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27940 (eval $ac_compile) 2>conftest.er1
27941 ac_status=$?
27942 grep -v '^ *+' conftest.er1 >conftest.err
27943 rm -f conftest.er1
27944 cat conftest.err >&5
27945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27946 (exit $ac_status); } &&
27947 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27949 (eval $ac_try) 2>&5
27950 ac_status=$?
27951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27952 (exit $ac_status); }; } &&
27953 { ac_try='test -s conftest.$ac_objext'
27954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27955 (eval $ac_try) 2>&5
27956 ac_status=$?
27957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27958 (exit $ac_status); }; }; then
27959 ac_cv_type_pid_t=yes
27960 else
27961 echo "$as_me: failed program was:" >&5
27962 sed 's/^/| /' conftest.$ac_ext >&5
27963
27964 ac_cv_type_pid_t=no
27965 fi
27966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27967 fi
27968 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
27969 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
27970 if test $ac_cv_type_pid_t = yes; then
27971 :
27972 else
27973
27974 cat >>confdefs.h <<_ACEOF
27975 #define pid_t int
27976 _ACEOF
27977
27978 fi
27979
27980 echo "$as_me:$LINENO: checking for size_t" >&5
27981 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
27982 if test "${ac_cv_type_size_t+set}" = set; then
27983 echo $ECHO_N "(cached) $ECHO_C" >&6
27984 else
27985 cat >conftest.$ac_ext <<_ACEOF
27986 /* confdefs.h. */
27987 _ACEOF
27988 cat confdefs.h >>conftest.$ac_ext
27989 cat >>conftest.$ac_ext <<_ACEOF
27990 /* end confdefs.h. */
27991 $ac_includes_default
27992 int
27993 main ()
27994 {
27995 if ((size_t *) 0)
27996 return 0;
27997 if (sizeof (size_t))
27998 return 0;
27999 ;
28000 return 0;
28001 }
28002 _ACEOF
28003 rm -f conftest.$ac_objext
28004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28005 (eval $ac_compile) 2>conftest.er1
28006 ac_status=$?
28007 grep -v '^ *+' conftest.er1 >conftest.err
28008 rm -f conftest.er1
28009 cat conftest.err >&5
28010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28011 (exit $ac_status); } &&
28012 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28014 (eval $ac_try) 2>&5
28015 ac_status=$?
28016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28017 (exit $ac_status); }; } &&
28018 { ac_try='test -s conftest.$ac_objext'
28019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28020 (eval $ac_try) 2>&5
28021 ac_status=$?
28022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28023 (exit $ac_status); }; }; then
28024 ac_cv_type_size_t=yes
28025 else
28026 echo "$as_me: failed program was:" >&5
28027 sed 's/^/| /' conftest.$ac_ext >&5
28028
28029 ac_cv_type_size_t=no
28030 fi
28031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28032 fi
28033 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28034 echo "${ECHO_T}$ac_cv_type_size_t" >&6
28035 if test $ac_cv_type_size_t = yes; then
28036 :
28037 else
28038
28039 cat >>confdefs.h <<_ACEOF
28040 #define size_t unsigned
28041 _ACEOF
28042
28043 fi
28044
28045 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28046 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28047 if test "${ac_cv_type_uid_t+set}" = set; then
28048 echo $ECHO_N "(cached) $ECHO_C" >&6
28049 else
28050 cat >conftest.$ac_ext <<_ACEOF
28051 /* confdefs.h. */
28052 _ACEOF
28053 cat confdefs.h >>conftest.$ac_ext
28054 cat >>conftest.$ac_ext <<_ACEOF
28055 /* end confdefs.h. */
28056 #include <sys/types.h>
28057
28058 _ACEOF
28059 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28060 $EGREP "uid_t" >/dev/null 2>&1; then
28061 ac_cv_type_uid_t=yes
28062 else
28063 ac_cv_type_uid_t=no
28064 fi
28065 rm -f conftest*
28066
28067 fi
28068 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28069 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28070 if test $ac_cv_type_uid_t = no; then
28071
28072 cat >>confdefs.h <<\_ACEOF
28073 #define uid_t int
28074 _ACEOF
28075
28076
28077 cat >>confdefs.h <<\_ACEOF
28078 #define gid_t int
28079 _ACEOF
28080
28081 fi
28082
28083
28084
28085
28086 ac_ext=cc
28087 ac_cpp='$CXXCPP $CPPFLAGS'
28088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28091
28092 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
28093 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
28094 if test "${wx_cv_size_t_is_uint+set}" = set; then
28095 echo $ECHO_N "(cached) $ECHO_C" >&6
28096 else
28097
28098 cat >conftest.$ac_ext <<_ACEOF
28099 /* confdefs.h. */
28100 _ACEOF
28101 cat confdefs.h >>conftest.$ac_ext
28102 cat >>conftest.$ac_ext <<_ACEOF
28103 /* end confdefs.h. */
28104 #include <stddef.h>
28105 int
28106 main ()
28107 {
28108
28109 return 0; }
28110
28111 struct Foo { void foo(size_t); void foo(unsigned int); };
28112
28113 int bar() {
28114
28115 ;
28116 return 0;
28117 }
28118 _ACEOF
28119 rm -f conftest.$ac_objext
28120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28121 (eval $ac_compile) 2>conftest.er1
28122 ac_status=$?
28123 grep -v '^ *+' conftest.er1 >conftest.err
28124 rm -f conftest.er1
28125 cat conftest.err >&5
28126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28127 (exit $ac_status); } &&
28128 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28130 (eval $ac_try) 2>&5
28131 ac_status=$?
28132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28133 (exit $ac_status); }; } &&
28134 { ac_try='test -s conftest.$ac_objext'
28135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28136 (eval $ac_try) 2>&5
28137 ac_status=$?
28138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28139 (exit $ac_status); }; }; then
28140 wx_cv_size_t_is_uint=no
28141 else
28142 echo "$as_me: failed program was:" >&5
28143 sed 's/^/| /' conftest.$ac_ext >&5
28144
28145 wx_cv_size_t_is_uint=yes
28146
28147 fi
28148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28149
28150
28151 fi
28152 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
28153 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
28154
28155 if test "$wx_cv_size_t_is_uint" = "yes"; then
28156 cat >>confdefs.h <<\_ACEOF
28157 #define wxSIZE_T_IS_UINT 1
28158 _ACEOF
28159
28160 else
28161 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
28162 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
28163 if test "${wx_cv_size_t_is_ulong+set}" = set; then
28164 echo $ECHO_N "(cached) $ECHO_C" >&6
28165 else
28166 cat >conftest.$ac_ext <<_ACEOF
28167 /* confdefs.h. */
28168 _ACEOF
28169 cat confdefs.h >>conftest.$ac_ext
28170 cat >>conftest.$ac_ext <<_ACEOF
28171 /* end confdefs.h. */
28172 #include <stddef.h>
28173 int
28174 main ()
28175 {
28176
28177 return 0; }
28178
28179 struct Foo { void foo(size_t); void foo(unsigned long); };
28180
28181 int bar() {
28182
28183 ;
28184 return 0;
28185 }
28186 _ACEOF
28187 rm -f conftest.$ac_objext
28188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28189 (eval $ac_compile) 2>conftest.er1
28190 ac_status=$?
28191 grep -v '^ *+' conftest.er1 >conftest.err
28192 rm -f conftest.er1
28193 cat conftest.err >&5
28194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28195 (exit $ac_status); } &&
28196 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28198 (eval $ac_try) 2>&5
28199 ac_status=$?
28200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28201 (exit $ac_status); }; } &&
28202 { ac_try='test -s conftest.$ac_objext'
28203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28204 (eval $ac_try) 2>&5
28205 ac_status=$?
28206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28207 (exit $ac_status); }; }; then
28208 wx_cv_size_t_is_ulong=no
28209 else
28210 echo "$as_me: failed program was:" >&5
28211 sed 's/^/| /' conftest.$ac_ext >&5
28212
28213 wx_cv_size_t_is_ulong=yes
28214
28215 fi
28216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28217
28218 fi
28219 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
28220 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
28221
28222 if test "$wx_cv_size_t_is_ulong" = "yes"; then
28223 cat >>confdefs.h <<\_ACEOF
28224 #define wxSIZE_T_IS_ULONG 1
28225 _ACEOF
28226
28227 fi
28228 fi
28229
28230 ac_ext=c
28231 ac_cpp='$CPP $CPPFLAGS'
28232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28235
28236
28237
28238 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
28239 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
28240 if test "${wx_cv_struct_pw_gecos+set}" = set; then
28241 echo $ECHO_N "(cached) $ECHO_C" >&6
28242 else
28243
28244 cat >conftest.$ac_ext <<_ACEOF
28245 /* confdefs.h. */
28246 _ACEOF
28247 cat confdefs.h >>conftest.$ac_ext
28248 cat >>conftest.$ac_ext <<_ACEOF
28249 /* end confdefs.h. */
28250 #include <pwd.h>
28251 int
28252 main ()
28253 {
28254
28255 char *p;
28256 struct passwd *pw;
28257 p = pw->pw_gecos;
28258
28259 ;
28260 return 0;
28261 }
28262 _ACEOF
28263 rm -f conftest.$ac_objext
28264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28265 (eval $ac_compile) 2>conftest.er1
28266 ac_status=$?
28267 grep -v '^ *+' conftest.er1 >conftest.err
28268 rm -f conftest.er1
28269 cat conftest.err >&5
28270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28271 (exit $ac_status); } &&
28272 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28274 (eval $ac_try) 2>&5
28275 ac_status=$?
28276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28277 (exit $ac_status); }; } &&
28278 { ac_try='test -s conftest.$ac_objext'
28279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28280 (eval $ac_try) 2>&5
28281 ac_status=$?
28282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28283 (exit $ac_status); }; }; then
28284
28285 wx_cv_struct_pw_gecos=yes
28286
28287 else
28288 echo "$as_me: failed program was:" >&5
28289 sed 's/^/| /' conftest.$ac_ext >&5
28290
28291
28292 wx_cv_struct_pw_gecos=no
28293
28294
28295 fi
28296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28297
28298
28299 fi
28300 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
28301 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
28302
28303 if test "$wx_cv_struct_pw_gecos" = "yes"; then
28304 cat >>confdefs.h <<\_ACEOF
28305 #define HAVE_PW_GECOS 1
28306 _ACEOF
28307
28308 fi
28309
28310
28311 if test "$wx_cv_sizeof_wchar_t" != "0"; then
28312 cat >>confdefs.h <<\_ACEOF
28313 #define wxUSE_WCHAR_T 1
28314 _ACEOF
28315
28316
28317 WCSLEN_FOUND=0
28318 WCHAR_LINK=
28319
28320 for ac_func in wcslen
28321 do
28322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28323 echo "$as_me:$LINENO: checking for $ac_func" >&5
28324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28325 if eval "test \"\${$as_ac_var+set}\" = set"; then
28326 echo $ECHO_N "(cached) $ECHO_C" >&6
28327 else
28328 cat >conftest.$ac_ext <<_ACEOF
28329 /* confdefs.h. */
28330 _ACEOF
28331 cat confdefs.h >>conftest.$ac_ext
28332 cat >>conftest.$ac_ext <<_ACEOF
28333 /* end confdefs.h. */
28334 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28336 #define $ac_func innocuous_$ac_func
28337
28338 /* System header to define __stub macros and hopefully few prototypes,
28339 which can conflict with char $ac_func (); below.
28340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28341 <limits.h> exists even on freestanding compilers. */
28342
28343 #ifdef __STDC__
28344 # include <limits.h>
28345 #else
28346 # include <assert.h>
28347 #endif
28348
28349 #undef $ac_func
28350
28351 /* Override any gcc2 internal prototype to avoid an error. */
28352 #ifdef __cplusplus
28353 extern "C"
28354 {
28355 #endif
28356 /* We use char because int might match the return type of a gcc2
28357 builtin and then its argument prototype would still apply. */
28358 char $ac_func ();
28359 /* The GNU C library defines this for functions which it implements
28360 to always fail with ENOSYS. Some functions are actually named
28361 something starting with __ and the normal name is an alias. */
28362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28363 choke me
28364 #else
28365 char (*f) () = $ac_func;
28366 #endif
28367 #ifdef __cplusplus
28368 }
28369 #endif
28370
28371 int
28372 main ()
28373 {
28374 return f != $ac_func;
28375 ;
28376 return 0;
28377 }
28378 _ACEOF
28379 rm -f conftest.$ac_objext conftest$ac_exeext
28380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28381 (eval $ac_link) 2>conftest.er1
28382 ac_status=$?
28383 grep -v '^ *+' conftest.er1 >conftest.err
28384 rm -f conftest.er1
28385 cat conftest.err >&5
28386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28387 (exit $ac_status); } &&
28388 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28390 (eval $ac_try) 2>&5
28391 ac_status=$?
28392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28393 (exit $ac_status); }; } &&
28394 { ac_try='test -s conftest$ac_exeext'
28395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28396 (eval $ac_try) 2>&5
28397 ac_status=$?
28398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28399 (exit $ac_status); }; }; then
28400 eval "$as_ac_var=yes"
28401 else
28402 echo "$as_me: failed program was:" >&5
28403 sed 's/^/| /' conftest.$ac_ext >&5
28404
28405 eval "$as_ac_var=no"
28406 fi
28407 rm -f conftest.err conftest.$ac_objext \
28408 conftest$ac_exeext conftest.$ac_ext
28409 fi
28410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28412 if test `eval echo '${'$as_ac_var'}'` = yes; then
28413 cat >>confdefs.h <<_ACEOF
28414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28415 _ACEOF
28416 WCSLEN_FOUND=1
28417 fi
28418 done
28419
28420
28421 if test "$WCSLEN_FOUND" = 0; then
28422 if test "$TOOLKIT" = "MSW"; then
28423 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
28424 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
28425 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
28426 echo $ECHO_N "(cached) $ECHO_C" >&6
28427 else
28428 ac_check_lib_save_LIBS=$LIBS
28429 LIBS="-lmsvcrt $LIBS"
28430 cat >conftest.$ac_ext <<_ACEOF
28431 /* confdefs.h. */
28432 _ACEOF
28433 cat confdefs.h >>conftest.$ac_ext
28434 cat >>conftest.$ac_ext <<_ACEOF
28435 /* end confdefs.h. */
28436
28437 /* Override any gcc2 internal prototype to avoid an error. */
28438 #ifdef __cplusplus
28439 extern "C"
28440 #endif
28441 /* We use char because int might match the return type of a gcc2
28442 builtin and then its argument prototype would still apply. */
28443 char wcslen ();
28444 int
28445 main ()
28446 {
28447 wcslen ();
28448 ;
28449 return 0;
28450 }
28451 _ACEOF
28452 rm -f conftest.$ac_objext conftest$ac_exeext
28453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28454 (eval $ac_link) 2>conftest.er1
28455 ac_status=$?
28456 grep -v '^ *+' conftest.er1 >conftest.err
28457 rm -f conftest.er1
28458 cat conftest.err >&5
28459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28460 (exit $ac_status); } &&
28461 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28463 (eval $ac_try) 2>&5
28464 ac_status=$?
28465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28466 (exit $ac_status); }; } &&
28467 { ac_try='test -s conftest$ac_exeext'
28468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28469 (eval $ac_try) 2>&5
28470 ac_status=$?
28471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28472 (exit $ac_status); }; }; then
28473 ac_cv_lib_msvcrt_wcslen=yes
28474 else
28475 echo "$as_me: failed program was:" >&5
28476 sed 's/^/| /' conftest.$ac_ext >&5
28477
28478 ac_cv_lib_msvcrt_wcslen=no
28479 fi
28480 rm -f conftest.err conftest.$ac_objext \
28481 conftest$ac_exeext conftest.$ac_ext
28482 LIBS=$ac_check_lib_save_LIBS
28483 fi
28484 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
28485 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
28486 if test $ac_cv_lib_msvcrt_wcslen = yes; then
28487 WCHAR_OK=1
28488 fi
28489
28490 else
28491 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
28492 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
28493 if test "${ac_cv_lib_w_wcslen+set}" = set; then
28494 echo $ECHO_N "(cached) $ECHO_C" >&6
28495 else
28496 ac_check_lib_save_LIBS=$LIBS
28497 LIBS="-lw $LIBS"
28498 cat >conftest.$ac_ext <<_ACEOF
28499 /* confdefs.h. */
28500 _ACEOF
28501 cat confdefs.h >>conftest.$ac_ext
28502 cat >>conftest.$ac_ext <<_ACEOF
28503 /* end confdefs.h. */
28504
28505 /* Override any gcc2 internal prototype to avoid an error. */
28506 #ifdef __cplusplus
28507 extern "C"
28508 #endif
28509 /* We use char because int might match the return type of a gcc2
28510 builtin and then its argument prototype would still apply. */
28511 char wcslen ();
28512 int
28513 main ()
28514 {
28515 wcslen ();
28516 ;
28517 return 0;
28518 }
28519 _ACEOF
28520 rm -f conftest.$ac_objext conftest$ac_exeext
28521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28522 (eval $ac_link) 2>conftest.er1
28523 ac_status=$?
28524 grep -v '^ *+' conftest.er1 >conftest.err
28525 rm -f conftest.er1
28526 cat conftest.err >&5
28527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28528 (exit $ac_status); } &&
28529 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28531 (eval $ac_try) 2>&5
28532 ac_status=$?
28533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28534 (exit $ac_status); }; } &&
28535 { ac_try='test -s conftest$ac_exeext'
28536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28537 (eval $ac_try) 2>&5
28538 ac_status=$?
28539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28540 (exit $ac_status); }; }; then
28541 ac_cv_lib_w_wcslen=yes
28542 else
28543 echo "$as_me: failed program was:" >&5
28544 sed 's/^/| /' conftest.$ac_ext >&5
28545
28546 ac_cv_lib_w_wcslen=no
28547 fi
28548 rm -f conftest.err conftest.$ac_objext \
28549 conftest$ac_exeext conftest.$ac_ext
28550 LIBS=$ac_check_lib_save_LIBS
28551 fi
28552 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
28553 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
28554 if test $ac_cv_lib_w_wcslen = yes; then
28555
28556 WCHAR_LINK=" -lw"
28557 WCSLEN_FOUND=1
28558
28559 fi
28560
28561 fi
28562 fi
28563
28564 if test "$WCSLEN_FOUND" = 1; then
28565 cat >>confdefs.h <<\_ACEOF
28566 #define HAVE_WCSLEN 1
28567 _ACEOF
28568
28569 fi
28570
28571 if test "$USE_HPUX" = 1 -a "x$GCC" != "xyes"; then
28572 CPPFLAGS="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
28573 fi
28574
28575
28576 for ac_func in wcsrtombs
28577 do
28578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28579 echo "$as_me:$LINENO: checking for $ac_func" >&5
28580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28581 if eval "test \"\${$as_ac_var+set}\" = set"; then
28582 echo $ECHO_N "(cached) $ECHO_C" >&6
28583 else
28584 cat >conftest.$ac_ext <<_ACEOF
28585 /* confdefs.h. */
28586 _ACEOF
28587 cat confdefs.h >>conftest.$ac_ext
28588 cat >>conftest.$ac_ext <<_ACEOF
28589 /* end confdefs.h. */
28590 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28591 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28592 #define $ac_func innocuous_$ac_func
28593
28594 /* System header to define __stub macros and hopefully few prototypes,
28595 which can conflict with char $ac_func (); below.
28596 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28597 <limits.h> exists even on freestanding compilers. */
28598
28599 #ifdef __STDC__
28600 # include <limits.h>
28601 #else
28602 # include <assert.h>
28603 #endif
28604
28605 #undef $ac_func
28606
28607 /* Override any gcc2 internal prototype to avoid an error. */
28608 #ifdef __cplusplus
28609 extern "C"
28610 {
28611 #endif
28612 /* We use char because int might match the return type of a gcc2
28613 builtin and then its argument prototype would still apply. */
28614 char $ac_func ();
28615 /* The GNU C library defines this for functions which it implements
28616 to always fail with ENOSYS. Some functions are actually named
28617 something starting with __ and the normal name is an alias. */
28618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28619 choke me
28620 #else
28621 char (*f) () = $ac_func;
28622 #endif
28623 #ifdef __cplusplus
28624 }
28625 #endif
28626
28627 int
28628 main ()
28629 {
28630 return f != $ac_func;
28631 ;
28632 return 0;
28633 }
28634 _ACEOF
28635 rm -f conftest.$ac_objext conftest$ac_exeext
28636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28637 (eval $ac_link) 2>conftest.er1
28638 ac_status=$?
28639 grep -v '^ *+' conftest.er1 >conftest.err
28640 rm -f conftest.er1
28641 cat conftest.err >&5
28642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28643 (exit $ac_status); } &&
28644 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28646 (eval $ac_try) 2>&5
28647 ac_status=$?
28648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28649 (exit $ac_status); }; } &&
28650 { ac_try='test -s conftest$ac_exeext'
28651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28652 (eval $ac_try) 2>&5
28653 ac_status=$?
28654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28655 (exit $ac_status); }; }; then
28656 eval "$as_ac_var=yes"
28657 else
28658 echo "$as_me: failed program was:" >&5
28659 sed 's/^/| /' conftest.$ac_ext >&5
28660
28661 eval "$as_ac_var=no"
28662 fi
28663 rm -f conftest.err conftest.$ac_objext \
28664 conftest$ac_exeext conftest.$ac_ext
28665 fi
28666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28668 if test `eval echo '${'$as_ac_var'}'` = yes; then
28669 cat >>confdefs.h <<_ACEOF
28670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28671 _ACEOF
28672
28673 fi
28674 done
28675
28676 else
28677 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
28678 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
28679 fi
28680
28681
28682
28683 ac_ext=cc
28684 ac_cpp='$CXXCPP $CPPFLAGS'
28685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28688
28689
28690
28691 for ac_func in vsnprintf
28692 do
28693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28694 echo "$as_me:$LINENO: checking for $ac_func" >&5
28695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28696 if eval "test \"\${$as_ac_var+set}\" = set"; then
28697 echo $ECHO_N "(cached) $ECHO_C" >&6
28698 else
28699 cat >conftest.$ac_ext <<_ACEOF
28700 /* confdefs.h. */
28701 _ACEOF
28702 cat confdefs.h >>conftest.$ac_ext
28703 cat >>conftest.$ac_ext <<_ACEOF
28704 /* end confdefs.h. */
28705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28707 #define $ac_func innocuous_$ac_func
28708
28709 /* System header to define __stub macros and hopefully few prototypes,
28710 which can conflict with char $ac_func (); below.
28711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28712 <limits.h> exists even on freestanding compilers. */
28713
28714 #ifdef __STDC__
28715 # include <limits.h>
28716 #else
28717 # include <assert.h>
28718 #endif
28719
28720 #undef $ac_func
28721
28722 /* Override any gcc2 internal prototype to avoid an error. */
28723 #ifdef __cplusplus
28724 extern "C"
28725 {
28726 #endif
28727 /* We use char because int might match the return type of a gcc2
28728 builtin and then its argument prototype would still apply. */
28729 char $ac_func ();
28730 /* The GNU C library defines this for functions which it implements
28731 to always fail with ENOSYS. Some functions are actually named
28732 something starting with __ and the normal name is an alias. */
28733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28734 choke me
28735 #else
28736 char (*f) () = $ac_func;
28737 #endif
28738 #ifdef __cplusplus
28739 }
28740 #endif
28741
28742 int
28743 main ()
28744 {
28745 return f != $ac_func;
28746 ;
28747 return 0;
28748 }
28749 _ACEOF
28750 rm -f conftest.$ac_objext conftest$ac_exeext
28751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28752 (eval $ac_link) 2>conftest.er1
28753 ac_status=$?
28754 grep -v '^ *+' conftest.er1 >conftest.err
28755 rm -f conftest.er1
28756 cat conftest.err >&5
28757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28758 (exit $ac_status); } &&
28759 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28761 (eval $ac_try) 2>&5
28762 ac_status=$?
28763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28764 (exit $ac_status); }; } &&
28765 { ac_try='test -s conftest$ac_exeext'
28766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28767 (eval $ac_try) 2>&5
28768 ac_status=$?
28769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28770 (exit $ac_status); }; }; then
28771 eval "$as_ac_var=yes"
28772 else
28773 echo "$as_me: failed program was:" >&5
28774 sed 's/^/| /' conftest.$ac_ext >&5
28775
28776 eval "$as_ac_var=no"
28777 fi
28778 rm -f conftest.err conftest.$ac_objext \
28779 conftest$ac_exeext conftest.$ac_ext
28780 fi
28781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28782 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28783 if test `eval echo '${'$as_ac_var'}'` = yes; then
28784 cat >>confdefs.h <<_ACEOF
28785 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28786 _ACEOF
28787
28788 fi
28789 done
28790
28791
28792 if test "$ac_cv_func_vsnprintf" = "yes"; then
28793 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
28794 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
28795 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
28796 echo $ECHO_N "(cached) $ECHO_C" >&6
28797 else
28798
28799 cat >conftest.$ac_ext <<_ACEOF
28800 /* confdefs.h. */
28801 _ACEOF
28802 cat confdefs.h >>conftest.$ac_ext
28803 cat >>conftest.$ac_ext <<_ACEOF
28804 /* end confdefs.h. */
28805
28806 #include <stdio.h>
28807 #include <stdarg.h>
28808
28809 int
28810 main ()
28811 {
28812
28813 char *buf;
28814 va_list ap;
28815 vsnprintf(buf, 10u, "%s", ap);
28816
28817 ;
28818 return 0;
28819 }
28820 _ACEOF
28821 rm -f conftest.$ac_objext
28822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28823 (eval $ac_compile) 2>conftest.er1
28824 ac_status=$?
28825 grep -v '^ *+' conftest.er1 >conftest.err
28826 rm -f conftest.er1
28827 cat conftest.err >&5
28828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28829 (exit $ac_status); } &&
28830 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28832 (eval $ac_try) 2>&5
28833 ac_status=$?
28834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28835 (exit $ac_status); }; } &&
28836 { ac_try='test -s conftest.$ac_objext'
28837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28838 (eval $ac_try) 2>&5
28839 ac_status=$?
28840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28841 (exit $ac_status); }; }; then
28842 wx_cv_func_vsnprintf_decl=yes
28843 else
28844 echo "$as_me: failed program was:" >&5
28845 sed 's/^/| /' conftest.$ac_ext >&5
28846
28847 wx_cv_func_vsnprintf_decl=no
28848
28849 fi
28850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28851
28852
28853 fi
28854 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
28855 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
28856
28857 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
28858 cat >>confdefs.h <<\_ACEOF
28859 #define HAVE_VSNPRINTF_DECL 1
28860 _ACEOF
28861
28862 fi
28863 fi
28864
28865 if test "$wxUSE_UNICODE" = yes; then
28866
28867
28868
28869
28870
28871
28872 for ac_func in wputc wputchar putws fputws wprintf vswprintf
28873 do
28874 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28875 echo "$as_me:$LINENO: checking for $ac_func" >&5
28876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28877 if eval "test \"\${$as_ac_var+set}\" = set"; then
28878 echo $ECHO_N "(cached) $ECHO_C" >&6
28879 else
28880 cat >conftest.$ac_ext <<_ACEOF
28881 /* confdefs.h. */
28882 _ACEOF
28883 cat confdefs.h >>conftest.$ac_ext
28884 cat >>conftest.$ac_ext <<_ACEOF
28885 /* end confdefs.h. */
28886 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28888 #define $ac_func innocuous_$ac_func
28889
28890 /* System header to define __stub macros and hopefully few prototypes,
28891 which can conflict with char $ac_func (); below.
28892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28893 <limits.h> exists even on freestanding compilers. */
28894
28895 #ifdef __STDC__
28896 # include <limits.h>
28897 #else
28898 # include <assert.h>
28899 #endif
28900
28901 #undef $ac_func
28902
28903 /* Override any gcc2 internal prototype to avoid an error. */
28904 #ifdef __cplusplus
28905 extern "C"
28906 {
28907 #endif
28908 /* We use char because int might match the return type of a gcc2
28909 builtin and then its argument prototype would still apply. */
28910 char $ac_func ();
28911 /* The GNU C library defines this for functions which it implements
28912 to always fail with ENOSYS. Some functions are actually named
28913 something starting with __ and the normal name is an alias. */
28914 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28915 choke me
28916 #else
28917 char (*f) () = $ac_func;
28918 #endif
28919 #ifdef __cplusplus
28920 }
28921 #endif
28922
28923 int
28924 main ()
28925 {
28926 return f != $ac_func;
28927 ;
28928 return 0;
28929 }
28930 _ACEOF
28931 rm -f conftest.$ac_objext conftest$ac_exeext
28932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28933 (eval $ac_link) 2>conftest.er1
28934 ac_status=$?
28935 grep -v '^ *+' conftest.er1 >conftest.err
28936 rm -f conftest.er1
28937 cat conftest.err >&5
28938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28939 (exit $ac_status); } &&
28940 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28942 (eval $ac_try) 2>&5
28943 ac_status=$?
28944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28945 (exit $ac_status); }; } &&
28946 { ac_try='test -s conftest$ac_exeext'
28947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28948 (eval $ac_try) 2>&5
28949 ac_status=$?
28950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28951 (exit $ac_status); }; }; then
28952 eval "$as_ac_var=yes"
28953 else
28954 echo "$as_me: failed program was:" >&5
28955 sed 's/^/| /' conftest.$ac_ext >&5
28956
28957 eval "$as_ac_var=no"
28958 fi
28959 rm -f conftest.err conftest.$ac_objext \
28960 conftest$ac_exeext conftest.$ac_ext
28961 fi
28962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28964 if test `eval echo '${'$as_ac_var'}'` = yes; then
28965 cat >>confdefs.h <<_ACEOF
28966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28967 _ACEOF
28968
28969 fi
28970 done
28971
28972
28973 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
28974 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
28975 cat >conftest.$ac_ext <<_ACEOF
28976 /* confdefs.h. */
28977 _ACEOF
28978 cat confdefs.h >>conftest.$ac_ext
28979 cat >>conftest.$ac_ext <<_ACEOF
28980 /* end confdefs.h. */
28981 #include <wchar.h>
28982 int
28983 main ()
28984 {
28985 &_vsnwprintf;
28986 ;
28987 return 0;
28988 }
28989 _ACEOF
28990 rm -f conftest.$ac_objext
28991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28992 (eval $ac_compile) 2>conftest.er1
28993 ac_status=$?
28994 grep -v '^ *+' conftest.er1 >conftest.err
28995 rm -f conftest.er1
28996 cat conftest.err >&5
28997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28998 (exit $ac_status); } &&
28999 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29001 (eval $ac_try) 2>&5
29002 ac_status=$?
29003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29004 (exit $ac_status); }; } &&
29005 { ac_try='test -s conftest.$ac_objext'
29006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29007 (eval $ac_try) 2>&5
29008 ac_status=$?
29009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29010 (exit $ac_status); }; }; then
29011 echo "$as_me:$LINENO: result: yes" >&5
29012 echo "${ECHO_T}yes" >&6
29013 cat >>confdefs.h <<\_ACEOF
29014 #define HAVE__VSNWPRINTF 1
29015 _ACEOF
29016
29017 else
29018 echo "$as_me: failed program was:" >&5
29019 sed 's/^/| /' conftest.$ac_ext >&5
29020
29021 echo "$as_me:$LINENO: result: no" >&5
29022 echo "${ECHO_T}no" >&6
29023 fi
29024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
29025 fi
29026
29027 ac_ext=c
29028 ac_cpp='$CPP $CPPFLAGS'
29029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29032
29033
29034
29035
29036 if test "$TOOLKIT" != "MSW"; then
29037
29038
29039
29040
29041 ac_ext=cc
29042 ac_cpp='$CXXCPP $CPPFLAGS'
29043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29046
29047
29048
29049
29050 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
29051 if test "${with_libiconv_prefix+set}" = set; then
29052 withval="$with_libiconv_prefix"
29053
29054 for dir in `echo "$withval" | tr : ' '`; do
29055 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
29056 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
29057 done
29058
29059 fi;
29060
29061 echo "$as_me:$LINENO: checking for iconv" >&5
29062 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
29063 if test "${am_cv_func_iconv+set}" = set; then
29064 echo $ECHO_N "(cached) $ECHO_C" >&6
29065 else
29066
29067 am_cv_func_iconv="no, consider installing GNU libiconv"
29068 am_cv_lib_iconv=no
29069 cat >conftest.$ac_ext <<_ACEOF
29070 /* confdefs.h. */
29071 _ACEOF
29072 cat confdefs.h >>conftest.$ac_ext
29073 cat >>conftest.$ac_ext <<_ACEOF
29074 /* end confdefs.h. */
29075 #include <stdlib.h>
29076 #include <iconv.h>
29077 int
29078 main ()
29079 {
29080 iconv_t cd = iconv_open("","");
29081 iconv(cd,NULL,NULL,NULL,NULL);
29082 iconv_close(cd);
29083 ;
29084 return 0;
29085 }
29086 _ACEOF
29087 rm -f conftest.$ac_objext conftest$ac_exeext
29088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29089 (eval $ac_link) 2>conftest.er1
29090 ac_status=$?
29091 grep -v '^ *+' conftest.er1 >conftest.err
29092 rm -f conftest.er1
29093 cat conftest.err >&5
29094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29095 (exit $ac_status); } &&
29096 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29098 (eval $ac_try) 2>&5
29099 ac_status=$?
29100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29101 (exit $ac_status); }; } &&
29102 { ac_try='test -s conftest$ac_exeext'
29103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29104 (eval $ac_try) 2>&5
29105 ac_status=$?
29106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29107 (exit $ac_status); }; }; then
29108 am_cv_func_iconv=yes
29109 else
29110 echo "$as_me: failed program was:" >&5
29111 sed 's/^/| /' conftest.$ac_ext >&5
29112
29113 fi
29114 rm -f conftest.err conftest.$ac_objext \
29115 conftest$ac_exeext conftest.$ac_ext
29116 if test "$am_cv_func_iconv" != yes; then
29117 am_save_LIBS="$LIBS"
29118 LIBS="$LIBS -liconv"
29119 cat >conftest.$ac_ext <<_ACEOF
29120 /* confdefs.h. */
29121 _ACEOF
29122 cat confdefs.h >>conftest.$ac_ext
29123 cat >>conftest.$ac_ext <<_ACEOF
29124 /* end confdefs.h. */
29125 #include <stdlib.h>
29126 #include <iconv.h>
29127 int
29128 main ()
29129 {
29130 iconv_t cd = iconv_open("","");
29131 iconv(cd,NULL,NULL,NULL,NULL);
29132 iconv_close(cd);
29133 ;
29134 return 0;
29135 }
29136 _ACEOF
29137 rm -f conftest.$ac_objext conftest$ac_exeext
29138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29139 (eval $ac_link) 2>conftest.er1
29140 ac_status=$?
29141 grep -v '^ *+' conftest.er1 >conftest.err
29142 rm -f conftest.er1
29143 cat conftest.err >&5
29144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29145 (exit $ac_status); } &&
29146 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29148 (eval $ac_try) 2>&5
29149 ac_status=$?
29150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29151 (exit $ac_status); }; } &&
29152 { ac_try='test -s conftest$ac_exeext'
29153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29154 (eval $ac_try) 2>&5
29155 ac_status=$?
29156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29157 (exit $ac_status); }; }; then
29158 am_cv_lib_iconv=yes
29159 am_cv_func_iconv=yes
29160 else
29161 echo "$as_me: failed program was:" >&5
29162 sed 's/^/| /' conftest.$ac_ext >&5
29163
29164 fi
29165 rm -f conftest.err conftest.$ac_objext \
29166 conftest$ac_exeext conftest.$ac_ext
29167 LIBS="$am_save_LIBS"
29168 fi
29169
29170 fi
29171 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
29172 echo "${ECHO_T}$am_cv_func_iconv" >&6
29173 if test "$am_cv_func_iconv" = yes; then
29174
29175 cat >>confdefs.h <<\_ACEOF
29176 #define HAVE_ICONV 1
29177 _ACEOF
29178
29179 echo "$as_me:$LINENO: checking if iconv needs const" >&5
29180 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
29181 if test "${wx_cv_func_iconv_const+set}" = set; then
29182 echo $ECHO_N "(cached) $ECHO_C" >&6
29183 else
29184 cat >conftest.$ac_ext <<_ACEOF
29185 /* confdefs.h. */
29186 _ACEOF
29187 cat confdefs.h >>conftest.$ac_ext
29188 cat >>conftest.$ac_ext <<_ACEOF
29189 /* end confdefs.h. */
29190
29191 #include <stdlib.h>
29192 #include <iconv.h>
29193 extern
29194 #ifdef __cplusplus
29195 "C"
29196 #endif
29197 #if defined(__STDC__) || defined(__cplusplus)
29198 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29199 #else
29200 size_t iconv();
29201 #endif
29202
29203 int
29204 main ()
29205 {
29206
29207 ;
29208 return 0;
29209 }
29210 _ACEOF
29211 rm -f conftest.$ac_objext
29212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29213 (eval $ac_compile) 2>conftest.er1
29214 ac_status=$?
29215 grep -v '^ *+' conftest.er1 >conftest.err
29216 rm -f conftest.er1
29217 cat conftest.err >&5
29218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29219 (exit $ac_status); } &&
29220 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29222 (eval $ac_try) 2>&5
29223 ac_status=$?
29224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29225 (exit $ac_status); }; } &&
29226 { ac_try='test -s conftest.$ac_objext'
29227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29228 (eval $ac_try) 2>&5
29229 ac_status=$?
29230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29231 (exit $ac_status); }; }; then
29232 wx_cv_func_iconv_const="no"
29233 else
29234 echo "$as_me: failed program was:" >&5
29235 sed 's/^/| /' conftest.$ac_ext >&5
29236
29237 wx_cv_func_iconv_const="yes"
29238
29239 fi
29240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29241
29242 fi
29243 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
29244 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
29245
29246 iconv_const=
29247 if test "x$wx_cv_func_iconv_const" = "xyes"; then
29248 iconv_const="const"
29249 fi
29250
29251
29252 cat >>confdefs.h <<_ACEOF
29253 #define ICONV_CONST $iconv_const
29254 _ACEOF
29255
29256 fi
29257 LIBICONV=
29258 if test "$am_cv_lib_iconv" = yes; then
29259 LIBICONV="-liconv"
29260 fi
29261
29262
29263 LIBS="$LIBICONV $LIBS"
29264 ac_ext=c
29265 ac_cpp='$CPP $CPPFLAGS'
29266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29269
29270
29271 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
29272
29273 for ac_func in sigaction
29274 do
29275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29276 echo "$as_me:$LINENO: checking for $ac_func" >&5
29277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29278 if eval "test \"\${$as_ac_var+set}\" = set"; then
29279 echo $ECHO_N "(cached) $ECHO_C" >&6
29280 else
29281 cat >conftest.$ac_ext <<_ACEOF
29282 /* confdefs.h. */
29283 _ACEOF
29284 cat confdefs.h >>conftest.$ac_ext
29285 cat >>conftest.$ac_ext <<_ACEOF
29286 /* end confdefs.h. */
29287 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29288 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29289 #define $ac_func innocuous_$ac_func
29290
29291 /* System header to define __stub macros and hopefully few prototypes,
29292 which can conflict with char $ac_func (); below.
29293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29294 <limits.h> exists even on freestanding compilers. */
29295
29296 #ifdef __STDC__
29297 # include <limits.h>
29298 #else
29299 # include <assert.h>
29300 #endif
29301
29302 #undef $ac_func
29303
29304 /* Override any gcc2 internal prototype to avoid an error. */
29305 #ifdef __cplusplus
29306 extern "C"
29307 {
29308 #endif
29309 /* We use char because int might match the return type of a gcc2
29310 builtin and then its argument prototype would still apply. */
29311 char $ac_func ();
29312 /* The GNU C library defines this for functions which it implements
29313 to always fail with ENOSYS. Some functions are actually named
29314 something starting with __ and the normal name is an alias. */
29315 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29316 choke me
29317 #else
29318 char (*f) () = $ac_func;
29319 #endif
29320 #ifdef __cplusplus
29321 }
29322 #endif
29323
29324 int
29325 main ()
29326 {
29327 return f != $ac_func;
29328 ;
29329 return 0;
29330 }
29331 _ACEOF
29332 rm -f conftest.$ac_objext conftest$ac_exeext
29333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29334 (eval $ac_link) 2>conftest.er1
29335 ac_status=$?
29336 grep -v '^ *+' conftest.er1 >conftest.err
29337 rm -f conftest.er1
29338 cat conftest.err >&5
29339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29340 (exit $ac_status); } &&
29341 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29343 (eval $ac_try) 2>&5
29344 ac_status=$?
29345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29346 (exit $ac_status); }; } &&
29347 { ac_try='test -s conftest$ac_exeext'
29348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29349 (eval $ac_try) 2>&5
29350 ac_status=$?
29351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29352 (exit $ac_status); }; }; then
29353 eval "$as_ac_var=yes"
29354 else
29355 echo "$as_me: failed program was:" >&5
29356 sed 's/^/| /' conftest.$ac_ext >&5
29357
29358 eval "$as_ac_var=no"
29359 fi
29360 rm -f conftest.err conftest.$ac_objext \
29361 conftest$ac_exeext conftest.$ac_ext
29362 fi
29363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29364 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29365 if test `eval echo '${'$as_ac_var'}'` = yes; then
29366 cat >>confdefs.h <<_ACEOF
29367 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29368 _ACEOF
29369
29370 fi
29371 done
29372
29373
29374 if test "$ac_cv_func_sigaction" = "no"; then
29375 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
29376 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
29377 wxUSE_ON_FATAL_EXCEPTION=no
29378 fi
29379
29380 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
29381
29382
29383 ac_ext=cc
29384 ac_cpp='$CXXCPP $CPPFLAGS'
29385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29388
29389
29390 echo "$as_me:$LINENO: checking for sa_handler type" >&5
29391 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
29392 if test "${wx_cv_type_sa_handler+set}" = set; then
29393 echo $ECHO_N "(cached) $ECHO_C" >&6
29394 else
29395
29396 cat >conftest.$ac_ext <<_ACEOF
29397 /* confdefs.h. */
29398 _ACEOF
29399 cat confdefs.h >>conftest.$ac_ext
29400 cat >>conftest.$ac_ext <<_ACEOF
29401 /* end confdefs.h. */
29402 #include <signal.h>
29403 int
29404 main ()
29405 {
29406
29407 extern void testSigHandler(int);
29408
29409 struct sigaction sa;
29410 sa.sa_handler = testSigHandler;
29411
29412 ;
29413 return 0;
29414 }
29415 _ACEOF
29416 rm -f conftest.$ac_objext
29417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29418 (eval $ac_compile) 2>conftest.er1
29419 ac_status=$?
29420 grep -v '^ *+' conftest.er1 >conftest.err
29421 rm -f conftest.er1
29422 cat conftest.err >&5
29423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29424 (exit $ac_status); } &&
29425 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29427 (eval $ac_try) 2>&5
29428 ac_status=$?
29429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29430 (exit $ac_status); }; } &&
29431 { ac_try='test -s conftest.$ac_objext'
29432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29433 (eval $ac_try) 2>&5
29434 ac_status=$?
29435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29436 (exit $ac_status); }; }; then
29437
29438 wx_cv_type_sa_handler=int
29439
29440 else
29441 echo "$as_me: failed program was:" >&5
29442 sed 's/^/| /' conftest.$ac_ext >&5
29443
29444
29445 wx_cv_type_sa_handler=void
29446
29447 fi
29448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29449
29450 fi
29451 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
29452 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
29453
29454 ac_ext=c
29455 ac_cpp='$CPP $CPPFLAGS'
29456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29459
29460
29461 cat >>confdefs.h <<_ACEOF
29462 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
29463 _ACEOF
29464
29465 fi
29466 fi
29467
29468
29469
29470 for ac_func in mkstemp mktemp
29471 do
29472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29473 echo "$as_me:$LINENO: checking for $ac_func" >&5
29474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29475 if eval "test \"\${$as_ac_var+set}\" = set"; then
29476 echo $ECHO_N "(cached) $ECHO_C" >&6
29477 else
29478 cat >conftest.$ac_ext <<_ACEOF
29479 /* confdefs.h. */
29480 _ACEOF
29481 cat confdefs.h >>conftest.$ac_ext
29482 cat >>conftest.$ac_ext <<_ACEOF
29483 /* end confdefs.h. */
29484 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29485 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29486 #define $ac_func innocuous_$ac_func
29487
29488 /* System header to define __stub macros and hopefully few prototypes,
29489 which can conflict with char $ac_func (); below.
29490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29491 <limits.h> exists even on freestanding compilers. */
29492
29493 #ifdef __STDC__
29494 # include <limits.h>
29495 #else
29496 # include <assert.h>
29497 #endif
29498
29499 #undef $ac_func
29500
29501 /* Override any gcc2 internal prototype to avoid an error. */
29502 #ifdef __cplusplus
29503 extern "C"
29504 {
29505 #endif
29506 /* We use char because int might match the return type of a gcc2
29507 builtin and then its argument prototype would still apply. */
29508 char $ac_func ();
29509 /* The GNU C library defines this for functions which it implements
29510 to always fail with ENOSYS. Some functions are actually named
29511 something starting with __ and the normal name is an alias. */
29512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29513 choke me
29514 #else
29515 char (*f) () = $ac_func;
29516 #endif
29517 #ifdef __cplusplus
29518 }
29519 #endif
29520
29521 int
29522 main ()
29523 {
29524 return f != $ac_func;
29525 ;
29526 return 0;
29527 }
29528 _ACEOF
29529 rm -f conftest.$ac_objext conftest$ac_exeext
29530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29531 (eval $ac_link) 2>conftest.er1
29532 ac_status=$?
29533 grep -v '^ *+' conftest.er1 >conftest.err
29534 rm -f conftest.er1
29535 cat conftest.err >&5
29536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29537 (exit $ac_status); } &&
29538 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29540 (eval $ac_try) 2>&5
29541 ac_status=$?
29542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29543 (exit $ac_status); }; } &&
29544 { ac_try='test -s conftest$ac_exeext'
29545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29546 (eval $ac_try) 2>&5
29547 ac_status=$?
29548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29549 (exit $ac_status); }; }; then
29550 eval "$as_ac_var=yes"
29551 else
29552 echo "$as_me: failed program was:" >&5
29553 sed 's/^/| /' conftest.$ac_ext >&5
29554
29555 eval "$as_ac_var=no"
29556 fi
29557 rm -f conftest.err conftest.$ac_objext \
29558 conftest$ac_exeext conftest.$ac_ext
29559 fi
29560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29561 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29562 if test `eval echo '${'$as_ac_var'}'` = yes; then
29563 cat >>confdefs.h <<_ACEOF
29564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29565 _ACEOF
29566 break
29567 fi
29568 done
29569
29570
29571 echo "$as_me:$LINENO: checking for statfs" >&5
29572 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
29573 if test "${wx_cv_func_statfs+set}" = set; then
29574 echo $ECHO_N "(cached) $ECHO_C" >&6
29575 else
29576 cat >conftest.$ac_ext <<_ACEOF
29577 /* confdefs.h. */
29578 _ACEOF
29579 cat confdefs.h >>conftest.$ac_ext
29580 cat >>conftest.$ac_ext <<_ACEOF
29581 /* end confdefs.h. */
29582
29583 #if defined(__BSD__)
29584 #include <sys/param.h>
29585 #include <sys/mount.h>
29586 #else
29587 #include <sys/vfs.h>
29588 #endif
29589
29590 int
29591 main ()
29592 {
29593
29594 long l;
29595 struct statfs fs;
29596 statfs("/", &fs);
29597 l = fs.f_bsize;
29598 l += fs.f_blocks;
29599 l += fs.f_bavail;
29600
29601 ;
29602 return 0;
29603 }
29604 _ACEOF
29605 rm -f conftest.$ac_objext
29606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29607 (eval $ac_compile) 2>conftest.er1
29608 ac_status=$?
29609 grep -v '^ *+' conftest.er1 >conftest.err
29610 rm -f conftest.er1
29611 cat conftest.err >&5
29612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29613 (exit $ac_status); } &&
29614 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29616 (eval $ac_try) 2>&5
29617 ac_status=$?
29618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29619 (exit $ac_status); }; } &&
29620 { ac_try='test -s conftest.$ac_objext'
29621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29622 (eval $ac_try) 2>&5
29623 ac_status=$?
29624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29625 (exit $ac_status); }; }; then
29626
29627 wx_cv_func_statfs=yes
29628
29629 else
29630 echo "$as_me: failed program was:" >&5
29631 sed 's/^/| /' conftest.$ac_ext >&5
29632
29633
29634 wx_cv_func_statfs=no
29635
29636
29637 fi
29638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29639
29640 fi
29641 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
29642 echo "${ECHO_T}$wx_cv_func_statfs" >&6
29643
29644 if test "$wx_cv_func_statfs" = "yes"; then
29645 wx_cv_type_statvfs_t="struct statfs"
29646 cat >>confdefs.h <<\_ACEOF
29647 #define HAVE_STATFS 1
29648 _ACEOF
29649
29650 else
29651 echo "$as_me:$LINENO: checking for statvfs" >&5
29652 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
29653 if test "${wx_cv_func_statvfs+set}" = set; then
29654 echo $ECHO_N "(cached) $ECHO_C" >&6
29655 else
29656 cat >conftest.$ac_ext <<_ACEOF
29657 /* confdefs.h. */
29658 _ACEOF
29659 cat confdefs.h >>conftest.$ac_ext
29660 cat >>conftest.$ac_ext <<_ACEOF
29661 /* end confdefs.h. */
29662
29663 #include <stddef.h>
29664 #include <sys/statvfs.h>
29665
29666 int
29667 main ()
29668 {
29669
29670 statvfs("/", NULL);
29671
29672 ;
29673 return 0;
29674 }
29675 _ACEOF
29676 rm -f conftest.$ac_objext
29677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29678 (eval $ac_compile) 2>conftest.er1
29679 ac_status=$?
29680 grep -v '^ *+' conftest.er1 >conftest.err
29681 rm -f conftest.er1
29682 cat conftest.err >&5
29683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29684 (exit $ac_status); } &&
29685 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29687 (eval $ac_try) 2>&5
29688 ac_status=$?
29689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29690 (exit $ac_status); }; } &&
29691 { ac_try='test -s conftest.$ac_objext'
29692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29693 (eval $ac_try) 2>&5
29694 ac_status=$?
29695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29696 (exit $ac_status); }; }; then
29697 wx_cv_func_statvfs=yes
29698 else
29699 echo "$as_me: failed program was:" >&5
29700 sed 's/^/| /' conftest.$ac_ext >&5
29701
29702 wx_cv_func_statvfs=no
29703
29704 fi
29705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29706
29707 fi
29708 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
29709 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
29710
29711 if test "$wx_cv_func_statvfs" = "yes"; then
29712
29713
29714 ac_ext=cc
29715 ac_cpp='$CXXCPP $CPPFLAGS'
29716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29719
29720
29721 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
29722 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
29723 if test "${wx_cv_type_statvfs_t+set}" = set; then
29724 echo $ECHO_N "(cached) $ECHO_C" >&6
29725 else
29726 cat >conftest.$ac_ext <<_ACEOF
29727 /* confdefs.h. */
29728 _ACEOF
29729 cat confdefs.h >>conftest.$ac_ext
29730 cat >>conftest.$ac_ext <<_ACEOF
29731 /* end confdefs.h. */
29732
29733 #include <sys/statvfs.h>
29734
29735 int
29736 main ()
29737 {
29738
29739 long l;
29740 statvfs_t fs;
29741 statvfs("/", &fs);
29742 l = fs.f_bsize;
29743 l += fs.f_blocks;
29744 l += fs.f_bavail;
29745
29746 ;
29747 return 0;
29748 }
29749 _ACEOF
29750 rm -f conftest.$ac_objext
29751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29752 (eval $ac_compile) 2>conftest.er1
29753 ac_status=$?
29754 grep -v '^ *+' conftest.er1 >conftest.err
29755 rm -f conftest.er1
29756 cat conftest.err >&5
29757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29758 (exit $ac_status); } &&
29759 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29761 (eval $ac_try) 2>&5
29762 ac_status=$?
29763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29764 (exit $ac_status); }; } &&
29765 { ac_try='test -s conftest.$ac_objext'
29766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29767 (eval $ac_try) 2>&5
29768 ac_status=$?
29769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29770 (exit $ac_status); }; }; then
29771 wx_cv_type_statvfs_t=statvfs_t
29772 else
29773 echo "$as_me: failed program was:" >&5
29774 sed 's/^/| /' conftest.$ac_ext >&5
29775
29776
29777 cat >conftest.$ac_ext <<_ACEOF
29778 /* confdefs.h. */
29779 _ACEOF
29780 cat confdefs.h >>conftest.$ac_ext
29781 cat >>conftest.$ac_ext <<_ACEOF
29782 /* end confdefs.h. */
29783
29784 #include <sys/statvfs.h>
29785
29786 int
29787 main ()
29788 {
29789
29790 long l;
29791 struct statvfs fs;
29792 statvfs("/", &fs);
29793 l = fs.f_bsize;
29794 l += fs.f_blocks;
29795 l += fs.f_bavail;
29796
29797 ;
29798 return 0;
29799 }
29800 _ACEOF
29801 rm -f conftest.$ac_objext
29802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29803 (eval $ac_compile) 2>conftest.er1
29804 ac_status=$?
29805 grep -v '^ *+' conftest.er1 >conftest.err
29806 rm -f conftest.er1
29807 cat conftest.err >&5
29808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29809 (exit $ac_status); } &&
29810 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29812 (eval $ac_try) 2>&5
29813 ac_status=$?
29814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29815 (exit $ac_status); }; } &&
29816 { ac_try='test -s conftest.$ac_objext'
29817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29818 (eval $ac_try) 2>&5
29819 ac_status=$?
29820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29821 (exit $ac_status); }; }; then
29822 wx_cv_type_statvfs_t="struct statvfs"
29823 else
29824 echo "$as_me: failed program was:" >&5
29825 sed 's/^/| /' conftest.$ac_ext >&5
29826
29827 wx_cv_type_statvfs_t="unknown"
29828
29829 fi
29830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29831
29832
29833 fi
29834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29835
29836 fi
29837 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
29838 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
29839
29840 ac_ext=c
29841 ac_cpp='$CPP $CPPFLAGS'
29842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29845
29846
29847 if test "$wx_cv_type_statvfs_t" != "unknown"; then
29848 cat >>confdefs.h <<\_ACEOF
29849 #define HAVE_STATVFS 1
29850 _ACEOF
29851
29852 fi
29853 else
29854 wx_cv_type_statvfs_t="unknown"
29855 fi
29856 fi
29857
29858 if test "$wx_cv_type_statvfs_t" != "unknown"; then
29859 cat >>confdefs.h <<_ACEOF
29860 #define WX_STATFS_T $wx_cv_type_statvfs_t
29861 _ACEOF
29862
29863 else
29864 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
29865 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
29866 fi
29867
29868 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
29869
29870
29871 for ac_func in fcntl flock
29872 do
29873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29874 echo "$as_me:$LINENO: checking for $ac_func" >&5
29875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29876 if eval "test \"\${$as_ac_var+set}\" = set"; then
29877 echo $ECHO_N "(cached) $ECHO_C" >&6
29878 else
29879 cat >conftest.$ac_ext <<_ACEOF
29880 /* confdefs.h. */
29881 _ACEOF
29882 cat confdefs.h >>conftest.$ac_ext
29883 cat >>conftest.$ac_ext <<_ACEOF
29884 /* end confdefs.h. */
29885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29887 #define $ac_func innocuous_$ac_func
29888
29889 /* System header to define __stub macros and hopefully few prototypes,
29890 which can conflict with char $ac_func (); below.
29891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29892 <limits.h> exists even on freestanding compilers. */
29893
29894 #ifdef __STDC__
29895 # include <limits.h>
29896 #else
29897 # include <assert.h>
29898 #endif
29899
29900 #undef $ac_func
29901
29902 /* Override any gcc2 internal prototype to avoid an error. */
29903 #ifdef __cplusplus
29904 extern "C"
29905 {
29906 #endif
29907 /* We use char because int might match the return type of a gcc2
29908 builtin and then its argument prototype would still apply. */
29909 char $ac_func ();
29910 /* The GNU C library defines this for functions which it implements
29911 to always fail with ENOSYS. Some functions are actually named
29912 something starting with __ and the normal name is an alias. */
29913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29914 choke me
29915 #else
29916 char (*f) () = $ac_func;
29917 #endif
29918 #ifdef __cplusplus
29919 }
29920 #endif
29921
29922 int
29923 main ()
29924 {
29925 return f != $ac_func;
29926 ;
29927 return 0;
29928 }
29929 _ACEOF
29930 rm -f conftest.$ac_objext conftest$ac_exeext
29931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29932 (eval $ac_link) 2>conftest.er1
29933 ac_status=$?
29934 grep -v '^ *+' conftest.er1 >conftest.err
29935 rm -f conftest.er1
29936 cat conftest.err >&5
29937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29938 (exit $ac_status); } &&
29939 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29941 (eval $ac_try) 2>&5
29942 ac_status=$?
29943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29944 (exit $ac_status); }; } &&
29945 { ac_try='test -s conftest$ac_exeext'
29946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29947 (eval $ac_try) 2>&5
29948 ac_status=$?
29949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29950 (exit $ac_status); }; }; then
29951 eval "$as_ac_var=yes"
29952 else
29953 echo "$as_me: failed program was:" >&5
29954 sed 's/^/| /' conftest.$ac_ext >&5
29955
29956 eval "$as_ac_var=no"
29957 fi
29958 rm -f conftest.err conftest.$ac_objext \
29959 conftest$ac_exeext conftest.$ac_ext
29960 fi
29961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29963 if test `eval echo '${'$as_ac_var'}'` = yes; then
29964 cat >>confdefs.h <<_ACEOF
29965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29966 _ACEOF
29967 break
29968 fi
29969 done
29970
29971
29972 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
29973 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
29974 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
29975 wxUSE_SNGLINST_CHECKER=no
29976 fi
29977 fi
29978
29979
29980 for ac_func in timegm
29981 do
29982 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29983 echo "$as_me:$LINENO: checking for $ac_func" >&5
29984 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29985 if eval "test \"\${$as_ac_var+set}\" = set"; then
29986 echo $ECHO_N "(cached) $ECHO_C" >&6
29987 else
29988 cat >conftest.$ac_ext <<_ACEOF
29989 /* confdefs.h. */
29990 _ACEOF
29991 cat confdefs.h >>conftest.$ac_ext
29992 cat >>conftest.$ac_ext <<_ACEOF
29993 /* end confdefs.h. */
29994 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29995 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29996 #define $ac_func innocuous_$ac_func
29997
29998 /* System header to define __stub macros and hopefully few prototypes,
29999 which can conflict with char $ac_func (); below.
30000 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30001 <limits.h> exists even on freestanding compilers. */
30002
30003 #ifdef __STDC__
30004 # include <limits.h>
30005 #else
30006 # include <assert.h>
30007 #endif
30008
30009 #undef $ac_func
30010
30011 /* Override any gcc2 internal prototype to avoid an error. */
30012 #ifdef __cplusplus
30013 extern "C"
30014 {
30015 #endif
30016 /* We use char because int might match the return type of a gcc2
30017 builtin and then its argument prototype would still apply. */
30018 char $ac_func ();
30019 /* The GNU C library defines this for functions which it implements
30020 to always fail with ENOSYS. Some functions are actually named
30021 something starting with __ and the normal name is an alias. */
30022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30023 choke me
30024 #else
30025 char (*f) () = $ac_func;
30026 #endif
30027 #ifdef __cplusplus
30028 }
30029 #endif
30030
30031 int
30032 main ()
30033 {
30034 return f != $ac_func;
30035 ;
30036 return 0;
30037 }
30038 _ACEOF
30039 rm -f conftest.$ac_objext conftest$ac_exeext
30040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30041 (eval $ac_link) 2>conftest.er1
30042 ac_status=$?
30043 grep -v '^ *+' conftest.er1 >conftest.err
30044 rm -f conftest.er1
30045 cat conftest.err >&5
30046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30047 (exit $ac_status); } &&
30048 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30050 (eval $ac_try) 2>&5
30051 ac_status=$?
30052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30053 (exit $ac_status); }; } &&
30054 { ac_try='test -s conftest$ac_exeext'
30055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30056 (eval $ac_try) 2>&5
30057 ac_status=$?
30058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30059 (exit $ac_status); }; }; then
30060 eval "$as_ac_var=yes"
30061 else
30062 echo "$as_me: failed program was:" >&5
30063 sed 's/^/| /' conftest.$ac_ext >&5
30064
30065 eval "$as_ac_var=no"
30066 fi
30067 rm -f conftest.err conftest.$ac_objext \
30068 conftest$ac_exeext conftest.$ac_ext
30069 fi
30070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30071 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30072 if test `eval echo '${'$as_ac_var'}'` = yes; then
30073 cat >>confdefs.h <<_ACEOF
30074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30075 _ACEOF
30076
30077 fi
30078 done
30079
30080
30081
30082
30083 for ac_func in putenv setenv
30084 do
30085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30086 echo "$as_me:$LINENO: checking for $ac_func" >&5
30087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30088 if eval "test \"\${$as_ac_var+set}\" = set"; then
30089 echo $ECHO_N "(cached) $ECHO_C" >&6
30090 else
30091 cat >conftest.$ac_ext <<_ACEOF
30092 /* confdefs.h. */
30093 _ACEOF
30094 cat confdefs.h >>conftest.$ac_ext
30095 cat >>conftest.$ac_ext <<_ACEOF
30096 /* end confdefs.h. */
30097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30099 #define $ac_func innocuous_$ac_func
30100
30101 /* System header to define __stub macros and hopefully few prototypes,
30102 which can conflict with char $ac_func (); below.
30103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30104 <limits.h> exists even on freestanding compilers. */
30105
30106 #ifdef __STDC__
30107 # include <limits.h>
30108 #else
30109 # include <assert.h>
30110 #endif
30111
30112 #undef $ac_func
30113
30114 /* Override any gcc2 internal prototype to avoid an error. */
30115 #ifdef __cplusplus
30116 extern "C"
30117 {
30118 #endif
30119 /* We use char because int might match the return type of a gcc2
30120 builtin and then its argument prototype would still apply. */
30121 char $ac_func ();
30122 /* The GNU C library defines this for functions which it implements
30123 to always fail with ENOSYS. Some functions are actually named
30124 something starting with __ and the normal name is an alias. */
30125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30126 choke me
30127 #else
30128 char (*f) () = $ac_func;
30129 #endif
30130 #ifdef __cplusplus
30131 }
30132 #endif
30133
30134 int
30135 main ()
30136 {
30137 return f != $ac_func;
30138 ;
30139 return 0;
30140 }
30141 _ACEOF
30142 rm -f conftest.$ac_objext conftest$ac_exeext
30143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30144 (eval $ac_link) 2>conftest.er1
30145 ac_status=$?
30146 grep -v '^ *+' conftest.er1 >conftest.err
30147 rm -f conftest.er1
30148 cat conftest.err >&5
30149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30150 (exit $ac_status); } &&
30151 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30153 (eval $ac_try) 2>&5
30154 ac_status=$?
30155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30156 (exit $ac_status); }; } &&
30157 { ac_try='test -s conftest$ac_exeext'
30158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30159 (eval $ac_try) 2>&5
30160 ac_status=$?
30161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30162 (exit $ac_status); }; }; then
30163 eval "$as_ac_var=yes"
30164 else
30165 echo "$as_me: failed program was:" >&5
30166 sed 's/^/| /' conftest.$ac_ext >&5
30167
30168 eval "$as_ac_var=no"
30169 fi
30170 rm -f conftest.err conftest.$ac_objext \
30171 conftest$ac_exeext conftest.$ac_ext
30172 fi
30173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30174 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30175 if test `eval echo '${'$as_ac_var'}'` = yes; then
30176 cat >>confdefs.h <<_ACEOF
30177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30178 _ACEOF
30179 break
30180 fi
30181 done
30182
30183
30184 HAVE_SOME_SLEEP_FUNC=0
30185 if test "$USE_BEOS" = 1; then
30186 cat >>confdefs.h <<\_ACEOF
30187 #define HAVE_SLEEP 1
30188 _ACEOF
30189
30190 HAVE_SOME_SLEEP_FUNC=1
30191 fi
30192
30193 if test "$USE_DARWIN" = 1; then
30194 cat >>confdefs.h <<\_ACEOF
30195 #define HAVE_USLEEP 1
30196 _ACEOF
30197
30198 HAVE_SOME_SLEEP_FUNC=1
30199 fi
30200
30201 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30202 POSIX4_LINK=
30203
30204 for ac_func in nanosleep
30205 do
30206 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30207 echo "$as_me:$LINENO: checking for $ac_func" >&5
30208 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30209 if eval "test \"\${$as_ac_var+set}\" = set"; then
30210 echo $ECHO_N "(cached) $ECHO_C" >&6
30211 else
30212 cat >conftest.$ac_ext <<_ACEOF
30213 /* confdefs.h. */
30214 _ACEOF
30215 cat confdefs.h >>conftest.$ac_ext
30216 cat >>conftest.$ac_ext <<_ACEOF
30217 /* end confdefs.h. */
30218 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30219 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30220 #define $ac_func innocuous_$ac_func
30221
30222 /* System header to define __stub macros and hopefully few prototypes,
30223 which can conflict with char $ac_func (); below.
30224 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30225 <limits.h> exists even on freestanding compilers. */
30226
30227 #ifdef __STDC__
30228 # include <limits.h>
30229 #else
30230 # include <assert.h>
30231 #endif
30232
30233 #undef $ac_func
30234
30235 /* Override any gcc2 internal prototype to avoid an error. */
30236 #ifdef __cplusplus
30237 extern "C"
30238 {
30239 #endif
30240 /* We use char because int might match the return type of a gcc2
30241 builtin and then its argument prototype would still apply. */
30242 char $ac_func ();
30243 /* The GNU C library defines this for functions which it implements
30244 to always fail with ENOSYS. Some functions are actually named
30245 something starting with __ and the normal name is an alias. */
30246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30247 choke me
30248 #else
30249 char (*f) () = $ac_func;
30250 #endif
30251 #ifdef __cplusplus
30252 }
30253 #endif
30254
30255 int
30256 main ()
30257 {
30258 return f != $ac_func;
30259 ;
30260 return 0;
30261 }
30262 _ACEOF
30263 rm -f conftest.$ac_objext conftest$ac_exeext
30264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30265 (eval $ac_link) 2>conftest.er1
30266 ac_status=$?
30267 grep -v '^ *+' conftest.er1 >conftest.err
30268 rm -f conftest.er1
30269 cat conftest.err >&5
30270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30271 (exit $ac_status); } &&
30272 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30274 (eval $ac_try) 2>&5
30275 ac_status=$?
30276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30277 (exit $ac_status); }; } &&
30278 { ac_try='test -s conftest$ac_exeext'
30279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30280 (eval $ac_try) 2>&5
30281 ac_status=$?
30282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30283 (exit $ac_status); }; }; then
30284 eval "$as_ac_var=yes"
30285 else
30286 echo "$as_me: failed program was:" >&5
30287 sed 's/^/| /' conftest.$ac_ext >&5
30288
30289 eval "$as_ac_var=no"
30290 fi
30291 rm -f conftest.err conftest.$ac_objext \
30292 conftest$ac_exeext conftest.$ac_ext
30293 fi
30294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30295 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30296 if test `eval echo '${'$as_ac_var'}'` = yes; then
30297 cat >>confdefs.h <<_ACEOF
30298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30299 _ACEOF
30300 cat >>confdefs.h <<\_ACEOF
30301 #define HAVE_NANOSLEEP 1
30302 _ACEOF
30303
30304 else
30305
30306 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
30307 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
30308 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
30309 echo $ECHO_N "(cached) $ECHO_C" >&6
30310 else
30311 ac_check_lib_save_LIBS=$LIBS
30312 LIBS="-lposix4 $LIBS"
30313 cat >conftest.$ac_ext <<_ACEOF
30314 /* confdefs.h. */
30315 _ACEOF
30316 cat confdefs.h >>conftest.$ac_ext
30317 cat >>conftest.$ac_ext <<_ACEOF
30318 /* end confdefs.h. */
30319
30320 /* Override any gcc2 internal prototype to avoid an error. */
30321 #ifdef __cplusplus
30322 extern "C"
30323 #endif
30324 /* We use char because int might match the return type of a gcc2
30325 builtin and then its argument prototype would still apply. */
30326 char nanosleep ();
30327 int
30328 main ()
30329 {
30330 nanosleep ();
30331 ;
30332 return 0;
30333 }
30334 _ACEOF
30335 rm -f conftest.$ac_objext conftest$ac_exeext
30336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30337 (eval $ac_link) 2>conftest.er1
30338 ac_status=$?
30339 grep -v '^ *+' conftest.er1 >conftest.err
30340 rm -f conftest.er1
30341 cat conftest.err >&5
30342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30343 (exit $ac_status); } &&
30344 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30346 (eval $ac_try) 2>&5
30347 ac_status=$?
30348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30349 (exit $ac_status); }; } &&
30350 { ac_try='test -s conftest$ac_exeext'
30351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30352 (eval $ac_try) 2>&5
30353 ac_status=$?
30354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30355 (exit $ac_status); }; }; then
30356 ac_cv_lib_posix4_nanosleep=yes
30357 else
30358 echo "$as_me: failed program was:" >&5
30359 sed 's/^/| /' conftest.$ac_ext >&5
30360
30361 ac_cv_lib_posix4_nanosleep=no
30362 fi
30363 rm -f conftest.err conftest.$ac_objext \
30364 conftest$ac_exeext conftest.$ac_ext
30365 LIBS=$ac_check_lib_save_LIBS
30366 fi
30367 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
30368 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
30369 if test $ac_cv_lib_posix4_nanosleep = yes; then
30370
30371 cat >>confdefs.h <<\_ACEOF
30372 #define HAVE_NANOSLEEP 1
30373 _ACEOF
30374
30375 POSIX4_LINK=" -lposix4"
30376
30377 else
30378
30379
30380 for ac_func in usleep
30381 do
30382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30383 echo "$as_me:$LINENO: checking for $ac_func" >&5
30384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30385 if eval "test \"\${$as_ac_var+set}\" = set"; then
30386 echo $ECHO_N "(cached) $ECHO_C" >&6
30387 else
30388 cat >conftest.$ac_ext <<_ACEOF
30389 /* confdefs.h. */
30390 _ACEOF
30391 cat confdefs.h >>conftest.$ac_ext
30392 cat >>conftest.$ac_ext <<_ACEOF
30393 /* end confdefs.h. */
30394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30396 #define $ac_func innocuous_$ac_func
30397
30398 /* System header to define __stub macros and hopefully few prototypes,
30399 which can conflict with char $ac_func (); below.
30400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30401 <limits.h> exists even on freestanding compilers. */
30402
30403 #ifdef __STDC__
30404 # include <limits.h>
30405 #else
30406 # include <assert.h>
30407 #endif
30408
30409 #undef $ac_func
30410
30411 /* Override any gcc2 internal prototype to avoid an error. */
30412 #ifdef __cplusplus
30413 extern "C"
30414 {
30415 #endif
30416 /* We use char because int might match the return type of a gcc2
30417 builtin and then its argument prototype would still apply. */
30418 char $ac_func ();
30419 /* The GNU C library defines this for functions which it implements
30420 to always fail with ENOSYS. Some functions are actually named
30421 something starting with __ and the normal name is an alias. */
30422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30423 choke me
30424 #else
30425 char (*f) () = $ac_func;
30426 #endif
30427 #ifdef __cplusplus
30428 }
30429 #endif
30430
30431 int
30432 main ()
30433 {
30434 return f != $ac_func;
30435 ;
30436 return 0;
30437 }
30438 _ACEOF
30439 rm -f conftest.$ac_objext conftest$ac_exeext
30440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30441 (eval $ac_link) 2>conftest.er1
30442 ac_status=$?
30443 grep -v '^ *+' conftest.er1 >conftest.err
30444 rm -f conftest.er1
30445 cat conftest.err >&5
30446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30447 (exit $ac_status); } &&
30448 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30450 (eval $ac_try) 2>&5
30451 ac_status=$?
30452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30453 (exit $ac_status); }; } &&
30454 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
30460 eval "$as_ac_var=yes"
30461 else
30462 echo "$as_me: failed program was:" >&5
30463 sed 's/^/| /' conftest.$ac_ext >&5
30464
30465 eval "$as_ac_var=no"
30466 fi
30467 rm -f conftest.err conftest.$ac_objext \
30468 conftest$ac_exeext conftest.$ac_ext
30469 fi
30470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30471 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30472 if test `eval echo '${'$as_ac_var'}'` = yes; then
30473 cat >>confdefs.h <<_ACEOF
30474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30475 _ACEOF
30476 cat >>confdefs.h <<\_ACEOF
30477 #define HAVE_USLEEP 1
30478 _ACEOF
30479
30480 else
30481 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
30482 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30483
30484 fi
30485 done
30486
30487
30488
30489 fi
30490
30491
30492
30493 fi
30494 done
30495
30496 fi
30497
30498
30499
30500 for ac_func in uname gethostname
30501 do
30502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30503 echo "$as_me:$LINENO: checking for $ac_func" >&5
30504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30505 if eval "test \"\${$as_ac_var+set}\" = set"; then
30506 echo $ECHO_N "(cached) $ECHO_C" >&6
30507 else
30508 cat >conftest.$ac_ext <<_ACEOF
30509 /* confdefs.h. */
30510 _ACEOF
30511 cat confdefs.h >>conftest.$ac_ext
30512 cat >>conftest.$ac_ext <<_ACEOF
30513 /* end confdefs.h. */
30514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30516 #define $ac_func innocuous_$ac_func
30517
30518 /* System header to define __stub macros and hopefully few prototypes,
30519 which can conflict with char $ac_func (); below.
30520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30521 <limits.h> exists even on freestanding compilers. */
30522
30523 #ifdef __STDC__
30524 # include <limits.h>
30525 #else
30526 # include <assert.h>
30527 #endif
30528
30529 #undef $ac_func
30530
30531 /* Override any gcc2 internal prototype to avoid an error. */
30532 #ifdef __cplusplus
30533 extern "C"
30534 {
30535 #endif
30536 /* We use char because int might match the return type of a gcc2
30537 builtin and then its argument prototype would still apply. */
30538 char $ac_func ();
30539 /* The GNU C library defines this for functions which it implements
30540 to always fail with ENOSYS. Some functions are actually named
30541 something starting with __ and the normal name is an alias. */
30542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30543 choke me
30544 #else
30545 char (*f) () = $ac_func;
30546 #endif
30547 #ifdef __cplusplus
30548 }
30549 #endif
30550
30551 int
30552 main ()
30553 {
30554 return f != $ac_func;
30555 ;
30556 return 0;
30557 }
30558 _ACEOF
30559 rm -f conftest.$ac_objext conftest$ac_exeext
30560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30561 (eval $ac_link) 2>conftest.er1
30562 ac_status=$?
30563 grep -v '^ *+' conftest.er1 >conftest.err
30564 rm -f conftest.er1
30565 cat conftest.err >&5
30566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30567 (exit $ac_status); } &&
30568 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30570 (eval $ac_try) 2>&5
30571 ac_status=$?
30572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30573 (exit $ac_status); }; } &&
30574 { ac_try='test -s conftest$ac_exeext'
30575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30576 (eval $ac_try) 2>&5
30577 ac_status=$?
30578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30579 (exit $ac_status); }; }; then
30580 eval "$as_ac_var=yes"
30581 else
30582 echo "$as_me: failed program was:" >&5
30583 sed 's/^/| /' conftest.$ac_ext >&5
30584
30585 eval "$as_ac_var=no"
30586 fi
30587 rm -f conftest.err conftest.$ac_objext \
30588 conftest$ac_exeext conftest.$ac_ext
30589 fi
30590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30591 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30592 if test `eval echo '${'$as_ac_var'}'` = yes; then
30593 cat >>confdefs.h <<_ACEOF
30594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30595 _ACEOF
30596 break
30597 fi
30598 done
30599
30600
30601
30602
30603 ac_ext=cc
30604 ac_cpp='$CXXCPP $CPPFLAGS'
30605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30608
30609
30610
30611 for ac_func in strtok_r
30612 do
30613 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30614 echo "$as_me:$LINENO: checking for $ac_func" >&5
30615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30616 if eval "test \"\${$as_ac_var+set}\" = set"; then
30617 echo $ECHO_N "(cached) $ECHO_C" >&6
30618 else
30619 cat >conftest.$ac_ext <<_ACEOF
30620 /* confdefs.h. */
30621 _ACEOF
30622 cat confdefs.h >>conftest.$ac_ext
30623 cat >>conftest.$ac_ext <<_ACEOF
30624 /* end confdefs.h. */
30625 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30627 #define $ac_func innocuous_$ac_func
30628
30629 /* System header to define __stub macros and hopefully few prototypes,
30630 which can conflict with char $ac_func (); below.
30631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30632 <limits.h> exists even on freestanding compilers. */
30633
30634 #ifdef __STDC__
30635 # include <limits.h>
30636 #else
30637 # include <assert.h>
30638 #endif
30639
30640 #undef $ac_func
30641
30642 /* Override any gcc2 internal prototype to avoid an error. */
30643 #ifdef __cplusplus
30644 extern "C"
30645 {
30646 #endif
30647 /* We use char because int might match the return type of a gcc2
30648 builtin and then its argument prototype would still apply. */
30649 char $ac_func ();
30650 /* The GNU C library defines this for functions which it implements
30651 to always fail with ENOSYS. Some functions are actually named
30652 something starting with __ and the normal name is an alias. */
30653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30654 choke me
30655 #else
30656 char (*f) () = $ac_func;
30657 #endif
30658 #ifdef __cplusplus
30659 }
30660 #endif
30661
30662 int
30663 main ()
30664 {
30665 return f != $ac_func;
30666 ;
30667 return 0;
30668 }
30669 _ACEOF
30670 rm -f conftest.$ac_objext conftest$ac_exeext
30671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30672 (eval $ac_link) 2>conftest.er1
30673 ac_status=$?
30674 grep -v '^ *+' conftest.er1 >conftest.err
30675 rm -f conftest.er1
30676 cat conftest.err >&5
30677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30678 (exit $ac_status); } &&
30679 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30681 (eval $ac_try) 2>&5
30682 ac_status=$?
30683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30684 (exit $ac_status); }; } &&
30685 { ac_try='test -s conftest$ac_exeext'
30686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30687 (eval $ac_try) 2>&5
30688 ac_status=$?
30689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30690 (exit $ac_status); }; }; then
30691 eval "$as_ac_var=yes"
30692 else
30693 echo "$as_me: failed program was:" >&5
30694 sed 's/^/| /' conftest.$ac_ext >&5
30695
30696 eval "$as_ac_var=no"
30697 fi
30698 rm -f conftest.err conftest.$ac_objext \
30699 conftest$ac_exeext conftest.$ac_ext
30700 fi
30701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30703 if test `eval echo '${'$as_ac_var'}'` = yes; then
30704 cat >>confdefs.h <<_ACEOF
30705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30706 _ACEOF
30707
30708 fi
30709 done
30710
30711
30712 ac_ext=c
30713 ac_cpp='$CPP $CPPFLAGS'
30714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30717
30718
30719 INET_LINK=
30720
30721 for ac_func in inet_addr
30722 do
30723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30724 echo "$as_me:$LINENO: checking for $ac_func" >&5
30725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30726 if eval "test \"\${$as_ac_var+set}\" = set"; then
30727 echo $ECHO_N "(cached) $ECHO_C" >&6
30728 else
30729 cat >conftest.$ac_ext <<_ACEOF
30730 /* confdefs.h. */
30731 _ACEOF
30732 cat confdefs.h >>conftest.$ac_ext
30733 cat >>conftest.$ac_ext <<_ACEOF
30734 /* end confdefs.h. */
30735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30737 #define $ac_func innocuous_$ac_func
30738
30739 /* System header to define __stub macros and hopefully few prototypes,
30740 which can conflict with char $ac_func (); below.
30741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30742 <limits.h> exists even on freestanding compilers. */
30743
30744 #ifdef __STDC__
30745 # include <limits.h>
30746 #else
30747 # include <assert.h>
30748 #endif
30749
30750 #undef $ac_func
30751
30752 /* Override any gcc2 internal prototype to avoid an error. */
30753 #ifdef __cplusplus
30754 extern "C"
30755 {
30756 #endif
30757 /* We use char because int might match the return type of a gcc2
30758 builtin and then its argument prototype would still apply. */
30759 char $ac_func ();
30760 /* The GNU C library defines this for functions which it implements
30761 to always fail with ENOSYS. Some functions are actually named
30762 something starting with __ and the normal name is an alias. */
30763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30764 choke me
30765 #else
30766 char (*f) () = $ac_func;
30767 #endif
30768 #ifdef __cplusplus
30769 }
30770 #endif
30771
30772 int
30773 main ()
30774 {
30775 return f != $ac_func;
30776 ;
30777 return 0;
30778 }
30779 _ACEOF
30780 rm -f conftest.$ac_objext conftest$ac_exeext
30781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30782 (eval $ac_link) 2>conftest.er1
30783 ac_status=$?
30784 grep -v '^ *+' conftest.er1 >conftest.err
30785 rm -f conftest.er1
30786 cat conftest.err >&5
30787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30788 (exit $ac_status); } &&
30789 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30791 (eval $ac_try) 2>&5
30792 ac_status=$?
30793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30794 (exit $ac_status); }; } &&
30795 { ac_try='test -s conftest$ac_exeext'
30796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30797 (eval $ac_try) 2>&5
30798 ac_status=$?
30799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30800 (exit $ac_status); }; }; then
30801 eval "$as_ac_var=yes"
30802 else
30803 echo "$as_me: failed program was:" >&5
30804 sed 's/^/| /' conftest.$ac_ext >&5
30805
30806 eval "$as_ac_var=no"
30807 fi
30808 rm -f conftest.err conftest.$ac_objext \
30809 conftest$ac_exeext conftest.$ac_ext
30810 fi
30811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30812 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30813 if test `eval echo '${'$as_ac_var'}'` = yes; then
30814 cat >>confdefs.h <<_ACEOF
30815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30816 _ACEOF
30817 cat >>confdefs.h <<\_ACEOF
30818 #define HAVE_INET_ADDR 1
30819 _ACEOF
30820
30821 else
30822
30823 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
30824 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
30825 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
30826 echo $ECHO_N "(cached) $ECHO_C" >&6
30827 else
30828 ac_check_lib_save_LIBS=$LIBS
30829 LIBS="-lnsl $LIBS"
30830 cat >conftest.$ac_ext <<_ACEOF
30831 /* confdefs.h. */
30832 _ACEOF
30833 cat confdefs.h >>conftest.$ac_ext
30834 cat >>conftest.$ac_ext <<_ACEOF
30835 /* end confdefs.h. */
30836
30837 /* Override any gcc2 internal prototype to avoid an error. */
30838 #ifdef __cplusplus
30839 extern "C"
30840 #endif
30841 /* We use char because int might match the return type of a gcc2
30842 builtin and then its argument prototype would still apply. */
30843 char inet_addr ();
30844 int
30845 main ()
30846 {
30847 inet_addr ();
30848 ;
30849 return 0;
30850 }
30851 _ACEOF
30852 rm -f conftest.$ac_objext conftest$ac_exeext
30853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30854 (eval $ac_link) 2>conftest.er1
30855 ac_status=$?
30856 grep -v '^ *+' conftest.er1 >conftest.err
30857 rm -f conftest.er1
30858 cat conftest.err >&5
30859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30860 (exit $ac_status); } &&
30861 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
30867 { ac_try='test -s conftest$ac_exeext'
30868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30869 (eval $ac_try) 2>&5
30870 ac_status=$?
30871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30872 (exit $ac_status); }; }; then
30873 ac_cv_lib_nsl_inet_addr=yes
30874 else
30875 echo "$as_me: failed program was:" >&5
30876 sed 's/^/| /' conftest.$ac_ext >&5
30877
30878 ac_cv_lib_nsl_inet_addr=no
30879 fi
30880 rm -f conftest.err conftest.$ac_objext \
30881 conftest$ac_exeext conftest.$ac_ext
30882 LIBS=$ac_check_lib_save_LIBS
30883 fi
30884 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
30885 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
30886 if test $ac_cv_lib_nsl_inet_addr = yes; then
30887 INET_LINK="nsl"
30888 else
30889
30890 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
30891 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
30892 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
30893 echo $ECHO_N "(cached) $ECHO_C" >&6
30894 else
30895 ac_check_lib_save_LIBS=$LIBS
30896 LIBS="-lresolv $LIBS"
30897 cat >conftest.$ac_ext <<_ACEOF
30898 /* confdefs.h. */
30899 _ACEOF
30900 cat confdefs.h >>conftest.$ac_ext
30901 cat >>conftest.$ac_ext <<_ACEOF
30902 /* end confdefs.h. */
30903
30904 /* Override any gcc2 internal prototype to avoid an error. */
30905 #ifdef __cplusplus
30906 extern "C"
30907 #endif
30908 /* We use char because int might match the return type of a gcc2
30909 builtin and then its argument prototype would still apply. */
30910 char inet_addr ();
30911 int
30912 main ()
30913 {
30914 inet_addr ();
30915 ;
30916 return 0;
30917 }
30918 _ACEOF
30919 rm -f conftest.$ac_objext conftest$ac_exeext
30920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30921 (eval $ac_link) 2>conftest.er1
30922 ac_status=$?
30923 grep -v '^ *+' conftest.er1 >conftest.err
30924 rm -f conftest.er1
30925 cat conftest.err >&5
30926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30927 (exit $ac_status); } &&
30928 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30930 (eval $ac_try) 2>&5
30931 ac_status=$?
30932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30933 (exit $ac_status); }; } &&
30934 { ac_try='test -s conftest$ac_exeext'
30935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30936 (eval $ac_try) 2>&5
30937 ac_status=$?
30938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30939 (exit $ac_status); }; }; then
30940 ac_cv_lib_resolv_inet_addr=yes
30941 else
30942 echo "$as_me: failed program was:" >&5
30943 sed 's/^/| /' conftest.$ac_ext >&5
30944
30945 ac_cv_lib_resolv_inet_addr=no
30946 fi
30947 rm -f conftest.err conftest.$ac_objext \
30948 conftest$ac_exeext conftest.$ac_ext
30949 LIBS=$ac_check_lib_save_LIBS
30950 fi
30951 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
30952 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
30953 if test $ac_cv_lib_resolv_inet_addr = yes; then
30954 INET_LINK="resolv"
30955 else
30956
30957 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
30958 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
30959 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
30960 echo $ECHO_N "(cached) $ECHO_C" >&6
30961 else
30962 ac_check_lib_save_LIBS=$LIBS
30963 LIBS="-lsocket $LIBS"
30964 cat >conftest.$ac_ext <<_ACEOF
30965 /* confdefs.h. */
30966 _ACEOF
30967 cat confdefs.h >>conftest.$ac_ext
30968 cat >>conftest.$ac_ext <<_ACEOF
30969 /* end confdefs.h. */
30970
30971 /* Override any gcc2 internal prototype to avoid an error. */
30972 #ifdef __cplusplus
30973 extern "C"
30974 #endif
30975 /* We use char because int might match the return type of a gcc2
30976 builtin and then its argument prototype would still apply. */
30977 char inet_addr ();
30978 int
30979 main ()
30980 {
30981 inet_addr ();
30982 ;
30983 return 0;
30984 }
30985 _ACEOF
30986 rm -f conftest.$ac_objext conftest$ac_exeext
30987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30988 (eval $ac_link) 2>conftest.er1
30989 ac_status=$?
30990 grep -v '^ *+' conftest.er1 >conftest.err
30991 rm -f conftest.er1
30992 cat conftest.err >&5
30993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30994 (exit $ac_status); } &&
30995 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30997 (eval $ac_try) 2>&5
30998 ac_status=$?
30999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31000 (exit $ac_status); }; } &&
31001 { ac_try='test -s conftest$ac_exeext'
31002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31003 (eval $ac_try) 2>&5
31004 ac_status=$?
31005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31006 (exit $ac_status); }; }; then
31007 ac_cv_lib_socket_inet_addr=yes
31008 else
31009 echo "$as_me: failed program was:" >&5
31010 sed 's/^/| /' conftest.$ac_ext >&5
31011
31012 ac_cv_lib_socket_inet_addr=no
31013 fi
31014 rm -f conftest.err conftest.$ac_objext \
31015 conftest$ac_exeext conftest.$ac_ext
31016 LIBS=$ac_check_lib_save_LIBS
31017 fi
31018 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
31019 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
31020 if test $ac_cv_lib_socket_inet_addr = yes; then
31021 INET_LINK="socket"
31022
31023 fi
31024
31025
31026
31027 fi
31028
31029
31030
31031 fi
31032
31033
31034
31035 fi
31036 done
31037
31038
31039
31040 for ac_func in inet_aton
31041 do
31042 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31043 echo "$as_me:$LINENO: checking for $ac_func" >&5
31044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31045 if eval "test \"\${$as_ac_var+set}\" = set"; then
31046 echo $ECHO_N "(cached) $ECHO_C" >&6
31047 else
31048 cat >conftest.$ac_ext <<_ACEOF
31049 /* confdefs.h. */
31050 _ACEOF
31051 cat confdefs.h >>conftest.$ac_ext
31052 cat >>conftest.$ac_ext <<_ACEOF
31053 /* end confdefs.h. */
31054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31056 #define $ac_func innocuous_$ac_func
31057
31058 /* System header to define __stub macros and hopefully few prototypes,
31059 which can conflict with char $ac_func (); below.
31060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31061 <limits.h> exists even on freestanding compilers. */
31062
31063 #ifdef __STDC__
31064 # include <limits.h>
31065 #else
31066 # include <assert.h>
31067 #endif
31068
31069 #undef $ac_func
31070
31071 /* Override any gcc2 internal prototype to avoid an error. */
31072 #ifdef __cplusplus
31073 extern "C"
31074 {
31075 #endif
31076 /* We use char because int might match the return type of a gcc2
31077 builtin and then its argument prototype would still apply. */
31078 char $ac_func ();
31079 /* The GNU C library defines this for functions which it implements
31080 to always fail with ENOSYS. Some functions are actually named
31081 something starting with __ and the normal name is an alias. */
31082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31083 choke me
31084 #else
31085 char (*f) () = $ac_func;
31086 #endif
31087 #ifdef __cplusplus
31088 }
31089 #endif
31090
31091 int
31092 main ()
31093 {
31094 return f != $ac_func;
31095 ;
31096 return 0;
31097 }
31098 _ACEOF
31099 rm -f conftest.$ac_objext conftest$ac_exeext
31100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31101 (eval $ac_link) 2>conftest.er1
31102 ac_status=$?
31103 grep -v '^ *+' conftest.er1 >conftest.err
31104 rm -f conftest.er1
31105 cat conftest.err >&5
31106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31107 (exit $ac_status); } &&
31108 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31110 (eval $ac_try) 2>&5
31111 ac_status=$?
31112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31113 (exit $ac_status); }; } &&
31114 { ac_try='test -s conftest$ac_exeext'
31115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31116 (eval $ac_try) 2>&5
31117 ac_status=$?
31118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31119 (exit $ac_status); }; }; then
31120 eval "$as_ac_var=yes"
31121 else
31122 echo "$as_me: failed program was:" >&5
31123 sed 's/^/| /' conftest.$ac_ext >&5
31124
31125 eval "$as_ac_var=no"
31126 fi
31127 rm -f conftest.err conftest.$ac_objext \
31128 conftest$ac_exeext conftest.$ac_ext
31129 fi
31130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31132 if test `eval echo '${'$as_ac_var'}'` = yes; then
31133 cat >>confdefs.h <<_ACEOF
31134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31135 _ACEOF
31136 cat >>confdefs.h <<\_ACEOF
31137 #define HAVE_INET_ATON 1
31138 _ACEOF
31139
31140 else
31141
31142 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31143 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
31144 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
31145 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
31146 echo $ECHO_N "(cached) $ECHO_C" >&6
31147 else
31148 ac_check_lib_save_LIBS=$LIBS
31149 LIBS="-l$INET_LINK $LIBS"
31150 cat >conftest.$ac_ext <<_ACEOF
31151 /* confdefs.h. */
31152 _ACEOF
31153 cat confdefs.h >>conftest.$ac_ext
31154 cat >>conftest.$ac_ext <<_ACEOF
31155 /* end confdefs.h. */
31156
31157 /* Override any gcc2 internal prototype to avoid an error. */
31158 #ifdef __cplusplus
31159 extern "C"
31160 #endif
31161 /* We use char because int might match the return type of a gcc2
31162 builtin and then its argument prototype would still apply. */
31163 char inet_aton ();
31164 int
31165 main ()
31166 {
31167 inet_aton ();
31168 ;
31169 return 0;
31170 }
31171 _ACEOF
31172 rm -f conftest.$ac_objext conftest$ac_exeext
31173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31174 (eval $ac_link) 2>conftest.er1
31175 ac_status=$?
31176 grep -v '^ *+' conftest.er1 >conftest.err
31177 rm -f conftest.er1
31178 cat conftest.err >&5
31179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31180 (exit $ac_status); } &&
31181 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31183 (eval $ac_try) 2>&5
31184 ac_status=$?
31185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31186 (exit $ac_status); }; } &&
31187 { ac_try='test -s conftest$ac_exeext'
31188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31189 (eval $ac_try) 2>&5
31190 ac_status=$?
31191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31192 (exit $ac_status); }; }; then
31193 eval "$as_ac_Lib=yes"
31194 else
31195 echo "$as_me: failed program was:" >&5
31196 sed 's/^/| /' conftest.$ac_ext >&5
31197
31198 eval "$as_ac_Lib=no"
31199 fi
31200 rm -f conftest.err conftest.$ac_objext \
31201 conftest$ac_exeext conftest.$ac_ext
31202 LIBS=$ac_check_lib_save_LIBS
31203 fi
31204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
31205 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
31206 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
31207 cat >>confdefs.h <<\_ACEOF
31208 #define HAVE_INET_ATON 1
31209 _ACEOF
31210
31211 fi
31212
31213
31214 fi
31215 done
31216
31217
31218 if test "x$INET_LINK" != "x"; then
31219 cat >>confdefs.h <<\_ACEOF
31220 #define HAVE_INET_ADDR 1
31221 _ACEOF
31222
31223 INET_LINK=" -l$INET_LINK"
31224 fi
31225
31226 fi
31227
31228
31229
31230 EXTRALIBS_ESD=
31231 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
31232 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
31233 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
31234 echo $ECHO_N "(cached) $ECHO_C" >&6
31235 else
31236 ac_check_lib_save_LIBS=$LIBS
31237 LIBS="-lesd $LIBS"
31238 cat >conftest.$ac_ext <<_ACEOF
31239 /* confdefs.h. */
31240 _ACEOF
31241 cat confdefs.h >>conftest.$ac_ext
31242 cat >>conftest.$ac_ext <<_ACEOF
31243 /* end confdefs.h. */
31244
31245 /* Override any gcc2 internal prototype to avoid an error. */
31246 #ifdef __cplusplus
31247 extern "C"
31248 #endif
31249 /* We use char because int might match the return type of a gcc2
31250 builtin and then its argument prototype would still apply. */
31251 char esd_close ();
31252 int
31253 main ()
31254 {
31255 esd_close ();
31256 ;
31257 return 0;
31258 }
31259 _ACEOF
31260 rm -f conftest.$ac_objext conftest$ac_exeext
31261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31262 (eval $ac_link) 2>conftest.er1
31263 ac_status=$?
31264 grep -v '^ *+' conftest.er1 >conftest.err
31265 rm -f conftest.er1
31266 cat conftest.err >&5
31267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31268 (exit $ac_status); } &&
31269 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31271 (eval $ac_try) 2>&5
31272 ac_status=$?
31273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31274 (exit $ac_status); }; } &&
31275 { ac_try='test -s conftest$ac_exeext'
31276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31277 (eval $ac_try) 2>&5
31278 ac_status=$?
31279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31280 (exit $ac_status); }; }; then
31281 ac_cv_lib_esd_esd_close=yes
31282 else
31283 echo "$as_me: failed program was:" >&5
31284 sed 's/^/| /' conftest.$ac_ext >&5
31285
31286 ac_cv_lib_esd_esd_close=no
31287 fi
31288 rm -f conftest.err conftest.$ac_objext \
31289 conftest$ac_exeext conftest.$ac_ext
31290 LIBS=$ac_check_lib_save_LIBS
31291 fi
31292 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
31293 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
31294 if test $ac_cv_lib_esd_esd_close = yes; then
31295
31296
31297 for ac_header in esd.h
31298 do
31299 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31300 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31301 echo "$as_me:$LINENO: checking for $ac_header" >&5
31302 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31303 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31304 echo $ECHO_N "(cached) $ECHO_C" >&6
31305 fi
31306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31307 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31308 else
31309 # Is the header compilable?
31310 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31311 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31312 cat >conftest.$ac_ext <<_ACEOF
31313 /* confdefs.h. */
31314 _ACEOF
31315 cat confdefs.h >>conftest.$ac_ext
31316 cat >>conftest.$ac_ext <<_ACEOF
31317 /* end confdefs.h. */
31318 $ac_includes_default
31319 #include <$ac_header>
31320 _ACEOF
31321 rm -f conftest.$ac_objext
31322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31323 (eval $ac_compile) 2>conftest.er1
31324 ac_status=$?
31325 grep -v '^ *+' conftest.er1 >conftest.err
31326 rm -f conftest.er1
31327 cat conftest.err >&5
31328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31329 (exit $ac_status); } &&
31330 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31332 (eval $ac_try) 2>&5
31333 ac_status=$?
31334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31335 (exit $ac_status); }; } &&
31336 { ac_try='test -s conftest.$ac_objext'
31337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31338 (eval $ac_try) 2>&5
31339 ac_status=$?
31340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31341 (exit $ac_status); }; }; then
31342 ac_header_compiler=yes
31343 else
31344 echo "$as_me: failed program was:" >&5
31345 sed 's/^/| /' conftest.$ac_ext >&5
31346
31347 ac_header_compiler=no
31348 fi
31349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31350 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31351 echo "${ECHO_T}$ac_header_compiler" >&6
31352
31353 # Is the header present?
31354 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31355 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31356 cat >conftest.$ac_ext <<_ACEOF
31357 /* confdefs.h. */
31358 _ACEOF
31359 cat confdefs.h >>conftest.$ac_ext
31360 cat >>conftest.$ac_ext <<_ACEOF
31361 /* end confdefs.h. */
31362 #include <$ac_header>
31363 _ACEOF
31364 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31365 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31366 ac_status=$?
31367 grep -v '^ *+' conftest.er1 >conftest.err
31368 rm -f conftest.er1
31369 cat conftest.err >&5
31370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31371 (exit $ac_status); } >/dev/null; then
31372 if test -s conftest.err; then
31373 ac_cpp_err=$ac_c_preproc_warn_flag
31374 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31375 else
31376 ac_cpp_err=
31377 fi
31378 else
31379 ac_cpp_err=yes
31380 fi
31381 if test -z "$ac_cpp_err"; then
31382 ac_header_preproc=yes
31383 else
31384 echo "$as_me: failed program was:" >&5
31385 sed 's/^/| /' conftest.$ac_ext >&5
31386
31387 ac_header_preproc=no
31388 fi
31389 rm -f conftest.err conftest.$ac_ext
31390 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31391 echo "${ECHO_T}$ac_header_preproc" >&6
31392
31393 # So? What about this header?
31394 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31395 yes:no: )
31396 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31397 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31398 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31399 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31400 ac_header_preproc=yes
31401 ;;
31402 no:yes:* )
31403 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31404 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31405 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31406 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31407 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31408 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31409 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31410 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31411 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31412 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31413 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31414 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31415 (
31416 cat <<\_ASBOX
31417 ## ----------------------------------------- ##
31418 ## Report this to wx-dev@lists.wxwidgets.org ##
31419 ## ----------------------------------------- ##
31420 _ASBOX
31421 ) |
31422 sed "s/^/$as_me: WARNING: /" >&2
31423 ;;
31424 esac
31425 echo "$as_me:$LINENO: checking for $ac_header" >&5
31426 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31427 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31428 echo $ECHO_N "(cached) $ECHO_C" >&6
31429 else
31430 eval "$as_ac_Header=\$ac_header_preproc"
31431 fi
31432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31433 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31434
31435 fi
31436 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31437 cat >>confdefs.h <<_ACEOF
31438 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31439 _ACEOF
31440
31441 EXTRALIBS_ESD="-lesd"
31442
31443 fi
31444
31445 done
31446
31447
31448 fi
31449
31450
31451
31452 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
31453 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
31454 cat >conftest.$ac_ext <<_ACEOF
31455 /* confdefs.h. */
31456 _ACEOF
31457 cat confdefs.h >>conftest.$ac_ext
31458 cat >>conftest.$ac_ext <<_ACEOF
31459 /* end confdefs.h. */
31460 #ifdef __linux__
31461 #include <linux/cdrom.h>
31462 #else
31463 /* For Solaris */
31464 #include <sys/cdio.h>
31465 #endif
31466
31467 int
31468 main ()
31469 {
31470 struct cdrom_tocentry entry, old_entry;
31471 ;
31472 return 0;
31473 }
31474 _ACEOF
31475 rm -f conftest.$ac_objext
31476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31477 (eval $ac_compile) 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_objext'
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 echo "$as_me:$LINENO: result: yes" >&5
31497 echo "${ECHO_T}yes" >&6
31498 cat >>confdefs.h <<\_ACEOF
31499 #define HAVE_KNOWN_CDROM_INTERFACE 1
31500 _ACEOF
31501
31502 else
31503 echo "$as_me: failed program was:" >&5
31504 sed 's/^/| /' conftest.$ac_ext >&5
31505
31506 echo "$as_me:$LINENO: result: no" >&5
31507 echo "${ECHO_T}no" >&6
31508 fi
31509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31510
31511
31512 cat >confcache <<\_ACEOF
31513 # This file is a shell script that caches the results of configure
31514 # tests run on this system so they can be shared between configure
31515 # scripts and configure runs, see configure's option --config-cache.
31516 # It is not useful on other systems. If it contains results you don't
31517 # want to keep, you may remove or edit it.
31518 #
31519 # config.status only pays attention to the cache file if you give it
31520 # the --recheck option to rerun configure.
31521 #
31522 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31523 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31524 # following values.
31525
31526 _ACEOF
31527
31528 # The following way of writing the cache mishandles newlines in values,
31529 # but we know of no workaround that is simple, portable, and efficient.
31530 # So, don't put newlines in cache variables' values.
31531 # Ultrix sh set writes to stderr and can't be redirected directly,
31532 # and sets the high bit in the cache file unless we assign to the vars.
31533 {
31534 (set) 2>&1 |
31535 case `(ac_space=' '; set | grep ac_space) 2>&1` in
31536 *ac_space=\ *)
31537 # `set' does not quote correctly, so add quotes (double-quote
31538 # substitution turns \\\\ into \\, and sed turns \\ into \).
31539 sed -n \
31540 "s/'/'\\\\''/g;
31541 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31542 ;;
31543 *)
31544 # `set' quotes correctly as required by POSIX, so do not add quotes.
31545 sed -n \
31546 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
31547 ;;
31548 esac;
31549 } |
31550 sed '
31551 t clear
31552 : clear
31553 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31554 t end
31555 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31556 : end' >>confcache
31557 if diff $cache_file confcache >/dev/null 2>&1; then :; else
31558 if test -w $cache_file; then
31559 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
31560 cat confcache >$cache_file
31561 else
31562 echo "not updating unwritable cache $cache_file"
31563 fi
31564 fi
31565 rm -f confcache
31566
31567
31568 CPP_MT_FLAG=
31569 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31570
31571
31572 THREADS_LINK=
31573 THREADS_CFLAGS=
31574
31575 if test "$wxUSE_THREADS" = "yes" ; then
31576 if test "$USE_BEOS" = 1; then
31577 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
31578 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31579 wxUSE_THREADS="no"
31580 fi
31581 fi
31582
31583 if test "$wxUSE_THREADS" = "yes" ; then
31584
31585
31586 THREAD_OPTS="-pthread"
31587 case "${host}" in
31588 *-*-solaris2* | *-*-sunos4* )
31589 if test "x$GCC" = "xyes"; then
31590 THREAD_OPTS="-pthreads $THREAD_OPTS"
31591 else
31592 THREAD_OPTS="-mt $THREAD_OPTS"
31593 fi
31594 ;;
31595 *-*-freebsd*)
31596 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
31597 ;;
31598 *-*-darwin* | *-*-cygwin* )
31599 THREAD_OPTS=""
31600 ;;
31601 *-*-aix*)
31602 THREAD_OPTS="pthreads"
31603 ;;
31604 *-hp-hpux* )
31605 if test "x$GCC" != "xyes"; then
31606 THREAD_OPTS=""
31607 fi
31608 ;;
31609
31610 *-*-irix* )
31611 if test "x$GCC" = "xyes"; then
31612 THREAD_OPTS=""
31613 fi
31614 ;;
31615
31616 *-*-*UnixWare*)
31617 if test "x$GCC" != "xyes"; then
31618 THREAD_OPTS="-Ethread"
31619 fi
31620 ;;
31621 esac
31622
31623 THREAD_OPTS="$THREAD_OPTS pthread none"
31624
31625 THREADS_OK=no
31626 for flag in $THREAD_OPTS; do
31627 case $flag in
31628 none)
31629 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
31630 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
31631 ;;
31632
31633 -*)
31634 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
31635 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
31636 THREADS_CFLAGS="$flag"
31637 ;;
31638
31639 *)
31640 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
31641 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
31642 THREADS_LINK="-l$flag"
31643 ;;
31644 esac
31645
31646 save_LIBS="$LIBS"
31647 save_CFLAGS="$CFLAGS"
31648 LIBS="$THREADS_LINK $LIBS"
31649 CFLAGS="$THREADS_CFLAGS $CFLAGS"
31650
31651 cat >conftest.$ac_ext <<_ACEOF
31652 /* confdefs.h. */
31653 _ACEOF
31654 cat confdefs.h >>conftest.$ac_ext
31655 cat >>conftest.$ac_ext <<_ACEOF
31656 /* end confdefs.h. */
31657 #include <pthread.h>
31658 int
31659 main ()
31660 {
31661 pthread_create(0,0,0,0);
31662 ;
31663 return 0;
31664 }
31665 _ACEOF
31666 rm -f conftest.$ac_objext conftest$ac_exeext
31667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31668 (eval $ac_link) 2>conftest.er1
31669 ac_status=$?
31670 grep -v '^ *+' conftest.er1 >conftest.err
31671 rm -f conftest.er1
31672 cat conftest.err >&5
31673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31674 (exit $ac_status); } &&
31675 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31677 (eval $ac_try) 2>&5
31678 ac_status=$?
31679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31680 (exit $ac_status); }; } &&
31681 { ac_try='test -s conftest$ac_exeext'
31682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31683 (eval $ac_try) 2>&5
31684 ac_status=$?
31685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31686 (exit $ac_status); }; }; then
31687 THREADS_OK=yes
31688 else
31689 echo "$as_me: failed program was:" >&5
31690 sed 's/^/| /' conftest.$ac_ext >&5
31691
31692 fi
31693 rm -f conftest.err conftest.$ac_objext \
31694 conftest$ac_exeext conftest.$ac_ext
31695
31696 LIBS="$save_LIBS"
31697 CFLAGS="$save_CFLAGS"
31698
31699 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
31700 echo "${ECHO_T}$THREADS_OK" >&6
31701 if test "x$THREADS_OK" = "xyes"; then
31702 break;
31703 fi
31704
31705 THREADS_LINK=""
31706 THREADS_CFLAGS=""
31707 done
31708
31709 if test "x$THREADS_OK" != "xyes"; then
31710 wxUSE_THREADS=no
31711 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
31712 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
31713 else
31714 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
31715 LIBS="$THREADS_LINK $LIBS"
31716
31717 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
31718 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
31719 flag=no
31720 case "${host}" in
31721 *-aix*)
31722 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
31723 flag="-D_THREAD_SAFE"
31724 ;;
31725 *-freebsd*)
31726 flag="-D_THREAD_SAFE"
31727 ;;
31728 *-hp-hpux* )
31729 flag="-D_REENTRANT"
31730 if test "x$GCC" != "xyes"; then
31731 flag="$flag -D_RWSTD_MULTI_THREAD"
31732
31733 LIBS="$LIBS -lcma"
31734 fi
31735 ;;
31736 *solaris* | alpha*-osf*)
31737 flag="-D_REENTRANT"
31738 ;;
31739 esac
31740 echo "$as_me:$LINENO: result: ${flag}" >&5
31741 echo "${ECHO_T}${flag}" >&6
31742 if test "x$flag" != xno; then
31743 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
31744 fi
31745
31746 if test "x$THREADS_CFLAGS" != "x"; then
31747 CFLAGS="$CFLAGS $THREADS_CFLAGS"
31748 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
31749 fi
31750 fi
31751 fi
31752
31753 if test "$wxUSE_THREADS" = "yes" ; then
31754
31755 for ac_func in thr_setconcurrency
31756 do
31757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31758 echo "$as_me:$LINENO: checking for $ac_func" >&5
31759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31760 if eval "test \"\${$as_ac_var+set}\" = set"; then
31761 echo $ECHO_N "(cached) $ECHO_C" >&6
31762 else
31763 cat >conftest.$ac_ext <<_ACEOF
31764 /* confdefs.h. */
31765 _ACEOF
31766 cat confdefs.h >>conftest.$ac_ext
31767 cat >>conftest.$ac_ext <<_ACEOF
31768 /* end confdefs.h. */
31769 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31771 #define $ac_func innocuous_$ac_func
31772
31773 /* System header to define __stub macros and hopefully few prototypes,
31774 which can conflict with char $ac_func (); below.
31775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31776 <limits.h> exists even on freestanding compilers. */
31777
31778 #ifdef __STDC__
31779 # include <limits.h>
31780 #else
31781 # include <assert.h>
31782 #endif
31783
31784 #undef $ac_func
31785
31786 /* Override any gcc2 internal prototype to avoid an error. */
31787 #ifdef __cplusplus
31788 extern "C"
31789 {
31790 #endif
31791 /* We use char because int might match the return type of a gcc2
31792 builtin and then its argument prototype would still apply. */
31793 char $ac_func ();
31794 /* The GNU C library defines this for functions which it implements
31795 to always fail with ENOSYS. Some functions are actually named
31796 something starting with __ and the normal name is an alias. */
31797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31798 choke me
31799 #else
31800 char (*f) () = $ac_func;
31801 #endif
31802 #ifdef __cplusplus
31803 }
31804 #endif
31805
31806 int
31807 main ()
31808 {
31809 return f != $ac_func;
31810 ;
31811 return 0;
31812 }
31813 _ACEOF
31814 rm -f conftest.$ac_objext conftest$ac_exeext
31815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31816 (eval $ac_link) 2>conftest.er1
31817 ac_status=$?
31818 grep -v '^ *+' conftest.er1 >conftest.err
31819 rm -f conftest.er1
31820 cat conftest.err >&5
31821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31822 (exit $ac_status); } &&
31823 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31825 (eval $ac_try) 2>&5
31826 ac_status=$?
31827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31828 (exit $ac_status); }; } &&
31829 { ac_try='test -s conftest$ac_exeext'
31830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31831 (eval $ac_try) 2>&5
31832 ac_status=$?
31833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31834 (exit $ac_status); }; }; then
31835 eval "$as_ac_var=yes"
31836 else
31837 echo "$as_me: failed program was:" >&5
31838 sed 's/^/| /' conftest.$ac_ext >&5
31839
31840 eval "$as_ac_var=no"
31841 fi
31842 rm -f conftest.err conftest.$ac_objext \
31843 conftest$ac_exeext conftest.$ac_ext
31844 fi
31845 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31846 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31847 if test `eval echo '${'$as_ac_var'}'` = yes; then
31848 cat >>confdefs.h <<_ACEOF
31849 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31850 _ACEOF
31851
31852 fi
31853 done
31854
31855
31856
31857 for ac_header in sched.h
31858 do
31859 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31860 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31861 echo "$as_me:$LINENO: checking for $ac_header" >&5
31862 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31863 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31864 echo $ECHO_N "(cached) $ECHO_C" >&6
31865 fi
31866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31867 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31868 else
31869 # Is the header compilable?
31870 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31871 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31872 cat >conftest.$ac_ext <<_ACEOF
31873 /* confdefs.h. */
31874 _ACEOF
31875 cat confdefs.h >>conftest.$ac_ext
31876 cat >>conftest.$ac_ext <<_ACEOF
31877 /* end confdefs.h. */
31878 $ac_includes_default
31879 #include <$ac_header>
31880 _ACEOF
31881 rm -f conftest.$ac_objext
31882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31883 (eval $ac_compile) 2>conftest.er1
31884 ac_status=$?
31885 grep -v '^ *+' conftest.er1 >conftest.err
31886 rm -f conftest.er1
31887 cat conftest.err >&5
31888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31889 (exit $ac_status); } &&
31890 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31892 (eval $ac_try) 2>&5
31893 ac_status=$?
31894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31895 (exit $ac_status); }; } &&
31896 { ac_try='test -s conftest.$ac_objext'
31897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31898 (eval $ac_try) 2>&5
31899 ac_status=$?
31900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31901 (exit $ac_status); }; }; then
31902 ac_header_compiler=yes
31903 else
31904 echo "$as_me: failed program was:" >&5
31905 sed 's/^/| /' conftest.$ac_ext >&5
31906
31907 ac_header_compiler=no
31908 fi
31909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31910 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31911 echo "${ECHO_T}$ac_header_compiler" >&6
31912
31913 # Is the header present?
31914 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31915 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31916 cat >conftest.$ac_ext <<_ACEOF
31917 /* confdefs.h. */
31918 _ACEOF
31919 cat confdefs.h >>conftest.$ac_ext
31920 cat >>conftest.$ac_ext <<_ACEOF
31921 /* end confdefs.h. */
31922 #include <$ac_header>
31923 _ACEOF
31924 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31925 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31926 ac_status=$?
31927 grep -v '^ *+' conftest.er1 >conftest.err
31928 rm -f conftest.er1
31929 cat conftest.err >&5
31930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31931 (exit $ac_status); } >/dev/null; then
31932 if test -s conftest.err; then
31933 ac_cpp_err=$ac_c_preproc_warn_flag
31934 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31935 else
31936 ac_cpp_err=
31937 fi
31938 else
31939 ac_cpp_err=yes
31940 fi
31941 if test -z "$ac_cpp_err"; then
31942 ac_header_preproc=yes
31943 else
31944 echo "$as_me: failed program was:" >&5
31945 sed 's/^/| /' conftest.$ac_ext >&5
31946
31947 ac_header_preproc=no
31948 fi
31949 rm -f conftest.err conftest.$ac_ext
31950 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31951 echo "${ECHO_T}$ac_header_preproc" >&6
31952
31953 # So? What about this header?
31954 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31955 yes:no: )
31956 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31957 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31958 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31959 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31960 ac_header_preproc=yes
31961 ;;
31962 no:yes:* )
31963 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31964 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31965 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31966 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31967 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31968 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31969 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31970 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31971 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31972 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31973 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31974 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31975 (
31976 cat <<\_ASBOX
31977 ## ----------------------------------------- ##
31978 ## Report this to wx-dev@lists.wxwidgets.org ##
31979 ## ----------------------------------------- ##
31980 _ASBOX
31981 ) |
31982 sed "s/^/$as_me: WARNING: /" >&2
31983 ;;
31984 esac
31985 echo "$as_me:$LINENO: checking for $ac_header" >&5
31986 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31987 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31988 echo $ECHO_N "(cached) $ECHO_C" >&6
31989 else
31990 eval "$as_ac_Header=\$ac_header_preproc"
31991 fi
31992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31993 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31994
31995 fi
31996 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31997 cat >>confdefs.h <<_ACEOF
31998 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31999 _ACEOF
32000
32001 fi
32002
32003 done
32004
32005 if test "$ac_cv_header_sched_h" = "yes"; then
32006 echo "$as_me:$LINENO: checking for sched_yield" >&5
32007 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
32008 if test "${ac_cv_func_sched_yield+set}" = set; then
32009 echo $ECHO_N "(cached) $ECHO_C" >&6
32010 else
32011 cat >conftest.$ac_ext <<_ACEOF
32012 /* confdefs.h. */
32013 _ACEOF
32014 cat confdefs.h >>conftest.$ac_ext
32015 cat >>conftest.$ac_ext <<_ACEOF
32016 /* end confdefs.h. */
32017 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
32018 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32019 #define sched_yield innocuous_sched_yield
32020
32021 /* System header to define __stub macros and hopefully few prototypes,
32022 which can conflict with char sched_yield (); below.
32023 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32024 <limits.h> exists even on freestanding compilers. */
32025
32026 #ifdef __STDC__
32027 # include <limits.h>
32028 #else
32029 # include <assert.h>
32030 #endif
32031
32032 #undef sched_yield
32033
32034 /* Override any gcc2 internal prototype to avoid an error. */
32035 #ifdef __cplusplus
32036 extern "C"
32037 {
32038 #endif
32039 /* We use char because int might match the return type of a gcc2
32040 builtin and then its argument prototype would still apply. */
32041 char sched_yield ();
32042 /* The GNU C library defines this for functions which it implements
32043 to always fail with ENOSYS. Some functions are actually named
32044 something starting with __ and the normal name is an alias. */
32045 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
32046 choke me
32047 #else
32048 char (*f) () = sched_yield;
32049 #endif
32050 #ifdef __cplusplus
32051 }
32052 #endif
32053
32054 int
32055 main ()
32056 {
32057 return f != sched_yield;
32058 ;
32059 return 0;
32060 }
32061 _ACEOF
32062 rm -f conftest.$ac_objext conftest$ac_exeext
32063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32064 (eval $ac_link) 2>conftest.er1
32065 ac_status=$?
32066 grep -v '^ *+' conftest.er1 >conftest.err
32067 rm -f conftest.er1
32068 cat conftest.err >&5
32069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32070 (exit $ac_status); } &&
32071 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32073 (eval $ac_try) 2>&5
32074 ac_status=$?
32075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32076 (exit $ac_status); }; } &&
32077 { ac_try='test -s conftest$ac_exeext'
32078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32079 (eval $ac_try) 2>&5
32080 ac_status=$?
32081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32082 (exit $ac_status); }; }; then
32083 ac_cv_func_sched_yield=yes
32084 else
32085 echo "$as_me: failed program was:" >&5
32086 sed 's/^/| /' conftest.$ac_ext >&5
32087
32088 ac_cv_func_sched_yield=no
32089 fi
32090 rm -f conftest.err conftest.$ac_objext \
32091 conftest$ac_exeext conftest.$ac_ext
32092 fi
32093 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
32094 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
32095 if test $ac_cv_func_sched_yield = yes; then
32096 cat >>confdefs.h <<\_ACEOF
32097 #define HAVE_SCHED_YIELD 1
32098 _ACEOF
32099
32100 else
32101
32102 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
32103 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
32104 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
32105 echo $ECHO_N "(cached) $ECHO_C" >&6
32106 else
32107 ac_check_lib_save_LIBS=$LIBS
32108 LIBS="-lposix4 $LIBS"
32109 cat >conftest.$ac_ext <<_ACEOF
32110 /* confdefs.h. */
32111 _ACEOF
32112 cat confdefs.h >>conftest.$ac_ext
32113 cat >>conftest.$ac_ext <<_ACEOF
32114 /* end confdefs.h. */
32115
32116 /* Override any gcc2 internal prototype to avoid an error. */
32117 #ifdef __cplusplus
32118 extern "C"
32119 #endif
32120 /* We use char because int might match the return type of a gcc2
32121 builtin and then its argument prototype would still apply. */
32122 char sched_yield ();
32123 int
32124 main ()
32125 {
32126 sched_yield ();
32127 ;
32128 return 0;
32129 }
32130 _ACEOF
32131 rm -f conftest.$ac_objext conftest$ac_exeext
32132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32133 (eval $ac_link) 2>conftest.er1
32134 ac_status=$?
32135 grep -v '^ *+' conftest.er1 >conftest.err
32136 rm -f conftest.er1
32137 cat conftest.err >&5
32138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32139 (exit $ac_status); } &&
32140 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32142 (eval $ac_try) 2>&5
32143 ac_status=$?
32144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32145 (exit $ac_status); }; } &&
32146 { ac_try='test -s conftest$ac_exeext'
32147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32148 (eval $ac_try) 2>&5
32149 ac_status=$?
32150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32151 (exit $ac_status); }; }; then
32152 ac_cv_lib_posix4_sched_yield=yes
32153 else
32154 echo "$as_me: failed program was:" >&5
32155 sed 's/^/| /' conftest.$ac_ext >&5
32156
32157 ac_cv_lib_posix4_sched_yield=no
32158 fi
32159 rm -f conftest.err conftest.$ac_objext \
32160 conftest$ac_exeext conftest.$ac_ext
32161 LIBS=$ac_check_lib_save_LIBS
32162 fi
32163 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
32164 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
32165 if test $ac_cv_lib_posix4_sched_yield = yes; then
32166 cat >>confdefs.h <<\_ACEOF
32167 #define HAVE_SCHED_YIELD 1
32168 _ACEOF
32169 POSIX4_LINK=" -lposix4"
32170 else
32171 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
32172 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32173
32174 fi
32175
32176
32177
32178 fi
32179
32180 fi
32181
32182 HAVE_PRIOR_FUNCS=0
32183 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
32184 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
32185 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
32186 echo $ECHO_N "(cached) $ECHO_C" >&6
32187 else
32188 cat >conftest.$ac_ext <<_ACEOF
32189 /* confdefs.h. */
32190 _ACEOF
32191 cat confdefs.h >>conftest.$ac_ext
32192 cat >>conftest.$ac_ext <<_ACEOF
32193 /* end confdefs.h. */
32194 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
32195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32196 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
32197
32198 /* System header to define __stub macros and hopefully few prototypes,
32199 which can conflict with char pthread_attr_getschedpolicy (); below.
32200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32201 <limits.h> exists even on freestanding compilers. */
32202
32203 #ifdef __STDC__
32204 # include <limits.h>
32205 #else
32206 # include <assert.h>
32207 #endif
32208
32209 #undef pthread_attr_getschedpolicy
32210
32211 /* Override any gcc2 internal prototype to avoid an error. */
32212 #ifdef __cplusplus
32213 extern "C"
32214 {
32215 #endif
32216 /* We use char because int might match the return type of a gcc2
32217 builtin and then its argument prototype would still apply. */
32218 char pthread_attr_getschedpolicy ();
32219 /* The GNU C library defines this for functions which it implements
32220 to always fail with ENOSYS. Some functions are actually named
32221 something starting with __ and the normal name is an alias. */
32222 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
32223 choke me
32224 #else
32225 char (*f) () = pthread_attr_getschedpolicy;
32226 #endif
32227 #ifdef __cplusplus
32228 }
32229 #endif
32230
32231 int
32232 main ()
32233 {
32234 return f != pthread_attr_getschedpolicy;
32235 ;
32236 return 0;
32237 }
32238 _ACEOF
32239 rm -f conftest.$ac_objext conftest$ac_exeext
32240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32241 (eval $ac_link) 2>conftest.er1
32242 ac_status=$?
32243 grep -v '^ *+' conftest.er1 >conftest.err
32244 rm -f conftest.er1
32245 cat conftest.err >&5
32246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32247 (exit $ac_status); } &&
32248 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32250 (eval $ac_try) 2>&5
32251 ac_status=$?
32252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32253 (exit $ac_status); }; } &&
32254 { ac_try='test -s conftest$ac_exeext'
32255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32256 (eval $ac_try) 2>&5
32257 ac_status=$?
32258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32259 (exit $ac_status); }; }; then
32260 ac_cv_func_pthread_attr_getschedpolicy=yes
32261 else
32262 echo "$as_me: failed program was:" >&5
32263 sed 's/^/| /' conftest.$ac_ext >&5
32264
32265 ac_cv_func_pthread_attr_getschedpolicy=no
32266 fi
32267 rm -f conftest.err conftest.$ac_objext \
32268 conftest$ac_exeext conftest.$ac_ext
32269 fi
32270 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
32271 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
32272 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
32273 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
32274 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
32275 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
32276 echo $ECHO_N "(cached) $ECHO_C" >&6
32277 else
32278 cat >conftest.$ac_ext <<_ACEOF
32279 /* confdefs.h. */
32280 _ACEOF
32281 cat confdefs.h >>conftest.$ac_ext
32282 cat >>conftest.$ac_ext <<_ACEOF
32283 /* end confdefs.h. */
32284 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
32285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32286 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
32287
32288 /* System header to define __stub macros and hopefully few prototypes,
32289 which can conflict with char pthread_attr_setschedparam (); below.
32290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32291 <limits.h> exists even on freestanding compilers. */
32292
32293 #ifdef __STDC__
32294 # include <limits.h>
32295 #else
32296 # include <assert.h>
32297 #endif
32298
32299 #undef pthread_attr_setschedparam
32300
32301 /* Override any gcc2 internal prototype to avoid an error. */
32302 #ifdef __cplusplus
32303 extern "C"
32304 {
32305 #endif
32306 /* We use char because int might match the return type of a gcc2
32307 builtin and then its argument prototype would still apply. */
32308 char pthread_attr_setschedparam ();
32309 /* The GNU C library defines this for functions which it implements
32310 to always fail with ENOSYS. Some functions are actually named
32311 something starting with __ and the normal name is an alias. */
32312 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
32313 choke me
32314 #else
32315 char (*f) () = pthread_attr_setschedparam;
32316 #endif
32317 #ifdef __cplusplus
32318 }
32319 #endif
32320
32321 int
32322 main ()
32323 {
32324 return f != pthread_attr_setschedparam;
32325 ;
32326 return 0;
32327 }
32328 _ACEOF
32329 rm -f conftest.$ac_objext conftest$ac_exeext
32330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32331 (eval $ac_link) 2>conftest.er1
32332 ac_status=$?
32333 grep -v '^ *+' conftest.er1 >conftest.err
32334 rm -f conftest.er1
32335 cat conftest.err >&5
32336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32337 (exit $ac_status); } &&
32338 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32340 (eval $ac_try) 2>&5
32341 ac_status=$?
32342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32343 (exit $ac_status); }; } &&
32344 { ac_try='test -s conftest$ac_exeext'
32345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32346 (eval $ac_try) 2>&5
32347 ac_status=$?
32348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32349 (exit $ac_status); }; }; then
32350 ac_cv_func_pthread_attr_setschedparam=yes
32351 else
32352 echo "$as_me: failed program was:" >&5
32353 sed 's/^/| /' conftest.$ac_ext >&5
32354
32355 ac_cv_func_pthread_attr_setschedparam=no
32356 fi
32357 rm -f conftest.err conftest.$ac_objext \
32358 conftest$ac_exeext conftest.$ac_ext
32359 fi
32360 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
32361 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
32362 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
32363 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
32364 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
32365 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
32366 echo $ECHO_N "(cached) $ECHO_C" >&6
32367 else
32368 cat >conftest.$ac_ext <<_ACEOF
32369 /* confdefs.h. */
32370 _ACEOF
32371 cat confdefs.h >>conftest.$ac_ext
32372 cat >>conftest.$ac_ext <<_ACEOF
32373 /* end confdefs.h. */
32374 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
32375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32376 #define sched_get_priority_max innocuous_sched_get_priority_max
32377
32378 /* System header to define __stub macros and hopefully few prototypes,
32379 which can conflict with char sched_get_priority_max (); below.
32380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32381 <limits.h> exists even on freestanding compilers. */
32382
32383 #ifdef __STDC__
32384 # include <limits.h>
32385 #else
32386 # include <assert.h>
32387 #endif
32388
32389 #undef sched_get_priority_max
32390
32391 /* Override any gcc2 internal prototype to avoid an error. */
32392 #ifdef __cplusplus
32393 extern "C"
32394 {
32395 #endif
32396 /* We use char because int might match the return type of a gcc2
32397 builtin and then its argument prototype would still apply. */
32398 char sched_get_priority_max ();
32399 /* The GNU C library defines this for functions which it implements
32400 to always fail with ENOSYS. Some functions are actually named
32401 something starting with __ and the normal name is an alias. */
32402 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
32403 choke me
32404 #else
32405 char (*f) () = sched_get_priority_max;
32406 #endif
32407 #ifdef __cplusplus
32408 }
32409 #endif
32410
32411 int
32412 main ()
32413 {
32414 return f != sched_get_priority_max;
32415 ;
32416 return 0;
32417 }
32418 _ACEOF
32419 rm -f conftest.$ac_objext conftest$ac_exeext
32420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32421 (eval $ac_link) 2>conftest.er1
32422 ac_status=$?
32423 grep -v '^ *+' conftest.er1 >conftest.err
32424 rm -f conftest.er1
32425 cat conftest.err >&5
32426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32427 (exit $ac_status); } &&
32428 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32430 (eval $ac_try) 2>&5
32431 ac_status=$?
32432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32433 (exit $ac_status); }; } &&
32434 { ac_try='test -s conftest$ac_exeext'
32435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32436 (eval $ac_try) 2>&5
32437 ac_status=$?
32438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32439 (exit $ac_status); }; }; then
32440 ac_cv_func_sched_get_priority_max=yes
32441 else
32442 echo "$as_me: failed program was:" >&5
32443 sed 's/^/| /' conftest.$ac_ext >&5
32444
32445 ac_cv_func_sched_get_priority_max=no
32446 fi
32447 rm -f conftest.err conftest.$ac_objext \
32448 conftest$ac_exeext conftest.$ac_ext
32449 fi
32450 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
32451 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
32452 if test $ac_cv_func_sched_get_priority_max = yes; then
32453 HAVE_PRIOR_FUNCS=1
32454 else
32455 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
32456 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
32457 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
32458 echo $ECHO_N "(cached) $ECHO_C" >&6
32459 else
32460 ac_check_lib_save_LIBS=$LIBS
32461 LIBS="-lposix4 $LIBS"
32462 cat >conftest.$ac_ext <<_ACEOF
32463 /* confdefs.h. */
32464 _ACEOF
32465 cat confdefs.h >>conftest.$ac_ext
32466 cat >>conftest.$ac_ext <<_ACEOF
32467 /* end confdefs.h. */
32468
32469 /* Override any gcc2 internal prototype to avoid an error. */
32470 #ifdef __cplusplus
32471 extern "C"
32472 #endif
32473 /* We use char because int might match the return type of a gcc2
32474 builtin and then its argument prototype would still apply. */
32475 char sched_get_priority_max ();
32476 int
32477 main ()
32478 {
32479 sched_get_priority_max ();
32480 ;
32481 return 0;
32482 }
32483 _ACEOF
32484 rm -f conftest.$ac_objext conftest$ac_exeext
32485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32486 (eval $ac_link) 2>conftest.er1
32487 ac_status=$?
32488 grep -v '^ *+' conftest.er1 >conftest.err
32489 rm -f conftest.er1
32490 cat conftest.err >&5
32491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32492 (exit $ac_status); } &&
32493 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32495 (eval $ac_try) 2>&5
32496 ac_status=$?
32497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32498 (exit $ac_status); }; } &&
32499 { ac_try='test -s conftest$ac_exeext'
32500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32501 (eval $ac_try) 2>&5
32502 ac_status=$?
32503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32504 (exit $ac_status); }; }; then
32505 ac_cv_lib_posix4_sched_get_priority_max=yes
32506 else
32507 echo "$as_me: failed program was:" >&5
32508 sed 's/^/| /' conftest.$ac_ext >&5
32509
32510 ac_cv_lib_posix4_sched_get_priority_max=no
32511 fi
32512 rm -f conftest.err conftest.$ac_objext \
32513 conftest$ac_exeext conftest.$ac_ext
32514 LIBS=$ac_check_lib_save_LIBS
32515 fi
32516 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32517 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
32518 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
32519
32520 HAVE_PRIOR_FUNCS=1
32521 POSIX4_LINK=" -lposix4"
32522
32523 fi
32524
32525
32526 fi
32527
32528
32529 fi
32530
32531
32532 fi
32533
32534
32535 if test "$HAVE_PRIOR_FUNCS" = 1; then
32536 cat >>confdefs.h <<\_ACEOF
32537 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
32538 _ACEOF
32539
32540 else
32541 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
32542 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32543 fi
32544
32545 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
32546 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
32547 if test "${ac_cv_func_pthread_cancel+set}" = set; then
32548 echo $ECHO_N "(cached) $ECHO_C" >&6
32549 else
32550 cat >conftest.$ac_ext <<_ACEOF
32551 /* confdefs.h. */
32552 _ACEOF
32553 cat confdefs.h >>conftest.$ac_ext
32554 cat >>conftest.$ac_ext <<_ACEOF
32555 /* end confdefs.h. */
32556 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
32557 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32558 #define pthread_cancel innocuous_pthread_cancel
32559
32560 /* System header to define __stub macros and hopefully few prototypes,
32561 which can conflict with char pthread_cancel (); below.
32562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32563 <limits.h> exists even on freestanding compilers. */
32564
32565 #ifdef __STDC__
32566 # include <limits.h>
32567 #else
32568 # include <assert.h>
32569 #endif
32570
32571 #undef pthread_cancel
32572
32573 /* Override any gcc2 internal prototype to avoid an error. */
32574 #ifdef __cplusplus
32575 extern "C"
32576 {
32577 #endif
32578 /* We use char because int might match the return type of a gcc2
32579 builtin and then its argument prototype would still apply. */
32580 char pthread_cancel ();
32581 /* The GNU C library defines this for functions which it implements
32582 to always fail with ENOSYS. Some functions are actually named
32583 something starting with __ and the normal name is an alias. */
32584 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
32585 choke me
32586 #else
32587 char (*f) () = pthread_cancel;
32588 #endif
32589 #ifdef __cplusplus
32590 }
32591 #endif
32592
32593 int
32594 main ()
32595 {
32596 return f != pthread_cancel;
32597 ;
32598 return 0;
32599 }
32600 _ACEOF
32601 rm -f conftest.$ac_objext conftest$ac_exeext
32602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32603 (eval $ac_link) 2>conftest.er1
32604 ac_status=$?
32605 grep -v '^ *+' conftest.er1 >conftest.err
32606 rm -f conftest.er1
32607 cat conftest.err >&5
32608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32609 (exit $ac_status); } &&
32610 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32612 (eval $ac_try) 2>&5
32613 ac_status=$?
32614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32615 (exit $ac_status); }; } &&
32616 { ac_try='test -s conftest$ac_exeext'
32617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32618 (eval $ac_try) 2>&5
32619 ac_status=$?
32620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32621 (exit $ac_status); }; }; then
32622 ac_cv_func_pthread_cancel=yes
32623 else
32624 echo "$as_me: failed program was:" >&5
32625 sed 's/^/| /' conftest.$ac_ext >&5
32626
32627 ac_cv_func_pthread_cancel=no
32628 fi
32629 rm -f conftest.err conftest.$ac_objext \
32630 conftest$ac_exeext conftest.$ac_ext
32631 fi
32632 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
32633 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
32634 if test $ac_cv_func_pthread_cancel = yes; then
32635 cat >>confdefs.h <<\_ACEOF
32636 #define HAVE_PTHREAD_CANCEL 1
32637 _ACEOF
32638
32639 else
32640 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
32641 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32642 fi
32643
32644
32645
32646
32647 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
32648 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
32649 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
32650 echo $ECHO_N "(cached) $ECHO_C" >&6
32651 else
32652
32653 cat >conftest.$ac_ext <<_ACEOF
32654 /* confdefs.h. */
32655 _ACEOF
32656 cat confdefs.h >>conftest.$ac_ext
32657 cat >>conftest.$ac_ext <<_ACEOF
32658 /* end confdefs.h. */
32659 #include <pthread.h>
32660 int
32661 main ()
32662 {
32663
32664 pthread_mutexattr_t attr;
32665 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32666
32667 ;
32668 return 0;
32669 }
32670 _ACEOF
32671 rm -f conftest.$ac_objext
32672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32673 (eval $ac_compile) 2>conftest.er1
32674 ac_status=$?
32675 grep -v '^ *+' conftest.er1 >conftest.err
32676 rm -f conftest.er1
32677 cat conftest.err >&5
32678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32679 (exit $ac_status); } &&
32680 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32682 (eval $ac_try) 2>&5
32683 ac_status=$?
32684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32685 (exit $ac_status); }; } &&
32686 { ac_try='test -s conftest.$ac_objext'
32687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32688 (eval $ac_try) 2>&5
32689 ac_status=$?
32690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32691 (exit $ac_status); }; }; then
32692
32693 wx_cv_type_pthread_mutexattr_t=yes
32694
32695 else
32696 echo "$as_me: failed program was:" >&5
32697 sed 's/^/| /' conftest.$ac_ext >&5
32698
32699
32700 wx_cv_type_pthread_mutexattr_t=no
32701
32702
32703 fi
32704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32705
32706 fi
32707 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
32708 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
32709
32710 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32711 cat >>confdefs.h <<\_ACEOF
32712 #define HAVE_PTHREAD_MUTEXATTR_T 1
32713 _ACEOF
32714
32715 else
32716 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32717 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
32718 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
32719 echo $ECHO_N "(cached) $ECHO_C" >&6
32720 else
32721
32722 cat >conftest.$ac_ext <<_ACEOF
32723 /* confdefs.h. */
32724 _ACEOF
32725 cat confdefs.h >>conftest.$ac_ext
32726 cat >>conftest.$ac_ext <<_ACEOF
32727 /* end confdefs.h. */
32728 #include <pthread.h>
32729 int
32730 main ()
32731 {
32732
32733 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32734
32735 ;
32736 return 0;
32737 }
32738 _ACEOF
32739 rm -f conftest.$ac_objext
32740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32741 (eval $ac_compile) 2>conftest.er1
32742 ac_status=$?
32743 grep -v '^ *+' conftest.er1 >conftest.err
32744 rm -f conftest.er1
32745 cat conftest.err >&5
32746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32747 (exit $ac_status); } &&
32748 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32750 (eval $ac_try) 2>&5
32751 ac_status=$?
32752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32753 (exit $ac_status); }; } &&
32754 { ac_try='test -s conftest.$ac_objext'
32755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32756 (eval $ac_try) 2>&5
32757 ac_status=$?
32758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32759 (exit $ac_status); }; }; then
32760
32761 wx_cv_type_pthread_rec_mutex_init=yes
32762
32763 else
32764 echo "$as_me: failed program was:" >&5
32765 sed 's/^/| /' conftest.$ac_ext >&5
32766
32767
32768 wx_cv_type_pthread_rec_mutex_init=no
32769
32770
32771 fi
32772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32773
32774 fi
32775 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32776 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
32777 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32778 cat >>confdefs.h <<\_ACEOF
32779 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
32780 _ACEOF
32781
32782 else
32783 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
32784 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
32785 fi
32786 fi
32787 fi
32788
32789 else
32790 if test "$wxUSE_THREADS" = "yes" ; then
32791 case "${host}" in
32792 *-*-mingw32* )
32793 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
32794 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
32795 if test "${wx_cv_cflags_mthread+set}" = set; then
32796 echo $ECHO_N "(cached) $ECHO_C" >&6
32797 else
32798
32799 CFLAGS_OLD="$CFLAGS"
32800 CFLAGS="$CFLAGS -mthreads"
32801 cat >conftest.$ac_ext <<_ACEOF
32802 /* confdefs.h. */
32803 _ACEOF
32804 cat confdefs.h >>conftest.$ac_ext
32805 cat >>conftest.$ac_ext <<_ACEOF
32806 /* end confdefs.h. */
32807
32808 int
32809 main ()
32810 {
32811
32812 ;
32813 return 0;
32814 }
32815 _ACEOF
32816 rm -f conftest.$ac_objext
32817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32818 (eval $ac_compile) 2>conftest.er1
32819 ac_status=$?
32820 grep -v '^ *+' conftest.er1 >conftest.err
32821 rm -f conftest.er1
32822 cat conftest.err >&5
32823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32824 (exit $ac_status); } &&
32825 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32827 (eval $ac_try) 2>&5
32828 ac_status=$?
32829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32830 (exit $ac_status); }; } &&
32831 { ac_try='test -s conftest.$ac_objext'
32832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32833 (eval $ac_try) 2>&5
32834 ac_status=$?
32835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32836 (exit $ac_status); }; }; then
32837 wx_cv_cflags_mthread=yes
32838 else
32839 echo "$as_me: failed program was:" >&5
32840 sed 's/^/| /' conftest.$ac_ext >&5
32841
32842 wx_cv_cflags_mthread=no
32843
32844 fi
32845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32846
32847
32848 fi
32849 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
32850 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
32851
32852 if test "$wx_cv_cflags_mthread" = "yes"; then
32853 CXXFLAGS="$CXXFLAGS -mthreads"
32854 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
32855 LDFLAGS="$LDFLAGS -mthreads"
32856 else
32857 CFLAGS="$CFLAGS_OLD"
32858 fi
32859 ;;
32860 *-pc-os2*emx )
32861 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
32862 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
32863 LDFLAGS="$LDFLAGS -Zmt"
32864 ;;
32865 esac
32866 fi
32867 fi
32868
32869 if test "$wxUSE_THREADS" = "yes"; then
32870 cat >>confdefs.h <<\_ACEOF
32871 #define wxUSE_THREADS 1
32872 _ACEOF
32873
32874
32875 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
32876 else
32877 if test "$ac_cv_func_strtok_r" = "yes"; then
32878 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
32879 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
32880 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
32881 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
32882 echo "$as_me:$LINENO: result: yes" >&5
32883 echo "${ECHO_T}yes" >&6
32884 else
32885 echo "$as_me:$LINENO: result: no" >&5
32886 echo "${ECHO_T}no" >&6
32887 fi
32888 fi
32889 fi
32890
32891 if test "$WXGTK20" = 1 ; then
32892 cat >>confdefs.h <<_ACEOF
32893 #define __WXGTK20__ $WXGTK20
32894 _ACEOF
32895
32896 WXGTK12=1
32897 fi
32898
32899 if test "$WXGTK12" = 1 ; then
32900 cat >>confdefs.h <<_ACEOF
32901 #define __WXGTK12__ $WXGTK12
32902 _ACEOF
32903
32904 fi
32905
32906 if test "$WXGTK127" = 1 ; then
32907 cat >>confdefs.h <<_ACEOF
32908 #define __WXGTK127__ $WXGTK127
32909 _ACEOF
32910
32911 fi
32912
32913 if test "$WXGPE" = 1 ; then
32914 cat >>confdefs.h <<_ACEOF
32915 #define __WXGPE__ $WXGPE
32916 _ACEOF
32917
32918 fi
32919
32920 WXDEBUG=
32921
32922 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
32923 WXDEBUG="-g"
32924 wxUSE_OPTIMISE=no
32925 fi
32926
32927 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
32928 wxUSE_DEBUG_INFO=yes
32929 WXDEBUG="-ggdb"
32930 fi
32931
32932 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
32933 cat >>confdefs.h <<\_ACEOF
32934 #define WXDEBUG 1
32935 _ACEOF
32936
32937 WXDEBUG_DEFINE="-D__WXDEBUG__"
32938 else
32939 if test "$wxUSE_GTK" = 1 ; then
32940 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
32941 fi
32942 fi
32943
32944 if test "$wxUSE_MEM_TRACING" = "yes" ; then
32945 cat >>confdefs.h <<\_ACEOF
32946 #define wxUSE_MEMORY_TRACING 1
32947 _ACEOF
32948
32949 cat >>confdefs.h <<\_ACEOF
32950 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
32951 _ACEOF
32952
32953 cat >>confdefs.h <<\_ACEOF
32954 #define wxUSE_DEBUG_NEW_ALWAYS 1
32955 _ACEOF
32956
32957 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
32958 fi
32959
32960 if test "$wxUSE_DMALLOC" = "yes" ; then
32961 DMALLOC_LIBS="-ldmalloc"
32962 fi
32963
32964 PROFILE=
32965 if test "$wxUSE_PROFILE" = "yes" ; then
32966 PROFILE=" -pg"
32967 fi
32968
32969 CODE_GEN_FLAGS=
32970 CODE_GEN_FLAGS_CXX=
32971 if test "$GCC" = "yes" ; then
32972 if test "$wxUSE_NO_RTTI" = "yes" ; then
32973 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
32974 fi
32975 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
32976 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
32977 fi
32978 if test "$wxUSE_PERMISSIVE" = "yes" ; then
32979 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
32980 fi
32981
32982 case "${host}" in
32983 powerpc*-*-aix* )
32984 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
32985 ;;
32986 *-hppa* )
32987 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
32988 ;;
32989 esac
32990 fi
32991
32992 OPTIMISE=
32993 if test "$wxUSE_OPTIMISE" = "no" ; then
32994 if test "$GCC" = yes ; then
32995 OPTIMISE="-O0"
32996 fi
32997 else
32998 if test "$GCC" = yes ; then
32999 OPTIMISE="-O2"
33000
33001 case "${host}" in
33002 i586-*-*|i686-*-* )
33003 OPTIMISE="${OPTIMISE} "
33004 ;;
33005 esac
33006 else
33007 OPTIMISE="-O"
33008 fi
33009 fi
33010
33011
33012 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
33013 cat >>confdefs.h <<\_ACEOF
33014 #define WXWIN_COMPATIBILITY_2_2 1
33015 _ACEOF
33016
33017
33018 WXWIN_COMPATIBILITY_2_4="yes"
33019 fi
33020
33021 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
33022 cat >>confdefs.h <<\_ACEOF
33023 #define WXWIN_COMPATIBILITY_2_4 1
33024 _ACEOF
33025
33026 fi
33027
33028
33029 if test "$wxUSE_GUI" = "yes"; then
33030 cat >>confdefs.h <<\_ACEOF
33031 #define wxUSE_GUI 1
33032 _ACEOF
33033
33034
33035 else
33036 cat >>confdefs.h <<\_ACEOF
33037 #define wxUSE_NOGUI 1
33038 _ACEOF
33039
33040 fi
33041
33042
33043 if test "$wxUSE_UNIX" = "yes"; then
33044 cat >>confdefs.h <<\_ACEOF
33045 #define wxUSE_UNIX 1
33046 _ACEOF
33047
33048 fi
33049
33050
33051 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33052
33053 HAVE_DL_FUNCS=0
33054 HAVE_SHL_FUNCS=0
33055 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33056 if test "$USE_DARWIN" = 1; then
33057 HAVE_DL_FUNCS=1
33058 else
33059
33060 for ac_func in dlopen
33061 do
33062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33063 echo "$as_me:$LINENO: checking for $ac_func" >&5
33064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33065 if eval "test \"\${$as_ac_var+set}\" = set"; then
33066 echo $ECHO_N "(cached) $ECHO_C" >&6
33067 else
33068 cat >conftest.$ac_ext <<_ACEOF
33069 /* confdefs.h. */
33070 _ACEOF
33071 cat confdefs.h >>conftest.$ac_ext
33072 cat >>conftest.$ac_ext <<_ACEOF
33073 /* end confdefs.h. */
33074 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33075 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33076 #define $ac_func innocuous_$ac_func
33077
33078 /* System header to define __stub macros and hopefully few prototypes,
33079 which can conflict with char $ac_func (); below.
33080 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33081 <limits.h> exists even on freestanding compilers. */
33082
33083 #ifdef __STDC__
33084 # include <limits.h>
33085 #else
33086 # include <assert.h>
33087 #endif
33088
33089 #undef $ac_func
33090
33091 /* Override any gcc2 internal prototype to avoid an error. */
33092 #ifdef __cplusplus
33093 extern "C"
33094 {
33095 #endif
33096 /* We use char because int might match the return type of a gcc2
33097 builtin and then its argument prototype would still apply. */
33098 char $ac_func ();
33099 /* The GNU C library defines this for functions which it implements
33100 to always fail with ENOSYS. Some functions are actually named
33101 something starting with __ and the normal name is an alias. */
33102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33103 choke me
33104 #else
33105 char (*f) () = $ac_func;
33106 #endif
33107 #ifdef __cplusplus
33108 }
33109 #endif
33110
33111 int
33112 main ()
33113 {
33114 return f != $ac_func;
33115 ;
33116 return 0;
33117 }
33118 _ACEOF
33119 rm -f conftest.$ac_objext conftest$ac_exeext
33120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33121 (eval $ac_link) 2>conftest.er1
33122 ac_status=$?
33123 grep -v '^ *+' conftest.er1 >conftest.err
33124 rm -f conftest.er1
33125 cat conftest.err >&5
33126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33127 (exit $ac_status); } &&
33128 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33130 (eval $ac_try) 2>&5
33131 ac_status=$?
33132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33133 (exit $ac_status); }; } &&
33134 { ac_try='test -s conftest$ac_exeext'
33135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33136 (eval $ac_try) 2>&5
33137 ac_status=$?
33138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33139 (exit $ac_status); }; }; then
33140 eval "$as_ac_var=yes"
33141 else
33142 echo "$as_me: failed program was:" >&5
33143 sed 's/^/| /' conftest.$ac_ext >&5
33144
33145 eval "$as_ac_var=no"
33146 fi
33147 rm -f conftest.err conftest.$ac_objext \
33148 conftest$ac_exeext conftest.$ac_ext
33149 fi
33150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33151 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33152 if test `eval echo '${'$as_ac_var'}'` = yes; then
33153 cat >>confdefs.h <<_ACEOF
33154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33155 _ACEOF
33156
33157 cat >>confdefs.h <<\_ACEOF
33158 #define HAVE_DLOPEN 1
33159 _ACEOF
33160
33161 HAVE_DL_FUNCS=1
33162
33163 else
33164
33165 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
33166 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
33167 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
33168 echo $ECHO_N "(cached) $ECHO_C" >&6
33169 else
33170 ac_check_lib_save_LIBS=$LIBS
33171 LIBS="-ldl $LIBS"
33172 cat >conftest.$ac_ext <<_ACEOF
33173 /* confdefs.h. */
33174 _ACEOF
33175 cat confdefs.h >>conftest.$ac_ext
33176 cat >>conftest.$ac_ext <<_ACEOF
33177 /* end confdefs.h. */
33178
33179 /* Override any gcc2 internal prototype to avoid an error. */
33180 #ifdef __cplusplus
33181 extern "C"
33182 #endif
33183 /* We use char because int might match the return type of a gcc2
33184 builtin and then its argument prototype would still apply. */
33185 char dlopen ();
33186 int
33187 main ()
33188 {
33189 dlopen ();
33190 ;
33191 return 0;
33192 }
33193 _ACEOF
33194 rm -f conftest.$ac_objext conftest$ac_exeext
33195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33196 (eval $ac_link) 2>conftest.er1
33197 ac_status=$?
33198 grep -v '^ *+' conftest.er1 >conftest.err
33199 rm -f conftest.er1
33200 cat conftest.err >&5
33201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33202 (exit $ac_status); } &&
33203 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33205 (eval $ac_try) 2>&5
33206 ac_status=$?
33207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33208 (exit $ac_status); }; } &&
33209 { ac_try='test -s conftest$ac_exeext'
33210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33211 (eval $ac_try) 2>&5
33212 ac_status=$?
33213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33214 (exit $ac_status); }; }; then
33215 ac_cv_lib_dl_dlopen=yes
33216 else
33217 echo "$as_me: failed program was:" >&5
33218 sed 's/^/| /' conftest.$ac_ext >&5
33219
33220 ac_cv_lib_dl_dlopen=no
33221 fi
33222 rm -f conftest.err conftest.$ac_objext \
33223 conftest$ac_exeext conftest.$ac_ext
33224 LIBS=$ac_check_lib_save_LIBS
33225 fi
33226 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
33227 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
33228 if test $ac_cv_lib_dl_dlopen = yes; then
33229
33230 cat >>confdefs.h <<\_ACEOF
33231 #define HAVE_DLOPEN 1
33232 _ACEOF
33233
33234 HAVE_DL_FUNCS=1
33235 DL_LINK=" -ldl$DL_LINK"
33236
33237 else
33238
33239
33240 for ac_func in shl_load
33241 do
33242 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33243 echo "$as_me:$LINENO: checking for $ac_func" >&5
33244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33245 if eval "test \"\${$as_ac_var+set}\" = set"; then
33246 echo $ECHO_N "(cached) $ECHO_C" >&6
33247 else
33248 cat >conftest.$ac_ext <<_ACEOF
33249 /* confdefs.h. */
33250 _ACEOF
33251 cat confdefs.h >>conftest.$ac_ext
33252 cat >>conftest.$ac_ext <<_ACEOF
33253 /* end confdefs.h. */
33254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33256 #define $ac_func innocuous_$ac_func
33257
33258 /* System header to define __stub macros and hopefully few prototypes,
33259 which can conflict with char $ac_func (); below.
33260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33261 <limits.h> exists even on freestanding compilers. */
33262
33263 #ifdef __STDC__
33264 # include <limits.h>
33265 #else
33266 # include <assert.h>
33267 #endif
33268
33269 #undef $ac_func
33270
33271 /* Override any gcc2 internal prototype to avoid an error. */
33272 #ifdef __cplusplus
33273 extern "C"
33274 {
33275 #endif
33276 /* We use char because int might match the return type of a gcc2
33277 builtin and then its argument prototype would still apply. */
33278 char $ac_func ();
33279 /* The GNU C library defines this for functions which it implements
33280 to always fail with ENOSYS. Some functions are actually named
33281 something starting with __ and the normal name is an alias. */
33282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33283 choke me
33284 #else
33285 char (*f) () = $ac_func;
33286 #endif
33287 #ifdef __cplusplus
33288 }
33289 #endif
33290
33291 int
33292 main ()
33293 {
33294 return f != $ac_func;
33295 ;
33296 return 0;
33297 }
33298 _ACEOF
33299 rm -f conftest.$ac_objext conftest$ac_exeext
33300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33301 (eval $ac_link) 2>conftest.er1
33302 ac_status=$?
33303 grep -v '^ *+' conftest.er1 >conftest.err
33304 rm -f conftest.er1
33305 cat conftest.err >&5
33306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33307 (exit $ac_status); } &&
33308 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33310 (eval $ac_try) 2>&5
33311 ac_status=$?
33312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33313 (exit $ac_status); }; } &&
33314 { ac_try='test -s conftest$ac_exeext'
33315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33316 (eval $ac_try) 2>&5
33317 ac_status=$?
33318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33319 (exit $ac_status); }; }; then
33320 eval "$as_ac_var=yes"
33321 else
33322 echo "$as_me: failed program was:" >&5
33323 sed 's/^/| /' conftest.$ac_ext >&5
33324
33325 eval "$as_ac_var=no"
33326 fi
33327 rm -f conftest.err conftest.$ac_objext \
33328 conftest$ac_exeext conftest.$ac_ext
33329 fi
33330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33331 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33332 if test `eval echo '${'$as_ac_var'}'` = yes; then
33333 cat >>confdefs.h <<_ACEOF
33334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33335 _ACEOF
33336
33337 cat >>confdefs.h <<\_ACEOF
33338 #define HAVE_SHL_LOAD 1
33339 _ACEOF
33340
33341 HAVE_SHL_FUNCS=1
33342
33343 else
33344
33345 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
33346 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
33347 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
33348 echo $ECHO_N "(cached) $ECHO_C" >&6
33349 else
33350 ac_check_lib_save_LIBS=$LIBS
33351 LIBS="-lshl_load $LIBS"
33352 cat >conftest.$ac_ext <<_ACEOF
33353 /* confdefs.h. */
33354 _ACEOF
33355 cat confdefs.h >>conftest.$ac_ext
33356 cat >>conftest.$ac_ext <<_ACEOF
33357 /* end confdefs.h. */
33358
33359 /* Override any gcc2 internal prototype to avoid an error. */
33360 #ifdef __cplusplus
33361 extern "C"
33362 #endif
33363 /* We use char because int might match the return type of a gcc2
33364 builtin and then its argument prototype would still apply. */
33365 char dld ();
33366 int
33367 main ()
33368 {
33369 dld ();
33370 ;
33371 return 0;
33372 }
33373 _ACEOF
33374 rm -f conftest.$ac_objext conftest$ac_exeext
33375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33376 (eval $ac_link) 2>conftest.er1
33377 ac_status=$?
33378 grep -v '^ *+' conftest.er1 >conftest.err
33379 rm -f conftest.er1
33380 cat conftest.err >&5
33381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33382 (exit $ac_status); } &&
33383 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33385 (eval $ac_try) 2>&5
33386 ac_status=$?
33387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33388 (exit $ac_status); }; } &&
33389 { ac_try='test -s conftest$ac_exeext'
33390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33391 (eval $ac_try) 2>&5
33392 ac_status=$?
33393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33394 (exit $ac_status); }; }; then
33395 ac_cv_lib_shl_load_dld=yes
33396 else
33397 echo "$as_me: failed program was:" >&5
33398 sed 's/^/| /' conftest.$ac_ext >&5
33399
33400 ac_cv_lib_shl_load_dld=no
33401 fi
33402 rm -f conftest.err conftest.$ac_objext \
33403 conftest$ac_exeext conftest.$ac_ext
33404 LIBS=$ac_check_lib_save_LIBS
33405 fi
33406 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
33407 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
33408 if test $ac_cv_lib_shl_load_dld = yes; then
33409
33410 HAVE_SHL_FUNCS=1
33411 DL_LINK=" -ldld$DL_LINK"
33412
33413 fi
33414
33415
33416 fi
33417 done
33418
33419
33420 fi
33421
33422
33423 fi
33424 done
33425
33426
33427 if test "$HAVE_DL_FUNCS" = 1; then
33428
33429 for ac_func in dlerror
33430 do
33431 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33432 echo "$as_me:$LINENO: checking for $ac_func" >&5
33433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33434 if eval "test \"\${$as_ac_var+set}\" = set"; then
33435 echo $ECHO_N "(cached) $ECHO_C" >&6
33436 else
33437 cat >conftest.$ac_ext <<_ACEOF
33438 /* confdefs.h. */
33439 _ACEOF
33440 cat confdefs.h >>conftest.$ac_ext
33441 cat >>conftest.$ac_ext <<_ACEOF
33442 /* end confdefs.h. */
33443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33445 #define $ac_func innocuous_$ac_func
33446
33447 /* System header to define __stub macros and hopefully few prototypes,
33448 which can conflict with char $ac_func (); below.
33449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33450 <limits.h> exists even on freestanding compilers. */
33451
33452 #ifdef __STDC__
33453 # include <limits.h>
33454 #else
33455 # include <assert.h>
33456 #endif
33457
33458 #undef $ac_func
33459
33460 /* Override any gcc2 internal prototype to avoid an error. */
33461 #ifdef __cplusplus
33462 extern "C"
33463 {
33464 #endif
33465 /* We use char because int might match the return type of a gcc2
33466 builtin and then its argument prototype would still apply. */
33467 char $ac_func ();
33468 /* The GNU C library defines this for functions which it implements
33469 to always fail with ENOSYS. Some functions are actually named
33470 something starting with __ and the normal name is an alias. */
33471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33472 choke me
33473 #else
33474 char (*f) () = $ac_func;
33475 #endif
33476 #ifdef __cplusplus
33477 }
33478 #endif
33479
33480 int
33481 main ()
33482 {
33483 return f != $ac_func;
33484 ;
33485 return 0;
33486 }
33487 _ACEOF
33488 rm -f conftest.$ac_objext conftest$ac_exeext
33489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33490 (eval $ac_link) 2>conftest.er1
33491 ac_status=$?
33492 grep -v '^ *+' conftest.er1 >conftest.err
33493 rm -f conftest.er1
33494 cat conftest.err >&5
33495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33496 (exit $ac_status); } &&
33497 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33499 (eval $ac_try) 2>&5
33500 ac_status=$?
33501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33502 (exit $ac_status); }; } &&
33503 { ac_try='test -s conftest$ac_exeext'
33504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33505 (eval $ac_try) 2>&5
33506 ac_status=$?
33507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33508 (exit $ac_status); }; }; then
33509 eval "$as_ac_var=yes"
33510 else
33511 echo "$as_me: failed program was:" >&5
33512 sed 's/^/| /' conftest.$ac_ext >&5
33513
33514 eval "$as_ac_var=no"
33515 fi
33516 rm -f conftest.err conftest.$ac_objext \
33517 conftest$ac_exeext conftest.$ac_ext
33518 fi
33519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33521 if test `eval echo '${'$as_ac_var'}'` = yes; then
33522 cat >>confdefs.h <<_ACEOF
33523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33524 _ACEOF
33525 cat >>confdefs.h <<\_ACEOF
33526 #define HAVE_DLERROR 1
33527 _ACEOF
33528
33529 else
33530
33531 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
33532 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
33533 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
33534 echo $ECHO_N "(cached) $ECHO_C" >&6
33535 else
33536 ac_check_lib_save_LIBS=$LIBS
33537 LIBS="-ldl $LIBS"
33538 cat >conftest.$ac_ext <<_ACEOF
33539 /* confdefs.h. */
33540 _ACEOF
33541 cat confdefs.h >>conftest.$ac_ext
33542 cat >>conftest.$ac_ext <<_ACEOF
33543 /* end confdefs.h. */
33544
33545 /* Override any gcc2 internal prototype to avoid an error. */
33546 #ifdef __cplusplus
33547 extern "C"
33548 #endif
33549 /* We use char because int might match the return type of a gcc2
33550 builtin and then its argument prototype would still apply. */
33551 char dlerror ();
33552 int
33553 main ()
33554 {
33555 dlerror ();
33556 ;
33557 return 0;
33558 }
33559 _ACEOF
33560 rm -f conftest.$ac_objext conftest$ac_exeext
33561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33562 (eval $ac_link) 2>conftest.er1
33563 ac_status=$?
33564 grep -v '^ *+' conftest.er1 >conftest.err
33565 rm -f conftest.er1
33566 cat conftest.err >&5
33567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33568 (exit $ac_status); } &&
33569 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33571 (eval $ac_try) 2>&5
33572 ac_status=$?
33573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33574 (exit $ac_status); }; } &&
33575 { ac_try='test -s conftest$ac_exeext'
33576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33577 (eval $ac_try) 2>&5
33578 ac_status=$?
33579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33580 (exit $ac_status); }; }; then
33581 ac_cv_lib_dl_dlerror=yes
33582 else
33583 echo "$as_me: failed program was:" >&5
33584 sed 's/^/| /' conftest.$ac_ext >&5
33585
33586 ac_cv_lib_dl_dlerror=no
33587 fi
33588 rm -f conftest.err conftest.$ac_objext \
33589 conftest$ac_exeext conftest.$ac_ext
33590 LIBS=$ac_check_lib_save_LIBS
33591 fi
33592 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
33593 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
33594 if test $ac_cv_lib_dl_dlerror = yes; then
33595 cat >>confdefs.h <<\_ACEOF
33596 #define HAVE_DLERROR 1
33597 _ACEOF
33598
33599 fi
33600
33601
33602
33603 fi
33604 done
33605
33606 fi
33607 fi
33608
33609 if test "$HAVE_DL_FUNCS" = 0; then
33610 if test "$HAVE_SHL_FUNCS" = 0; then
33611 if test "$USE_UNIX" = 1; then
33612 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33613 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33614 wxUSE_DYNAMIC_LOADER=no
33615 wxUSE_DYNLIB_CLASS=no
33616 else
33617 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
33618 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33619 fi
33620 fi
33621 fi
33622 fi
33623 fi
33624
33625 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33626 cat >>confdefs.h <<\_ACEOF
33627 #define wxUSE_DYNAMIC_LOADER 1
33628 _ACEOF
33629
33630 fi
33631 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33632 cat >>confdefs.h <<\_ACEOF
33633 #define wxUSE_DYNLIB_CLASS 1
33634 _ACEOF
33635
33636 fi
33637
33638
33639
33640 if test "$wxUSE_PLUGINS" = "yes" ; then
33641 if test "$wxUSE_SHARED" = "no" ; then
33642 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
33643 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33644 wxUSE_PLUGINS=no
33645 fi
33646 if test "$wxUSE_MONOLITHIC" = "yes" ; then
33647 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
33648 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33649 wxUSE_PLUGINS=no
33650 fi
33651 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33652 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33653 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33654 wxUSE_PLUGINS=no
33655 fi
33656 if test "$wxUSE_PLUGINS" = "yes" ; then
33657 cat >>confdefs.h <<\_ACEOF
33658 #define wxUSE_PLUGINS 1
33659 _ACEOF
33660
33661 fi
33662 fi
33663
33664
33665 if test "$wxUSE_STL" = "yes"; then
33666 cat >>confdefs.h <<\_ACEOF
33667 #define wxUSE_STL 1
33668 _ACEOF
33669
33670 fi
33671
33672 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33673 cat >>confdefs.h <<\_ACEOF
33674 #define wxUSE_APPLE_IEEE 1
33675 _ACEOF
33676
33677 fi
33678
33679 if test "$wxUSE_TIMER" = "yes"; then
33680 cat >>confdefs.h <<\_ACEOF
33681 #define wxUSE_TIMER 1
33682 _ACEOF
33683
33684 fi
33685
33686 WITH_PLUGIN_SDL=0
33687 if test "$wxUSE_SOUND" = "yes"; then
33688 if test "$USE_UNIX" = "1" ; then
33689
33690 for ac_header in sys/soundcard.h
33691 do
33692 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33693 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33694 echo "$as_me:$LINENO: checking for $ac_header" >&5
33695 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33696 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33697 echo $ECHO_N "(cached) $ECHO_C" >&6
33698 fi
33699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33700 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33701 else
33702 # Is the header compilable?
33703 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33704 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33705 cat >conftest.$ac_ext <<_ACEOF
33706 /* confdefs.h. */
33707 _ACEOF
33708 cat confdefs.h >>conftest.$ac_ext
33709 cat >>conftest.$ac_ext <<_ACEOF
33710 /* end confdefs.h. */
33711 $ac_includes_default
33712 #include <$ac_header>
33713 _ACEOF
33714 rm -f conftest.$ac_objext
33715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33716 (eval $ac_compile) 2>conftest.er1
33717 ac_status=$?
33718 grep -v '^ *+' conftest.er1 >conftest.err
33719 rm -f conftest.er1
33720 cat conftest.err >&5
33721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33722 (exit $ac_status); } &&
33723 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33725 (eval $ac_try) 2>&5
33726 ac_status=$?
33727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33728 (exit $ac_status); }; } &&
33729 { ac_try='test -s conftest.$ac_objext'
33730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33731 (eval $ac_try) 2>&5
33732 ac_status=$?
33733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33734 (exit $ac_status); }; }; then
33735 ac_header_compiler=yes
33736 else
33737 echo "$as_me: failed program was:" >&5
33738 sed 's/^/| /' conftest.$ac_ext >&5
33739
33740 ac_header_compiler=no
33741 fi
33742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33743 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33744 echo "${ECHO_T}$ac_header_compiler" >&6
33745
33746 # Is the header present?
33747 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33748 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33749 cat >conftest.$ac_ext <<_ACEOF
33750 /* confdefs.h. */
33751 _ACEOF
33752 cat confdefs.h >>conftest.$ac_ext
33753 cat >>conftest.$ac_ext <<_ACEOF
33754 /* end confdefs.h. */
33755 #include <$ac_header>
33756 _ACEOF
33757 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33758 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33759 ac_status=$?
33760 grep -v '^ *+' conftest.er1 >conftest.err
33761 rm -f conftest.er1
33762 cat conftest.err >&5
33763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33764 (exit $ac_status); } >/dev/null; then
33765 if test -s conftest.err; then
33766 ac_cpp_err=$ac_c_preproc_warn_flag
33767 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33768 else
33769 ac_cpp_err=
33770 fi
33771 else
33772 ac_cpp_err=yes
33773 fi
33774 if test -z "$ac_cpp_err"; then
33775 ac_header_preproc=yes
33776 else
33777 echo "$as_me: failed program was:" >&5
33778 sed 's/^/| /' conftest.$ac_ext >&5
33779
33780 ac_header_preproc=no
33781 fi
33782 rm -f conftest.err conftest.$ac_ext
33783 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33784 echo "${ECHO_T}$ac_header_preproc" >&6
33785
33786 # So? What about this header?
33787 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33788 yes:no: )
33789 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33790 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33791 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33792 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33793 ac_header_preproc=yes
33794 ;;
33795 no:yes:* )
33796 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33797 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33798 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33799 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33800 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33801 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33802 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33803 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33804 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33805 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33806 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33807 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33808 (
33809 cat <<\_ASBOX
33810 ## ----------------------------------------- ##
33811 ## Report this to wx-dev@lists.wxwidgets.org ##
33812 ## ----------------------------------------- ##
33813 _ASBOX
33814 ) |
33815 sed "s/^/$as_me: WARNING: /" >&2
33816 ;;
33817 esac
33818 echo "$as_me:$LINENO: checking for $ac_header" >&5
33819 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33820 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33821 echo $ECHO_N "(cached) $ECHO_C" >&6
33822 else
33823 eval "$as_ac_Header=\$ac_header_preproc"
33824 fi
33825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33826 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33827
33828 fi
33829 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33830 cat >>confdefs.h <<_ACEOF
33831 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33832 _ACEOF
33833
33834 fi
33835
33836 done
33837
33838
33839 if test "$wxUSE_LIBSDL" != "no"; then
33840
33841 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
33842 if test "${with_sdl_prefix+set}" = set; then
33843 withval="$with_sdl_prefix"
33844 sdl_prefix="$withval"
33845 else
33846 sdl_prefix=""
33847 fi;
33848
33849 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
33850 if test "${with_sdl_exec_prefix+set}" = set; then
33851 withval="$with_sdl_exec_prefix"
33852 sdl_exec_prefix="$withval"
33853 else
33854 sdl_exec_prefix=""
33855 fi;
33856 # Check whether --enable-sdltest or --disable-sdltest was given.
33857 if test "${enable_sdltest+set}" = set; then
33858 enableval="$enable_sdltest"
33859
33860 else
33861 enable_sdltest=yes
33862 fi;
33863
33864 if test x$sdl_exec_prefix != x ; then
33865 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
33866 if test x${SDL_CONFIG+set} != xset ; then
33867 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
33868 fi
33869 fi
33870 if test x$sdl_prefix != x ; then
33871 sdl_args="$sdl_args --prefix=$sdl_prefix"
33872 if test x${SDL_CONFIG+set} != xset ; then
33873 SDL_CONFIG=$sdl_prefix/bin/sdl-config
33874 fi
33875 fi
33876
33877
33878 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
33879 # Extract the first word of "sdl-config", so it can be a program name with args.
33880 set dummy sdl-config; ac_word=$2
33881 echo "$as_me:$LINENO: checking for $ac_word" >&5
33882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33883 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
33884 echo $ECHO_N "(cached) $ECHO_C" >&6
33885 else
33886 case $SDL_CONFIG in
33887 [\\/]* | ?:[\\/]*)
33888 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
33889 ;;
33890 *)
33891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33892 for as_dir in $PATH
33893 do
33894 IFS=$as_save_IFS
33895 test -z "$as_dir" && as_dir=.
33896 for ac_exec_ext in '' $ac_executable_extensions; do
33897 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33898 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33900 break 2
33901 fi
33902 done
33903 done
33904
33905 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
33906 ;;
33907 esac
33908 fi
33909 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
33910
33911 if test -n "$SDL_CONFIG"; then
33912 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
33913 echo "${ECHO_T}$SDL_CONFIG" >&6
33914 else
33915 echo "$as_me:$LINENO: result: no" >&5
33916 echo "${ECHO_T}no" >&6
33917 fi
33918
33919 min_sdl_version=1.2.0
33920 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
33921 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
33922 no_sdl=""
33923 if test "$SDL_CONFIG" = "no" ; then
33924 no_sdl=yes
33925 else
33926 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
33927 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
33928
33929 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
33930 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
33931 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
33932 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
33933 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
33934 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
33935 if test "x$enable_sdltest" = "xyes" ; then
33936 ac_save_CFLAGS="$CFLAGS"
33937 ac_save_LIBS="$LIBS"
33938 CFLAGS="$CFLAGS $SDL_CFLAGS"
33939 LIBS="$LIBS $SDL_LIBS"
33940 rm -f conf.sdltest
33941 if test "$cross_compiling" = yes; then
33942 echo $ac_n "cross compiling; assumed OK... $ac_c"
33943 else
33944 cat >conftest.$ac_ext <<_ACEOF
33945 /* confdefs.h. */
33946 _ACEOF
33947 cat confdefs.h >>conftest.$ac_ext
33948 cat >>conftest.$ac_ext <<_ACEOF
33949 /* end confdefs.h. */
33950
33951 #include <stdio.h>
33952 #include <stdlib.h>
33953 #include <string.h>
33954 #include "SDL.h"
33955
33956 char*
33957 my_strdup (char *str)
33958 {
33959 char *new_str;
33960
33961 if (str)
33962 {
33963 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
33964 strcpy (new_str, str);
33965 }
33966 else
33967 new_str = NULL;
33968
33969 return new_str;
33970 }
33971
33972 int main (int argc, char *argv[])
33973 {
33974 int major, minor, micro;
33975 char *tmp_version;
33976
33977 /* This hangs on some systems (?)
33978 system ("touch conf.sdltest");
33979 */
33980 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
33981
33982 /* HP/UX 9 (%@#!) writes to sscanf strings */
33983 tmp_version = my_strdup("$min_sdl_version");
33984 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
33985 printf("%s, bad version string\n", "$min_sdl_version");
33986 exit(1);
33987 }
33988
33989 if (($sdl_major_version > major) ||
33990 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
33991 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
33992 {
33993 return 0;
33994 }
33995 else
33996 {
33997 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
33998 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
33999 printf("*** best to upgrade to the required version.\n");
34000 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
34001 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
34002 printf("*** config.cache before re-running configure\n");
34003 return 1;
34004 }
34005 }
34006
34007
34008 _ACEOF
34009 rm -f conftest$ac_exeext
34010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34011 (eval $ac_link) 2>&5
34012 ac_status=$?
34013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34014 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34016 (eval $ac_try) 2>&5
34017 ac_status=$?
34018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34019 (exit $ac_status); }; }; then
34020 :
34021 else
34022 echo "$as_me: program exited with status $ac_status" >&5
34023 echo "$as_me: failed program was:" >&5
34024 sed 's/^/| /' conftest.$ac_ext >&5
34025
34026 ( exit $ac_status )
34027 no_sdl=yes
34028 fi
34029 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34030 fi
34031 CFLAGS="$ac_save_CFLAGS"
34032 LIBS="$ac_save_LIBS"
34033 fi
34034 fi
34035 if test "x$no_sdl" = x ; then
34036 echo "$as_me:$LINENO: result: yes" >&5
34037 echo "${ECHO_T}yes" >&6
34038
34039 EXTRALIBS_SDL="$SDL_LIBS"
34040 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
34041 cat >>confdefs.h <<\_ACEOF
34042 #define wxUSE_LIBSDL 1
34043 _ACEOF
34044
34045
34046 else
34047 echo "$as_me:$LINENO: result: no" >&5
34048 echo "${ECHO_T}no" >&6
34049 if test "$SDL_CONFIG" = "no" ; then
34050 echo "*** The sdl-config script installed by SDL could not be found"
34051 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
34052 echo "*** your path, or set the SDL_CONFIG environment variable to the"
34053 echo "*** full path to sdl-config."
34054 else
34055 if test -f conf.sdltest ; then
34056 :
34057 else
34058 echo "*** Could not run SDL test program, checking why..."
34059 CFLAGS="$CFLAGS $SDL_CFLAGS"
34060 LIBS="$LIBS $SDL_LIBS"
34061 cat >conftest.$ac_ext <<_ACEOF
34062 /* confdefs.h. */
34063 _ACEOF
34064 cat confdefs.h >>conftest.$ac_ext
34065 cat >>conftest.$ac_ext <<_ACEOF
34066 /* end confdefs.h. */
34067
34068 #include <stdio.h>
34069 #include "SDL.h"
34070
34071 int main(int argc, char *argv[])
34072 { return 0; }
34073 #undef main
34074 #define main K_and_R_C_main
34075
34076 int
34077 main ()
34078 {
34079 return 0;
34080 ;
34081 return 0;
34082 }
34083 _ACEOF
34084 rm -f conftest.$ac_objext conftest$ac_exeext
34085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34086 (eval $ac_link) 2>conftest.er1
34087 ac_status=$?
34088 grep -v '^ *+' conftest.er1 >conftest.err
34089 rm -f conftest.er1
34090 cat conftest.err >&5
34091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34092 (exit $ac_status); } &&
34093 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34095 (eval $ac_try) 2>&5
34096 ac_status=$?
34097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34098 (exit $ac_status); }; } &&
34099 { ac_try='test -s conftest$ac_exeext'
34100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34101 (eval $ac_try) 2>&5
34102 ac_status=$?
34103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34104 (exit $ac_status); }; }; then
34105 echo "*** The test program compiled, but did not run. This usually means"
34106 echo "*** that the run-time linker is not finding SDL or finding the wrong"
34107 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
34108 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
34109 echo "*** to the installed location Also, make sure you have run ldconfig if that"
34110 echo "*** is required on your system"
34111 echo "***"
34112 echo "*** If you have an old version installed, it is best to remove it, although"
34113 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
34114 else
34115 echo "$as_me: failed program was:" >&5
34116 sed 's/^/| /' conftest.$ac_ext >&5
34117
34118 echo "*** The test program failed to compile or link. See the file config.log for the"
34119 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
34120 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
34121 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
34122 fi
34123 rm -f conftest.err conftest.$ac_objext \
34124 conftest$ac_exeext conftest.$ac_ext
34125 CFLAGS="$ac_save_CFLAGS"
34126 LIBS="$ac_save_LIBS"
34127 fi
34128 fi
34129 SDL_CFLAGS=""
34130 SDL_LIBS=""
34131 wxUSE_LIBSDL="no"
34132 fi
34133
34134
34135 rm -f conf.sdltest
34136
34137 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
34138 WITH_PLUGIN_SDL=1
34139 fi
34140 fi
34141 fi
34142
34143 cat >>confdefs.h <<\_ACEOF
34144 #define wxUSE_SOUND 1
34145 _ACEOF
34146
34147 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
34148 fi
34149
34150 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34151 cat >>confdefs.h <<\_ACEOF
34152 #define wxUSE_CMDLINE_PARSER 1
34153 _ACEOF
34154
34155 fi
34156
34157 if test "$wxUSE_STOPWATCH" = "yes"; then
34158 cat >>confdefs.h <<\_ACEOF
34159 #define wxUSE_STOPWATCH 1
34160 _ACEOF
34161
34162 fi
34163
34164 if test "$wxUSE_DATETIME" = "yes"; then
34165 cat >>confdefs.h <<\_ACEOF
34166 #define wxUSE_DATETIME 1
34167 _ACEOF
34168
34169 fi
34170
34171 if test "$wxUSE_FILE" = "yes"; then
34172 cat >>confdefs.h <<\_ACEOF
34173 #define wxUSE_FILE 1
34174 _ACEOF
34175
34176 fi
34177
34178 if test "$wxUSE_FFILE" = "yes"; then
34179 cat >>confdefs.h <<\_ACEOF
34180 #define wxUSE_FFILE 1
34181 _ACEOF
34182
34183 fi
34184
34185 if test "$wxUSE_FILESYSTEM" = "yes"; then
34186 cat >>confdefs.h <<\_ACEOF
34187 #define wxUSE_FILESYSTEM 1
34188 _ACEOF
34189
34190 fi
34191
34192 if test "$wxUSE_FS_ZIP" = "yes"; then
34193 cat >>confdefs.h <<\_ACEOF
34194 #define wxUSE_FS_ZIP 1
34195 _ACEOF
34196
34197 fi
34198
34199 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34200 cat >>confdefs.h <<\_ACEOF
34201 #define wxUSE_ZIPSTREAM 1
34202 _ACEOF
34203
34204 fi
34205
34206 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34207 cat >>confdefs.h <<\_ACEOF
34208 #define wxUSE_ON_FATAL_EXCEPTION 1
34209 _ACEOF
34210
34211 fi
34212
34213 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34214 cat >>confdefs.h <<\_ACEOF
34215 #define wxUSE_SNGLINST_CHECKER 1
34216 _ACEOF
34217
34218 fi
34219
34220 if test "$wxUSE_BUSYINFO" = "yes"; then
34221 cat >>confdefs.h <<\_ACEOF
34222 #define wxUSE_BUSYINFO 1
34223 _ACEOF
34224
34225 fi
34226
34227 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34228 cat >>confdefs.h <<\_ACEOF
34229 #define wxUSE_STD_IOSTREAM 1
34230 _ACEOF
34231
34232 fi
34233
34234 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34235 cat >>confdefs.h <<\_ACEOF
34236 #define wxUSE_TEXTBUFFER 1
34237 _ACEOF
34238
34239 fi
34240
34241 if test "$wxUSE_TEXTFILE" = "yes"; then
34242 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34243 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34244 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34245 else
34246 cat >>confdefs.h <<\_ACEOF
34247 #define wxUSE_TEXTFILE 1
34248 _ACEOF
34249
34250 fi
34251 fi
34252
34253 if test "$wxUSE_CONFIG" = "yes" ; then
34254 if test "$wxUSE_TEXTFILE" != "yes"; then
34255 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
34256 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34257 else
34258 cat >>confdefs.h <<\_ACEOF
34259 #define wxUSE_CONFIG 1
34260 _ACEOF
34261
34262 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
34263 fi
34264 fi
34265
34266 if test "$wxUSE_INTL" = "yes" ; then
34267 if test "$wxUSE_FILE" != "yes"; then
34268 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
34269 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34270 else
34271 cat >>confdefs.h <<\_ACEOF
34272 #define wxUSE_INTL 1
34273 _ACEOF
34274
34275 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
34276 GUIDIST="$GUIDIST INTL_DIST"
34277 fi
34278 fi
34279
34280 if test "$wxUSE_LOG" = "yes"; then
34281 cat >>confdefs.h <<\_ACEOF
34282 #define wxUSE_LOG 1
34283 _ACEOF
34284
34285
34286 if test "$wxUSE_LOGGUI" = "yes"; then
34287 cat >>confdefs.h <<\_ACEOF
34288 #define wxUSE_LOGGUI 1
34289 _ACEOF
34290
34291 fi
34292
34293 if test "$wxUSE_LOGWINDOW" = "yes"; then
34294 cat >>confdefs.h <<\_ACEOF
34295 #define wxUSE_LOGWINDOW 1
34296 _ACEOF
34297
34298 fi
34299
34300 if test "$wxUSE_LOGDIALOG" = "yes"; then
34301 cat >>confdefs.h <<\_ACEOF
34302 #define wxUSE_LOG_DIALOG 1
34303 _ACEOF
34304
34305 fi
34306 fi
34307
34308 if test "$wxUSE_LONGLONG" = "yes"; then
34309 cat >>confdefs.h <<\_ACEOF
34310 #define wxUSE_LONGLONG 1
34311 _ACEOF
34312
34313 fi
34314
34315 if test "$wxUSE_GEOMETRY" = "yes"; then
34316 cat >>confdefs.h <<\_ACEOF
34317 #define wxUSE_GEOMETRY 1
34318 _ACEOF
34319
34320 fi
34321
34322 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
34323 cat >>confdefs.h <<\_ACEOF
34324 #define wxUSE_DIALUP_MANAGER 1
34325 _ACEOF
34326
34327 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
34328 fi
34329
34330 if test "$wxUSE_STREAMS" = "yes" ; then
34331 cat >>confdefs.h <<\_ACEOF
34332 #define wxUSE_STREAMS 1
34333 _ACEOF
34334
34335 fi
34336
34337
34338 if test "$wxUSE_DATETIME" = "yes"; then
34339
34340 for ac_func in strptime
34341 do
34342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34343 echo "$as_me:$LINENO: checking for $ac_func" >&5
34344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34345 if eval "test \"\${$as_ac_var+set}\" = set"; then
34346 echo $ECHO_N "(cached) $ECHO_C" >&6
34347 else
34348 cat >conftest.$ac_ext <<_ACEOF
34349 /* confdefs.h. */
34350 _ACEOF
34351 cat confdefs.h >>conftest.$ac_ext
34352 cat >>conftest.$ac_ext <<_ACEOF
34353 /* end confdefs.h. */
34354 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34356 #define $ac_func innocuous_$ac_func
34357
34358 /* System header to define __stub macros and hopefully few prototypes,
34359 which can conflict with char $ac_func (); below.
34360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34361 <limits.h> exists even on freestanding compilers. */
34362
34363 #ifdef __STDC__
34364 # include <limits.h>
34365 #else
34366 # include <assert.h>
34367 #endif
34368
34369 #undef $ac_func
34370
34371 /* Override any gcc2 internal prototype to avoid an error. */
34372 #ifdef __cplusplus
34373 extern "C"
34374 {
34375 #endif
34376 /* We use char because int might match the return type of a gcc2
34377 builtin and then its argument prototype would still apply. */
34378 char $ac_func ();
34379 /* The GNU C library defines this for functions which it implements
34380 to always fail with ENOSYS. Some functions are actually named
34381 something starting with __ and the normal name is an alias. */
34382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34383 choke me
34384 #else
34385 char (*f) () = $ac_func;
34386 #endif
34387 #ifdef __cplusplus
34388 }
34389 #endif
34390
34391 int
34392 main ()
34393 {
34394 return f != $ac_func;
34395 ;
34396 return 0;
34397 }
34398 _ACEOF
34399 rm -f conftest.$ac_objext conftest$ac_exeext
34400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34401 (eval $ac_link) 2>conftest.er1
34402 ac_status=$?
34403 grep -v '^ *+' conftest.er1 >conftest.err
34404 rm -f conftest.er1
34405 cat conftest.err >&5
34406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34407 (exit $ac_status); } &&
34408 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34410 (eval $ac_try) 2>&5
34411 ac_status=$?
34412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34413 (exit $ac_status); }; } &&
34414 { ac_try='test -s conftest$ac_exeext'
34415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34416 (eval $ac_try) 2>&5
34417 ac_status=$?
34418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34419 (exit $ac_status); }; }; then
34420 eval "$as_ac_var=yes"
34421 else
34422 echo "$as_me: failed program was:" >&5
34423 sed 's/^/| /' conftest.$ac_ext >&5
34424
34425 eval "$as_ac_var=no"
34426 fi
34427 rm -f conftest.err conftest.$ac_objext \
34428 conftest$ac_exeext conftest.$ac_ext
34429 fi
34430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34432 if test `eval echo '${'$as_ac_var'}'` = yes; then
34433 cat >>confdefs.h <<_ACEOF
34434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34435 _ACEOF
34436
34437 fi
34438 done
34439
34440
34441 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
34442 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
34443 if test "${wx_cv_var_timezone+set}" = set; then
34444 echo $ECHO_N "(cached) $ECHO_C" >&6
34445 else
34446
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 #include <time.h>
34455
34456 int
34457 main ()
34458 {
34459
34460 int tz;
34461 tz = timezone;
34462
34463 ;
34464 return 0;
34465 }
34466 _ACEOF
34467 rm -f conftest.$ac_objext
34468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34469 (eval $ac_compile) 2>conftest.er1
34470 ac_status=$?
34471 grep -v '^ *+' conftest.er1 >conftest.err
34472 rm -f conftest.er1
34473 cat conftest.err >&5
34474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34475 (exit $ac_status); } &&
34476 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34478 (eval $ac_try) 2>&5
34479 ac_status=$?
34480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34481 (exit $ac_status); }; } &&
34482 { ac_try='test -s conftest.$ac_objext'
34483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34484 (eval $ac_try) 2>&5
34485 ac_status=$?
34486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34487 (exit $ac_status); }; }; then
34488
34489 wx_cv_var_timezone=timezone
34490
34491 else
34492 echo "$as_me: failed program was:" >&5
34493 sed 's/^/| /' conftest.$ac_ext >&5
34494
34495
34496 cat >conftest.$ac_ext <<_ACEOF
34497 /* confdefs.h. */
34498 _ACEOF
34499 cat confdefs.h >>conftest.$ac_ext
34500 cat >>conftest.$ac_ext <<_ACEOF
34501 /* end confdefs.h. */
34502
34503 #include <time.h>
34504
34505 int
34506 main ()
34507 {
34508
34509 int tz;
34510 tz = _timezone;
34511
34512 ;
34513 return 0;
34514 }
34515 _ACEOF
34516 rm -f conftest.$ac_objext
34517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34518 (eval $ac_compile) 2>conftest.er1
34519 ac_status=$?
34520 grep -v '^ *+' conftest.er1 >conftest.err
34521 rm -f conftest.er1
34522 cat conftest.err >&5
34523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34524 (exit $ac_status); } &&
34525 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34527 (eval $ac_try) 2>&5
34528 ac_status=$?
34529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34530 (exit $ac_status); }; } &&
34531 { ac_try='test -s conftest.$ac_objext'
34532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34533 (eval $ac_try) 2>&5
34534 ac_status=$?
34535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34536 (exit $ac_status); }; }; then
34537
34538 wx_cv_var_timezone=_timezone
34539
34540 else
34541 echo "$as_me: failed program was:" >&5
34542 sed 's/^/| /' conftest.$ac_ext >&5
34543
34544
34545 cat >conftest.$ac_ext <<_ACEOF
34546 /* confdefs.h. */
34547 _ACEOF
34548 cat confdefs.h >>conftest.$ac_ext
34549 cat >>conftest.$ac_ext <<_ACEOF
34550 /* end confdefs.h. */
34551
34552 #include <time.h>
34553
34554 int
34555 main ()
34556 {
34557
34558 int tz;
34559 tz = __timezone;
34560
34561 ;
34562 return 0;
34563 }
34564 _ACEOF
34565 rm -f conftest.$ac_objext
34566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34567 (eval $ac_compile) 2>conftest.er1
34568 ac_status=$?
34569 grep -v '^ *+' conftest.er1 >conftest.err
34570 rm -f conftest.er1
34571 cat conftest.err >&5
34572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34573 (exit $ac_status); } &&
34574 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34576 (eval $ac_try) 2>&5
34577 ac_status=$?
34578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34579 (exit $ac_status); }; } &&
34580 { ac_try='test -s conftest.$ac_objext'
34581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34582 (eval $ac_try) 2>&5
34583 ac_status=$?
34584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34585 (exit $ac_status); }; }; then
34586
34587 wx_cv_var_timezone=__timezone
34588
34589 else
34590 echo "$as_me: failed program was:" >&5
34591 sed 's/^/| /' conftest.$ac_ext >&5
34592
34593
34594 if test "$USE_DOS" = 0 ; then
34595 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
34596 echo "$as_me: WARNING: no timezone variable" >&2;}
34597 fi
34598
34599
34600 fi
34601 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34602
34603
34604 fi
34605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34606
34607
34608 fi
34609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34610
34611
34612 fi
34613 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
34614 echo "${ECHO_T}$wx_cv_var_timezone" >&6
34615
34616 if test "x$wx_cv_var_timezone" != x ; then
34617 cat >>confdefs.h <<_ACEOF
34618 #define WX_TIMEZONE $wx_cv_var_timezone
34619 _ACEOF
34620
34621 fi
34622
34623
34624 for ac_func in localtime
34625 do
34626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34627 echo "$as_me:$LINENO: checking for $ac_func" >&5
34628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34629 if eval "test \"\${$as_ac_var+set}\" = set"; then
34630 echo $ECHO_N "(cached) $ECHO_C" >&6
34631 else
34632 cat >conftest.$ac_ext <<_ACEOF
34633 /* confdefs.h. */
34634 _ACEOF
34635 cat confdefs.h >>conftest.$ac_ext
34636 cat >>conftest.$ac_ext <<_ACEOF
34637 /* end confdefs.h. */
34638 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34640 #define $ac_func innocuous_$ac_func
34641
34642 /* System header to define __stub macros and hopefully few prototypes,
34643 which can conflict with char $ac_func (); below.
34644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34645 <limits.h> exists even on freestanding compilers. */
34646
34647 #ifdef __STDC__
34648 # include <limits.h>
34649 #else
34650 # include <assert.h>
34651 #endif
34652
34653 #undef $ac_func
34654
34655 /* Override any gcc2 internal prototype to avoid an error. */
34656 #ifdef __cplusplus
34657 extern "C"
34658 {
34659 #endif
34660 /* We use char because int might match the return type of a gcc2
34661 builtin and then its argument prototype would still apply. */
34662 char $ac_func ();
34663 /* The GNU C library defines this for functions which it implements
34664 to always fail with ENOSYS. Some functions are actually named
34665 something starting with __ and the normal name is an alias. */
34666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34667 choke me
34668 #else
34669 char (*f) () = $ac_func;
34670 #endif
34671 #ifdef __cplusplus
34672 }
34673 #endif
34674
34675 int
34676 main ()
34677 {
34678 return f != $ac_func;
34679 ;
34680 return 0;
34681 }
34682 _ACEOF
34683 rm -f conftest.$ac_objext conftest$ac_exeext
34684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34685 (eval $ac_link) 2>conftest.er1
34686 ac_status=$?
34687 grep -v '^ *+' conftest.er1 >conftest.err
34688 rm -f conftest.er1
34689 cat conftest.err >&5
34690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34691 (exit $ac_status); } &&
34692 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34694 (eval $ac_try) 2>&5
34695 ac_status=$?
34696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34697 (exit $ac_status); }; } &&
34698 { ac_try='test -s conftest$ac_exeext'
34699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34700 (eval $ac_try) 2>&5
34701 ac_status=$?
34702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34703 (exit $ac_status); }; }; then
34704 eval "$as_ac_var=yes"
34705 else
34706 echo "$as_me: failed program was:" >&5
34707 sed 's/^/| /' conftest.$ac_ext >&5
34708
34709 eval "$as_ac_var=no"
34710 fi
34711 rm -f conftest.err conftest.$ac_objext \
34712 conftest$ac_exeext conftest.$ac_ext
34713 fi
34714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34715 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34716 if test `eval echo '${'$as_ac_var'}'` = yes; then
34717 cat >>confdefs.h <<_ACEOF
34718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34719 _ACEOF
34720
34721 fi
34722 done
34723
34724
34725 if test "$ac_cv_func_localtime" = "yes"; then
34726 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
34727 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
34728 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
34729 echo $ECHO_N "(cached) $ECHO_C" >&6
34730 else
34731
34732 cat >conftest.$ac_ext <<_ACEOF
34733 /* confdefs.h. */
34734 _ACEOF
34735 cat confdefs.h >>conftest.$ac_ext
34736 cat >>conftest.$ac_ext <<_ACEOF
34737 /* end confdefs.h. */
34738
34739 #include <time.h>
34740
34741 int
34742 main ()
34743 {
34744
34745 struct tm tm;
34746 tm.tm_gmtoff++;
34747
34748 ;
34749 return 0;
34750 }
34751 _ACEOF
34752 rm -f conftest.$ac_objext
34753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34754 (eval $ac_compile) 2>conftest.er1
34755 ac_status=$?
34756 grep -v '^ *+' conftest.er1 >conftest.err
34757 rm -f conftest.er1
34758 cat conftest.err >&5
34759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34760 (exit $ac_status); } &&
34761 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34763 (eval $ac_try) 2>&5
34764 ac_status=$?
34765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34766 (exit $ac_status); }; } &&
34767 { ac_try='test -s conftest.$ac_objext'
34768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34769 (eval $ac_try) 2>&5
34770 ac_status=$?
34771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34772 (exit $ac_status); }; }; then
34773
34774 wx_cv_struct_tm_has_gmtoff=yes
34775
34776 else
34777 echo "$as_me: failed program was:" >&5
34778 sed 's/^/| /' conftest.$ac_ext >&5
34779
34780 wx_cv_struct_tm_has_gmtoff=no
34781
34782 fi
34783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34784
34785 fi
34786 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
34787 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
34788 fi
34789
34790 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
34791 cat >>confdefs.h <<\_ACEOF
34792 #define WX_GMTOFF_IN_TM 1
34793 _ACEOF
34794
34795 fi
34796
34797
34798
34799 for ac_func in gettimeofday ftime
34800 do
34801 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34802 echo "$as_me:$LINENO: checking for $ac_func" >&5
34803 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34804 if eval "test \"\${$as_ac_var+set}\" = set"; then
34805 echo $ECHO_N "(cached) $ECHO_C" >&6
34806 else
34807 cat >conftest.$ac_ext <<_ACEOF
34808 /* confdefs.h. */
34809 _ACEOF
34810 cat confdefs.h >>conftest.$ac_ext
34811 cat >>conftest.$ac_ext <<_ACEOF
34812 /* end confdefs.h. */
34813 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34815 #define $ac_func innocuous_$ac_func
34816
34817 /* System header to define __stub macros and hopefully few prototypes,
34818 which can conflict with char $ac_func (); below.
34819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34820 <limits.h> exists even on freestanding compilers. */
34821
34822 #ifdef __STDC__
34823 # include <limits.h>
34824 #else
34825 # include <assert.h>
34826 #endif
34827
34828 #undef $ac_func
34829
34830 /* Override any gcc2 internal prototype to avoid an error. */
34831 #ifdef __cplusplus
34832 extern "C"
34833 {
34834 #endif
34835 /* We use char because int might match the return type of a gcc2
34836 builtin and then its argument prototype would still apply. */
34837 char $ac_func ();
34838 /* The GNU C library defines this for functions which it implements
34839 to always fail with ENOSYS. Some functions are actually named
34840 something starting with __ and the normal name is an alias. */
34841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34842 choke me
34843 #else
34844 char (*f) () = $ac_func;
34845 #endif
34846 #ifdef __cplusplus
34847 }
34848 #endif
34849
34850 int
34851 main ()
34852 {
34853 return f != $ac_func;
34854 ;
34855 return 0;
34856 }
34857 _ACEOF
34858 rm -f conftest.$ac_objext conftest$ac_exeext
34859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34860 (eval $ac_link) 2>conftest.er1
34861 ac_status=$?
34862 grep -v '^ *+' conftest.er1 >conftest.err
34863 rm -f conftest.er1
34864 cat conftest.err >&5
34865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34866 (exit $ac_status); } &&
34867 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34869 (eval $ac_try) 2>&5
34870 ac_status=$?
34871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34872 (exit $ac_status); }; } &&
34873 { ac_try='test -s conftest$ac_exeext'
34874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34875 (eval $ac_try) 2>&5
34876 ac_status=$?
34877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34878 (exit $ac_status); }; }; then
34879 eval "$as_ac_var=yes"
34880 else
34881 echo "$as_me: failed program was:" >&5
34882 sed 's/^/| /' conftest.$ac_ext >&5
34883
34884 eval "$as_ac_var=no"
34885 fi
34886 rm -f conftest.err conftest.$ac_objext \
34887 conftest$ac_exeext conftest.$ac_ext
34888 fi
34889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34890 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34891 if test `eval echo '${'$as_ac_var'}'` = yes; then
34892 cat >>confdefs.h <<_ACEOF
34893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34894 _ACEOF
34895 break
34896 fi
34897 done
34898
34899
34900 if test "$ac_cv_func_gettimeofday" = "yes"; then
34901 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
34902 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
34903 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
34904 echo $ECHO_N "(cached) $ECHO_C" >&6
34905 else
34906
34907
34908
34909 ac_ext=cc
34910 ac_cpp='$CXXCPP $CPPFLAGS'
34911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34914
34915
34916 cat >conftest.$ac_ext <<_ACEOF
34917 /* confdefs.h. */
34918 _ACEOF
34919 cat confdefs.h >>conftest.$ac_ext
34920 cat >>conftest.$ac_ext <<_ACEOF
34921 /* end confdefs.h. */
34922
34923 #include <sys/time.h>
34924 #include <unistd.h>
34925
34926 int
34927 main ()
34928 {
34929
34930 struct timeval tv;
34931 gettimeofday(&tv, NULL);
34932
34933 ;
34934 return 0;
34935 }
34936 _ACEOF
34937 rm -f conftest.$ac_objext
34938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34939 (eval $ac_compile) 2>conftest.er1
34940 ac_status=$?
34941 grep -v '^ *+' conftest.er1 >conftest.err
34942 rm -f conftest.er1
34943 cat conftest.err >&5
34944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34945 (exit $ac_status); } &&
34946 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34948 (eval $ac_try) 2>&5
34949 ac_status=$?
34950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34951 (exit $ac_status); }; } &&
34952 { ac_try='test -s conftest.$ac_objext'
34953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34954 (eval $ac_try) 2>&5
34955 ac_status=$?
34956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34957 (exit $ac_status); }; }; then
34958 wx_cv_func_gettimeofday_has_2_args=yes
34959 else
34960 echo "$as_me: failed program was:" >&5
34961 sed 's/^/| /' conftest.$ac_ext >&5
34962
34963 cat >conftest.$ac_ext <<_ACEOF
34964 /* confdefs.h. */
34965 _ACEOF
34966 cat confdefs.h >>conftest.$ac_ext
34967 cat >>conftest.$ac_ext <<_ACEOF
34968 /* end confdefs.h. */
34969
34970 #include <sys/time.h>
34971 #include <unistd.h>
34972
34973 int
34974 main ()
34975 {
34976
34977 struct timeval tv;
34978 gettimeofday(&tv);
34979
34980 ;
34981 return 0;
34982 }
34983 _ACEOF
34984 rm -f conftest.$ac_objext
34985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34986 (eval $ac_compile) 2>conftest.er1
34987 ac_status=$?
34988 grep -v '^ *+' conftest.er1 >conftest.err
34989 rm -f conftest.er1
34990 cat conftest.err >&5
34991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34992 (exit $ac_status); } &&
34993 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34995 (eval $ac_try) 2>&5
34996 ac_status=$?
34997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34998 (exit $ac_status); }; } &&
34999 { ac_try='test -s conftest.$ac_objext'
35000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35001 (eval $ac_try) 2>&5
35002 ac_status=$?
35003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35004 (exit $ac_status); }; }; then
35005 wx_cv_func_gettimeofday_has_2_args=no
35006 else
35007 echo "$as_me: failed program was:" >&5
35008 sed 's/^/| /' conftest.$ac_ext >&5
35009
35010
35011 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
35012 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35013 wx_cv_func_gettimeofday_has_2_args=unknown
35014
35015
35016 fi
35017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35018
35019 fi
35020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35021 ac_ext=c
35022 ac_cpp='$CPP $CPPFLAGS'
35023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35026
35027
35028 fi
35029 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35030 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
35031
35032 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35033 cat >>confdefs.h <<\_ACEOF
35034 #define WX_GETTIMEOFDAY_NO_TZ 1
35035 _ACEOF
35036
35037 fi
35038 fi
35039
35040 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
35041 fi
35042
35043
35044 if test "$wxUSE_SOCKETS" = "yes"; then
35045 if test "$wxUSE_MGL" = "1"; then
35046 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
35047 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
35048 wxUSE_SOCKETS="no"
35049 fi
35050 fi
35051
35052 if test "$wxUSE_SOCKETS" = "yes"; then
35053 if test "$TOOLKIT" != "MSW"; then
35054 echo "$as_me:$LINENO: checking for socket" >&5
35055 echo $ECHO_N "checking for socket... $ECHO_C" >&6
35056 if test "${ac_cv_func_socket+set}" = set; then
35057 echo $ECHO_N "(cached) $ECHO_C" >&6
35058 else
35059 cat >conftest.$ac_ext <<_ACEOF
35060 /* confdefs.h. */
35061 _ACEOF
35062 cat confdefs.h >>conftest.$ac_ext
35063 cat >>conftest.$ac_ext <<_ACEOF
35064 /* end confdefs.h. */
35065 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
35066 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35067 #define socket innocuous_socket
35068
35069 /* System header to define __stub macros and hopefully few prototypes,
35070 which can conflict with char socket (); below.
35071 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35072 <limits.h> exists even on freestanding compilers. */
35073
35074 #ifdef __STDC__
35075 # include <limits.h>
35076 #else
35077 # include <assert.h>
35078 #endif
35079
35080 #undef socket
35081
35082 /* Override any gcc2 internal prototype to avoid an error. */
35083 #ifdef __cplusplus
35084 extern "C"
35085 {
35086 #endif
35087 /* We use char because int might match the return type of a gcc2
35088 builtin and then its argument prototype would still apply. */
35089 char socket ();
35090 /* The GNU C library defines this for functions which it implements
35091 to always fail with ENOSYS. Some functions are actually named
35092 something starting with __ and the normal name is an alias. */
35093 #if defined (__stub_socket) || defined (__stub___socket)
35094 choke me
35095 #else
35096 char (*f) () = socket;
35097 #endif
35098 #ifdef __cplusplus
35099 }
35100 #endif
35101
35102 int
35103 main ()
35104 {
35105 return f != socket;
35106 ;
35107 return 0;
35108 }
35109 _ACEOF
35110 rm -f conftest.$ac_objext conftest$ac_exeext
35111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35112 (eval $ac_link) 2>conftest.er1
35113 ac_status=$?
35114 grep -v '^ *+' conftest.er1 >conftest.err
35115 rm -f conftest.er1
35116 cat conftest.err >&5
35117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35118 (exit $ac_status); } &&
35119 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35121 (eval $ac_try) 2>&5
35122 ac_status=$?
35123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35124 (exit $ac_status); }; } &&
35125 { ac_try='test -s conftest$ac_exeext'
35126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35127 (eval $ac_try) 2>&5
35128 ac_status=$?
35129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35130 (exit $ac_status); }; }; then
35131 ac_cv_func_socket=yes
35132 else
35133 echo "$as_me: failed program was:" >&5
35134 sed 's/^/| /' conftest.$ac_ext >&5
35135
35136 ac_cv_func_socket=no
35137 fi
35138 rm -f conftest.err conftest.$ac_objext \
35139 conftest$ac_exeext conftest.$ac_ext
35140 fi
35141 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
35142 echo "${ECHO_T}$ac_cv_func_socket" >&6
35143 if test $ac_cv_func_socket = yes; then
35144 :
35145 else
35146
35147 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
35148 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
35149 if test "${ac_cv_lib_socket_socket+set}" = set; then
35150 echo $ECHO_N "(cached) $ECHO_C" >&6
35151 else
35152 ac_check_lib_save_LIBS=$LIBS
35153 LIBS="-lsocket $LIBS"
35154 cat >conftest.$ac_ext <<_ACEOF
35155 /* confdefs.h. */
35156 _ACEOF
35157 cat confdefs.h >>conftest.$ac_ext
35158 cat >>conftest.$ac_ext <<_ACEOF
35159 /* end confdefs.h. */
35160
35161 /* Override any gcc2 internal prototype to avoid an error. */
35162 #ifdef __cplusplus
35163 extern "C"
35164 #endif
35165 /* We use char because int might match the return type of a gcc2
35166 builtin and then its argument prototype would still apply. */
35167 char socket ();
35168 int
35169 main ()
35170 {
35171 socket ();
35172 ;
35173 return 0;
35174 }
35175 _ACEOF
35176 rm -f conftest.$ac_objext conftest$ac_exeext
35177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35178 (eval $ac_link) 2>conftest.er1
35179 ac_status=$?
35180 grep -v '^ *+' conftest.er1 >conftest.err
35181 rm -f conftest.er1
35182 cat conftest.err >&5
35183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35184 (exit $ac_status); } &&
35185 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35187 (eval $ac_try) 2>&5
35188 ac_status=$?
35189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35190 (exit $ac_status); }; } &&
35191 { ac_try='test -s conftest$ac_exeext'
35192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35193 (eval $ac_try) 2>&5
35194 ac_status=$?
35195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35196 (exit $ac_status); }; }; then
35197 ac_cv_lib_socket_socket=yes
35198 else
35199 echo "$as_me: failed program was:" >&5
35200 sed 's/^/| /' conftest.$ac_ext >&5
35201
35202 ac_cv_lib_socket_socket=no
35203 fi
35204 rm -f conftest.err conftest.$ac_objext \
35205 conftest$ac_exeext conftest.$ac_ext
35206 LIBS=$ac_check_lib_save_LIBS
35207 fi
35208 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
35209 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
35210 if test $ac_cv_lib_socket_socket = yes; then
35211 if test "$INET_LINK" != " -lsocket"; then
35212 INET_LINK="$INET_LINK -lsocket"
35213 fi
35214 else
35215
35216 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
35217 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35218 wxUSE_SOCKETS=no
35219
35220
35221 fi
35222
35223
35224
35225 fi
35226
35227 fi
35228 fi
35229
35230 if test "$wxUSE_SOCKETS" = "yes" ; then
35231 if test "$TOOLKIT" != "MSW"; then
35232 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
35233 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
35234 if test "${wx_cv_type_getsockname3+set}" = set; then
35235 echo $ECHO_N "(cached) $ECHO_C" >&6
35236 else
35237
35238 cat >conftest.$ac_ext <<_ACEOF
35239 /* confdefs.h. */
35240 _ACEOF
35241 cat confdefs.h >>conftest.$ac_ext
35242 cat >>conftest.$ac_ext <<_ACEOF
35243 /* end confdefs.h. */
35244
35245 #include <sys/types.h>
35246 #include <sys/socket.h>
35247
35248 int
35249 main ()
35250 {
35251
35252 socklen_t len;
35253 getsockname(0, 0, &len);
35254
35255 ;
35256 return 0;
35257 }
35258 _ACEOF
35259 rm -f conftest.$ac_objext
35260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35261 (eval $ac_compile) 2>conftest.er1
35262 ac_status=$?
35263 grep -v '^ *+' conftest.er1 >conftest.err
35264 rm -f conftest.er1
35265 cat conftest.err >&5
35266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35267 (exit $ac_status); } &&
35268 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35270 (eval $ac_try) 2>&5
35271 ac_status=$?
35272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35273 (exit $ac_status); }; } &&
35274 { ac_try='test -s conftest.$ac_objext'
35275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35276 (eval $ac_try) 2>&5
35277 ac_status=$?
35278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35279 (exit $ac_status); }; }; then
35280 wx_cv_type_getsockname3=socklen_t
35281 else
35282 echo "$as_me: failed program was:" >&5
35283 sed 's/^/| /' conftest.$ac_ext >&5
35284
35285
35286 CFLAGS_OLD="$CFLAGS"
35287 if test "$GCC" = yes ; then
35288 CFLAGS="$CFLAGS -Werror"
35289 fi
35290
35291 cat >conftest.$ac_ext <<_ACEOF
35292 /* confdefs.h. */
35293 _ACEOF
35294 cat confdefs.h >>conftest.$ac_ext
35295 cat >>conftest.$ac_ext <<_ACEOF
35296 /* end confdefs.h. */
35297
35298 #include <sys/types.h>
35299 #include <sys/socket.h>
35300
35301 int
35302 main ()
35303 {
35304
35305 size_t len;
35306 getsockname(0, 0, &len);
35307
35308 ;
35309 return 0;
35310 }
35311 _ACEOF
35312 rm -f conftest.$ac_objext
35313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35314 (eval $ac_compile) 2>conftest.er1
35315 ac_status=$?
35316 grep -v '^ *+' conftest.er1 >conftest.err
35317 rm -f conftest.er1
35318 cat conftest.err >&5
35319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35320 (exit $ac_status); } &&
35321 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35323 (eval $ac_try) 2>&5
35324 ac_status=$?
35325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35326 (exit $ac_status); }; } &&
35327 { ac_try='test -s conftest.$ac_objext'
35328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35329 (eval $ac_try) 2>&5
35330 ac_status=$?
35331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35332 (exit $ac_status); }; }; then
35333 wx_cv_type_getsockname3=size_t
35334 else
35335 echo "$as_me: failed program was:" >&5
35336 sed 's/^/| /' conftest.$ac_ext >&5
35337
35338 cat >conftest.$ac_ext <<_ACEOF
35339 /* confdefs.h. */
35340 _ACEOF
35341 cat confdefs.h >>conftest.$ac_ext
35342 cat >>conftest.$ac_ext <<_ACEOF
35343 /* end confdefs.h. */
35344
35345 #include <sys/types.h>
35346 #include <sys/socket.h>
35347
35348 int
35349 main ()
35350 {
35351
35352 int len;
35353 getsockname(0, 0, &len);
35354
35355 ;
35356 return 0;
35357 }
35358 _ACEOF
35359 rm -f conftest.$ac_objext
35360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35361 (eval $ac_compile) 2>conftest.er1
35362 ac_status=$?
35363 grep -v '^ *+' conftest.er1 >conftest.err
35364 rm -f conftest.er1
35365 cat conftest.err >&5
35366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35367 (exit $ac_status); } &&
35368 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35370 (eval $ac_try) 2>&5
35371 ac_status=$?
35372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35373 (exit $ac_status); }; } &&
35374 { ac_try='test -s conftest.$ac_objext'
35375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35376 (eval $ac_try) 2>&5
35377 ac_status=$?
35378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35379 (exit $ac_status); }; }; then
35380 wx_cv_type_getsockname3=int
35381 else
35382 echo "$as_me: failed program was:" >&5
35383 sed 's/^/| /' conftest.$ac_ext >&5
35384
35385 wx_cv_type_getsockname3=unknown
35386
35387 fi
35388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35389
35390 fi
35391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35392
35393 CFLAGS="$CFLAGS_OLD"
35394
35395
35396 fi
35397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35398
35399 fi
35400 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
35401 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
35402
35403 if test "$wx_cv_type_getsockname3" = "unknown"; then
35404 wxUSE_SOCKETS=no
35405 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
35406 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35407 else
35408 cat >>confdefs.h <<_ACEOF
35409 #define SOCKLEN_T $wx_cv_type_getsockname3
35410 _ACEOF
35411
35412 fi
35413 fi
35414 fi
35415
35416 if test "$wxUSE_SOCKETS" = "yes" ; then
35417 cat >>confdefs.h <<\_ACEOF
35418 #define wxUSE_SOCKETS 1
35419 _ACEOF
35420
35421 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
35422 fi
35423
35424 if test "$wxUSE_PROTOCOL" = "yes"; then
35425 if test "$wxUSE_SOCKETS" != "yes"; then
35426 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
35427 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35428 wxUSE_PROTOCOL=no
35429 fi
35430 fi
35431
35432 if test "$wxUSE_PROTOCOL" = "yes"; then
35433 cat >>confdefs.h <<\_ACEOF
35434 #define wxUSE_PROTOCOL 1
35435 _ACEOF
35436
35437
35438 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35439 cat >>confdefs.h <<\_ACEOF
35440 #define wxUSE_PROTOCOL_HTTP 1
35441 _ACEOF
35442
35443 fi
35444 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35445 cat >>confdefs.h <<\_ACEOF
35446 #define wxUSE_PROTOCOL_FTP 1
35447 _ACEOF
35448
35449 fi
35450 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35451 cat >>confdefs.h <<\_ACEOF
35452 #define wxUSE_PROTOCOL_FILE 1
35453 _ACEOF
35454
35455 fi
35456 else
35457 if test "$wxUSE_FS_INET" = "yes"; then
35458 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35459 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35460 wxUSE_FS_INET="no"
35461 fi
35462 fi
35463
35464 if test "$wxUSE_URL" = "yes"; then
35465 if test "$wxUSE_PROTOCOL" != "yes"; then
35466 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
35467 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35468 wxUSE_URL=no
35469 fi
35470 if test "$wxUSE_URL" = "yes"; then
35471 cat >>confdefs.h <<\_ACEOF
35472 #define wxUSE_URL 1
35473 _ACEOF
35474
35475 fi
35476 fi
35477
35478 if test "$wxUSE_FS_INET" = "yes"; then
35479 cat >>confdefs.h <<\_ACEOF
35480 #define wxUSE_FS_INET 1
35481 _ACEOF
35482
35483 fi
35484
35485
35486 if test "$wxUSE_GUI" = "yes"; then
35487
35488 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
35489 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
35490 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
35491 wxUSE_JOYSTICK=no
35492 fi
35493
35494 if test "$TOOLKIT" != "MSW"; then
35495 if test "$wxUSE_JOYSTICK" = "yes"; then
35496
35497 for ac_header in linux/joystick.h
35498 do
35499 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35500 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35501 echo "$as_me:$LINENO: checking for $ac_header" >&5
35502 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35503 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35504 echo $ECHO_N "(cached) $ECHO_C" >&6
35505 fi
35506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35507 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35508 else
35509 # Is the header compilable?
35510 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35511 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35512 cat >conftest.$ac_ext <<_ACEOF
35513 /* confdefs.h. */
35514 _ACEOF
35515 cat confdefs.h >>conftest.$ac_ext
35516 cat >>conftest.$ac_ext <<_ACEOF
35517 /* end confdefs.h. */
35518 $ac_includes_default
35519 #include <$ac_header>
35520 _ACEOF
35521 rm -f conftest.$ac_objext
35522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35523 (eval $ac_compile) 2>conftest.er1
35524 ac_status=$?
35525 grep -v '^ *+' conftest.er1 >conftest.err
35526 rm -f conftest.er1
35527 cat conftest.err >&5
35528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35529 (exit $ac_status); } &&
35530 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35532 (eval $ac_try) 2>&5
35533 ac_status=$?
35534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35535 (exit $ac_status); }; } &&
35536 { ac_try='test -s conftest.$ac_objext'
35537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35538 (eval $ac_try) 2>&5
35539 ac_status=$?
35540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35541 (exit $ac_status); }; }; then
35542 ac_header_compiler=yes
35543 else
35544 echo "$as_me: failed program was:" >&5
35545 sed 's/^/| /' conftest.$ac_ext >&5
35546
35547 ac_header_compiler=no
35548 fi
35549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35550 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35551 echo "${ECHO_T}$ac_header_compiler" >&6
35552
35553 # Is the header present?
35554 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35555 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35556 cat >conftest.$ac_ext <<_ACEOF
35557 /* confdefs.h. */
35558 _ACEOF
35559 cat confdefs.h >>conftest.$ac_ext
35560 cat >>conftest.$ac_ext <<_ACEOF
35561 /* end confdefs.h. */
35562 #include <$ac_header>
35563 _ACEOF
35564 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35565 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
35566 ac_status=$?
35567 grep -v '^ *+' conftest.er1 >conftest.err
35568 rm -f conftest.er1
35569 cat conftest.err >&5
35570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35571 (exit $ac_status); } >/dev/null; then
35572 if test -s conftest.err; then
35573 ac_cpp_err=$ac_c_preproc_warn_flag
35574 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
35575 else
35576 ac_cpp_err=
35577 fi
35578 else
35579 ac_cpp_err=yes
35580 fi
35581 if test -z "$ac_cpp_err"; then
35582 ac_header_preproc=yes
35583 else
35584 echo "$as_me: failed program was:" >&5
35585 sed 's/^/| /' conftest.$ac_ext >&5
35586
35587 ac_header_preproc=no
35588 fi
35589 rm -f conftest.err conftest.$ac_ext
35590 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35591 echo "${ECHO_T}$ac_header_preproc" >&6
35592
35593 # So? What about this header?
35594 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35595 yes:no: )
35596 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35597 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35598 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35599 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35600 ac_header_preproc=yes
35601 ;;
35602 no:yes:* )
35603 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35604 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35605 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35606 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35607 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35608 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35609 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35610 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35611 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35612 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35613 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35614 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35615 (
35616 cat <<\_ASBOX
35617 ## ----------------------------------------- ##
35618 ## Report this to wx-dev@lists.wxwidgets.org ##
35619 ## ----------------------------------------- ##
35620 _ASBOX
35621 ) |
35622 sed "s/^/$as_me: WARNING: /" >&2
35623 ;;
35624 esac
35625 echo "$as_me:$LINENO: checking for $ac_header" >&5
35626 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35627 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35628 echo $ECHO_N "(cached) $ECHO_C" >&6
35629 else
35630 eval "$as_ac_Header=\$ac_header_preproc"
35631 fi
35632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35633 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35634
35635 fi
35636 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35637 cat >>confdefs.h <<_ACEOF
35638 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35639 _ACEOF
35640
35641 fi
35642
35643 done
35644
35645 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
35646 wxUSE_JOYSTICK=no
35647 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
35648 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35649 fi
35650 fi
35651 fi
35652
35653 if test "$wxUSE_JOYSTICK" = "yes"; then
35654 cat >>confdefs.h <<\_ACEOF
35655 #define wxUSE_JOYSTICK 1
35656 _ACEOF
35657
35658 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
35659 fi
35660 fi
35661
35662
35663
35664 if test "$wxUSE_FONTMAP" = "yes" ; then
35665 cat >>confdefs.h <<\_ACEOF
35666 #define wxUSE_FONTMAP 1
35667 _ACEOF
35668
35669 fi
35670
35671 if test "$wxUSE_UNICODE" = "yes" ; then
35672 cat >>confdefs.h <<\_ACEOF
35673 #define wxUSE_UNICODE 1
35674 _ACEOF
35675
35676
35677 if test "$USE_WIN32" != 1; then
35678 wxUSE_UNICODE_MSLU=no
35679 fi
35680
35681 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35682 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
35683 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
35684 if test "${ac_cv_lib_unicows_main+set}" = set; then
35685 echo $ECHO_N "(cached) $ECHO_C" >&6
35686 else
35687 ac_check_lib_save_LIBS=$LIBS
35688 LIBS="-lunicows $LIBS"
35689 cat >conftest.$ac_ext <<_ACEOF
35690 /* confdefs.h. */
35691 _ACEOF
35692 cat confdefs.h >>conftest.$ac_ext
35693 cat >>conftest.$ac_ext <<_ACEOF
35694 /* end confdefs.h. */
35695
35696
35697 int
35698 main ()
35699 {
35700 main ();
35701 ;
35702 return 0;
35703 }
35704 _ACEOF
35705 rm -f conftest.$ac_objext conftest$ac_exeext
35706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35707 (eval $ac_link) 2>conftest.er1
35708 ac_status=$?
35709 grep -v '^ *+' conftest.er1 >conftest.err
35710 rm -f conftest.er1
35711 cat conftest.err >&5
35712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35713 (exit $ac_status); } &&
35714 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35716 (eval $ac_try) 2>&5
35717 ac_status=$?
35718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35719 (exit $ac_status); }; } &&
35720 { ac_try='test -s conftest$ac_exeext'
35721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35722 (eval $ac_try) 2>&5
35723 ac_status=$?
35724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35725 (exit $ac_status); }; }; then
35726 ac_cv_lib_unicows_main=yes
35727 else
35728 echo "$as_me: failed program was:" >&5
35729 sed 's/^/| /' conftest.$ac_ext >&5
35730
35731 ac_cv_lib_unicows_main=no
35732 fi
35733 rm -f conftest.err conftest.$ac_objext \
35734 conftest$ac_exeext conftest.$ac_ext
35735 LIBS=$ac_check_lib_save_LIBS
35736 fi
35737 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
35738 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
35739 if test $ac_cv_lib_unicows_main = yes; then
35740
35741 cat >>confdefs.h <<\_ACEOF
35742 #define wxUSE_UNICODE_MSLU 1
35743 _ACEOF
35744
35745
35746 else
35747
35748 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35749 Applications will only run on Windows NT/2000/XP!" >&5
35750 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35751 Applications will only run on Windows NT/2000/XP!" >&2;}
35752 wxUSE_UNICODE_MSLU=no
35753
35754 fi
35755
35756 fi
35757 fi
35758
35759 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
35760 cat >>confdefs.h <<\_ACEOF
35761 #define wxUSE_EXPERIMENTAL_PRINTF 1
35762 _ACEOF
35763
35764 fi
35765
35766
35767 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
35768 cat >>confdefs.h <<\_ACEOF
35769 #define wxUSE_POSTSCRIPT 1
35770 _ACEOF
35771
35772 fi
35773
35774 cat >>confdefs.h <<\_ACEOF
35775 #define wxUSE_AFM_FOR_POSTSCRIPT 1
35776 _ACEOF
35777
35778
35779 cat >>confdefs.h <<\_ACEOF
35780 #define wxUSE_NORMALIZED_PS_FONTS 1
35781 _ACEOF
35782
35783
35784
35785 if test "$wxUSE_CONSTRAINTS" = "yes"; then
35786 cat >>confdefs.h <<\_ACEOF
35787 #define wxUSE_CONSTRAINTS 1
35788 _ACEOF
35789
35790 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
35791 fi
35792
35793 if test "$wxUSE_MDI" = "yes"; then
35794 cat >>confdefs.h <<\_ACEOF
35795 #define wxUSE_MDI 1
35796 _ACEOF
35797
35798
35799 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35800 cat >>confdefs.h <<\_ACEOF
35801 #define wxUSE_MDI_ARCHITECTURE 1
35802 _ACEOF
35803
35804 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
35805 fi
35806 fi
35807
35808 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
35809 cat >>confdefs.h <<\_ACEOF
35810 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
35811 _ACEOF
35812
35813 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
35814 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35815 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
35816 fi
35817 fi
35818
35819 if test "$wxUSE_HELP" = "yes"; then
35820 cat >>confdefs.h <<\_ACEOF
35821 #define wxUSE_HELP 1
35822 _ACEOF
35823
35824 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
35825
35826 if test "$wxUSE_MSW" = 1; then
35827 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
35828 cat >>confdefs.h <<\_ACEOF
35829 #define wxUSE_MS_HTML_HELP 1
35830 _ACEOF
35831
35832 fi
35833 fi
35834
35835 if test "$wxUSE_WXHTML_HELP" = "yes"; then
35836 if test "$wxUSE_HTML" = "yes"; then
35837 cat >>confdefs.h <<\_ACEOF
35838 #define wxUSE_WXHTML_HELP 1
35839 _ACEOF
35840
35841 else
35842 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
35843 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
35844 wxUSE_WXHTML_HELP=no
35845 fi
35846 fi
35847 fi
35848
35849 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35850 if test "$wxUSE_CONSTRAINTS" != "yes"; then
35851 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
35852 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
35853 else
35854 cat >>confdefs.h <<\_ACEOF
35855 #define wxUSE_PRINTING_ARCHITECTURE 1
35856 _ACEOF
35857
35858 fi
35859 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
35860 fi
35861
35862 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
35863 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
35864 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
35865 { (exit 1); exit 1; }; }
35866 fi
35867
35868
35869 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
35870 -o "$wxUSE_CLIPBOARD" = "yes" \
35871 -o "$wxUSE_OLE" = "yes" \
35872 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
35873
35874 for ac_header in ole2.h
35875 do
35876 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35877 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35878 echo "$as_me:$LINENO: checking for $ac_header" >&5
35879 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35880 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35881 echo $ECHO_N "(cached) $ECHO_C" >&6
35882 fi
35883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35884 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35885 else
35886 # Is the header compilable?
35887 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35888 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35889 cat >conftest.$ac_ext <<_ACEOF
35890 /* confdefs.h. */
35891 _ACEOF
35892 cat confdefs.h >>conftest.$ac_ext
35893 cat >>conftest.$ac_ext <<_ACEOF
35894 /* end confdefs.h. */
35895 $ac_includes_default
35896 #include <$ac_header>
35897 _ACEOF
35898 rm -f conftest.$ac_objext
35899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35900 (eval $ac_compile) 2>conftest.er1
35901 ac_status=$?
35902 grep -v '^ *+' conftest.er1 >conftest.err
35903 rm -f conftest.er1
35904 cat conftest.err >&5
35905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35906 (exit $ac_status); } &&
35907 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35909 (eval $ac_try) 2>&5
35910 ac_status=$?
35911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35912 (exit $ac_status); }; } &&
35913 { ac_try='test -s conftest.$ac_objext'
35914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35915 (eval $ac_try) 2>&5
35916 ac_status=$?
35917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35918 (exit $ac_status); }; }; then
35919 ac_header_compiler=yes
35920 else
35921 echo "$as_me: failed program was:" >&5
35922 sed 's/^/| /' conftest.$ac_ext >&5
35923
35924 ac_header_compiler=no
35925 fi
35926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35927 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35928 echo "${ECHO_T}$ac_header_compiler" >&6
35929
35930 # Is the header present?
35931 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35932 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35933 cat >conftest.$ac_ext <<_ACEOF
35934 /* confdefs.h. */
35935 _ACEOF
35936 cat confdefs.h >>conftest.$ac_ext
35937 cat >>conftest.$ac_ext <<_ACEOF
35938 /* end confdefs.h. */
35939 #include <$ac_header>
35940 _ACEOF
35941 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35942 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
35943 ac_status=$?
35944 grep -v '^ *+' conftest.er1 >conftest.err
35945 rm -f conftest.er1
35946 cat conftest.err >&5
35947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35948 (exit $ac_status); } >/dev/null; then
35949 if test -s conftest.err; then
35950 ac_cpp_err=$ac_c_preproc_warn_flag
35951 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
35952 else
35953 ac_cpp_err=
35954 fi
35955 else
35956 ac_cpp_err=yes
35957 fi
35958 if test -z "$ac_cpp_err"; then
35959 ac_header_preproc=yes
35960 else
35961 echo "$as_me: failed program was:" >&5
35962 sed 's/^/| /' conftest.$ac_ext >&5
35963
35964 ac_header_preproc=no
35965 fi
35966 rm -f conftest.err conftest.$ac_ext
35967 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35968 echo "${ECHO_T}$ac_header_preproc" >&6
35969
35970 # So? What about this header?
35971 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35972 yes:no: )
35973 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35974 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35975 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35976 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35977 ac_header_preproc=yes
35978 ;;
35979 no:yes:* )
35980 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35981 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35982 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35983 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35984 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35985 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35986 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35987 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35988 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35989 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35990 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35991 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35992 (
35993 cat <<\_ASBOX
35994 ## ----------------------------------------- ##
35995 ## Report this to wx-dev@lists.wxwidgets.org ##
35996 ## ----------------------------------------- ##
35997 _ASBOX
35998 ) |
35999 sed "s/^/$as_me: WARNING: /" >&2
36000 ;;
36001 esac
36002 echo "$as_me:$LINENO: checking for $ac_header" >&5
36003 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36004 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36005 echo $ECHO_N "(cached) $ECHO_C" >&6
36006 else
36007 eval "$as_ac_Header=\$ac_header_preproc"
36008 fi
36009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36010 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36011
36012 fi
36013 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36014 cat >>confdefs.h <<_ACEOF
36015 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36016 _ACEOF
36017
36018 fi
36019
36020 done
36021
36022
36023 if test "$ac_cv_header_ole2_h" = "yes" ; then
36024 if test "$GCC" = yes ; then
36025
36026
36027 ac_ext=cc
36028 ac_cpp='$CXXCPP $CPPFLAGS'
36029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36032
36033
36034 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
36035 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
36036 cat >conftest.$ac_ext <<_ACEOF
36037 /* confdefs.h. */
36038 _ACEOF
36039 cat confdefs.h >>conftest.$ac_ext
36040 cat >>conftest.$ac_ext <<_ACEOF
36041 /* end confdefs.h. */
36042 #include <windows.h>
36043 #include <ole2.h>
36044 int
36045 main ()
36046 {
36047
36048 ;
36049 return 0;
36050 }
36051 _ACEOF
36052 rm -f conftest.$ac_objext
36053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36054 (eval $ac_compile) 2>conftest.er1
36055 ac_status=$?
36056 grep -v '^ *+' conftest.er1 >conftest.err
36057 rm -f conftest.er1
36058 cat conftest.err >&5
36059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36060 (exit $ac_status); } &&
36061 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36063 (eval $ac_try) 2>&5
36064 ac_status=$?
36065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36066 (exit $ac_status); }; } &&
36067 { ac_try='test -s conftest.$ac_objext'
36068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36069 (eval $ac_try) 2>&5
36070 ac_status=$?
36071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36072 (exit $ac_status); }; }; then
36073 echo "$as_me:$LINENO: result: no" >&5
36074 echo "${ECHO_T}no" >&6
36075 else
36076 echo "$as_me: failed program was:" >&5
36077 sed 's/^/| /' conftest.$ac_ext >&5
36078
36079 echo "$as_me:$LINENO: result: yes" >&5
36080 echo "${ECHO_T}yes" >&6
36081 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
36082 fi
36083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36084 ac_ext=c
36085 ac_cpp='$CPP $CPPFLAGS'
36086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36089
36090 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
36091 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36092 if test "$wxUSE_OLE" = "yes" ; then
36093 cat >>confdefs.h <<\_ACEOF
36094 #define wxUSE_OLE 1
36095 _ACEOF
36096
36097 fi
36098 fi
36099
36100 if test "$wxUSE_DATAOBJ" = "yes" ; then
36101 cat >>confdefs.h <<\_ACEOF
36102 #define wxUSE_DATAOBJ 1
36103 _ACEOF
36104
36105 fi
36106 else
36107 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
36108 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36109
36110 wxUSE_CLIPBOARD=no
36111 wxUSE_DRAG_AND_DROP=no
36112 wxUSE_DATAOBJ=no
36113 wxUSE_OLE=no
36114 fi
36115
36116 if test "$wxUSE_METAFILE" = "yes"; then
36117 cat >>confdefs.h <<\_ACEOF
36118 #define wxUSE_METAFILE 1
36119 _ACEOF
36120
36121
36122 cat >>confdefs.h <<\_ACEOF
36123 #define wxUSE_ENH_METAFILE 1
36124 _ACEOF
36125
36126 fi
36127 fi
36128
36129 if test "$wxUSE_IPC" = "yes"; then
36130 if test "$wxUSE_SOCKETS" != "yes"; then
36131 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
36132 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
36133 fi
36134
36135 cat >>confdefs.h <<\_ACEOF
36136 #define wxUSE_IPC 1
36137 _ACEOF
36138
36139 fi
36140
36141 if test "$wxUSE_CLIPBOARD" = "yes"; then
36142 if test "$wxUSE_MGL" = 1; then
36143 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
36144 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
36145 wxUSE_CLIPBOARD=no
36146 fi
36147
36148 if test "$wxUSE_CLIPBOARD" = "yes"; then
36149 cat >>confdefs.h <<\_ACEOF
36150 #define wxUSE_CLIPBOARD 1
36151 _ACEOF
36152
36153
36154 cat >>confdefs.h <<\_ACEOF
36155 #define wxUSE_DATAOBJ 1
36156 _ACEOF
36157
36158 fi
36159 fi
36160
36161 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36162 if test "$wxUSE_GTK" = 1; then
36163 if test "$WXGTK12" != 1; then
36164 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
36165 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
36166 wxUSE_DRAG_AND_DROP=no
36167 fi
36168 fi
36169
36170 if test "$wxUSE_MOTIF" = 1; then
36171 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
36172 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
36173 wxUSE_DRAG_AND_DROP=no
36174 fi
36175
36176 if test "$wxUSE_X11" = 1; then
36177 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
36178 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
36179 wxUSE_DRAG_AND_DROP=no
36180 fi
36181
36182 if test "$wxUSE_MGL" = 1; then
36183 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
36184 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
36185 wxUSE_DRAG_AND_DROP=no
36186 fi
36187
36188 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36189 cat >>confdefs.h <<\_ACEOF
36190 #define wxUSE_DRAG_AND_DROP 1
36191 _ACEOF
36192
36193 fi
36194
36195 fi
36196
36197 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
36198 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
36199 fi
36200
36201 if test "$wxUSE_SPLINES" = "yes" ; then
36202 cat >>confdefs.h <<\_ACEOF
36203 #define wxUSE_SPLINES 1
36204 _ACEOF
36205
36206 fi
36207
36208
36209 USES_CONTROLS=0
36210 if test "$wxUSE_CONTROLS" = "yes"; then
36211 USES_CONTROLS=1
36212 fi
36213
36214 if test "$wxUSE_ACCEL" = "yes"; then
36215 cat >>confdefs.h <<\_ACEOF
36216 #define wxUSE_ACCEL 1
36217 _ACEOF
36218
36219 USES_CONTROLS=1
36220 fi
36221
36222 if test "$wxUSE_BUTTON" = "yes"; then
36223 cat >>confdefs.h <<\_ACEOF
36224 #define wxUSE_BUTTON 1
36225 _ACEOF
36226
36227 USES_CONTROLS=1
36228 fi
36229
36230 if test "$wxUSE_BMPBUTTON" = "yes"; then
36231 cat >>confdefs.h <<\_ACEOF
36232 #define wxUSE_BMPBUTTON 1
36233 _ACEOF
36234
36235 USES_CONTROLS=1
36236 fi
36237
36238 if test "$wxUSE_CALCTRL" = "yes"; then
36239 cat >>confdefs.h <<\_ACEOF
36240 #define wxUSE_CALENDARCTRL 1
36241 _ACEOF
36242
36243 USES_CONTROLS=1
36244 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
36245 fi
36246
36247 if test "$wxUSE_CARET" = "yes"; then
36248 cat >>confdefs.h <<\_ACEOF
36249 #define wxUSE_CARET 1
36250 _ACEOF
36251
36252 USES_CONTROLS=1
36253 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
36254 fi
36255
36256 if test "$wxUSE_COMBOBOX" = "yes"; then
36257 cat >>confdefs.h <<\_ACEOF
36258 #define wxUSE_COMBOBOX 1
36259 _ACEOF
36260
36261 USES_CONTROLS=1
36262 fi
36263
36264 if test "$wxUSE_CHOICE" = "yes"; then
36265 cat >>confdefs.h <<\_ACEOF
36266 #define wxUSE_CHOICE 1
36267 _ACEOF
36268
36269 USES_CONTROLS=1
36270 fi
36271
36272 if test "$wxUSE_CHECKBOX" = "yes"; then
36273 cat >>confdefs.h <<\_ACEOF
36274 #define wxUSE_CHECKBOX 1
36275 _ACEOF
36276
36277 USES_CONTROLS=1
36278 fi
36279
36280 if test "$wxUSE_CHECKLST" = "yes"; then
36281 cat >>confdefs.h <<\_ACEOF
36282 #define wxUSE_CHECKLISTBOX 1
36283 _ACEOF
36284
36285 USES_CONTROLS=1
36286 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
36287 fi
36288
36289 if test "$wxUSE_DISPLAY" = "yes"; then
36290 cat >>confdefs.h <<\_ACEOF
36291 #define wxUSE_DISPLAY 1
36292 _ACEOF
36293
36294 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
36295 fi
36296
36297 if test "$wxUSE_GAUGE" = "yes"; then
36298 cat >>confdefs.h <<\_ACEOF
36299 #define wxUSE_GAUGE 1
36300 _ACEOF
36301
36302 USES_CONTROLS=1
36303 fi
36304
36305 if test "$wxUSE_GRID" = "yes"; then
36306 cat >>confdefs.h <<\_ACEOF
36307 #define wxUSE_GRID 1
36308 _ACEOF
36309
36310 USES_CONTROLS=1
36311 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
36312 fi
36313
36314 if test "$wxUSE_IMAGLIST" = "yes"; then
36315 cat >>confdefs.h <<\_ACEOF
36316 #define wxUSE_IMAGLIST 1
36317 _ACEOF
36318
36319 fi
36320
36321 if test "$wxUSE_LISTBOOK" = "yes"; then
36322 cat >>confdefs.h <<\_ACEOF
36323 #define wxUSE_LISTBOOK 1
36324 _ACEOF
36325
36326 USES_CONTROLS=1
36327 fi
36328
36329 if test "$wxUSE_LISTBOX" = "yes"; then
36330 cat >>confdefs.h <<\_ACEOF
36331 #define wxUSE_LISTBOX 1
36332 _ACEOF
36333
36334 USES_CONTROLS=1
36335 fi
36336
36337 if test "$wxUSE_LISTCTRL" = "yes"; then
36338 if test "$wxUSE_IMAGLIST" = "yes"; then
36339 cat >>confdefs.h <<\_ACEOF
36340 #define wxUSE_LISTCTRL 1
36341 _ACEOF
36342
36343 USES_CONTROLS=1
36344 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
36345 else
36346 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36347 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36348 fi
36349 fi
36350
36351 if test "$wxUSE_NOTEBOOK" = "yes"; then
36352 cat >>confdefs.h <<\_ACEOF
36353 #define wxUSE_NOTEBOOK 1
36354 _ACEOF
36355
36356 USES_CONTROLS=1
36357 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
36358 fi
36359
36360
36361 if test "$wxUSE_RADIOBOX" = "yes"; then
36362 cat >>confdefs.h <<\_ACEOF
36363 #define wxUSE_RADIOBOX 1
36364 _ACEOF
36365
36366 USES_CONTROLS=1
36367 fi
36368
36369 if test "$wxUSE_RADIOBTN" = "yes"; then
36370 cat >>confdefs.h <<\_ACEOF
36371 #define wxUSE_RADIOBTN 1
36372 _ACEOF
36373
36374 USES_CONTROLS=1
36375 fi
36376
36377 if test "$wxUSE_SASH" = "yes"; then
36378 cat >>confdefs.h <<\_ACEOF
36379 #define wxUSE_SASH 1
36380 _ACEOF
36381
36382 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
36383 fi
36384
36385 if test "$wxUSE_SCROLLBAR" = "yes"; then
36386 cat >>confdefs.h <<\_ACEOF
36387 #define wxUSE_SCROLLBAR 1
36388 _ACEOF
36389
36390 USES_CONTROLS=1
36391 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
36392 fi
36393
36394 if test "$wxUSE_SLIDER" = "yes"; then
36395 cat >>confdefs.h <<\_ACEOF
36396 #define wxUSE_SLIDER 1
36397 _ACEOF
36398
36399 USES_CONTROLS=1
36400 fi
36401
36402 if test "$wxUSE_SPINBTN" = "yes"; then
36403 cat >>confdefs.h <<\_ACEOF
36404 #define wxUSE_SPINBTN 1
36405 _ACEOF
36406
36407 USES_CONTROLS=1
36408 fi
36409
36410 if test "$wxUSE_SPINCTRL" = "yes"; then
36411 cat >>confdefs.h <<\_ACEOF
36412 #define wxUSE_SPINCTRL 1
36413 _ACEOF
36414
36415 USES_CONTROLS=1
36416 fi
36417
36418 if test "$wxUSE_SPLITTER" = "yes"; then
36419 cat >>confdefs.h <<\_ACEOF
36420 #define wxUSE_SPLITTER 1
36421 _ACEOF
36422
36423 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
36424 fi
36425
36426 if test "$wxUSE_STATBMP" = "yes"; then
36427 cat >>confdefs.h <<\_ACEOF
36428 #define wxUSE_STATBMP 1
36429 _ACEOF
36430
36431 USES_CONTROLS=1
36432 fi
36433
36434 if test "$wxUSE_STATBOX" = "yes"; then
36435 cat >>confdefs.h <<\_ACEOF
36436 #define wxUSE_STATBOX 1
36437 _ACEOF
36438
36439 USES_CONTROLS=1
36440 fi
36441
36442 if test "$wxUSE_STATTEXT" = "yes"; then
36443 cat >>confdefs.h <<\_ACEOF
36444 #define wxUSE_STATTEXT 1
36445 _ACEOF
36446
36447 USES_CONTROLS=1
36448 fi
36449
36450 if test "$wxUSE_STATLINE" = "yes"; then
36451 cat >>confdefs.h <<\_ACEOF
36452 #define wxUSE_STATLINE 1
36453 _ACEOF
36454
36455 USES_CONTROLS=1
36456 fi
36457
36458 if test "$wxUSE_STATUSBAR" = "yes"; then
36459 cat >>confdefs.h <<\_ACEOF
36460 #define wxUSE_STATUSBAR 1
36461 _ACEOF
36462
36463 USES_CONTROLS=1
36464
36465 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
36466 fi
36467
36468 if test "$wxUSE_TABDIALOG" = "yes"; then
36469 cat >>confdefs.h <<\_ACEOF
36470 #define wxUSE_TAB_DIALOG 1
36471 _ACEOF
36472
36473 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
36474 fi
36475
36476 if test "$wxUSE_TEXTCTRL" = "yes"; then
36477 cat >>confdefs.h <<\_ACEOF
36478 #define wxUSE_TEXTCTRL 1
36479 _ACEOF
36480
36481 USES_CONTROLS=1
36482 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
36483 fi
36484
36485 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36486 if test "$wxUSE_COCOA" = 1 ; then
36487 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36488 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36489 wxUSE_TOGGLEBTN=no
36490 else
36491 if test "$wxUSE_PM" = 1; then
36492 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
36493 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
36494 wxUSE_TOGGLEBTN=no
36495 fi
36496 fi
36497 if test "$wxUSE_UNIVERSAL" = "yes"; then
36498 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
36499 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
36500 wxUSE_TOGGLEBTN=no
36501 fi
36502
36503 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36504 cat >>confdefs.h <<\_ACEOF
36505 #define wxUSE_TOGGLEBTN 1
36506 _ACEOF
36507
36508 USES_CONTROLS=1
36509 fi
36510 fi
36511
36512 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
36513 cat >>confdefs.h <<\_ACEOF
36514 #define wxUSE_TOOLBAR_SIMPLE 1
36515 _ACEOF
36516
36517 wxUSE_TOOLBAR="yes"
36518 USES_CONTROLS=1
36519 fi
36520
36521 if test "$wxUSE_TOOLBAR" = "yes"; then
36522 cat >>confdefs.h <<\_ACEOF
36523 #define wxUSE_TOOLBAR 1
36524 _ACEOF
36525
36526 USES_CONTROLS=1
36527
36528 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
36529 wxUSE_TOOLBAR_NATIVE="yes"
36530 fi
36531
36532 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
36533 cat >>confdefs.h <<\_ACEOF
36534 #define wxUSE_TOOLBAR_NATIVE 1
36535 _ACEOF
36536
36537 USES_CONTROLS=1
36538 fi
36539
36540 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
36541 fi
36542
36543 if test "$wxUSE_TOOLTIPS" = "yes"; then
36544 if test "$wxUSE_MOTIF" = 1; then
36545 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36546 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36547 else
36548 if test "$wxUSE_UNIVERSAL" = "yes"; then
36549 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36550 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36551 else
36552 cat >>confdefs.h <<\_ACEOF
36553 #define wxUSE_TOOLTIPS 1
36554 _ACEOF
36555
36556 fi
36557 fi
36558 fi
36559
36560 if test "$wxUSE_TREECTRL" = "yes"; then
36561 if test "$wxUSE_IMAGLIST" = "yes"; then
36562 cat >>confdefs.h <<\_ACEOF
36563 #define wxUSE_TREECTRL 1
36564 _ACEOF
36565
36566 USES_CONTROLS=1
36567 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
36568 else
36569 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
36570 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
36571 fi
36572 fi
36573
36574 if test "$wxUSE_POPUPWIN" = "yes"; then
36575 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
36576 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
36577 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
36578 else
36579 if test "$wxUSE_PM" = 1; then
36580 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
36581 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
36582 else
36583 cat >>confdefs.h <<\_ACEOF
36584 #define wxUSE_POPUPWIN 1
36585 _ACEOF
36586
36587
36588 USES_CONTROLS=1
36589 fi
36590 fi
36591 fi
36592
36593 if test "$wxUSE_TIPWINDOW" = "yes"; then
36594 if test "$wxUSE_PM" = 1; then
36595 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
36596 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
36597 else
36598 cat >>confdefs.h <<\_ACEOF
36599 #define wxUSE_TIPWINDOW 1
36600 _ACEOF
36601
36602 fi
36603 fi
36604
36605 if test "$USES_CONTROLS" = 1; then
36606 cat >>confdefs.h <<\_ACEOF
36607 #define wxUSE_CONTROLS 1
36608 _ACEOF
36609
36610 fi
36611
36612
36613 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36614 cat >>confdefs.h <<\_ACEOF
36615 #define wxUSE_ACCESSIBILITY 1
36616 _ACEOF
36617
36618 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
36619 fi
36620
36621 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36622 cat >>confdefs.h <<\_ACEOF
36623 #define wxUSE_DRAGIMAGE 1
36624 _ACEOF
36625
36626 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
36627 fi
36628
36629 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36630 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36631 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
36632 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
36633 else
36634 cat >>confdefs.h <<\_ACEOF
36635 #define wxUSE_EXCEPTIONS 1
36636 _ACEOF
36637
36638 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
36639 fi
36640 fi
36641
36642 USE_HTML=0
36643 if test "$wxUSE_HTML" = "yes"; then
36644 cat >>confdefs.h <<\_ACEOF
36645 #define wxUSE_HTML 1
36646 _ACEOF
36647
36648 USE_HTML=1
36649 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36650 if test "$wxUSE_MAC" = 1; then
36651 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
36652 fi
36653 fi
36654 if test "$wxUSE_WEBKIT" = "yes"; then
36655 if test "$wxUSE_MAC" = 1; then
36656 old_CPPFLAGS="$CPPFLAGS"
36657 CPPFLAGS="$CPPFLAGS -x objective-c++"
36658 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
36659 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
36660 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
36661 echo $ECHO_N "(cached) $ECHO_C" >&6
36662 else
36663 cat >conftest.$ac_ext <<_ACEOF
36664 /* confdefs.h. */
36665 _ACEOF
36666 cat confdefs.h >>conftest.$ac_ext
36667 cat >>conftest.$ac_ext <<_ACEOF
36668 /* end confdefs.h. */
36669 #include <Carbon/Carbon.h>
36670
36671 #include <WebKit/HIWebView.h>
36672 _ACEOF
36673 rm -f conftest.$ac_objext
36674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36675 (eval $ac_compile) 2>conftest.er1
36676 ac_status=$?
36677 grep -v '^ *+' conftest.er1 >conftest.err
36678 rm -f conftest.er1
36679 cat conftest.err >&5
36680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36681 (exit $ac_status); } &&
36682 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36684 (eval $ac_try) 2>&5
36685 ac_status=$?
36686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36687 (exit $ac_status); }; } &&
36688 { ac_try='test -s conftest.$ac_objext'
36689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36690 (eval $ac_try) 2>&5
36691 ac_status=$?
36692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36693 (exit $ac_status); }; }; then
36694 ac_cv_header_WebKit_HIWebView_h=yes
36695 else
36696 echo "$as_me: failed program was:" >&5
36697 sed 's/^/| /' conftest.$ac_ext >&5
36698
36699 ac_cv_header_WebKit_HIWebView_h=no
36700 fi
36701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36702 fi
36703 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
36704 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
36705 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
36706
36707 cat >>confdefs.h <<\_ACEOF
36708 #define wxUSE_WEBKIT 1
36709 _ACEOF
36710
36711 WEBKIT_LINK="-framework WebKit"
36712
36713 else
36714
36715 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
36716 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
36717 wxUSE_WEBKIT=no
36718
36719 fi
36720
36721
36722 CPPFLAGS="$old_CPPFLAGS"
36723 elif test "$wxUSE_COCOA" = 1; then
36724 cat >>confdefs.h <<\_ACEOF
36725 #define wxUSE_WEBKIT 1
36726 _ACEOF
36727
36728 else
36729 wxUSE_WEBKIT=no
36730 fi
36731 fi
36732
36733
36734 if test "$wxUSE_MENUS" = "yes"; then
36735 cat >>confdefs.h <<\_ACEOF
36736 #define wxUSE_MENUS 1
36737 _ACEOF
36738
36739 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
36740 fi
36741
36742 if test "$wxUSE_METAFILE" = "yes"; then
36743 cat >>confdefs.h <<\_ACEOF
36744 #define wxUSE_METAFILE 1
36745 _ACEOF
36746
36747 fi
36748
36749 if test "$wxUSE_MIMETYPE" = "yes"; then
36750 cat >>confdefs.h <<\_ACEOF
36751 #define wxUSE_MIMETYPE 1
36752 _ACEOF
36753
36754 fi
36755
36756 if test "$wxUSE_MINIFRAME" = "yes"; then
36757 cat >>confdefs.h <<\_ACEOF
36758 #define wxUSE_MINIFRAME 1
36759 _ACEOF
36760
36761 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
36762 fi
36763
36764 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
36765 cat >>confdefs.h <<\_ACEOF
36766 #define wxUSE_SYSTEM_OPTIONS 1
36767 _ACEOF
36768
36769 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
36770 "$TOOLKIT" = "MOTIF"; then
36771 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
36772 fi
36773 fi
36774
36775
36776 if test "$wxUSE_VALIDATORS" = "yes"; then
36777 cat >>confdefs.h <<\_ACEOF
36778 #define wxUSE_VALIDATORS 1
36779 _ACEOF
36780
36781 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
36782 fi
36783
36784 if test "$wxUSE_PALETTE" = "yes" ; then
36785 cat >>confdefs.h <<\_ACEOF
36786 #define wxUSE_PALETTE 1
36787 _ACEOF
36788
36789 fi
36790
36791 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36792 LIBS=" -lunicows $LIBS"
36793 fi
36794
36795
36796 if test "$wxUSE_IMAGE" = "yes" ; then
36797 cat >>confdefs.h <<\_ACEOF
36798 #define wxUSE_IMAGE 1
36799 _ACEOF
36800
36801
36802 if test "$wxUSE_GIF" = "yes" ; then
36803 cat >>confdefs.h <<\_ACEOF
36804 #define wxUSE_GIF 1
36805 _ACEOF
36806
36807 fi
36808
36809 if test "$wxUSE_PCX" = "yes" ; then
36810 cat >>confdefs.h <<\_ACEOF
36811 #define wxUSE_PCX 1
36812 _ACEOF
36813
36814 fi
36815
36816 if test "$wxUSE_IFF" = "yes" ; then
36817 cat >>confdefs.h <<\_ACEOF
36818 #define wxUSE_IFF 1
36819 _ACEOF
36820
36821 fi
36822
36823 if test "$wxUSE_PNM" = "yes" ; then
36824 cat >>confdefs.h <<\_ACEOF
36825 #define wxUSE_PNM 1
36826 _ACEOF
36827
36828 fi
36829
36830 if test "$wxUSE_XPM" = "yes" ; then
36831 cat >>confdefs.h <<\_ACEOF
36832 #define wxUSE_XPM 1
36833 _ACEOF
36834
36835 fi
36836
36837 if test "$wxUSE_ICO_CUR" = "yes" ; then
36838 cat >>confdefs.h <<\_ACEOF
36839 #define wxUSE_ICO_CUR 1
36840 _ACEOF
36841
36842 fi
36843 fi
36844
36845
36846 if test "$wxUSE_CHOICEDLG" = "yes"; then
36847 cat >>confdefs.h <<\_ACEOF
36848 #define wxUSE_CHOICEDLG 1
36849 _ACEOF
36850
36851 fi
36852
36853 if test "$wxUSE_COLOURDLG" = "yes"; then
36854 cat >>confdefs.h <<\_ACEOF
36855 #define wxUSE_COLOURDLG 1
36856 _ACEOF
36857
36858 fi
36859
36860 if test "$wxUSE_FILEDLG" = "yes"; then
36861 cat >>confdefs.h <<\_ACEOF
36862 #define wxUSE_FILEDLG 1
36863 _ACEOF
36864
36865 fi
36866
36867 if test "$wxUSE_FINDREPLDLG" = "yes"; then
36868 cat >>confdefs.h <<\_ACEOF
36869 #define wxUSE_FINDREPLDLG 1
36870 _ACEOF
36871
36872 fi
36873
36874 if test "$wxUSE_FONTDLG" = "yes"; then
36875 cat >>confdefs.h <<\_ACEOF
36876 #define wxUSE_FONTDLG 1
36877 _ACEOF
36878
36879 fi
36880
36881 if test "$wxUSE_DIRDLG" = "yes"; then
36882 if test "$wxUSE_TREECTRL" != "yes"; then
36883 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
36884 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
36885 else
36886 cat >>confdefs.h <<\_ACEOF
36887 #define wxUSE_DIRDLG 1
36888 _ACEOF
36889
36890 fi
36891 fi
36892
36893 if test "$wxUSE_MSGDLG" = "yes"; then
36894 cat >>confdefs.h <<\_ACEOF
36895 #define wxUSE_MSGDLG 1
36896 _ACEOF
36897
36898 fi
36899
36900 if test "$wxUSE_NUMBERDLG" = "yes"; then
36901 cat >>confdefs.h <<\_ACEOF
36902 #define wxUSE_NUMBERDLG 1
36903 _ACEOF
36904
36905 fi
36906
36907 if test "$wxUSE_PROGRESSDLG" = "yes"; then
36908 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36909 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
36910 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
36911 else
36912 cat >>confdefs.h <<\_ACEOF
36913 #define wxUSE_PROGRESSDLG 1
36914 _ACEOF
36915
36916 fi
36917 fi
36918
36919 if test "$wxUSE_SPLASH" = "yes"; then
36920 cat >>confdefs.h <<\_ACEOF
36921 #define wxUSE_SPLASH 1
36922 _ACEOF
36923
36924 fi
36925
36926 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
36927 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36928 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
36929 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
36930 else
36931 cat >>confdefs.h <<\_ACEOF
36932 #define wxUSE_STARTUP_TIPS 1
36933 _ACEOF
36934
36935 fi
36936 fi
36937
36938 if test "$wxUSE_TEXTDLG" = "yes"; then
36939 cat >>confdefs.h <<\_ACEOF
36940 #define wxUSE_TEXTDLG 1
36941 _ACEOF
36942
36943 fi
36944
36945 if test "$wxUSE_WIZARDDLG" = "yes"; then
36946 cat >>confdefs.h <<\_ACEOF
36947 #define wxUSE_WIZARDDLG 1
36948 _ACEOF
36949
36950 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
36951 fi
36952
36953
36954 if test "$cross_compiling" = "yes"; then
36955 OSINFO="\"$host\""
36956 else
36957 OSINFO=`uname -s -r -m`
36958 OSINFO="\"$OSINFO\""
36959 fi
36960
36961 cat >>confdefs.h <<_ACEOF
36962 #define WXWIN_OS_DESCRIPTION $OSINFO
36963 _ACEOF
36964
36965
36966
36967 if test "x$prefix" != "xNONE"; then
36968 wxPREFIX=$prefix
36969 else
36970 wxPREFIX=$ac_default_prefix
36971 fi
36972
36973 cat >>confdefs.h <<_ACEOF
36974 #define wxINSTALL_PREFIX "$wxPREFIX"
36975 _ACEOF
36976
36977
36978 top_builddir_wxconfig=`pwd`
36979
36980
36981
36982 CORE_BASE_LIBS="net base"
36983 CORE_GUI_LIBS="adv core"
36984
36985 if test "$wxUSE_XML" = "yes" ; then
36986 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
36987 fi
36988 if test "$wxUSE_ODBC" != "no" ; then
36989 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
36990 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
36991 fi
36992 if test "$wxUSE_HTML" = "yes" ; then
36993 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
36994 fi
36995
36996 if test "$wxUSE_GUI" != "yes"; then
36997 CORE_GUI_LIBS=""
36998 fi
36999
37000
37001
37002
37003
37004
37005
37006
37007 if test "$wxUSE_MAC" = 1 ; then
37008 if test "$wxUSE_SOUND" = "yes"; then
37009 LDFLAGS="$LDFLAGS -framework QuickTime"
37010 fi
37011 LDFLAGS="$LDFLAGS -framework Carbon -framework Cocoa -framework System"
37012 fi
37013 if test "$wxUSE_COCOA" = 1 ; then
37014 LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
37015 fi
37016
37017
37018 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37019
37020 have_cos=0
37021 have_floor=0
37022
37023 for ac_func in cos
37024 do
37025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37026 echo "$as_me:$LINENO: checking for $ac_func" >&5
37027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37028 if eval "test \"\${$as_ac_var+set}\" = set"; then
37029 echo $ECHO_N "(cached) $ECHO_C" >&6
37030 else
37031 cat >conftest.$ac_ext <<_ACEOF
37032 /* confdefs.h. */
37033 _ACEOF
37034 cat confdefs.h >>conftest.$ac_ext
37035 cat >>conftest.$ac_ext <<_ACEOF
37036 /* end confdefs.h. */
37037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37039 #define $ac_func innocuous_$ac_func
37040
37041 /* System header to define __stub macros and hopefully few prototypes,
37042 which can conflict with char $ac_func (); below.
37043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37044 <limits.h> exists even on freestanding compilers. */
37045
37046 #ifdef __STDC__
37047 # include <limits.h>
37048 #else
37049 # include <assert.h>
37050 #endif
37051
37052 #undef $ac_func
37053
37054 /* Override any gcc2 internal prototype to avoid an error. */
37055 #ifdef __cplusplus
37056 extern "C"
37057 {
37058 #endif
37059 /* We use char because int might match the return type of a gcc2
37060 builtin and then its argument prototype would still apply. */
37061 char $ac_func ();
37062 /* The GNU C library defines this for functions which it implements
37063 to always fail with ENOSYS. Some functions are actually named
37064 something starting with __ and the normal name is an alias. */
37065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37066 choke me
37067 #else
37068 char (*f) () = $ac_func;
37069 #endif
37070 #ifdef __cplusplus
37071 }
37072 #endif
37073
37074 int
37075 main ()
37076 {
37077 return f != $ac_func;
37078 ;
37079 return 0;
37080 }
37081 _ACEOF
37082 rm -f conftest.$ac_objext conftest$ac_exeext
37083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37084 (eval $ac_link) 2>conftest.er1
37085 ac_status=$?
37086 grep -v '^ *+' conftest.er1 >conftest.err
37087 rm -f conftest.er1
37088 cat conftest.err >&5
37089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37090 (exit $ac_status); } &&
37091 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37093 (eval $ac_try) 2>&5
37094 ac_status=$?
37095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37096 (exit $ac_status); }; } &&
37097 { ac_try='test -s conftest$ac_exeext'
37098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37099 (eval $ac_try) 2>&5
37100 ac_status=$?
37101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37102 (exit $ac_status); }; }; then
37103 eval "$as_ac_var=yes"
37104 else
37105 echo "$as_me: failed program was:" >&5
37106 sed 's/^/| /' conftest.$ac_ext >&5
37107
37108 eval "$as_ac_var=no"
37109 fi
37110 rm -f conftest.err conftest.$ac_objext \
37111 conftest$ac_exeext conftest.$ac_ext
37112 fi
37113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37115 if test `eval echo '${'$as_ac_var'}'` = yes; then
37116 cat >>confdefs.h <<_ACEOF
37117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37118 _ACEOF
37119 have_cos=1
37120 fi
37121 done
37122
37123
37124 for ac_func in floor
37125 do
37126 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37127 echo "$as_me:$LINENO: checking for $ac_func" >&5
37128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37129 if eval "test \"\${$as_ac_var+set}\" = set"; then
37130 echo $ECHO_N "(cached) $ECHO_C" >&6
37131 else
37132 cat >conftest.$ac_ext <<_ACEOF
37133 /* confdefs.h. */
37134 _ACEOF
37135 cat confdefs.h >>conftest.$ac_ext
37136 cat >>conftest.$ac_ext <<_ACEOF
37137 /* end confdefs.h. */
37138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37140 #define $ac_func innocuous_$ac_func
37141
37142 /* System header to define __stub macros and hopefully few prototypes,
37143 which can conflict with char $ac_func (); below.
37144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37145 <limits.h> exists even on freestanding compilers. */
37146
37147 #ifdef __STDC__
37148 # include <limits.h>
37149 #else
37150 # include <assert.h>
37151 #endif
37152
37153 #undef $ac_func
37154
37155 /* Override any gcc2 internal prototype to avoid an error. */
37156 #ifdef __cplusplus
37157 extern "C"
37158 {
37159 #endif
37160 /* We use char because int might match the return type of a gcc2
37161 builtin and then its argument prototype would still apply. */
37162 char $ac_func ();
37163 /* The GNU C library defines this for functions which it implements
37164 to always fail with ENOSYS. Some functions are actually named
37165 something starting with __ and the normal name is an alias. */
37166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37167 choke me
37168 #else
37169 char (*f) () = $ac_func;
37170 #endif
37171 #ifdef __cplusplus
37172 }
37173 #endif
37174
37175 int
37176 main ()
37177 {
37178 return f != $ac_func;
37179 ;
37180 return 0;
37181 }
37182 _ACEOF
37183 rm -f conftest.$ac_objext conftest$ac_exeext
37184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37185 (eval $ac_link) 2>conftest.er1
37186 ac_status=$?
37187 grep -v '^ *+' conftest.er1 >conftest.err
37188 rm -f conftest.er1
37189 cat conftest.err >&5
37190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37191 (exit $ac_status); } &&
37192 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37194 (eval $ac_try) 2>&5
37195 ac_status=$?
37196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37197 (exit $ac_status); }; } &&
37198 { ac_try='test -s conftest$ac_exeext'
37199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37200 (eval $ac_try) 2>&5
37201 ac_status=$?
37202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37203 (exit $ac_status); }; }; then
37204 eval "$as_ac_var=yes"
37205 else
37206 echo "$as_me: failed program was:" >&5
37207 sed 's/^/| /' conftest.$ac_ext >&5
37208
37209 eval "$as_ac_var=no"
37210 fi
37211 rm -f conftest.err conftest.$ac_objext \
37212 conftest$ac_exeext conftest.$ac_ext
37213 fi
37214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37216 if test `eval echo '${'$as_ac_var'}'` = yes; then
37217 cat >>confdefs.h <<_ACEOF
37218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37219 _ACEOF
37220 have_floor=1
37221 fi
37222 done
37223
37224 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
37225 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
37226 if test "$have_cos" = 1 -a "$have_floor" = 1; then
37227 echo "$as_me:$LINENO: result: yes" >&5
37228 echo "${ECHO_T}yes" >&6
37229 else
37230 echo "$as_me:$LINENO: result: no" >&5
37231 echo "${ECHO_T}no" >&6
37232 LIBS="$LIBS -lm"
37233 # use different functions to avoid configure caching
37234 have_sin=0
37235 have_ceil=0
37236
37237 for ac_func in sin
37238 do
37239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37240 echo "$as_me:$LINENO: checking for $ac_func" >&5
37241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37242 if eval "test \"\${$as_ac_var+set}\" = set"; then
37243 echo $ECHO_N "(cached) $ECHO_C" >&6
37244 else
37245 cat >conftest.$ac_ext <<_ACEOF
37246 /* confdefs.h. */
37247 _ACEOF
37248 cat confdefs.h >>conftest.$ac_ext
37249 cat >>conftest.$ac_ext <<_ACEOF
37250 /* end confdefs.h. */
37251 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37252 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37253 #define $ac_func innocuous_$ac_func
37254
37255 /* System header to define __stub macros and hopefully few prototypes,
37256 which can conflict with char $ac_func (); below.
37257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37258 <limits.h> exists even on freestanding compilers. */
37259
37260 #ifdef __STDC__
37261 # include <limits.h>
37262 #else
37263 # include <assert.h>
37264 #endif
37265
37266 #undef $ac_func
37267
37268 /* Override any gcc2 internal prototype to avoid an error. */
37269 #ifdef __cplusplus
37270 extern "C"
37271 {
37272 #endif
37273 /* We use char because int might match the return type of a gcc2
37274 builtin and then its argument prototype would still apply. */
37275 char $ac_func ();
37276 /* The GNU C library defines this for functions which it implements
37277 to always fail with ENOSYS. Some functions are actually named
37278 something starting with __ and the normal name is an alias. */
37279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37280 choke me
37281 #else
37282 char (*f) () = $ac_func;
37283 #endif
37284 #ifdef __cplusplus
37285 }
37286 #endif
37287
37288 int
37289 main ()
37290 {
37291 return f != $ac_func;
37292 ;
37293 return 0;
37294 }
37295 _ACEOF
37296 rm -f conftest.$ac_objext conftest$ac_exeext
37297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37298 (eval $ac_link) 2>conftest.er1
37299 ac_status=$?
37300 grep -v '^ *+' conftest.er1 >conftest.err
37301 rm -f conftest.er1
37302 cat conftest.err >&5
37303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37304 (exit $ac_status); } &&
37305 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37307 (eval $ac_try) 2>&5
37308 ac_status=$?
37309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37310 (exit $ac_status); }; } &&
37311 { ac_try='test -s conftest$ac_exeext'
37312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37313 (eval $ac_try) 2>&5
37314 ac_status=$?
37315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37316 (exit $ac_status); }; }; then
37317 eval "$as_ac_var=yes"
37318 else
37319 echo "$as_me: failed program was:" >&5
37320 sed 's/^/| /' conftest.$ac_ext >&5
37321
37322 eval "$as_ac_var=no"
37323 fi
37324 rm -f conftest.err conftest.$ac_objext \
37325 conftest$ac_exeext conftest.$ac_ext
37326 fi
37327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37328 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37329 if test `eval echo '${'$as_ac_var'}'` = yes; then
37330 cat >>confdefs.h <<_ACEOF
37331 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37332 _ACEOF
37333 have_sin=1
37334 fi
37335 done
37336
37337
37338 for ac_func in ceil
37339 do
37340 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37341 echo "$as_me:$LINENO: checking for $ac_func" >&5
37342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37343 if eval "test \"\${$as_ac_var+set}\" = set"; then
37344 echo $ECHO_N "(cached) $ECHO_C" >&6
37345 else
37346 cat >conftest.$ac_ext <<_ACEOF
37347 /* confdefs.h. */
37348 _ACEOF
37349 cat confdefs.h >>conftest.$ac_ext
37350 cat >>conftest.$ac_ext <<_ACEOF
37351 /* end confdefs.h. */
37352 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37354 #define $ac_func innocuous_$ac_func
37355
37356 /* System header to define __stub macros and hopefully few prototypes,
37357 which can conflict with char $ac_func (); below.
37358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37359 <limits.h> exists even on freestanding compilers. */
37360
37361 #ifdef __STDC__
37362 # include <limits.h>
37363 #else
37364 # include <assert.h>
37365 #endif
37366
37367 #undef $ac_func
37368
37369 /* Override any gcc2 internal prototype to avoid an error. */
37370 #ifdef __cplusplus
37371 extern "C"
37372 {
37373 #endif
37374 /* We use char because int might match the return type of a gcc2
37375 builtin and then its argument prototype would still apply. */
37376 char $ac_func ();
37377 /* The GNU C library defines this for functions which it implements
37378 to always fail with ENOSYS. Some functions are actually named
37379 something starting with __ and the normal name is an alias. */
37380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37381 choke me
37382 #else
37383 char (*f) () = $ac_func;
37384 #endif
37385 #ifdef __cplusplus
37386 }
37387 #endif
37388
37389 int
37390 main ()
37391 {
37392 return f != $ac_func;
37393 ;
37394 return 0;
37395 }
37396 _ACEOF
37397 rm -f conftest.$ac_objext conftest$ac_exeext
37398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37399 (eval $ac_link) 2>conftest.er1
37400 ac_status=$?
37401 grep -v '^ *+' conftest.er1 >conftest.err
37402 rm -f conftest.er1
37403 cat conftest.err >&5
37404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37405 (exit $ac_status); } &&
37406 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37408 (eval $ac_try) 2>&5
37409 ac_status=$?
37410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37411 (exit $ac_status); }; } &&
37412 { ac_try='test -s conftest$ac_exeext'
37413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37414 (eval $ac_try) 2>&5
37415 ac_status=$?
37416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37417 (exit $ac_status); }; }; then
37418 eval "$as_ac_var=yes"
37419 else
37420 echo "$as_me: failed program was:" >&5
37421 sed 's/^/| /' conftest.$ac_ext >&5
37422
37423 eval "$as_ac_var=no"
37424 fi
37425 rm -f conftest.err conftest.$ac_objext \
37426 conftest$ac_exeext conftest.$ac_ext
37427 fi
37428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37430 if test `eval echo '${'$as_ac_var'}'` = yes; then
37431 cat >>confdefs.h <<_ACEOF
37432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37433 _ACEOF
37434 have_ceil=1
37435 fi
37436 done
37437
37438 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
37439 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
37440 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
37441 echo "$as_me:$LINENO: result: yes" >&5
37442 echo "${ECHO_T}yes" >&6
37443 else
37444 echo "$as_me:$LINENO: result: no" >&5
37445 echo "${ECHO_T}no" >&6
37446 # not sure we should warn the user, crash, etc.
37447 fi
37448 fi
37449
37450 if test "$wxUSE_GUI" = "yes"; then
37451
37452
37453 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
37454 drawing dynamic erase event exec font image \
37455 minimal propsize rotate shaped widgets render"
37456
37457 if test "$wxUSE_MONOLITHIC" != "yes"; then
37458 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
37459 fi
37460 else
37461 SAMPLES_SUBDIRS="console"
37462 fi
37463
37464
37465 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
37466 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
37467
37468 if test "$GXX" = yes ; then
37469 CXXWARNINGS="-Wall"
37470 fi
37471
37472 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
37473
37474 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
37475 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
37476 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
37477
37478
37479 LIBS=`echo $LIBS | sed 's/ \+/ /g'`
37480 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37481 EXTRALIBS_XML="$EXPAT_LINK"
37482 EXTRALIBS_HTML="$MSPACK_LINK"
37483 EXTRALIBS_ODBC="$ODBC_LINK"
37484 if test "$wxUSE_GUI" = "yes"; then
37485 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK | sed 's/ \+/ /g'`
37486 fi
37487 if test "$wxUSE_OPENGL" = "yes"; then
37488 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
37489 fi
37490
37491 LDFLAGS="$LDFLAGS $PROFILE"
37492
37493 if test "$wxUSE_GTK" = 1; then
37494 WXCONFIG_INCLUDE=
37495 else
37496 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
37497 fi
37498
37499 WXCONFIG_EXTRALIBS="$LIBS"
37500
37501 if test "$wxUSE_REGEX" = "builtin" ; then
37502 wxconfig_3rdparty="$wxconfig_3rdparty regex${lib_unicode_suffix}"
37503 fi
37504 if test "$wxUSE_EXPAT" = "builtin" ; then
37505 wxconfig_3rdparty="$wxconfig_3rdparty expat"
37506 fi
37507 if test "$wxUSE_ODBC" = "builtin" ; then
37508 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
37509 fi
37510 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37511 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
37512 fi
37513 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37514 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
37515 fi
37516 if test "$wxUSE_LIBPNG" = "builtin" ; then
37517 wxconfig_3rdparty="$wxconfig_3rdparty png"
37518 fi
37519 if test "$wxUSE_ZLIB" = "builtin" ; then
37520 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
37521 fi
37522 if test "$wxUSE_ODBC" = "builtin" ; then
37523 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
37524 fi
37525
37526 for i in $wxconfig_3rdparty ; do
37527 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
37528 done
37529
37530
37531 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37532 WXUNIV=1
37533 else
37534 WXUNIV=0
37535 fi
37536
37537
37538
37539
37540
37541
37542
37543
37544
37545 if test $wxUSE_MONOLITHIC = "yes" ; then
37546 MONOLITHIC=1
37547 else
37548 MONOLITHIC=0
37549 fi
37550
37551 if test $wxUSE_PLUGINS = "yes" ; then
37552 USE_PLUGINS=1
37553 else
37554 USE_PLUGINS=0
37555 fi
37556
37557 if test $wxUSE_ODBC != "no" ; then
37558 USE_ODBC=1
37559 else
37560 USE_ODBC=0
37561 fi
37562
37563 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37564 OFFICIAL_BUILD=1
37565 else
37566 OFFICIAL_BUILD=0
37567 fi
37568
37569
37570
37571
37572
37573
37574
37575
37576
37577
37578
37579
37580
37581
37582
37583
37584
37585
37586
37587
37588
37589 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
37590
37591
37592
37593
37594
37595
37596
37597
37598
37599 if test "x$BAKEFILE_HOST" = "x"; then
37600 BAKEFILE_HOST="${host}"
37601 fi
37602
37603 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
37604
37605 if test -n "$ac_tool_prefix"; then
37606 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
37607 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
37608 echo "$as_me:$LINENO: checking for $ac_word" >&5
37609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37610 if test "${ac_cv_prog_RANLIB+set}" = set; then
37611 echo $ECHO_N "(cached) $ECHO_C" >&6
37612 else
37613 if test -n "$RANLIB"; then
37614 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
37615 else
37616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37617 for as_dir in $PATH
37618 do
37619 IFS=$as_save_IFS
37620 test -z "$as_dir" && as_dir=.
37621 for ac_exec_ext in '' $ac_executable_extensions; do
37622 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37623 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
37624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37625 break 2
37626 fi
37627 done
37628 done
37629
37630 fi
37631 fi
37632 RANLIB=$ac_cv_prog_RANLIB
37633 if test -n "$RANLIB"; then
37634 echo "$as_me:$LINENO: result: $RANLIB" >&5
37635 echo "${ECHO_T}$RANLIB" >&6
37636 else
37637 echo "$as_me:$LINENO: result: no" >&5
37638 echo "${ECHO_T}no" >&6
37639 fi
37640
37641 fi
37642 if test -z "$ac_cv_prog_RANLIB"; then
37643 ac_ct_RANLIB=$RANLIB
37644 # Extract the first word of "ranlib", so it can be a program name with args.
37645 set dummy ranlib; ac_word=$2
37646 echo "$as_me:$LINENO: checking for $ac_word" >&5
37647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37648 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
37649 echo $ECHO_N "(cached) $ECHO_C" >&6
37650 else
37651 if test -n "$ac_ct_RANLIB"; then
37652 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
37653 else
37654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37655 for as_dir in $PATH
37656 do
37657 IFS=$as_save_IFS
37658 test -z "$as_dir" && as_dir=.
37659 for ac_exec_ext in '' $ac_executable_extensions; do
37660 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37661 ac_cv_prog_ac_ct_RANLIB="ranlib"
37662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37663 break 2
37664 fi
37665 done
37666 done
37667
37668 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
37669 fi
37670 fi
37671 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
37672 if test -n "$ac_ct_RANLIB"; then
37673 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
37674 echo "${ECHO_T}$ac_ct_RANLIB" >&6
37675 else
37676 echo "$as_me:$LINENO: result: no" >&5
37677 echo "${ECHO_T}no" >&6
37678 fi
37679
37680 RANLIB=$ac_ct_RANLIB
37681 else
37682 RANLIB="$ac_cv_prog_RANLIB"
37683 fi
37684
37685 # Find a good install program. We prefer a C program (faster),
37686 # so one script is as good as another. But avoid the broken or
37687 # incompatible versions:
37688 # SysV /etc/install, /usr/sbin/install
37689 # SunOS /usr/etc/install
37690 # IRIX /sbin/install
37691 # AIX /bin/install
37692 # AmigaOS /C/install, which installs bootblocks on floppy discs
37693 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
37694 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
37695 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
37696 # OS/2's system install, which has a completely different semantic
37697 # ./install, which can be erroneously created by make from ./install.sh.
37698 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
37699 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
37700 if test -z "$INSTALL"; then
37701 if test "${ac_cv_path_install+set}" = set; then
37702 echo $ECHO_N "(cached) $ECHO_C" >&6
37703 else
37704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37705 for as_dir in $PATH
37706 do
37707 IFS=$as_save_IFS
37708 test -z "$as_dir" && as_dir=.
37709 # Account for people who put trailing slashes in PATH elements.
37710 case $as_dir/ in
37711 ./ | .// | /cC/* | \
37712 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
37713 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
37714 /usr/ucb/* ) ;;
37715 *)
37716 # OSF1 and SCO ODT 3.0 have their own names for install.
37717 # Don't use installbsd from OSF since it installs stuff as root
37718 # by default.
37719 for ac_prog in ginstall scoinst install; do
37720 for ac_exec_ext in '' $ac_executable_extensions; do
37721 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
37722 if test $ac_prog = install &&
37723 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
37724 # AIX install. It has an incompatible calling convention.
37725 :
37726 elif test $ac_prog = install &&
37727 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
37728 # program-specific install script used by HP pwplus--don't use.
37729 :
37730 else
37731 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
37732 break 3
37733 fi
37734 fi
37735 done
37736 done
37737 ;;
37738 esac
37739 done
37740
37741
37742 fi
37743 if test "${ac_cv_path_install+set}" = set; then
37744 INSTALL=$ac_cv_path_install
37745 else
37746 # As a last resort, use the slow shell script. We don't cache a
37747 # path for INSTALL within a source directory, because that will
37748 # break other packages using the cache if that directory is
37749 # removed, or if the path is relative.
37750 INSTALL=$ac_install_sh
37751 fi
37752 fi
37753 echo "$as_me:$LINENO: result: $INSTALL" >&5
37754 echo "${ECHO_T}$INSTALL" >&6
37755
37756 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
37757 # It thinks the first close brace ends the variable substitution.
37758 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
37759
37760 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
37761
37762 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
37763
37764 echo "$as_me:$LINENO: checking whether ln -s works" >&5
37765 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
37766 LN_S=$as_ln_s
37767 if test "$LN_S" = "ln -s"; then
37768 echo "$as_me:$LINENO: result: yes" >&5
37769 echo "${ECHO_T}yes" >&6
37770 else
37771 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
37772 echo "${ECHO_T}no, using $LN_S" >&6
37773 fi
37774
37775
37776 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
37777 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
37778 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
37779 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
37780 echo $ECHO_N "(cached) $ECHO_C" >&6
37781 else
37782 cat >conftest.make <<\_ACEOF
37783 all:
37784 @echo 'ac_maketemp="$(MAKE)"'
37785 _ACEOF
37786 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
37787 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
37788 if test -n "$ac_maketemp"; then
37789 eval ac_cv_prog_make_${ac_make}_set=yes
37790 else
37791 eval ac_cv_prog_make_${ac_make}_set=no
37792 fi
37793 rm -f conftest.make
37794 fi
37795 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
37796 echo "$as_me:$LINENO: result: yes" >&5
37797 echo "${ECHO_T}yes" >&6
37798 SET_MAKE=
37799 else
37800 echo "$as_me:$LINENO: result: no" >&5
37801 echo "${ECHO_T}no" >&6
37802 SET_MAKE="MAKE=${MAKE-make}"
37803 fi
37804
37805
37806
37807 if test -n "$ac_tool_prefix"; then
37808 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
37809 set dummy ${ac_tool_prefix}ar; ac_word=$2
37810 echo "$as_me:$LINENO: checking for $ac_word" >&5
37811 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37812 if test "${ac_cv_prog_AR+set}" = set; then
37813 echo $ECHO_N "(cached) $ECHO_C" >&6
37814 else
37815 if test -n "$AR"; then
37816 ac_cv_prog_AR="$AR" # Let the user override the test.
37817 else
37818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37819 for as_dir in $PATH
37820 do
37821 IFS=$as_save_IFS
37822 test -z "$as_dir" && as_dir=.
37823 for ac_exec_ext in '' $ac_executable_extensions; do
37824 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37825 ac_cv_prog_AR="${ac_tool_prefix}ar"
37826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37827 break 2
37828 fi
37829 done
37830 done
37831
37832 fi
37833 fi
37834 AR=$ac_cv_prog_AR
37835 if test -n "$AR"; then
37836 echo "$as_me:$LINENO: result: $AR" >&5
37837 echo "${ECHO_T}$AR" >&6
37838 else
37839 echo "$as_me:$LINENO: result: no" >&5
37840 echo "${ECHO_T}no" >&6
37841 fi
37842
37843 fi
37844 if test -z "$ac_cv_prog_AR"; then
37845 ac_ct_AR=$AR
37846 # Extract the first word of "ar", so it can be a program name with args.
37847 set dummy ar; ac_word=$2
37848 echo "$as_me:$LINENO: checking for $ac_word" >&5
37849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37850 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
37851 echo $ECHO_N "(cached) $ECHO_C" >&6
37852 else
37853 if test -n "$ac_ct_AR"; then
37854 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
37855 else
37856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37857 for as_dir in $PATH
37858 do
37859 IFS=$as_save_IFS
37860 test -z "$as_dir" && as_dir=.
37861 for ac_exec_ext in '' $ac_executable_extensions; do
37862 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37863 ac_cv_prog_ac_ct_AR="ar"
37864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37865 break 2
37866 fi
37867 done
37868 done
37869
37870 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
37871 fi
37872 fi
37873 ac_ct_AR=$ac_cv_prog_ac_ct_AR
37874 if test -n "$ac_ct_AR"; then
37875 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
37876 echo "${ECHO_T}$ac_ct_AR" >&6
37877 else
37878 echo "$as_me:$LINENO: result: no" >&5
37879 echo "${ECHO_T}no" >&6
37880 fi
37881
37882 AR=$ac_ct_AR
37883 else
37884 AR="$ac_cv_prog_AR"
37885 fi
37886
37887 if test -n "$ac_tool_prefix"; then
37888 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
37889 set dummy ${ac_tool_prefix}strip; ac_word=$2
37890 echo "$as_me:$LINENO: checking for $ac_word" >&5
37891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37892 if test "${ac_cv_prog_STRIP+set}" = set; then
37893 echo $ECHO_N "(cached) $ECHO_C" >&6
37894 else
37895 if test -n "$STRIP"; then
37896 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
37897 else
37898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37899 for as_dir in $PATH
37900 do
37901 IFS=$as_save_IFS
37902 test -z "$as_dir" && as_dir=.
37903 for ac_exec_ext in '' $ac_executable_extensions; do
37904 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37905 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
37906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37907 break 2
37908 fi
37909 done
37910 done
37911
37912 fi
37913 fi
37914 STRIP=$ac_cv_prog_STRIP
37915 if test -n "$STRIP"; then
37916 echo "$as_me:$LINENO: result: $STRIP" >&5
37917 echo "${ECHO_T}$STRIP" >&6
37918 else
37919 echo "$as_me:$LINENO: result: no" >&5
37920 echo "${ECHO_T}no" >&6
37921 fi
37922
37923 fi
37924 if test -z "$ac_cv_prog_STRIP"; then
37925 ac_ct_STRIP=$STRIP
37926 # Extract the first word of "strip", so it can be a program name with args.
37927 set dummy strip; ac_word=$2
37928 echo "$as_me:$LINENO: checking for $ac_word" >&5
37929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37930 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
37931 echo $ECHO_N "(cached) $ECHO_C" >&6
37932 else
37933 if test -n "$ac_ct_STRIP"; then
37934 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
37935 else
37936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37937 for as_dir in $PATH
37938 do
37939 IFS=$as_save_IFS
37940 test -z "$as_dir" && as_dir=.
37941 for ac_exec_ext in '' $ac_executable_extensions; do
37942 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37943 ac_cv_prog_ac_ct_STRIP="strip"
37944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37945 break 2
37946 fi
37947 done
37948 done
37949
37950 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
37951 fi
37952 fi
37953 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
37954 if test -n "$ac_ct_STRIP"; then
37955 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
37956 echo "${ECHO_T}$ac_ct_STRIP" >&6
37957 else
37958 echo "$as_me:$LINENO: result: no" >&5
37959 echo "${ECHO_T}no" >&6
37960 fi
37961
37962 STRIP=$ac_ct_STRIP
37963 else
37964 STRIP="$ac_cv_prog_STRIP"
37965 fi
37966
37967 if test -n "$ac_tool_prefix"; then
37968 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
37969 set dummy ${ac_tool_prefix}nm; ac_word=$2
37970 echo "$as_me:$LINENO: checking for $ac_word" >&5
37971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37972 if test "${ac_cv_prog_NM+set}" = set; then
37973 echo $ECHO_N "(cached) $ECHO_C" >&6
37974 else
37975 if test -n "$NM"; then
37976 ac_cv_prog_NM="$NM" # Let the user override the test.
37977 else
37978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37979 for as_dir in $PATH
37980 do
37981 IFS=$as_save_IFS
37982 test -z "$as_dir" && as_dir=.
37983 for ac_exec_ext in '' $ac_executable_extensions; do
37984 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37985 ac_cv_prog_NM="${ac_tool_prefix}nm"
37986 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37987 break 2
37988 fi
37989 done
37990 done
37991
37992 fi
37993 fi
37994 NM=$ac_cv_prog_NM
37995 if test -n "$NM"; then
37996 echo "$as_me:$LINENO: result: $NM" >&5
37997 echo "${ECHO_T}$NM" >&6
37998 else
37999 echo "$as_me:$LINENO: result: no" >&5
38000 echo "${ECHO_T}no" >&6
38001 fi
38002
38003 fi
38004 if test -z "$ac_cv_prog_NM"; then
38005 ac_ct_NM=$NM
38006 # Extract the first word of "nm", so it can be a program name with args.
38007 set dummy nm; ac_word=$2
38008 echo "$as_me:$LINENO: checking for $ac_word" >&5
38009 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38010 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
38011 echo $ECHO_N "(cached) $ECHO_C" >&6
38012 else
38013 if test -n "$ac_ct_NM"; then
38014 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
38015 else
38016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38017 for as_dir in $PATH
38018 do
38019 IFS=$as_save_IFS
38020 test -z "$as_dir" && as_dir=.
38021 for ac_exec_ext in '' $ac_executable_extensions; do
38022 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38023 ac_cv_prog_ac_ct_NM="nm"
38024 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38025 break 2
38026 fi
38027 done
38028 done
38029
38030 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
38031 fi
38032 fi
38033 ac_ct_NM=$ac_cv_prog_ac_ct_NM
38034 if test -n "$ac_ct_NM"; then
38035 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
38036 echo "${ECHO_T}$ac_ct_NM" >&6
38037 else
38038 echo "$as_me:$LINENO: result: no" >&5
38039 echo "${ECHO_T}no" >&6
38040 fi
38041
38042 NM=$ac_ct_NM
38043 else
38044 NM="$ac_cv_prog_NM"
38045 fi
38046
38047
38048 case ${BAKEFILE_HOST} in
38049 *-hp-hpux* )
38050 INSTALL_DIR="mkdir"
38051 ;;
38052 *) INSTALL_DIR="$INSTALL -d"
38053 ;;
38054 esac
38055
38056
38057 LDFLAGS_GUI=
38058 case ${BAKEFILE_HOST} in
38059 *-*-cygwin* | *-*-mingw32* )
38060 LDFLAGS_GUI="-mwindows"
38061 esac
38062
38063
38064 fi
38065
38066 echo "$as_me:$LINENO: checking if make is GNU make" >&5
38067 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
38068 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
38069 echo $ECHO_N "(cached) $ECHO_C" >&6
38070 else
38071
38072 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
38073 egrep -s GNU > /dev/null); then
38074 bakefile_cv_prog_makeisgnu="yes"
38075 else
38076 bakefile_cv_prog_makeisgnu="no"
38077 fi
38078
38079 fi
38080 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
38081 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
38082
38083 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38084 IF_GNU_MAKE=""
38085 else
38086 IF_GNU_MAKE="#"
38087 fi
38088
38089
38090
38091 PLATFORM_UNIX=0
38092 PLATFORM_WIN32=0
38093 PLATFORM_MSDOS=0
38094 PLATFORM_MAC=0
38095 PLATFORM_MACOSX=0
38096 PLATFORM_OS2=0
38097
38098 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38099 case "${BAKEFILE_HOST}" in
38100 *-*-cygwin* | *-*-mingw32* )
38101 PLATFORM_WIN32=1
38102 ;;
38103 *-pc-msdosdjgpp )
38104 PLATFORM_MSDOS=1
38105 ;;
38106 *-pc-os2_emx | *-pc-os2-emx )
38107 PLATFORM_OS2=1
38108 ;;
38109 powerpc-*-darwin* )
38110 PLATFORM_MAC=1
38111 PLATFORM_MACOSX=1
38112 ;;
38113 * )
38114 PLATFORM_UNIX=1
38115 ;;
38116 esac
38117 else
38118 case "$BAKEFILE_FORCE_PLATFORM" in
38119 win32 )
38120 PLATFORM_WIN32=1
38121 ;;
38122 msdos )
38123 PLATFORM_MSDOS=1
38124 ;;
38125 os2 )
38126 PLATFORM_OS2=1
38127 ;;
38128 darwin )
38129 PLATFORM_MAC=1
38130 PLATFORM_MACOSX=1
38131 ;;
38132 unix )
38133 PLATFORM_UNIX=1
38134 ;;
38135 * )
38136 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
38137 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
38138 { (exit 1); exit 1; }; }
38139 ;;
38140 esac
38141 fi
38142
38143
38144
38145
38146
38147
38148
38149
38150
38151 # Check whether --enable-omf or --disable-omf was given.
38152 if test "${enable_omf+set}" = set; then
38153 enableval="$enable_omf"
38154 bk_os2_use_omf="$enableval"
38155 fi;
38156
38157 case "${BAKEFILE_HOST}" in
38158 *-*-darwin* )
38159 CFLAGS="$CFLAGS -fno-common"
38160 CXXFLAGS="$CXXFLAGS -fno-common"
38161 ;;
38162
38163 *-pc-os2_emx | *-pc-os2-emx )
38164 if test "x$bk_os2_use_omf" = "xyes" ; then
38165 AR=emxomfar
38166 RANLIB=:
38167 LDFLAGS="-Zomf $LDFLAGS"
38168 CFLAGS="-Zomf $CFLAGS"
38169 CXXFLAGS="-Zomf $CXXFLAGS"
38170 OS2_LIBEXT="lib"
38171 else
38172 OS2_LIBEXT="a"
38173 fi
38174 ;;
38175 esac
38176
38177
38178 SO_SUFFIX="so"
38179 SO_SUFFIX_MODULE="so"
38180 EXEEXT=""
38181 LIBPREFIX="lib"
38182 LIBEXT=".a"
38183 DLLPREFIX="lib"
38184 DLLPREFIX_MODULE=""
38185 DLLIMP_SUFFIX=""
38186
38187 case "${BAKEFILE_HOST}" in
38188 *-hp-hpux* )
38189 SO_SUFFIX="sl"
38190 SO_SUFFIX_MODULE="sl"
38191 ;;
38192 *-*-aix* )
38193 SO_SUFFIX="a"
38194 SO_SUFFIX_MODULE="a"
38195 ;;
38196 *-*-cygwin* | *-*-mingw32* )
38197 SO_SUFFIX="dll"
38198 SO_SUFFIX_MODULE="dll"
38199 DLLIMP_SUFFIX="dll.a"
38200 EXEEXT=".exe"
38201 DLLPREFIX=""
38202 ;;
38203 *-pc-msdosdjgpp )
38204 EXEEXT=".exe"
38205 DLLPREFIX=""
38206 ;;
38207 *-pc-os2_emx | *-pc-os2-emx )
38208 SO_SUFFIX="dll"
38209 SO_SUFFIX_MODULE="dll"
38210 DLLIMP_SUFFIX=$OS2_LIBEXT
38211 EXEEXT=".exe"
38212 DLLPREFIX=""
38213 LIBPREFIX=""
38214 LIBEXT=".$OS2_LIBEXT"
38215 ;;
38216 powerpc-*-darwin* )
38217 SO_SUFFIX="dylib"
38218 SO_SUFFIX_MODULE="bundle"
38219 ;;
38220 esac
38221
38222 if test "x$DLLIMP_SUFFIX" = "x" ; then
38223 DLLIMP_SUFFIX="$SO_SUFFIX"
38224 fi
38225
38226
38227
38228
38229
38230
38231
38232
38233
38234
38235
38236 SHARED_LD_CC="\$(CC) -shared -o"
38237 SHARED_LD_CXX="\$(CXX) -shared -o"
38238
38239 if test "x$GCC" = "xyes"; then
38240 PIC_FLAG="-fPIC"
38241 fi
38242
38243 case "${BAKEFILE_HOST}" in
38244 *-hp-hpux* )
38245 if test "x$GCC" = "xyes"; then
38246 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
38247 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
38248 else
38249 LDFLAGS="$LDFLAGS -L/usr/lib"
38250
38251 SHARED_LD_CC="${CC} -b -o"
38252 SHARED_LD_CXX="${CXX} -b -o"
38253 PIC_FLAG="+Z"
38254 fi
38255 ;;
38256
38257 *-*-linux* )
38258 if test "x$GCC" != "xyes"; then
38259 echo "$as_me:$LINENO: checking for Intel compiler" >&5
38260 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
38261 if test "${bakefile_cv_prog_icc+set}" = set; then
38262 echo $ECHO_N "(cached) $ECHO_C" >&6
38263 else
38264
38265 cat >conftest.$ac_ext <<_ACEOF
38266 /* confdefs.h. */
38267 _ACEOF
38268 cat confdefs.h >>conftest.$ac_ext
38269 cat >>conftest.$ac_ext <<_ACEOF
38270 /* end confdefs.h. */
38271
38272 int
38273 main ()
38274 {
38275
38276 #ifndef __INTEL_COMPILER
38277 #error Not icc
38278 #endif
38279
38280 ;
38281 return 0;
38282 }
38283 _ACEOF
38284 rm -f conftest.$ac_objext
38285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38286 (eval $ac_compile) 2>conftest.er1
38287 ac_status=$?
38288 grep -v '^ *+' conftest.er1 >conftest.err
38289 rm -f conftest.er1
38290 cat conftest.err >&5
38291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38292 (exit $ac_status); } &&
38293 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38295 (eval $ac_try) 2>&5
38296 ac_status=$?
38297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38298 (exit $ac_status); }; } &&
38299 { ac_try='test -s conftest.$ac_objext'
38300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38301 (eval $ac_try) 2>&5
38302 ac_status=$?
38303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38304 (exit $ac_status); }; }; then
38305 bakefile_cv_prog_icc=yes
38306 else
38307 echo "$as_me: failed program was:" >&5
38308 sed 's/^/| /' conftest.$ac_ext >&5
38309
38310 bakefile_cv_prog_icc=no
38311
38312 fi
38313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38314
38315 fi
38316 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
38317 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
38318 if test "$bakefile_cv_prog_icc" = "yes"; then
38319 PIC_FLAG="-KPIC"
38320 fi
38321 fi
38322 ;;
38323
38324 *-*-solaris2* )
38325 if test "x$GCC" != xyes ; then
38326 SHARED_LD_CC="${CC} -G -o"
38327 SHARED_LD_CXX="${CXX} -G -o"
38328 PIC_FLAG="-KPIC"
38329 fi
38330 ;;
38331
38332 *-*-darwin* )
38333
38334 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
38335 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
38336 if test "${wx_cv_gcc31+set}" = set; then
38337 echo $ECHO_N "(cached) $ECHO_C" >&6
38338 else
38339
38340 cat >conftest.$ac_ext <<_ACEOF
38341 /* confdefs.h. */
38342 _ACEOF
38343 cat confdefs.h >>conftest.$ac_ext
38344 cat >>conftest.$ac_ext <<_ACEOF
38345 /* end confdefs.h. */
38346
38347 int
38348 main ()
38349 {
38350
38351 #if (__GNUC__ < 3) || \
38352 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38353 #error old gcc
38354 #endif
38355
38356 ;
38357 return 0;
38358 }
38359 _ACEOF
38360 rm -f conftest.$ac_objext
38361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38362 (eval $ac_compile) 2>conftest.er1
38363 ac_status=$?
38364 grep -v '^ *+' conftest.er1 >conftest.err
38365 rm -f conftest.er1
38366 cat conftest.err >&5
38367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38368 (exit $ac_status); } &&
38369 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38371 (eval $ac_try) 2>&5
38372 ac_status=$?
38373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38374 (exit $ac_status); }; } &&
38375 { ac_try='test -s conftest.$ac_objext'
38376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38377 (eval $ac_try) 2>&5
38378 ac_status=$?
38379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38380 (exit $ac_status); }; }; then
38381
38382 wx_cv_gcc31=yes
38383
38384 else
38385 echo "$as_me: failed program was:" >&5
38386 sed 's/^/| /' conftest.$ac_ext >&5
38387
38388
38389 wx_cv_gcc31=no
38390
38391
38392 fi
38393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38394
38395 fi
38396 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
38397 echo "${ECHO_T}$wx_cv_gcc31" >&6
38398 if test "$wx_cv_gcc31" = "no"; then
38399
38400 D='$'
38401 cat <<EOF >shared-ld-sh
38402 #!/bin/sh
38403 #-----------------------------------------------------------------------------
38404 #-- Name: distrib/mac/shared-ld-sh
38405 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38406 #-- Author: Gilles Depeyrot
38407 #-- Copyright: (c) 2002 Gilles Depeyrot
38408 #-- Licence: any use permitted
38409 #-----------------------------------------------------------------------------
38410
38411 verbose=0
38412 args=""
38413 objects=""
38414 linking_flag="-dynamiclib"
38415
38416 while test ${D}# -gt 0; do
38417 case ${D}1 in
38418
38419 -v)
38420 verbose=1
38421 ;;
38422
38423 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38424 # collect these options and values
38425 args="${D}{args} ${D}1 ${D}2"
38426 shift
38427 ;;
38428
38429 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38430 # collect these options
38431 args="${D}{args} ${D}1"
38432 ;;
38433
38434 -dynamiclib|-bundle)
38435 linking_flag="${D}1"
38436 ;;
38437
38438 -*)
38439 echo "shared-ld: unhandled option '${D}1'"
38440 exit 1
38441 ;;
38442
38443 *.o | *.a | *.dylib)
38444 # collect object files
38445 objects="${D}{objects} ${D}1"
38446 ;;
38447
38448 *)
38449 echo "shared-ld: unhandled argument '${D}1'"
38450 exit 1
38451 ;;
38452
38453 esac
38454 shift
38455 done
38456
38457 #
38458 # Link one module containing all the others
38459 #
38460 if test ${D}{verbose} = 1; then
38461 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
38462 fi
38463 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
38464 status=${D}?
38465 if test ${D}{status} != 0; then
38466 exit ${D}{status}
38467 fi
38468
38469 #
38470 # Link the shared library from the single module created
38471 #
38472 if test ${D}{verbose} = 1; then
38473 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38474 fi
38475 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38476 status=${D}?
38477 if test ${D}{status} != 0; then
38478 exit ${D}{status}
38479 fi
38480
38481 #
38482 # Remove intermediate module
38483 #
38484 rm -f master.${D}${D}.o
38485
38486 exit 0
38487 EOF
38488
38489 chmod +x shared-ld-sh
38490
38491 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38492 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38493 SHARED_LD_CXX="$SHARED_LD_CC"
38494 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
38495 else
38496 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38497 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
38498 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38499 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
38500 fi
38501
38502 PIC_FLAG="-dynamic -fPIC"
38503 ;;
38504
38505 *-*-aix* )
38506 if test "x$GCC" != "xyes"; then
38507 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38508 set dummy makeC++SharedLib; ac_word=$2
38509 echo "$as_me:$LINENO: checking for $ac_word" >&5
38510 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38511 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
38512 echo $ECHO_N "(cached) $ECHO_C" >&6
38513 else
38514 if test -n "$AIX_CXX_LD"; then
38515 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
38516 else
38517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38518 for as_dir in $PATH
38519 do
38520 IFS=$as_save_IFS
38521 test -z "$as_dir" && as_dir=.
38522 for ac_exec_ext in '' $ac_executable_extensions; do
38523 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38524 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
38525 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38526 break 2
38527 fi
38528 done
38529 done
38530
38531 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
38532 fi
38533 fi
38534 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
38535 if test -n "$AIX_CXX_LD"; then
38536 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
38537 echo "${ECHO_T}$AIX_CXX_LD" >&6
38538 else
38539 echo "$as_me:$LINENO: result: no" >&5
38540 echo "${ECHO_T}no" >&6
38541 fi
38542
38543 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
38544 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
38545 fi
38546 ;;
38547
38548 *-*-beos* )
38549 SHARED_LD_CC="${LD} -shared -o"
38550 SHARED_LD_CXX="${LD} -shared -o"
38551 ;;
38552
38553 *-*-irix* )
38554 if test "x$GCC" != "xyes"; then
38555 PIC_FLAG="-KPIC"
38556 fi
38557 ;;
38558
38559 *-*-cygwin* | *-*-mingw32* )
38560 PIC_FLAG=""
38561 ;;
38562
38563 *-pc-os2_emx | *-pc-os2-emx )
38564 SHARED_LD_CC="`pwd`/dllar.sh -o"
38565 SHARED_LD_CXX="`pwd`/dllar.sh -o"
38566 PIC_FLAG=""
38567
38568 D='$'
38569 cat <<EOF >dllar.sh
38570 #!/bin/sh
38571 #
38572 # dllar - a tool to build both a .dll and an .a file
38573 # from a set of object (.o) files for EMX/OS2.
38574 #
38575 # Written by Andrew Zabolotny, bit@freya.etu.ru
38576 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
38577 #
38578 # This script will accept a set of files on the command line.
38579 # All the public symbols from the .o files will be exported into
38580 # a .DEF file, then linker will be run (through gcc) against them to
38581 # build a shared library consisting of all given .o files. All libraries
38582 # (.a) will be first decompressed into component .o files then act as
38583 # described above. You can optionally give a description (-d "description")
38584 # which will be put into .DLL. To see the list of accepted options (as well
38585 # as command-line format) simply run this program without options. The .DLL
38586 # is built to be imported by name (there is no guarantee that new versions
38587 # of the library you build will have same ordinals for same symbols).
38588 #
38589 # dllar is free software; you can redistribute it and/or modify
38590 # it under the terms of the GNU General Public License as published by
38591 # the Free Software Foundation; either version 2, or (at your option)
38592 # any later version.
38593 #
38594 # dllar is distributed in the hope that it will be useful,
38595 # but WITHOUT ANY WARRANTY; without even the implied warranty of
38596 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
38597 # GNU General Public License for more details.
38598 #
38599 # You should have received a copy of the GNU General Public License
38600 # along with dllar; see the file COPYING. If not, write to the Free
38601 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
38602 # 02111-1307, USA.
38603
38604 # To successfuly run this program you will need:
38605 # - Current drive should have LFN support (HPFS, ext2, network, etc)
38606 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
38607 # - gcc
38608 # (used to build the .dll)
38609 # - emxexp
38610 # (used to create .def file from .o files)
38611 # - emximp
38612 # (used to create .a file from .def file)
38613 # - GNU text utilites (cat, sort, uniq)
38614 # used to process emxexp output
38615 # - GNU file utilities (mv, rm)
38616 # - GNU sed
38617 # - lxlite (optional, see flag below)
38618 # (used for general .dll cleanup)
38619 #
38620
38621 flag_USE_LXLITE=1;
38622
38623 #
38624 # helper functions
38625 # basnam, variant of basename, which does _not_ remove the path, _iff_
38626 # second argument (suffix to remove) is given
38627 basnam(){
38628 case ${D}# in
38629 1)
38630 echo ${D}1 | sed 's/.*\///' | sed 's/.*\\//'
38631 ;;
38632 2)
38633 echo ${D}1 | sed 's/'${D}2'${D}//'
38634 ;;
38635 *)
38636 echo "error in basnam ${D}*"
38637 exit 8
38638 ;;
38639 esac
38640 }
38641
38642 # Cleanup temporary files and output
38643 CleanUp() {
38644 cd ${D}curDir
38645 for i in ${D}inputFiles ; do
38646 case ${D}i in
38647 *!)
38648 rm -rf \`basnam ${D}i !\`
38649 ;;
38650 *)
38651 ;;
38652 esac
38653 done
38654
38655 # Kill result in case of failure as there is just to many stupid make/nmake
38656 # things out there which doesn't do this.
38657 if ${D}# -eq 0 ; then
38658 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
38659 fi
38660 }
38661
38662 # Print usage and exit script with rc=1.
38663 PrintHelp() {
38664 echo 'Usage: dllar -o[utput] output_file -i[mport] importlib_name'
38665 echo ' -d[escription] "dll descrption" -cc "CC" -f[lags] "CFLAGS"'
38666 echo ' -ord[inals] -exclude "symbol(s)"'
38667 echo ' -libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}" -nocrt[dll] -nolxl[ite]'
38668 echo ' *.o *.a'
38669 echo '*> "output_file" should have no extension.'
38670 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
38671 echo ' The import library name is derived from this and is set to "name".a,'
38672 echo ' unless overridden by -import'
38673 echo '*> "importlib_name" should have no extension.'
38674 echo ' If it has the .o, or .a extension, it is automatically removed.'
38675 echo ' This name is used as the import library name and may be longer and'
38676 echo ' more descriptive than the DLL name which has to follow the old '
38677 echo ' 8.3 convention of FAT.'
38678 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
38679 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
38680 echo ' These flags will be put at the start of GCC command line.'
38681 echo '*> -ordinals tells dllar to export entries by ordinals. Be careful.'
38682 echo '*> -exclude defines symbols which will not be exported. You can define'
38683 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
38684 echo ' If the last character of a symbol is "*", all symbols beginning'
38685 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
38686 echo '*> -libflags can be used to add INITGLOBAL/INITINSTANCE and/or'
38687 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
38688 echo '*> -nocrtdll switch will disable linking the library against emx''s'
38689 echo ' C runtime DLLs.'
38690 echo '*> -nolxlite switch will disable running lxlite on the resulting DLL.'
38691 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
38692 echo ' unchanged to GCC at the end of command line.'
38693 echo '*> If you create a DLL from a library and you do not specify -o,'
38694 echo ' the basename for DLL and import library will be set to library name,'
38695 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
38696 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
38697 echo ' library will be renamed into gcc_s.a.'
38698 echo '--------'
38699 echo 'Example:'
38700 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
38701 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
38702 CleanUp
38703 exit 1
38704 }
38705
38706 # Execute a command.
38707 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
38708 # @Uses Whatever CleanUp() uses.
38709 doCommand() {
38710 echo "${D}*"
38711 eval ${D}*
38712 rcCmd=${D}?
38713
38714 if ${D}rcCmd -ne 0 ; then
38715 echo "command failed, exit code="${D}rcCmd
38716 CleanUp
38717 exit ${D}rcCmd
38718 fi
38719 }
38720
38721 # main routine
38722 # setup globals
38723 cmdLine=${D}*
38724 outFile=""
38725 outimpFile=""
38726 inputFiles=""
38727 description=""
38728 CC=gcc.exe
38729 CFLAGS="-s -Zcrtdll"
38730 EXTRA_CFLAGS=""
38731 EXPORT_BY_ORDINALS=0
38732 exclude_symbols=""
38733 library_flags=""
38734 curDir=\`pwd\`
38735 curDirS=curDir
38736 case ${D}curDirS in
38737 */)
38738 ;;
38739 *)
38740 curDirS=${D}{curDirS}"/"
38741 ;;
38742 esac
38743 # Parse commandline
38744 libsToLink=0
38745 while ${D}1 ; do
38746 case ${D}1 in
38747 -ord*)
38748 EXPORT_BY_ORDINALS=1;
38749 ;;
38750 -o*)
38751 shift
38752 outFile=${D}1
38753 ;;
38754 -i*)
38755 shift
38756 outimpFile=${D}1
38757 ;;
38758 -d*)
38759 shift
38760 description=${D}1
38761 ;;
38762 -f*)
38763 shift
38764 CFLAGS=${D}1
38765 ;;
38766 -c*)
38767 shift
38768 CC=${D}1
38769 ;;
38770 -h*)
38771 PrintHelp
38772 ;;
38773 -ex*)
38774 shift
38775 exclude_symbols=${D}{exclude_symbols}${D}1" "
38776 ;;
38777 -libf*)
38778 shift
38779 library_flags=${D}{library_flags}${D}1" "
38780 ;;
38781 -nocrt*)
38782 CFLAGS="-s"
38783 ;;
38784 -nolxl*)
38785 flag_USE_LXLITE=0
38786 ;;
38787 -* | /*)
38788 case ${D}1 in
38789 -L* | -l*)
38790 libsToLink=1
38791 ;;
38792 *)
38793 ;;
38794 esac
38795 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
38796 ;;
38797 *)
38798 found=0;
38799 if ${D}libsToLink -ne 0 ; then
38800 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
38801 else
38802 for file in ${D}1 ; do
38803 if -f ${D}file ; then
38804 inputFiles="${D}{inputFiles} ${D}file"
38805 found=1
38806 fi
38807 done
38808 if ${D}found -eq 0 ; then
38809 echo "ERROR: No file(s) found: "${D}1
38810 exit 8
38811 fi
38812 fi
38813 ;;
38814 esac
38815 shift
38816 done # iterate cmdline words
38817
38818 #
38819 if -z "${D}inputFiles" ; then
38820 echo "dllar: no input files"
38821 PrintHelp
38822 fi
38823
38824 # Now extract all .o files from .a files
38825 newInputFiles=""
38826 for file in ${D}inputFiles ; do
38827 case ${D}file in
38828 *.a | *.lib)
38829 case ${D}file in
38830 *.a)
38831 suffix=".a"
38832 AR="ar"
38833 ;;
38834 *.lib)
38835 suffix=".lib"
38836 AR="emxomfar"
38837 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
38838 ;;
38839 *)
38840 ;;
38841 esac
38842 dirname=\`basnam ${D}file ${D}suffix\`"_%"
38843 mkdir ${D}dirname
38844 if ${D}? -ne 0 ; then
38845 echo "Failed to create subdirectory ./${D}dirname"
38846 CleanUp
38847 exit 8;
38848 fi
38849 # Append '!' to indicate archive
38850 newInputFiles="${D}newInputFiles ${D}{dirname}!"
38851 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
38852 cd ${D}curDir
38853 found=0;
38854 for subfile in ${D}dirname/*.o* ; do
38855 if -f ${D}subfile ; then
38856 found=1
38857 if -s ${D}subfile ; then
38858 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
38859 newInputFiles="${D}newInputFiles ${D}subfile"
38860 fi
38861 fi
38862 done
38863 if ${D}found -eq 0 ; then
38864 echo "WARNING: there are no files in archive \'${D}file\'"
38865 fi
38866 ;;
38867 *)
38868 newInputFiles="${D}{newInputFiles} ${D}file"
38869 ;;
38870 esac
38871 done
38872 inputFiles="${D}newInputFiles"
38873
38874 # Output filename(s).
38875 do_backup=0;
38876 if -z ${D}outFile ; then
38877 do_backup=1;
38878 set outFile ${D}inputFiles; outFile=${D}2
38879 fi
38880
38881 # If it is an archive, remove the '!' and the '_%' suffixes
38882 case ${D}outFile in
38883 *_%!)
38884 outFile=\`basnam ${D}outFile _%!\`
38885 ;;
38886 *)
38887 ;;
38888 esac
38889 case ${D}outFile in
38890 *.dll)
38891 outFile=\`basnam ${D}outFile .dll\`
38892 ;;
38893 *.DLL)
38894 outFile=\`basnam ${D}outFile .DLL\`
38895 ;;
38896 *.o)
38897 outFile=\`basnam ${D}outFile .o\`
38898 ;;
38899 *.obj)
38900 outFile=\`basnam ${D}outFile .obj\`
38901 ;;
38902 *.a)
38903 outFile=\`basnam ${D}outFile .a\`
38904 ;;
38905 *.lib)
38906 outFile=\`basnam ${D}outFile .lib\`
38907 ;;
38908 *)
38909 ;;
38910 esac
38911 case ${D}outimpFile in
38912 *.a)
38913 outimpFile=\`basnam ${D}outimpFile .a\`
38914 ;;
38915 *.lib)
38916 outimpFile=\`basnam ${D}outimpFile .lib\`
38917 ;;
38918 *)
38919 ;;
38920 esac
38921 if -z ${D}outimpFile ; then
38922 outimpFile=${D}outFile
38923 fi
38924 defFile="${D}{outFile}.def"
38925 arcFile="${D}{outimpFile}.a"
38926 arcFile2="${D}{outimpFile}.lib"
38927 dllFile="${D}outFile"
38928 # Add suffix to dllFile later, first we need a version to use as
38929 # name in .def file.
38930
38931 if ${D}do_backup -ne 0 ; then
38932 if -f ${D}arcFile ; then
38933 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
38934 fi
38935 if -f ${D}arcFile2 ; then
38936 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
38937 fi
38938 fi
38939
38940 # Extract public symbols from all the object files.
38941 tmpdefFile=${D}{defFile}_%
38942 rm -f ${D}tmpdefFile
38943 for file in ${D}inputFiles ; do
38944 case ${D}file in
38945 *!)
38946 ;;
38947 *)
38948 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
38949 ;;
38950 esac
38951 done
38952
38953 # Create the def file.
38954 rm -f ${D}defFile
38955 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
38956 dllFile="${D}dllFile.dll"
38957 if -n ${D}description ; then
38958 echo "DESCRIPTION \"${D}{description}\"" >> ${D}defFile
38959 fi
38960 echo "EXPORTS" >> ${D}defFile
38961
38962 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
38963 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
38964
38965 # Checks if the export is ok or not.
38966 for word in ${D}exclude_symbols; do
38967 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
38968 mv ${D}{tmpdefFile}% ${D}tmpdefFile
38969 done
38970
38971
38972 if ${D}EXPORT_BY_ORDINALS -ne 0 ; then
38973 sed "=" < ${D}tmpdefFile | \
38974 sed '
38975 N
38976 : loop
38977 s/^\(0-9\+\)\(^;*\)\(;.*\)\?/\2 @\1 NONAME/
38978 t loop
38979 ' > ${D}{tmpdefFile}%
38980 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
38981 else
38982 rm -f ${D}{tmpdefFile}%
38983 fi
38984 cat ${D}tmpdefFile >> ${D}defFile
38985 rm -f ${D}tmpdefFile
38986
38987 # Do linking, create implib, and apply lxlite.
38988 gccCmdl="";
38989 for file in ${D}inputFiles ; do
38990 case ${D}file in
38991 *!)
38992 ;;
38993 *)
38994 gccCmdl="${D}gccCmdl ${D}file"
38995 ;;
38996 esac
38997 done
38998 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
38999 touch "${D}{outFile}.dll"
39000
39001 doCommand "emximp -o ${D}arcFile ${D}defFile"
39002 if ${D}flag_USE_LXLITE -ne 0 ; then
39003 add_flags="";
39004 if ${D}EXPORT_BY_ORDINALS -ne 0 ; then
39005 add_flags="-ynd"
39006 fi
39007 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39008 fi
39009 doCommand "emxomf -s -l ${D}arcFile"
39010
39011 # Successful exit.
39012 CleanUp 1
39013 exit 0
39014 EOF
39015
39016 chmod +x dllar.sh
39017 ;;
39018
39019 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39020 *-*-sunos4* | \
39021 *-*-osf* | \
39022 *-*-dgux5* | \
39023 *-*-sysv5* )
39024 ;;
39025
39026 *)
39027 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
39028 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
39029 { (exit 1); exit 1; }; }
39030 esac
39031
39032 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39033 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
39034 fi
39035 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39036 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
39037 fi
39038
39039
39040
39041
39042
39043
39044
39045
39046 USE_SOVERSION=0
39047 USE_SOVERLINUX=0
39048 USE_SOVERSOLARIS=0
39049 USE_SOSYMLINKS=0
39050 USE_MACVERSION=0
39051 SONAME_FLAG=
39052
39053 case "${BAKEFILE_HOST}" in
39054 *-*-linux* )
39055 SONAME_FLAG="-Wl,-soname,"
39056 USE_SOVERSION=1
39057 USE_SOVERLINUX=1
39058 USE_SOSYMLINKS=1
39059 ;;
39060
39061 *-*-solaris2* )
39062 SONAME_FLAG="-h "
39063 USE_SOVERSION=1
39064 USE_SOVERSOLARIS=1
39065 USE_SOSYMLINKS=1
39066 ;;
39067
39068 *-*-darwin* )
39069 USE_MACVERSION=1
39070 USE_SOVERSION=1
39071 USE_SOSYMLINKS=1
39072 ;;
39073 esac
39074
39075
39076
39077
39078
39079
39080
39081
39082
39083 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
39084 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
39085 DEPS_TRACKING=0
39086
39087 if test "x$GCC" = "xyes"; then
39088 DEPSMODE=gcc
39089 DEPS_TRACKING=1
39090 case "${BAKEFILE_HOST}" in
39091 powerpc-*-darwin* )
39092 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
39093 ;;
39094 * )
39095 DEPSFLAG_GCC="-MMD"
39096 ;;
39097 esac
39098 echo "$as_me:$LINENO: result: gcc" >&5
39099 echo "${ECHO_T}gcc" >&6
39100 else
39101 echo "$as_me:$LINENO: result: none" >&5
39102 echo "${ECHO_T}none" >&6
39103 fi
39104
39105 if test $DEPS_TRACKING = 1 ; then
39106
39107 D='$'
39108 cat <<EOF >bk-deps
39109 #!/bin/sh
39110
39111 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39112 # script. It is used to track C/C++ files dependencies in portable way.
39113 #
39114 # Permission is given to use this file in any way.
39115
39116 DEPSMODE=${DEPSMODE}
39117 DEPSDIR=.deps
39118 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
39119
39120 mkdir -p ${D}DEPSDIR
39121
39122 if test ${D}DEPSMODE = gcc ; then
39123 ${D}* ${D}{DEPSFLAG_GCC}
39124 status=${D}?
39125 if test ${D}{status} != 0 ; then
39126 exit ${D}{status}
39127 fi
39128 # move created file to the location we want it in:
39129 while test ${D}# -gt 0; do
39130 case "${D}1" in
39131 -o )
39132 shift
39133 objfile=${D}1
39134 ;;
39135 -* )
39136 ;;
39137 * )
39138 srcfile=${D}1
39139 ;;
39140 esac
39141 shift
39142 done
39143 depfile=\`basename ${D}srcfile | sed -e 's/\..*${D}/.d/g'\`
39144 depobjname=\`echo ${D}depfile |sed -e 's/\.d/.o/g'\`
39145 if test -f ${D}depfile ; then
39146 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39147 rm -f ${D}depfile
39148 else
39149 depfile=\`basename ${D}objfile | sed -e 's/\..*${D}/.d/g'\`
39150 if test -f ${D}depfile ; then
39151 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39152 rm -f ${D}depfile
39153 fi
39154 fi
39155 exit 0
39156 else
39157 ${D}*
39158 exit ${D}?
39159 fi
39160 EOF
39161
39162 chmod +x bk-deps
39163 fi
39164
39165
39166
39167
39168 RESCOMP=
39169 SETFILE=
39170
39171 case ${BAKEFILE_HOST} in
39172 *-*-cygwin* | *-*-mingw32* )
39173 if test "$build" != "$host" ; then
39174 RESCOMP=$host_alias-windres
39175 else
39176 # Extract the first word of "windres", so it can be a program name with args.
39177 set dummy windres; ac_word=$2
39178 echo "$as_me:$LINENO: checking for $ac_word" >&5
39179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39180 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39181 echo $ECHO_N "(cached) $ECHO_C" >&6
39182 else
39183 if test -n "$RESCOMP"; then
39184 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
39185 else
39186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39187 for as_dir in $PATH
39188 do
39189 IFS=$as_save_IFS
39190 test -z "$as_dir" && as_dir=.
39191 for ac_exec_ext in '' $ac_executable_extensions; do
39192 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39193 ac_cv_prog_RESCOMP="windres"
39194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39195 break 2
39196 fi
39197 done
39198 done
39199
39200 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
39201 fi
39202 fi
39203 RESCOMP=$ac_cv_prog_RESCOMP
39204 if test -n "$RESCOMP"; then
39205 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39206 echo "${ECHO_T}$RESCOMP" >&6
39207 else
39208 echo "$as_me:$LINENO: result: no" >&5
39209 echo "${ECHO_T}no" >&6
39210 fi
39211
39212 fi
39213 ;;
39214
39215 *-*-darwin* )
39216 # Extract the first word of "Rez", so it can be a program name with args.
39217 set dummy Rez; ac_word=$2
39218 echo "$as_me:$LINENO: checking for $ac_word" >&5
39219 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39220 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39221 echo $ECHO_N "(cached) $ECHO_C" >&6
39222 else
39223 if test -n "$RESCOMP"; then
39224 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
39225 else
39226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39227 for as_dir in $PATH
39228 do
39229 IFS=$as_save_IFS
39230 test -z "$as_dir" && as_dir=.
39231 for ac_exec_ext in '' $ac_executable_extensions; do
39232 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39233 ac_cv_prog_RESCOMP="Rez"
39234 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39235 break 2
39236 fi
39237 done
39238 done
39239
39240 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
39241 fi
39242 fi
39243 RESCOMP=$ac_cv_prog_RESCOMP
39244 if test -n "$RESCOMP"; then
39245 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39246 echo "${ECHO_T}$RESCOMP" >&6
39247 else
39248 echo "$as_me:$LINENO: result: no" >&5
39249 echo "${ECHO_T}no" >&6
39250 fi
39251
39252 # Extract the first word of "SetFile", so it can be a program name with args.
39253 set dummy SetFile; ac_word=$2
39254 echo "$as_me:$LINENO: checking for $ac_word" >&5
39255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39256 if test "${ac_cv_prog_SETFILE+set}" = set; then
39257 echo $ECHO_N "(cached) $ECHO_C" >&6
39258 else
39259 if test -n "$SETFILE"; then
39260 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
39261 else
39262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39263 for as_dir in $PATH
39264 do
39265 IFS=$as_save_IFS
39266 test -z "$as_dir" && as_dir=.
39267 for ac_exec_ext in '' $ac_executable_extensions; do
39268 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39269 ac_cv_prog_SETFILE="SetFile"
39270 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39271 break 2
39272 fi
39273 done
39274 done
39275
39276 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
39277 fi
39278 fi
39279 SETFILE=$ac_cv_prog_SETFILE
39280 if test -n "$SETFILE"; then
39281 echo "$as_me:$LINENO: result: $SETFILE" >&5
39282 echo "${ECHO_T}$SETFILE" >&6
39283 else
39284 echo "$as_me:$LINENO: result: no" >&5
39285 echo "${ECHO_T}no" >&6
39286 fi
39287
39288 ;;
39289 esac
39290
39291
39292
39293
39294
39295
39296
39297
39298
39299 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.1.4"
39300
39301
39302
39303 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39304 if test "${enable_precomp_headers+set}" = set; then
39305 enableval="$enable_precomp_headers"
39306 bk_use_pch="$enableval"
39307 fi;
39308
39309 GCC_PCH=0
39310
39311 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39312 if test "x$GCC" = "xyes"; then
39313 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39314 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39315 cat >conftest.$ac_ext <<_ACEOF
39316 /* confdefs.h. */
39317 _ACEOF
39318 cat confdefs.h >>conftest.$ac_ext
39319 cat >>conftest.$ac_ext <<_ACEOF
39320 /* end confdefs.h. */
39321
39322 int
39323 main ()
39324 {
39325
39326 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39327 #error "no pch support"
39328 #endif
39329 #if (__GNUC__ < 3)
39330 #error "no pch support"
39331 #endif
39332 #if (__GNUC__ == 3) && \
39333 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39334 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39335 #error "no pch support"
39336 #endif
39337
39338 ;
39339 return 0;
39340 }
39341 _ACEOF
39342 rm -f conftest.$ac_objext
39343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39344 (eval $ac_compile) 2>conftest.er1
39345 ac_status=$?
39346 grep -v '^ *+' conftest.er1 >conftest.err
39347 rm -f conftest.er1
39348 cat conftest.err >&5
39349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39350 (exit $ac_status); } &&
39351 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39353 (eval $ac_try) 2>&5
39354 ac_status=$?
39355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39356 (exit $ac_status); }; } &&
39357 { ac_try='test -s conftest.$ac_objext'
39358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39359 (eval $ac_try) 2>&5
39360 ac_status=$?
39361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39362 (exit $ac_status); }; }; then
39363
39364 echo "$as_me:$LINENO: result: yes" >&5
39365 echo "${ECHO_T}yes" >&6
39366 CPPFLAGS="-fpch-deps $CPPFLAGS"
39367 GCC_PCH=1
39368
39369 else
39370 echo "$as_me: failed program was:" >&5
39371 sed 's/^/| /' conftest.$ac_ext >&5
39372
39373
39374 echo "$as_me:$LINENO: result: no" >&5
39375 echo "${ECHO_T}no" >&6
39376
39377 fi
39378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39379 if test $GCC_PCH = 1 ; then
39380 cat <<EOF >bk-make-pch
39381 #!/bin/sh
39382
39383 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39384 # script. It is used to generated precompiled headers.
39385 #
39386 # Permission is given to use this file in any way.
39387
39388 outfile="\${1}"
39389 header="\${2}"
39390 shift
39391 shift
39392
39393 compiler=
39394 headerfile=
39395 while test \${#} -gt 0; do
39396 case "\${1}" in
39397 -I* )
39398 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
39399 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
39400 headerfile="\${incdir}/\${header}"
39401 fi
39402 ;;
39403 esac
39404 compiler="\${compiler} \${1}"
39405 shift
39406 done
39407
39408 if test "x\${headerfile}" = "x" ; then
39409 echo "error: can't find header \${header} in include paths" >2
39410 else
39411 if test -f \${outfile} ; then
39412 rm -f \${outfile}
39413 else
39414 mkdir -p \`dirname \${outfile}\`
39415 fi
39416 depsfile=".deps/\`basename \${outfile}\`.d"
39417 mkdir -p .deps
39418 # can do this because gcc is >= 3.4:
39419 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
39420 exit \${?}
39421 fi
39422 EOF
39423 chmod +x bk-make-pch
39424 fi
39425 fi
39426 fi
39427
39428
39429
39430
39431
39432
39433
39434 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39435 if test "${enable_precomp_headers+set}" = set; then
39436 enableval="$enable_precomp_headers"
39437 bk_use_pch="$enableval"
39438 fi;
39439
39440 GCC_PCH=0
39441
39442 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39443 if test "x$GCC" = "xyes"; then
39444 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39445 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39446 cat >conftest.$ac_ext <<_ACEOF
39447 /* confdefs.h. */
39448 _ACEOF
39449 cat confdefs.h >>conftest.$ac_ext
39450 cat >>conftest.$ac_ext <<_ACEOF
39451 /* end confdefs.h. */
39452
39453 int
39454 main ()
39455 {
39456
39457 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39458 #error "no pch support"
39459 #endif
39460 #if (__GNUC__ < 3)
39461 #error "no pch support"
39462 #endif
39463 #if (__GNUC__ == 3) && \
39464 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39465 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39466 #error "no pch support"
39467 #endif
39468
39469 ;
39470 return 0;
39471 }
39472 _ACEOF
39473 rm -f conftest.$ac_objext
39474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39475 (eval $ac_compile) 2>conftest.er1
39476 ac_status=$?
39477 grep -v '^ *+' conftest.er1 >conftest.err
39478 rm -f conftest.er1
39479 cat conftest.err >&5
39480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39481 (exit $ac_status); } &&
39482 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39484 (eval $ac_try) 2>&5
39485 ac_status=$?
39486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39487 (exit $ac_status); }; } &&
39488 { ac_try='test -s conftest.$ac_objext'
39489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39490 (eval $ac_try) 2>&5
39491 ac_status=$?
39492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39493 (exit $ac_status); }; }; then
39494
39495 echo "$as_me:$LINENO: result: yes" >&5
39496 echo "${ECHO_T}yes" >&6
39497 CPPFLAGS="-fpch-deps $CPPFLAGS"
39498 GCC_PCH=1
39499
39500 else
39501 echo "$as_me: failed program was:" >&5
39502 sed 's/^/| /' conftest.$ac_ext >&5
39503
39504
39505 echo "$as_me:$LINENO: result: no" >&5
39506 echo "${ECHO_T}no" >&6
39507
39508 fi
39509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39510 if test $GCC_PCH = 1 ; then
39511 cat <<EOF >bk-make-pch
39512 #!/bin/sh
39513
39514 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39515 # script. It is used to generated precompiled headers.
39516 #
39517 # Permission is given to use this file in any way.
39518
39519 outfile="\${1}"
39520 header="\${2}"
39521 shift
39522 shift
39523
39524 compiler=
39525 headerfile=
39526 while test \${#} -gt 0; do
39527 case "\${1}" in
39528 -I* )
39529 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
39530 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
39531 headerfile="\${incdir}/\${header}"
39532 fi
39533 ;;
39534 esac
39535 compiler="\${compiler} \${1}"
39536 shift
39537 done
39538
39539 if test "x\${headerfile}" = "x" ; then
39540 echo "error: can't find header \${header} in include paths" >2
39541 else
39542 if test -f \${outfile} ; then
39543 rm -f \${outfile}
39544 else
39545 mkdir -p \`dirname \${outfile}\`
39546 fi
39547 depsfile=".deps/\`basename \${outfile}\`.d"
39548 mkdir -p .deps
39549 # can do this because gcc is >= 3.4:
39550 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
39551 exit \${?}
39552 fi
39553 EOF
39554 chmod +x bk-make-pch
39555 fi
39556 fi
39557 fi
39558
39559
39560
39561
39562 COND_BUILD_DEBUG="#"
39563 if test "x$BUILD" = "xdebug" ; then
39564 COND_BUILD_DEBUG=""
39565 fi
39566
39567 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
39568 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39569 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
39570 fi
39571
39572 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
39573 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39574 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
39575 fi
39576
39577 COND_BUILD_DEBUG_UNICODE_0="#"
39578 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39579 COND_BUILD_DEBUG_UNICODE_0=""
39580 fi
39581
39582 COND_BUILD_DEBUG_UNICODE_1="#"
39583 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39584 COND_BUILD_DEBUG_UNICODE_1=""
39585 fi
39586
39587 COND_BUILD_RELEASE="#"
39588 if test "x$BUILD" = "xrelease" ; then
39589 COND_BUILD_RELEASE=""
39590 fi
39591
39592 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
39593 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39594 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
39595 fi
39596
39597 COND_BUILD_RELEASE_UNICODE_0="#"
39598 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39599 COND_BUILD_RELEASE_UNICODE_0=""
39600 fi
39601
39602 COND_BUILD_RELEASE_UNICODE_1="#"
39603 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39604 COND_BUILD_RELEASE_UNICODE_1=""
39605 fi
39606
39607 COND_DEBUG_FLAG_1="#"
39608 if test "x$DEBUG_FLAG" = "x1" ; then
39609 COND_DEBUG_FLAG_1=""
39610 fi
39611
39612 COND_DEBUG_INFO_0="#"
39613 if test "x$DEBUG_INFO" = "x0" ; then
39614 COND_DEBUG_INFO_0=""
39615 fi
39616
39617 COND_DEBUG_INFO_1="#"
39618 if test "x$DEBUG_INFO" = "x1" ; then
39619 COND_DEBUG_INFO_1=""
39620 fi
39621
39622 COND_DEPS_TRACKING_0="#"
39623 if test "x$DEPS_TRACKING" = "x0" ; then
39624 COND_DEPS_TRACKING_0=""
39625 fi
39626
39627 COND_DEPS_TRACKING_1="#"
39628 if test "x$DEPS_TRACKING" = "x1" ; then
39629 COND_DEPS_TRACKING_1=""
39630 fi
39631
39632 COND_GCC_PCH_1="#"
39633 if test "x$GCC_PCH" = "x1" ; then
39634 COND_GCC_PCH_1=""
39635 fi
39636
39637 COND_MONOLITHIC_0="#"
39638 if test "x$MONOLITHIC" = "x0" ; then
39639 COND_MONOLITHIC_0=""
39640 fi
39641
39642 COND_MONOLITHIC_0_SHARED_0="#"
39643 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
39644 COND_MONOLITHIC_0_SHARED_0=""
39645 fi
39646
39647 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
39648 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
39649 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
39650 fi
39651
39652 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
39653 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39654 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
39655 fi
39656
39657 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
39658 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
39659 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
39660 fi
39661
39662 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
39663 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
39664 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
39665 fi
39666
39667 COND_MONOLITHIC_0_SHARED_1="#"
39668 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
39669 COND_MONOLITHIC_0_SHARED_1=""
39670 fi
39671
39672 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
39673 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
39674 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
39675 fi
39676
39677 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
39678 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39679 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
39680 fi
39681
39682 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
39683 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
39684 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
39685 fi
39686
39687 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
39688 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
39689 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
39690 fi
39691
39692 COND_MONOLITHIC_0_USE_ODBC_1="#"
39693 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
39694 COND_MONOLITHIC_0_USE_ODBC_1=""
39695 fi
39696
39697 COND_MONOLITHIC_1="#"
39698 if test "x$MONOLITHIC" = "x1" ; then
39699 COND_MONOLITHIC_1=""
39700 fi
39701
39702 COND_MONOLITHIC_1_SHARED_0="#"
39703 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
39704 COND_MONOLITHIC_1_SHARED_0=""
39705 fi
39706
39707 COND_MONOLITHIC_1_SHARED_1="#"
39708 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
39709 COND_MONOLITHIC_1_SHARED_1=""
39710 fi
39711
39712 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
39713 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
39714 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
39715 fi
39716
39717 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
39718 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
39719 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
39720 fi
39721
39722 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
39723 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
39724 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
39725 fi
39726
39727 COND_PLATFORM_MACOSX_1="#"
39728 if test "x$PLATFORM_MACOSX" = "x1" ; then
39729 COND_PLATFORM_MACOSX_1=""
39730 fi
39731
39732 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
39733 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
39734 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
39735 fi
39736
39737 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
39738 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
39739 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
39740 fi
39741
39742 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
39743 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
39744 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
39745 fi
39746
39747 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
39748 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
39749 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
39750 fi
39751
39752 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
39753 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
39754 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
39755 fi
39756
39757 COND_PLATFORM_MAC_1="#"
39758 if test "x$PLATFORM_MAC" = "x1" ; then
39759 COND_PLATFORM_MAC_1=""
39760 fi
39761
39762 COND_PLATFORM_OS2_1="#"
39763 if test "x$PLATFORM_OS2" = "x1" ; then
39764 COND_PLATFORM_OS2_1=""
39765 fi
39766
39767 COND_PLATFORM_UNIX_0="#"
39768 if test "x$PLATFORM_UNIX" = "x0" ; then
39769 COND_PLATFORM_UNIX_0=""
39770 fi
39771
39772 COND_PLATFORM_UNIX_1="#"
39773 if test "x$PLATFORM_UNIX" = "x1" ; then
39774 COND_PLATFORM_UNIX_1=""
39775 fi
39776
39777 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
39778 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
39779 COND_PLATFORM_UNIX_1_USE_GUI_1=""
39780 fi
39781
39782 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
39783 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
39784 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
39785 fi
39786
39787 COND_PLATFORM_WIN32_0="#"
39788 if test "x$PLATFORM_WIN32" = "x0" ; then
39789 COND_PLATFORM_WIN32_0=""
39790 fi
39791
39792 COND_PLATFORM_WIN32_1="#"
39793 if test "x$PLATFORM_WIN32" = "x1" ; then
39794 COND_PLATFORM_WIN32_1=""
39795 fi
39796
39797 COND_SHARED_0="#"
39798 if test "x$SHARED" = "x0" ; then
39799 COND_SHARED_0=""
39800 fi
39801
39802 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
39803 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
39804 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
39805 fi
39806
39807 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
39808 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
39809 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
39810 fi
39811
39812 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
39813 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
39814 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
39815 fi
39816
39817 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
39818 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
39819 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
39820 fi
39821
39822 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
39823 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
39824 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
39825 fi
39826
39827 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
39828 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
39829 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
39830 fi
39831
39832 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
39833 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
39834 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
39835 fi
39836
39837 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
39838 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
39839 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
39840 fi
39841
39842 COND_SHARED_1="#"
39843 if test "x$SHARED" = "x1" ; then
39844 COND_SHARED_1=""
39845 fi
39846
39847 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
39848 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
39849 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
39850 fi
39851
39852 COND_TOOLKIT_COCOA="#"
39853 if test "x$TOOLKIT" = "xCOCOA" ; then
39854 COND_TOOLKIT_COCOA=""
39855 fi
39856
39857 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
39858 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39859 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
39860 fi
39861
39862 COND_TOOLKIT_GTK="#"
39863 if test "x$TOOLKIT" = "xGTK" ; then
39864 COND_TOOLKIT_GTK=""
39865 fi
39866
39867 COND_TOOLKIT_GTK_USE_GUI_1="#"
39868 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
39869 COND_TOOLKIT_GTK_USE_GUI_1=""
39870 fi
39871
39872 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
39873 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39874 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
39875 fi
39876
39877 COND_TOOLKIT_MAC="#"
39878 if test "x$TOOLKIT" = "xMAC" ; then
39879 COND_TOOLKIT_MAC=""
39880 fi
39881
39882 COND_TOOLKIT_MAC_USE_GUI_1="#"
39883 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
39884 COND_TOOLKIT_MAC_USE_GUI_1=""
39885 fi
39886
39887 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
39888 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39889 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
39890 fi
39891
39892 COND_TOOLKIT_MAC_WXUNIV_0="#"
39893 if test "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
39894 COND_TOOLKIT_MAC_WXUNIV_0=""
39895 fi
39896
39897 COND_TOOLKIT_MGL="#"
39898 if test "x$TOOLKIT" = "xMGL" ; then
39899 COND_TOOLKIT_MGL=""
39900 fi
39901
39902 COND_TOOLKIT_MGL_USE_GUI_1="#"
39903 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
39904 COND_TOOLKIT_MGL_USE_GUI_1=""
39905 fi
39906
39907 COND_TOOLKIT_MOTIF="#"
39908 if test "x$TOOLKIT" = "xMOTIF" ; then
39909 COND_TOOLKIT_MOTIF=""
39910 fi
39911
39912 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
39913 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
39914 COND_TOOLKIT_MOTIF_USE_GUI_1=""
39915 fi
39916
39917 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
39918 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39919 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
39920 fi
39921
39922 COND_TOOLKIT_MSW="#"
39923 if test "x$TOOLKIT" = "xMSW" ; then
39924 COND_TOOLKIT_MSW=""
39925 fi
39926
39927 COND_TOOLKIT_MSW_USE_GUI_1="#"
39928 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
39929 COND_TOOLKIT_MSW_USE_GUI_1=""
39930 fi
39931
39932 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
39933 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39934 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
39935 fi
39936
39937 COND_TOOLKIT_MSW_WXUNIV_0="#"
39938 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
39939 COND_TOOLKIT_MSW_WXUNIV_0=""
39940 fi
39941
39942 COND_TOOLKIT_PM="#"
39943 if test "x$TOOLKIT" = "xPM" ; then
39944 COND_TOOLKIT_PM=""
39945 fi
39946
39947 COND_TOOLKIT_PM_USE_GUI_1="#"
39948 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
39949 COND_TOOLKIT_PM_USE_GUI_1=""
39950 fi
39951
39952 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
39953 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39954 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
39955 fi
39956
39957 COND_TOOLKIT_PM_WXUNIV_0="#"
39958 if test "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
39959 COND_TOOLKIT_PM_WXUNIV_0=""
39960 fi
39961
39962 COND_TOOLKIT_WINCE="#"
39963 if test "x$TOOLKIT" = "xWINCE" ; then
39964 COND_TOOLKIT_WINCE=""
39965 fi
39966
39967 COND_TOOLKIT_WINCE_USE_GUI_1="#"
39968 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
39969 COND_TOOLKIT_WINCE_USE_GUI_1=""
39970 fi
39971
39972 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
39973 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39974 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
39975 fi
39976
39977 COND_TOOLKIT_X11="#"
39978 if test "x$TOOLKIT" = "xX11" ; then
39979 COND_TOOLKIT_X11=""
39980 fi
39981
39982 COND_TOOLKIT_X11_USE_GUI_1="#"
39983 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
39984 COND_TOOLKIT_X11_USE_GUI_1=""
39985 fi
39986
39987 COND_UNICODE_1="#"
39988 if test "x$UNICODE" = "x1" ; then
39989 COND_UNICODE_1=""
39990 fi
39991
39992 COND_USE_EXCEPTIONS_0="#"
39993 if test "x$USE_EXCEPTIONS" = "x0" ; then
39994 COND_USE_EXCEPTIONS_0=""
39995 fi
39996
39997 COND_USE_EXCEPTIONS_1="#"
39998 if test "x$USE_EXCEPTIONS" = "x1" ; then
39999 COND_USE_EXCEPTIONS_1=""
40000 fi
40001
40002 COND_USE_GUI_0="#"
40003 if test "x$USE_GUI" = "x0" ; then
40004 COND_USE_GUI_0=""
40005 fi
40006
40007 COND_USE_GUI_1="#"
40008 if test "x$USE_GUI" = "x1" ; then
40009 COND_USE_GUI_1=""
40010 fi
40011
40012 COND_USE_GUI_1_WXUNIV_0="#"
40013 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40014 COND_USE_GUI_1_WXUNIV_0=""
40015 fi
40016
40017 COND_USE_GUI_1_WXUNIV_1="#"
40018 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40019 COND_USE_GUI_1_WXUNIV_1=""
40020 fi
40021
40022 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
40023 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40024 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
40025 fi
40026
40027 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
40028 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40029 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
40030 fi
40031
40032 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
40033 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40034 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
40035 fi
40036
40037 COND_USE_ODBC_1="#"
40038 if test "x$USE_ODBC" = "x1" ; then
40039 COND_USE_ODBC_1=""
40040 fi
40041
40042 COND_USE_PLUGINS_0="#"
40043 if test "x$USE_PLUGINS" = "x0" ; then
40044 COND_USE_PLUGINS_0=""
40045 fi
40046
40047 COND_USE_SOSYMLINKS_1="#"
40048 if test "x$USE_SOSYMLINKS" = "x1" ; then
40049 COND_USE_SOSYMLINKS_1=""
40050 fi
40051
40052 COND_USE_SOVERLINUX_1="#"
40053 if test "x$USE_SOVERLINUX" = "x1" ; then
40054 COND_USE_SOVERLINUX_1=""
40055 fi
40056
40057 COND_USE_SOVERSION_0="#"
40058 if test "x$USE_SOVERSION" = "x0" ; then
40059 COND_USE_SOVERSION_0=""
40060 fi
40061
40062 COND_USE_SOVERSOLARIS_1="#"
40063 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40064 COND_USE_SOVERSOLARIS_1=""
40065 fi
40066
40067 COND_WITH_PLUGIN_SDL_1="#"
40068 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40069 COND_WITH_PLUGIN_SDL_1=""
40070 fi
40071
40072 COND_WITH_SDL_1="#"
40073 if test "x$WITH_SDL" = "x1" ; then
40074 COND_WITH_SDL_1=""
40075 fi
40076
40077 COND_WXUNIV_1="#"
40078 if test "x$WXUNIV" = "x1" ; then
40079 COND_WXUNIV_1=""
40080 fi
40081
40082 COND_WXUSE_EXPAT_BUILTIN="#"
40083 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40084 COND_WXUSE_EXPAT_BUILTIN=""
40085 fi
40086
40087 COND_WXUSE_LIBJPEG_BUILTIN="#"
40088 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40089 COND_WXUSE_LIBJPEG_BUILTIN=""
40090 fi
40091
40092 COND_WXUSE_LIBPNG_BUILTIN="#"
40093 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40094 COND_WXUSE_LIBPNG_BUILTIN=""
40095 fi
40096
40097 COND_WXUSE_LIBTIFF_BUILTIN="#"
40098 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40099 COND_WXUSE_LIBTIFF_BUILTIN=""
40100 fi
40101
40102 COND_WXUSE_ODBC_BUILTIN="#"
40103 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
40104 COND_WXUSE_ODBC_BUILTIN=""
40105 fi
40106
40107 COND_WXUSE_REGEX_BUILTIN="#"
40108 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40109 COND_WXUSE_REGEX_BUILTIN=""
40110 fi
40111
40112 COND_WXUSE_ZLIB_BUILTIN="#"
40113 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40114 COND_WXUSE_ZLIB_BUILTIN=""
40115 fi
40116
40117 COND_BUILD_DEBUG="#"
40118 if test "x$BUILD" = "xdebug" ; then
40119 COND_BUILD_DEBUG=""
40120 fi
40121
40122 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
40123 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40124 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
40125 fi
40126
40127 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
40128 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40129 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
40130 fi
40131
40132 COND_BUILD_DEBUG_UNICODE_0="#"
40133 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40134 COND_BUILD_DEBUG_UNICODE_0=""
40135 fi
40136
40137 COND_BUILD_DEBUG_UNICODE_1="#"
40138 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40139 COND_BUILD_DEBUG_UNICODE_1=""
40140 fi
40141
40142 COND_BUILD_RELEASE="#"
40143 if test "x$BUILD" = "xrelease" ; then
40144 COND_BUILD_RELEASE=""
40145 fi
40146
40147 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
40148 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40149 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
40150 fi
40151
40152 COND_BUILD_RELEASE_UNICODE_0="#"
40153 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40154 COND_BUILD_RELEASE_UNICODE_0=""
40155 fi
40156
40157 COND_BUILD_RELEASE_UNICODE_1="#"
40158 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40159 COND_BUILD_RELEASE_UNICODE_1=""
40160 fi
40161
40162 COND_DEBUG_FLAG_1="#"
40163 if test "x$DEBUG_FLAG" = "x1" ; then
40164 COND_DEBUG_FLAG_1=""
40165 fi
40166
40167 COND_DEBUG_INFO_0="#"
40168 if test "x$DEBUG_INFO" = "x0" ; then
40169 COND_DEBUG_INFO_0=""
40170 fi
40171
40172 COND_DEBUG_INFO_1="#"
40173 if test "x$DEBUG_INFO" = "x1" ; then
40174 COND_DEBUG_INFO_1=""
40175 fi
40176
40177 COND_DEPS_TRACKING_0="#"
40178 if test "x$DEPS_TRACKING" = "x0" ; then
40179 COND_DEPS_TRACKING_0=""
40180 fi
40181
40182 COND_DEPS_TRACKING_1="#"
40183 if test "x$DEPS_TRACKING" = "x1" ; then
40184 COND_DEPS_TRACKING_1=""
40185 fi
40186
40187 COND_GCC_PCH_1="#"
40188 if test "x$GCC_PCH" = "x1" ; then
40189 COND_GCC_PCH_1=""
40190 fi
40191
40192 COND_MONOLITHIC_0="#"
40193 if test "x$MONOLITHIC" = "x0" ; then
40194 COND_MONOLITHIC_0=""
40195 fi
40196
40197 COND_MONOLITHIC_0_SHARED_0="#"
40198 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40199 COND_MONOLITHIC_0_SHARED_0=""
40200 fi
40201
40202 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
40203 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40204 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
40205 fi
40206
40207 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
40208 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40209 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
40210 fi
40211
40212 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
40213 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
40214 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
40215 fi
40216
40217 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
40218 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
40219 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
40220 fi
40221
40222 COND_MONOLITHIC_0_SHARED_1="#"
40223 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40224 COND_MONOLITHIC_0_SHARED_1=""
40225 fi
40226
40227 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
40228 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40229 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
40230 fi
40231
40232 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
40233 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40234 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
40235 fi
40236
40237 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
40238 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
40239 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
40240 fi
40241
40242 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
40243 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
40244 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
40245 fi
40246
40247 COND_MONOLITHIC_0_USE_ODBC_1="#"
40248 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
40249 COND_MONOLITHIC_0_USE_ODBC_1=""
40250 fi
40251
40252 COND_MONOLITHIC_1="#"
40253 if test "x$MONOLITHIC" = "x1" ; then
40254 COND_MONOLITHIC_1=""
40255 fi
40256
40257 COND_MONOLITHIC_1_SHARED_0="#"
40258 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40259 COND_MONOLITHIC_1_SHARED_0=""
40260 fi
40261
40262 COND_MONOLITHIC_1_SHARED_1="#"
40263 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40264 COND_MONOLITHIC_1_SHARED_1=""
40265 fi
40266
40267 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
40268 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40269 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
40270 fi
40271
40272 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
40273 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40274 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
40275 fi
40276
40277 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
40278 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40279 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
40280 fi
40281
40282 COND_PLATFORM_MACOSX_1="#"
40283 if test "x$PLATFORM_MACOSX" = "x1" ; then
40284 COND_PLATFORM_MACOSX_1=""
40285 fi
40286
40287 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
40288 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
40289 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
40290 fi
40291
40292 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
40293 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
40294 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
40295 fi
40296
40297 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
40298 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
40299 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
40300 fi
40301
40302 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
40303 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40304 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
40305 fi
40306
40307 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
40308 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40309 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
40310 fi
40311
40312 COND_PLATFORM_MAC_1="#"
40313 if test "x$PLATFORM_MAC" = "x1" ; then
40314 COND_PLATFORM_MAC_1=""
40315 fi
40316
40317 COND_PLATFORM_OS2_1="#"
40318 if test "x$PLATFORM_OS2" = "x1" ; then
40319 COND_PLATFORM_OS2_1=""
40320 fi
40321
40322 COND_PLATFORM_UNIX_0="#"
40323 if test "x$PLATFORM_UNIX" = "x0" ; then
40324 COND_PLATFORM_UNIX_0=""
40325 fi
40326
40327 COND_PLATFORM_UNIX_1="#"
40328 if test "x$PLATFORM_UNIX" = "x1" ; then
40329 COND_PLATFORM_UNIX_1=""
40330 fi
40331
40332 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
40333 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40334 COND_PLATFORM_UNIX_1_USE_GUI_1=""
40335 fi
40336
40337 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
40338 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40339 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
40340 fi
40341
40342 COND_PLATFORM_WIN32_0="#"
40343 if test "x$PLATFORM_WIN32" = "x0" ; then
40344 COND_PLATFORM_WIN32_0=""
40345 fi
40346
40347 COND_PLATFORM_WIN32_1="#"
40348 if test "x$PLATFORM_WIN32" = "x1" ; then
40349 COND_PLATFORM_WIN32_1=""
40350 fi
40351
40352 COND_SHARED_0="#"
40353 if test "x$SHARED" = "x0" ; then
40354 COND_SHARED_0=""
40355 fi
40356
40357 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
40358 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40359 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
40360 fi
40361
40362 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
40363 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40364 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
40365 fi
40366
40367 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
40368 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40369 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
40370 fi
40371
40372 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
40373 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40374 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
40375 fi
40376
40377 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
40378 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40379 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
40380 fi
40381
40382 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
40383 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
40384 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
40385 fi
40386
40387 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
40388 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40389 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
40390 fi
40391
40392 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
40393 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40394 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
40395 fi
40396
40397 COND_SHARED_1="#"
40398 if test "x$SHARED" = "x1" ; then
40399 COND_SHARED_1=""
40400 fi
40401
40402 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
40403 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40404 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
40405 fi
40406
40407 COND_TOOLKIT_COCOA="#"
40408 if test "x$TOOLKIT" = "xCOCOA" ; then
40409 COND_TOOLKIT_COCOA=""
40410 fi
40411
40412 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
40413 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40414 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
40415 fi
40416
40417 COND_TOOLKIT_GTK="#"
40418 if test "x$TOOLKIT" = "xGTK" ; then
40419 COND_TOOLKIT_GTK=""
40420 fi
40421
40422 COND_TOOLKIT_GTK_USE_GUI_1="#"
40423 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40424 COND_TOOLKIT_GTK_USE_GUI_1=""
40425 fi
40426
40427 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
40428 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40429 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
40430 fi
40431
40432 COND_TOOLKIT_MAC="#"
40433 if test "x$TOOLKIT" = "xMAC" ; then
40434 COND_TOOLKIT_MAC=""
40435 fi
40436
40437 COND_TOOLKIT_MAC_USE_GUI_1="#"
40438 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40439 COND_TOOLKIT_MAC_USE_GUI_1=""
40440 fi
40441
40442 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
40443 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40444 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
40445 fi
40446
40447 COND_TOOLKIT_MGL="#"
40448 if test "x$TOOLKIT" = "xMGL" ; then
40449 COND_TOOLKIT_MGL=""
40450 fi
40451
40452 COND_TOOLKIT_MGL_USE_GUI_1="#"
40453 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
40454 COND_TOOLKIT_MGL_USE_GUI_1=""
40455 fi
40456
40457 COND_TOOLKIT_MOTIF="#"
40458 if test "x$TOOLKIT" = "xMOTIF" ; then
40459 COND_TOOLKIT_MOTIF=""
40460 fi
40461
40462 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
40463 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40464 COND_TOOLKIT_MOTIF_USE_GUI_1=""
40465 fi
40466
40467 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
40468 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40469 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
40470 fi
40471
40472 COND_TOOLKIT_MSW="#"
40473 if test "x$TOOLKIT" = "xMSW" ; then
40474 COND_TOOLKIT_MSW=""
40475 fi
40476
40477 COND_TOOLKIT_MSW_USE_GUI_1="#"
40478 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40479 COND_TOOLKIT_MSW_USE_GUI_1=""
40480 fi
40481
40482 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
40483 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40484 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
40485 fi
40486
40487 COND_TOOLKIT_PM="#"
40488 if test "x$TOOLKIT" = "xPM" ; then
40489 COND_TOOLKIT_PM=""
40490 fi
40491
40492 COND_TOOLKIT_PM_USE_GUI_1="#"
40493 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40494 COND_TOOLKIT_PM_USE_GUI_1=""
40495 fi
40496
40497 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
40498 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40499 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
40500 fi
40501
40502 COND_TOOLKIT_WINCE="#"
40503 if test "x$TOOLKIT" = "xWINCE" ; then
40504 COND_TOOLKIT_WINCE=""
40505 fi
40506
40507 COND_TOOLKIT_WINCE_USE_GUI_1="#"
40508 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40509 COND_TOOLKIT_WINCE_USE_GUI_1=""
40510 fi
40511
40512 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
40513 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40514 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
40515 fi
40516
40517 COND_TOOLKIT_X11="#"
40518 if test "x$TOOLKIT" = "xX11" ; then
40519 COND_TOOLKIT_X11=""
40520 fi
40521
40522 COND_TOOLKIT_X11_USE_GUI_1="#"
40523 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40524 COND_TOOLKIT_X11_USE_GUI_1=""
40525 fi
40526
40527 COND_UNICODE_1="#"
40528 if test "x$UNICODE" = "x1" ; then
40529 COND_UNICODE_1=""
40530 fi
40531
40532 COND_USE_EXCEPTIONS_0="#"
40533 if test "x$USE_EXCEPTIONS" = "x0" ; then
40534 COND_USE_EXCEPTIONS_0=""
40535 fi
40536
40537 COND_USE_EXCEPTIONS_1="#"
40538 if test "x$USE_EXCEPTIONS" = "x1" ; then
40539 COND_USE_EXCEPTIONS_1=""
40540 fi
40541
40542 COND_USE_GUI_0="#"
40543 if test "x$USE_GUI" = "x0" ; then
40544 COND_USE_GUI_0=""
40545 fi
40546
40547 COND_USE_GUI_1="#"
40548 if test "x$USE_GUI" = "x1" ; then
40549 COND_USE_GUI_1=""
40550 fi
40551
40552 COND_USE_GUI_1_WXUNIV_0="#"
40553 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40554 COND_USE_GUI_1_WXUNIV_0=""
40555 fi
40556
40557 COND_USE_GUI_1_WXUNIV_1="#"
40558 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40559 COND_USE_GUI_1_WXUNIV_1=""
40560 fi
40561
40562 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
40563 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40564 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
40565 fi
40566
40567 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
40568 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40569 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
40570 fi
40571
40572 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
40573 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40574 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
40575 fi
40576
40577 COND_USE_ODBC_1="#"
40578 if test "x$USE_ODBC" = "x1" ; then
40579 COND_USE_ODBC_1=""
40580 fi
40581
40582 COND_USE_PLUGINS_0="#"
40583 if test "x$USE_PLUGINS" = "x0" ; then
40584 COND_USE_PLUGINS_0=""
40585 fi
40586
40587 COND_USE_SOSYMLINKS_1="#"
40588 if test "x$USE_SOSYMLINKS" = "x1" ; then
40589 COND_USE_SOSYMLINKS_1=""
40590 fi
40591
40592 COND_USE_SOVERLINUX_1="#"
40593 if test "x$USE_SOVERLINUX" = "x1" ; then
40594 COND_USE_SOVERLINUX_1=""
40595 fi
40596
40597 COND_USE_SOVERSION_0="#"
40598 if test "x$USE_SOVERSION" = "x0" ; then
40599 COND_USE_SOVERSION_0=""
40600 fi
40601
40602 COND_USE_SOVERSOLARIS_1="#"
40603 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40604 COND_USE_SOVERSOLARIS_1=""
40605 fi
40606
40607 COND_WITH_PLUGIN_SDL_1="#"
40608 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40609 COND_WITH_PLUGIN_SDL_1=""
40610 fi
40611
40612 COND_WXUNIV_1="#"
40613 if test "x$WXUNIV" = "x1" ; then
40614 COND_WXUNIV_1=""
40615 fi
40616
40617 COND_WXUSE_EXPAT_BUILTIN="#"
40618 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40619 COND_WXUSE_EXPAT_BUILTIN=""
40620 fi
40621
40622 COND_WXUSE_LIBJPEG_BUILTIN="#"
40623 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40624 COND_WXUSE_LIBJPEG_BUILTIN=""
40625 fi
40626
40627 COND_WXUSE_LIBPNG_BUILTIN="#"
40628 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40629 COND_WXUSE_LIBPNG_BUILTIN=""
40630 fi
40631
40632 COND_WXUSE_LIBTIFF_BUILTIN="#"
40633 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40634 COND_WXUSE_LIBTIFF_BUILTIN=""
40635 fi
40636
40637 COND_WXUSE_ODBC_BUILTIN="#"
40638 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
40639 COND_WXUSE_ODBC_BUILTIN=""
40640 fi
40641
40642 COND_WXUSE_REGEX_BUILTIN="#"
40643 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40644 COND_WXUSE_REGEX_BUILTIN=""
40645 fi
40646
40647 COND_WXUSE_ZLIB_BUILTIN="#"
40648 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40649 COND_WXUSE_ZLIB_BUILTIN=""
40650 fi
40651
40652
40653
40654
40655
40656 GCC_PRAGMA_FLAGS=""
40657 if test $GCC_PCH = 1 ; then
40658 GCC_PRAGMA_FLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA"
40659 else
40660 case "${host}" in
40661 powerpc-*-darwin* )
40662 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
40663 ;;
40664 *-*-mingw32* )
40665 if test "$wxUSE_STL" = "yes" -o \
40666 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
40667 "$wxUSE_NO_RTTI" != "yes"; then
40668 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
40669 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
40670 cat >conftest.$ac_ext <<_ACEOF
40671 /* confdefs.h. */
40672 _ACEOF
40673 cat confdefs.h >>conftest.$ac_ext
40674 cat >>conftest.$ac_ext <<_ACEOF
40675 /* end confdefs.h. */
40676
40677 int
40678 main ()
40679 {
40680 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
40681 #error "Not GCC 3.2 or greater"
40682 #endif
40683
40684 ;
40685 return 0;
40686 }
40687 _ACEOF
40688 rm -f conftest.$ac_objext
40689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40690 (eval $ac_compile) 2>conftest.er1
40691 ac_status=$?
40692 grep -v '^ *+' conftest.er1 >conftest.err
40693 rm -f conftest.er1
40694 cat conftest.err >&5
40695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40696 (exit $ac_status); } &&
40697 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40699 (eval $ac_try) 2>&5
40700 ac_status=$?
40701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40702 (exit $ac_status); }; } &&
40703 { ac_try='test -s conftest.$ac_objext'
40704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40705 (eval $ac_try) 2>&5
40706 ac_status=$?
40707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40708 (exit $ac_status); }; }; then
40709 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
40710 echo "$as_me:$LINENO: result: yes" >&5
40711 echo "${ECHO_T}yes" >&6
40712 else
40713 echo "$as_me: failed program was:" >&5
40714 sed 's/^/| /' conftest.$ac_ext >&5
40715
40716 echo "$as_me:$LINENO: result: no" >&5
40717 echo "${ECHO_T}no" >&6
40718 fi
40719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40720 fi
40721 ;;
40722 esac
40723 fi
40724 CPPFLAGS="$GCC_PRAGMA_FLAGS $CPPFLAGS"
40725
40726
40727 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
40728
40729
40730
40731
40732
40733
40734
40735
40736
40737
40738
40739
40740
40741
40742
40743
40744
40745
40746
40747
40748
40749
40750
40751
40752
40753
40754
40755
40756
40757
40758
40759
40760
40761
40762
40763
40764
40765
40766
40767
40768
40769
40770
40771
40772
40773
40774
40775
40776
40777
40778
40779
40780
40781
40782
40783
40784
40785
40786
40787
40788
40789
40790
40791
40792
40793
40794
40795
40796
40797
40798
40799
40800
40801
40802
40803
40804
40805
40806
40807
40808
40809
40810
40811
40812
40813
40814
40815
40816
40817
40818
40819
40820
40821
40822
40823
40824
40825
40826
40827
40828
40829
40830 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
40831 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
40832 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
40833 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
40834 echo $ECHO_N "(cached) $ECHO_C" >&6
40835 else
40836 cat >conftest.make <<\_ACEOF
40837 all:
40838 @echo 'ac_maketemp="$(MAKE)"'
40839 _ACEOF
40840 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
40841 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
40842 if test -n "$ac_maketemp"; then
40843 eval ac_cv_prog_make_${ac_make}_set=yes
40844 else
40845 eval ac_cv_prog_make_${ac_make}_set=no
40846 fi
40847 rm -f conftest.make
40848 fi
40849 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
40850 echo "$as_me:$LINENO: result: yes" >&5
40851 echo "${ECHO_T}yes" >&6
40852 SET_MAKE=
40853 else
40854 echo "$as_me:$LINENO: result: no" >&5
40855 echo "${ECHO_T}no" >&6
40856 SET_MAKE="MAKE=${MAKE-make}"
40857 fi
40858
40859
40860 if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
40861 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
40862 fi
40863
40864 ac_config_headers="$ac_config_headers setup.h"
40865
40866
40867 ac_config_files="$ac_config_files wx-config wx-config-wrapper version-script Makefile"
40868
40869
40870 ac_config_commands="$ac_config_commands default"
40871
40872
40873
40874 if test "$wxUSE_GUI" = "yes"; then
40875 SUBDIRS="samples demos utils contrib"
40876 else SUBDIRS="samples utils"
40877 fi
40878
40879
40880
40881 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
40882 if test "${with_cppunit_prefix+set}" = set; then
40883 withval="$with_cppunit_prefix"
40884 cppunit_config_prefix="$withval"
40885 else
40886 cppunit_config_prefix=""
40887 fi;
40888
40889 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
40890 if test "${with_cppunit_exec_prefix+set}" = set; then
40891 withval="$with_cppunit_exec_prefix"
40892 cppunit_config_exec_prefix="$withval"
40893 else
40894 cppunit_config_exec_prefix=""
40895 fi;
40896
40897 if test x$cppunit_config_exec_prefix != x ; then
40898 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
40899 if test x${CPPUNIT_CONFIG+set} != xset ; then
40900 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
40901 fi
40902 fi
40903 if test x$cppunit_config_prefix != x ; then
40904 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
40905 if test x${CPPUNIT_CONFIG+set} != xset ; then
40906 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
40907 fi
40908 fi
40909
40910 # Extract the first word of "cppunit-config", so it can be a program name with args.
40911 set dummy cppunit-config; ac_word=$2
40912 echo "$as_me:$LINENO: checking for $ac_word" >&5
40913 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40914 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
40915 echo $ECHO_N "(cached) $ECHO_C" >&6
40916 else
40917 case $CPPUNIT_CONFIG in
40918 [\\/]* | ?:[\\/]*)
40919 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
40920 ;;
40921 *)
40922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40923 for as_dir in $PATH
40924 do
40925 IFS=$as_save_IFS
40926 test -z "$as_dir" && as_dir=.
40927 for ac_exec_ext in '' $ac_executable_extensions; do
40928 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40929 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
40930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40931 break 2
40932 fi
40933 done
40934 done
40935
40936 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
40937 ;;
40938 esac
40939 fi
40940 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
40941
40942 if test -n "$CPPUNIT_CONFIG"; then
40943 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
40944 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
40945 else
40946 echo "$as_me:$LINENO: result: no" >&5
40947 echo "${ECHO_T}no" >&6
40948 fi
40949
40950 cppunit_version_min=1.8.0
40951
40952 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
40953 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
40954 no_cppunit=""
40955 if test "$CPPUNIT_CONFIG" = "no" ; then
40956 no_cppunit=yes
40957 echo "$as_me:$LINENO: result: no" >&5
40958 echo "${ECHO_T}no" >&6
40959 else
40960 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
40961 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
40962 cppunit_version=`$CPPUNIT_CONFIG --version`
40963
40964 cppunit_major_version=`echo $cppunit_version | \
40965 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40966 cppunit_minor_version=`echo $cppunit_version | \
40967 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40968 cppunit_micro_version=`echo $cppunit_version | \
40969 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40970
40971 cppunit_major_min=`echo $cppunit_version_min | \
40972 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40973 cppunit_minor_min=`echo $cppunit_version_min | \
40974 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40975 cppunit_micro_min=`echo $cppunit_version_min | \
40976 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40977
40978 cppunit_version_proper=`expr \
40979 $cppunit_major_version \> $cppunit_major_min \| \
40980 $cppunit_major_version \= $cppunit_major_min \& \
40981 $cppunit_minor_version \> $cppunit_minor_min \| \
40982 $cppunit_major_version \= $cppunit_major_min \& \
40983 $cppunit_minor_version \= $cppunit_minor_min \& \
40984 $cppunit_micro_version \>= $cppunit_micro_min `
40985
40986 if test "$cppunit_version_proper" = "1" ; then
40987 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
40988 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
40989 else
40990 echo "$as_me:$LINENO: result: no" >&5
40991 echo "${ECHO_T}no" >&6
40992 no_cppunit=yes
40993 fi
40994 fi
40995
40996 if test "x$no_cppunit" = x ; then
40997 SUBDIRS="$SUBDIRS tests"
40998 else
40999 CPPUNIT_CFLAGS=""
41000 CPPUNIT_LIBS=""
41001 :
41002 fi
41003
41004
41005
41006
41007
41008 for subdir in `echo $SUBDIRS`; do
41009 if test -d ${srcdir}/${subdir} ; then
41010 if test "$wxUSE_GUI" = "yes"; then
41011 if test ${subdir} = "samples"; then
41012 makefiles="samples/Makefile.in $makefiles"
41013 for sample in `echo $SAMPLES_SUBDIRS`; do
41014 if test -d $srcdir/samples/$sample; then
41015 makefiles="samples/$sample/Makefile.in $makefiles"
41016 fi
41017 done
41018 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
41019 fi
41020 else if test ${subdir} = "samples"; then
41021 makefiles="samples/Makefile.in samples/console/Makefile.in"
41022 elif test ${subdir} = "utils"; then
41023 makefiles="utils/HelpGen/Makefile.in \
41024 utils/HelpGen/src/Makefile.in \
41025 utils/tex2rtf/Makefile.in \
41026 utils/tex2rtf/src/Makefile.in"
41027 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
41028 fi
41029 fi
41030
41031 for mkin in $makefiles ; do
41032 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41033 ac_config_files="$ac_config_files $mk"
41034
41035 done
41036 fi
41037 done
41038
41039
41040 cat >confcache <<\_ACEOF
41041 # This file is a shell script that caches the results of configure
41042 # tests run on this system so they can be shared between configure
41043 # scripts and configure runs, see configure's option --config-cache.
41044 # It is not useful on other systems. If it contains results you don't
41045 # want to keep, you may remove or edit it.
41046 #
41047 # config.status only pays attention to the cache file if you give it
41048 # the --recheck option to rerun configure.
41049 #
41050 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41051 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41052 # following values.
41053
41054 _ACEOF
41055
41056 # The following way of writing the cache mishandles newlines in values,
41057 # but we know of no workaround that is simple, portable, and efficient.
41058 # So, don't put newlines in cache variables' values.
41059 # Ultrix sh set writes to stderr and can't be redirected directly,
41060 # and sets the high bit in the cache file unless we assign to the vars.
41061 {
41062 (set) 2>&1 |
41063 case `(ac_space=' '; set | grep ac_space) 2>&1` in
41064 *ac_space=\ *)
41065 # `set' does not quote correctly, so add quotes (double-quote
41066 # substitution turns \\\\ into \\, and sed turns \\ into \).
41067 sed -n \
41068 "s/'/'\\\\''/g;
41069 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41070 ;;
41071 *)
41072 # `set' quotes correctly as required by POSIX, so do not add quotes.
41073 sed -n \
41074 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
41075 ;;
41076 esac;
41077 } |
41078 sed '
41079 t clear
41080 : clear
41081 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41082 t end
41083 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41084 : end' >>confcache
41085 if diff $cache_file confcache >/dev/null 2>&1; then :; else
41086 if test -w $cache_file; then
41087 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
41088 cat confcache >$cache_file
41089 else
41090 echo "not updating unwritable cache $cache_file"
41091 fi
41092 fi
41093 rm -f confcache
41094
41095 test "x$prefix" = xNONE && prefix=$ac_default_prefix
41096 # Let make expand exec_prefix.
41097 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
41098
41099 # VPATH may cause trouble with some makes, so we remove $(srcdir),
41100 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
41101 # trailing colons and then remove the whole line if VPATH becomes empty
41102 # (actually we leave an empty line to preserve line numbers).
41103 if test "x$srcdir" = x.; then
41104 ac_vpsub='/^[ ]*VPATH[ ]*=/{
41105 s/:*\$(srcdir):*/:/;
41106 s/:*\${srcdir}:*/:/;
41107 s/:*@srcdir@:*/:/;
41108 s/^\([^=]*=[ ]*\):*/\1/;
41109 s/:*$//;
41110 s/^[^=]*=[ ]*$//;
41111 }'
41112 fi
41113
41114 DEFS=-DHAVE_CONFIG_H
41115
41116 ac_libobjs=
41117 ac_ltlibobjs=
41118 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
41119 # 1. Remove the extension, and $U if already installed.
41120 ac_i=`echo "$ac_i" |
41121 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
41122 # 2. Add them.
41123 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
41124 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
41125 done
41126 LIBOBJS=$ac_libobjs
41127
41128 LTLIBOBJS=$ac_ltlibobjs
41129
41130
41131
41132 : ${CONFIG_STATUS=./config.status}
41133 ac_clean_files_save=$ac_clean_files
41134 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
41135 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
41136 echo "$as_me: creating $CONFIG_STATUS" >&6;}
41137 cat >$CONFIG_STATUS <<_ACEOF
41138 #! $SHELL
41139 # Generated by $as_me.
41140 # Run this file to recreate the current configuration.
41141 # Compiler output produced by configure, useful for debugging
41142 # configure, is in config.log if it exists.
41143
41144 debug=false
41145 ac_cs_recheck=false
41146 ac_cs_silent=false
41147 SHELL=\${CONFIG_SHELL-$SHELL}
41148 _ACEOF
41149
41150 cat >>$CONFIG_STATUS <<\_ACEOF
41151 ## --------------------- ##
41152 ## M4sh Initialization. ##
41153 ## --------------------- ##
41154
41155 # Be Bourne compatible
41156 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
41157 emulate sh
41158 NULLCMD=:
41159 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
41160 # is contrary to our usage. Disable this feature.
41161 alias -g '${1+"$@"}'='"$@"'
41162 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
41163 set -o posix
41164 fi
41165 DUALCASE=1; export DUALCASE # for MKS sh
41166
41167 # Support unset when possible.
41168 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
41169 as_unset=unset
41170 else
41171 as_unset=false
41172 fi
41173
41174
41175 # Work around bugs in pre-3.0 UWIN ksh.
41176 $as_unset ENV MAIL MAILPATH
41177 PS1='$ '
41178 PS2='> '
41179 PS4='+ '
41180
41181 # NLS nuisances.
41182 for as_var in \
41183 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41184 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
41185 LC_TELEPHONE LC_TIME
41186 do
41187 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
41188 eval $as_var=C; export $as_var
41189 else
41190 $as_unset $as_var
41191 fi
41192 done
41193
41194 # Required to use basename.
41195 if expr a : '\(a\)' >/dev/null 2>&1; then
41196 as_expr=expr
41197 else
41198 as_expr=false
41199 fi
41200
41201 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
41202 as_basename=basename
41203 else
41204 as_basename=false
41205 fi
41206
41207
41208 # Name of the executable.
41209 as_me=`$as_basename "$0" ||
41210 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41211 X"$0" : 'X\(//\)$' \| \
41212 X"$0" : 'X\(/\)$' \| \
41213 . : '\(.\)' 2>/dev/null ||
41214 echo X/"$0" |
41215 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
41216 /^X\/\(\/\/\)$/{ s//\1/; q; }
41217 /^X\/\(\/\).*/{ s//\1/; q; }
41218 s/.*/./; q'`
41219
41220
41221 # PATH needs CR, and LINENO needs CR and PATH.
41222 # Avoid depending upon Character Ranges.
41223 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
41224 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41225 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
41226 as_cr_digits='0123456789'
41227 as_cr_alnum=$as_cr_Letters$as_cr_digits
41228
41229 # The user is always right.
41230 if test "${PATH_SEPARATOR+set}" != set; then
41231 echo "#! /bin/sh" >conf$$.sh
41232 echo "exit 0" >>conf$$.sh
41233 chmod +x conf$$.sh
41234 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
41235 PATH_SEPARATOR=';'
41236 else
41237 PATH_SEPARATOR=:
41238 fi
41239 rm -f conf$$.sh
41240 fi
41241
41242
41243 as_lineno_1=$LINENO
41244 as_lineno_2=$LINENO
41245 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
41246 test "x$as_lineno_1" != "x$as_lineno_2" &&
41247 test "x$as_lineno_3" = "x$as_lineno_2" || {
41248 # Find who we are. Look in the path if we contain no path at all
41249 # relative or not.
41250 case $0 in
41251 *[\\/]* ) as_myself=$0 ;;
41252 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41253 for as_dir in $PATH
41254 do
41255 IFS=$as_save_IFS
41256 test -z "$as_dir" && as_dir=.
41257 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
41258 done
41259
41260 ;;
41261 esac
41262 # We did not find ourselves, most probably we were run as `sh COMMAND'
41263 # in which case we are not to be found in the path.
41264 if test "x$as_myself" = x; then
41265 as_myself=$0
41266 fi
41267 if test ! -f "$as_myself"; then
41268 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
41269 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
41270 { (exit 1); exit 1; }; }
41271 fi
41272 case $CONFIG_SHELL in
41273 '')
41274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41275 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
41276 do
41277 IFS=$as_save_IFS
41278 test -z "$as_dir" && as_dir=.
41279 for as_base in sh bash ksh sh5; do
41280 case $as_dir in
41281 /*)
41282 if ("$as_dir/$as_base" -c '
41283 as_lineno_1=$LINENO
41284 as_lineno_2=$LINENO
41285 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
41286 test "x$as_lineno_1" != "x$as_lineno_2" &&
41287 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
41288 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
41289 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
41290 CONFIG_SHELL=$as_dir/$as_base
41291 export CONFIG_SHELL
41292 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
41293 fi;;
41294 esac
41295 done
41296 done
41297 ;;
41298 esac
41299
41300 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
41301 # uniformly replaced by the line number. The first 'sed' inserts a
41302 # line-number line before each line; the second 'sed' does the real
41303 # work. The second script uses 'N' to pair each line-number line
41304 # with the numbered line, and appends trailing '-' during
41305 # substitution so that $LINENO is not a special case at line end.
41306 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
41307 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
41308 sed '=' <$as_myself |
41309 sed '
41310 N
41311 s,$,-,
41312 : loop
41313 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
41314 t loop
41315 s,-$,,
41316 s,^['$as_cr_digits']*\n,,
41317 ' >$as_me.lineno &&
41318 chmod +x $as_me.lineno ||
41319 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
41320 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
41321 { (exit 1); exit 1; }; }
41322
41323 # Don't try to exec as it changes $[0], causing all sort of problems
41324 # (the dirname of $[0] is not the place where we might find the
41325 # original and so on. Autoconf is especially sensible to this).
41326 . ./$as_me.lineno
41327 # Exit status is that of the last command.
41328 exit
41329 }
41330
41331
41332 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
41333 *c*,-n*) ECHO_N= ECHO_C='
41334 ' ECHO_T=' ' ;;
41335 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
41336 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
41337 esac
41338
41339 if expr a : '\(a\)' >/dev/null 2>&1; then
41340 as_expr=expr
41341 else
41342 as_expr=false
41343 fi
41344
41345 rm -f conf$$ conf$$.exe conf$$.file
41346 echo >conf$$.file
41347 if ln -s conf$$.file conf$$ 2>/dev/null; then
41348 # We could just check for DJGPP; but this test a) works b) is more generic
41349 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
41350 if test -f conf$$.exe; then
41351 # Don't use ln at all; we don't have any links
41352 as_ln_s='cp -p'
41353 else
41354 as_ln_s='ln -s'
41355 fi
41356 elif ln conf$$.file conf$$ 2>/dev/null; then
41357 as_ln_s=ln
41358 else
41359 as_ln_s='cp -p'
41360 fi
41361 rm -f conf$$ conf$$.exe conf$$.file
41362
41363 if mkdir -p . 2>/dev/null; then
41364 as_mkdir_p=:
41365 else
41366 test -d ./-p && rmdir ./-p
41367 as_mkdir_p=false
41368 fi
41369
41370 as_executable_p="test -f"
41371
41372 # Sed expression to map a string onto a valid CPP name.
41373 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
41374
41375 # Sed expression to map a string onto a valid variable name.
41376 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
41377
41378
41379 # IFS
41380 # We need space, tab and new line, in precisely that order.
41381 as_nl='
41382 '
41383 IFS=" $as_nl"
41384
41385 # CDPATH.
41386 $as_unset CDPATH
41387
41388 exec 6>&1
41389
41390 # Open the log real soon, to keep \$[0] and so on meaningful, and to
41391 # report actual input values of CONFIG_FILES etc. instead of their
41392 # values after options handling. Logging --version etc. is OK.
41393 exec 5>>config.log
41394 {
41395 echo
41396 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
41397 ## Running $as_me. ##
41398 _ASBOX
41399 } >&5
41400 cat >&5 <<_CSEOF
41401
41402 This file was extended by wxWidgets $as_me 2.5.2, which was
41403 generated by GNU Autoconf 2.59. Invocation command line was
41404
41405 CONFIG_FILES = $CONFIG_FILES
41406 CONFIG_HEADERS = $CONFIG_HEADERS
41407 CONFIG_LINKS = $CONFIG_LINKS
41408 CONFIG_COMMANDS = $CONFIG_COMMANDS
41409 $ $0 $@
41410
41411 _CSEOF
41412 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
41413 echo >&5
41414 _ACEOF
41415
41416 # Files that config.status was made for.
41417 if test -n "$ac_config_files"; then
41418 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
41419 fi
41420
41421 if test -n "$ac_config_headers"; then
41422 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
41423 fi
41424
41425 if test -n "$ac_config_links"; then
41426 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
41427 fi
41428
41429 if test -n "$ac_config_commands"; then
41430 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
41431 fi
41432
41433 cat >>$CONFIG_STATUS <<\_ACEOF
41434
41435 ac_cs_usage="\
41436 \`$as_me' instantiates files from templates according to the
41437 current configuration.
41438
41439 Usage: $0 [OPTIONS] [FILE]...
41440
41441 -h, --help print this help, then exit
41442 -V, --version print version number, then exit
41443 -q, --quiet do not print progress messages
41444 -d, --debug don't remove temporary files
41445 --recheck update $as_me by reconfiguring in the same conditions
41446 --file=FILE[:TEMPLATE]
41447 instantiate the configuration file FILE
41448 --header=FILE[:TEMPLATE]
41449 instantiate the configuration header FILE
41450
41451 Configuration files:
41452 $config_files
41453
41454 Configuration headers:
41455 $config_headers
41456
41457 Configuration commands:
41458 $config_commands
41459
41460 Report bugs to <bug-autoconf@gnu.org>."
41461 _ACEOF
41462
41463 cat >>$CONFIG_STATUS <<_ACEOF
41464 ac_cs_version="\\
41465 wxWidgets config.status 2.5.2
41466 configured by $0, generated by GNU Autoconf 2.59,
41467 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
41468
41469 Copyright (C) 2003 Free Software Foundation, Inc.
41470 This config.status script is free software; the Free Software Foundation
41471 gives unlimited permission to copy, distribute and modify it."
41472 srcdir=$srcdir
41473 INSTALL="$INSTALL"
41474 _ACEOF
41475
41476 cat >>$CONFIG_STATUS <<\_ACEOF
41477 # If no file are specified by the user, then we need to provide default
41478 # value. By we need to know if files were specified by the user.
41479 ac_need_defaults=:
41480 while test $# != 0
41481 do
41482 case $1 in
41483 --*=*)
41484 ac_option=`expr "x$1" : 'x\([^=]*\)='`
41485 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
41486 ac_shift=:
41487 ;;
41488 -*)
41489 ac_option=$1
41490 ac_optarg=$2
41491 ac_shift=shift
41492 ;;
41493 *) # This is not an option, so the user has probably given explicit
41494 # arguments.
41495 ac_option=$1
41496 ac_need_defaults=false;;
41497 esac
41498
41499 case $ac_option in
41500 # Handling of the options.
41501 _ACEOF
41502 cat >>$CONFIG_STATUS <<\_ACEOF
41503 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
41504 ac_cs_recheck=: ;;
41505 --version | --vers* | -V )
41506 echo "$ac_cs_version"; exit 0 ;;
41507 --he | --h)
41508 # Conflict between --help and --header
41509 { { echo "$as_me:$LINENO: error: ambiguous option: $1
41510 Try \`$0 --help' for more information." >&5
41511 echo "$as_me: error: ambiguous option: $1
41512 Try \`$0 --help' for more information." >&2;}
41513 { (exit 1); exit 1; }; };;
41514 --help | --hel | -h )
41515 echo "$ac_cs_usage"; exit 0 ;;
41516 --debug | --d* | -d )
41517 debug=: ;;
41518 --file | --fil | --fi | --f )
41519 $ac_shift
41520 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
41521 ac_need_defaults=false;;
41522 --header | --heade | --head | --hea )
41523 $ac_shift
41524 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
41525 ac_need_defaults=false;;
41526 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
41527 | -silent | --silent | --silen | --sile | --sil | --si | --s)
41528 ac_cs_silent=: ;;
41529
41530 # This is an error.
41531 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
41532 Try \`$0 --help' for more information." >&5
41533 echo "$as_me: error: unrecognized option: $1
41534 Try \`$0 --help' for more information." >&2;}
41535 { (exit 1); exit 1; }; } ;;
41536
41537 *) ac_config_targets="$ac_config_targets $1" ;;
41538
41539 esac
41540 shift
41541 done
41542
41543 ac_configure_extra_args=
41544
41545 if $ac_cs_silent; then
41546 exec 6>/dev/null
41547 ac_configure_extra_args="$ac_configure_extra_args --silent"
41548 fi
41549
41550 _ACEOF
41551 cat >>$CONFIG_STATUS <<_ACEOF
41552 if \$ac_cs_recheck; then
41553 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
41554 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
41555 fi
41556
41557 _ACEOF
41558
41559 cat >>$CONFIG_STATUS <<_ACEOF
41560 #
41561 # INIT-COMMANDS section.
41562 #
41563
41564
41565 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
41566 WXCONFIG_DATA_FILE="${WXCONFIG_DATA_FILE}"
41567 LN_S="${LN_S}"
41568
41569
41570
41571 _ACEOF
41572
41573
41574
41575 cat >>$CONFIG_STATUS <<\_ACEOF
41576 for ac_config_target in $ac_config_targets
41577 do
41578 case "$ac_config_target" in
41579 # Handling of arguments.
41580 "wx-config" ) CONFIG_FILES="$CONFIG_FILES wx-config" ;;
41581 "wx-config-wrapper" ) CONFIG_FILES="$CONFIG_FILES wx-config-wrapper" ;;
41582 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
41583 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
41584 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
41585 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
41586 "setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS setup.h" ;;
41587 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
41588 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
41589 { (exit 1); exit 1; }; };;
41590 esac
41591 done
41592
41593 # If the user did not use the arguments to specify the items to instantiate,
41594 # then the envvar interface is used. Set only those that are not.
41595 # We use the long form for the default assignment because of an extremely
41596 # bizarre bug on SunOS 4.1.3.
41597 if $ac_need_defaults; then
41598 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
41599 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
41600 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
41601 fi
41602
41603 # Have a temporary directory for convenience. Make it in the build tree
41604 # simply because there is no reason to put it here, and in addition,
41605 # creating and moving files from /tmp can sometimes cause problems.
41606 # Create a temporary directory, and hook for its removal unless debugging.
41607 $debug ||
41608 {
41609 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
41610 trap '{ (exit 1); exit 1; }' 1 2 13 15
41611 }
41612
41613 # Create a (secure) tmp directory for tmp files.
41614
41615 {
41616 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
41617 test -n "$tmp" && test -d "$tmp"
41618 } ||
41619 {
41620 tmp=./confstat$$-$RANDOM
41621 (umask 077 && mkdir $tmp)
41622 } ||
41623 {
41624 echo "$me: cannot create a temporary directory in ." >&2
41625 { (exit 1); exit 1; }
41626 }
41627
41628 _ACEOF
41629
41630 cat >>$CONFIG_STATUS <<_ACEOF
41631
41632 #
41633 # CONFIG_FILES section.
41634 #
41635
41636 # No need to generate the scripts if there are no CONFIG_FILES.
41637 # This happens for instance when ./config.status config.h
41638 if test -n "\$CONFIG_FILES"; then
41639 # Protect against being on the right side of a sed subst in config.status.
41640 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
41641 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
41642 s,@SHELL@,$SHELL,;t t
41643 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
41644 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
41645 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
41646 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
41647 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
41648 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
41649 s,@exec_prefix@,$exec_prefix,;t t
41650 s,@prefix@,$prefix,;t t
41651 s,@program_transform_name@,$program_transform_name,;t t
41652 s,@bindir@,$bindir,;t t
41653 s,@sbindir@,$sbindir,;t t
41654 s,@libexecdir@,$libexecdir,;t t
41655 s,@datadir@,$datadir,;t t
41656 s,@sysconfdir@,$sysconfdir,;t t
41657 s,@sharedstatedir@,$sharedstatedir,;t t
41658 s,@localstatedir@,$localstatedir,;t t
41659 s,@libdir@,$libdir,;t t
41660 s,@includedir@,$includedir,;t t
41661 s,@oldincludedir@,$oldincludedir,;t t
41662 s,@infodir@,$infodir,;t t
41663 s,@mandir@,$mandir,;t t
41664 s,@build_alias@,$build_alias,;t t
41665 s,@host_alias@,$host_alias,;t t
41666 s,@target_alias@,$target_alias,;t t
41667 s,@DEFS@,$DEFS,;t t
41668 s,@ECHO_C@,$ECHO_C,;t t
41669 s,@ECHO_N@,$ECHO_N,;t t
41670 s,@ECHO_T@,$ECHO_T,;t t
41671 s,@LIBS@,$LIBS,;t t
41672 s,@build@,$build,;t t
41673 s,@build_cpu@,$build_cpu,;t t
41674 s,@build_vendor@,$build_vendor,;t t
41675 s,@build_os@,$build_os,;t t
41676 s,@host@,$host,;t t
41677 s,@host_cpu@,$host_cpu,;t t
41678 s,@host_vendor@,$host_vendor,;t t
41679 s,@host_os@,$host_os,;t t
41680 s,@target@,$target,;t t
41681 s,@target_cpu@,$target_cpu,;t t
41682 s,@target_vendor@,$target_vendor,;t t
41683 s,@target_os@,$target_os,;t t
41684 s,@CC@,$CC,;t t
41685 s,@CFLAGS@,$CFLAGS,;t t
41686 s,@LDFLAGS@,$LDFLAGS,;t t
41687 s,@CPPFLAGS@,$CPPFLAGS,;t t
41688 s,@ac_ct_CC@,$ac_ct_CC,;t t
41689 s,@EXEEXT@,$EXEEXT,;t t
41690 s,@OBJEXT@,$OBJEXT,;t t
41691 s,@CPP@,$CPP,;t t
41692 s,@EGREP@,$EGREP,;t t
41693 s,@CXX@,$CXX,;t t
41694 s,@CXXFLAGS@,$CXXFLAGS,;t t
41695 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
41696 s,@RANLIB@,$RANLIB,;t t
41697 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
41698 s,@AR@,$AR,;t t
41699 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
41700 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
41701 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
41702 s,@STRIP@,$STRIP,;t t
41703 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
41704 s,@LN_S@,$LN_S,;t t
41705 s,@CXXCPP@,$CXXCPP,;t t
41706 s,@subdirs@,$subdirs,;t t
41707 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
41708 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
41709 s,@GTK_LIBS@,$GTK_LIBS,;t t
41710 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
41711 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
41712 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
41713 s,@X_CFLAGS@,$X_CFLAGS,;t t
41714 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
41715 s,@X_LIBS@,$X_LIBS,;t t
41716 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
41717 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
41718 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
41719 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
41720 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
41721 s,@RESCOMP@,$RESCOMP,;t t
41722 s,@DEREZ@,$DEREZ,;t t
41723 s,@SETFILE@,$SETFILE,;t t
41724 s,@LIBICONV@,$LIBICONV,;t t
41725 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
41726 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
41727 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
41728 s,@SDL_LIBS@,$SDL_LIBS,;t t
41729 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
41730 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
41731 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
41732 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
41733 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
41734 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
41735 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
41736 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
41737 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
41738 s,@VENDOR@,$VENDOR,;t t
41739 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
41740 s,@WXUNIV@,$WXUNIV,;t t
41741 s,@MONOLITHIC@,$MONOLITHIC,;t t
41742 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
41743 s,@EXTRALIBS@,$EXTRALIBS,;t t
41744 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
41745 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
41746 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
41747 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
41748 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
41749 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
41750 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
41751 s,@UNICODE@,$UNICODE,;t t
41752 s,@BUILD@,$BUILD,;t t
41753 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
41754 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
41755 s,@SHARED@,$SHARED,;t t
41756 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
41757 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
41758 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
41759 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
41760 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
41761 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
41762 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
41763 s,@SET_MAKE@,$SET_MAKE,;t t
41764 s,@MAKE_SET@,$MAKE_SET,;t t
41765 s,@ac_ct_AR@,$ac_ct_AR,;t t
41766 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
41767 s,@NM@,$NM,;t t
41768 s,@ac_ct_NM@,$ac_ct_NM,;t t
41769 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
41770 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
41771 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
41772 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
41773 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
41774 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
41775 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
41776 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
41777 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
41778 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
41779 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
41780 s,@LIBPREFIX@,$LIBPREFIX,;t t
41781 s,@LIBEXT@,$LIBEXT,;t t
41782 s,@DLLPREFIX@,$DLLPREFIX,;t t
41783 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
41784 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
41785 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
41786 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
41787 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
41788 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
41789 s,@PIC_FLAG@,$PIC_FLAG,;t t
41790 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
41791 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
41792 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
41793 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
41794 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
41795 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
41796 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
41797 s,@GCC_PCH@,$GCC_PCH,;t t
41798 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
41799 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
41800 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
41801 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
41802 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
41803 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
41804 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
41805 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
41806 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
41807 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
41808 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
41809 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
41810 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
41811 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
41812 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
41813 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
41814 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
41815 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
41816 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
41817 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
41818 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
41819 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
41820 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
41821 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
41822 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
41823 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
41824 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
41825 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
41826 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
41827 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
41828 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
41829 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
41830 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
41831 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
41832 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
41833 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
41834 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
41835 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
41836 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
41837 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
41838 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
41839 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
41840 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
41841 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
41842 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
41843 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
41844 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
41845 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
41846 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
41847 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
41848 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
41849 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
41850 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
41851 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
41852 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
41853 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
41854 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
41855 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
41856 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
41857 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
41858 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
41859 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
41860 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
41861 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
41862 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
41863 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
41864 s,@COND_TOOLKIT_MAC_WXUNIV_0@,$COND_TOOLKIT_MAC_WXUNIV_0,;t t
41865 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
41866 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
41867 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
41868 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
41869 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
41870 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
41871 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
41872 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
41873 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
41874 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
41875 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
41876 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
41877 s,@COND_TOOLKIT_PM_WXUNIV_0@,$COND_TOOLKIT_PM_WXUNIV_0,;t t
41878 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
41879 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
41880 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
41881 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
41882 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
41883 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
41884 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
41885 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
41886 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
41887 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
41888 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
41889 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
41890 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
41891 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
41892 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
41893 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
41894 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
41895 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
41896 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
41897 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
41898 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
41899 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
41900 s,@COND_WITH_SDL_1@,$COND_WITH_SDL_1,;t t
41901 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
41902 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
41903 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
41904 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
41905 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
41906 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
41907 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
41908 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
41909 s,@PATH_IFS@,$PATH_IFS,;t t
41910 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
41911 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
41912 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
41913 s,@WX_SUBRELEASE_NUMBER@,$WX_SUBRELEASE_NUMBER,;t t
41914 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
41915 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
41916 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
41917 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
41918 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
41919 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
41920 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
41921 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
41922 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
41923 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
41924 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
41925 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
41926 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
41927 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
41928 s,@WX_ALL@,$WX_ALL,;t t
41929 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
41930 s,@SHARED_LD@,$SHARED_LD,;t t
41931 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
41932 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
41933 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
41934 s,@USE_GUI@,$USE_GUI,;t t
41935 s,@AFMINSTALL@,$AFMINSTALL,;t t
41936 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
41937 s,@TOOLKIT@,$TOOLKIT,;t t
41938 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
41939 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
41940 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
41941 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
41942 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
41943 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
41944 s,@cross_compiling@,$cross_compiling,;t t
41945 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
41946 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
41947 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
41948 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
41949 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
41950 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
41951 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
41952 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
41953 s,@WXCONFIG_DATA_FILE@,$WXCONFIG_DATA_FILE,;t t
41954 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
41955 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
41956 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
41957 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
41958 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
41959 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
41960 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
41961 s,@GUIDIST@,$GUIDIST,;t t
41962 s,@PORT_FILES@,$PORT_FILES,;t t
41963 s,@DISTDIR@,$DISTDIR,;t t
41964 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
41965 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
41966 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
41967 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
41968 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
41969 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
41970 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
41971 s,@RESFLAGS@,$RESFLAGS,;t t
41972 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
41973 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
41974 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
41975 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
41976 s,@MACRESCOMP@,$MACRESCOMP,;t t
41977 s,@MACSETFILE@,$MACSETFILE,;t t
41978 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
41979 s,@GCC@,$GCC,;t t
41980 s,@DLLTOOL@,$DLLTOOL,;t t
41981 s,@AS@,$AS,;t t
41982 s,@LD@,$LD,;t t
41983 s,@MAKEINFO@,$MAKEINFO,;t t
41984 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
41985 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
41986 s,@LIBOBJS@,$LIBOBJS,;t t
41987 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
41988 CEOF
41989
41990 _ACEOF
41991
41992 cat >>$CONFIG_STATUS <<\_ACEOF
41993 # Split the substitutions into bite-sized pieces for seds with
41994 # small command number limits, like on Digital OSF/1 and HP-UX.
41995 ac_max_sed_lines=48
41996 ac_sed_frag=1 # Number of current file.
41997 ac_beg=1 # First line for current file.
41998 ac_end=$ac_max_sed_lines # Line after last line for current file.
41999 ac_more_lines=:
42000 ac_sed_cmds=
42001 while $ac_more_lines; do
42002 if test $ac_beg -gt 1; then
42003 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
42004 else
42005 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
42006 fi
42007 if test ! -s $tmp/subs.frag; then
42008 ac_more_lines=false
42009 else
42010 # The purpose of the label and of the branching condition is to
42011 # speed up the sed processing (if there are no `@' at all, there
42012 # is no need to browse any of the substitutions).
42013 # These are the two extra sed commands mentioned above.
42014 (echo ':t
42015 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
42016 if test -z "$ac_sed_cmds"; then
42017 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
42018 else
42019 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
42020 fi
42021 ac_sed_frag=`expr $ac_sed_frag + 1`
42022 ac_beg=$ac_end
42023 ac_end=`expr $ac_end + $ac_max_sed_lines`
42024 fi
42025 done
42026 if test -z "$ac_sed_cmds"; then
42027 ac_sed_cmds=cat
42028 fi
42029 fi # test -n "$CONFIG_FILES"
42030
42031 _ACEOF
42032 cat >>$CONFIG_STATUS <<\_ACEOF
42033 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
42034 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42035 case $ac_file in
42036 - | *:- | *:-:* ) # input from stdin
42037 cat >$tmp/stdin
42038 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
42039 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
42040 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
42041 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
42042 * ) ac_file_in=$ac_file.in ;;
42043 esac
42044
42045 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
42046 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
42047 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42048 X"$ac_file" : 'X\(//\)[^/]' \| \
42049 X"$ac_file" : 'X\(//\)$' \| \
42050 X"$ac_file" : 'X\(/\)' \| \
42051 . : '\(.\)' 2>/dev/null ||
42052 echo X"$ac_file" |
42053 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42054 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42055 /^X\(\/\/\)$/{ s//\1/; q; }
42056 /^X\(\/\).*/{ s//\1/; q; }
42057 s/.*/./; q'`
42058 { if $as_mkdir_p; then
42059 mkdir -p "$ac_dir"
42060 else
42061 as_dir="$ac_dir"
42062 as_dirs=
42063 while test ! -d "$as_dir"; do
42064 as_dirs="$as_dir $as_dirs"
42065 as_dir=`(dirname "$as_dir") 2>/dev/null ||
42066 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42067 X"$as_dir" : 'X\(//\)[^/]' \| \
42068 X"$as_dir" : 'X\(//\)$' \| \
42069 X"$as_dir" : 'X\(/\)' \| \
42070 . : '\(.\)' 2>/dev/null ||
42071 echo X"$as_dir" |
42072 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42073 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42074 /^X\(\/\/\)$/{ s//\1/; q; }
42075 /^X\(\/\).*/{ s//\1/; q; }
42076 s/.*/./; q'`
42077 done
42078 test ! -n "$as_dirs" || mkdir $as_dirs
42079 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42080 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42081 { (exit 1); exit 1; }; }; }
42082
42083 ac_builddir=.
42084
42085 if test "$ac_dir" != .; then
42086 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42087 # A "../" for each directory in $ac_dir_suffix.
42088 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42089 else
42090 ac_dir_suffix= ac_top_builddir=
42091 fi
42092
42093 case $srcdir in
42094 .) # No --srcdir option. We are building in place.
42095 ac_srcdir=.
42096 if test -z "$ac_top_builddir"; then
42097 ac_top_srcdir=.
42098 else
42099 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
42100 fi ;;
42101 [\\/]* | ?:[\\/]* ) # Absolute path.
42102 ac_srcdir=$srcdir$ac_dir_suffix;
42103 ac_top_srcdir=$srcdir ;;
42104 *) # Relative path.
42105 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
42106 ac_top_srcdir=$ac_top_builddir$srcdir ;;
42107 esac
42108
42109 # Do not use `cd foo && pwd` to compute absolute paths, because
42110 # the directories may not exist.
42111 case `pwd` in
42112 .) ac_abs_builddir="$ac_dir";;
42113 *)
42114 case "$ac_dir" in
42115 .) ac_abs_builddir=`pwd`;;
42116 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
42117 *) ac_abs_builddir=`pwd`/"$ac_dir";;
42118 esac;;
42119 esac
42120 case $ac_abs_builddir in
42121 .) ac_abs_top_builddir=${ac_top_builddir}.;;
42122 *)
42123 case ${ac_top_builddir}. in
42124 .) ac_abs_top_builddir=$ac_abs_builddir;;
42125 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
42126 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
42127 esac;;
42128 esac
42129 case $ac_abs_builddir in
42130 .) ac_abs_srcdir=$ac_srcdir;;
42131 *)
42132 case $ac_srcdir in
42133 .) ac_abs_srcdir=$ac_abs_builddir;;
42134 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
42135 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
42136 esac;;
42137 esac
42138 case $ac_abs_builddir in
42139 .) ac_abs_top_srcdir=$ac_top_srcdir;;
42140 *)
42141 case $ac_top_srcdir in
42142 .) ac_abs_top_srcdir=$ac_abs_builddir;;
42143 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
42144 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
42145 esac;;
42146 esac
42147
42148
42149 case $INSTALL in
42150 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
42151 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
42152 esac
42153
42154 # Let's still pretend it is `configure' which instantiates (i.e., don't
42155 # use $as_me), people would be surprised to read:
42156 # /* config.h. Generated by config.status. */
42157 if test x"$ac_file" = x-; then
42158 configure_input=
42159 else
42160 configure_input="$ac_file. "
42161 fi
42162 configure_input=$configure_input"Generated from `echo $ac_file_in |
42163 sed 's,.*/,,'` by configure."
42164
42165 # First look for the input files in the build tree, otherwise in the
42166 # src tree.
42167 ac_file_inputs=`IFS=:
42168 for f in $ac_file_in; do
42169 case $f in
42170 -) echo $tmp/stdin ;;
42171 [\\/$]*)
42172 # Absolute (can't be DOS-style, as IFS=:)
42173 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42174 echo "$as_me: error: cannot find input file: $f" >&2;}
42175 { (exit 1); exit 1; }; }
42176 echo "$f";;
42177 *) # Relative
42178 if test -f "$f"; then
42179 # Build tree
42180 echo "$f"
42181 elif test -f "$srcdir/$f"; then
42182 # Source tree
42183 echo "$srcdir/$f"
42184 else
42185 # /dev/null tree
42186 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42187 echo "$as_me: error: cannot find input file: $f" >&2;}
42188 { (exit 1); exit 1; }; }
42189 fi;;
42190 esac
42191 done` || { (exit 1); exit 1; }
42192
42193 if test x"$ac_file" != x-; then
42194 { echo "$as_me:$LINENO: creating $ac_file" >&5
42195 echo "$as_me: creating $ac_file" >&6;}
42196 rm -f "$ac_file"
42197 fi
42198 _ACEOF
42199 cat >>$CONFIG_STATUS <<_ACEOF
42200 sed "$ac_vpsub
42201 $extrasub
42202 _ACEOF
42203 cat >>$CONFIG_STATUS <<\_ACEOF
42204 :t
42205 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
42206 s,@configure_input@,$configure_input,;t t
42207 s,@srcdir@,$ac_srcdir,;t t
42208 s,@abs_srcdir@,$ac_abs_srcdir,;t t
42209 s,@top_srcdir@,$ac_top_srcdir,;t t
42210 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
42211 s,@builddir@,$ac_builddir,;t t
42212 s,@abs_builddir@,$ac_abs_builddir,;t t
42213 s,@top_builddir@,$ac_top_builddir,;t t
42214 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
42215 s,@INSTALL@,$ac_INSTALL,;t t
42216 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
42217 rm -f $tmp/stdin
42218 if test x"$ac_file" != x-; then
42219 mv $tmp/out $ac_file
42220 else
42221 cat $tmp/out
42222 rm -f $tmp/out
42223 fi
42224
42225 done
42226 _ACEOF
42227 cat >>$CONFIG_STATUS <<\_ACEOF
42228
42229 #
42230 # CONFIG_HEADER section.
42231 #
42232
42233 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
42234 # NAME is the cpp macro being defined and VALUE is the value it is being given.
42235 #
42236 # ac_d sets the value in "#define NAME VALUE" lines.
42237 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
42238 ac_dB='[ ].*$,\1#\2'
42239 ac_dC=' '
42240 ac_dD=',;t'
42241 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
42242 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
42243 ac_uB='$,\1#\2define\3'
42244 ac_uC=' '
42245 ac_uD=',;t'
42246
42247 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
42248 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42249 case $ac_file in
42250 - | *:- | *:-:* ) # input from stdin
42251 cat >$tmp/stdin
42252 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
42253 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
42254 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
42255 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
42256 * ) ac_file_in=$ac_file.in ;;
42257 esac
42258
42259 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
42260 echo "$as_me: creating $ac_file" >&6;}
42261
42262 # First look for the input files in the build tree, otherwise in the
42263 # src tree.
42264 ac_file_inputs=`IFS=:
42265 for f in $ac_file_in; do
42266 case $f in
42267 -) echo $tmp/stdin ;;
42268 [\\/$]*)
42269 # Absolute (can't be DOS-style, as IFS=:)
42270 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42271 echo "$as_me: error: cannot find input file: $f" >&2;}
42272 { (exit 1); exit 1; }; }
42273 # Do quote $f, to prevent DOS paths from being IFS'd.
42274 echo "$f";;
42275 *) # Relative
42276 if test -f "$f"; then
42277 # Build tree
42278 echo "$f"
42279 elif test -f "$srcdir/$f"; then
42280 # Source tree
42281 echo "$srcdir/$f"
42282 else
42283 # /dev/null tree
42284 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42285 echo "$as_me: error: cannot find input file: $f" >&2;}
42286 { (exit 1); exit 1; }; }
42287 fi;;
42288 esac
42289 done` || { (exit 1); exit 1; }
42290 # Remove the trailing spaces.
42291 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
42292
42293 _ACEOF
42294
42295 # Transform confdefs.h into two sed scripts, `conftest.defines' and
42296 # `conftest.undefs', that substitutes the proper values into
42297 # config.h.in to produce config.h. The first handles `#define'
42298 # templates, and the second `#undef' templates.
42299 # And first: Protect against being on the right side of a sed subst in
42300 # config.status. Protect against being in an unquoted here document
42301 # in config.status.
42302 rm -f conftest.defines conftest.undefs
42303 # Using a here document instead of a string reduces the quoting nightmare.
42304 # Putting comments in sed scripts is not portable.
42305 #
42306 # `end' is used to avoid that the second main sed command (meant for
42307 # 0-ary CPP macros) applies to n-ary macro definitions.
42308 # See the Autoconf documentation for `clear'.
42309 cat >confdef2sed.sed <<\_ACEOF
42310 s/[\\&,]/\\&/g
42311 s,[\\$`],\\&,g
42312 t clear
42313 : clear
42314 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
42315 t end
42316 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
42317 : end
42318 _ACEOF
42319 # If some macros were called several times there might be several times
42320 # the same #defines, which is useless. Nevertheless, we may not want to
42321 # sort them, since we want the *last* AC-DEFINE to be honored.
42322 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
42323 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
42324 rm -f confdef2sed.sed
42325
42326 # This sed command replaces #undef with comments. This is necessary, for
42327 # example, in the case of _POSIX_SOURCE, which is predefined and required
42328 # on some systems where configure will not decide to define it.
42329 cat >>conftest.undefs <<\_ACEOF
42330 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
42331 _ACEOF
42332
42333 # Break up conftest.defines because some shells have a limit on the size
42334 # of here documents, and old seds have small limits too (100 cmds).
42335 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
42336 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
42337 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
42338 echo ' :' >>$CONFIG_STATUS
42339 rm -f conftest.tail
42340 while grep . conftest.defines >/dev/null
42341 do
42342 # Write a limited-size here document to $tmp/defines.sed.
42343 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
42344 # Speed up: don't consider the non `#define' lines.
42345 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
42346 # Work around the forget-to-reset-the-flag bug.
42347 echo 't clr' >>$CONFIG_STATUS
42348 echo ': clr' >>$CONFIG_STATUS
42349 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
42350 echo 'CEOF
42351 sed -f $tmp/defines.sed $tmp/in >$tmp/out
42352 rm -f $tmp/in
42353 mv $tmp/out $tmp/in
42354 ' >>$CONFIG_STATUS
42355 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
42356 rm -f conftest.defines
42357 mv conftest.tail conftest.defines
42358 done
42359 rm -f conftest.defines
42360 echo ' fi # grep' >>$CONFIG_STATUS
42361 echo >>$CONFIG_STATUS
42362
42363 # Break up conftest.undefs because some shells have a limit on the size
42364 # of here documents, and old seds have small limits too (100 cmds).
42365 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
42366 rm -f conftest.tail
42367 while grep . conftest.undefs >/dev/null
42368 do
42369 # Write a limited-size here document to $tmp/undefs.sed.
42370 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
42371 # Speed up: don't consider the non `#undef'
42372 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
42373 # Work around the forget-to-reset-the-flag bug.
42374 echo 't clr' >>$CONFIG_STATUS
42375 echo ': clr' >>$CONFIG_STATUS
42376 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
42377 echo 'CEOF
42378 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
42379 rm -f $tmp/in
42380 mv $tmp/out $tmp/in
42381 ' >>$CONFIG_STATUS
42382 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
42383 rm -f conftest.undefs
42384 mv conftest.tail conftest.undefs
42385 done
42386 rm -f conftest.undefs
42387
42388 cat >>$CONFIG_STATUS <<\_ACEOF
42389 # Let's still pretend it is `configure' which instantiates (i.e., don't
42390 # use $as_me), people would be surprised to read:
42391 # /* config.h. Generated by config.status. */
42392 if test x"$ac_file" = x-; then
42393 echo "/* Generated by configure. */" >$tmp/config.h
42394 else
42395 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
42396 fi
42397 cat $tmp/in >>$tmp/config.h
42398 rm -f $tmp/in
42399 if test x"$ac_file" != x-; then
42400 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
42401 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
42402 echo "$as_me: $ac_file is unchanged" >&6;}
42403 else
42404 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
42405 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42406 X"$ac_file" : 'X\(//\)[^/]' \| \
42407 X"$ac_file" : 'X\(//\)$' \| \
42408 X"$ac_file" : 'X\(/\)' \| \
42409 . : '\(.\)' 2>/dev/null ||
42410 echo X"$ac_file" |
42411 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42412 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42413 /^X\(\/\/\)$/{ s//\1/; q; }
42414 /^X\(\/\).*/{ s//\1/; q; }
42415 s/.*/./; q'`
42416 { if $as_mkdir_p; then
42417 mkdir -p "$ac_dir"
42418 else
42419 as_dir="$ac_dir"
42420 as_dirs=
42421 while test ! -d "$as_dir"; do
42422 as_dirs="$as_dir $as_dirs"
42423 as_dir=`(dirname "$as_dir") 2>/dev/null ||
42424 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42425 X"$as_dir" : 'X\(//\)[^/]' \| \
42426 X"$as_dir" : 'X\(//\)$' \| \
42427 X"$as_dir" : 'X\(/\)' \| \
42428 . : '\(.\)' 2>/dev/null ||
42429 echo X"$as_dir" |
42430 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42431 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42432 /^X\(\/\/\)$/{ s//\1/; q; }
42433 /^X\(\/\).*/{ s//\1/; q; }
42434 s/.*/./; q'`
42435 done
42436 test ! -n "$as_dirs" || mkdir $as_dirs
42437 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42438 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42439 { (exit 1); exit 1; }; }; }
42440
42441 rm -f $ac_file
42442 mv $tmp/config.h $ac_file
42443 fi
42444 else
42445 cat $tmp/config.h
42446 rm -f $tmp/config.h
42447 fi
42448 done
42449 _ACEOF
42450 cat >>$CONFIG_STATUS <<\_ACEOF
42451
42452 #
42453 # CONFIG_COMMANDS section.
42454 #
42455 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
42456 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
42457 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
42458 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
42459 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42460 X"$ac_dest" : 'X\(//\)[^/]' \| \
42461 X"$ac_dest" : 'X\(//\)$' \| \
42462 X"$ac_dest" : 'X\(/\)' \| \
42463 . : '\(.\)' 2>/dev/null ||
42464 echo X"$ac_dest" |
42465 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42466 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42467 /^X\(\/\/\)$/{ s//\1/; q; }
42468 /^X\(\/\).*/{ s//\1/; q; }
42469 s/.*/./; q'`
42470 { if $as_mkdir_p; then
42471 mkdir -p "$ac_dir"
42472 else
42473 as_dir="$ac_dir"
42474 as_dirs=
42475 while test ! -d "$as_dir"; do
42476 as_dirs="$as_dir $as_dirs"
42477 as_dir=`(dirname "$as_dir") 2>/dev/null ||
42478 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42479 X"$as_dir" : 'X\(//\)[^/]' \| \
42480 X"$as_dir" : 'X\(//\)$' \| \
42481 X"$as_dir" : 'X\(/\)' \| \
42482 . : '\(.\)' 2>/dev/null ||
42483 echo X"$as_dir" |
42484 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42485 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42486 /^X\(\/\/\)$/{ s//\1/; q; }
42487 /^X\(\/\).*/{ s//\1/; q; }
42488 s/.*/./; q'`
42489 done
42490 test ! -n "$as_dirs" || mkdir $as_dirs
42491 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42492 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42493 { (exit 1); exit 1; }; }; }
42494
42495 ac_builddir=.
42496
42497 if test "$ac_dir" != .; then
42498 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42499 # A "../" for each directory in $ac_dir_suffix.
42500 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42501 else
42502 ac_dir_suffix= ac_top_builddir=
42503 fi
42504
42505 case $srcdir in
42506 .) # No --srcdir option. We are building in place.
42507 ac_srcdir=.
42508 if test -z "$ac_top_builddir"; then
42509 ac_top_srcdir=.
42510 else
42511 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
42512 fi ;;
42513 [\\/]* | ?:[\\/]* ) # Absolute path.
42514 ac_srcdir=$srcdir$ac_dir_suffix;
42515 ac_top_srcdir=$srcdir ;;
42516 *) # Relative path.
42517 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
42518 ac_top_srcdir=$ac_top_builddir$srcdir ;;
42519 esac
42520
42521 # Do not use `cd foo && pwd` to compute absolute paths, because
42522 # the directories may not exist.
42523 case `pwd` in
42524 .) ac_abs_builddir="$ac_dir";;
42525 *)
42526 case "$ac_dir" in
42527 .) ac_abs_builddir=`pwd`;;
42528 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
42529 *) ac_abs_builddir=`pwd`/"$ac_dir";;
42530 esac;;
42531 esac
42532 case $ac_abs_builddir in
42533 .) ac_abs_top_builddir=${ac_top_builddir}.;;
42534 *)
42535 case ${ac_top_builddir}. in
42536 .) ac_abs_top_builddir=$ac_abs_builddir;;
42537 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
42538 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
42539 esac;;
42540 esac
42541 case $ac_abs_builddir in
42542 .) ac_abs_srcdir=$ac_srcdir;;
42543 *)
42544 case $ac_srcdir in
42545 .) ac_abs_srcdir=$ac_abs_builddir;;
42546 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
42547 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
42548 esac;;
42549 esac
42550 case $ac_abs_builddir in
42551 .) ac_abs_top_srcdir=$ac_top_srcdir;;
42552 *)
42553 case $ac_top_srcdir in
42554 .) ac_abs_top_srcdir=$ac_abs_builddir;;
42555 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
42556 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
42557 esac;;
42558 esac
42559
42560
42561 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
42562 echo "$as_me: executing $ac_dest commands" >&6;}
42563 case $ac_dest in
42564 default )
42565 if test ! -d lib; then
42566 mkdir lib
42567 fi
42568 if test ! -d lib/wx; then
42569 mkdir lib/wx
42570 fi
42571 if test ! -d lib/wx/config; then
42572 mkdir lib/wx/config
42573 fi
42574 if test ! -d lib/wx/include; then
42575 mkdir lib/wx/include
42576 fi
42577 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
42578 mkdir lib/wx/include/${TOOLCHAIN_NAME}
42579 fi
42580 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
42581 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
42582 fi
42583 if test -f setup.h; then
42584 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
42585 fi
42586
42587 if test -f wx-config; then
42588 chmod +x wx-config
42589 mv -f wx-config lib/wx/config/${WXCONFIG_DATA_FILE}
42590 ( cd lib/wx/config ;
42591 rm -f ${TOOLCHAIN_NAME}
42592 ${LN_S} ${WXCONFIG_DATA_FILE} ${TOOLCHAIN_NAME} )
42593 fi
42594 if test -f wx-config-wrapper; then
42595 chmod +x wx-config-wrapper
42596 mv -f wx-config-wrapper wx-config
42597 rm -f wx${TOOLCHAIN_NAME}-config
42598 ${LN_S} wx-config wx${TOOLCHAIN_NAME}-config
42599 fi
42600 ;;
42601 esac
42602 done
42603 _ACEOF
42604
42605 cat >>$CONFIG_STATUS <<\_ACEOF
42606
42607 { (exit 0); exit 0; }
42608 _ACEOF
42609 chmod +x $CONFIG_STATUS
42610 ac_clean_files=$ac_clean_files_save
42611
42612
42613 # configure is writing to config.log, and then calls config.status.
42614 # config.status does its own redirection, appending to config.log.
42615 # Unfortunately, on DOS this fails, as config.log is still kept open
42616 # by configure, so config.status won't be able to write to it; its
42617 # output is simply discarded. So we exec the FD to /dev/null,
42618 # effectively closing config.log, so it can be properly (re)opened and
42619 # appended to by config.status. When coming back to configure, we
42620 # need to make the FD available again.
42621 if test "$no_create" != yes; then
42622 ac_cs_success=:
42623 ac_config_status_args=
42624 test "$silent" = yes &&
42625 ac_config_status_args="$ac_config_status_args --quiet"
42626 exec 5>/dev/null
42627 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
42628 exec 5>>config.log
42629 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42630 # would make configure fail if this is the last instruction.
42631 $ac_cs_success || { (exit 1); exit 1; }
42632 fi
42633
42634 #
42635 # CONFIG_SUBDIRS section.
42636 #
42637 if test "$no_recursion" != yes; then
42638
42639 # Remove --cache-file and --srcdir arguments so they do not pile up.
42640 ac_sub_configure_args=
42641 ac_prev=
42642 for ac_arg in $ac_configure_args; do
42643 if test -n "$ac_prev"; then
42644 ac_prev=
42645 continue
42646 fi
42647 case $ac_arg in
42648 -cache-file | --cache-file | --cache-fil | --cache-fi \
42649 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42650 ac_prev=cache_file ;;
42651 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42652 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
42653 | --c=*)
42654 ;;
42655 --config-cache | -C)
42656 ;;
42657 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
42658 ac_prev=srcdir ;;
42659 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
42660 ;;
42661 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
42662 ac_prev=prefix ;;
42663 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
42664 ;;
42665 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
42666 esac
42667 done
42668
42669 # Always prepend --prefix to ensure using the same prefix
42670 # in subdir configurations.
42671 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
42672
42673 ac_popdir=`pwd`
42674 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
42675
42676 # Do not complain, so a configure script can configure whichever
42677 # parts of a large source tree are present.
42678 test -d $srcdir/$ac_dir || continue
42679
42680 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
42681 echo "$as_me: configuring in $ac_dir" >&6;}
42682 { if $as_mkdir_p; then
42683 mkdir -p "$ac_dir"
42684 else
42685 as_dir="$ac_dir"
42686 as_dirs=
42687 while test ! -d "$as_dir"; do
42688 as_dirs="$as_dir $as_dirs"
42689 as_dir=`(dirname "$as_dir") 2>/dev/null ||
42690 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42691 X"$as_dir" : 'X\(//\)[^/]' \| \
42692 X"$as_dir" : 'X\(//\)$' \| \
42693 X"$as_dir" : 'X\(/\)' \| \
42694 . : '\(.\)' 2>/dev/null ||
42695 echo X"$as_dir" |
42696 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42697 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42698 /^X\(\/\/\)$/{ s//\1/; q; }
42699 /^X\(\/\).*/{ s//\1/; q; }
42700 s/.*/./; q'`
42701 done
42702 test ! -n "$as_dirs" || mkdir $as_dirs
42703 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42704 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42705 { (exit 1); exit 1; }; }; }
42706
42707 ac_builddir=.
42708
42709 if test "$ac_dir" != .; then
42710 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42711 # A "../" for each directory in $ac_dir_suffix.
42712 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42713 else
42714 ac_dir_suffix= ac_top_builddir=
42715 fi
42716
42717 case $srcdir in
42718 .) # No --srcdir option. We are building in place.
42719 ac_srcdir=.
42720 if test -z "$ac_top_builddir"; then
42721 ac_top_srcdir=.
42722 else
42723 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
42724 fi ;;
42725 [\\/]* | ?:[\\/]* ) # Absolute path.
42726 ac_srcdir=$srcdir$ac_dir_suffix;
42727 ac_top_srcdir=$srcdir ;;
42728 *) # Relative path.
42729 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
42730 ac_top_srcdir=$ac_top_builddir$srcdir ;;
42731 esac
42732
42733 # Do not use `cd foo && pwd` to compute absolute paths, because
42734 # the directories may not exist.
42735 case `pwd` in
42736 .) ac_abs_builddir="$ac_dir";;
42737 *)
42738 case "$ac_dir" in
42739 .) ac_abs_builddir=`pwd`;;
42740 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
42741 *) ac_abs_builddir=`pwd`/"$ac_dir";;
42742 esac;;
42743 esac
42744 case $ac_abs_builddir in
42745 .) ac_abs_top_builddir=${ac_top_builddir}.;;
42746 *)
42747 case ${ac_top_builddir}. in
42748 .) ac_abs_top_builddir=$ac_abs_builddir;;
42749 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
42750 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
42751 esac;;
42752 esac
42753 case $ac_abs_builddir in
42754 .) ac_abs_srcdir=$ac_srcdir;;
42755 *)
42756 case $ac_srcdir in
42757 .) ac_abs_srcdir=$ac_abs_builddir;;
42758 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
42759 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
42760 esac;;
42761 esac
42762 case $ac_abs_builddir in
42763 .) ac_abs_top_srcdir=$ac_top_srcdir;;
42764 *)
42765 case $ac_top_srcdir in
42766 .) ac_abs_top_srcdir=$ac_abs_builddir;;
42767 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
42768 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
42769 esac;;
42770 esac
42771
42772
42773 cd $ac_dir
42774
42775 # Check for guested configure; otherwise get Cygnus style configure.
42776 if test -f $ac_srcdir/configure.gnu; then
42777 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
42778 elif test -f $ac_srcdir/configure; then
42779 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
42780 elif test -f $ac_srcdir/configure.in; then
42781 ac_sub_configure=$ac_configure
42782 else
42783 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
42784 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
42785 ac_sub_configure=
42786 fi
42787
42788 # The recursion is here.
42789 if test -n "$ac_sub_configure"; then
42790 # Make the cache file name correct relative to the subdirectory.
42791 case $cache_file in
42792 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
42793 *) # Relative path.
42794 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
42795 esac
42796
42797 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
42798 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
42799 # The eval makes quoting arguments work.
42800 eval $ac_sub_configure $ac_sub_configure_args \
42801 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
42802 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
42803 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
42804 { (exit 1); exit 1; }; }
42805 fi
42806
42807 cd "$ac_popdir"
42808 done
42809 fi
42810
42811
42812 echo
42813 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
42814 echo ""
42815 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_LOWERCASE:-base only}"
42816 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
42817
42818 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
42819 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
42820 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
42821
42822 echo " What level of wxWidgets compatibility should be enabled?"
42823 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
42824 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
42825
42826 echo " Which libraries should wxWidgets use?"
42827 echo " jpeg ${wxUSE_LIBJPEG-none}"
42828 echo " png ${wxUSE_LIBPNG-none}"
42829 echo " regex ${wxUSE_REGEX}"
42830 echo " tiff ${wxUSE_LIBTIFF-none}"
42831 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
42832 echo " xpm ${wxUSE_LIBXPM-none}"
42833 fi
42834 echo " zlib ${wxUSE_ZLIB}"
42835 echo " odbc ${wxUSE_ODBC}"
42836 echo " expat ${wxUSE_EXPAT}"
42837 echo " libmspack ${wxUSE_LIBMSPACK}"
42838 echo " sdl ${wxUSE_LIBSDL}"
42839
42840 echo ""
42841