]> git.saurik.com Git - wxWidgets.git/blob - configure
Save a reference to the async sound object
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.5.3.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
14
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23 set -o posix
24 fi
25 DUALCASE=1; export DUALCASE # for MKS sh
26
27 # Support unset when possible.
28 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29 as_unset=unset
30 else
31 as_unset=false
32 fi
33
34
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
37 PS1='$ '
38 PS2='> '
39 PS4='+ '
40
41 # NLS nuisances.
42 for as_var in \
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 LC_TELEPHONE LC_TIME
46 do
47 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C; export $as_var
49 else
50 $as_unset $as_var
51 fi
52 done
53
54 # Required to use basename.
55 if expr a : '\(a\)' >/dev/null 2>&1; then
56 as_expr=expr
57 else
58 as_expr=false
59 fi
60
61 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 as_basename=basename
63 else
64 as_basename=false
65 fi
66
67
68 # Name of the executable.
69 as_me=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
74 echo X/"$0" |
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
78 s/.*/./; q'`
79
80
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits='0123456789'
87 as_cr_alnum=$as_cr_Letters$as_cr_digits
88
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
93 chmod +x conf$$.sh
94 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95 PATH_SEPARATOR=';'
96 else
97 PATH_SEPARATOR=:
98 fi
99 rm -f conf$$.sh
100 fi
101
102
103 as_lineno_1=$LINENO
104 as_lineno_2=$LINENO
105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
109 # relative or not.
110 case $0 in
111 *[\\/]* ) as_myself=$0 ;;
112 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 for as_dir in $PATH
114 do
115 IFS=$as_save_IFS
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118 done
119
120 ;;
121 esac
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x; then
125 as_myself=$0
126 fi
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
130 fi
131 case $CONFIG_SHELL in
132 '')
133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135 do
136 IFS=$as_save_IFS
137 test -z "$as_dir" && as_dir=.
138 for as_base in sh bash ksh sh5; do
139 case $as_dir in
140 /*)
141 if ("$as_dir/$as_base" -c '
142 as_lineno_1=$LINENO
143 as_lineno_2=$LINENO
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
147 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
148 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
149 CONFIG_SHELL=$as_dir/$as_base
150 export CONFIG_SHELL
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
152 fi;;
153 esac
154 done
155 done
156 ;;
157 esac
158
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
168 sed '
169 N
170 s,$,-,
171 : loop
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 t loop
174 s,-$,,
175 s,^['$as_cr_digits']*\n,,
176 ' >$as_me.lineno &&
177 chmod +x $as_me.lineno ||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
180
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
184 . ./$as_me.lineno
185 # Exit status is that of the last command.
186 exit
187 }
188
189
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c*,-n*) ECHO_N= ECHO_C='
192 ' ECHO_T=' ' ;;
193 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
194 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
195 esac
196
197 if expr a : '\(a\)' >/dev/null 2>&1; then
198 as_expr=expr
199 else
200 as_expr=false
201 fi
202
203 rm -f conf$$ conf$$.exe conf$$.file
204 echo >conf$$.file
205 if ln -s conf$$.file conf$$ 2>/dev/null; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe; then
209 # Don't use ln at all; we don't have any links
210 as_ln_s='cp -p'
211 else
212 as_ln_s='ln -s'
213 fi
214 elif ln conf$$.file conf$$ 2>/dev/null; then
215 as_ln_s=ln
216 else
217 as_ln_s='cp -p'
218 fi
219 rm -f conf$$ conf$$.exe conf$$.file
220
221 if mkdir -p . 2>/dev/null; then
222 as_mkdir_p=:
223 else
224 test -d ./-p && rmdir ./-p
225 as_mkdir_p=false
226 fi
227
228 as_executable_p="test -f"
229
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235
236
237 # IFS
238 # We need space, tab and new line, in precisely that order.
239 as_nl='
240 '
241 IFS=" $as_nl"
242
243 # CDPATH.
244 $as_unset CDPATH
245
246
247 # Name of the host.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
251
252 exec 6>&1
253
254 #
255 # Initializations.
256 #
257 ac_default_prefix=/usr/local
258 ac_config_libobj_dir=.
259 cross_compiling=no
260 subdirs=
261 MFLAGS=
262 MAKEFLAGS=
263 SHELL=${CONFIG_SHELL-/bin/sh}
264
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
269
270 # Identity of this package.
271 PACKAGE_NAME='wxWidgets'
272 PACKAGE_TARNAME='wxwidgets'
273 PACKAGE_VERSION='2.5.3'
274 PACKAGE_STRING='wxWidgets 2.5.3'
275 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
276
277 ac_unique_file="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default="\
280 #include <stdio.h>
281 #if HAVE_SYS_TYPES_H
282 # include <sys/types.h>
283 #endif
284 #if HAVE_SYS_STAT_H
285 # include <sys/stat.h>
286 #endif
287 #if STDC_HEADERS
288 # include <stdlib.h>
289 # include <stddef.h>
290 #else
291 # if HAVE_STDLIB_H
292 # include <stdlib.h>
293 # endif
294 #endif
295 #if HAVE_STRING_H
296 # if !STDC_HEADERS && HAVE_MEMORY_H
297 # include <memory.h>
298 # endif
299 # include <string.h>
300 #endif
301 #if HAVE_STRINGS_H
302 # include <strings.h>
303 #endif
304 #if HAVE_INTTYPES_H
305 # include <inttypes.h>
306 #else
307 # if HAVE_STDINT_H
308 # include <stdint.h>
309 # endif
310 #endif
311 #if HAVE_UNISTD_H
312 # include <unistd.h>
313 #endif"
314
315 ac_subdirs_all="$ac_subdirs_all src/expat"
316 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG 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 WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_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_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 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_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PLUGINS_0 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_XRC_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_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 COND_TOOLKIT_MAC_WXUNIV_0 COND_TOOLKIT_MSW_WXUNIV_0 COND_TOOLKIT_PM_WXUNIV_0 SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_EXTRALIBS WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS GCC_PRAGMA_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
317 ac_subst_files=''
318
319 # Initialize some variables set by options.
320 ac_init_help=
321 ac_init_version=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
324 cache_file=/dev/null
325 exec_prefix=NONE
326 no_create=
327 no_recursion=
328 prefix=NONE
329 program_prefix=NONE
330 program_suffix=NONE
331 program_transform_name=s,x,x,
332 silent=
333 site=
334 srcdir=
335 verbose=
336 x_includes=NONE
337 x_libraries=NONE
338
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir='${exec_prefix}/bin'
345 sbindir='${exec_prefix}/sbin'
346 libexecdir='${exec_prefix}/libexec'
347 datadir='${prefix}/share'
348 sysconfdir='${prefix}/etc'
349 sharedstatedir='${prefix}/com'
350 localstatedir='${prefix}/var'
351 libdir='${exec_prefix}/lib'
352 includedir='${prefix}/include'
353 oldincludedir='/usr/include'
354 infodir='${prefix}/info'
355 mandir='${prefix}/man'
356
357 ac_prev=
358 for ac_option
359 do
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
363 ac_prev=
364 continue
365 fi
366
367 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368
369 # Accept the important Cygnus configure options, so we can diagnose typos.
370
371 case $ac_option in
372
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
374 ac_prev=bindir ;;
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
376 bindir=$ac_optarg ;;
377
378 -build | --build | --buil | --bui | --bu)
379 ac_prev=build_alias ;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias=$ac_optarg ;;
382
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev=cache_file ;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file=$ac_optarg ;;
389
390 --config-cache | -C)
391 cache_file=config.cache ;;
392
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
394 ac_prev=datadir ;;
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
396 | --da=*)
397 datadir=$ac_optarg ;;
398
399 -disable-* | --disable-*)
400 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
407
408 -enable-* | --enable-*)
409 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
415 case $ac_option in
416 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 *) ac_optarg=yes ;;
418 esac
419 eval "enable_$ac_feature='$ac_optarg'" ;;
420
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev=exec_prefix ;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix=$ac_optarg ;;
429
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
432 with_gas=yes ;;
433
434 -help | --help | --hel | --he | -h)
435 ac_init_help=long ;;
436 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
437 ac_init_help=recursive ;;
438 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
439 ac_init_help=short ;;
440
441 -host | --host | --hos | --ho)
442 ac_prev=host_alias ;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias=$ac_optarg ;;
445
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev=includedir ;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir=$ac_optarg ;;
452
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
454 ac_prev=infodir ;;
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir=$ac_optarg ;;
457
458 -libdir | --libdir | --libdi | --libd)
459 ac_prev=libdir ;;
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
461 libdir=$ac_optarg ;;
462
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev=libexecdir ;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir=$ac_optarg ;;
469
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev=localstatedir ;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir=$ac_optarg ;;
478
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
480 ac_prev=mandir ;;
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
482 mandir=$ac_optarg ;;
483
484 -nfp | --nfp | --nf)
485 # Obsolete; use --without-fp.
486 with_fp=no ;;
487
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
490 no_create=yes ;;
491
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
494 no_recursion=yes ;;
495
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev=oldincludedir ;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir=$ac_optarg ;;
504
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
506 ac_prev=prefix ;;
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
508 prefix=$ac_optarg ;;
509
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev=program_prefix ;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix=$ac_optarg ;;
516
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev=program_suffix ;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix=$ac_optarg ;;
523
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev=program_transform_name ;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name=$ac_optarg ;;
540
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
543 silent=yes ;;
544
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
546 ac_prev=sbindir ;;
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
548 | --sbi=* | --sb=*)
549 sbindir=$ac_optarg ;;
550
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
554 | --sha | --sh)
555 ac_prev=sharedstatedir ;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
559 | --sha=* | --sh=*)
560 sharedstatedir=$ac_optarg ;;
561
562 -site | --site | --sit)
563 ac_prev=site ;;
564 -site=* | --site=* | --sit=*)
565 site=$ac_optarg ;;
566
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
568 ac_prev=srcdir ;;
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
570 srcdir=$ac_optarg ;;
571
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev=sysconfdir ;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir=$ac_optarg ;;
578
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev=target_alias ;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias=$ac_optarg ;;
583
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
585 verbose=yes ;;
586
587 -version | --version | --versio | --versi | --vers | -V)
588 ac_init_version=: ;;
589
590 -with-* | --with-*)
591 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package=`echo $ac_package| sed 's/-/_/g'`
597 case $ac_option in
598 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 *) ac_optarg=yes ;;
600 esac
601 eval "with_$ac_package='$ac_optarg'" ;;
602
603 -without-* | --without-*)
604 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
611
612 --x)
613 # Obsolete; use --with-x.
614 with_x=yes ;;
615
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev=x_includes ;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes=$ac_optarg ;;
622
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev=x_libraries ;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries=$ac_optarg ;;
629
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
633 ;;
634
635 *=*)
636 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
643 export $ac_envvar ;;
644
645 *)
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 ;;
652
653 esac
654 done
655
656 if test -n "$ac_prev"; then
657 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
660 fi
661
662 # Be sure to have absolute paths.
663 for ac_var in exec_prefix prefix
664 do
665 eval ac_val=$`echo $ac_var`
666 case $ac_val in
667 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
670 esac
671 done
672
673 # Be sure to have absolute paths.
674 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
676 do
677 eval ac_val=$`echo $ac_var`
678 case $ac_val in
679 [\\/$]* | ?:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
682 esac
683 done
684
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
688 build=$build_alias
689 host=$host_alias
690 target=$target_alias
691
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x; then
694 if test "x$build_alias" = x; then
695 cross_compiling=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
699 cross_compiling=yes
700 fi
701 fi
702
703 ac_tool_prefix=
704 test -n "$host_alias" && ac_tool_prefix=$host_alias-
705
706 test "$silent" = yes && exec 6>/dev/null
707
708
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
719 echo X"$0" |
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
724 s/.*/./; q'`
725 srcdir=$ac_confdir
726 if test ! -r $srcdir/$ac_unique_file; then
727 srcdir=..
728 fi
729 else
730 ac_srcdir_defaulted=no
731 fi
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
736 else
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
739 fi
740 fi
741 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set=${build_alias+set}
746 ac_env_build_alias_value=$build_alias
747 ac_cv_env_build_alias_set=${build_alias+set}
748 ac_cv_env_build_alias_value=$build_alias
749 ac_env_host_alias_set=${host_alias+set}
750 ac_env_host_alias_value=$host_alias
751 ac_cv_env_host_alias_set=${host_alias+set}
752 ac_cv_env_host_alias_value=$host_alias
753 ac_env_target_alias_set=${target_alias+set}
754 ac_env_target_alias_value=$target_alias
755 ac_cv_env_target_alias_set=${target_alias+set}
756 ac_cv_env_target_alias_value=$target_alias
757 ac_env_CC_set=${CC+set}
758 ac_env_CC_value=$CC
759 ac_cv_env_CC_set=${CC+set}
760 ac_cv_env_CC_value=$CC
761 ac_env_CFLAGS_set=${CFLAGS+set}
762 ac_env_CFLAGS_value=$CFLAGS
763 ac_cv_env_CFLAGS_set=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value=$CFLAGS
765 ac_env_LDFLAGS_set=${LDFLAGS+set}
766 ac_env_LDFLAGS_value=$LDFLAGS
767 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value=$LDFLAGS
769 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
773 ac_env_CPP_set=${CPP+set}
774 ac_env_CPP_value=$CPP
775 ac_cv_env_CPP_set=${CPP+set}
776 ac_cv_env_CPP_value=$CPP
777 ac_env_CXX_set=${CXX+set}
778 ac_env_CXX_value=$CXX
779 ac_cv_env_CXX_set=${CXX+set}
780 ac_cv_env_CXX_value=$CXX
781 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
785 ac_env_CXXCPP_set=${CXXCPP+set}
786 ac_env_CXXCPP_value=$CXXCPP
787 ac_cv_env_CXXCPP_set=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value=$CXXCPP
789
790 #
791 # Report the --help message.
792 #
793 if test "$ac_init_help" = "long"; then
794 # Omit some internal or obsolete options to make the list less imposing.
795 # This message is too long to be a string in the A/UX 3.1 sh.
796 cat <<_ACEOF
797 \`configure' configures wxWidgets 2.5.3 to adapt to many kinds of systems.
798
799 Usage: $0 [OPTION]... [VAR=VALUE]...
800
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
803
804 Defaults for the options are specified in brackets.
805
806 Configuration:
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
816
817 _ACEOF
818
819 cat <<_ACEOF
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
822 [$ac_default_prefix]
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
824 [PREFIX]
825
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
830
831 For better control, use the options below.
832
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
846 _ACEOF
847
848 cat <<\_ACEOF
849
850 X features:
851 --x-includes=DIR X include files are in DIR
852 --x-libraries=DIR X library files are in DIR
853
854 System types:
855 --build=BUILD configure for building on BUILD [guessed]
856 --host=HOST cross-compile to build programs to run on HOST [BUILD]
857 --target=TARGET configure for building compilers for TARGET [HOST]
858 _ACEOF
859 fi
860
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short | recursive ) echo "Configuration of wxWidgets 2.5.3:";;
864 esac
865 cat <<\_ACEOF
866
867 Optional Features:
868 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
869 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --disable-gtk2 use GTK+ 1.2 instead of 2.0
876 --enable-gpe use GNOME PDA Environment features if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-compat22 enable wxWidgets 2.2 compatibility
893 --disable-compat24 disable wxWidgets 2.4 compatibility
894 --disable-rpath disable use of rpath for uninstalled builds
895 --enable-intl use internationalization system
896 --enable-config use wxConfig (and derived) classes
897 --enable-protocols use wxProtocol and derived classes
898 --enable-ftp use wxFTP (requires wxProtocol
899 --enable-http use wxHTTP (requires wxProtocol
900 --enable-fileproto use wxFileProto class (requires wxProtocol
901 --enable-sockets use socket/network classes
902 --enable-ole use OLE classes (Win32 only)
903 --enable-dataobj use data object classes
904 --enable-ipc use interprocess communication (wxSocket etc.)
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
907 --enable-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-xrc use XRC resources sub-library
948 --enable-constraints use layout-constraints system
949 --enable-printarch use printing architecture
950 --enable-mdi use multiple document interface architecture
951 --enable-mdidoc use docview architecture with MDI
952 --enable-loggui use standard GUI logger
953 --enable-logwin use wxLogWindow
954 --enable-logdialog use wxLogDialog
955 --enable-webkit use wxWebKitCtrl (Mac)
956 --enable-postscript use wxPostscriptDC device context (default for gtk+)
957 --enable-prologio not available; see contrib
958 --enable-resources not available; see contrib
959 --enable-clipboard use wxClipboard class
960 --enable-dnd use Drag'n'Drop classes
961 --enable-metafile use win32 metafiles
962 --enable-controls use all usual controls
963 --enable-accel use accelerators
964 --enable-button use wxButton class
965 --enable-bmpbutton use wxBitmapButton class
966 --enable-calendar use wxCalendarCtrl class
967 --enable-caret use wxCaret class
968 --enable-checkbox use wxCheckBox class
969 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
970 --enable-choice use wxChoice class
971 --enable-choicebook use wxChoicebook class
972 --enable-combobox use wxComboBox class
973 --enable-display use wxDisplay class
974 --enable-gauge use wxGauge class
975 --enable-grid use wxGrid class
976 --enable-imaglist use wxImageList class
977 --enable-listbook use wxListbook class
978 --enable-listbox use wxListBox class
979 --enable-listctrl use wxListCtrl class
980 --enable-notebook use wxNotebook class
981 --enable-radiobox use wxRadioBox class
982 --enable-radiobtn use wxRadioButton class
983 --enable-sash use wxSashWindow class
984 --enable-scrollbar use wxScrollBar class and scrollable windows
985 --enable-slider use wxSlider class
986 --enable-spinbtn use wxSpinButton class
987 --enable-spinctrl use wxSpinCtrl class
988 --enable-splitter use wxSplitterWindow class
989 --enable-statbmp use wxStaticBitmap class
990 --enable-statbox use wxStaticBox class
991 --enable-statline use wxStaticLine class
992 --enable-stattext use wxStaticText class
993 --enable-statusbar use wxStatusBar class
994 --enable-tabdialog use wxTabControl class
995 --enable-textctrl use wxTextCtrl class
996 --enable-togglebtn use wxToggleButton class
997 --enable-toolbar use wxToolBar class
998 --enable-tbarnative use native wxToolBar class
999 --enable-tbarsmpl use wxToolBarSimple class
1000 --enable-treectrl use wxTreeCtrl class
1001 --enable-tipwindow use wxTipWindow class
1002 --enable-popupwin use wxPopUpWindow class
1003 --enable-commondlg use all common dialogs
1004 --enable-choicedlg use wxChoiceDialog
1005 --enable-coldlg use wxColourDialog
1006 --enable-filedlg use wxFileDialog
1007 --enable-finddlg use wxFindReplaceDialog
1008 --enable-fontdlg use wxFontDialog
1009 --enable-dirdlg use wxDirDialog
1010 --enable-msgdlg use wxMessageDialog
1011 --enable-numberdlg use wxNumberEntryDialog
1012 --enable-splash use wxSplashScreen
1013 --enable-textdlg use wxTextDialog
1014 --enable-tipdlg use startup tips
1015 --enable-progressdlg use wxProgressDialog
1016 --enable-wizarddlg use wxWizard
1017 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1018 --enable-miniframe use wxMiniFrame class
1019 --enable-tooltips use wxToolTip class
1020 --enable-splines use spline drawing code
1021 --enable-validators use wxValidator and derived classes
1022 --enable-busyinfo use wxBusyInfo
1023 --enable-joystick use wxJoystick (Linux only)
1024 --enable-metafiles use wxMetaFile (Windows only)
1025 --enable-dragimage use wxDragImage
1026 --enable-accessibility enable accessibility support
1027 --enable-palette use wxPalette class
1028 --enable-image use wxImage class
1029 --enable-gif use gif images (GIF file format)
1030 --enable-pcx use pcx images (PCX file format)
1031 --enable-iff use iff images (IFF file format)
1032 --enable-pnm use pnm images (PNM file format)
1033 --enable-xpm use xpm images (XPM file format)
1034 --enable-icocur use Windows ICO and CUR formats
1035 --enable-official_build official build of wxWidgets (win32 DLL only)
1036 --enable-vendor=VENDOR vendor name (win32 DLL only)
1037 --disable-largefile omit support for large files
1038 --disable-gtktest do not try to compile and run a test GTK+ program
1039 --disable-gtktest Do not try to compile and run a test GTK program
1040 --disable-sdltest Do not try to compile and run a test SDL program
1041 --enable-omf use OMF object format (OS/2)
1042 --disable-precomp-headers
1043 don't use precompiled headers even if compiler can
1044
1045 Optional Packages:
1046 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1047 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1048 --with-gtk use GTK+
1049 --with-motif use Motif/Lesstif
1050 --with-mac use Mac OS X
1051 --with-cocoa use Cocoa
1052 --with-wine use Wine
1053 --with-msw use MS-Windows
1054 --with-pm use OS/2 Presentation Manager
1055 --with-mgl use SciTech MGL
1056 --with-microwin use MicroWindows
1057 --with-x11 use X11
1058 --with-libpng use libpng (PNG image format)
1059 --with-libjpeg use libjpeg (JPEG file format)
1060 --with-libtiff use libtiff (TIFF file format)
1061 --with-libxpm use libxpm (XPM file format)
1062 --with-libmspack use libmspack (CHM help files loading)
1063 --with-sdl use SDL for audio on Unix
1064 --with-opengl use OpenGL (or Mesa)
1065 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1066 --with-regex enable support for wxRegEx class
1067 --with-zlib use zlib for LZW compression
1068 --with-odbc use the IODBC and wxODBC classes
1069 --with-expat enable XML support using expat parser
1070 --with-flavour=NAME specify a name to identify this build
1071 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1072 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1073 --with-x use the X Window System
1074 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1075 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1076 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1077 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1078 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1079
1080 Some influential environment variables:
1081 CC C compiler command
1082 CFLAGS C compiler flags
1083 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1084 nonstandard directory <lib dir>
1085 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1086 headers in a nonstandard directory <include dir>
1087 CPP C preprocessor
1088 CXX C++ compiler command
1089 CXXFLAGS C++ compiler flags
1090 CXXCPP C++ preprocessor
1091
1092 Use these variables to override the choices made by `configure' or to help
1093 it to find libraries and programs with nonstandard names/locations.
1094
1095 Report bugs to <wx-dev@lists.wxwidgets.org>.
1096 _ACEOF
1097 fi
1098
1099 if test "$ac_init_help" = "recursive"; then
1100 # If there are subdirs, report their specific --help.
1101 ac_popdir=`pwd`
1102 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1103 test -d $ac_dir || continue
1104 ac_builddir=.
1105
1106 if test "$ac_dir" != .; then
1107 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1108 # A "../" for each directory in $ac_dir_suffix.
1109 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1110 else
1111 ac_dir_suffix= ac_top_builddir=
1112 fi
1113
1114 case $srcdir in
1115 .) # No --srcdir option. We are building in place.
1116 ac_srcdir=.
1117 if test -z "$ac_top_builddir"; then
1118 ac_top_srcdir=.
1119 else
1120 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1121 fi ;;
1122 [\\/]* | ?:[\\/]* ) # Absolute path.
1123 ac_srcdir=$srcdir$ac_dir_suffix;
1124 ac_top_srcdir=$srcdir ;;
1125 *) # Relative path.
1126 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1127 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1128 esac
1129
1130 # Do not use `cd foo && pwd` to compute absolute paths, because
1131 # the directories may not exist.
1132 case `pwd` in
1133 .) ac_abs_builddir="$ac_dir";;
1134 *)
1135 case "$ac_dir" in
1136 .) ac_abs_builddir=`pwd`;;
1137 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1138 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1139 esac;;
1140 esac
1141 case $ac_abs_builddir in
1142 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1143 *)
1144 case ${ac_top_builddir}. in
1145 .) ac_abs_top_builddir=$ac_abs_builddir;;
1146 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1147 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1148 esac;;
1149 esac
1150 case $ac_abs_builddir in
1151 .) ac_abs_srcdir=$ac_srcdir;;
1152 *)
1153 case $ac_srcdir in
1154 .) ac_abs_srcdir=$ac_abs_builddir;;
1155 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1156 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1157 esac;;
1158 esac
1159 case $ac_abs_builddir in
1160 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1161 *)
1162 case $ac_top_srcdir in
1163 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1164 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1165 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1166 esac;;
1167 esac
1168
1169 cd $ac_dir
1170 # Check for guested configure; otherwise get Cygnus style configure.
1171 if test -f $ac_srcdir/configure.gnu; then
1172 echo
1173 $SHELL $ac_srcdir/configure.gnu --help=recursive
1174 elif test -f $ac_srcdir/configure; then
1175 echo
1176 $SHELL $ac_srcdir/configure --help=recursive
1177 elif test -f $ac_srcdir/configure.ac ||
1178 test -f $ac_srcdir/configure.in; then
1179 echo
1180 $ac_configure --help
1181 else
1182 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1183 fi
1184 cd "$ac_popdir"
1185 done
1186 fi
1187
1188 test -n "$ac_init_help" && exit 0
1189 if $ac_init_version; then
1190 cat <<\_ACEOF
1191 wxWidgets configure 2.5.3
1192 generated by GNU Autoconf 2.59
1193
1194 Copyright (C) 2003 Free Software Foundation, Inc.
1195 This configure script is free software; the Free Software Foundation
1196 gives unlimited permission to copy, distribute and modify it.
1197 _ACEOF
1198 exit 0
1199 fi
1200 exec 5>config.log
1201 cat >&5 <<_ACEOF
1202 This file contains any messages produced by compilers while
1203 running configure, to aid debugging if configure makes a mistake.
1204
1205 It was created by wxWidgets $as_me 2.5.3, which was
1206 generated by GNU Autoconf 2.59. Invocation command line was
1207
1208 $ $0 $@
1209
1210 _ACEOF
1211 {
1212 cat <<_ASUNAME
1213 ## --------- ##
1214 ## Platform. ##
1215 ## --------- ##
1216
1217 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1218 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1219 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1220 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1221 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1222
1223 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1224 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1225
1226 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1227 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1228 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1229 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1230 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1231 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1232 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1233
1234 _ASUNAME
1235
1236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1237 for as_dir in $PATH
1238 do
1239 IFS=$as_save_IFS
1240 test -z "$as_dir" && as_dir=.
1241 echo "PATH: $as_dir"
1242 done
1243
1244 } >&5
1245
1246 cat >&5 <<_ACEOF
1247
1248
1249 ## ----------- ##
1250 ## Core tests. ##
1251 ## ----------- ##
1252
1253 _ACEOF
1254
1255
1256 # Keep a trace of the command line.
1257 # Strip out --no-create and --no-recursion so they do not pile up.
1258 # Strip out --silent because we don't want to record it for future runs.
1259 # Also quote any args containing shell meta-characters.
1260 # Make two passes to allow for proper duplicate-argument suppression.
1261 ac_configure_args=
1262 ac_configure_args0=
1263 ac_configure_args1=
1264 ac_sep=
1265 ac_must_keep_next=false
1266 for ac_pass in 1 2
1267 do
1268 for ac_arg
1269 do
1270 case $ac_arg in
1271 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1272 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1273 | -silent | --silent | --silen | --sile | --sil)
1274 continue ;;
1275 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1276 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1277 esac
1278 case $ac_pass in
1279 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1280 2)
1281 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1282 if test $ac_must_keep_next = true; then
1283 ac_must_keep_next=false # Got value, back to normal.
1284 else
1285 case $ac_arg in
1286 *=* | --config-cache | -C | -disable-* | --disable-* \
1287 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1288 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1289 | -with-* | --with-* | -without-* | --without-* | --x)
1290 case "$ac_configure_args0 " in
1291 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1292 esac
1293 ;;
1294 -* ) ac_must_keep_next=true ;;
1295 esac
1296 fi
1297 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1298 # Get rid of the leading space.
1299 ac_sep=" "
1300 ;;
1301 esac
1302 done
1303 done
1304 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1305 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1306
1307 # When interrupted or exit'd, cleanup temporary files, and complete
1308 # config.log. We remove comments because anyway the quotes in there
1309 # would cause problems or look ugly.
1310 # WARNING: Be sure not to use single quotes in there, as some shells,
1311 # such as our DU 5.0 friend, will then `close' the trap.
1312 trap 'exit_status=$?
1313 # Save into config.log some information that might help in debugging.
1314 {
1315 echo
1316
1317 cat <<\_ASBOX
1318 ## ---------------- ##
1319 ## Cache variables. ##
1320 ## ---------------- ##
1321 _ASBOX
1322 echo
1323 # The following way of writing the cache mishandles newlines in values,
1324 {
1325 (set) 2>&1 |
1326 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1327 *ac_space=\ *)
1328 sed -n \
1329 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1330 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1331 ;;
1332 *)
1333 sed -n \
1334 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1335 ;;
1336 esac;
1337 }
1338 echo
1339
1340 cat <<\_ASBOX
1341 ## ----------------- ##
1342 ## Output variables. ##
1343 ## ----------------- ##
1344 _ASBOX
1345 echo
1346 for ac_var in $ac_subst_vars
1347 do
1348 eval ac_val=$`echo $ac_var`
1349 echo "$ac_var='"'"'$ac_val'"'"'"
1350 done | sort
1351 echo
1352
1353 if test -n "$ac_subst_files"; then
1354 cat <<\_ASBOX
1355 ## ------------- ##
1356 ## Output files. ##
1357 ## ------------- ##
1358 _ASBOX
1359 echo
1360 for ac_var in $ac_subst_files
1361 do
1362 eval ac_val=$`echo $ac_var`
1363 echo "$ac_var='"'"'$ac_val'"'"'"
1364 done | sort
1365 echo
1366 fi
1367
1368 if test -s confdefs.h; then
1369 cat <<\_ASBOX
1370 ## ----------- ##
1371 ## confdefs.h. ##
1372 ## ----------- ##
1373 _ASBOX
1374 echo
1375 sed "/^$/d" confdefs.h | sort
1376 echo
1377 fi
1378 test "$ac_signal" != 0 &&
1379 echo "$as_me: caught signal $ac_signal"
1380 echo "$as_me: exit $exit_status"
1381 } >&5
1382 rm -f core *.core &&
1383 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1384 exit $exit_status
1385 ' 0
1386 for ac_signal in 1 2 13 15; do
1387 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1388 done
1389 ac_signal=0
1390
1391 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1392 rm -rf conftest* confdefs.h
1393 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1394 echo >confdefs.h
1395
1396 # Predefined preprocessor variables.
1397
1398 cat >>confdefs.h <<_ACEOF
1399 #define PACKAGE_NAME "$PACKAGE_NAME"
1400 _ACEOF
1401
1402
1403 cat >>confdefs.h <<_ACEOF
1404 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1405 _ACEOF
1406
1407
1408 cat >>confdefs.h <<_ACEOF
1409 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1410 _ACEOF
1411
1412
1413 cat >>confdefs.h <<_ACEOF
1414 #define PACKAGE_STRING "$PACKAGE_STRING"
1415 _ACEOF
1416
1417
1418 cat >>confdefs.h <<_ACEOF
1419 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1420 _ACEOF
1421
1422
1423 # Let the site file select an alternate cache file if it wants to.
1424 # Prefer explicitly selected file to automatically selected ones.
1425 if test -z "$CONFIG_SITE"; then
1426 if test "x$prefix" != xNONE; then
1427 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1428 else
1429 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1430 fi
1431 fi
1432 for ac_site_file in $CONFIG_SITE; do
1433 if test -r "$ac_site_file"; then
1434 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1435 echo "$as_me: loading site script $ac_site_file" >&6;}
1436 sed 's/^/| /' "$ac_site_file" >&5
1437 . "$ac_site_file"
1438 fi
1439 done
1440
1441 if test -r "$cache_file"; then
1442 # Some versions of bash will fail to source /dev/null (special
1443 # files actually), so we avoid doing that.
1444 if test -f "$cache_file"; then
1445 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1446 echo "$as_me: loading cache $cache_file" >&6;}
1447 case $cache_file in
1448 [\\/]* | ?:[\\/]* ) . $cache_file;;
1449 *) . ./$cache_file;;
1450 esac
1451 fi
1452 else
1453 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1454 echo "$as_me: creating cache $cache_file" >&6;}
1455 >$cache_file
1456 fi
1457
1458 # Check that the precious variables saved in the cache have kept the same
1459 # value.
1460 ac_cache_corrupted=false
1461 for ac_var in `(set) 2>&1 |
1462 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1463 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1464 eval ac_new_set=\$ac_env_${ac_var}_set
1465 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1466 eval ac_new_val="\$ac_env_${ac_var}_value"
1467 case $ac_old_set,$ac_new_set in
1468 set,)
1469 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1470 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1471 ac_cache_corrupted=: ;;
1472 ,set)
1473 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1474 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1475 ac_cache_corrupted=: ;;
1476 ,);;
1477 *)
1478 if test "x$ac_old_val" != "x$ac_new_val"; then
1479 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1480 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1481 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1482 echo "$as_me: former value: $ac_old_val" >&2;}
1483 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1484 echo "$as_me: current value: $ac_new_val" >&2;}
1485 ac_cache_corrupted=:
1486 fi;;
1487 esac
1488 # Pass precious variables to config.status.
1489 if test "$ac_new_set" = set; then
1490 case $ac_new_val in
1491 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1492 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1493 *) ac_arg=$ac_var=$ac_new_val ;;
1494 esac
1495 case " $ac_configure_args " in
1496 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1497 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1498 esac
1499 fi
1500 done
1501 if $ac_cache_corrupted; then
1502 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1503 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1504 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1505 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1506 { (exit 1); exit 1; }; }
1507 fi
1508
1509 ac_ext=c
1510 ac_cpp='$CPP $CPPFLAGS'
1511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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
1541
1542
1543
1544 ac_aux_dir=
1545 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1546 if 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/install.sh; then
1551 ac_aux_dir=$ac_dir
1552 ac_install_sh="$ac_aux_dir/install.sh -c"
1553 break
1554 elif test -f $ac_dir/shtool; then
1555 ac_aux_dir=$ac_dir
1556 ac_install_sh="$ac_aux_dir/shtool install -c"
1557 break
1558 fi
1559 done
1560 if test -z "$ac_aux_dir"; then
1561 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1562 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1563 { (exit 1); exit 1; }; }
1564 fi
1565 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1566 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1567 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1568
1569 # Make sure we can run config.sub.
1570 $ac_config_sub sun4 >/dev/null 2>&1 ||
1571 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1572 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1573 { (exit 1); exit 1; }; }
1574
1575 echo "$as_me:$LINENO: checking build system type" >&5
1576 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1577 if test "${ac_cv_build+set}" = set; then
1578 echo $ECHO_N "(cached) $ECHO_C" >&6
1579 else
1580 ac_cv_build_alias=$build_alias
1581 test -z "$ac_cv_build_alias" &&
1582 ac_cv_build_alias=`$ac_config_guess`
1583 test -z "$ac_cv_build_alias" &&
1584 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1585 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1586 { (exit 1); exit 1; }; }
1587 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1588 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1589 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1590 { (exit 1); exit 1; }; }
1591
1592 fi
1593 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1594 echo "${ECHO_T}$ac_cv_build" >&6
1595 build=$ac_cv_build
1596 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1597 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1598 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1599
1600
1601 echo "$as_me:$LINENO: checking host system type" >&5
1602 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1603 if test "${ac_cv_host+set}" = set; then
1604 echo $ECHO_N "(cached) $ECHO_C" >&6
1605 else
1606 ac_cv_host_alias=$host_alias
1607 test -z "$ac_cv_host_alias" &&
1608 ac_cv_host_alias=$ac_cv_build_alias
1609 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1610 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1611 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1612 { (exit 1); exit 1; }; }
1613
1614 fi
1615 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1616 echo "${ECHO_T}$ac_cv_host" >&6
1617 host=$ac_cv_host
1618 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1619 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1620 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1621
1622
1623 echo "$as_me:$LINENO: checking target system type" >&5
1624 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1625 if test "${ac_cv_target+set}" = set; then
1626 echo $ECHO_N "(cached) $ECHO_C" >&6
1627 else
1628 ac_cv_target_alias=$target_alias
1629 test "x$ac_cv_target_alias" = "x" &&
1630 ac_cv_target_alias=$ac_cv_host_alias
1631 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1632 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1633 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1634 { (exit 1); exit 1; }; }
1635
1636 fi
1637 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1638 echo "${ECHO_T}$ac_cv_target" >&6
1639 target=$ac_cv_target
1640 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1641 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1642 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1643
1644
1645 # The aliases save the names the user supplied, while $host etc.
1646 # will get canonicalized.
1647 test -n "$target_alias" &&
1648 test "$program_prefix$program_suffix$program_transform_name" = \
1649 NONENONEs,x,x, &&
1650 program_prefix=${target_alias}-
1651
1652
1653
1654 wx_major_version_number=2
1655 wx_minor_version_number=5
1656 wx_release_number=3
1657 wx_subrelease_number=1
1658
1659 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1660 WX_VERSION=$WX_RELEASE.$wx_release_number
1661 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1662
1663 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1664
1665 WX_CURRENT=4
1666 WX_REVISION=0
1667 WX_AGE=1
1668
1669
1670
1671 USE_UNIX=1
1672 USE_OS2=0
1673 USE_WIN32=0
1674 USE_DOS=0
1675 USE_BEOS=0
1676 USE_MAC=0
1677
1678 USE_AIX=
1679 USE_BSD= USE_DARWIN= USE_FREEBSD=
1680 USE_GNU= USE_HPUX=
1681 USE_LINUX=
1682 USE_NETBSD=
1683 USE_OPENBSD=
1684 USE_OSF= USE_SGI=
1685 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1686 USE_ULTRIX=
1687 USE_UNIXWARE=
1688
1689 USE_ALPHA=
1690
1691 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1692
1693 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1694
1695 DEFAULT_wxUSE_COCOA=0
1696 DEFAULT_wxUSE_GTK=0
1697 DEFAULT_wxUSE_MAC=0
1698 DEFAULT_wxUSE_MGL=0
1699 DEFAULT_wxUSE_MICROWIN=0
1700 DEFAULT_wxUSE_MOTIF=0
1701 DEFAULT_wxUSE_MSW=0
1702 DEFAULT_wxUSE_PM=0
1703 DEFAULT_wxUSE_X11=0
1704
1705 DEFAULT_DEFAULT_wxUSE_COCOA=0
1706 DEFAULT_DEFAULT_wxUSE_GTK=0
1707 DEFAULT_DEFAULT_wxUSE_MAC=0
1708 DEFAULT_DEFAULT_wxUSE_MGL=0
1709 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1710 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1711 DEFAULT_DEFAULT_wxUSE_MSW=0
1712 DEFAULT_DEFAULT_wxUSE_PM=0
1713 DEFAULT_DEFAULT_wxUSE_X11=0
1714
1715 PROGRAM_EXT=
1716 SO_SUFFIX=so
1717 SAMPLES_RPATH_FLAG=
1718 SAMPLES_RPATH_POSTLINK=
1719
1720 case "${host}" in
1721 *-hp-hpux* )
1722 USE_HPUX=1
1723 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1724 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1725 SO_SUFFIX=sl
1726 cat >>confdefs.h <<\_ACEOF
1727 #define __HPUX__ 1
1728 _ACEOF
1729
1730 ;;
1731 *-*-linux* )
1732 USE_LINUX=1
1733 cat >>confdefs.h <<\_ACEOF
1734 #define __LINUX__ 1
1735 _ACEOF
1736
1737 TMP=`uname -m`
1738 if test "x$TMP" = "xalpha"; then
1739 USE_ALPHA=1
1740 cat >>confdefs.h <<\_ACEOF
1741 #define __ALPHA__ 1
1742 _ACEOF
1743
1744 fi
1745 DEFAULT_DEFAULT_wxUSE_GTK=1
1746 ;;
1747 *-*-gnu* | *-*-k*bsd*-gnu )
1748 USE_GNU=1
1749 TMP=`uname -m`
1750 if test "x$TMP" = "xalpha"; then
1751 USE_ALPHA=1
1752 cat >>confdefs.h <<\_ACEOF
1753 #define __ALPHA__ 1
1754 _ACEOF
1755
1756 fi
1757 DEFAULT_DEFAULT_wxUSE_GTK=1
1758 ;;
1759 *-*-irix5* | *-*-irix6* )
1760 USE_SGI=1
1761 USE_SVR4=1
1762 cat >>confdefs.h <<\_ACEOF
1763 #define __SGI__ 1
1764 _ACEOF
1765
1766 cat >>confdefs.h <<\_ACEOF
1767 #define __SVR4__ 1
1768 _ACEOF
1769
1770 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1771 ;;
1772 *-*-solaris2* )
1773 USE_SUN=1
1774 USE_SOLARIS=1
1775 USE_SVR4=1
1776 cat >>confdefs.h <<\_ACEOF
1777 #define __SUN__ 1
1778 _ACEOF
1779
1780 cat >>confdefs.h <<\_ACEOF
1781 #define __SOLARIS__ 1
1782 _ACEOF
1783
1784 cat >>confdefs.h <<\_ACEOF
1785 #define __SVR4__ 1
1786 _ACEOF
1787
1788 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1789 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1790 ;;
1791 *-*-sunos4* )
1792 USE_SUN=1
1793 USE_SUNOS=1
1794 USE_BSD=1
1795 cat >>confdefs.h <<\_ACEOF
1796 #define __SUN__ 1
1797 _ACEOF
1798
1799 cat >>confdefs.h <<\_ACEOF
1800 #define __SUNOS__ 1
1801 _ACEOF
1802
1803 cat >>confdefs.h <<\_ACEOF
1804 #define __BSD__ 1
1805 _ACEOF
1806
1807 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1808 ;;
1809 *-*-freebsd*)
1810 USE_BSD=1
1811 USE_FREEBSD=1
1812 cat >>confdefs.h <<\_ACEOF
1813 #define __FREEBSD__ 1
1814 _ACEOF
1815
1816 cat >>confdefs.h <<\_ACEOF
1817 #define __BSD__ 1
1818 _ACEOF
1819
1820 DEFAULT_DEFAULT_wxUSE_GTK=1
1821 ;;
1822 *-*-openbsd*)
1823 USE_BSD=1
1824 USE_OPENBSD=1
1825 cat >>confdefs.h <<\_ACEOF
1826 #define __OPENBSD__ 1
1827 _ACEOF
1828
1829 cat >>confdefs.h <<\_ACEOF
1830 #define __BSD__ 1
1831 _ACEOF
1832
1833 DEFAULT_DEFAULT_wxUSE_GTK=1
1834 ;;
1835 *-*-netbsd*)
1836 USE_BSD=1
1837 USE_NETBSD=1
1838 cat >>confdefs.h <<\_ACEOF
1839 #define __NETBSD__ 1
1840 _ACEOF
1841
1842 cat >>confdefs.h <<\_ACEOF
1843 #define __BSD__ 1
1844 _ACEOF
1845
1846 DEFAULT_DEFAULT_wxUSE_GTK=1
1847 ;;
1848 *-*-osf* )
1849 USE_ALPHA=1
1850 USE_OSF=1
1851 cat >>confdefs.h <<\_ACEOF
1852 #define __ALPHA__ 1
1853 _ACEOF
1854
1855 cat >>confdefs.h <<\_ACEOF
1856 #define __OSF__ 1
1857 _ACEOF
1858
1859 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1860 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1861 ;;
1862 *-*-dgux5* )
1863 USE_ALPHA=1
1864 USE_SVR4=1
1865 cat >>confdefs.h <<\_ACEOF
1866 #define __ALPHA__ 1
1867 _ACEOF
1868
1869 cat >>confdefs.h <<\_ACEOF
1870 #define __SVR4__ 1
1871 _ACEOF
1872
1873 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1874 ;;
1875 *-*-sysv5* )
1876 USE_SYSV=1
1877 USE_SVR4=1
1878 cat >>confdefs.h <<\_ACEOF
1879 #define __SYSV__ 1
1880 _ACEOF
1881
1882 cat >>confdefs.h <<\_ACEOF
1883 #define __SVR4__ 1
1884 _ACEOF
1885
1886 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1887 ;;
1888 *-*-aix* )
1889 USE_AIX=1
1890 USE_SYSV=1
1891 USE_SVR4=1
1892 SO_SUFFIX=a
1893 cat >>confdefs.h <<\_ACEOF
1894 #define __AIX__ 1
1895 _ACEOF
1896
1897 cat >>confdefs.h <<\_ACEOF
1898 #define __SYSV__ 1
1899 _ACEOF
1900
1901 cat >>confdefs.h <<\_ACEOF
1902 #define __SVR4__ 1
1903 _ACEOF
1904
1905 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1906 ;;
1907
1908 *-*-*UnixWare*)
1909 USE_SYSV=1
1910 USE_SVR4=1
1911 USE_UNIXWARE=1
1912 cat >>confdefs.h <<\_ACEOF
1913 #define __UNIXWARE__ 1
1914 _ACEOF
1915
1916 ;;
1917
1918 *-*-cygwin* | *-*-mingw32* )
1919 SO_SUFFIX=dll
1920 PROGRAM_EXT=".exe"
1921 RESCOMP=windres
1922 DEFAULT_DEFAULT_wxUSE_MSW=1
1923 ;;
1924
1925 *-pc-msdosdjgpp )
1926 USE_UNIX=0
1927 USE_DOS=1
1928 cat >>confdefs.h <<\_ACEOF
1929 #define __DOS__ 1
1930 _ACEOF
1931
1932 PROGRAM_EXT=".exe"
1933 DEFAULT_DEFAULT_wxUSE_MGL=1
1934 LIBS="$LIBS -lstdc++"
1935 ;;
1936
1937 *-pc-os2_emx | *-pc-os2-emx )
1938 cat >>confdefs.h <<\_ACEOF
1939 #define __EMX__ 1
1940 _ACEOF
1941
1942 USE_OS2=1
1943 cat >>confdefs.h <<\_ACEOF
1944 #define __OS2__ 1
1945 _ACEOF
1946
1947 PROGRAM_EXT=".exe"
1948 DEFAULT_DEFAULT_wxUSE_PM=1
1949 CXX=gcc
1950 LDFLAGS="$LDFLAGS -Zcrtdll"
1951 ac_executable_extensions=".exe"
1952 export ac_executable_extensions
1953 ac_save_IFS="$IFS"
1954 IFS='\\'
1955 ac_TEMP_PATH=
1956 for ac_dir in $PATH; do
1957 IFS=$ac_save_IFS
1958 if test -z "$ac_TEMP_PATH"; then
1959 ac_TEMP_PATH="$ac_dir"
1960 else
1961 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1962 fi
1963 done
1964 export PATH="$ac_TEMP_PATH"
1965 unset ac_TEMP_PATH
1966 ;;
1967
1968 powerpc-*-darwin* )
1969 USE_BSD=1
1970 USE_DARWIN=1
1971 SO_SUFFIX=dylib
1972 cat >>confdefs.h <<\_ACEOF
1973 #define __BSD__ 1
1974 _ACEOF
1975
1976 cat >>confdefs.h <<\_ACEOF
1977 #define __DARWIN__ 1
1978 _ACEOF
1979
1980 cat >>confdefs.h <<\_ACEOF
1981 #define __POWERPC__ 1
1982 _ACEOF
1983
1984 cat >>confdefs.h <<\_ACEOF
1985 #define TARGET_CARBON 1
1986 _ACEOF
1987
1988 DEFAULT_DEFAULT_wxUSE_MAC=1
1989 ;;
1990
1991 *-*-beos* )
1992 USE_BEOS=1
1993 cat >>confdefs.h <<\_ACEOF
1994 #define __BEOS__ 1
1995 _ACEOF
1996
1997 ;;
1998
1999 *)
2000 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2001 echo "$as_me: error: unknown system type ${host}." >&2;}
2002 { (exit 1); exit 1; }; }
2003 esac
2004
2005
2006
2007
2008 wx_arg_cache_file="configarg.cache"
2009 echo "loading argument cache $wx_arg_cache_file"
2010 rm -f ${wx_arg_cache_file}.tmp
2011 touch ${wx_arg_cache_file}.tmp
2012 touch ${wx_arg_cache_file}
2013
2014
2015 DEBUG_CONFIGURE=0
2016 if test $DEBUG_CONFIGURE = 1; then
2017 DEFAULT_wxUSE_UNIVERSAL=no
2018 DEFAULT_wxUSE_STL=no
2019
2020 DEFAULT_wxUSE_NANOX=no
2021
2022 DEFAULT_wxUSE_THREADS=yes
2023
2024 DEFAULT_wxUSE_SHARED=yes
2025 DEFAULT_wxUSE_OPTIMISE=no
2026 DEFAULT_wxUSE_PROFILE=no
2027 DEFAULT_wxUSE_NO_DEPS=no
2028 DEFAULT_wxUSE_NO_RTTI=no
2029 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2030 DEFAULT_wxUSE_RPATH=yes
2031 DEFAULT_wxUSE_PERMISSIVE=no
2032 DEFAULT_wxUSE_DEBUG_FLAG=yes
2033 DEFAULT_wxUSE_DEBUG_INFO=yes
2034 DEFAULT_wxUSE_DEBUG_GDB=yes
2035 DEFAULT_wxUSE_MEM_TRACING=no
2036 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2037 DEFAULT_wxUSE_DMALLOC=no
2038 DEFAULT_wxUSE_APPLE_IEEE=no
2039
2040 DEFAULT_wxUSE_EXCEPTIONS=no
2041 DEFAULT_wxUSE_LOG=yes
2042 DEFAULT_wxUSE_LOGWINDOW=no
2043 DEFAULT_wxUSE_LOGGUI=no
2044 DEFAULT_wxUSE_LOGDIALOG=no
2045
2046 DEFAULT_wxUSE_GUI=yes
2047 DEFAULT_wxUSE_CONTROLS=no
2048
2049 DEFAULT_wxUSE_REGEX=no
2050 DEFAULT_wxUSE_XML=no
2051 DEFAULT_wxUSE_EXPAT=no
2052 DEFAULT_wxUSE_ZLIB=no
2053 DEFAULT_wxUSE_LIBPNG=no
2054 DEFAULT_wxUSE_LIBJPEG=no
2055 DEFAULT_wxUSE_LIBTIFF=no
2056 DEFAULT_wxUSE_LIBXPM=no
2057 DEFAULT_wxUSE_LIBMSPACK=no
2058 DEFAULT_wxUSE_LIBSDL=no
2059 DEFAULT_wxUSE_ODBC=no
2060 DEFAULT_wxUSE_OPENGL=no
2061
2062 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2063 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2064 DEFAULT_wxUSE_STD_IOSTREAM=no
2065 DEFAULT_wxUSE_CMDLINE_PARSER=no
2066 DEFAULT_wxUSE_DATETIME=no
2067 DEFAULT_wxUSE_TIMER=no
2068 DEFAULT_wxUSE_STOPWATCH=no
2069 DEFAULT_wxUSE_FILE=no
2070 DEFAULT_wxUSE_FFILE=no
2071 DEFAULT_wxUSE_TEXTBUFFER=no
2072 DEFAULT_wxUSE_TEXTFILE=no
2073 DEFAULT_wxUSE_SOUND=no
2074 DEFAULT_wxUSE_INTL=no
2075 DEFAULT_wxUSE_CONFIG=no
2076 DEFAULT_wxUSE_FONTMAP=no
2077 DEFAULT_wxUSE_STREAMS=no
2078 DEFAULT_wxUSE_SOCKETS=no
2079 DEFAULT_wxUSE_OLE=no
2080 DEFAULT_wxUSE_DATAOBJ=no
2081 DEFAULT_wxUSE_DIALUP_MANAGER=no
2082 DEFAULT_wxUSE_JOYSTICK=no
2083 DEFAULT_wxUSE_DYNLIB_CLASS=no
2084 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2085 DEFAULT_wxUSE_LONGLONG=no
2086 DEFAULT_wxUSE_GEOMETRY=no
2087
2088 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2089 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2090 DEFAULT_wxUSE_POSTSCRIPT=no
2091
2092 DEFAULT_wxUSE_CLIPBOARD=no
2093 DEFAULT_wxUSE_TOOLTIPS=no
2094 DEFAULT_wxUSE_DRAG_AND_DROP=no
2095 DEFAULT_wxUSE_DRAGIMAGE=no
2096 DEFAULT_wxUSE_SPLINES=no
2097
2098 DEFAULT_wxUSE_MDI=no
2099 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2100 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2101 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2102
2103 DEFAULT_wxUSE_RESOURCES=no
2104 DEFAULT_wxUSE_CONSTRAINTS=no
2105 DEFAULT_wxUSE_IPC=no
2106 DEFAULT_wxUSE_HELP=no
2107 DEFAULT_wxUSE_MS_HTML_HELP=no
2108 DEFAULT_wxUSE_WXHTML_HELP=no
2109 DEFAULT_wxUSE_TREELAYOUT=no
2110 DEFAULT_wxUSE_METAFILE=no
2111 DEFAULT_wxUSE_MIMETYPE=no
2112 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2113 DEFAULT_wxUSE_PROTOCOL=no
2114 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2115 DEFAULT_wxUSE_PROTOCOL_FTP=no
2116 DEFAULT_wxUSE_PROTOCOL_FILE=no
2117 DEFAULT_wxUSE_URL=no
2118
2119 DEFAULT_wxUSE_COMMONDLGS=no
2120 DEFAULT_wxUSE_CHOICEDLG=no
2121 DEFAULT_wxUSE_COLOURDLG=no
2122 DEFAULT_wxUSE_DIRDLG=no
2123 DEFAULT_wxUSE_FILEDLG=no
2124 DEFAULT_wxUSE_FINDREPLDLG=no
2125 DEFAULT_wxUSE_FONTDLG=no
2126 DEFAULT_wxUSE_MSGDLG=no
2127 DEFAULT_wxUSE_NUMBERDLG=no
2128 DEFAULT_wxUSE_TEXTDLG=no
2129 DEFAULT_wxUSE_SPLASH=no
2130 DEFAULT_wxUSE_STARTUP_TIPS=no
2131 DEFAULT_wxUSE_PROGRESSDLG=no
2132 DEFAULT_wxUSE_WIZARDDLG=no
2133
2134 DEFAULT_wxUSE_MENUS=no
2135 DEFAULT_wxUSE_MINIFRAME=no
2136 DEFAULT_wxUSE_HTML=no
2137 DEFAULT_wxUSE_XRC=no
2138 DEFAULT_wxUSE_WEBKIT=no
2139 DEFAULT_wxUSE_FILESYSTEM=no
2140 DEFAULT_wxUSE_FS_INET=no
2141 DEFAULT_wxUSE_FS_ZIP=no
2142 DEFAULT_wxUSE_BUSYINFO=no
2143 DEFAULT_wxUSE_ZIPSTREAM=no
2144 DEFAULT_wxUSE_VALIDATORS=no
2145
2146 DEFAULT_wxUSE_ACCEL=no
2147 DEFAULT_wxUSE_BUTTON=no
2148 DEFAULT_wxUSE_BMPBUTTON=no
2149 DEFAULT_wxUSE_CALCTRL=no
2150 DEFAULT_wxUSE_CARET=no
2151 DEFAULT_wxUSE_CHECKBOX=no
2152 DEFAULT_wxUSE_CHECKLST=no
2153 DEFAULT_wxUSE_CHOICE=no
2154 DEFAULT_wxUSE_CHOICEBOOK=no
2155 DEFAULT_wxUSE_COMBOBOX=no
2156 DEFAULT_wxUSE_DISPLAY=no
2157 DEFAULT_wxUSE_GAUGE=no
2158 DEFAULT_wxUSE_GRID=no
2159 DEFAULT_wxUSE_IMAGLIST=no
2160 DEFAULT_wxUSE_LISTBOOK=no
2161 DEFAULT_wxUSE_LISTBOX=no
2162 DEFAULT_wxUSE_LISTCTRL=no
2163 DEFAULT_wxUSE_NOTEBOOK=no
2164 DEFAULT_wxUSE_RADIOBOX=no
2165 DEFAULT_wxUSE_RADIOBTN=no
2166 DEFAULT_wxUSE_SASH=no
2167 DEFAULT_wxUSE_SCROLLBAR=no
2168 DEFAULT_wxUSE_SLIDER=no
2169 DEFAULT_wxUSE_SPINBTN=no
2170 DEFAULT_wxUSE_SPINCTRL=no
2171 DEFAULT_wxUSE_SPLITTER=no
2172 DEFAULT_wxUSE_STATBMP=no
2173 DEFAULT_wxUSE_STATBOX=no
2174 DEFAULT_wxUSE_STATLINE=no
2175 DEFAULT_wxUSE_STATTEXT=no
2176 DEFAULT_wxUSE_STATUSBAR=yes
2177 DEFAULT_wxUSE_TABDIALOG=no
2178 DEFAULT_wxUSE_TEXTCTRL=no
2179 DEFAULT_wxUSE_TOGGLEBTN=no
2180 DEFAULT_wxUSE_TOOLBAR=no
2181 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2182 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2183 DEFAULT_wxUSE_TREECTRL=no
2184 DEFAULT_wxUSE_POPUPWIN=no
2185 DEFAULT_wxUSE_TIPWINDOW=no
2186
2187 DEFAULT_wxUSE_UNICODE=no
2188 DEFAULT_wxUSE_UNICODE_MSLU=no
2189 DEFAULT_wxUSE_WCSRTOMBS=no
2190
2191 DEFAULT_wxUSE_PALETTE=no
2192 DEFAULT_wxUSE_IMAGE=no
2193 DEFAULT_wxUSE_GIF=no
2194 DEFAULT_wxUSE_PCX=no
2195 DEFAULT_wxUSE_PNM=no
2196 DEFAULT_wxUSE_IFF=no
2197 DEFAULT_wxUSE_XPM=no
2198 DEFAULT_wxUSE_ICO_CUR=no
2199 DEFAULT_wxUSE_ACCESSIBILITY=no
2200
2201 DEFAULT_wxUSE_MONOLITHIC=no
2202 DEFAULT_wxUSE_PLUGINS=no
2203 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2204 else
2205 DEFAULT_wxUSE_UNIVERSAL=no
2206 DEFAULT_wxUSE_STL=no
2207
2208 DEFAULT_wxUSE_NANOX=no
2209
2210 DEFAULT_wxUSE_THREADS=yes
2211
2212 DEFAULT_wxUSE_SHARED=yes
2213 DEFAULT_wxUSE_OPTIMISE=yes
2214 DEFAULT_wxUSE_PROFILE=no
2215 DEFAULT_wxUSE_NO_DEPS=no
2216 DEFAULT_wxUSE_NO_RTTI=no
2217 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2218 DEFAULT_wxUSE_RPATH=yes
2219 DEFAULT_wxUSE_PERMISSIVE=no
2220 DEFAULT_wxUSE_DEBUG_FLAG=no
2221 DEFAULT_wxUSE_DEBUG_INFO=no
2222 DEFAULT_wxUSE_DEBUG_GDB=no
2223 DEFAULT_wxUSE_MEM_TRACING=no
2224 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2225 DEFAULT_wxUSE_DMALLOC=no
2226 DEFAULT_wxUSE_APPLE_IEEE=yes
2227
2228 DEFAULT_wxUSE_EXCEPTIONS=yes
2229 DEFAULT_wxUSE_LOG=yes
2230 DEFAULT_wxUSE_LOGWINDOW=yes
2231 DEFAULT_wxUSE_LOGGUI=yes
2232 DEFAULT_wxUSE_LOGDIALOG=yes
2233
2234 DEFAULT_wxUSE_GUI=yes
2235
2236 DEFAULT_wxUSE_REGEX=yes
2237 DEFAULT_wxUSE_XML=yes
2238 DEFAULT_wxUSE_EXPAT=yes
2239 DEFAULT_wxUSE_ZLIB=yes
2240 DEFAULT_wxUSE_LIBPNG=yes
2241 DEFAULT_wxUSE_LIBJPEG=yes
2242 DEFAULT_wxUSE_LIBTIFF=yes
2243 DEFAULT_wxUSE_LIBXPM=yes
2244 DEFAULT_wxUSE_LIBMSPACK=yes
2245 DEFAULT_wxUSE_LIBSDL=no
2246 DEFAULT_wxUSE_ODBC=no
2247 DEFAULT_wxUSE_OPENGL=no
2248
2249 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2250 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2251 DEFAULT_wxUSE_STD_IOSTREAM=no
2252 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2253 DEFAULT_wxUSE_DATETIME=yes
2254 DEFAULT_wxUSE_TIMER=yes
2255 DEFAULT_wxUSE_STOPWATCH=yes
2256 DEFAULT_wxUSE_FILE=yes
2257 DEFAULT_wxUSE_FFILE=yes
2258 DEFAULT_wxUSE_TEXTBUFFER=yes
2259 DEFAULT_wxUSE_TEXTFILE=yes
2260 DEFAULT_wxUSE_SOUND=yes
2261 DEFAULT_wxUSE_INTL=yes
2262 DEFAULT_wxUSE_CONFIG=yes
2263 DEFAULT_wxUSE_FONTMAP=yes
2264 DEFAULT_wxUSE_STREAMS=yes
2265 DEFAULT_wxUSE_SOCKETS=yes
2266 DEFAULT_wxUSE_OLE=yes
2267 DEFAULT_wxUSE_DATAOBJ=yes
2268 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2269 DEFAULT_wxUSE_JOYSTICK=yes
2270 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2271 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2272 DEFAULT_wxUSE_LONGLONG=yes
2273 DEFAULT_wxUSE_GEOMETRY=yes
2274
2275 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2276 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2277 DEFAULT_wxUSE_POSTSCRIPT=yes
2278
2279 DEFAULT_wxUSE_CLIPBOARD=yes
2280 DEFAULT_wxUSE_TOOLTIPS=yes
2281 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2282 DEFAULT_wxUSE_DRAGIMAGE=yes
2283 DEFAULT_wxUSE_SPLINES=yes
2284
2285 DEFAULT_wxUSE_MDI=yes
2286 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2287 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2288 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2289
2290 DEFAULT_wxUSE_RESOURCES=no
2291 DEFAULT_wxUSE_CONSTRAINTS=yes
2292 DEFAULT_wxUSE_IPC=yes
2293 DEFAULT_wxUSE_HELP=yes
2294 DEFAULT_wxUSE_MS_HTML_HELP=yes
2295 DEFAULT_wxUSE_WXHTML_HELP=yes
2296 DEFAULT_wxUSE_TREELAYOUT=yes
2297 DEFAULT_wxUSE_METAFILE=yes
2298 DEFAULT_wxUSE_MIMETYPE=yes
2299 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2300 DEFAULT_wxUSE_PROTOCOL=yes
2301 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2302 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2303 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2304 DEFAULT_wxUSE_URL=yes
2305
2306 DEFAULT_wxUSE_COMMONDLGS=yes
2307 DEFAULT_wxUSE_CHOICEDLG=yes
2308 DEFAULT_wxUSE_COLOURDLG=yes
2309 DEFAULT_wxUSE_DIRDLG=yes
2310 DEFAULT_wxUSE_FILEDLG=yes
2311 DEFAULT_wxUSE_FINDREPLDLG=yes
2312 DEFAULT_wxUSE_FONTDLG=yes
2313 DEFAULT_wxUSE_MSGDLG=yes
2314 DEFAULT_wxUSE_NUMBERDLG=yes
2315 DEFAULT_wxUSE_TEXTDLG=yes
2316 DEFAULT_wxUSE_SPLASH=yes
2317 DEFAULT_wxUSE_STARTUP_TIPS=yes
2318 DEFAULT_wxUSE_PROGRESSDLG=yes
2319 DEFAULT_wxUSE_WIZARDDLG=yes
2320
2321 DEFAULT_wxUSE_MENUS=yes
2322 DEFAULT_wxUSE_MINIFRAME=yes
2323 DEFAULT_wxUSE_HTML=yes
2324 DEFAULT_wxUSE_XRC=yes
2325 DEFAULT_wxUSE_WEBKIT=yes
2326 DEFAULT_wxUSE_FILESYSTEM=yes
2327 DEFAULT_wxUSE_FS_INET=yes
2328 DEFAULT_wxUSE_FS_ZIP=yes
2329 DEFAULT_wxUSE_BUSYINFO=yes
2330 DEFAULT_wxUSE_ZIPSTREAM=yes
2331 DEFAULT_wxUSE_VALIDATORS=yes
2332
2333 DEFAULT_wxUSE_ACCEL=yes
2334 DEFAULT_wxUSE_BUTTON=yes
2335 DEFAULT_wxUSE_BMPBUTTON=yes
2336 DEFAULT_wxUSE_CALCTRL=yes
2337 DEFAULT_wxUSE_CARET=yes
2338 DEFAULT_wxUSE_CHECKBOX=yes
2339 DEFAULT_wxUSE_CHECKLST=yes
2340 DEFAULT_wxUSE_CHOICE=yes
2341 DEFAULT_wxUSE_CHOICEBOOK=yes
2342 DEFAULT_wxUSE_COMBOBOX=yes
2343 DEFAULT_wxUSE_DISPLAY=yes
2344 DEFAULT_wxUSE_GAUGE=yes
2345 DEFAULT_wxUSE_GRID=yes
2346 DEFAULT_wxUSE_IMAGLIST=yes
2347 DEFAULT_wxUSE_LISTBOOK=yes
2348 DEFAULT_wxUSE_LISTBOX=yes
2349 DEFAULT_wxUSE_LISTCTRL=yes
2350 DEFAULT_wxUSE_NOTEBOOK=yes
2351 DEFAULT_wxUSE_RADIOBOX=yes
2352 DEFAULT_wxUSE_RADIOBTN=yes
2353 DEFAULT_wxUSE_SASH=yes
2354 DEFAULT_wxUSE_SCROLLBAR=yes
2355 DEFAULT_wxUSE_SLIDER=yes
2356 DEFAULT_wxUSE_SPINBTN=yes
2357 DEFAULT_wxUSE_SPINCTRL=yes
2358 DEFAULT_wxUSE_SPLITTER=yes
2359 DEFAULT_wxUSE_STATBMP=yes
2360 DEFAULT_wxUSE_STATBOX=yes
2361 DEFAULT_wxUSE_STATLINE=yes
2362 DEFAULT_wxUSE_STATTEXT=yes
2363 DEFAULT_wxUSE_STATUSBAR=yes
2364 DEFAULT_wxUSE_TABDIALOG=no
2365 DEFAULT_wxUSE_TEXTCTRL=yes
2366 DEFAULT_wxUSE_TOGGLEBTN=yes
2367 DEFAULT_wxUSE_TOOLBAR=yes
2368 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2369 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2370 DEFAULT_wxUSE_TREECTRL=yes
2371 DEFAULT_wxUSE_POPUPWIN=yes
2372 DEFAULT_wxUSE_TIPWINDOW=yes
2373
2374 DEFAULT_wxUSE_UNICODE=no
2375 DEFAULT_wxUSE_UNICODE_MSLU=yes
2376 DEFAULT_wxUSE_WCSRTOMBS=no
2377
2378 DEFAULT_wxUSE_PALETTE=yes
2379 DEFAULT_wxUSE_IMAGE=yes
2380 DEFAULT_wxUSE_GIF=yes
2381 DEFAULT_wxUSE_PCX=yes
2382 DEFAULT_wxUSE_IFF=no
2383 DEFAULT_wxUSE_PNM=yes
2384 DEFAULT_wxUSE_XPM=yes
2385 DEFAULT_wxUSE_ICO_CUR=yes
2386 DEFAULT_wxUSE_ACCESSIBILITY=no
2387
2388 DEFAULT_wxUSE_MONOLITHIC=no
2389 DEFAULT_wxUSE_PLUGINS=no
2390 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2391
2392 DEFAULT_wxUSE_GTK2=yes
2393 fi
2394
2395
2396
2397 for toolkit in `echo $ALL_TOOLKITS`; do
2398 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2399 if test "x$LINE" != "x" ; then
2400 has_toolkit_in_cache=1
2401 eval "DEFAULT_$LINE"
2402 eval "CACHE_$toolkit=1"
2403 fi
2404 done
2405
2406
2407
2408 enablestring=
2409 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2410 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2411 no_cache=0
2412 # Check whether --enable-gui or --disable-gui was given.
2413 if test "${enable_gui+set}" = set; then
2414 enableval="$enable_gui"
2415
2416 if test "$enableval" = yes; then
2417 ac_cv_use_gui='wxUSE_GUI=yes'
2418 else
2419 ac_cv_use_gui='wxUSE_GUI=no'
2420 fi
2421
2422 else
2423
2424 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2425 if test "x$LINE" != x ; then
2426 eval "DEFAULT_$LINE"
2427 else
2428 no_cache=1
2429 fi
2430
2431 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2432
2433 fi;
2434
2435 eval "$ac_cv_use_gui"
2436 if test "$no_cache" != 1; then
2437 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2438 fi
2439
2440 if test "$wxUSE_GUI" = yes; then
2441 echo "$as_me:$LINENO: result: yes" >&5
2442 echo "${ECHO_T}yes" >&6
2443 else
2444 echo "$as_me:$LINENO: result: no" >&5
2445 echo "${ECHO_T}no" >&6
2446 fi
2447
2448
2449 enablestring=
2450 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2451 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2452 no_cache=0
2453 # Check whether --enable-monolithic or --disable-monolithic was given.
2454 if test "${enable_monolithic+set}" = set; then
2455 enableval="$enable_monolithic"
2456
2457 if test "$enableval" = yes; then
2458 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2459 else
2460 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2461 fi
2462
2463 else
2464
2465 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2466 if test "x$LINE" != x ; then
2467 eval "DEFAULT_$LINE"
2468 else
2469 no_cache=1
2470 fi
2471
2472 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2473
2474 fi;
2475
2476 eval "$ac_cv_use_monolithic"
2477 if test "$no_cache" != 1; then
2478 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2479 fi
2480
2481 if test "$wxUSE_MONOLITHIC" = yes; then
2482 echo "$as_me:$LINENO: result: yes" >&5
2483 echo "${ECHO_T}yes" >&6
2484 else
2485 echo "$as_me:$LINENO: result: no" >&5
2486 echo "${ECHO_T}no" >&6
2487 fi
2488
2489
2490 enablestring=
2491 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2492 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2493 no_cache=0
2494 # Check whether --enable-plugins or --disable-plugins was given.
2495 if test "${enable_plugins+set}" = set; then
2496 enableval="$enable_plugins"
2497
2498 if test "$enableval" = yes; then
2499 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2500 else
2501 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2502 fi
2503
2504 else
2505
2506 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2507 if test "x$LINE" != x ; then
2508 eval "DEFAULT_$LINE"
2509 else
2510 no_cache=1
2511 fi
2512
2513 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2514
2515 fi;
2516
2517 eval "$ac_cv_use_plugins"
2518 if test "$no_cache" != 1; then
2519 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2520 fi
2521
2522 if test "$wxUSE_PLUGINS" = yes; then
2523 echo "$as_me:$LINENO: result: yes" >&5
2524 echo "${ECHO_T}yes" >&6
2525 else
2526 echo "$as_me:$LINENO: result: no" >&5
2527 echo "${ECHO_T}no" >&6
2528 fi
2529
2530
2531 if test "$wxUSE_GUI" = "yes"; then
2532
2533
2534 enablestring=
2535 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2536 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2537 no_cache=0
2538 # Check whether --enable-universal or --disable-universal was given.
2539 if test "${enable_universal+set}" = set; then
2540 enableval="$enable_universal"
2541
2542 if test "$enableval" = yes; then
2543 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2544 else
2545 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2546 fi
2547
2548 else
2549
2550 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2551 if test "x$LINE" != x ; then
2552 eval "DEFAULT_$LINE"
2553 else
2554 no_cache=1
2555 fi
2556
2557 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2558
2559 fi;
2560
2561 eval "$ac_cv_use_universal"
2562 if test "$no_cache" != 1; then
2563 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2564 fi
2565
2566 if test "$wxUSE_UNIVERSAL" = yes; then
2567 echo "$as_me:$LINENO: result: yes" >&5
2568 echo "${ECHO_T}yes" >&6
2569 else
2570 echo "$as_me:$LINENO: result: no" >&5
2571 echo "${ECHO_T}no" >&6
2572 fi
2573
2574
2575 # Check whether --with-gtk or --without-gtk was given.
2576 if test "${with_gtk+set}" = set; then
2577 withval="$with_gtk"
2578 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2579 fi;
2580
2581 # Check whether --with-motif or --without-motif was given.
2582 if test "${with_motif+set}" = set; then
2583 withval="$with_motif"
2584 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2585 fi;
2586
2587 # Check whether --with-mac or --without-mac was given.
2588 if test "${with_mac+set}" = set; then
2589 withval="$with_mac"
2590 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2591 fi;
2592
2593 # Check whether --with-cocoa or --without-cocoa was given.
2594 if test "${with_cocoa+set}" = set; then
2595 withval="$with_cocoa"
2596 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2597 fi;
2598
2599 # Check whether --with-wine or --without-wine was given.
2600 if test "${with_wine+set}" = set; then
2601 withval="$with_wine"
2602 wxUSE_WINE="$withval" CACHE_WINE=1
2603 fi;
2604
2605 # Check whether --with-msw or --without-msw was given.
2606 if test "${with_msw+set}" = set; then
2607 withval="$with_msw"
2608 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2609 fi;
2610
2611 # Check whether --with-pm or --without-pm was given.
2612 if test "${with_pm+set}" = set; then
2613 withval="$with_pm"
2614 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2615 fi;
2616
2617 # Check whether --with-mgl or --without-mgl was given.
2618 if test "${with_mgl+set}" = set; then
2619 withval="$with_mgl"
2620 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2621 fi;
2622
2623 # Check whether --with-microwin or --without-microwin was given.
2624 if test "${with_microwin+set}" = set; then
2625 withval="$with_microwin"
2626 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2627 fi;
2628
2629 # Check whether --with-x11 or --without-x11 was given.
2630 if test "${with_x11+set}" = set; then
2631 withval="$with_x11"
2632 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2633 fi;
2634
2635 enablestring=
2636 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2637 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2638 no_cache=0
2639 # Check whether --enable-nanox or --disable-nanox was given.
2640 if test "${enable_nanox+set}" = set; then
2641 enableval="$enable_nanox"
2642
2643 if test "$enableval" = yes; then
2644 ac_cv_use_nanox='wxUSE_NANOX=yes'
2645 else
2646 ac_cv_use_nanox='wxUSE_NANOX=no'
2647 fi
2648
2649 else
2650
2651 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2652 if test "x$LINE" != x ; then
2653 eval "DEFAULT_$LINE"
2654 else
2655 no_cache=1
2656 fi
2657
2658 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2659
2660 fi;
2661
2662 eval "$ac_cv_use_nanox"
2663 if test "$no_cache" != 1; then
2664 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2665 fi
2666
2667 if test "$wxUSE_NANOX" = yes; then
2668 echo "$as_me:$LINENO: result: yes" >&5
2669 echo "${ECHO_T}yes" >&6
2670 else
2671 echo "$as_me:$LINENO: result: no" >&5
2672 echo "${ECHO_T}no" >&6
2673 fi
2674
2675
2676
2677 enablestring=
2678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2679 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2680 no_cache=0
2681 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2682 if test "${enable_gtk2+set}" = set; then
2683 enableval="$enable_gtk2"
2684
2685 if test "$enableval" = yes; then
2686 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2687 else
2688 ac_cv_use_gtk2='wxUSE_GTK2=no'
2689 fi
2690
2691 else
2692
2693 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2694 if test "x$LINE" != x ; then
2695 eval "DEFAULT_$LINE"
2696 else
2697 no_cache=1
2698 fi
2699
2700 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2701
2702 fi;
2703
2704 eval "$ac_cv_use_gtk2"
2705 if test "$no_cache" != 1; then
2706 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2707 fi
2708
2709 if test "$wxUSE_GTK2" = yes; then
2710 echo "$as_me:$LINENO: result: yes" >&5
2711 echo "${ECHO_T}yes" >&6
2712 else
2713 echo "$as_me:$LINENO: result: no" >&5
2714 echo "${ECHO_T}no" >&6
2715 fi
2716
2717
2718 enablestring=
2719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2720 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2721 no_cache=0
2722 # Check whether --enable-gpe or --disable-gpe was given.
2723 if test "${enable_gpe+set}" = set; then
2724 enableval="$enable_gpe"
2725
2726 if test "$enableval" = yes; then
2727 ac_cv_use_gpe='wxUSE_GPE=yes'
2728 else
2729 ac_cv_use_gpe='wxUSE_GPE=no'
2730 fi
2731
2732 else
2733
2734 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2735 if test "x$LINE" != x ; then
2736 eval "DEFAULT_$LINE"
2737 else
2738 no_cache=1
2739 fi
2740
2741 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2742
2743 fi;
2744
2745 eval "$ac_cv_use_gpe"
2746 if test "$no_cache" != 1; then
2747 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2748 fi
2749
2750 if test "$wxUSE_GPE" = yes; then
2751 echo "$as_me:$LINENO: result: yes" >&5
2752 echo "${ECHO_T}yes" >&6
2753 else
2754 echo "$as_me:$LINENO: result: no" >&5
2755 echo "${ECHO_T}no" >&6
2756 fi
2757
2758
2759
2760 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2761 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2762 no_cache=0
2763
2764 # Check whether --with-libpng or --without-libpng was given.
2765 if test "${with_libpng+set}" = set; then
2766 withval="$with_libpng"
2767
2768 if test "$withval" = yes; then
2769 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2770 elif test "$withval" = no; then
2771 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2772 elif test "$withval" = sys; then
2773 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2774 elif test "$withval" = builtin; then
2775 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2776 else
2777 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2778 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2779 { (exit 1); exit 1; }; }
2780 fi
2781
2782 else
2783
2784 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2785 if test "x$LINE" != x ; then
2786 eval "DEFAULT_$LINE"
2787 else
2788 no_cache=1
2789 fi
2790
2791 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2792
2793 fi;
2794
2795 eval "$ac_cv_use_libpng"
2796 if test "$no_cache" != 1; then
2797 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2798 fi
2799
2800 if test "$wxUSE_LIBPNG" = yes; then
2801 echo "$as_me:$LINENO: result: yes" >&5
2802 echo "${ECHO_T}yes" >&6
2803 elif test "$wxUSE_LIBPNG" = no; then
2804 echo "$as_me:$LINENO: result: no" >&5
2805 echo "${ECHO_T}no" >&6
2806 elif test "$wxUSE_LIBPNG" = sys; then
2807 echo "$as_me:$LINENO: result: system version" >&5
2808 echo "${ECHO_T}system version" >&6
2809 elif test "$wxUSE_LIBPNG" = builtin; then
2810 echo "$as_me:$LINENO: result: builtin version" >&5
2811 echo "${ECHO_T}builtin version" >&6
2812 else
2813 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2814 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2815 { (exit 1); exit 1; }; }
2816 fi
2817
2818
2819 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2820 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2821 no_cache=0
2822
2823 # Check whether --with-libjpeg or --without-libjpeg was given.
2824 if test "${with_libjpeg+set}" = set; then
2825 withval="$with_libjpeg"
2826
2827 if test "$withval" = yes; then
2828 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2829 elif test "$withval" = no; then
2830 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2831 elif test "$withval" = sys; then
2832 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2833 elif test "$withval" = builtin; then
2834 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2835 else
2836 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2837 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2838 { (exit 1); exit 1; }; }
2839 fi
2840
2841 else
2842
2843 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2844 if test "x$LINE" != x ; then
2845 eval "DEFAULT_$LINE"
2846 else
2847 no_cache=1
2848 fi
2849
2850 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2851
2852 fi;
2853
2854 eval "$ac_cv_use_libjpeg"
2855 if test "$no_cache" != 1; then
2856 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2857 fi
2858
2859 if test "$wxUSE_LIBJPEG" = yes; then
2860 echo "$as_me:$LINENO: result: yes" >&5
2861 echo "${ECHO_T}yes" >&6
2862 elif test "$wxUSE_LIBJPEG" = no; then
2863 echo "$as_me:$LINENO: result: no" >&5
2864 echo "${ECHO_T}no" >&6
2865 elif test "$wxUSE_LIBJPEG" = sys; then
2866 echo "$as_me:$LINENO: result: system version" >&5
2867 echo "${ECHO_T}system version" >&6
2868 elif test "$wxUSE_LIBJPEG" = builtin; then
2869 echo "$as_me:$LINENO: result: builtin version" >&5
2870 echo "${ECHO_T}builtin version" >&6
2871 else
2872 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2873 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2874 { (exit 1); exit 1; }; }
2875 fi
2876
2877
2878 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2879 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2880 no_cache=0
2881
2882 # Check whether --with-libtiff or --without-libtiff was given.
2883 if test "${with_libtiff+set}" = set; then
2884 withval="$with_libtiff"
2885
2886 if test "$withval" = yes; then
2887 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2888 elif test "$withval" = no; then
2889 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2890 elif test "$withval" = sys; then
2891 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2892 elif test "$withval" = builtin; then
2893 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2894 else
2895 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2896 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2897 { (exit 1); exit 1; }; }
2898 fi
2899
2900 else
2901
2902 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2903 if test "x$LINE" != x ; then
2904 eval "DEFAULT_$LINE"
2905 else
2906 no_cache=1
2907 fi
2908
2909 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2910
2911 fi;
2912
2913 eval "$ac_cv_use_libtiff"
2914 if test "$no_cache" != 1; then
2915 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2916 fi
2917
2918 if test "$wxUSE_LIBTIFF" = yes; then
2919 echo "$as_me:$LINENO: result: yes" >&5
2920 echo "${ECHO_T}yes" >&6
2921 elif test "$wxUSE_LIBTIFF" = no; then
2922 echo "$as_me:$LINENO: result: no" >&5
2923 echo "${ECHO_T}no" >&6
2924 elif test "$wxUSE_LIBTIFF" = sys; then
2925 echo "$as_me:$LINENO: result: system version" >&5
2926 echo "${ECHO_T}system version" >&6
2927 elif test "$wxUSE_LIBTIFF" = builtin; then
2928 echo "$as_me:$LINENO: result: builtin version" >&5
2929 echo "${ECHO_T}builtin version" >&6
2930 else
2931 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2932 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2933 { (exit 1); exit 1; }; }
2934 fi
2935
2936
2937 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2938 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2939 no_cache=0
2940
2941 # Check whether --with-libxpm or --without-libxpm was given.
2942 if test "${with_libxpm+set}" = set; then
2943 withval="$with_libxpm"
2944
2945 if test "$withval" = yes; then
2946 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
2947 elif test "$withval" = no; then
2948 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
2949 elif test "$withval" = sys; then
2950 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
2951 elif test "$withval" = builtin; then
2952 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
2953 else
2954 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2955 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2956 { (exit 1); exit 1; }; }
2957 fi
2958
2959 else
2960
2961 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2962 if test "x$LINE" != x ; then
2963 eval "DEFAULT_$LINE"
2964 else
2965 no_cache=1
2966 fi
2967
2968 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2969
2970 fi;
2971
2972 eval "$ac_cv_use_libxpm"
2973 if test "$no_cache" != 1; then
2974 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2975 fi
2976
2977 if test "$wxUSE_LIBXPM" = yes; then
2978 echo "$as_me:$LINENO: result: yes" >&5
2979 echo "${ECHO_T}yes" >&6
2980 elif test "$wxUSE_LIBXPM" = no; then
2981 echo "$as_me:$LINENO: result: no" >&5
2982 echo "${ECHO_T}no" >&6
2983 elif test "$wxUSE_LIBXPM" = sys; then
2984 echo "$as_me:$LINENO: result: system version" >&5
2985 echo "${ECHO_T}system version" >&6
2986 elif test "$wxUSE_LIBXPM" = builtin; then
2987 echo "$as_me:$LINENO: result: builtin version" >&5
2988 echo "${ECHO_T}builtin version" >&6
2989 else
2990 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2991 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2992 { (exit 1); exit 1; }; }
2993 fi
2994
2995
2996 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2997 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
2998 no_cache=0
2999
3000 # Check whether --with-libmspack or --without-libmspack was given.
3001 if test "${with_libmspack+set}" = set; then
3002 withval="$with_libmspack"
3003
3004 if test "$withval" = yes; then
3005 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3006 else
3007 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3008 fi
3009
3010 else
3011
3012 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3013 if test "x$LINE" != x ; then
3014 eval "DEFAULT_$LINE"
3015 else
3016 no_cache=1
3017 fi
3018
3019 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3020
3021 fi;
3022
3023 eval "$ac_cv_use_libmspack"
3024 if test "$no_cache" != 1; then
3025 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3026 fi
3027
3028 if test "$wxUSE_LIBMSPACK" = yes; then
3029 echo "$as_me:$LINENO: result: yes" >&5
3030 echo "${ECHO_T}yes" >&6
3031 else
3032 echo "$as_me:$LINENO: result: no" >&5
3033 echo "${ECHO_T}no" >&6
3034 fi
3035
3036
3037 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3038 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3039 no_cache=0
3040
3041 # Check whether --with-sdl or --without-sdl was given.
3042 if test "${with_sdl+set}" = set; then
3043 withval="$with_sdl"
3044
3045 if test "$withval" = yes; then
3046 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3047 else
3048 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3049 fi
3050
3051 else
3052
3053 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3054 if test "x$LINE" != x ; then
3055 eval "DEFAULT_$LINE"
3056 else
3057 no_cache=1
3058 fi
3059
3060 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3061
3062 fi;
3063
3064 eval "$ac_cv_use_sdl"
3065 if test "$no_cache" != 1; then
3066 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3067 fi
3068
3069 if test "$wxUSE_LIBSDL" = yes; then
3070 echo "$as_me:$LINENO: result: yes" >&5
3071 echo "${ECHO_T}yes" >&6
3072 else
3073 echo "$as_me:$LINENO: result: no" >&5
3074 echo "${ECHO_T}no" >&6
3075 fi
3076
3077
3078 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3079 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3080 no_cache=0
3081
3082 # Check whether --with-opengl or --without-opengl was given.
3083 if test "${with_opengl+set}" = set; then
3084 withval="$with_opengl"
3085
3086 if test "$withval" = yes; then
3087 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3088 else
3089 ac_cv_use_opengl='wxUSE_OPENGL=no'
3090 fi
3091
3092 else
3093
3094 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3095 if test "x$LINE" != x ; then
3096 eval "DEFAULT_$LINE"
3097 else
3098 no_cache=1
3099 fi
3100
3101 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3102
3103 fi;
3104
3105 eval "$ac_cv_use_opengl"
3106 if test "$no_cache" != 1; then
3107 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3108 fi
3109
3110 if test "$wxUSE_OPENGL" = yes; then
3111 echo "$as_me:$LINENO: result: yes" >&5
3112 echo "${ECHO_T}yes" >&6
3113 else
3114 echo "$as_me:$LINENO: result: no" >&5
3115 echo "${ECHO_T}no" >&6
3116 fi
3117
3118
3119 fi
3120
3121
3122 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3123 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3124 no_cache=0
3125
3126 # Check whether --with-dmalloc or --without-dmalloc was given.
3127 if test "${with_dmalloc+set}" = set; then
3128 withval="$with_dmalloc"
3129
3130 if test "$withval" = yes; then
3131 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3132 else
3133 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3134 fi
3135
3136 else
3137
3138 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3139 if test "x$LINE" != x ; then
3140 eval "DEFAULT_$LINE"
3141 else
3142 no_cache=1
3143 fi
3144
3145 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3146
3147 fi;
3148
3149 eval "$ac_cv_use_dmalloc"
3150 if test "$no_cache" != 1; then
3151 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3152 fi
3153
3154 if test "$wxUSE_DMALLOC" = yes; then
3155 echo "$as_me:$LINENO: result: yes" >&5
3156 echo "${ECHO_T}yes" >&6
3157 else
3158 echo "$as_me:$LINENO: result: no" >&5
3159 echo "${ECHO_T}no" >&6
3160 fi
3161
3162
3163 echo "$as_me:$LINENO: checking for --with-regex" >&5
3164 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3165 no_cache=0
3166
3167 # Check whether --with-regex or --without-regex was given.
3168 if test "${with_regex+set}" = set; then
3169 withval="$with_regex"
3170
3171 if test "$withval" = yes; then
3172 ac_cv_use_regex='wxUSE_REGEX=yes'
3173 elif test "$withval" = no; then
3174 ac_cv_use_regex='wxUSE_REGEX=no'
3175 elif test "$withval" = sys; then
3176 ac_cv_use_regex='wxUSE_REGEX=sys'
3177 elif test "$withval" = builtin; then
3178 ac_cv_use_regex='wxUSE_REGEX=builtin'
3179 else
3180 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3181 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3182 { (exit 1); exit 1; }; }
3183 fi
3184
3185 else
3186
3187 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3188 if test "x$LINE" != x ; then
3189 eval "DEFAULT_$LINE"
3190 else
3191 no_cache=1
3192 fi
3193
3194 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3195
3196 fi;
3197
3198 eval "$ac_cv_use_regex"
3199 if test "$no_cache" != 1; then
3200 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3201 fi
3202
3203 if test "$wxUSE_REGEX" = yes; then
3204 echo "$as_me:$LINENO: result: yes" >&5
3205 echo "${ECHO_T}yes" >&6
3206 elif test "$wxUSE_REGEX" = no; then
3207 echo "$as_me:$LINENO: result: no" >&5
3208 echo "${ECHO_T}no" >&6
3209 elif test "$wxUSE_REGEX" = sys; then
3210 echo "$as_me:$LINENO: result: system version" >&5
3211 echo "${ECHO_T}system version" >&6
3212 elif test "$wxUSE_REGEX" = builtin; then
3213 echo "$as_me:$LINENO: result: builtin version" >&5
3214 echo "${ECHO_T}builtin version" >&6
3215 else
3216 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3217 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3218 { (exit 1); exit 1; }; }
3219 fi
3220
3221
3222 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3223 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3224 no_cache=0
3225
3226 # Check whether --with-zlib or --without-zlib was given.
3227 if test "${with_zlib+set}" = set; then
3228 withval="$with_zlib"
3229
3230 if test "$withval" = yes; then
3231 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3232 elif test "$withval" = no; then
3233 ac_cv_use_zlib='wxUSE_ZLIB=no'
3234 elif test "$withval" = sys; then
3235 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3236 elif test "$withval" = builtin; then
3237 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3238 else
3239 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3240 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3241 { (exit 1); exit 1; }; }
3242 fi
3243
3244 else
3245
3246 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3247 if test "x$LINE" != x ; then
3248 eval "DEFAULT_$LINE"
3249 else
3250 no_cache=1
3251 fi
3252
3253 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3254
3255 fi;
3256
3257 eval "$ac_cv_use_zlib"
3258 if test "$no_cache" != 1; then
3259 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3260 fi
3261
3262 if test "$wxUSE_ZLIB" = yes; then
3263 echo "$as_me:$LINENO: result: yes" >&5
3264 echo "${ECHO_T}yes" >&6
3265 elif test "$wxUSE_ZLIB" = no; then
3266 echo "$as_me:$LINENO: result: no" >&5
3267 echo "${ECHO_T}no" >&6
3268 elif test "$wxUSE_ZLIB" = sys; then
3269 echo "$as_me:$LINENO: result: system version" >&5
3270 echo "${ECHO_T}system version" >&6
3271 elif test "$wxUSE_ZLIB" = builtin; then
3272 echo "$as_me:$LINENO: result: builtin version" >&5
3273 echo "${ECHO_T}builtin version" >&6
3274 else
3275 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3276 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3277 { (exit 1); exit 1; }; }
3278 fi
3279
3280
3281 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3282 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3283 no_cache=0
3284
3285 # Check whether --with-odbc or --without-odbc was given.
3286 if test "${with_odbc+set}" = set; then
3287 withval="$with_odbc"
3288
3289 if test "$withval" = yes; then
3290 ac_cv_use_odbc='wxUSE_ODBC=yes'
3291 elif test "$withval" = no; then
3292 ac_cv_use_odbc='wxUSE_ODBC=no'
3293 elif test "$withval" = sys; then
3294 ac_cv_use_odbc='wxUSE_ODBC=sys'
3295 elif test "$withval" = builtin; then
3296 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3297 else
3298 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3299 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3300 { (exit 1); exit 1; }; }
3301 fi
3302
3303 else
3304
3305 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3306 if test "x$LINE" != x ; then
3307 eval "DEFAULT_$LINE"
3308 else
3309 no_cache=1
3310 fi
3311
3312 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3313
3314 fi;
3315
3316 eval "$ac_cv_use_odbc"
3317 if test "$no_cache" != 1; then
3318 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3319 fi
3320
3321 if test "$wxUSE_ODBC" = yes; then
3322 echo "$as_me:$LINENO: result: yes" >&5
3323 echo "${ECHO_T}yes" >&6
3324 elif test "$wxUSE_ODBC" = no; then
3325 echo "$as_me:$LINENO: result: no" >&5
3326 echo "${ECHO_T}no" >&6
3327 elif test "$wxUSE_ODBC" = sys; then
3328 echo "$as_me:$LINENO: result: system version" >&5
3329 echo "${ECHO_T}system version" >&6
3330 elif test "$wxUSE_ODBC" = builtin; then
3331 echo "$as_me:$LINENO: result: builtin version" >&5
3332 echo "${ECHO_T}builtin version" >&6
3333 else
3334 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3335 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3336 { (exit 1); exit 1; }; }
3337 fi
3338
3339
3340 echo "$as_me:$LINENO: checking for --with-expat" >&5
3341 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3342 no_cache=0
3343
3344 # Check whether --with-expat or --without-expat was given.
3345 if test "${with_expat+set}" = set; then
3346 withval="$with_expat"
3347
3348 if test "$withval" = yes; then
3349 ac_cv_use_expat='wxUSE_EXPAT=yes'
3350 elif test "$withval" = no; then
3351 ac_cv_use_expat='wxUSE_EXPAT=no'
3352 elif test "$withval" = sys; then
3353 ac_cv_use_expat='wxUSE_EXPAT=sys'
3354 elif test "$withval" = builtin; then
3355 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3356 else
3357 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3358 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3359 { (exit 1); exit 1; }; }
3360 fi
3361
3362 else
3363
3364 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3365 if test "x$LINE" != x ; then
3366 eval "DEFAULT_$LINE"
3367 else
3368 no_cache=1
3369 fi
3370
3371 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3372
3373 fi;
3374
3375 eval "$ac_cv_use_expat"
3376 if test "$no_cache" != 1; then
3377 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3378 fi
3379
3380 if test "$wxUSE_EXPAT" = yes; then
3381 echo "$as_me:$LINENO: result: yes" >&5
3382 echo "${ECHO_T}yes" >&6
3383 elif test "$wxUSE_EXPAT" = no; then
3384 echo "$as_me:$LINENO: result: no" >&5
3385 echo "${ECHO_T}no" >&6
3386 elif test "$wxUSE_EXPAT" = sys; then
3387 echo "$as_me:$LINENO: result: system version" >&5
3388 echo "${ECHO_T}system version" >&6
3389 elif test "$wxUSE_EXPAT" = builtin; then
3390 echo "$as_me:$LINENO: result: builtin version" >&5
3391 echo "${ECHO_T}builtin version" >&6
3392 else
3393 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3394 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3395 { (exit 1); exit 1; }; }
3396 fi
3397
3398
3399
3400
3401 enablestring=
3402 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3403 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3404 no_cache=0
3405 # Check whether --enable-shared or --disable-shared was given.
3406 if test "${enable_shared+set}" = set; then
3407 enableval="$enable_shared"
3408
3409 if test "$enableval" = yes; then
3410 ac_cv_use_shared='wxUSE_SHARED=yes'
3411 else
3412 ac_cv_use_shared='wxUSE_SHARED=no'
3413 fi
3414
3415 else
3416
3417 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3418 if test "x$LINE" != x ; then
3419 eval "DEFAULT_$LINE"
3420 else
3421 no_cache=1
3422 fi
3423
3424 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3425
3426 fi;
3427
3428 eval "$ac_cv_use_shared"
3429 if test "$no_cache" != 1; then
3430 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3431 fi
3432
3433 if test "$wxUSE_SHARED" = yes; then
3434 echo "$as_me:$LINENO: result: yes" >&5
3435 echo "${ECHO_T}yes" >&6
3436 else
3437 echo "$as_me:$LINENO: result: no" >&5
3438 echo "${ECHO_T}no" >&6
3439 fi
3440
3441
3442 enablestring=
3443 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3444 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3445 no_cache=0
3446 # Check whether --enable-optimise or --disable-optimise was given.
3447 if test "${enable_optimise+set}" = set; then
3448 enableval="$enable_optimise"
3449
3450 if test "$enableval" = yes; then
3451 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3452 else
3453 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3454 fi
3455
3456 else
3457
3458 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3459 if test "x$LINE" != x ; then
3460 eval "DEFAULT_$LINE"
3461 else
3462 no_cache=1
3463 fi
3464
3465 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3466
3467 fi;
3468
3469 eval "$ac_cv_use_optimise"
3470 if test "$no_cache" != 1; then
3471 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3472 fi
3473
3474 if test "$wxUSE_OPTIMISE" = yes; then
3475 echo "$as_me:$LINENO: result: yes" >&5
3476 echo "${ECHO_T}yes" >&6
3477 else
3478 echo "$as_me:$LINENO: result: no" >&5
3479 echo "${ECHO_T}no" >&6
3480 fi
3481
3482
3483 enablestring=
3484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3485 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3486 no_cache=0
3487 # Check whether --enable-debug or --disable-debug was given.
3488 if test "${enable_debug+set}" = set; then
3489 enableval="$enable_debug"
3490
3491 if test "$enableval" = yes; then
3492 ac_cv_use_debug='wxUSE_DEBUG=yes'
3493 else
3494 ac_cv_use_debug='wxUSE_DEBUG=no'
3495 fi
3496
3497 else
3498
3499 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3500 if test "x$LINE" != x ; then
3501 eval "DEFAULT_$LINE"
3502 else
3503 no_cache=1
3504 fi
3505
3506 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3507
3508 fi;
3509
3510 eval "$ac_cv_use_debug"
3511 if test "$no_cache" != 1; then
3512 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3513 fi
3514
3515 if test "$wxUSE_DEBUG" = yes; then
3516 echo "$as_me:$LINENO: result: yes" >&5
3517 echo "${ECHO_T}yes" >&6
3518 else
3519 echo "$as_me:$LINENO: result: no" >&5
3520 echo "${ECHO_T}no" >&6
3521 fi
3522
3523
3524 enablestring=
3525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3526 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3527 no_cache=0
3528 # Check whether --enable-stl or --disable-stl was given.
3529 if test "${enable_stl+set}" = set; then
3530 enableval="$enable_stl"
3531
3532 if test "$enableval" = yes; then
3533 ac_cv_use_stl='wxUSE_STL=yes'
3534 else
3535 ac_cv_use_stl='wxUSE_STL=no'
3536 fi
3537
3538 else
3539
3540 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3541 if test "x$LINE" != x ; then
3542 eval "DEFAULT_$LINE"
3543 else
3544 no_cache=1
3545 fi
3546
3547 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3548
3549 fi;
3550
3551 eval "$ac_cv_use_stl"
3552 if test "$no_cache" != 1; then
3553 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3554 fi
3555
3556 if test "$wxUSE_STL" = yes; then
3557 echo "$as_me:$LINENO: result: yes" >&5
3558 echo "${ECHO_T}yes" >&6
3559 else
3560 echo "$as_me:$LINENO: result: no" >&5
3561 echo "${ECHO_T}no" >&6
3562 fi
3563
3564 if test "$USE_OS2" = "1"; then
3565
3566 enablestring=
3567 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3568 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3569 no_cache=0
3570 # Check whether --enable-omf or --disable-omf was given.
3571 if test "${enable_omf+set}" = set; then
3572 enableval="$enable_omf"
3573
3574 if test "$enableval" = yes; then
3575 ac_cv_use_omf='wxUSE_OMF=yes'
3576 else
3577 ac_cv_use_omf='wxUSE_OMF=no'
3578 fi
3579
3580 else
3581
3582 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3583 if test "x$LINE" != x ; then
3584 eval "DEFAULT_$LINE"
3585 else
3586 no_cache=1
3587 fi
3588
3589 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3590
3591 fi;
3592
3593 eval "$ac_cv_use_omf"
3594 if test "$no_cache" != 1; then
3595 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3596 fi
3597
3598 if test "$wxUSE_OMF" = yes; then
3599 echo "$as_me:$LINENO: result: yes" >&5
3600 echo "${ECHO_T}yes" >&6
3601 else
3602 echo "$as_me:$LINENO: result: no" >&5
3603 echo "${ECHO_T}no" >&6
3604 fi
3605
3606 fi
3607
3608 if test "$wxUSE_DEBUG" = "yes"; then
3609 DEFAULT_wxUSE_DEBUG_FLAG=yes
3610 DEFAULT_wxUSE_DEBUG_INFO=yes
3611 BUILD=debug
3612 elif test "$wxUSE_DEBUG" = "no"; then
3613 DEFAULT_wxUSE_DEBUG_FLAG=no
3614 DEFAULT_wxUSE_DEBUG_INFO=no
3615 BUILD=release
3616 fi
3617
3618
3619 enablestring=
3620 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3621 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3622 no_cache=0
3623 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3624 if test "${enable_debug_flag+set}" = set; then
3625 enableval="$enable_debug_flag"
3626
3627 if test "$enableval" = yes; then
3628 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3629 else
3630 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3631 fi
3632
3633 else
3634
3635 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3636 if test "x$LINE" != x ; then
3637 eval "DEFAULT_$LINE"
3638 else
3639 no_cache=1
3640 fi
3641
3642 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3643
3644 fi;
3645
3646 eval "$ac_cv_use_debug_flag"
3647 if test "$no_cache" != 1; then
3648 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3649 fi
3650
3651 if test "$wxUSE_DEBUG_FLAG" = yes; then
3652 echo "$as_me:$LINENO: result: yes" >&5
3653 echo "${ECHO_T}yes" >&6
3654 else
3655 echo "$as_me:$LINENO: result: no" >&5
3656 echo "${ECHO_T}no" >&6
3657 fi
3658
3659
3660 enablestring=
3661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3662 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3663 no_cache=0
3664 # Check whether --enable-debug_info or --disable-debug_info was given.
3665 if test "${enable_debug_info+set}" = set; then
3666 enableval="$enable_debug_info"
3667
3668 if test "$enableval" = yes; then
3669 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3670 else
3671 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3672 fi
3673
3674 else
3675
3676 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3677 if test "x$LINE" != x ; then
3678 eval "DEFAULT_$LINE"
3679 else
3680 no_cache=1
3681 fi
3682
3683 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3684
3685 fi;
3686
3687 eval "$ac_cv_use_debug_info"
3688 if test "$no_cache" != 1; then
3689 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3690 fi
3691
3692 if test "$wxUSE_DEBUG_INFO" = yes; then
3693 echo "$as_me:$LINENO: result: yes" >&5
3694 echo "${ECHO_T}yes" >&6
3695 else
3696 echo "$as_me:$LINENO: result: no" >&5
3697 echo "${ECHO_T}no" >&6
3698 fi
3699
3700
3701 enablestring=
3702 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3703 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3704 no_cache=0
3705 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3706 if test "${enable_debug_gdb+set}" = set; then
3707 enableval="$enable_debug_gdb"
3708
3709 if test "$enableval" = yes; then
3710 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3711 else
3712 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3713 fi
3714
3715 else
3716
3717 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3718 if test "x$LINE" != x ; then
3719 eval "DEFAULT_$LINE"
3720 else
3721 no_cache=1
3722 fi
3723
3724 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3725
3726 fi;
3727
3728 eval "$ac_cv_use_debug_gdb"
3729 if test "$no_cache" != 1; then
3730 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3731 fi
3732
3733 if test "$wxUSE_DEBUG_GDB" = yes; then
3734 echo "$as_me:$LINENO: result: yes" >&5
3735 echo "${ECHO_T}yes" >&6
3736 else
3737 echo "$as_me:$LINENO: result: no" >&5
3738 echo "${ECHO_T}no" >&6
3739 fi
3740
3741
3742 enablestring=
3743 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3744 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3745 no_cache=0
3746 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3747 if test "${enable_debug_cntxt+set}" = set; then
3748 enableval="$enable_debug_cntxt"
3749
3750 if test "$enableval" = yes; then
3751 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3752 else
3753 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3754 fi
3755
3756 else
3757
3758 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3759 if test "x$LINE" != x ; then
3760 eval "DEFAULT_$LINE"
3761 else
3762 no_cache=1
3763 fi
3764
3765 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3766
3767 fi;
3768
3769 eval "$ac_cv_use_debug_cntxt"
3770 if test "$no_cache" != 1; then
3771 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3772 fi
3773
3774 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3775 echo "$as_me:$LINENO: result: yes" >&5
3776 echo "${ECHO_T}yes" >&6
3777 else
3778 echo "$as_me:$LINENO: result: no" >&5
3779 echo "${ECHO_T}no" >&6
3780 fi
3781
3782
3783 enablestring=
3784 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3785 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3786 no_cache=0
3787 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3788 if test "${enable_mem_tracing+set}" = set; then
3789 enableval="$enable_mem_tracing"
3790
3791 if test "$enableval" = yes; then
3792 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3793 else
3794 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3795 fi
3796
3797 else
3798
3799 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3800 if test "x$LINE" != x ; then
3801 eval "DEFAULT_$LINE"
3802 else
3803 no_cache=1
3804 fi
3805
3806 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3807
3808 fi;
3809
3810 eval "$ac_cv_use_mem_tracing"
3811 if test "$no_cache" != 1; then
3812 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3813 fi
3814
3815 if test "$wxUSE_MEM_TRACING" = yes; then
3816 echo "$as_me:$LINENO: result: yes" >&5
3817 echo "${ECHO_T}yes" >&6
3818 else
3819 echo "$as_me:$LINENO: result: no" >&5
3820 echo "${ECHO_T}no" >&6
3821 fi
3822
3823
3824 enablestring=
3825 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3826 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3827 no_cache=0
3828 # Check whether --enable-profile or --disable-profile was given.
3829 if test "${enable_profile+set}" = set; then
3830 enableval="$enable_profile"
3831
3832 if test "$enableval" = yes; then
3833 ac_cv_use_profile='wxUSE_PROFILE=yes'
3834 else
3835 ac_cv_use_profile='wxUSE_PROFILE=no'
3836 fi
3837
3838 else
3839
3840 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3841 if test "x$LINE" != x ; then
3842 eval "DEFAULT_$LINE"
3843 else
3844 no_cache=1
3845 fi
3846
3847 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3848
3849 fi;
3850
3851 eval "$ac_cv_use_profile"
3852 if test "$no_cache" != 1; then
3853 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3854 fi
3855
3856 if test "$wxUSE_PROFILE" = yes; then
3857 echo "$as_me:$LINENO: result: yes" >&5
3858 echo "${ECHO_T}yes" >&6
3859 else
3860 echo "$as_me:$LINENO: result: no" >&5
3861 echo "${ECHO_T}no" >&6
3862 fi
3863
3864
3865 enablestring=
3866 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3867 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3868 no_cache=0
3869 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3870 if test "${enable_no_rtti+set}" = set; then
3871 enableval="$enable_no_rtti"
3872
3873 if test "$enableval" = yes; then
3874 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3875 else
3876 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3877 fi
3878
3879 else
3880
3881 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3882 if test "x$LINE" != x ; then
3883 eval "DEFAULT_$LINE"
3884 else
3885 no_cache=1
3886 fi
3887
3888 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3889
3890 fi;
3891
3892 eval "$ac_cv_use_no_rtti"
3893 if test "$no_cache" != 1; then
3894 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3895 fi
3896
3897 if test "$wxUSE_NO_RTTI" = yes; then
3898 echo "$as_me:$LINENO: result: yes" >&5
3899 echo "${ECHO_T}yes" >&6
3900 else
3901 echo "$as_me:$LINENO: result: no" >&5
3902 echo "${ECHO_T}no" >&6
3903 fi
3904
3905
3906 enablestring=
3907 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3908 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3909 no_cache=0
3910 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3911 if test "${enable_no_exceptions+set}" = set; then
3912 enableval="$enable_no_exceptions"
3913
3914 if test "$enableval" = yes; then
3915 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3916 else
3917 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3918 fi
3919
3920 else
3921
3922 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3923 if test "x$LINE" != x ; then
3924 eval "DEFAULT_$LINE"
3925 else
3926 no_cache=1
3927 fi
3928
3929 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3930
3931 fi;
3932
3933 eval "$ac_cv_use_no_exceptions"
3934 if test "$no_cache" != 1; then
3935 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3936 fi
3937
3938 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3939 echo "$as_me:$LINENO: result: yes" >&5
3940 echo "${ECHO_T}yes" >&6
3941 else
3942 echo "$as_me:$LINENO: result: no" >&5
3943 echo "${ECHO_T}no" >&6
3944 fi
3945
3946
3947 enablestring=
3948 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3949 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3950 no_cache=0
3951 # Check whether --enable-permissive or --disable-permissive was given.
3952 if test "${enable_permissive+set}" = set; then
3953 enableval="$enable_permissive"
3954
3955 if test "$enableval" = yes; then
3956 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3957 else
3958 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3959 fi
3960
3961 else
3962
3963 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3964 if test "x$LINE" != x ; then
3965 eval "DEFAULT_$LINE"
3966 else
3967 no_cache=1
3968 fi
3969
3970 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3971
3972 fi;
3973
3974 eval "$ac_cv_use_permissive"
3975 if test "$no_cache" != 1; then
3976 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3977 fi
3978
3979 if test "$wxUSE_PERMISSIVE" = yes; then
3980 echo "$as_me:$LINENO: result: yes" >&5
3981 echo "${ECHO_T}yes" >&6
3982 else
3983 echo "$as_me:$LINENO: result: no" >&5
3984 echo "${ECHO_T}no" >&6
3985 fi
3986
3987
3988 enablestring=
3989 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3990 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3991 no_cache=0
3992 # Check whether --enable-no_deps or --disable-no_deps was given.
3993 if test "${enable_no_deps+set}" = set; then
3994 enableval="$enable_no_deps"
3995
3996 if test "$enableval" = yes; then
3997 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3998 else
3999 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4000 fi
4001
4002 else
4003
4004 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4005 if test "x$LINE" != x ; then
4006 eval "DEFAULT_$LINE"
4007 else
4008 no_cache=1
4009 fi
4010
4011 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4012
4013 fi;
4014
4015 eval "$ac_cv_use_no_deps"
4016 if test "$no_cache" != 1; then
4017 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4018 fi
4019
4020 if test "$wxUSE_NO_DEPS" = yes; then
4021 echo "$as_me:$LINENO: result: yes" >&5
4022 echo "${ECHO_T}yes" >&6
4023 else
4024 echo "$as_me:$LINENO: result: no" >&5
4025 echo "${ECHO_T}no" >&6
4026 fi
4027
4028
4029
4030 enablestring=
4031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4032 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4033 no_cache=0
4034 # Check whether --enable-compat22 or --disable-compat22 was given.
4035 if test "${enable_compat22+set}" = set; then
4036 enableval="$enable_compat22"
4037
4038 if test "$enableval" = yes; then
4039 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
4040 else
4041 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
4042 fi
4043
4044 else
4045
4046 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4047 if test "x$LINE" != x ; then
4048 eval "DEFAULT_$LINE"
4049 else
4050 no_cache=1
4051 fi
4052
4053 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4054
4055 fi;
4056
4057 eval "$ac_cv_use_compat22"
4058 if test "$no_cache" != 1; then
4059 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4060 fi
4061
4062 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4063 echo "$as_me:$LINENO: result: yes" >&5
4064 echo "${ECHO_T}yes" >&6
4065 else
4066 echo "$as_me:$LINENO: result: no" >&5
4067 echo "${ECHO_T}no" >&6
4068 fi
4069
4070
4071 enablestring=disable
4072 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4073 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4074 no_cache=0
4075 # Check whether --enable-compat24 or --disable-compat24 was given.
4076 if test "${enable_compat24+set}" = set; then
4077 enableval="$enable_compat24"
4078
4079 if test "$enableval" = yes; then
4080 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4081 else
4082 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4083 fi
4084
4085 else
4086
4087 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4088 if test "x$LINE" != x ; then
4089 eval "DEFAULT_$LINE"
4090 else
4091 no_cache=1
4092 fi
4093
4094 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4095
4096 fi;
4097
4098 eval "$ac_cv_use_compat24"
4099 if test "$no_cache" != 1; then
4100 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4101 fi
4102
4103 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4104 echo "$as_me:$LINENO: result: yes" >&5
4105 echo "${ECHO_T}yes" >&6
4106 else
4107 echo "$as_me:$LINENO: result: no" >&5
4108 echo "${ECHO_T}no" >&6
4109 fi
4110
4111
4112
4113 enablestring=
4114 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4115 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4116 no_cache=0
4117 # Check whether --enable-rpath or --disable-rpath was given.
4118 if test "${enable_rpath+set}" = set; then
4119 enableval="$enable_rpath"
4120
4121 if test "$enableval" = yes; then
4122 ac_cv_use_rpath='wxUSE_RPATH=yes'
4123 else
4124 ac_cv_use_rpath='wxUSE_RPATH=no'
4125 fi
4126
4127 else
4128
4129 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4130 if test "x$LINE" != x ; then
4131 eval "DEFAULT_$LINE"
4132 else
4133 no_cache=1
4134 fi
4135
4136 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4137
4138 fi;
4139
4140 eval "$ac_cv_use_rpath"
4141 if test "$no_cache" != 1; then
4142 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4143 fi
4144
4145 if test "$wxUSE_RPATH" = yes; then
4146 echo "$as_me:$LINENO: result: yes" >&5
4147 echo "${ECHO_T}yes" >&6
4148 else
4149 echo "$as_me:$LINENO: result: no" >&5
4150 echo "${ECHO_T}no" >&6
4151 fi
4152
4153
4154
4155
4156
4157 enablestring=
4158 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4159 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4160 no_cache=0
4161 # Check whether --enable-intl or --disable-intl was given.
4162 if test "${enable_intl+set}" = set; then
4163 enableval="$enable_intl"
4164
4165 if test "$enableval" = yes; then
4166 ac_cv_use_intl='wxUSE_INTL=yes'
4167 else
4168 ac_cv_use_intl='wxUSE_INTL=no'
4169 fi
4170
4171 else
4172
4173 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4174 if test "x$LINE" != x ; then
4175 eval "DEFAULT_$LINE"
4176 else
4177 no_cache=1
4178 fi
4179
4180 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4181
4182 fi;
4183
4184 eval "$ac_cv_use_intl"
4185 if test "$no_cache" != 1; then
4186 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4187 fi
4188
4189 if test "$wxUSE_INTL" = yes; then
4190 echo "$as_me:$LINENO: result: yes" >&5
4191 echo "${ECHO_T}yes" >&6
4192 else
4193 echo "$as_me:$LINENO: result: no" >&5
4194 echo "${ECHO_T}no" >&6
4195 fi
4196
4197
4198 enablestring=
4199 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4200 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4201 no_cache=0
4202 # Check whether --enable-config or --disable-config was given.
4203 if test "${enable_config+set}" = set; then
4204 enableval="$enable_config"
4205
4206 if test "$enableval" = yes; then
4207 ac_cv_use_config='wxUSE_CONFIG=yes'
4208 else
4209 ac_cv_use_config='wxUSE_CONFIG=no'
4210 fi
4211
4212 else
4213
4214 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4215 if test "x$LINE" != x ; then
4216 eval "DEFAULT_$LINE"
4217 else
4218 no_cache=1
4219 fi
4220
4221 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4222
4223 fi;
4224
4225 eval "$ac_cv_use_config"
4226 if test "$no_cache" != 1; then
4227 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4228 fi
4229
4230 if test "$wxUSE_CONFIG" = yes; then
4231 echo "$as_me:$LINENO: result: yes" >&5
4232 echo "${ECHO_T}yes" >&6
4233 else
4234 echo "$as_me:$LINENO: result: no" >&5
4235 echo "${ECHO_T}no" >&6
4236 fi
4237
4238
4239
4240 enablestring=
4241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4242 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4243 no_cache=0
4244 # Check whether --enable-protocols or --disable-protocols was given.
4245 if test "${enable_protocols+set}" = set; then
4246 enableval="$enable_protocols"
4247
4248 if test "$enableval" = yes; then
4249 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4250 else
4251 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4252 fi
4253
4254 else
4255
4256 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4257 if test "x$LINE" != x ; then
4258 eval "DEFAULT_$LINE"
4259 else
4260 no_cache=1
4261 fi
4262
4263 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4264
4265 fi;
4266
4267 eval "$ac_cv_use_protocols"
4268 if test "$no_cache" != 1; then
4269 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4270 fi
4271
4272 if test "$wxUSE_PROTOCOL" = yes; then
4273 echo "$as_me:$LINENO: result: yes" >&5
4274 echo "${ECHO_T}yes" >&6
4275 else
4276 echo "$as_me:$LINENO: result: no" >&5
4277 echo "${ECHO_T}no" >&6
4278 fi
4279
4280
4281 enablestring=
4282 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4283 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4284 no_cache=0
4285 # Check whether --enable-ftp or --disable-ftp was given.
4286 if test "${enable_ftp+set}" = set; then
4287 enableval="$enable_ftp"
4288
4289 if test "$enableval" = yes; then
4290 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4291 else
4292 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4293 fi
4294
4295 else
4296
4297 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4298 if test "x$LINE" != x ; then
4299 eval "DEFAULT_$LINE"
4300 else
4301 no_cache=1
4302 fi
4303
4304 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4305
4306 fi;
4307
4308 eval "$ac_cv_use_ftp"
4309 if test "$no_cache" != 1; then
4310 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4311 fi
4312
4313 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4314 echo "$as_me:$LINENO: result: yes" >&5
4315 echo "${ECHO_T}yes" >&6
4316 else
4317 echo "$as_me:$LINENO: result: no" >&5
4318 echo "${ECHO_T}no" >&6
4319 fi
4320
4321
4322 enablestring=
4323 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4324 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4325 no_cache=0
4326 # Check whether --enable-http or --disable-http was given.
4327 if test "${enable_http+set}" = set; then
4328 enableval="$enable_http"
4329
4330 if test "$enableval" = yes; then
4331 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4332 else
4333 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4334 fi
4335
4336 else
4337
4338 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4339 if test "x$LINE" != x ; then
4340 eval "DEFAULT_$LINE"
4341 else
4342 no_cache=1
4343 fi
4344
4345 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4346
4347 fi;
4348
4349 eval "$ac_cv_use_http"
4350 if test "$no_cache" != 1; then
4351 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4352 fi
4353
4354 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4355 echo "$as_me:$LINENO: result: yes" >&5
4356 echo "${ECHO_T}yes" >&6
4357 else
4358 echo "$as_me:$LINENO: result: no" >&5
4359 echo "${ECHO_T}no" >&6
4360 fi
4361
4362
4363 enablestring=
4364 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4365 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4366 no_cache=0
4367 # Check whether --enable-fileproto or --disable-fileproto was given.
4368 if test "${enable_fileproto+set}" = set; then
4369 enableval="$enable_fileproto"
4370
4371 if test "$enableval" = yes; then
4372 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4373 else
4374 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4375 fi
4376
4377 else
4378
4379 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4380 if test "x$LINE" != x ; then
4381 eval "DEFAULT_$LINE"
4382 else
4383 no_cache=1
4384 fi
4385
4386 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4387
4388 fi;
4389
4390 eval "$ac_cv_use_fileproto"
4391 if test "$no_cache" != 1; then
4392 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4393 fi
4394
4395 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4396 echo "$as_me:$LINENO: result: yes" >&5
4397 echo "${ECHO_T}yes" >&6
4398 else
4399 echo "$as_me:$LINENO: result: no" >&5
4400 echo "${ECHO_T}no" >&6
4401 fi
4402
4403
4404 enablestring=
4405 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4406 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4407 no_cache=0
4408 # Check whether --enable-sockets or --disable-sockets was given.
4409 if test "${enable_sockets+set}" = set; then
4410 enableval="$enable_sockets"
4411
4412 if test "$enableval" = yes; then
4413 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4414 else
4415 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4416 fi
4417
4418 else
4419
4420 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4421 if test "x$LINE" != x ; then
4422 eval "DEFAULT_$LINE"
4423 else
4424 no_cache=1
4425 fi
4426
4427 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4428
4429 fi;
4430
4431 eval "$ac_cv_use_sockets"
4432 if test "$no_cache" != 1; then
4433 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4434 fi
4435
4436 if test "$wxUSE_SOCKETS" = yes; then
4437 echo "$as_me:$LINENO: result: yes" >&5
4438 echo "${ECHO_T}yes" >&6
4439 else
4440 echo "$as_me:$LINENO: result: no" >&5
4441 echo "${ECHO_T}no" >&6
4442 fi
4443
4444
4445 enablestring=
4446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4447 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4448 no_cache=0
4449 # Check whether --enable-ole or --disable-ole was given.
4450 if test "${enable_ole+set}" = set; then
4451 enableval="$enable_ole"
4452
4453 if test "$enableval" = yes; then
4454 ac_cv_use_ole='wxUSE_OLE=yes'
4455 else
4456 ac_cv_use_ole='wxUSE_OLE=no'
4457 fi
4458
4459 else
4460
4461 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4462 if test "x$LINE" != x ; then
4463 eval "DEFAULT_$LINE"
4464 else
4465 no_cache=1
4466 fi
4467
4468 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4469
4470 fi;
4471
4472 eval "$ac_cv_use_ole"
4473 if test "$no_cache" != 1; then
4474 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4475 fi
4476
4477 if test "$wxUSE_OLE" = yes; then
4478 echo "$as_me:$LINENO: result: yes" >&5
4479 echo "${ECHO_T}yes" >&6
4480 else
4481 echo "$as_me:$LINENO: result: no" >&5
4482 echo "${ECHO_T}no" >&6
4483 fi
4484
4485
4486 enablestring=
4487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4488 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4489 no_cache=0
4490 # Check whether --enable-dataobj or --disable-dataobj was given.
4491 if test "${enable_dataobj+set}" = set; then
4492 enableval="$enable_dataobj"
4493
4494 if test "$enableval" = yes; then
4495 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4496 else
4497 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4498 fi
4499
4500 else
4501
4502 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4503 if test "x$LINE" != x ; then
4504 eval "DEFAULT_$LINE"
4505 else
4506 no_cache=1
4507 fi
4508
4509 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4510
4511 fi;
4512
4513 eval "$ac_cv_use_dataobj"
4514 if test "$no_cache" != 1; then
4515 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4516 fi
4517
4518 if test "$wxUSE_DATAOBJ" = yes; then
4519 echo "$as_me:$LINENO: result: yes" >&5
4520 echo "${ECHO_T}yes" >&6
4521 else
4522 echo "$as_me:$LINENO: result: no" >&5
4523 echo "${ECHO_T}no" >&6
4524 fi
4525
4526
4527
4528 enablestring=
4529 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4530 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4531 no_cache=0
4532 # Check whether --enable-ipc or --disable-ipc was given.
4533 if test "${enable_ipc+set}" = set; then
4534 enableval="$enable_ipc"
4535
4536 if test "$enableval" = yes; then
4537 ac_cv_use_ipc='wxUSE_IPC=yes'
4538 else
4539 ac_cv_use_ipc='wxUSE_IPC=no'
4540 fi
4541
4542 else
4543
4544 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4545 if test "x$LINE" != x ; then
4546 eval "DEFAULT_$LINE"
4547 else
4548 no_cache=1
4549 fi
4550
4551 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4552
4553 fi;
4554
4555 eval "$ac_cv_use_ipc"
4556 if test "$no_cache" != 1; then
4557 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4558 fi
4559
4560 if test "$wxUSE_IPC" = yes; then
4561 echo "$as_me:$LINENO: result: yes" >&5
4562 echo "${ECHO_T}yes" >&6
4563 else
4564 echo "$as_me:$LINENO: result: no" >&5
4565 echo "${ECHO_T}no" >&6
4566 fi
4567
4568
4569
4570 enablestring=
4571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4572 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4573 no_cache=0
4574 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4575 if test "${enable_apple_ieee+set}" = set; then
4576 enableval="$enable_apple_ieee"
4577
4578 if test "$enableval" = yes; then
4579 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4580 else
4581 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4582 fi
4583
4584 else
4585
4586 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4587 if test "x$LINE" != x ; then
4588 eval "DEFAULT_$LINE"
4589 else
4590 no_cache=1
4591 fi
4592
4593 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4594
4595 fi;
4596
4597 eval "$ac_cv_use_apple_ieee"
4598 if test "$no_cache" != 1; then
4599 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4600 fi
4601
4602 if test "$wxUSE_APPLE_IEEE" = yes; then
4603 echo "$as_me:$LINENO: result: yes" >&5
4604 echo "${ECHO_T}yes" >&6
4605 else
4606 echo "$as_me:$LINENO: result: no" >&5
4607 echo "${ECHO_T}no" >&6
4608 fi
4609
4610
4611 enablestring=
4612 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4613 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4614 no_cache=0
4615 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4616 if test "${enable_catch_segvs+set}" = set; then
4617 enableval="$enable_catch_segvs"
4618
4619 if test "$enableval" = yes; then
4620 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4621 else
4622 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4623 fi
4624
4625 else
4626
4627 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4628 if test "x$LINE" != x ; then
4629 eval "DEFAULT_$LINE"
4630 else
4631 no_cache=1
4632 fi
4633
4634 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4635
4636 fi;
4637
4638 eval "$ac_cv_use_catch_segvs"
4639 if test "$no_cache" != 1; then
4640 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4641 fi
4642
4643 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4644 echo "$as_me:$LINENO: result: yes" >&5
4645 echo "${ECHO_T}yes" >&6
4646 else
4647 echo "$as_me:$LINENO: result: no" >&5
4648 echo "${ECHO_T}no" >&6
4649 fi
4650
4651
4652 enablestring=
4653 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4654 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4655 no_cache=0
4656 # Check whether --enable-cmdline or --disable-cmdline was given.
4657 if test "${enable_cmdline+set}" = set; then
4658 enableval="$enable_cmdline"
4659
4660 if test "$enableval" = yes; then
4661 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4662 else
4663 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4664 fi
4665
4666 else
4667
4668 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4669 if test "x$LINE" != x ; then
4670 eval "DEFAULT_$LINE"
4671 else
4672 no_cache=1
4673 fi
4674
4675 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4676
4677 fi;
4678
4679 eval "$ac_cv_use_cmdline"
4680 if test "$no_cache" != 1; then
4681 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4682 fi
4683
4684 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4685 echo "$as_me:$LINENO: result: yes" >&5
4686 echo "${ECHO_T}yes" >&6
4687 else
4688 echo "$as_me:$LINENO: result: no" >&5
4689 echo "${ECHO_T}no" >&6
4690 fi
4691
4692
4693 enablestring=
4694 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4695 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4696 no_cache=0
4697 # Check whether --enable-datetime or --disable-datetime was given.
4698 if test "${enable_datetime+set}" = set; then
4699 enableval="$enable_datetime"
4700
4701 if test "$enableval" = yes; then
4702 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4703 else
4704 ac_cv_use_datetime='wxUSE_DATETIME=no'
4705 fi
4706
4707 else
4708
4709 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4710 if test "x$LINE" != x ; then
4711 eval "DEFAULT_$LINE"
4712 else
4713 no_cache=1
4714 fi
4715
4716 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4717
4718 fi;
4719
4720 eval "$ac_cv_use_datetime"
4721 if test "$no_cache" != 1; then
4722 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4723 fi
4724
4725 if test "$wxUSE_DATETIME" = yes; then
4726 echo "$as_me:$LINENO: result: yes" >&5
4727 echo "${ECHO_T}yes" >&6
4728 else
4729 echo "$as_me:$LINENO: result: no" >&5
4730 echo "${ECHO_T}no" >&6
4731 fi
4732
4733
4734 enablestring=
4735 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4736 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4737 no_cache=0
4738 # Check whether --enable-dialupman or --disable-dialupman was given.
4739 if test "${enable_dialupman+set}" = set; then
4740 enableval="$enable_dialupman"
4741
4742 if test "$enableval" = yes; then
4743 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4744 else
4745 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4746 fi
4747
4748 else
4749
4750 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4751 if test "x$LINE" != x ; then
4752 eval "DEFAULT_$LINE"
4753 else
4754 no_cache=1
4755 fi
4756
4757 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4758
4759 fi;
4760
4761 eval "$ac_cv_use_dialupman"
4762 if test "$no_cache" != 1; then
4763 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4764 fi
4765
4766 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4767 echo "$as_me:$LINENO: result: yes" >&5
4768 echo "${ECHO_T}yes" >&6
4769 else
4770 echo "$as_me:$LINENO: result: no" >&5
4771 echo "${ECHO_T}no" >&6
4772 fi
4773
4774
4775 enablestring=
4776 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4777 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4778 no_cache=0
4779 # Check whether --enable-dynlib or --disable-dynlib was given.
4780 if test "${enable_dynlib+set}" = set; then
4781 enableval="$enable_dynlib"
4782
4783 if test "$enableval" = yes; then
4784 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4785 else
4786 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4787 fi
4788
4789 else
4790
4791 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4792 if test "x$LINE" != x ; then
4793 eval "DEFAULT_$LINE"
4794 else
4795 no_cache=1
4796 fi
4797
4798 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4799
4800 fi;
4801
4802 eval "$ac_cv_use_dynlib"
4803 if test "$no_cache" != 1; then
4804 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4805 fi
4806
4807 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4808 echo "$as_me:$LINENO: result: yes" >&5
4809 echo "${ECHO_T}yes" >&6
4810 else
4811 echo "$as_me:$LINENO: result: no" >&5
4812 echo "${ECHO_T}no" >&6
4813 fi
4814
4815
4816 enablestring=
4817 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4818 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4819 no_cache=0
4820 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4821 if test "${enable_dynamicloader+set}" = set; then
4822 enableval="$enable_dynamicloader"
4823
4824 if test "$enableval" = yes; then
4825 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4826 else
4827 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4828 fi
4829
4830 else
4831
4832 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4833 if test "x$LINE" != x ; then
4834 eval "DEFAULT_$LINE"
4835 else
4836 no_cache=1
4837 fi
4838
4839 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4840
4841 fi;
4842
4843 eval "$ac_cv_use_dynamicloader"
4844 if test "$no_cache" != 1; then
4845 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4846 fi
4847
4848 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4849 echo "$as_me:$LINENO: result: yes" >&5
4850 echo "${ECHO_T}yes" >&6
4851 else
4852 echo "$as_me:$LINENO: result: no" >&5
4853 echo "${ECHO_T}no" >&6
4854 fi
4855
4856
4857 enablestring=
4858 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4859 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4860 no_cache=0
4861 # Check whether --enable-exceptions or --disable-exceptions was given.
4862 if test "${enable_exceptions+set}" = set; then
4863 enableval="$enable_exceptions"
4864
4865 if test "$enableval" = yes; then
4866 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
4867 else
4868 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
4869 fi
4870
4871 else
4872
4873 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4874 if test "x$LINE" != x ; then
4875 eval "DEFAULT_$LINE"
4876 else
4877 no_cache=1
4878 fi
4879
4880 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4881
4882 fi;
4883
4884 eval "$ac_cv_use_exceptions"
4885 if test "$no_cache" != 1; then
4886 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4887 fi
4888
4889 if test "$wxUSE_EXCEPTIONS" = yes; then
4890 echo "$as_me:$LINENO: result: yes" >&5
4891 echo "${ECHO_T}yes" >&6
4892 else
4893 echo "$as_me:$LINENO: result: no" >&5
4894 echo "${ECHO_T}no" >&6
4895 fi
4896
4897
4898 enablestring=
4899 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4900 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4901 no_cache=0
4902 # Check whether --enable-ffile or --disable-ffile was given.
4903 if test "${enable_ffile+set}" = set; then
4904 enableval="$enable_ffile"
4905
4906 if test "$enableval" = yes; then
4907 ac_cv_use_ffile='wxUSE_FFILE=yes'
4908 else
4909 ac_cv_use_ffile='wxUSE_FFILE=no'
4910 fi
4911
4912 else
4913
4914 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4915 if test "x$LINE" != x ; then
4916 eval "DEFAULT_$LINE"
4917 else
4918 no_cache=1
4919 fi
4920
4921 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4922
4923 fi;
4924
4925 eval "$ac_cv_use_ffile"
4926 if test "$no_cache" != 1; then
4927 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4928 fi
4929
4930 if test "$wxUSE_FFILE" = yes; then
4931 echo "$as_me:$LINENO: result: yes" >&5
4932 echo "${ECHO_T}yes" >&6
4933 else
4934 echo "$as_me:$LINENO: result: no" >&5
4935 echo "${ECHO_T}no" >&6
4936 fi
4937
4938
4939 enablestring=
4940 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4941 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4942 no_cache=0
4943 # Check whether --enable-file or --disable-file was given.
4944 if test "${enable_file+set}" = set; then
4945 enableval="$enable_file"
4946
4947 if test "$enableval" = yes; then
4948 ac_cv_use_file='wxUSE_FILE=yes'
4949 else
4950 ac_cv_use_file='wxUSE_FILE=no'
4951 fi
4952
4953 else
4954
4955 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4956 if test "x$LINE" != x ; then
4957 eval "DEFAULT_$LINE"
4958 else
4959 no_cache=1
4960 fi
4961
4962 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4963
4964 fi;
4965
4966 eval "$ac_cv_use_file"
4967 if test "$no_cache" != 1; then
4968 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4969 fi
4970
4971 if test "$wxUSE_FILE" = yes; then
4972 echo "$as_me:$LINENO: result: yes" >&5
4973 echo "${ECHO_T}yes" >&6
4974 else
4975 echo "$as_me:$LINENO: result: no" >&5
4976 echo "${ECHO_T}no" >&6
4977 fi
4978
4979
4980 enablestring=
4981 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4982 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4983 no_cache=0
4984 # Check whether --enable-filesystem or --disable-filesystem was given.
4985 if test "${enable_filesystem+set}" = set; then
4986 enableval="$enable_filesystem"
4987
4988 if test "$enableval" = yes; then
4989 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
4990 else
4991 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
4992 fi
4993
4994 else
4995
4996 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4997 if test "x$LINE" != x ; then
4998 eval "DEFAULT_$LINE"
4999 else
5000 no_cache=1
5001 fi
5002
5003 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5004
5005 fi;
5006
5007 eval "$ac_cv_use_filesystem"
5008 if test "$no_cache" != 1; then
5009 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5010 fi
5011
5012 if test "$wxUSE_FILESYSTEM" = yes; then
5013 echo "$as_me:$LINENO: result: yes" >&5
5014 echo "${ECHO_T}yes" >&6
5015 else
5016 echo "$as_me:$LINENO: result: no" >&5
5017 echo "${ECHO_T}no" >&6
5018 fi
5019
5020
5021 enablestring=
5022 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5023 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5024 no_cache=0
5025 # Check whether --enable-fontmap or --disable-fontmap was given.
5026 if test "${enable_fontmap+set}" = set; then
5027 enableval="$enable_fontmap"
5028
5029 if test "$enableval" = yes; then
5030 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5031 else
5032 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5033 fi
5034
5035 else
5036
5037 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5038 if test "x$LINE" != x ; then
5039 eval "DEFAULT_$LINE"
5040 else
5041 no_cache=1
5042 fi
5043
5044 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5045
5046 fi;
5047
5048 eval "$ac_cv_use_fontmap"
5049 if test "$no_cache" != 1; then
5050 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5051 fi
5052
5053 if test "$wxUSE_FONTMAP" = yes; then
5054 echo "$as_me:$LINENO: result: yes" >&5
5055 echo "${ECHO_T}yes" >&6
5056 else
5057 echo "$as_me:$LINENO: result: no" >&5
5058 echo "${ECHO_T}no" >&6
5059 fi
5060
5061
5062 enablestring=
5063 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5064 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5065 no_cache=0
5066 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5067 if test "${enable_fs_inet+set}" = set; then
5068 enableval="$enable_fs_inet"
5069
5070 if test "$enableval" = yes; then
5071 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5072 else
5073 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5074 fi
5075
5076 else
5077
5078 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5079 if test "x$LINE" != x ; then
5080 eval "DEFAULT_$LINE"
5081 else
5082 no_cache=1
5083 fi
5084
5085 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5086
5087 fi;
5088
5089 eval "$ac_cv_use_fs_inet"
5090 if test "$no_cache" != 1; then
5091 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5092 fi
5093
5094 if test "$wxUSE_FS_INET" = yes; then
5095 echo "$as_me:$LINENO: result: yes" >&5
5096 echo "${ECHO_T}yes" >&6
5097 else
5098 echo "$as_me:$LINENO: result: no" >&5
5099 echo "${ECHO_T}no" >&6
5100 fi
5101
5102
5103 enablestring=
5104 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5105 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5106 no_cache=0
5107 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5108 if test "${enable_fs_zip+set}" = set; then
5109 enableval="$enable_fs_zip"
5110
5111 if test "$enableval" = yes; then
5112 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5113 else
5114 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5115 fi
5116
5117 else
5118
5119 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5120 if test "x$LINE" != x ; then
5121 eval "DEFAULT_$LINE"
5122 else
5123 no_cache=1
5124 fi
5125
5126 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5127
5128 fi;
5129
5130 eval "$ac_cv_use_fs_zip"
5131 if test "$no_cache" != 1; then
5132 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5133 fi
5134
5135 if test "$wxUSE_FS_ZIP" = yes; then
5136 echo "$as_me:$LINENO: result: yes" >&5
5137 echo "${ECHO_T}yes" >&6
5138 else
5139 echo "$as_me:$LINENO: result: no" >&5
5140 echo "${ECHO_T}no" >&6
5141 fi
5142
5143
5144 enablestring=
5145 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5146 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5147 no_cache=0
5148 # Check whether --enable-geometry or --disable-geometry was given.
5149 if test "${enable_geometry+set}" = set; then
5150 enableval="$enable_geometry"
5151
5152 if test "$enableval" = yes; then
5153 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5154 else
5155 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5156 fi
5157
5158 else
5159
5160 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5161 if test "x$LINE" != x ; then
5162 eval "DEFAULT_$LINE"
5163 else
5164 no_cache=1
5165 fi
5166
5167 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5168
5169 fi;
5170
5171 eval "$ac_cv_use_geometry"
5172 if test "$no_cache" != 1; then
5173 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5174 fi
5175
5176 if test "$wxUSE_GEOMETRY" = yes; then
5177 echo "$as_me:$LINENO: result: yes" >&5
5178 echo "${ECHO_T}yes" >&6
5179 else
5180 echo "$as_me:$LINENO: result: no" >&5
5181 echo "${ECHO_T}no" >&6
5182 fi
5183
5184
5185 enablestring=
5186 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5187 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5188 no_cache=0
5189 # Check whether --enable-log or --disable-log was given.
5190 if test "${enable_log+set}" = set; then
5191 enableval="$enable_log"
5192
5193 if test "$enableval" = yes; then
5194 ac_cv_use_log='wxUSE_LOG=yes'
5195 else
5196 ac_cv_use_log='wxUSE_LOG=no'
5197 fi
5198
5199 else
5200
5201 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5202 if test "x$LINE" != x ; then
5203 eval "DEFAULT_$LINE"
5204 else
5205 no_cache=1
5206 fi
5207
5208 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5209
5210 fi;
5211
5212 eval "$ac_cv_use_log"
5213 if test "$no_cache" != 1; then
5214 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5215 fi
5216
5217 if test "$wxUSE_LOG" = yes; then
5218 echo "$as_me:$LINENO: result: yes" >&5
5219 echo "${ECHO_T}yes" >&6
5220 else
5221 echo "$as_me:$LINENO: result: no" >&5
5222 echo "${ECHO_T}no" >&6
5223 fi
5224
5225
5226 enablestring=
5227 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5228 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5229 no_cache=0
5230 # Check whether --enable-longlong or --disable-longlong was given.
5231 if test "${enable_longlong+set}" = set; then
5232 enableval="$enable_longlong"
5233
5234 if test "$enableval" = yes; then
5235 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5236 else
5237 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5238 fi
5239
5240 else
5241
5242 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5243 if test "x$LINE" != x ; then
5244 eval "DEFAULT_$LINE"
5245 else
5246 no_cache=1
5247 fi
5248
5249 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5250
5251 fi;
5252
5253 eval "$ac_cv_use_longlong"
5254 if test "$no_cache" != 1; then
5255 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5256 fi
5257
5258 if test "$wxUSE_LONGLONG" = yes; then
5259 echo "$as_me:$LINENO: result: yes" >&5
5260 echo "${ECHO_T}yes" >&6
5261 else
5262 echo "$as_me:$LINENO: result: no" >&5
5263 echo "${ECHO_T}no" >&6
5264 fi
5265
5266
5267 enablestring=
5268 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5269 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5270 no_cache=0
5271 # Check whether --enable-mimetype or --disable-mimetype was given.
5272 if test "${enable_mimetype+set}" = set; then
5273 enableval="$enable_mimetype"
5274
5275 if test "$enableval" = yes; then
5276 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5277 else
5278 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5279 fi
5280
5281 else
5282
5283 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5284 if test "x$LINE" != x ; then
5285 eval "DEFAULT_$LINE"
5286 else
5287 no_cache=1
5288 fi
5289
5290 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5291
5292 fi;
5293
5294 eval "$ac_cv_use_mimetype"
5295 if test "$no_cache" != 1; then
5296 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5297 fi
5298
5299 if test "$wxUSE_MIMETYPE" = yes; then
5300 echo "$as_me:$LINENO: result: yes" >&5
5301 echo "${ECHO_T}yes" >&6
5302 else
5303 echo "$as_me:$LINENO: result: no" >&5
5304 echo "${ECHO_T}no" >&6
5305 fi
5306
5307
5308 enablestring=
5309 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5310 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5311 no_cache=0
5312 # Check whether --enable-mslu or --disable-mslu was given.
5313 if test "${enable_mslu+set}" = set; then
5314 enableval="$enable_mslu"
5315
5316 if test "$enableval" = yes; then
5317 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5318 else
5319 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5320 fi
5321
5322 else
5323
5324 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5325 if test "x$LINE" != x ; then
5326 eval "DEFAULT_$LINE"
5327 else
5328 no_cache=1
5329 fi
5330
5331 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5332
5333 fi;
5334
5335 eval "$ac_cv_use_mslu"
5336 if test "$no_cache" != 1; then
5337 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5338 fi
5339
5340 if test "$wxUSE_UNICODE_MSLU" = yes; then
5341 echo "$as_me:$LINENO: result: yes" >&5
5342 echo "${ECHO_T}yes" >&6
5343 else
5344 echo "$as_me:$LINENO: result: no" >&5
5345 echo "${ECHO_T}no" >&6
5346 fi
5347
5348
5349 enablestring=
5350 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5351 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5352 no_cache=0
5353 # Check whether --enable-snglinst or --disable-snglinst was given.
5354 if test "${enable_snglinst+set}" = set; then
5355 enableval="$enable_snglinst"
5356
5357 if test "$enableval" = yes; then
5358 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5359 else
5360 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5361 fi
5362
5363 else
5364
5365 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5366 if test "x$LINE" != x ; then
5367 eval "DEFAULT_$LINE"
5368 else
5369 no_cache=1
5370 fi
5371
5372 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5373
5374 fi;
5375
5376 eval "$ac_cv_use_snglinst"
5377 if test "$no_cache" != 1; then
5378 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5379 fi
5380
5381 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5382 echo "$as_me:$LINENO: result: yes" >&5
5383 echo "${ECHO_T}yes" >&6
5384 else
5385 echo "$as_me:$LINENO: result: no" >&5
5386 echo "${ECHO_T}no" >&6
5387 fi
5388
5389
5390 enablestring=
5391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5392 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5393 no_cache=0
5394 # Check whether --enable-streams or --disable-streams was given.
5395 if test "${enable_streams+set}" = set; then
5396 enableval="$enable_streams"
5397
5398 if test "$enableval" = yes; then
5399 ac_cv_use_streams='wxUSE_STREAMS=yes'
5400 else
5401 ac_cv_use_streams='wxUSE_STREAMS=no'
5402 fi
5403
5404 else
5405
5406 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5407 if test "x$LINE" != x ; then
5408 eval "DEFAULT_$LINE"
5409 else
5410 no_cache=1
5411 fi
5412
5413 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5414
5415 fi;
5416
5417 eval "$ac_cv_use_streams"
5418 if test "$no_cache" != 1; then
5419 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5420 fi
5421
5422 if test "$wxUSE_STREAMS" = yes; then
5423 echo "$as_me:$LINENO: result: yes" >&5
5424 echo "${ECHO_T}yes" >&6
5425 else
5426 echo "$as_me:$LINENO: result: no" >&5
5427 echo "${ECHO_T}no" >&6
5428 fi
5429
5430
5431 enablestring=
5432 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5433 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5434 no_cache=0
5435 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5436 if test "${enable_std_iostreams+set}" = set; then
5437 enableval="$enable_std_iostreams"
5438
5439 if test "$enableval" = yes; then
5440 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5441 else
5442 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5443 fi
5444
5445 else
5446
5447 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5448 if test "x$LINE" != x ; then
5449 eval "DEFAULT_$LINE"
5450 else
5451 no_cache=1
5452 fi
5453
5454 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5455
5456 fi;
5457
5458 eval "$ac_cv_use_std_iostreams"
5459 if test "$no_cache" != 1; then
5460 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5461 fi
5462
5463 if test "$wxUSE_STD_IOSTREAM" = yes; then
5464 echo "$as_me:$LINENO: result: yes" >&5
5465 echo "${ECHO_T}yes" >&6
5466 else
5467 echo "$as_me:$LINENO: result: no" >&5
5468 echo "${ECHO_T}no" >&6
5469 fi
5470
5471
5472 enablestring=
5473 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5474 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5475 no_cache=0
5476 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5477 if test "${enable_stopwatch+set}" = set; then
5478 enableval="$enable_stopwatch"
5479
5480 if test "$enableval" = yes; then
5481 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5482 else
5483 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5484 fi
5485
5486 else
5487
5488 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5489 if test "x$LINE" != x ; then
5490 eval "DEFAULT_$LINE"
5491 else
5492 no_cache=1
5493 fi
5494
5495 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5496
5497 fi;
5498
5499 eval "$ac_cv_use_stopwatch"
5500 if test "$no_cache" != 1; then
5501 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5502 fi
5503
5504 if test "$wxUSE_STOPWATCH" = yes; then
5505 echo "$as_me:$LINENO: result: yes" >&5
5506 echo "${ECHO_T}yes" >&6
5507 else
5508 echo "$as_me:$LINENO: result: no" >&5
5509 echo "${ECHO_T}no" >&6
5510 fi
5511
5512
5513 enablestring=
5514 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5515 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5516 no_cache=0
5517 # Check whether --enable-system_options or --disable-system_options was given.
5518 if test "${enable_system_options+set}" = set; then
5519 enableval="$enable_system_options"
5520
5521 if test "$enableval" = yes; then
5522 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5523 else
5524 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5525 fi
5526
5527 else
5528
5529 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5530 if test "x$LINE" != x ; then
5531 eval "DEFAULT_$LINE"
5532 else
5533 no_cache=1
5534 fi
5535
5536 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5537
5538 fi;
5539
5540 eval "$ac_cv_use_system_options"
5541 if test "$no_cache" != 1; then
5542 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5543 fi
5544
5545 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5546 echo "$as_me:$LINENO: result: yes" >&5
5547 echo "${ECHO_T}yes" >&6
5548 else
5549 echo "$as_me:$LINENO: result: no" >&5
5550 echo "${ECHO_T}no" >&6
5551 fi
5552
5553
5554 enablestring=
5555 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5556 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5557 no_cache=0
5558 # Check whether --enable-textbuf or --disable-textbuf was given.
5559 if test "${enable_textbuf+set}" = set; then
5560 enableval="$enable_textbuf"
5561
5562 if test "$enableval" = yes; then
5563 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5564 else
5565 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5566 fi
5567
5568 else
5569
5570 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5571 if test "x$LINE" != x ; then
5572 eval "DEFAULT_$LINE"
5573 else
5574 no_cache=1
5575 fi
5576
5577 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5578
5579 fi;
5580
5581 eval "$ac_cv_use_textbuf"
5582 if test "$no_cache" != 1; then
5583 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5584 fi
5585
5586 if test "$wxUSE_TEXTBUFFER" = yes; then
5587 echo "$as_me:$LINENO: result: yes" >&5
5588 echo "${ECHO_T}yes" >&6
5589 else
5590 echo "$as_me:$LINENO: result: no" >&5
5591 echo "${ECHO_T}no" >&6
5592 fi
5593
5594
5595 enablestring=
5596 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5597 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5598 no_cache=0
5599 # Check whether --enable-textfile or --disable-textfile was given.
5600 if test "${enable_textfile+set}" = set; then
5601 enableval="$enable_textfile"
5602
5603 if test "$enableval" = yes; then
5604 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5605 else
5606 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5607 fi
5608
5609 else
5610
5611 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5612 if test "x$LINE" != x ; then
5613 eval "DEFAULT_$LINE"
5614 else
5615 no_cache=1
5616 fi
5617
5618 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5619
5620 fi;
5621
5622 eval "$ac_cv_use_textfile"
5623 if test "$no_cache" != 1; then
5624 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5625 fi
5626
5627 if test "$wxUSE_TEXTFILE" = yes; then
5628 echo "$as_me:$LINENO: result: yes" >&5
5629 echo "${ECHO_T}yes" >&6
5630 else
5631 echo "$as_me:$LINENO: result: no" >&5
5632 echo "${ECHO_T}no" >&6
5633 fi
5634
5635
5636 enablestring=
5637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5638 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5639 no_cache=0
5640 # Check whether --enable-timer or --disable-timer was given.
5641 if test "${enable_timer+set}" = set; then
5642 enableval="$enable_timer"
5643
5644 if test "$enableval" = yes; then
5645 ac_cv_use_timer='wxUSE_TIMER=yes'
5646 else
5647 ac_cv_use_timer='wxUSE_TIMER=no'
5648 fi
5649
5650 else
5651
5652 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5653 if test "x$LINE" != x ; then
5654 eval "DEFAULT_$LINE"
5655 else
5656 no_cache=1
5657 fi
5658
5659 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5660
5661 fi;
5662
5663 eval "$ac_cv_use_timer"
5664 if test "$no_cache" != 1; then
5665 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5666 fi
5667
5668 if test "$wxUSE_TIMER" = yes; then
5669 echo "$as_me:$LINENO: result: yes" >&5
5670 echo "${ECHO_T}yes" >&6
5671 else
5672 echo "$as_me:$LINENO: result: no" >&5
5673 echo "${ECHO_T}no" >&6
5674 fi
5675
5676
5677 enablestring=
5678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5679 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5680 no_cache=0
5681 # Check whether --enable-unicode or --disable-unicode was given.
5682 if test "${enable_unicode+set}" = set; then
5683 enableval="$enable_unicode"
5684
5685 if test "$enableval" = yes; then
5686 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5687 else
5688 ac_cv_use_unicode='wxUSE_UNICODE=no'
5689 fi
5690
5691 else
5692
5693 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5694 if test "x$LINE" != x ; then
5695 eval "DEFAULT_$LINE"
5696 else
5697 no_cache=1
5698 fi
5699
5700 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5701
5702 fi;
5703
5704 eval "$ac_cv_use_unicode"
5705 if test "$no_cache" != 1; then
5706 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5707 fi
5708
5709 if test "$wxUSE_UNICODE" = yes; then
5710 echo "$as_me:$LINENO: result: yes" >&5
5711 echo "${ECHO_T}yes" >&6
5712 else
5713 echo "$as_me:$LINENO: result: no" >&5
5714 echo "${ECHO_T}no" >&6
5715 fi
5716
5717
5718 enablestring=
5719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5720 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5721 no_cache=0
5722 # Check whether --enable-sound or --disable-sound was given.
5723 if test "${enable_sound+set}" = set; then
5724 enableval="$enable_sound"
5725
5726 if test "$enableval" = yes; then
5727 ac_cv_use_sound='wxUSE_SOUND=yes'
5728 else
5729 ac_cv_use_sound='wxUSE_SOUND=no'
5730 fi
5731
5732 else
5733
5734 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5735 if test "x$LINE" != x ; then
5736 eval "DEFAULT_$LINE"
5737 else
5738 no_cache=1
5739 fi
5740
5741 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5742
5743 fi;
5744
5745 eval "$ac_cv_use_sound"
5746 if test "$no_cache" != 1; then
5747 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5748 fi
5749
5750 if test "$wxUSE_SOUND" = yes; then
5751 echo "$as_me:$LINENO: result: yes" >&5
5752 echo "${ECHO_T}yes" >&6
5753 else
5754 echo "$as_me:$LINENO: result: no" >&5
5755 echo "${ECHO_T}no" >&6
5756 fi
5757
5758
5759 enablestring=
5760 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5761 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5762 no_cache=0
5763 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5764 if test "${enable_wxprintfv+set}" = set; then
5765 enableval="$enable_wxprintfv"
5766
5767 if test "$enableval" = yes; then
5768 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5769 else
5770 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5771 fi
5772
5773 else
5774
5775 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5776 if test "x$LINE" != x ; then
5777 eval "DEFAULT_$LINE"
5778 else
5779 no_cache=1
5780 fi
5781
5782 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5783
5784 fi;
5785
5786 eval "$ac_cv_use_wxprintfv"
5787 if test "$no_cache" != 1; then
5788 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5789 fi
5790
5791 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5792 echo "$as_me:$LINENO: result: yes" >&5
5793 echo "${ECHO_T}yes" >&6
5794 else
5795 echo "$as_me:$LINENO: result: no" >&5
5796 echo "${ECHO_T}no" >&6
5797 fi
5798
5799
5800 enablestring=
5801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5802 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5803 no_cache=0
5804 # Check whether --enable-zipstream or --disable-zipstream was given.
5805 if test "${enable_zipstream+set}" = set; then
5806 enableval="$enable_zipstream"
5807
5808 if test "$enableval" = yes; then
5809 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5810 else
5811 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5812 fi
5813
5814 else
5815
5816 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5817 if test "x$LINE" != x ; then
5818 eval "DEFAULT_$LINE"
5819 else
5820 no_cache=1
5821 fi
5822
5823 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5824
5825 fi;
5826
5827 eval "$ac_cv_use_zipstream"
5828 if test "$no_cache" != 1; then
5829 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5830 fi
5831
5832 if test "$wxUSE_ZIPSTREAM" = yes; then
5833 echo "$as_me:$LINENO: result: yes" >&5
5834 echo "${ECHO_T}yes" >&6
5835 else
5836 echo "$as_me:$LINENO: result: no" >&5
5837 echo "${ECHO_T}no" >&6
5838 fi
5839
5840
5841
5842 enablestring=
5843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5844 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5845 no_cache=0
5846 # Check whether --enable-url or --disable-url was given.
5847 if test "${enable_url+set}" = set; then
5848 enableval="$enable_url"
5849
5850 if test "$enableval" = yes; then
5851 ac_cv_use_url='wxUSE_URL=yes'
5852 else
5853 ac_cv_use_url='wxUSE_URL=no'
5854 fi
5855
5856 else
5857
5858 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5859 if test "x$LINE" != x ; then
5860 eval "DEFAULT_$LINE"
5861 else
5862 no_cache=1
5863 fi
5864
5865 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5866
5867 fi;
5868
5869 eval "$ac_cv_use_url"
5870 if test "$no_cache" != 1; then
5871 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5872 fi
5873
5874 if test "$wxUSE_URL" = yes; then
5875 echo "$as_me:$LINENO: result: yes" >&5
5876 echo "${ECHO_T}yes" >&6
5877 else
5878 echo "$as_me:$LINENO: result: no" >&5
5879 echo "${ECHO_T}no" >&6
5880 fi
5881
5882
5883 enablestring=
5884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5885 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5886 no_cache=0
5887 # Check whether --enable-protocol or --disable-protocol was given.
5888 if test "${enable_protocol+set}" = set; then
5889 enableval="$enable_protocol"
5890
5891 if test "$enableval" = yes; then
5892 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5893 else
5894 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5895 fi
5896
5897 else
5898
5899 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5900 if test "x$LINE" != x ; then
5901 eval "DEFAULT_$LINE"
5902 else
5903 no_cache=1
5904 fi
5905
5906 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5907
5908 fi;
5909
5910 eval "$ac_cv_use_protocol"
5911 if test "$no_cache" != 1; then
5912 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5913 fi
5914
5915 if test "$wxUSE_PROTOCOL" = yes; then
5916 echo "$as_me:$LINENO: result: yes" >&5
5917 echo "${ECHO_T}yes" >&6
5918 else
5919 echo "$as_me:$LINENO: result: no" >&5
5920 echo "${ECHO_T}no" >&6
5921 fi
5922
5923
5924 enablestring=
5925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5926 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5927 no_cache=0
5928 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5929 if test "${enable_protocol_http+set}" = set; then
5930 enableval="$enable_protocol_http"
5931
5932 if test "$enableval" = yes; then
5933 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
5934 else
5935 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
5936 fi
5937
5938 else
5939
5940 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5941 if test "x$LINE" != x ; then
5942 eval "DEFAULT_$LINE"
5943 else
5944 no_cache=1
5945 fi
5946
5947 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5948
5949 fi;
5950
5951 eval "$ac_cv_use_protocol_http"
5952 if test "$no_cache" != 1; then
5953 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5954 fi
5955
5956 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5957 echo "$as_me:$LINENO: result: yes" >&5
5958 echo "${ECHO_T}yes" >&6
5959 else
5960 echo "$as_me:$LINENO: result: no" >&5
5961 echo "${ECHO_T}no" >&6
5962 fi
5963
5964
5965 enablestring=
5966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5967 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5968 no_cache=0
5969 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5970 if test "${enable_protocol_ftp+set}" = set; then
5971 enableval="$enable_protocol_ftp"
5972
5973 if test "$enableval" = yes; then
5974 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
5975 else
5976 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
5977 fi
5978
5979 else
5980
5981 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5982 if test "x$LINE" != x ; then
5983 eval "DEFAULT_$LINE"
5984 else
5985 no_cache=1
5986 fi
5987
5988 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5989
5990 fi;
5991
5992 eval "$ac_cv_use_protocol_ftp"
5993 if test "$no_cache" != 1; then
5994 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5995 fi
5996
5997 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5998 echo "$as_me:$LINENO: result: yes" >&5
5999 echo "${ECHO_T}yes" >&6
6000 else
6001 echo "$as_me:$LINENO: result: no" >&5
6002 echo "${ECHO_T}no" >&6
6003 fi
6004
6005
6006 enablestring=
6007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6008 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6009 no_cache=0
6010 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6011 if test "${enable_protocol_file+set}" = set; then
6012 enableval="$enable_protocol_file"
6013
6014 if test "$enableval" = yes; then
6015 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6016 else
6017 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6018 fi
6019
6020 else
6021
6022 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6023 if test "x$LINE" != x ; then
6024 eval "DEFAULT_$LINE"
6025 else
6026 no_cache=1
6027 fi
6028
6029 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6030
6031 fi;
6032
6033 eval "$ac_cv_use_protocol_file"
6034 if test "$no_cache" != 1; then
6035 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6036 fi
6037
6038 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6039 echo "$as_me:$LINENO: result: yes" >&5
6040 echo "${ECHO_T}yes" >&6
6041 else
6042 echo "$as_me:$LINENO: result: no" >&5
6043 echo "${ECHO_T}no" >&6
6044 fi
6045
6046
6047
6048
6049
6050 enablestring=
6051 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6052 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6053 no_cache=0
6054 # Check whether --enable-threads or --disable-threads was given.
6055 if test "${enable_threads+set}" = set; then
6056 enableval="$enable_threads"
6057
6058 if test "$enableval" = yes; then
6059 ac_cv_use_threads='wxUSE_THREADS=yes'
6060 else
6061 ac_cv_use_threads='wxUSE_THREADS=no'
6062 fi
6063
6064 else
6065
6066 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6067 if test "x$LINE" != x ; then
6068 eval "DEFAULT_$LINE"
6069 else
6070 no_cache=1
6071 fi
6072
6073 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6074
6075 fi;
6076
6077 eval "$ac_cv_use_threads"
6078 if test "$no_cache" != 1; then
6079 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6080 fi
6081
6082 if test "$wxUSE_THREADS" = yes; then
6083 echo "$as_me:$LINENO: result: yes" >&5
6084 echo "${ECHO_T}yes" >&6
6085 else
6086 echo "$as_me:$LINENO: result: no" >&5
6087 echo "${ECHO_T}no" >&6
6088 fi
6089
6090
6091 if test "$wxUSE_GUI" = "yes"; then
6092
6093
6094
6095 enablestring=
6096 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6097 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6098 no_cache=0
6099 # Check whether --enable-docview or --disable-docview was given.
6100 if test "${enable_docview+set}" = set; then
6101 enableval="$enable_docview"
6102
6103 if test "$enableval" = yes; then
6104 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6105 else
6106 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6107 fi
6108
6109 else
6110
6111 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6112 if test "x$LINE" != x ; then
6113 eval "DEFAULT_$LINE"
6114 else
6115 no_cache=1
6116 fi
6117
6118 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6119
6120 fi;
6121
6122 eval "$ac_cv_use_docview"
6123 if test "$no_cache" != 1; then
6124 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6125 fi
6126
6127 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6128 echo "$as_me:$LINENO: result: yes" >&5
6129 echo "${ECHO_T}yes" >&6
6130 else
6131 echo "$as_me:$LINENO: result: no" >&5
6132 echo "${ECHO_T}no" >&6
6133 fi
6134
6135
6136 enablestring=
6137 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6138 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6139 no_cache=0
6140 # Check whether --enable-help or --disable-help was given.
6141 if test "${enable_help+set}" = set; then
6142 enableval="$enable_help"
6143
6144 if test "$enableval" = yes; then
6145 ac_cv_use_help='wxUSE_HELP=yes'
6146 else
6147 ac_cv_use_help='wxUSE_HELP=no'
6148 fi
6149
6150 else
6151
6152 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6153 if test "x$LINE" != x ; then
6154 eval "DEFAULT_$LINE"
6155 else
6156 no_cache=1
6157 fi
6158
6159 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6160
6161 fi;
6162
6163 eval "$ac_cv_use_help"
6164 if test "$no_cache" != 1; then
6165 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6166 fi
6167
6168 if test "$wxUSE_HELP" = yes; then
6169 echo "$as_me:$LINENO: result: yes" >&5
6170 echo "${ECHO_T}yes" >&6
6171 else
6172 echo "$as_me:$LINENO: result: no" >&5
6173 echo "${ECHO_T}no" >&6
6174 fi
6175
6176
6177 enablestring=
6178 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6179 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6180 no_cache=0
6181 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6182 if test "${enable_mshtmlhelp+set}" = set; then
6183 enableval="$enable_mshtmlhelp"
6184
6185 if test "$enableval" = yes; then
6186 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6187 else
6188 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6189 fi
6190
6191 else
6192
6193 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6194 if test "x$LINE" != x ; then
6195 eval "DEFAULT_$LINE"
6196 else
6197 no_cache=1
6198 fi
6199
6200 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6201
6202 fi;
6203
6204 eval "$ac_cv_use_mshtmlhelp"
6205 if test "$no_cache" != 1; then
6206 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6207 fi
6208
6209 if test "$wxUSE_MS_HTML_HELP" = yes; then
6210 echo "$as_me:$LINENO: result: yes" >&5
6211 echo "${ECHO_T}yes" >&6
6212 else
6213 echo "$as_me:$LINENO: result: no" >&5
6214 echo "${ECHO_T}no" >&6
6215 fi
6216
6217
6218 enablestring=
6219 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6220 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6221 no_cache=0
6222 # Check whether --enable-html or --disable-html was given.
6223 if test "${enable_html+set}" = set; then
6224 enableval="$enable_html"
6225
6226 if test "$enableval" = yes; then
6227 ac_cv_use_html='wxUSE_HTML=yes'
6228 else
6229 ac_cv_use_html='wxUSE_HTML=no'
6230 fi
6231
6232 else
6233
6234 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6235 if test "x$LINE" != x ; then
6236 eval "DEFAULT_$LINE"
6237 else
6238 no_cache=1
6239 fi
6240
6241 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6242
6243 fi;
6244
6245 eval "$ac_cv_use_html"
6246 if test "$no_cache" != 1; then
6247 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6248 fi
6249
6250 if test "$wxUSE_HTML" = yes; then
6251 echo "$as_me:$LINENO: result: yes" >&5
6252 echo "${ECHO_T}yes" >&6
6253 else
6254 echo "$as_me:$LINENO: result: no" >&5
6255 echo "${ECHO_T}no" >&6
6256 fi
6257
6258
6259 enablestring=
6260 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6261 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6262 no_cache=0
6263 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6264 if test "${enable_htmlhelp+set}" = set; then
6265 enableval="$enable_htmlhelp"
6266
6267 if test "$enableval" = yes; then
6268 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6269 else
6270 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6271 fi
6272
6273 else
6274
6275 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6276 if test "x$LINE" != x ; then
6277 eval "DEFAULT_$LINE"
6278 else
6279 no_cache=1
6280 fi
6281
6282 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6283
6284 fi;
6285
6286 eval "$ac_cv_use_htmlhelp"
6287 if test "$no_cache" != 1; then
6288 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6289 fi
6290
6291 if test "$wxUSE_WXHTML_HELP" = yes; then
6292 echo "$as_me:$LINENO: result: yes" >&5
6293 echo "${ECHO_T}yes" >&6
6294 else
6295 echo "$as_me:$LINENO: result: no" >&5
6296 echo "${ECHO_T}no" >&6
6297 fi
6298
6299
6300 enablestring=
6301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6302 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6303 no_cache=0
6304 # Check whether --enable-xrc or --disable-xrc was given.
6305 if test "${enable_xrc+set}" = set; then
6306 enableval="$enable_xrc"
6307
6308 if test "$enableval" = yes; then
6309 ac_cv_use_xrc='wxUSE_XRC=yes'
6310 else
6311 ac_cv_use_xrc='wxUSE_XRC=no'
6312 fi
6313
6314 else
6315
6316 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6317 if test "x$LINE" != x ; then
6318 eval "DEFAULT_$LINE"
6319 else
6320 no_cache=1
6321 fi
6322
6323 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6324
6325 fi;
6326
6327 eval "$ac_cv_use_xrc"
6328 if test "$no_cache" != 1; then
6329 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6330 fi
6331
6332 if test "$wxUSE_XRC" = yes; then
6333 echo "$as_me:$LINENO: result: yes" >&5
6334 echo "${ECHO_T}yes" >&6
6335 else
6336 echo "$as_me:$LINENO: result: no" >&5
6337 echo "${ECHO_T}no" >&6
6338 fi
6339
6340
6341 enablestring=
6342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6343 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6344 no_cache=0
6345 # Check whether --enable-constraints or --disable-constraints was given.
6346 if test "${enable_constraints+set}" = set; then
6347 enableval="$enable_constraints"
6348
6349 if test "$enableval" = yes; then
6350 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6351 else
6352 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6353 fi
6354
6355 else
6356
6357 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6358 if test "x$LINE" != x ; then
6359 eval "DEFAULT_$LINE"
6360 else
6361 no_cache=1
6362 fi
6363
6364 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6365
6366 fi;
6367
6368 eval "$ac_cv_use_constraints"
6369 if test "$no_cache" != 1; then
6370 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6371 fi
6372
6373 if test "$wxUSE_CONSTRAINTS" = yes; then
6374 echo "$as_me:$LINENO: result: yes" >&5
6375 echo "${ECHO_T}yes" >&6
6376 else
6377 echo "$as_me:$LINENO: result: no" >&5
6378 echo "${ECHO_T}no" >&6
6379 fi
6380
6381
6382 enablestring=
6383 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6384 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6385 no_cache=0
6386 # Check whether --enable-printarch or --disable-printarch was given.
6387 if test "${enable_printarch+set}" = set; then
6388 enableval="$enable_printarch"
6389
6390 if test "$enableval" = yes; then
6391 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6392 else
6393 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6394 fi
6395
6396 else
6397
6398 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6399 if test "x$LINE" != x ; then
6400 eval "DEFAULT_$LINE"
6401 else
6402 no_cache=1
6403 fi
6404
6405 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6406
6407 fi;
6408
6409 eval "$ac_cv_use_printarch"
6410 if test "$no_cache" != 1; then
6411 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6412 fi
6413
6414 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6415 echo "$as_me:$LINENO: result: yes" >&5
6416 echo "${ECHO_T}yes" >&6
6417 else
6418 echo "$as_me:$LINENO: result: no" >&5
6419 echo "${ECHO_T}no" >&6
6420 fi
6421
6422
6423 enablestring=
6424 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6425 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6426 no_cache=0
6427 # Check whether --enable-mdi or --disable-mdi was given.
6428 if test "${enable_mdi+set}" = set; then
6429 enableval="$enable_mdi"
6430
6431 if test "$enableval" = yes; then
6432 ac_cv_use_mdi='wxUSE_MDI=yes'
6433 else
6434 ac_cv_use_mdi='wxUSE_MDI=no'
6435 fi
6436
6437 else
6438
6439 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6440 if test "x$LINE" != x ; then
6441 eval "DEFAULT_$LINE"
6442 else
6443 no_cache=1
6444 fi
6445
6446 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6447
6448 fi;
6449
6450 eval "$ac_cv_use_mdi"
6451 if test "$no_cache" != 1; then
6452 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6453 fi
6454
6455 if test "$wxUSE_MDI" = yes; then
6456 echo "$as_me:$LINENO: result: yes" >&5
6457 echo "${ECHO_T}yes" >&6
6458 else
6459 echo "$as_me:$LINENO: result: no" >&5
6460 echo "${ECHO_T}no" >&6
6461 fi
6462
6463
6464 enablestring=
6465 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6466 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6467 no_cache=0
6468 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6469 if test "${enable_mdidoc+set}" = set; then
6470 enableval="$enable_mdidoc"
6471
6472 if test "$enableval" = yes; then
6473 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
6474 else
6475 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
6476 fi
6477
6478 else
6479
6480 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6481 if test "x$LINE" != x ; then
6482 eval "DEFAULT_$LINE"
6483 else
6484 no_cache=1
6485 fi
6486
6487 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6488
6489 fi;
6490
6491 eval "$ac_cv_use_mdidoc"
6492 if test "$no_cache" != 1; then
6493 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6494 fi
6495
6496 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6497 echo "$as_me:$LINENO: result: yes" >&5
6498 echo "${ECHO_T}yes" >&6
6499 else
6500 echo "$as_me:$LINENO: result: no" >&5
6501 echo "${ECHO_T}no" >&6
6502 fi
6503
6504
6505 enablestring=
6506 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6507 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6508 no_cache=0
6509 # Check whether --enable-loggui or --disable-loggui was given.
6510 if test "${enable_loggui+set}" = set; then
6511 enableval="$enable_loggui"
6512
6513 if test "$enableval" = yes; then
6514 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6515 else
6516 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6517 fi
6518
6519 else
6520
6521 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6522 if test "x$LINE" != x ; then
6523 eval "DEFAULT_$LINE"
6524 else
6525 no_cache=1
6526 fi
6527
6528 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6529
6530 fi;
6531
6532 eval "$ac_cv_use_loggui"
6533 if test "$no_cache" != 1; then
6534 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6535 fi
6536
6537 if test "$wxUSE_LOGGUI" = yes; then
6538 echo "$as_me:$LINENO: result: yes" >&5
6539 echo "${ECHO_T}yes" >&6
6540 else
6541 echo "$as_me:$LINENO: result: no" >&5
6542 echo "${ECHO_T}no" >&6
6543 fi
6544
6545
6546 enablestring=
6547 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6548 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6549 no_cache=0
6550 # Check whether --enable-logwin or --disable-logwin was given.
6551 if test "${enable_logwin+set}" = set; then
6552 enableval="$enable_logwin"
6553
6554 if test "$enableval" = yes; then
6555 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6556 else
6557 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6558 fi
6559
6560 else
6561
6562 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6563 if test "x$LINE" != x ; then
6564 eval "DEFAULT_$LINE"
6565 else
6566 no_cache=1
6567 fi
6568
6569 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6570
6571 fi;
6572
6573 eval "$ac_cv_use_logwin"
6574 if test "$no_cache" != 1; then
6575 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6576 fi
6577
6578 if test "$wxUSE_LOGWINDOW" = yes; then
6579 echo "$as_me:$LINENO: result: yes" >&5
6580 echo "${ECHO_T}yes" >&6
6581 else
6582 echo "$as_me:$LINENO: result: no" >&5
6583 echo "${ECHO_T}no" >&6
6584 fi
6585
6586
6587 enablestring=
6588 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6589 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6590 no_cache=0
6591 # Check whether --enable-logdialog or --disable-logdialog was given.
6592 if test "${enable_logdialog+set}" = set; then
6593 enableval="$enable_logdialog"
6594
6595 if test "$enableval" = yes; then
6596 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6597 else
6598 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6599 fi
6600
6601 else
6602
6603 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6604 if test "x$LINE" != x ; then
6605 eval "DEFAULT_$LINE"
6606 else
6607 no_cache=1
6608 fi
6609
6610 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6611
6612 fi;
6613
6614 eval "$ac_cv_use_logdialog"
6615 if test "$no_cache" != 1; then
6616 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6617 fi
6618
6619 if test "$wxUSE_LOGDIALOG" = yes; then
6620 echo "$as_me:$LINENO: result: yes" >&5
6621 echo "${ECHO_T}yes" >&6
6622 else
6623 echo "$as_me:$LINENO: result: no" >&5
6624 echo "${ECHO_T}no" >&6
6625 fi
6626
6627
6628 enablestring=
6629 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6630 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6631 no_cache=0
6632 # Check whether --enable-webkit or --disable-webkit was given.
6633 if test "${enable_webkit+set}" = set; then
6634 enableval="$enable_webkit"
6635
6636 if test "$enableval" = yes; then
6637 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
6638 else
6639 ac_cv_use_webkit='wxUSE_WEBKIT=no'
6640 fi
6641
6642 else
6643
6644 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6645 if test "x$LINE" != x ; then
6646 eval "DEFAULT_$LINE"
6647 else
6648 no_cache=1
6649 fi
6650
6651 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6652
6653 fi;
6654
6655 eval "$ac_cv_use_webkit"
6656 if test "$no_cache" != 1; then
6657 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6658 fi
6659
6660 if test "$wxUSE_WEBKIT" = yes; then
6661 echo "$as_me:$LINENO: result: yes" >&5
6662 echo "${ECHO_T}yes" >&6
6663 else
6664 echo "$as_me:$LINENO: result: no" >&5
6665 echo "${ECHO_T}no" >&6
6666 fi
6667
6668
6669
6670 enablestring=
6671 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6672 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6673 no_cache=0
6674 # Check whether --enable-postscript or --disable-postscript was given.
6675 if test "${enable_postscript+set}" = set; then
6676 enableval="$enable_postscript"
6677
6678 if test "$enableval" = yes; then
6679 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6680 else
6681 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6682 fi
6683
6684 else
6685
6686 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6687 if test "x$LINE" != x ; then
6688 eval "DEFAULT_$LINE"
6689 else
6690 no_cache=1
6691 fi
6692
6693 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6694
6695 fi;
6696
6697 eval "$ac_cv_use_postscript"
6698 if test "$no_cache" != 1; then
6699 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6700 fi
6701
6702 if test "$wxUSE_POSTSCRIPT" = yes; then
6703 echo "$as_me:$LINENO: result: yes" >&5
6704 echo "${ECHO_T}yes" >&6
6705 else
6706 echo "$as_me:$LINENO: result: no" >&5
6707 echo "${ECHO_T}no" >&6
6708 fi
6709
6710
6711
6712
6713
6714 enablestring=
6715 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6716 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6717 no_cache=0
6718 # Check whether --enable-prologio or --disable-prologio was given.
6719 if test "${enable_prologio+set}" = set; then
6720 enableval="$enable_prologio"
6721
6722 if test "$enableval" = yes; then
6723 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6724 else
6725 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6726 fi
6727
6728 else
6729
6730 LINE=`grep "wxUSE_PROLOGIO" ${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_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6738
6739 fi;
6740
6741 eval "$ac_cv_use_prologio"
6742 if test "$no_cache" != 1; then
6743 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6744 fi
6745
6746 if test "$wxUSE_PROLOGIO" = 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}-resources" >&5
6757 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6758 no_cache=0
6759 # Check whether --enable-resources or --disable-resources was given.
6760 if test "${enable_resources+set}" = set; then
6761 enableval="$enable_resources"
6762
6763 if test "$enableval" = yes; then
6764 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6765 else
6766 ac_cv_use_resources='wxUSE_RESOURCES=no'
6767 fi
6768
6769 else
6770
6771 LINE=`grep "wxUSE_RESOURCES" ${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_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6779
6780 fi;
6781
6782 eval "$ac_cv_use_resources"
6783 if test "$no_cache" != 1; then
6784 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6785 fi
6786
6787 if test "$wxUSE_RESOURCES" = 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
6797
6798 enablestring=
6799 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6800 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6801 no_cache=0
6802 # Check whether --enable-clipboard or --disable-clipboard was given.
6803 if test "${enable_clipboard+set}" = set; then
6804 enableval="$enable_clipboard"
6805
6806 if test "$enableval" = yes; then
6807 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6808 else
6809 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6810 fi
6811
6812 else
6813
6814 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6815 if test "x$LINE" != x ; then
6816 eval "DEFAULT_$LINE"
6817 else
6818 no_cache=1
6819 fi
6820
6821 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6822
6823 fi;
6824
6825 eval "$ac_cv_use_clipboard"
6826 if test "$no_cache" != 1; then
6827 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6828 fi
6829
6830 if test "$wxUSE_CLIPBOARD" = yes; then
6831 echo "$as_me:$LINENO: result: yes" >&5
6832 echo "${ECHO_T}yes" >&6
6833 else
6834 echo "$as_me:$LINENO: result: no" >&5
6835 echo "${ECHO_T}no" >&6
6836 fi
6837
6838
6839 enablestring=
6840 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6841 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6842 no_cache=0
6843 # Check whether --enable-dnd or --disable-dnd was given.
6844 if test "${enable_dnd+set}" = set; then
6845 enableval="$enable_dnd"
6846
6847 if test "$enableval" = yes; then
6848 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6849 else
6850 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6851 fi
6852
6853 else
6854
6855 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6856 if test "x$LINE" != x ; then
6857 eval "DEFAULT_$LINE"
6858 else
6859 no_cache=1
6860 fi
6861
6862 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6863
6864 fi;
6865
6866 eval "$ac_cv_use_dnd"
6867 if test "$no_cache" != 1; then
6868 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6869 fi
6870
6871 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6872 echo "$as_me:$LINENO: result: yes" >&5
6873 echo "${ECHO_T}yes" >&6
6874 else
6875 echo "$as_me:$LINENO: result: no" >&5
6876 echo "${ECHO_T}no" >&6
6877 fi
6878
6879
6880 enablestring=
6881 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6882 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6883 no_cache=0
6884 # Check whether --enable-metafile or --disable-metafile was given.
6885 if test "${enable_metafile+set}" = set; then
6886 enableval="$enable_metafile"
6887
6888 if test "$enableval" = yes; then
6889 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6890 else
6891 ac_cv_use_metafile='wxUSE_METAFILE=no'
6892 fi
6893
6894 else
6895
6896 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6897 if test "x$LINE" != x ; then
6898 eval "DEFAULT_$LINE"
6899 else
6900 no_cache=1
6901 fi
6902
6903 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6904
6905 fi;
6906
6907 eval "$ac_cv_use_metafile"
6908 if test "$no_cache" != 1; then
6909 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6910 fi
6911
6912 if test "$wxUSE_METAFILE" = yes; then
6913 echo "$as_me:$LINENO: result: yes" >&5
6914 echo "${ECHO_T}yes" >&6
6915 else
6916 echo "$as_me:$LINENO: result: no" >&5
6917 echo "${ECHO_T}no" >&6
6918 fi
6919
6920
6921
6922
6923
6924 enablestring=
6925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6926 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6927 no_cache=0
6928 # Check whether --enable-controls or --disable-controls was given.
6929 if test "${enable_controls+set}" = set; then
6930 enableval="$enable_controls"
6931
6932 if test "$enableval" = yes; then
6933 ac_cv_use_controls='wxUSE_CONTROLS=yes'
6934 else
6935 ac_cv_use_controls='wxUSE_CONTROLS=no'
6936 fi
6937
6938 else
6939
6940 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6941 if test "x$LINE" != x ; then
6942 eval "DEFAULT_$LINE"
6943 else
6944 no_cache=1
6945 fi
6946
6947 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6948
6949 fi;
6950
6951 eval "$ac_cv_use_controls"
6952 if test "$no_cache" != 1; then
6953 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6954 fi
6955
6956 if test "$wxUSE_CONTROLS" = yes; then
6957 echo "$as_me:$LINENO: result: yes" >&5
6958 echo "${ECHO_T}yes" >&6
6959 else
6960 echo "$as_me:$LINENO: result: no" >&5
6961 echo "${ECHO_T}no" >&6
6962 fi
6963
6964
6965 if test "$wxUSE_CONTROLS" = "yes"; then
6966 DEFAULT_wxUSE_ACCEL=yes
6967 DEFAULT_wxUSE_BMPBUTTON=yes
6968 DEFAULT_wxUSE_BUTTON=yes
6969 DEFAULT_wxUSE_CALCTRL=no
6970 DEFAULT_wxUSE_CARET=yes
6971 DEFAULT_wxUSE_COMBOBOX=yes
6972 DEFAULT_wxUSE_CHECKBOX=yes
6973 DEFAULT_wxUSE_CHECKLISTBOX=yes
6974 DEFAULT_wxUSE_CHOICE=yes
6975 DEFAULT_wxUSE_CHOICEBOOK=yes
6976 DEFAULT_wxUSE_GAUGE=yes
6977 DEFAULT_wxUSE_GRID=yes
6978 DEFAULT_wxUSE_IMAGLIST=yes
6979 DEFAULT_wxUSE_LISTBOOK=yes
6980 DEFAULT_wxUSE_LISTBOX=yes
6981 DEFAULT_wxUSE_LISTCTRL=yes
6982 DEFAULT_wxUSE_NOTEBOOK=yes
6983 DEFAULT_wxUSE_RADIOBOX=yes
6984 DEFAULT_wxUSE_RADIOBTN=yes
6985 DEFAULT_wxUSE_SASH=yes
6986 DEFAULT_wxUSE_SCROLLBAR=yes
6987 DEFAULT_wxUSE_SLIDER=yes
6988 DEFAULT_wxUSE_SPINBTN=yes
6989 DEFAULT_wxUSE_SPINCTRL=yes
6990 DEFAULT_wxUSE_SPLITTER=yes
6991 DEFAULT_wxUSE_STATBMP=yes
6992 DEFAULT_wxUSE_STATBOX=yes
6993 DEFAULT_wxUSE_STATLINE=yes
6994 DEFAULT_wxUSE_STATUSBAR=yes
6995 DEFAULT_wxUSE_TAB_DIALOG=yes
6996 DEFAULT_wxUSE_TOGGLEBTN=yes
6997 DEFAULT_wxUSE_TOOLBAR=yes
6998 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6999 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
7000 DEFAULT_wxUSE_TOOLTIPS=yes
7001 DEFAULT_wxUSE_TREECTRL=yes
7002 DEFAULT_wxUSE_POPUPWIN=yes
7003 DEFAULT_wxUSE_TIPWINDOW=yes
7004 elif test "$wxUSE_CONTROLS" = "no"; then
7005 DEFAULT_wxUSE_ACCEL=no
7006 DEFAULT_wxUSE_BMPBUTTON=no
7007 DEFAULT_wxUSE_BUTTON=no
7008 DEFAULT_wxUSE_CALCTRL=no
7009 DEFAULT_wxUSE_CARET=no
7010 DEFAULT_wxUSE_COMBOBOX=no
7011 DEFAULT_wxUSE_CHECKBOX=no
7012 DEFAULT_wxUSE_CHECKLISTBOX=no
7013 DEFAULT_wxUSE_CHOICE=no
7014 DEFAULT_wxUSE_CHOICEBOOK=no
7015 DEFAULT_wxUSE_GAUGE=no
7016 DEFAULT_wxUSE_GRID=no
7017 DEFAULT_wxUSE_IMAGLIST=no
7018 DEFAULT_wxUSE_LISTBOOK=no
7019 DEFAULT_wxUSE_LISTBOX=no
7020 DEFAULT_wxUSE_LISTCTRL=no
7021 DEFAULT_wxUSE_NOTEBOOK=no
7022 DEFAULT_wxUSE_RADIOBOX=no
7023 DEFAULT_wxUSE_RADIOBTN=no
7024 DEFAULT_wxUSE_SASH=no
7025 DEFAULT_wxUSE_SCROLLBAR=no
7026 DEFAULT_wxUSE_SLIDER=no
7027 DEFAULT_wxUSE_SPINBTN=no
7028 DEFAULT_wxUSE_SPINCTRL=no
7029 DEFAULT_wxUSE_SPLITTER=no
7030 DEFAULT_wxUSE_STATBMP=no
7031 DEFAULT_wxUSE_STATBOX=no
7032 DEFAULT_wxUSE_STATLINE=no
7033 DEFAULT_wxUSE_STATUSBAR=no
7034 DEFAULT_wxUSE_TAB_DIALOG=no
7035 DEFAULT_wxUSE_TOGGLEBTN=no
7036 DEFAULT_wxUSE_TOOLBAR=no
7037 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7038 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
7039 DEFAULT_wxUSE_TOOLTIPS=no
7040 DEFAULT_wxUSE_TREECTRL=no
7041 DEFAULT_wxUSE_POPUPWIN=no
7042 DEFAULT_wxUSE_TIPWINDOW=no
7043 fi
7044
7045
7046 enablestring=
7047 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7048 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7049 no_cache=0
7050 # Check whether --enable-accel or --disable-accel was given.
7051 if test "${enable_accel+set}" = set; then
7052 enableval="$enable_accel"
7053
7054 if test "$enableval" = yes; then
7055 ac_cv_use_accel='wxUSE_ACCEL=yes'
7056 else
7057 ac_cv_use_accel='wxUSE_ACCEL=no'
7058 fi
7059
7060 else
7061
7062 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7063 if test "x$LINE" != x ; then
7064 eval "DEFAULT_$LINE"
7065 else
7066 no_cache=1
7067 fi
7068
7069 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7070
7071 fi;
7072
7073 eval "$ac_cv_use_accel"
7074 if test "$no_cache" != 1; then
7075 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7076 fi
7077
7078 if test "$wxUSE_ACCEL" = yes; then
7079 echo "$as_me:$LINENO: result: yes" >&5
7080 echo "${ECHO_T}yes" >&6
7081 else
7082 echo "$as_me:$LINENO: result: no" >&5
7083 echo "${ECHO_T}no" >&6
7084 fi
7085
7086
7087 enablestring=
7088 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7089 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7090 no_cache=0
7091 # Check whether --enable-button or --disable-button was given.
7092 if test "${enable_button+set}" = set; then
7093 enableval="$enable_button"
7094
7095 if test "$enableval" = yes; then
7096 ac_cv_use_button='wxUSE_BUTTON=yes'
7097 else
7098 ac_cv_use_button='wxUSE_BUTTON=no'
7099 fi
7100
7101 else
7102
7103 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7104 if test "x$LINE" != x ; then
7105 eval "DEFAULT_$LINE"
7106 else
7107 no_cache=1
7108 fi
7109
7110 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7111
7112 fi;
7113
7114 eval "$ac_cv_use_button"
7115 if test "$no_cache" != 1; then
7116 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7117 fi
7118
7119 if test "$wxUSE_BUTTON" = yes; then
7120 echo "$as_me:$LINENO: result: yes" >&5
7121 echo "${ECHO_T}yes" >&6
7122 else
7123 echo "$as_me:$LINENO: result: no" >&5
7124 echo "${ECHO_T}no" >&6
7125 fi
7126
7127
7128 enablestring=
7129 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7130 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7131 no_cache=0
7132 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7133 if test "${enable_bmpbutton+set}" = set; then
7134 enableval="$enable_bmpbutton"
7135
7136 if test "$enableval" = yes; then
7137 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
7138 else
7139 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
7140 fi
7141
7142 else
7143
7144 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7145 if test "x$LINE" != x ; then
7146 eval "DEFAULT_$LINE"
7147 else
7148 no_cache=1
7149 fi
7150
7151 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7152
7153 fi;
7154
7155 eval "$ac_cv_use_bmpbutton"
7156 if test "$no_cache" != 1; then
7157 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7158 fi
7159
7160 if test "$wxUSE_BMPBUTTON" = yes; then
7161 echo "$as_me:$LINENO: result: yes" >&5
7162 echo "${ECHO_T}yes" >&6
7163 else
7164 echo "$as_me:$LINENO: result: no" >&5
7165 echo "${ECHO_T}no" >&6
7166 fi
7167
7168
7169 enablestring=
7170 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7171 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7172 no_cache=0
7173 # Check whether --enable-calendar or --disable-calendar was given.
7174 if test "${enable_calendar+set}" = set; then
7175 enableval="$enable_calendar"
7176
7177 if test "$enableval" = yes; then
7178 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7179 else
7180 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7181 fi
7182
7183 else
7184
7185 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7186 if test "x$LINE" != x ; then
7187 eval "DEFAULT_$LINE"
7188 else
7189 no_cache=1
7190 fi
7191
7192 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7193
7194 fi;
7195
7196 eval "$ac_cv_use_calendar"
7197 if test "$no_cache" != 1; then
7198 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7199 fi
7200
7201 if test "$wxUSE_CALCTRL" = yes; then
7202 echo "$as_me:$LINENO: result: yes" >&5
7203 echo "${ECHO_T}yes" >&6
7204 else
7205 echo "$as_me:$LINENO: result: no" >&5
7206 echo "${ECHO_T}no" >&6
7207 fi
7208
7209
7210 enablestring=
7211 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7212 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7213 no_cache=0
7214 # Check whether --enable-caret or --disable-caret was given.
7215 if test "${enable_caret+set}" = set; then
7216 enableval="$enable_caret"
7217
7218 if test "$enableval" = yes; then
7219 ac_cv_use_caret='wxUSE_CARET=yes'
7220 else
7221 ac_cv_use_caret='wxUSE_CARET=no'
7222 fi
7223
7224 else
7225
7226 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7227 if test "x$LINE" != x ; then
7228 eval "DEFAULT_$LINE"
7229 else
7230 no_cache=1
7231 fi
7232
7233 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7234
7235 fi;
7236
7237 eval "$ac_cv_use_caret"
7238 if test "$no_cache" != 1; then
7239 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7240 fi
7241
7242 if test "$wxUSE_CARET" = yes; then
7243 echo "$as_me:$LINENO: result: yes" >&5
7244 echo "${ECHO_T}yes" >&6
7245 else
7246 echo "$as_me:$LINENO: result: no" >&5
7247 echo "${ECHO_T}no" >&6
7248 fi
7249
7250
7251 enablestring=
7252 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7253 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7254 no_cache=0
7255 # Check whether --enable-checkbox or --disable-checkbox was given.
7256 if test "${enable_checkbox+set}" = set; then
7257 enableval="$enable_checkbox"
7258
7259 if test "$enableval" = yes; then
7260 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7261 else
7262 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7263 fi
7264
7265 else
7266
7267 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7268 if test "x$LINE" != x ; then
7269 eval "DEFAULT_$LINE"
7270 else
7271 no_cache=1
7272 fi
7273
7274 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7275
7276 fi;
7277
7278 eval "$ac_cv_use_checkbox"
7279 if test "$no_cache" != 1; then
7280 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7281 fi
7282
7283 if test "$wxUSE_CHECKBOX" = yes; then
7284 echo "$as_me:$LINENO: result: yes" >&5
7285 echo "${ECHO_T}yes" >&6
7286 else
7287 echo "$as_me:$LINENO: result: no" >&5
7288 echo "${ECHO_T}no" >&6
7289 fi
7290
7291
7292 enablestring=
7293 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7294 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7295 no_cache=0
7296 # Check whether --enable-checklst or --disable-checklst was given.
7297 if test "${enable_checklst+set}" = set; then
7298 enableval="$enable_checklst"
7299
7300 if test "$enableval" = yes; then
7301 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7302 else
7303 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7304 fi
7305
7306 else
7307
7308 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7309 if test "x$LINE" != x ; then
7310 eval "DEFAULT_$LINE"
7311 else
7312 no_cache=1
7313 fi
7314
7315 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7316
7317 fi;
7318
7319 eval "$ac_cv_use_checklst"
7320 if test "$no_cache" != 1; then
7321 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7322 fi
7323
7324 if test "$wxUSE_CHECKLST" = yes; then
7325 echo "$as_me:$LINENO: result: yes" >&5
7326 echo "${ECHO_T}yes" >&6
7327 else
7328 echo "$as_me:$LINENO: result: no" >&5
7329 echo "${ECHO_T}no" >&6
7330 fi
7331
7332
7333 enablestring=
7334 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7335 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7336 no_cache=0
7337 # Check whether --enable-choice or --disable-choice was given.
7338 if test "${enable_choice+set}" = set; then
7339 enableval="$enable_choice"
7340
7341 if test "$enableval" = yes; then
7342 ac_cv_use_choice='wxUSE_CHOICE=yes'
7343 else
7344 ac_cv_use_choice='wxUSE_CHOICE=no'
7345 fi
7346
7347 else
7348
7349 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7350 if test "x$LINE" != x ; then
7351 eval "DEFAULT_$LINE"
7352 else
7353 no_cache=1
7354 fi
7355
7356 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7357
7358 fi;
7359
7360 eval "$ac_cv_use_choice"
7361 if test "$no_cache" != 1; then
7362 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7363 fi
7364
7365 if test "$wxUSE_CHOICE" = yes; then
7366 echo "$as_me:$LINENO: result: yes" >&5
7367 echo "${ECHO_T}yes" >&6
7368 else
7369 echo "$as_me:$LINENO: result: no" >&5
7370 echo "${ECHO_T}no" >&6
7371 fi
7372
7373
7374 enablestring=
7375 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7376 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7377 no_cache=0
7378 # Check whether --enable-choicebook or --disable-choicebook was given.
7379 if test "${enable_choicebook+set}" = set; then
7380 enableval="$enable_choicebook"
7381
7382 if test "$enableval" = yes; then
7383 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
7384 else
7385 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
7386 fi
7387
7388 else
7389
7390 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7391 if test "x$LINE" != x ; then
7392 eval "DEFAULT_$LINE"
7393 else
7394 no_cache=1
7395 fi
7396
7397 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7398
7399 fi;
7400
7401 eval "$ac_cv_use_choicebook"
7402 if test "$no_cache" != 1; then
7403 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7404 fi
7405
7406 if test "$wxUSE_CHOICEBOOK" = yes; then
7407 echo "$as_me:$LINENO: result: yes" >&5
7408 echo "${ECHO_T}yes" >&6
7409 else
7410 echo "$as_me:$LINENO: result: no" >&5
7411 echo "${ECHO_T}no" >&6
7412 fi
7413
7414
7415 enablestring=
7416 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7417 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7418 no_cache=0
7419 # Check whether --enable-combobox or --disable-combobox was given.
7420 if test "${enable_combobox+set}" = set; then
7421 enableval="$enable_combobox"
7422
7423 if test "$enableval" = yes; then
7424 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7425 else
7426 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7427 fi
7428
7429 else
7430
7431 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7432 if test "x$LINE" != x ; then
7433 eval "DEFAULT_$LINE"
7434 else
7435 no_cache=1
7436 fi
7437
7438 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7439
7440 fi;
7441
7442 eval "$ac_cv_use_combobox"
7443 if test "$no_cache" != 1; then
7444 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7445 fi
7446
7447 if test "$wxUSE_COMBOBOX" = yes; then
7448 echo "$as_me:$LINENO: result: yes" >&5
7449 echo "${ECHO_T}yes" >&6
7450 else
7451 echo "$as_me:$LINENO: result: no" >&5
7452 echo "${ECHO_T}no" >&6
7453 fi
7454
7455
7456 enablestring=
7457 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7458 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7459 no_cache=0
7460 # Check whether --enable-display or --disable-display was given.
7461 if test "${enable_display+set}" = set; then
7462 enableval="$enable_display"
7463
7464 if test "$enableval" = yes; then
7465 ac_cv_use_display='wxUSE_DISPLAY=yes'
7466 else
7467 ac_cv_use_display='wxUSE_DISPLAY=no'
7468 fi
7469
7470 else
7471
7472 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7473 if test "x$LINE" != x ; then
7474 eval "DEFAULT_$LINE"
7475 else
7476 no_cache=1
7477 fi
7478
7479 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7480
7481 fi;
7482
7483 eval "$ac_cv_use_display"
7484 if test "$no_cache" != 1; then
7485 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7486 fi
7487
7488 if test "$wxUSE_DISPLAY" = yes; then
7489 echo "$as_me:$LINENO: result: yes" >&5
7490 echo "${ECHO_T}yes" >&6
7491 else
7492 echo "$as_me:$LINENO: result: no" >&5
7493 echo "${ECHO_T}no" >&6
7494 fi
7495
7496
7497 enablestring=
7498 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7499 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7500 no_cache=0
7501 # Check whether --enable-gauge or --disable-gauge was given.
7502 if test "${enable_gauge+set}" = set; then
7503 enableval="$enable_gauge"
7504
7505 if test "$enableval" = yes; then
7506 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7507 else
7508 ac_cv_use_gauge='wxUSE_GAUGE=no'
7509 fi
7510
7511 else
7512
7513 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7514 if test "x$LINE" != x ; then
7515 eval "DEFAULT_$LINE"
7516 else
7517 no_cache=1
7518 fi
7519
7520 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7521
7522 fi;
7523
7524 eval "$ac_cv_use_gauge"
7525 if test "$no_cache" != 1; then
7526 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7527 fi
7528
7529 if test "$wxUSE_GAUGE" = yes; then
7530 echo "$as_me:$LINENO: result: yes" >&5
7531 echo "${ECHO_T}yes" >&6
7532 else
7533 echo "$as_me:$LINENO: result: no" >&5
7534 echo "${ECHO_T}no" >&6
7535 fi
7536
7537
7538 enablestring=
7539 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7540 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7541 no_cache=0
7542 # Check whether --enable-grid or --disable-grid was given.
7543 if test "${enable_grid+set}" = set; then
7544 enableval="$enable_grid"
7545
7546 if test "$enableval" = yes; then
7547 ac_cv_use_grid='wxUSE_GRID=yes'
7548 else
7549 ac_cv_use_grid='wxUSE_GRID=no'
7550 fi
7551
7552 else
7553
7554 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7555 if test "x$LINE" != x ; then
7556 eval "DEFAULT_$LINE"
7557 else
7558 no_cache=1
7559 fi
7560
7561 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7562
7563 fi;
7564
7565 eval "$ac_cv_use_grid"
7566 if test "$no_cache" != 1; then
7567 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7568 fi
7569
7570 if test "$wxUSE_GRID" = yes; then
7571 echo "$as_me:$LINENO: result: yes" >&5
7572 echo "${ECHO_T}yes" >&6
7573 else
7574 echo "$as_me:$LINENO: result: no" >&5
7575 echo "${ECHO_T}no" >&6
7576 fi
7577
7578
7579 enablestring=
7580 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7581 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7582 no_cache=0
7583 # Check whether --enable-imaglist or --disable-imaglist was given.
7584 if test "${enable_imaglist+set}" = set; then
7585 enableval="$enable_imaglist"
7586
7587 if test "$enableval" = yes; then
7588 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7589 else
7590 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7591 fi
7592
7593 else
7594
7595 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7596 if test "x$LINE" != x ; then
7597 eval "DEFAULT_$LINE"
7598 else
7599 no_cache=1
7600 fi
7601
7602 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7603
7604 fi;
7605
7606 eval "$ac_cv_use_imaglist"
7607 if test "$no_cache" != 1; then
7608 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7609 fi
7610
7611 if test "$wxUSE_IMAGLIST" = yes; then
7612 echo "$as_me:$LINENO: result: yes" >&5
7613 echo "${ECHO_T}yes" >&6
7614 else
7615 echo "$as_me:$LINENO: result: no" >&5
7616 echo "${ECHO_T}no" >&6
7617 fi
7618
7619
7620 enablestring=
7621 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7622 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7623 no_cache=0
7624 # Check whether --enable-listbook or --disable-listbook was given.
7625 if test "${enable_listbook+set}" = set; then
7626 enableval="$enable_listbook"
7627
7628 if test "$enableval" = yes; then
7629 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7630 else
7631 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7632 fi
7633
7634 else
7635
7636 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7637 if test "x$LINE" != x ; then
7638 eval "DEFAULT_$LINE"
7639 else
7640 no_cache=1
7641 fi
7642
7643 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7644
7645 fi;
7646
7647 eval "$ac_cv_use_listbook"
7648 if test "$no_cache" != 1; then
7649 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7650 fi
7651
7652 if test "$wxUSE_LISTBOOK" = yes; then
7653 echo "$as_me:$LINENO: result: yes" >&5
7654 echo "${ECHO_T}yes" >&6
7655 else
7656 echo "$as_me:$LINENO: result: no" >&5
7657 echo "${ECHO_T}no" >&6
7658 fi
7659
7660
7661 enablestring=
7662 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7663 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7664 no_cache=0
7665 # Check whether --enable-listbox or --disable-listbox was given.
7666 if test "${enable_listbox+set}" = set; then
7667 enableval="$enable_listbox"
7668
7669 if test "$enableval" = yes; then
7670 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7671 else
7672 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7673 fi
7674
7675 else
7676
7677 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7678 if test "x$LINE" != x ; then
7679 eval "DEFAULT_$LINE"
7680 else
7681 no_cache=1
7682 fi
7683
7684 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7685
7686 fi;
7687
7688 eval "$ac_cv_use_listbox"
7689 if test "$no_cache" != 1; then
7690 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7691 fi
7692
7693 if test "$wxUSE_LISTBOX" = yes; then
7694 echo "$as_me:$LINENO: result: yes" >&5
7695 echo "${ECHO_T}yes" >&6
7696 else
7697 echo "$as_me:$LINENO: result: no" >&5
7698 echo "${ECHO_T}no" >&6
7699 fi
7700
7701
7702 enablestring=
7703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7704 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7705 no_cache=0
7706 # Check whether --enable-listctrl or --disable-listctrl was given.
7707 if test "${enable_listctrl+set}" = set; then
7708 enableval="$enable_listctrl"
7709
7710 if test "$enableval" = yes; then
7711 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7712 else
7713 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7714 fi
7715
7716 else
7717
7718 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7719 if test "x$LINE" != x ; then
7720 eval "DEFAULT_$LINE"
7721 else
7722 no_cache=1
7723 fi
7724
7725 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7726
7727 fi;
7728
7729 eval "$ac_cv_use_listctrl"
7730 if test "$no_cache" != 1; then
7731 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7732 fi
7733
7734 if test "$wxUSE_LISTCTRL" = yes; then
7735 echo "$as_me:$LINENO: result: yes" >&5
7736 echo "${ECHO_T}yes" >&6
7737 else
7738 echo "$as_me:$LINENO: result: no" >&5
7739 echo "${ECHO_T}no" >&6
7740 fi
7741
7742
7743 enablestring=
7744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7745 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7746 no_cache=0
7747 # Check whether --enable-notebook or --disable-notebook was given.
7748 if test "${enable_notebook+set}" = set; then
7749 enableval="$enable_notebook"
7750
7751 if test "$enableval" = yes; then
7752 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7753 else
7754 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7755 fi
7756
7757 else
7758
7759 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7760 if test "x$LINE" != x ; then
7761 eval "DEFAULT_$LINE"
7762 else
7763 no_cache=1
7764 fi
7765
7766 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7767
7768 fi;
7769
7770 eval "$ac_cv_use_notebook"
7771 if test "$no_cache" != 1; then
7772 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7773 fi
7774
7775 if test "$wxUSE_NOTEBOOK" = yes; then
7776 echo "$as_me:$LINENO: result: yes" >&5
7777 echo "${ECHO_T}yes" >&6
7778 else
7779 echo "$as_me:$LINENO: result: no" >&5
7780 echo "${ECHO_T}no" >&6
7781 fi
7782
7783
7784 enablestring=
7785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7786 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7787 no_cache=0
7788 # Check whether --enable-radiobox or --disable-radiobox was given.
7789 if test "${enable_radiobox+set}" = set; then
7790 enableval="$enable_radiobox"
7791
7792 if test "$enableval" = yes; then
7793 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7794 else
7795 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7796 fi
7797
7798 else
7799
7800 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7801 if test "x$LINE" != x ; then
7802 eval "DEFAULT_$LINE"
7803 else
7804 no_cache=1
7805 fi
7806
7807 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7808
7809 fi;
7810
7811 eval "$ac_cv_use_radiobox"
7812 if test "$no_cache" != 1; then
7813 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7814 fi
7815
7816 if test "$wxUSE_RADIOBOX" = yes; then
7817 echo "$as_me:$LINENO: result: yes" >&5
7818 echo "${ECHO_T}yes" >&6
7819 else
7820 echo "$as_me:$LINENO: result: no" >&5
7821 echo "${ECHO_T}no" >&6
7822 fi
7823
7824
7825 enablestring=
7826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7827 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7828 no_cache=0
7829 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7830 if test "${enable_radiobtn+set}" = set; then
7831 enableval="$enable_radiobtn"
7832
7833 if test "$enableval" = yes; then
7834 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7835 else
7836 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7837 fi
7838
7839 else
7840
7841 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7842 if test "x$LINE" != x ; then
7843 eval "DEFAULT_$LINE"
7844 else
7845 no_cache=1
7846 fi
7847
7848 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7849
7850 fi;
7851
7852 eval "$ac_cv_use_radiobtn"
7853 if test "$no_cache" != 1; then
7854 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7855 fi
7856
7857 if test "$wxUSE_RADIOBTN" = yes; then
7858 echo "$as_me:$LINENO: result: yes" >&5
7859 echo "${ECHO_T}yes" >&6
7860 else
7861 echo "$as_me:$LINENO: result: no" >&5
7862 echo "${ECHO_T}no" >&6
7863 fi
7864
7865
7866 enablestring=
7867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7868 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7869 no_cache=0
7870 # Check whether --enable-sash or --disable-sash was given.
7871 if test "${enable_sash+set}" = set; then
7872 enableval="$enable_sash"
7873
7874 if test "$enableval" = yes; then
7875 ac_cv_use_sash='wxUSE_SASH=yes'
7876 else
7877 ac_cv_use_sash='wxUSE_SASH=no'
7878 fi
7879
7880 else
7881
7882 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7883 if test "x$LINE" != x ; then
7884 eval "DEFAULT_$LINE"
7885 else
7886 no_cache=1
7887 fi
7888
7889 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7890
7891 fi;
7892
7893 eval "$ac_cv_use_sash"
7894 if test "$no_cache" != 1; then
7895 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7896 fi
7897
7898 if test "$wxUSE_SASH" = yes; then
7899 echo "$as_me:$LINENO: result: yes" >&5
7900 echo "${ECHO_T}yes" >&6
7901 else
7902 echo "$as_me:$LINENO: result: no" >&5
7903 echo "${ECHO_T}no" >&6
7904 fi
7905
7906
7907 enablestring=
7908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7909 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7910 no_cache=0
7911 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7912 if test "${enable_scrollbar+set}" = set; then
7913 enableval="$enable_scrollbar"
7914
7915 if test "$enableval" = yes; then
7916 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
7917 else
7918 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
7919 fi
7920
7921 else
7922
7923 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7924 if test "x$LINE" != x ; then
7925 eval "DEFAULT_$LINE"
7926 else
7927 no_cache=1
7928 fi
7929
7930 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7931
7932 fi;
7933
7934 eval "$ac_cv_use_scrollbar"
7935 if test "$no_cache" != 1; then
7936 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7937 fi
7938
7939 if test "$wxUSE_SCROLLBAR" = yes; then
7940 echo "$as_me:$LINENO: result: yes" >&5
7941 echo "${ECHO_T}yes" >&6
7942 else
7943 echo "$as_me:$LINENO: result: no" >&5
7944 echo "${ECHO_T}no" >&6
7945 fi
7946
7947
7948 enablestring=
7949 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7950 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7951 no_cache=0
7952 # Check whether --enable-slider or --disable-slider was given.
7953 if test "${enable_slider+set}" = set; then
7954 enableval="$enable_slider"
7955
7956 if test "$enableval" = yes; then
7957 ac_cv_use_slider='wxUSE_SLIDER=yes'
7958 else
7959 ac_cv_use_slider='wxUSE_SLIDER=no'
7960 fi
7961
7962 else
7963
7964 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7965 if test "x$LINE" != x ; then
7966 eval "DEFAULT_$LINE"
7967 else
7968 no_cache=1
7969 fi
7970
7971 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7972
7973 fi;
7974
7975 eval "$ac_cv_use_slider"
7976 if test "$no_cache" != 1; then
7977 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7978 fi
7979
7980 if test "$wxUSE_SLIDER" = yes; then
7981 echo "$as_me:$LINENO: result: yes" >&5
7982 echo "${ECHO_T}yes" >&6
7983 else
7984 echo "$as_me:$LINENO: result: no" >&5
7985 echo "${ECHO_T}no" >&6
7986 fi
7987
7988
7989 enablestring=
7990 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7991 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7992 no_cache=0
7993 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7994 if test "${enable_spinbtn+set}" = set; then
7995 enableval="$enable_spinbtn"
7996
7997 if test "$enableval" = yes; then
7998 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
7999 else
8000 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
8001 fi
8002
8003 else
8004
8005 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8006 if test "x$LINE" != x ; then
8007 eval "DEFAULT_$LINE"
8008 else
8009 no_cache=1
8010 fi
8011
8012 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8013
8014 fi;
8015
8016 eval "$ac_cv_use_spinbtn"
8017 if test "$no_cache" != 1; then
8018 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8019 fi
8020
8021 if test "$wxUSE_SPINBTN" = yes; then
8022 echo "$as_me:$LINENO: result: yes" >&5
8023 echo "${ECHO_T}yes" >&6
8024 else
8025 echo "$as_me:$LINENO: result: no" >&5
8026 echo "${ECHO_T}no" >&6
8027 fi
8028
8029
8030 enablestring=
8031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8032 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8033 no_cache=0
8034 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8035 if test "${enable_spinctrl+set}" = set; then
8036 enableval="$enable_spinctrl"
8037
8038 if test "$enableval" = yes; then
8039 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
8040 else
8041 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
8042 fi
8043
8044 else
8045
8046 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8047 if test "x$LINE" != x ; then
8048 eval "DEFAULT_$LINE"
8049 else
8050 no_cache=1
8051 fi
8052
8053 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8054
8055 fi;
8056
8057 eval "$ac_cv_use_spinctrl"
8058 if test "$no_cache" != 1; then
8059 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8060 fi
8061
8062 if test "$wxUSE_SPINCTRL" = yes; then
8063 echo "$as_me:$LINENO: result: yes" >&5
8064 echo "${ECHO_T}yes" >&6
8065 else
8066 echo "$as_me:$LINENO: result: no" >&5
8067 echo "${ECHO_T}no" >&6
8068 fi
8069
8070
8071 enablestring=
8072 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8073 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8074 no_cache=0
8075 # Check whether --enable-splitter or --disable-splitter was given.
8076 if test "${enable_splitter+set}" = set; then
8077 enableval="$enable_splitter"
8078
8079 if test "$enableval" = yes; then
8080 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
8081 else
8082 ac_cv_use_splitter='wxUSE_SPLITTER=no'
8083 fi
8084
8085 else
8086
8087 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8088 if test "x$LINE" != x ; then
8089 eval "DEFAULT_$LINE"
8090 else
8091 no_cache=1
8092 fi
8093
8094 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8095
8096 fi;
8097
8098 eval "$ac_cv_use_splitter"
8099 if test "$no_cache" != 1; then
8100 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8101 fi
8102
8103 if test "$wxUSE_SPLITTER" = yes; then
8104 echo "$as_me:$LINENO: result: yes" >&5
8105 echo "${ECHO_T}yes" >&6
8106 else
8107 echo "$as_me:$LINENO: result: no" >&5
8108 echo "${ECHO_T}no" >&6
8109 fi
8110
8111
8112 enablestring=
8113 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8114 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8115 no_cache=0
8116 # Check whether --enable-statbmp or --disable-statbmp was given.
8117 if test "${enable_statbmp+set}" = set; then
8118 enableval="$enable_statbmp"
8119
8120 if test "$enableval" = yes; then
8121 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
8122 else
8123 ac_cv_use_statbmp='wxUSE_STATBMP=no'
8124 fi
8125
8126 else
8127
8128 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8129 if test "x$LINE" != x ; then
8130 eval "DEFAULT_$LINE"
8131 else
8132 no_cache=1
8133 fi
8134
8135 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8136
8137 fi;
8138
8139 eval "$ac_cv_use_statbmp"
8140 if test "$no_cache" != 1; then
8141 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8142 fi
8143
8144 if test "$wxUSE_STATBMP" = yes; then
8145 echo "$as_me:$LINENO: result: yes" >&5
8146 echo "${ECHO_T}yes" >&6
8147 else
8148 echo "$as_me:$LINENO: result: no" >&5
8149 echo "${ECHO_T}no" >&6
8150 fi
8151
8152
8153 enablestring=
8154 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8155 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8156 no_cache=0
8157 # Check whether --enable-statbox or --disable-statbox was given.
8158 if test "${enable_statbox+set}" = set; then
8159 enableval="$enable_statbox"
8160
8161 if test "$enableval" = yes; then
8162 ac_cv_use_statbox='wxUSE_STATBOX=yes'
8163 else
8164 ac_cv_use_statbox='wxUSE_STATBOX=no'
8165 fi
8166
8167 else
8168
8169 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8170 if test "x$LINE" != x ; then
8171 eval "DEFAULT_$LINE"
8172 else
8173 no_cache=1
8174 fi
8175
8176 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8177
8178 fi;
8179
8180 eval "$ac_cv_use_statbox"
8181 if test "$no_cache" != 1; then
8182 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8183 fi
8184
8185 if test "$wxUSE_STATBOX" = yes; then
8186 echo "$as_me:$LINENO: result: yes" >&5
8187 echo "${ECHO_T}yes" >&6
8188 else
8189 echo "$as_me:$LINENO: result: no" >&5
8190 echo "${ECHO_T}no" >&6
8191 fi
8192
8193
8194 enablestring=
8195 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8196 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8197 no_cache=0
8198 # Check whether --enable-statline or --disable-statline was given.
8199 if test "${enable_statline+set}" = set; then
8200 enableval="$enable_statline"
8201
8202 if test "$enableval" = yes; then
8203 ac_cv_use_statline='wxUSE_STATLINE=yes'
8204 else
8205 ac_cv_use_statline='wxUSE_STATLINE=no'
8206 fi
8207
8208 else
8209
8210 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8211 if test "x$LINE" != x ; then
8212 eval "DEFAULT_$LINE"
8213 else
8214 no_cache=1
8215 fi
8216
8217 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8218
8219 fi;
8220
8221 eval "$ac_cv_use_statline"
8222 if test "$no_cache" != 1; then
8223 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8224 fi
8225
8226 if test "$wxUSE_STATLINE" = yes; then
8227 echo "$as_me:$LINENO: result: yes" >&5
8228 echo "${ECHO_T}yes" >&6
8229 else
8230 echo "$as_me:$LINENO: result: no" >&5
8231 echo "${ECHO_T}no" >&6
8232 fi
8233
8234
8235 enablestring=
8236 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8237 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8238 no_cache=0
8239 # Check whether --enable-stattext or --disable-stattext was given.
8240 if test "${enable_stattext+set}" = set; then
8241 enableval="$enable_stattext"
8242
8243 if test "$enableval" = yes; then
8244 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
8245 else
8246 ac_cv_use_stattext='wxUSE_STATTEXT=no'
8247 fi
8248
8249 else
8250
8251 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8252 if test "x$LINE" != x ; then
8253 eval "DEFAULT_$LINE"
8254 else
8255 no_cache=1
8256 fi
8257
8258 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8259
8260 fi;
8261
8262 eval "$ac_cv_use_stattext"
8263 if test "$no_cache" != 1; then
8264 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8265 fi
8266
8267 if test "$wxUSE_STATTEXT" = yes; then
8268 echo "$as_me:$LINENO: result: yes" >&5
8269 echo "${ECHO_T}yes" >&6
8270 else
8271 echo "$as_me:$LINENO: result: no" >&5
8272 echo "${ECHO_T}no" >&6
8273 fi
8274
8275
8276 enablestring=
8277 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8278 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8279 no_cache=0
8280 # Check whether --enable-statusbar or --disable-statusbar was given.
8281 if test "${enable_statusbar+set}" = set; then
8282 enableval="$enable_statusbar"
8283
8284 if test "$enableval" = yes; then
8285 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
8286 else
8287 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
8288 fi
8289
8290 else
8291
8292 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8293 if test "x$LINE" != x ; then
8294 eval "DEFAULT_$LINE"
8295 else
8296 no_cache=1
8297 fi
8298
8299 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8300
8301 fi;
8302
8303 eval "$ac_cv_use_statusbar"
8304 if test "$no_cache" != 1; then
8305 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8306 fi
8307
8308 if test "$wxUSE_STATUSBAR" = yes; then
8309 echo "$as_me:$LINENO: result: yes" >&5
8310 echo "${ECHO_T}yes" >&6
8311 else
8312 echo "$as_me:$LINENO: result: no" >&5
8313 echo "${ECHO_T}no" >&6
8314 fi
8315
8316
8317 enablestring=
8318 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8319 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8320 no_cache=0
8321 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8322 if test "${enable_tabdialog+set}" = set; then
8323 enableval="$enable_tabdialog"
8324
8325 if test "$enableval" = yes; then
8326 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
8327 else
8328 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
8329 fi
8330
8331 else
8332
8333 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8334 if test "x$LINE" != x ; then
8335 eval "DEFAULT_$LINE"
8336 else
8337 no_cache=1
8338 fi
8339
8340 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8341
8342 fi;
8343
8344 eval "$ac_cv_use_tabdialog"
8345 if test "$no_cache" != 1; then
8346 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8347 fi
8348
8349 if test "$wxUSE_TABDIALOG" = yes; then
8350 echo "$as_me:$LINENO: result: yes" >&5
8351 echo "${ECHO_T}yes" >&6
8352 else
8353 echo "$as_me:$LINENO: result: no" >&5
8354 echo "${ECHO_T}no" >&6
8355 fi
8356
8357
8358 enablestring=
8359 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8360 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8361 no_cache=0
8362 # Check whether --enable-textctrl or --disable-textctrl was given.
8363 if test "${enable_textctrl+set}" = set; then
8364 enableval="$enable_textctrl"
8365
8366 if test "$enableval" = yes; then
8367 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
8368 else
8369 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
8370 fi
8371
8372 else
8373
8374 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8375 if test "x$LINE" != x ; then
8376 eval "DEFAULT_$LINE"
8377 else
8378 no_cache=1
8379 fi
8380
8381 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8382
8383 fi;
8384
8385 eval "$ac_cv_use_textctrl"
8386 if test "$no_cache" != 1; then
8387 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8388 fi
8389
8390 if test "$wxUSE_TEXTCTRL" = yes; then
8391 echo "$as_me:$LINENO: result: yes" >&5
8392 echo "${ECHO_T}yes" >&6
8393 else
8394 echo "$as_me:$LINENO: result: no" >&5
8395 echo "${ECHO_T}no" >&6
8396 fi
8397
8398
8399 enablestring=
8400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8401 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8402 no_cache=0
8403 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8404 if test "${enable_togglebtn+set}" = set; then
8405 enableval="$enable_togglebtn"
8406
8407 if test "$enableval" = yes; then
8408 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8409 else
8410 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8411 fi
8412
8413 else
8414
8415 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8416 if test "x$LINE" != x ; then
8417 eval "DEFAULT_$LINE"
8418 else
8419 no_cache=1
8420 fi
8421
8422 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8423
8424 fi;
8425
8426 eval "$ac_cv_use_togglebtn"
8427 if test "$no_cache" != 1; then
8428 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8429 fi
8430
8431 if test "$wxUSE_TOGGLEBTN" = yes; then
8432 echo "$as_me:$LINENO: result: yes" >&5
8433 echo "${ECHO_T}yes" >&6
8434 else
8435 echo "$as_me:$LINENO: result: no" >&5
8436 echo "${ECHO_T}no" >&6
8437 fi
8438
8439
8440 enablestring=
8441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8442 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8443 no_cache=0
8444 # Check whether --enable-toolbar or --disable-toolbar was given.
8445 if test "${enable_toolbar+set}" = set; then
8446 enableval="$enable_toolbar"
8447
8448 if test "$enableval" = yes; then
8449 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8450 else
8451 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8452 fi
8453
8454 else
8455
8456 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8457 if test "x$LINE" != x ; then
8458 eval "DEFAULT_$LINE"
8459 else
8460 no_cache=1
8461 fi
8462
8463 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8464
8465 fi;
8466
8467 eval "$ac_cv_use_toolbar"
8468 if test "$no_cache" != 1; then
8469 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8470 fi
8471
8472 if test "$wxUSE_TOOLBAR" = yes; then
8473 echo "$as_me:$LINENO: result: yes" >&5
8474 echo "${ECHO_T}yes" >&6
8475 else
8476 echo "$as_me:$LINENO: result: no" >&5
8477 echo "${ECHO_T}no" >&6
8478 fi
8479
8480
8481 enablestring=
8482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8483 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8484 no_cache=0
8485 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8486 if test "${enable_tbarnative+set}" = set; then
8487 enableval="$enable_tbarnative"
8488
8489 if test "$enableval" = yes; then
8490 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8491 else
8492 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8493 fi
8494
8495 else
8496
8497 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8498 if test "x$LINE" != x ; then
8499 eval "DEFAULT_$LINE"
8500 else
8501 no_cache=1
8502 fi
8503
8504 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8505
8506 fi;
8507
8508 eval "$ac_cv_use_tbarnative"
8509 if test "$no_cache" != 1; then
8510 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8511 fi
8512
8513 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8514 echo "$as_me:$LINENO: result: yes" >&5
8515 echo "${ECHO_T}yes" >&6
8516 else
8517 echo "$as_me:$LINENO: result: no" >&5
8518 echo "${ECHO_T}no" >&6
8519 fi
8520
8521
8522 enablestring=
8523 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8524 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8525 no_cache=0
8526 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8527 if test "${enable_tbarsmpl+set}" = set; then
8528 enableval="$enable_tbarsmpl"
8529
8530 if test "$enableval" = yes; then
8531 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8532 else
8533 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8534 fi
8535
8536 else
8537
8538 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8539 if test "x$LINE" != x ; then
8540 eval "DEFAULT_$LINE"
8541 else
8542 no_cache=1
8543 fi
8544
8545 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8546
8547 fi;
8548
8549 eval "$ac_cv_use_tbarsmpl"
8550 if test "$no_cache" != 1; then
8551 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8552 fi
8553
8554 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8555 echo "$as_me:$LINENO: result: yes" >&5
8556 echo "${ECHO_T}yes" >&6
8557 else
8558 echo "$as_me:$LINENO: result: no" >&5
8559 echo "${ECHO_T}no" >&6
8560 fi
8561
8562
8563 enablestring=
8564 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8565 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8566 no_cache=0
8567 # Check whether --enable-treectrl or --disable-treectrl was given.
8568 if test "${enable_treectrl+set}" = set; then
8569 enableval="$enable_treectrl"
8570
8571 if test "$enableval" = yes; then
8572 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8573 else
8574 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8575 fi
8576
8577 else
8578
8579 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8580 if test "x$LINE" != x ; then
8581 eval "DEFAULT_$LINE"
8582 else
8583 no_cache=1
8584 fi
8585
8586 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8587
8588 fi;
8589
8590 eval "$ac_cv_use_treectrl"
8591 if test "$no_cache" != 1; then
8592 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8593 fi
8594
8595 if test "$wxUSE_TREECTRL" = yes; then
8596 echo "$as_me:$LINENO: result: yes" >&5
8597 echo "${ECHO_T}yes" >&6
8598 else
8599 echo "$as_me:$LINENO: result: no" >&5
8600 echo "${ECHO_T}no" >&6
8601 fi
8602
8603
8604 enablestring=
8605 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8606 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8607 no_cache=0
8608 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8609 if test "${enable_tipwindow+set}" = set; then
8610 enableval="$enable_tipwindow"
8611
8612 if test "$enableval" = yes; then
8613 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8614 else
8615 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8616 fi
8617
8618 else
8619
8620 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8621 if test "x$LINE" != x ; then
8622 eval "DEFAULT_$LINE"
8623 else
8624 no_cache=1
8625 fi
8626
8627 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8628
8629 fi;
8630
8631 eval "$ac_cv_use_tipwindow"
8632 if test "$no_cache" != 1; then
8633 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8634 fi
8635
8636 if test "$wxUSE_TIPWINDOW" = yes; then
8637 echo "$as_me:$LINENO: result: yes" >&5
8638 echo "${ECHO_T}yes" >&6
8639 else
8640 echo "$as_me:$LINENO: result: no" >&5
8641 echo "${ECHO_T}no" >&6
8642 fi
8643
8644
8645 enablestring=
8646 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8647 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8648 no_cache=0
8649 # Check whether --enable-popupwin or --disable-popupwin was given.
8650 if test "${enable_popupwin+set}" = set; then
8651 enableval="$enable_popupwin"
8652
8653 if test "$enableval" = yes; then
8654 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8655 else
8656 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8657 fi
8658
8659 else
8660
8661 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8662 if test "x$LINE" != x ; then
8663 eval "DEFAULT_$LINE"
8664 else
8665 no_cache=1
8666 fi
8667
8668 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8669
8670 fi;
8671
8672 eval "$ac_cv_use_popupwin"
8673 if test "$no_cache" != 1; then
8674 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8675 fi
8676
8677 if test "$wxUSE_POPUPWIN" = yes; then
8678 echo "$as_me:$LINENO: result: yes" >&5
8679 echo "${ECHO_T}yes" >&6
8680 else
8681 echo "$as_me:$LINENO: result: no" >&5
8682 echo "${ECHO_T}no" >&6
8683 fi
8684
8685
8686
8687
8688 enablestring=
8689 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8690 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8691 no_cache=0
8692 # Check whether --enable-commondlg or --disable-commondlg was given.
8693 if test "${enable_commondlg+set}" = set; then
8694 enableval="$enable_commondlg"
8695
8696 if test "$enableval" = yes; then
8697 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8698 else
8699 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8700 fi
8701
8702 else
8703
8704 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8705 if test "x$LINE" != x ; then
8706 eval "DEFAULT_$LINE"
8707 else
8708 no_cache=1
8709 fi
8710
8711 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8712
8713 fi;
8714
8715 eval "$ac_cv_use_commondlg"
8716 if test "$no_cache" != 1; then
8717 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8718 fi
8719
8720 if test "$wxUSE_COMMONDLGS" = yes; then
8721 echo "$as_me:$LINENO: result: yes" >&5
8722 echo "${ECHO_T}yes" >&6
8723 else
8724 echo "$as_me:$LINENO: result: no" >&5
8725 echo "${ECHO_T}no" >&6
8726 fi
8727
8728
8729 enablestring=
8730 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8731 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8732 no_cache=0
8733 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8734 if test "${enable_choicedlg+set}" = set; then
8735 enableval="$enable_choicedlg"
8736
8737 if test "$enableval" = yes; then
8738 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8739 else
8740 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8741 fi
8742
8743 else
8744
8745 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8746 if test "x$LINE" != x ; then
8747 eval "DEFAULT_$LINE"
8748 else
8749 no_cache=1
8750 fi
8751
8752 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8753
8754 fi;
8755
8756 eval "$ac_cv_use_choicedlg"
8757 if test "$no_cache" != 1; then
8758 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8759 fi
8760
8761 if test "$wxUSE_CHOICEDLG" = yes; then
8762 echo "$as_me:$LINENO: result: yes" >&5
8763 echo "${ECHO_T}yes" >&6
8764 else
8765 echo "$as_me:$LINENO: result: no" >&5
8766 echo "${ECHO_T}no" >&6
8767 fi
8768
8769
8770 enablestring=
8771 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8772 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8773 no_cache=0
8774 # Check whether --enable-coldlg or --disable-coldlg was given.
8775 if test "${enable_coldlg+set}" = set; then
8776 enableval="$enable_coldlg"
8777
8778 if test "$enableval" = yes; then
8779 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8780 else
8781 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8782 fi
8783
8784 else
8785
8786 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8787 if test "x$LINE" != x ; then
8788 eval "DEFAULT_$LINE"
8789 else
8790 no_cache=1
8791 fi
8792
8793 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8794
8795 fi;
8796
8797 eval "$ac_cv_use_coldlg"
8798 if test "$no_cache" != 1; then
8799 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8800 fi
8801
8802 if test "$wxUSE_COLOURDLG" = yes; then
8803 echo "$as_me:$LINENO: result: yes" >&5
8804 echo "${ECHO_T}yes" >&6
8805 else
8806 echo "$as_me:$LINENO: result: no" >&5
8807 echo "${ECHO_T}no" >&6
8808 fi
8809
8810
8811 enablestring=
8812 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8813 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8814 no_cache=0
8815 # Check whether --enable-filedlg or --disable-filedlg was given.
8816 if test "${enable_filedlg+set}" = set; then
8817 enableval="$enable_filedlg"
8818
8819 if test "$enableval" = yes; then
8820 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8821 else
8822 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8823 fi
8824
8825 else
8826
8827 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8828 if test "x$LINE" != x ; then
8829 eval "DEFAULT_$LINE"
8830 else
8831 no_cache=1
8832 fi
8833
8834 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8835
8836 fi;
8837
8838 eval "$ac_cv_use_filedlg"
8839 if test "$no_cache" != 1; then
8840 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8841 fi
8842
8843 if test "$wxUSE_FILEDLG" = yes; then
8844 echo "$as_me:$LINENO: result: yes" >&5
8845 echo "${ECHO_T}yes" >&6
8846 else
8847 echo "$as_me:$LINENO: result: no" >&5
8848 echo "${ECHO_T}no" >&6
8849 fi
8850
8851
8852 enablestring=
8853 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8854 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8855 no_cache=0
8856 # Check whether --enable-finddlg or --disable-finddlg was given.
8857 if test "${enable_finddlg+set}" = set; then
8858 enableval="$enable_finddlg"
8859
8860 if test "$enableval" = yes; then
8861 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8862 else
8863 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8864 fi
8865
8866 else
8867
8868 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8869 if test "x$LINE" != x ; then
8870 eval "DEFAULT_$LINE"
8871 else
8872 no_cache=1
8873 fi
8874
8875 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8876
8877 fi;
8878
8879 eval "$ac_cv_use_finddlg"
8880 if test "$no_cache" != 1; then
8881 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8882 fi
8883
8884 if test "$wxUSE_FINDREPLDLG" = yes; then
8885 echo "$as_me:$LINENO: result: yes" >&5
8886 echo "${ECHO_T}yes" >&6
8887 else
8888 echo "$as_me:$LINENO: result: no" >&5
8889 echo "${ECHO_T}no" >&6
8890 fi
8891
8892
8893 enablestring=
8894 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8895 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8896 no_cache=0
8897 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8898 if test "${enable_fontdlg+set}" = set; then
8899 enableval="$enable_fontdlg"
8900
8901 if test "$enableval" = yes; then
8902 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8903 else
8904 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8905 fi
8906
8907 else
8908
8909 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8910 if test "x$LINE" != x ; then
8911 eval "DEFAULT_$LINE"
8912 else
8913 no_cache=1
8914 fi
8915
8916 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8917
8918 fi;
8919
8920 eval "$ac_cv_use_fontdlg"
8921 if test "$no_cache" != 1; then
8922 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8923 fi
8924
8925 if test "$wxUSE_FONTDLG" = yes; then
8926 echo "$as_me:$LINENO: result: yes" >&5
8927 echo "${ECHO_T}yes" >&6
8928 else
8929 echo "$as_me:$LINENO: result: no" >&5
8930 echo "${ECHO_T}no" >&6
8931 fi
8932
8933
8934 enablestring=
8935 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8936 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8937 no_cache=0
8938 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8939 if test "${enable_dirdlg+set}" = set; then
8940 enableval="$enable_dirdlg"
8941
8942 if test "$enableval" = yes; then
8943 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
8944 else
8945 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
8946 fi
8947
8948 else
8949
8950 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8951 if test "x$LINE" != x ; then
8952 eval "DEFAULT_$LINE"
8953 else
8954 no_cache=1
8955 fi
8956
8957 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8958
8959 fi;
8960
8961 eval "$ac_cv_use_dirdlg"
8962 if test "$no_cache" != 1; then
8963 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8964 fi
8965
8966 if test "$wxUSE_DIRDLG" = yes; then
8967 echo "$as_me:$LINENO: result: yes" >&5
8968 echo "${ECHO_T}yes" >&6
8969 else
8970 echo "$as_me:$LINENO: result: no" >&5
8971 echo "${ECHO_T}no" >&6
8972 fi
8973
8974
8975 enablestring=
8976 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8977 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8978 no_cache=0
8979 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8980 if test "${enable_msgdlg+set}" = set; then
8981 enableval="$enable_msgdlg"
8982
8983 if test "$enableval" = yes; then
8984 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
8985 else
8986 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
8987 fi
8988
8989 else
8990
8991 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8992 if test "x$LINE" != x ; then
8993 eval "DEFAULT_$LINE"
8994 else
8995 no_cache=1
8996 fi
8997
8998 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8999
9000 fi;
9001
9002 eval "$ac_cv_use_msgdlg"
9003 if test "$no_cache" != 1; then
9004 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9005 fi
9006
9007 if test "$wxUSE_MSGDLG" = yes; then
9008 echo "$as_me:$LINENO: result: yes" >&5
9009 echo "${ECHO_T}yes" >&6
9010 else
9011 echo "$as_me:$LINENO: result: no" >&5
9012 echo "${ECHO_T}no" >&6
9013 fi
9014
9015
9016 enablestring=
9017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9018 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9019 no_cache=0
9020 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9021 if test "${enable_numberdlg+set}" = set; then
9022 enableval="$enable_numberdlg"
9023
9024 if test "$enableval" = yes; then
9025 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
9026 else
9027 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
9028 fi
9029
9030 else
9031
9032 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9033 if test "x$LINE" != x ; then
9034 eval "DEFAULT_$LINE"
9035 else
9036 no_cache=1
9037 fi
9038
9039 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9040
9041 fi;
9042
9043 eval "$ac_cv_use_numberdlg"
9044 if test "$no_cache" != 1; then
9045 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9046 fi
9047
9048 if test "$wxUSE_NUMBERDLG" = yes; then
9049 echo "$as_me:$LINENO: result: yes" >&5
9050 echo "${ECHO_T}yes" >&6
9051 else
9052 echo "$as_me:$LINENO: result: no" >&5
9053 echo "${ECHO_T}no" >&6
9054 fi
9055
9056
9057 enablestring=
9058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9059 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9060 no_cache=0
9061 # Check whether --enable-splash or --disable-splash was given.
9062 if test "${enable_splash+set}" = set; then
9063 enableval="$enable_splash"
9064
9065 if test "$enableval" = yes; then
9066 ac_cv_use_splash='wxUSE_SPLASH=yes'
9067 else
9068 ac_cv_use_splash='wxUSE_SPLASH=no'
9069 fi
9070
9071 else
9072
9073 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9074 if test "x$LINE" != x ; then
9075 eval "DEFAULT_$LINE"
9076 else
9077 no_cache=1
9078 fi
9079
9080 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9081
9082 fi;
9083
9084 eval "$ac_cv_use_splash"
9085 if test "$no_cache" != 1; then
9086 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9087 fi
9088
9089 if test "$wxUSE_SPLASH" = yes; then
9090 echo "$as_me:$LINENO: result: yes" >&5
9091 echo "${ECHO_T}yes" >&6
9092 else
9093 echo "$as_me:$LINENO: result: no" >&5
9094 echo "${ECHO_T}no" >&6
9095 fi
9096
9097
9098 enablestring=
9099 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9100 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9101 no_cache=0
9102 # Check whether --enable-textdlg or --disable-textdlg was given.
9103 if test "${enable_textdlg+set}" = set; then
9104 enableval="$enable_textdlg"
9105
9106 if test "$enableval" = yes; then
9107 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
9108 else
9109 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
9110 fi
9111
9112 else
9113
9114 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9115 if test "x$LINE" != x ; then
9116 eval "DEFAULT_$LINE"
9117 else
9118 no_cache=1
9119 fi
9120
9121 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9122
9123 fi;
9124
9125 eval "$ac_cv_use_textdlg"
9126 if test "$no_cache" != 1; then
9127 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9128 fi
9129
9130 if test "$wxUSE_TEXTDLG" = yes; then
9131 echo "$as_me:$LINENO: result: yes" >&5
9132 echo "${ECHO_T}yes" >&6
9133 else
9134 echo "$as_me:$LINENO: result: no" >&5
9135 echo "${ECHO_T}no" >&6
9136 fi
9137
9138
9139 enablestring=
9140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9141 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9142 no_cache=0
9143 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9144 if test "${enable_tipdlg+set}" = set; then
9145 enableval="$enable_tipdlg"
9146
9147 if test "$enableval" = yes; then
9148 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
9149 else
9150 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
9151 fi
9152
9153 else
9154
9155 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9156 if test "x$LINE" != x ; then
9157 eval "DEFAULT_$LINE"
9158 else
9159 no_cache=1
9160 fi
9161
9162 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9163
9164 fi;
9165
9166 eval "$ac_cv_use_tipdlg"
9167 if test "$no_cache" != 1; then
9168 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9169 fi
9170
9171 if test "$wxUSE_STARTUP_TIPS" = yes; then
9172 echo "$as_me:$LINENO: result: yes" >&5
9173 echo "${ECHO_T}yes" >&6
9174 else
9175 echo "$as_me:$LINENO: result: no" >&5
9176 echo "${ECHO_T}no" >&6
9177 fi
9178
9179
9180 enablestring=
9181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9182 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9183 no_cache=0
9184 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9185 if test "${enable_progressdlg+set}" = set; then
9186 enableval="$enable_progressdlg"
9187
9188 if test "$enableval" = yes; then
9189 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
9190 else
9191 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
9192 fi
9193
9194 else
9195
9196 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9197 if test "x$LINE" != x ; then
9198 eval "DEFAULT_$LINE"
9199 else
9200 no_cache=1
9201 fi
9202
9203 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9204
9205 fi;
9206
9207 eval "$ac_cv_use_progressdlg"
9208 if test "$no_cache" != 1; then
9209 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9210 fi
9211
9212 if test "$wxUSE_PROGRESSDLG" = yes; then
9213 echo "$as_me:$LINENO: result: yes" >&5
9214 echo "${ECHO_T}yes" >&6
9215 else
9216 echo "$as_me:$LINENO: result: no" >&5
9217 echo "${ECHO_T}no" >&6
9218 fi
9219
9220
9221 enablestring=
9222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9223 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9224 no_cache=0
9225 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9226 if test "${enable_wizarddlg+set}" = set; then
9227 enableval="$enable_wizarddlg"
9228
9229 if test "$enableval" = yes; then
9230 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
9231 else
9232 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
9233 fi
9234
9235 else
9236
9237 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9238 if test "x$LINE" != x ; then
9239 eval "DEFAULT_$LINE"
9240 else
9241 no_cache=1
9242 fi
9243
9244 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9245
9246 fi;
9247
9248 eval "$ac_cv_use_wizarddlg"
9249 if test "$no_cache" != 1; then
9250 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9251 fi
9252
9253 if test "$wxUSE_WIZARDDLG" = yes; then
9254 echo "$as_me:$LINENO: result: yes" >&5
9255 echo "${ECHO_T}yes" >&6
9256 else
9257 echo "$as_me:$LINENO: result: no" >&5
9258 echo "${ECHO_T}no" >&6
9259 fi
9260
9261
9262
9263
9264 enablestring=
9265 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9266 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9267 no_cache=0
9268 # Check whether --enable-menus or --disable-menus was given.
9269 if test "${enable_menus+set}" = set; then
9270 enableval="$enable_menus"
9271
9272 if test "$enableval" = yes; then
9273 ac_cv_use_menus='wxUSE_MENUS=yes'
9274 else
9275 ac_cv_use_menus='wxUSE_MENUS=no'
9276 fi
9277
9278 else
9279
9280 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9281 if test "x$LINE" != x ; then
9282 eval "DEFAULT_$LINE"
9283 else
9284 no_cache=1
9285 fi
9286
9287 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9288
9289 fi;
9290
9291 eval "$ac_cv_use_menus"
9292 if test "$no_cache" != 1; then
9293 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9294 fi
9295
9296 if test "$wxUSE_MENUS" = yes; then
9297 echo "$as_me:$LINENO: result: yes" >&5
9298 echo "${ECHO_T}yes" >&6
9299 else
9300 echo "$as_me:$LINENO: result: no" >&5
9301 echo "${ECHO_T}no" >&6
9302 fi
9303
9304
9305 enablestring=
9306 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9307 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9308 no_cache=0
9309 # Check whether --enable-miniframe or --disable-miniframe was given.
9310 if test "${enable_miniframe+set}" = set; then
9311 enableval="$enable_miniframe"
9312
9313 if test "$enableval" = yes; then
9314 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
9315 else
9316 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
9317 fi
9318
9319 else
9320
9321 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9322 if test "x$LINE" != x ; then
9323 eval "DEFAULT_$LINE"
9324 else
9325 no_cache=1
9326 fi
9327
9328 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9329
9330 fi;
9331
9332 eval "$ac_cv_use_miniframe"
9333 if test "$no_cache" != 1; then
9334 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9335 fi
9336
9337 if test "$wxUSE_MINIFRAME" = yes; then
9338 echo "$as_me:$LINENO: result: yes" >&5
9339 echo "${ECHO_T}yes" >&6
9340 else
9341 echo "$as_me:$LINENO: result: no" >&5
9342 echo "${ECHO_T}no" >&6
9343 fi
9344
9345
9346 enablestring=
9347 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9348 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9349 no_cache=0
9350 # Check whether --enable-tooltips or --disable-tooltips was given.
9351 if test "${enable_tooltips+set}" = set; then
9352 enableval="$enable_tooltips"
9353
9354 if test "$enableval" = yes; then
9355 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
9356 else
9357 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
9358 fi
9359
9360 else
9361
9362 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9363 if test "x$LINE" != x ; then
9364 eval "DEFAULT_$LINE"
9365 else
9366 no_cache=1
9367 fi
9368
9369 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9370
9371 fi;
9372
9373 eval "$ac_cv_use_tooltips"
9374 if test "$no_cache" != 1; then
9375 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9376 fi
9377
9378 if test "$wxUSE_TOOLTIPS" = yes; then
9379 echo "$as_me:$LINENO: result: yes" >&5
9380 echo "${ECHO_T}yes" >&6
9381 else
9382 echo "$as_me:$LINENO: result: no" >&5
9383 echo "${ECHO_T}no" >&6
9384 fi
9385
9386
9387 enablestring=
9388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9389 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9390 no_cache=0
9391 # Check whether --enable-splines or --disable-splines was given.
9392 if test "${enable_splines+set}" = set; then
9393 enableval="$enable_splines"
9394
9395 if test "$enableval" = yes; then
9396 ac_cv_use_splines='wxUSE_SPLINES=yes'
9397 else
9398 ac_cv_use_splines='wxUSE_SPLINES=no'
9399 fi
9400
9401 else
9402
9403 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9404 if test "x$LINE" != x ; then
9405 eval "DEFAULT_$LINE"
9406 else
9407 no_cache=1
9408 fi
9409
9410 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9411
9412 fi;
9413
9414 eval "$ac_cv_use_splines"
9415 if test "$no_cache" != 1; then
9416 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9417 fi
9418
9419 if test "$wxUSE_SPLINES" = yes; then
9420 echo "$as_me:$LINENO: result: yes" >&5
9421 echo "${ECHO_T}yes" >&6
9422 else
9423 echo "$as_me:$LINENO: result: no" >&5
9424 echo "${ECHO_T}no" >&6
9425 fi
9426
9427
9428 enablestring=
9429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9430 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9431 no_cache=0
9432 # Check whether --enable-validators or --disable-validators was given.
9433 if test "${enable_validators+set}" = set; then
9434 enableval="$enable_validators"
9435
9436 if test "$enableval" = yes; then
9437 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9438 else
9439 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9440 fi
9441
9442 else
9443
9444 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9445 if test "x$LINE" != x ; then
9446 eval "DEFAULT_$LINE"
9447 else
9448 no_cache=1
9449 fi
9450
9451 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9452
9453 fi;
9454
9455 eval "$ac_cv_use_validators"
9456 if test "$no_cache" != 1; then
9457 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9458 fi
9459
9460 if test "$wxUSE_VALIDATORS" = yes; then
9461 echo "$as_me:$LINENO: result: yes" >&5
9462 echo "${ECHO_T}yes" >&6
9463 else
9464 echo "$as_me:$LINENO: result: no" >&5
9465 echo "${ECHO_T}no" >&6
9466 fi
9467
9468
9469 enablestring=
9470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9471 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9472 no_cache=0
9473 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9474 if test "${enable_busyinfo+set}" = set; then
9475 enableval="$enable_busyinfo"
9476
9477 if test "$enableval" = yes; then
9478 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9479 else
9480 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9481 fi
9482
9483 else
9484
9485 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9486 if test "x$LINE" != x ; then
9487 eval "DEFAULT_$LINE"
9488 else
9489 no_cache=1
9490 fi
9491
9492 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9493
9494 fi;
9495
9496 eval "$ac_cv_use_busyinfo"
9497 if test "$no_cache" != 1; then
9498 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9499 fi
9500
9501 if test "$wxUSE_BUSYINFO" = yes; then
9502 echo "$as_me:$LINENO: result: yes" >&5
9503 echo "${ECHO_T}yes" >&6
9504 else
9505 echo "$as_me:$LINENO: result: no" >&5
9506 echo "${ECHO_T}no" >&6
9507 fi
9508
9509
9510 enablestring=
9511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9512 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9513 no_cache=0
9514 # Check whether --enable-joystick or --disable-joystick was given.
9515 if test "${enable_joystick+set}" = set; then
9516 enableval="$enable_joystick"
9517
9518 if test "$enableval" = yes; then
9519 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9520 else
9521 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9522 fi
9523
9524 else
9525
9526 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9527 if test "x$LINE" != x ; then
9528 eval "DEFAULT_$LINE"
9529 else
9530 no_cache=1
9531 fi
9532
9533 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9534
9535 fi;
9536
9537 eval "$ac_cv_use_joystick"
9538 if test "$no_cache" != 1; then
9539 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9540 fi
9541
9542 if test "$wxUSE_JOYSTICK" = yes; then
9543 echo "$as_me:$LINENO: result: yes" >&5
9544 echo "${ECHO_T}yes" >&6
9545 else
9546 echo "$as_me:$LINENO: result: no" >&5
9547 echo "${ECHO_T}no" >&6
9548 fi
9549
9550
9551 enablestring=
9552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9553 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9554 no_cache=0
9555 # Check whether --enable-metafile or --disable-metafile was given.
9556 if test "${enable_metafile+set}" = set; then
9557 enableval="$enable_metafile"
9558
9559 if test "$enableval" = yes; then
9560 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9561 else
9562 ac_cv_use_metafile='wxUSE_METAFILE=no'
9563 fi
9564
9565 else
9566
9567 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9568 if test "x$LINE" != x ; then
9569 eval "DEFAULT_$LINE"
9570 else
9571 no_cache=1
9572 fi
9573
9574 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9575
9576 fi;
9577
9578 eval "$ac_cv_use_metafile"
9579 if test "$no_cache" != 1; then
9580 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9581 fi
9582
9583 if test "$wxUSE_METAFILE" = yes; then
9584 echo "$as_me:$LINENO: result: yes" >&5
9585 echo "${ECHO_T}yes" >&6
9586 else
9587 echo "$as_me:$LINENO: result: no" >&5
9588 echo "${ECHO_T}no" >&6
9589 fi
9590
9591
9592 enablestring=
9593 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9594 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9595 no_cache=0
9596 # Check whether --enable-dragimage or --disable-dragimage was given.
9597 if test "${enable_dragimage+set}" = set; then
9598 enableval="$enable_dragimage"
9599
9600 if test "$enableval" = yes; then
9601 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9602 else
9603 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9604 fi
9605
9606 else
9607
9608 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9609 if test "x$LINE" != x ; then
9610 eval "DEFAULT_$LINE"
9611 else
9612 no_cache=1
9613 fi
9614
9615 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9616
9617 fi;
9618
9619 eval "$ac_cv_use_dragimage"
9620 if test "$no_cache" != 1; then
9621 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9622 fi
9623
9624 if test "$wxUSE_DRAGIMAGE" = yes; then
9625 echo "$as_me:$LINENO: result: yes" >&5
9626 echo "${ECHO_T}yes" >&6
9627 else
9628 echo "$as_me:$LINENO: result: no" >&5
9629 echo "${ECHO_T}no" >&6
9630 fi
9631
9632
9633 enablestring=
9634 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9635 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9636 no_cache=0
9637 # Check whether --enable-accessibility or --disable-accessibility was given.
9638 if test "${enable_accessibility+set}" = set; then
9639 enableval="$enable_accessibility"
9640
9641 if test "$enableval" = yes; then
9642 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9643 else
9644 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9645 fi
9646
9647 else
9648
9649 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9650 if test "x$LINE" != x ; then
9651 eval "DEFAULT_$LINE"
9652 else
9653 no_cache=1
9654 fi
9655
9656 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9657
9658 fi;
9659
9660 eval "$ac_cv_use_accessibility"
9661 if test "$no_cache" != 1; then
9662 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9663 fi
9664
9665 if test "$wxUSE_ACCESSIBILITY" = yes; then
9666 echo "$as_me:$LINENO: result: yes" >&5
9667 echo "${ECHO_T}yes" >&6
9668 else
9669 echo "$as_me:$LINENO: result: no" >&5
9670 echo "${ECHO_T}no" >&6
9671 fi
9672
9673
9674
9675
9676 enablestring=
9677 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9678 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9679 no_cache=0
9680 # Check whether --enable-palette or --disable-palette was given.
9681 if test "${enable_palette+set}" = set; then
9682 enableval="$enable_palette"
9683
9684 if test "$enableval" = yes; then
9685 ac_cv_use_palette='wxUSE_PALETTE=yes'
9686 else
9687 ac_cv_use_palette='wxUSE_PALETTE=no'
9688 fi
9689
9690 else
9691
9692 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9693 if test "x$LINE" != x ; then
9694 eval "DEFAULT_$LINE"
9695 else
9696 no_cache=1
9697 fi
9698
9699 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9700
9701 fi;
9702
9703 eval "$ac_cv_use_palette"
9704 if test "$no_cache" != 1; then
9705 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9706 fi
9707
9708 if test "$wxUSE_PALETTE" = yes; then
9709 echo "$as_me:$LINENO: result: yes" >&5
9710 echo "${ECHO_T}yes" >&6
9711 else
9712 echo "$as_me:$LINENO: result: no" >&5
9713 echo "${ECHO_T}no" >&6
9714 fi
9715
9716
9717 enablestring=
9718 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9719 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9720 no_cache=0
9721 # Check whether --enable-image or --disable-image was given.
9722 if test "${enable_image+set}" = set; then
9723 enableval="$enable_image"
9724
9725 if test "$enableval" = yes; then
9726 ac_cv_use_image='wxUSE_IMAGE=yes'
9727 else
9728 ac_cv_use_image='wxUSE_IMAGE=no'
9729 fi
9730
9731 else
9732
9733 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9734 if test "x$LINE" != x ; then
9735 eval "DEFAULT_$LINE"
9736 else
9737 no_cache=1
9738 fi
9739
9740 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9741
9742 fi;
9743
9744 eval "$ac_cv_use_image"
9745 if test "$no_cache" != 1; then
9746 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9747 fi
9748
9749 if test "$wxUSE_IMAGE" = yes; then
9750 echo "$as_me:$LINENO: result: yes" >&5
9751 echo "${ECHO_T}yes" >&6
9752 else
9753 echo "$as_me:$LINENO: result: no" >&5
9754 echo "${ECHO_T}no" >&6
9755 fi
9756
9757
9758 enablestring=
9759 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9760 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9761 no_cache=0
9762 # Check whether --enable-gif or --disable-gif was given.
9763 if test "${enable_gif+set}" = set; then
9764 enableval="$enable_gif"
9765
9766 if test "$enableval" = yes; then
9767 ac_cv_use_gif='wxUSE_GIF=yes'
9768 else
9769 ac_cv_use_gif='wxUSE_GIF=no'
9770 fi
9771
9772 else
9773
9774 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9775 if test "x$LINE" != x ; then
9776 eval "DEFAULT_$LINE"
9777 else
9778 no_cache=1
9779 fi
9780
9781 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9782
9783 fi;
9784
9785 eval "$ac_cv_use_gif"
9786 if test "$no_cache" != 1; then
9787 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9788 fi
9789
9790 if test "$wxUSE_GIF" = yes; then
9791 echo "$as_me:$LINENO: result: yes" >&5
9792 echo "${ECHO_T}yes" >&6
9793 else
9794 echo "$as_me:$LINENO: result: no" >&5
9795 echo "${ECHO_T}no" >&6
9796 fi
9797
9798
9799 enablestring=
9800 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9801 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9802 no_cache=0
9803 # Check whether --enable-pcx or --disable-pcx was given.
9804 if test "${enable_pcx+set}" = set; then
9805 enableval="$enable_pcx"
9806
9807 if test "$enableval" = yes; then
9808 ac_cv_use_pcx='wxUSE_PCX=yes'
9809 else
9810 ac_cv_use_pcx='wxUSE_PCX=no'
9811 fi
9812
9813 else
9814
9815 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9816 if test "x$LINE" != x ; then
9817 eval "DEFAULT_$LINE"
9818 else
9819 no_cache=1
9820 fi
9821
9822 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9823
9824 fi;
9825
9826 eval "$ac_cv_use_pcx"
9827 if test "$no_cache" != 1; then
9828 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9829 fi
9830
9831 if test "$wxUSE_PCX" = yes; then
9832 echo "$as_me:$LINENO: result: yes" >&5
9833 echo "${ECHO_T}yes" >&6
9834 else
9835 echo "$as_me:$LINENO: result: no" >&5
9836 echo "${ECHO_T}no" >&6
9837 fi
9838
9839
9840 enablestring=
9841 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9842 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9843 no_cache=0
9844 # Check whether --enable-iff or --disable-iff was given.
9845 if test "${enable_iff+set}" = set; then
9846 enableval="$enable_iff"
9847
9848 if test "$enableval" = yes; then
9849 ac_cv_use_iff='wxUSE_IFF=yes'
9850 else
9851 ac_cv_use_iff='wxUSE_IFF=no'
9852 fi
9853
9854 else
9855
9856 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9857 if test "x$LINE" != x ; then
9858 eval "DEFAULT_$LINE"
9859 else
9860 no_cache=1
9861 fi
9862
9863 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9864
9865 fi;
9866
9867 eval "$ac_cv_use_iff"
9868 if test "$no_cache" != 1; then
9869 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9870 fi
9871
9872 if test "$wxUSE_IFF" = yes; then
9873 echo "$as_me:$LINENO: result: yes" >&5
9874 echo "${ECHO_T}yes" >&6
9875 else
9876 echo "$as_me:$LINENO: result: no" >&5
9877 echo "${ECHO_T}no" >&6
9878 fi
9879
9880
9881 enablestring=
9882 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9883 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9884 no_cache=0
9885 # Check whether --enable-pnm or --disable-pnm was given.
9886 if test "${enable_pnm+set}" = set; then
9887 enableval="$enable_pnm"
9888
9889 if test "$enableval" = yes; then
9890 ac_cv_use_pnm='wxUSE_PNM=yes'
9891 else
9892 ac_cv_use_pnm='wxUSE_PNM=no'
9893 fi
9894
9895 else
9896
9897 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9898 if test "x$LINE" != x ; then
9899 eval "DEFAULT_$LINE"
9900 else
9901 no_cache=1
9902 fi
9903
9904 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9905
9906 fi;
9907
9908 eval "$ac_cv_use_pnm"
9909 if test "$no_cache" != 1; then
9910 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9911 fi
9912
9913 if test "$wxUSE_PNM" = yes; then
9914 echo "$as_me:$LINENO: result: yes" >&5
9915 echo "${ECHO_T}yes" >&6
9916 else
9917 echo "$as_me:$LINENO: result: no" >&5
9918 echo "${ECHO_T}no" >&6
9919 fi
9920
9921
9922 enablestring=
9923 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9924 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9925 no_cache=0
9926 # Check whether --enable-xpm or --disable-xpm was given.
9927 if test "${enable_xpm+set}" = set; then
9928 enableval="$enable_xpm"
9929
9930 if test "$enableval" = yes; then
9931 ac_cv_use_xpm='wxUSE_XPM=yes'
9932 else
9933 ac_cv_use_xpm='wxUSE_XPM=no'
9934 fi
9935
9936 else
9937
9938 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9939 if test "x$LINE" != x ; then
9940 eval "DEFAULT_$LINE"
9941 else
9942 no_cache=1
9943 fi
9944
9945 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9946
9947 fi;
9948
9949 eval "$ac_cv_use_xpm"
9950 if test "$no_cache" != 1; then
9951 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9952 fi
9953
9954 if test "$wxUSE_XPM" = yes; then
9955 echo "$as_me:$LINENO: result: yes" >&5
9956 echo "${ECHO_T}yes" >&6
9957 else
9958 echo "$as_me:$LINENO: result: no" >&5
9959 echo "${ECHO_T}no" >&6
9960 fi
9961
9962
9963 enablestring=
9964 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9965 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9966 no_cache=0
9967 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9968 if test "${enable_ico_cur+set}" = set; then
9969 enableval="$enable_ico_cur"
9970
9971 if test "$enableval" = yes; then
9972 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
9973 else
9974 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
9975 fi
9976
9977 else
9978
9979 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9980 if test "x$LINE" != x ; then
9981 eval "DEFAULT_$LINE"
9982 else
9983 no_cache=1
9984 fi
9985
9986 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9987
9988 fi;
9989
9990 eval "$ac_cv_use_ico_cur"
9991 if test "$no_cache" != 1; then
9992 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9993 fi
9994
9995 if test "$wxUSE_ICO_CUR" = yes; then
9996 echo "$as_me:$LINENO: result: yes" >&5
9997 echo "${ECHO_T}yes" >&6
9998 else
9999 echo "$as_me:$LINENO: result: no" >&5
10000 echo "${ECHO_T}no" >&6
10001 fi
10002
10003
10004 fi
10005
10006
10007
10008 # Check whether --with-flavour or --without-flavour was given.
10009 if test "${with_flavour+set}" = set; then
10010 withval="$with_flavour"
10011 WX_FLAVOUR="$withval"
10012 fi;
10013
10014
10015
10016 enablestring=
10017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10018 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10019 no_cache=0
10020 # Check whether --enable-official_build or --disable-official_build was given.
10021 if test "${enable_official_build+set}" = set; then
10022 enableval="$enable_official_build"
10023
10024 if test "$enableval" = yes; then
10025 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
10026 else
10027 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
10028 fi
10029
10030 else
10031
10032 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10033 if test "x$LINE" != x ; then
10034 eval "DEFAULT_$LINE"
10035 else
10036 no_cache=1
10037 fi
10038
10039 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10040
10041 fi;
10042
10043 eval "$ac_cv_use_official_build"
10044 if test "$no_cache" != 1; then
10045 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10046 fi
10047
10048 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10049 echo "$as_me:$LINENO: result: yes" >&5
10050 echo "${ECHO_T}yes" >&6
10051 else
10052 echo "$as_me:$LINENO: result: no" >&5
10053 echo "${ECHO_T}no" >&6
10054 fi
10055
10056 # Check whether --enable-vendor or --disable-vendor was given.
10057 if test "${enable_vendor+set}" = set; then
10058 enableval="$enable_vendor"
10059 VENDOR="$enableval"
10060 fi;
10061 if test "x$VENDOR" = "x"; then
10062 VENDOR="custom"
10063 fi
10064
10065
10066
10067
10068 echo "saving argument cache $wx_arg_cache_file"
10069 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
10070
10071
10072
10073 echo "$as_me:$LINENO: checking for toolkit" >&5
10074 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10075
10076 # In Wine, we need to default to MSW, not GTK or MOTIF
10077 if test "$wxUSE_WINE" = "yes"; then
10078 DEFAULT_DEFAULT_wxUSE_GTK=0
10079 DEFAULT_DEFAULT_wxUSE_MOTIF=0
10080 DEFAULT_DEFAULT_wxUSE_MSW=1
10081 wxUSE_SHARED=no
10082 fi
10083
10084 if test "$wxUSE_GUI" = "yes"; then
10085
10086 if test "$USE_BEOS" = 1; then
10087 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10088 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10089 { (exit 1); exit 1; }; }
10090 fi
10091
10092 if test "$TOOLKIT_GIVEN" = 1; then
10093 for toolkit in `echo $ALL_TOOLKITS`; do
10094 var=wxUSE_$toolkit
10095 eval "value=\$${var}"
10096 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
10097 done
10098 else
10099 for toolkit in `echo $ALL_TOOLKITS`; do
10100 if test "$has_toolkit_in_cache" != 1; then
10101 var=DEFAULT_DEFAULT_wxUSE_$toolkit
10102 else
10103 var=DEFAULT_wxUSE_$toolkit
10104 fi
10105 eval "wxUSE_$toolkit=\$${var}"
10106 done
10107 fi
10108
10109 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10110 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10111 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10112
10113 case "${host}" in
10114 *-pc-os2_emx | *-pc-os2-emx )
10115 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10116 esac
10117
10118 case "$NUM_TOOLKITS" in
10119 1)
10120 ;;
10121 0)
10122 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10123 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10124 { (exit 1); exit 1; }; }
10125 ;;
10126 *)
10127 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10128 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10129 { (exit 1); exit 1; }; }
10130 esac
10131
10132 for toolkit in `echo $ALL_TOOLKITS`; do
10133 var=wxUSE_$toolkit
10134 eval "value=\$${var}"
10135 if test "x$value" != x; then
10136 cache_var=CACHE_$toolkit
10137 eval "cache=\$${cache_var}"
10138 if test "$cache" = 1; then
10139 echo "$var=$value" >> ${wx_arg_cache_file}
10140 fi
10141 if test "$value" = 1; then
10142 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10143 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10144 echo "${ECHO_T}$toolkit_echo" >&6
10145 fi
10146 fi
10147 done
10148 else
10149 if test "x$host_alias" != "x"; then
10150 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10151 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10152 else
10153 echo "$as_me:$LINENO: result: base only" >&5
10154 echo "${ECHO_T}base only" >&6
10155 fi
10156 fi
10157
10158 wants_win32=0
10159 doesnt_want_win32=0
10160 case "${host}" in
10161 *-*-cygwin*)
10162 if test "$wxUSE_MSW" = 1 ; then
10163 wants_win32=1
10164 else
10165 doesnt_want_win32=1
10166 fi
10167 ;;
10168 *-*-mingw*)
10169 wants_win32=1
10170 ;;
10171 esac
10172
10173 if test "$wxUSE_WINE" = "yes"; then
10174 wants_win32=1
10175 CC=winegcc
10176 CXX=wineg++
10177 RESCOMP=wrc
10178 LDFLAGS_GUI="-mwindows"
10179 fi
10180
10181 if test "$wants_win32" = 1 ; then
10182 USE_UNIX=0
10183 USE_WIN32=1
10184 cat >>confdefs.h <<\_ACEOF
10185 #define __WIN32__ 1
10186 _ACEOF
10187
10188 cat >>confdefs.h <<\_ACEOF
10189 #define __WIN95__ 1
10190 _ACEOF
10191
10192 cat >>confdefs.h <<\_ACEOF
10193 #define __WINDOWS__ 1
10194 _ACEOF
10195
10196 cat >>confdefs.h <<\_ACEOF
10197 #define __GNUWIN32__ 1
10198 _ACEOF
10199
10200 cat >>confdefs.h <<\_ACEOF
10201 #define STRICT 1
10202 _ACEOF
10203
10204 cat >>confdefs.h <<\_ACEOF
10205 #define WINVER 0x0400
10206 _ACEOF
10207
10208 fi
10209 if test "$doesnt_want_win32" = 1 ; then
10210 USE_UNIX=1
10211 USE_WIN32=0
10212 fi
10213
10214 if test "$USE_UNIX" = 1 ; then
10215 wxUSE_UNIX=yes
10216 cat >>confdefs.h <<\_ACEOF
10217 #define __UNIX__ 1
10218 _ACEOF
10219
10220 fi
10221
10222
10223 cat >confcache <<\_ACEOF
10224 # This file is a shell script that caches the results of configure
10225 # tests run on this system so they can be shared between configure
10226 # scripts and configure runs, see configure's option --config-cache.
10227 # It is not useful on other systems. If it contains results you don't
10228 # want to keep, you may remove or edit it.
10229 #
10230 # config.status only pays attention to the cache file if you give it
10231 # the --recheck option to rerun configure.
10232 #
10233 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10234 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10235 # following values.
10236
10237 _ACEOF
10238
10239 # The following way of writing the cache mishandles newlines in values,
10240 # but we know of no workaround that is simple, portable, and efficient.
10241 # So, don't put newlines in cache variables' values.
10242 # Ultrix sh set writes to stderr and can't be redirected directly,
10243 # and sets the high bit in the cache file unless we assign to the vars.
10244 {
10245 (set) 2>&1 |
10246 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10247 *ac_space=\ *)
10248 # `set' does not quote correctly, so add quotes (double-quote
10249 # substitution turns \\\\ into \\, and sed turns \\ into \).
10250 sed -n \
10251 "s/'/'\\\\''/g;
10252 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10253 ;;
10254 *)
10255 # `set' quotes correctly as required by POSIX, so do not add quotes.
10256 sed -n \
10257 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10258 ;;
10259 esac;
10260 } |
10261 sed '
10262 t clear
10263 : clear
10264 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10265 t end
10266 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10267 : end' >>confcache
10268 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10269 if test -w $cache_file; then
10270 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10271 cat confcache >$cache_file
10272 else
10273 echo "not updating unwritable cache $cache_file"
10274 fi
10275 fi
10276 rm -f confcache
10277
10278 if test "$build" != "$host" ; then
10279 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
10280 CC=$host_alias-gcc
10281 CXX=$host_alias-c++
10282 AR=$host_alias-ar
10283 RANLIB=$host_alias-ranlib
10284 DLLTOOL=$host_alias-dlltool
10285 RESCOMP=$host_alias-windres
10286 STRIP=$host_alias-strip
10287 else
10288 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10289 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10290 { (exit 1); exit 1; }; }
10291 fi
10292 fi
10293
10294 CFLAGS=${CFLAGS:=}
10295 ac_ext=c
10296 ac_cpp='$CPP $CPPFLAGS'
10297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10300 if test -n "$ac_tool_prefix"; then
10301 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10302 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10303 echo "$as_me:$LINENO: checking for $ac_word" >&5
10304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10305 if test "${ac_cv_prog_CC+set}" = set; then
10306 echo $ECHO_N "(cached) $ECHO_C" >&6
10307 else
10308 if test -n "$CC"; then
10309 ac_cv_prog_CC="$CC" # Let the user override the test.
10310 else
10311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10312 for as_dir in $PATH
10313 do
10314 IFS=$as_save_IFS
10315 test -z "$as_dir" && as_dir=.
10316 for ac_exec_ext in '' $ac_executable_extensions; do
10317 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10318 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10320 break 2
10321 fi
10322 done
10323 done
10324
10325 fi
10326 fi
10327 CC=$ac_cv_prog_CC
10328 if test -n "$CC"; then
10329 echo "$as_me:$LINENO: result: $CC" >&5
10330 echo "${ECHO_T}$CC" >&6
10331 else
10332 echo "$as_me:$LINENO: result: no" >&5
10333 echo "${ECHO_T}no" >&6
10334 fi
10335
10336 fi
10337 if test -z "$ac_cv_prog_CC"; then
10338 ac_ct_CC=$CC
10339 # Extract the first word of "gcc", so it can be a program name with args.
10340 set dummy gcc; ac_word=$2
10341 echo "$as_me:$LINENO: checking for $ac_word" >&5
10342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10343 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10344 echo $ECHO_N "(cached) $ECHO_C" >&6
10345 else
10346 if test -n "$ac_ct_CC"; then
10347 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10348 else
10349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10350 for as_dir in $PATH
10351 do
10352 IFS=$as_save_IFS
10353 test -z "$as_dir" && as_dir=.
10354 for ac_exec_ext in '' $ac_executable_extensions; do
10355 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10356 ac_cv_prog_ac_ct_CC="gcc"
10357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10358 break 2
10359 fi
10360 done
10361 done
10362
10363 fi
10364 fi
10365 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10366 if test -n "$ac_ct_CC"; then
10367 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10368 echo "${ECHO_T}$ac_ct_CC" >&6
10369 else
10370 echo "$as_me:$LINENO: result: no" >&5
10371 echo "${ECHO_T}no" >&6
10372 fi
10373
10374 CC=$ac_ct_CC
10375 else
10376 CC="$ac_cv_prog_CC"
10377 fi
10378
10379 if test -z "$CC"; then
10380 if test -n "$ac_tool_prefix"; then
10381 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10382 set dummy ${ac_tool_prefix}cc; ac_word=$2
10383 echo "$as_me:$LINENO: checking for $ac_word" >&5
10384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10385 if test "${ac_cv_prog_CC+set}" = set; then
10386 echo $ECHO_N "(cached) $ECHO_C" >&6
10387 else
10388 if test -n "$CC"; then
10389 ac_cv_prog_CC="$CC" # Let the user override the test.
10390 else
10391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10392 for as_dir in $PATH
10393 do
10394 IFS=$as_save_IFS
10395 test -z "$as_dir" && as_dir=.
10396 for ac_exec_ext in '' $ac_executable_extensions; do
10397 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10398 ac_cv_prog_CC="${ac_tool_prefix}cc"
10399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10400 break 2
10401 fi
10402 done
10403 done
10404
10405 fi
10406 fi
10407 CC=$ac_cv_prog_CC
10408 if test -n "$CC"; then
10409 echo "$as_me:$LINENO: result: $CC" >&5
10410 echo "${ECHO_T}$CC" >&6
10411 else
10412 echo "$as_me:$LINENO: result: no" >&5
10413 echo "${ECHO_T}no" >&6
10414 fi
10415
10416 fi
10417 if test -z "$ac_cv_prog_CC"; then
10418 ac_ct_CC=$CC
10419 # Extract the first word of "cc", so it can be a program name with args.
10420 set dummy cc; ac_word=$2
10421 echo "$as_me:$LINENO: checking for $ac_word" >&5
10422 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10423 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10424 echo $ECHO_N "(cached) $ECHO_C" >&6
10425 else
10426 if test -n "$ac_ct_CC"; then
10427 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10428 else
10429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10430 for as_dir in $PATH
10431 do
10432 IFS=$as_save_IFS
10433 test -z "$as_dir" && as_dir=.
10434 for ac_exec_ext in '' $ac_executable_extensions; do
10435 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10436 ac_cv_prog_ac_ct_CC="cc"
10437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10438 break 2
10439 fi
10440 done
10441 done
10442
10443 fi
10444 fi
10445 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10446 if test -n "$ac_ct_CC"; then
10447 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10448 echo "${ECHO_T}$ac_ct_CC" >&6
10449 else
10450 echo "$as_me:$LINENO: result: no" >&5
10451 echo "${ECHO_T}no" >&6
10452 fi
10453
10454 CC=$ac_ct_CC
10455 else
10456 CC="$ac_cv_prog_CC"
10457 fi
10458
10459 fi
10460 if test -z "$CC"; then
10461 # Extract the first word of "cc", so it can be a program name with args.
10462 set dummy cc; ac_word=$2
10463 echo "$as_me:$LINENO: checking for $ac_word" >&5
10464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10465 if test "${ac_cv_prog_CC+set}" = set; then
10466 echo $ECHO_N "(cached) $ECHO_C" >&6
10467 else
10468 if test -n "$CC"; then
10469 ac_cv_prog_CC="$CC" # Let the user override the test.
10470 else
10471 ac_prog_rejected=no
10472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10473 for as_dir in $PATH
10474 do
10475 IFS=$as_save_IFS
10476 test -z "$as_dir" && as_dir=.
10477 for ac_exec_ext in '' $ac_executable_extensions; do
10478 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10479 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10480 ac_prog_rejected=yes
10481 continue
10482 fi
10483 ac_cv_prog_CC="cc"
10484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10485 break 2
10486 fi
10487 done
10488 done
10489
10490 if test $ac_prog_rejected = yes; then
10491 # We found a bogon in the path, so make sure we never use it.
10492 set dummy $ac_cv_prog_CC
10493 shift
10494 if test $# != 0; then
10495 # We chose a different compiler from the bogus one.
10496 # However, it has the same basename, so the bogon will be chosen
10497 # first if we set CC to just the basename; use the full file name.
10498 shift
10499 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10500 fi
10501 fi
10502 fi
10503 fi
10504 CC=$ac_cv_prog_CC
10505 if test -n "$CC"; then
10506 echo "$as_me:$LINENO: result: $CC" >&5
10507 echo "${ECHO_T}$CC" >&6
10508 else
10509 echo "$as_me:$LINENO: result: no" >&5
10510 echo "${ECHO_T}no" >&6
10511 fi
10512
10513 fi
10514 if test -z "$CC"; then
10515 if test -n "$ac_tool_prefix"; then
10516 for ac_prog in cl
10517 do
10518 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10519 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10520 echo "$as_me:$LINENO: checking for $ac_word" >&5
10521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10522 if test "${ac_cv_prog_CC+set}" = set; then
10523 echo $ECHO_N "(cached) $ECHO_C" >&6
10524 else
10525 if test -n "$CC"; then
10526 ac_cv_prog_CC="$CC" # Let the user override the test.
10527 else
10528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10529 for as_dir in $PATH
10530 do
10531 IFS=$as_save_IFS
10532 test -z "$as_dir" && as_dir=.
10533 for ac_exec_ext in '' $ac_executable_extensions; do
10534 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10535 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10537 break 2
10538 fi
10539 done
10540 done
10541
10542 fi
10543 fi
10544 CC=$ac_cv_prog_CC
10545 if test -n "$CC"; then
10546 echo "$as_me:$LINENO: result: $CC" >&5
10547 echo "${ECHO_T}$CC" >&6
10548 else
10549 echo "$as_me:$LINENO: result: no" >&5
10550 echo "${ECHO_T}no" >&6
10551 fi
10552
10553 test -n "$CC" && break
10554 done
10555 fi
10556 if test -z "$CC"; then
10557 ac_ct_CC=$CC
10558 for ac_prog in cl
10559 do
10560 # Extract the first word of "$ac_prog", so it can be a program name with args.
10561 set dummy $ac_prog; ac_word=$2
10562 echo "$as_me:$LINENO: checking for $ac_word" >&5
10563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10564 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10565 echo $ECHO_N "(cached) $ECHO_C" >&6
10566 else
10567 if test -n "$ac_ct_CC"; then
10568 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10569 else
10570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10571 for as_dir in $PATH
10572 do
10573 IFS=$as_save_IFS
10574 test -z "$as_dir" && as_dir=.
10575 for ac_exec_ext in '' $ac_executable_extensions; do
10576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10577 ac_cv_prog_ac_ct_CC="$ac_prog"
10578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10579 break 2
10580 fi
10581 done
10582 done
10583
10584 fi
10585 fi
10586 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10587 if test -n "$ac_ct_CC"; then
10588 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10589 echo "${ECHO_T}$ac_ct_CC" >&6
10590 else
10591 echo "$as_me:$LINENO: result: no" >&5
10592 echo "${ECHO_T}no" >&6
10593 fi
10594
10595 test -n "$ac_ct_CC" && break
10596 done
10597
10598 CC=$ac_ct_CC
10599 fi
10600
10601 fi
10602
10603
10604 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10605 See \`config.log' for more details." >&5
10606 echo "$as_me: error: no acceptable C compiler found in \$PATH
10607 See \`config.log' for more details." >&2;}
10608 { (exit 1); exit 1; }; }
10609
10610 # Provide some information about the compiler.
10611 echo "$as_me:$LINENO:" \
10612 "checking for C compiler version" >&5
10613 ac_compiler=`set X $ac_compile; echo $2`
10614 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10615 (eval $ac_compiler --version </dev/null >&5) 2>&5
10616 ac_status=$?
10617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10618 (exit $ac_status); }
10619 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10620 (eval $ac_compiler -v </dev/null >&5) 2>&5
10621 ac_status=$?
10622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10623 (exit $ac_status); }
10624 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10625 (eval $ac_compiler -V </dev/null >&5) 2>&5
10626 ac_status=$?
10627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10628 (exit $ac_status); }
10629
10630 cat >conftest.$ac_ext <<_ACEOF
10631 /* confdefs.h. */
10632 _ACEOF
10633 cat confdefs.h >>conftest.$ac_ext
10634 cat >>conftest.$ac_ext <<_ACEOF
10635 /* end confdefs.h. */
10636
10637 int
10638 main ()
10639 {
10640
10641 ;
10642 return 0;
10643 }
10644 _ACEOF
10645 ac_clean_files_save=$ac_clean_files
10646 ac_clean_files="$ac_clean_files a.out a.exe b.out"
10647 # Try to create an executable without -o first, disregard a.out.
10648 # It will help us diagnose broken compilers, and finding out an intuition
10649 # of exeext.
10650 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10651 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10652 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10653 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10654 (eval $ac_link_default) 2>&5
10655 ac_status=$?
10656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10657 (exit $ac_status); }; then
10658 # Find the output, starting from the most likely. This scheme is
10659 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10660 # resort.
10661
10662 # Be careful to initialize this variable, since it used to be cached.
10663 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10664 ac_cv_exeext=
10665 # b.out is created by i960 compilers.
10666 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10667 do
10668 test -f "$ac_file" || continue
10669 case $ac_file in
10670 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10671 ;;
10672 conftest.$ac_ext )
10673 # This is the source file.
10674 ;;
10675 [ab].out )
10676 # We found the default executable, but exeext='' is most
10677 # certainly right.
10678 break;;
10679 *.* )
10680 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10681 # FIXME: I believe we export ac_cv_exeext for Libtool,
10682 # but it would be cool to find out if it's true. Does anybody
10683 # maintain Libtool? --akim.
10684 export ac_cv_exeext
10685 break;;
10686 * )
10687 break;;
10688 esac
10689 done
10690 else
10691 echo "$as_me: failed program was:" >&5
10692 sed 's/^/| /' conftest.$ac_ext >&5
10693
10694 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10695 See \`config.log' for more details." >&5
10696 echo "$as_me: error: C compiler cannot create executables
10697 See \`config.log' for more details." >&2;}
10698 { (exit 77); exit 77; }; }
10699 fi
10700
10701 ac_exeext=$ac_cv_exeext
10702 echo "$as_me:$LINENO: result: $ac_file" >&5
10703 echo "${ECHO_T}$ac_file" >&6
10704
10705 # Check the compiler produces executables we can run. If not, either
10706 # the compiler is broken, or we cross compile.
10707 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10708 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10709 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10710 # If not cross compiling, check that we can run a simple program.
10711 if test "$cross_compiling" != yes; then
10712 if { ac_try='./$ac_file'
10713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10714 (eval $ac_try) 2>&5
10715 ac_status=$?
10716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10717 (exit $ac_status); }; }; then
10718 cross_compiling=no
10719 else
10720 if test "$cross_compiling" = maybe; then
10721 cross_compiling=yes
10722 else
10723 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10724 If you meant to cross compile, use \`--host'.
10725 See \`config.log' for more details." >&5
10726 echo "$as_me: error: cannot run C compiled programs.
10727 If you meant to cross compile, use \`--host'.
10728 See \`config.log' for more details." >&2;}
10729 { (exit 1); exit 1; }; }
10730 fi
10731 fi
10732 fi
10733 echo "$as_me:$LINENO: result: yes" >&5
10734 echo "${ECHO_T}yes" >&6
10735
10736 rm -f a.out a.exe conftest$ac_cv_exeext b.out
10737 ac_clean_files=$ac_clean_files_save
10738 # Check the compiler produces executables we can run. If not, either
10739 # the compiler is broken, or we cross compile.
10740 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10741 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10742 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10743 echo "${ECHO_T}$cross_compiling" >&6
10744
10745 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10746 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10748 (eval $ac_link) 2>&5
10749 ac_status=$?
10750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10751 (exit $ac_status); }; then
10752 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10753 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10754 # work properly (i.e., refer to `conftest.exe'), while it won't with
10755 # `rm'.
10756 for ac_file in conftest.exe conftest conftest.*; do
10757 test -f "$ac_file" || continue
10758 case $ac_file in
10759 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10760 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10761 export ac_cv_exeext
10762 break;;
10763 * ) break;;
10764 esac
10765 done
10766 else
10767 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10768 See \`config.log' for more details." >&5
10769 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10770 See \`config.log' for more details." >&2;}
10771 { (exit 1); exit 1; }; }
10772 fi
10773
10774 rm -f conftest$ac_cv_exeext
10775 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10776 echo "${ECHO_T}$ac_cv_exeext" >&6
10777
10778 rm -f conftest.$ac_ext
10779 EXEEXT=$ac_cv_exeext
10780 ac_exeext=$EXEEXT
10781 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10782 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10783 if test "${ac_cv_objext+set}" = set; then
10784 echo $ECHO_N "(cached) $ECHO_C" >&6
10785 else
10786 cat >conftest.$ac_ext <<_ACEOF
10787 /* confdefs.h. */
10788 _ACEOF
10789 cat confdefs.h >>conftest.$ac_ext
10790 cat >>conftest.$ac_ext <<_ACEOF
10791 /* end confdefs.h. */
10792
10793 int
10794 main ()
10795 {
10796
10797 ;
10798 return 0;
10799 }
10800 _ACEOF
10801 rm -f conftest.o conftest.obj
10802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10803 (eval $ac_compile) 2>&5
10804 ac_status=$?
10805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10806 (exit $ac_status); }; then
10807 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10808 case $ac_file in
10809 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10810 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10811 break;;
10812 esac
10813 done
10814 else
10815 echo "$as_me: failed program was:" >&5
10816 sed 's/^/| /' conftest.$ac_ext >&5
10817
10818 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10819 See \`config.log' for more details." >&5
10820 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10821 See \`config.log' for more details." >&2;}
10822 { (exit 1); exit 1; }; }
10823 fi
10824
10825 rm -f conftest.$ac_cv_objext conftest.$ac_ext
10826 fi
10827 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10828 echo "${ECHO_T}$ac_cv_objext" >&6
10829 OBJEXT=$ac_cv_objext
10830 ac_objext=$OBJEXT
10831 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10832 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10833 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10834 echo $ECHO_N "(cached) $ECHO_C" >&6
10835 else
10836 cat >conftest.$ac_ext <<_ACEOF
10837 /* confdefs.h. */
10838 _ACEOF
10839 cat confdefs.h >>conftest.$ac_ext
10840 cat >>conftest.$ac_ext <<_ACEOF
10841 /* end confdefs.h. */
10842
10843 int
10844 main ()
10845 {
10846 #ifndef __GNUC__
10847 choke me
10848 #endif
10849
10850 ;
10851 return 0;
10852 }
10853 _ACEOF
10854 rm -f conftest.$ac_objext
10855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10856 (eval $ac_compile) 2>conftest.er1
10857 ac_status=$?
10858 grep -v '^ *+' conftest.er1 >conftest.err
10859 rm -f conftest.er1
10860 cat conftest.err >&5
10861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10862 (exit $ac_status); } &&
10863 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10865 (eval $ac_try) 2>&5
10866 ac_status=$?
10867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10868 (exit $ac_status); }; } &&
10869 { ac_try='test -s conftest.$ac_objext'
10870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10871 (eval $ac_try) 2>&5
10872 ac_status=$?
10873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10874 (exit $ac_status); }; }; then
10875 ac_compiler_gnu=yes
10876 else
10877 echo "$as_me: failed program was:" >&5
10878 sed 's/^/| /' conftest.$ac_ext >&5
10879
10880 ac_compiler_gnu=no
10881 fi
10882 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10883 ac_cv_c_compiler_gnu=$ac_compiler_gnu
10884
10885 fi
10886 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10887 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10888 GCC=`test $ac_compiler_gnu = yes && echo yes`
10889 ac_test_CFLAGS=${CFLAGS+set}
10890 ac_save_CFLAGS=$CFLAGS
10891 CFLAGS="-g"
10892 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10893 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10894 if test "${ac_cv_prog_cc_g+set}" = set; then
10895 echo $ECHO_N "(cached) $ECHO_C" >&6
10896 else
10897 cat >conftest.$ac_ext <<_ACEOF
10898 /* confdefs.h. */
10899 _ACEOF
10900 cat confdefs.h >>conftest.$ac_ext
10901 cat >>conftest.$ac_ext <<_ACEOF
10902 /* end confdefs.h. */
10903
10904 int
10905 main ()
10906 {
10907
10908 ;
10909 return 0;
10910 }
10911 _ACEOF
10912 rm -f conftest.$ac_objext
10913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10914 (eval $ac_compile) 2>conftest.er1
10915 ac_status=$?
10916 grep -v '^ *+' conftest.er1 >conftest.err
10917 rm -f conftest.er1
10918 cat conftest.err >&5
10919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10920 (exit $ac_status); } &&
10921 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10923 (eval $ac_try) 2>&5
10924 ac_status=$?
10925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10926 (exit $ac_status); }; } &&
10927 { ac_try='test -s conftest.$ac_objext'
10928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10929 (eval $ac_try) 2>&5
10930 ac_status=$?
10931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10932 (exit $ac_status); }; }; then
10933 ac_cv_prog_cc_g=yes
10934 else
10935 echo "$as_me: failed program was:" >&5
10936 sed 's/^/| /' conftest.$ac_ext >&5
10937
10938 ac_cv_prog_cc_g=no
10939 fi
10940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10941 fi
10942 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10943 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10944 if test "$ac_test_CFLAGS" = set; then
10945 CFLAGS=$ac_save_CFLAGS
10946 elif test $ac_cv_prog_cc_g = yes; then
10947 if test "$GCC" = yes; then
10948 CFLAGS="-g -O2"
10949 else
10950 CFLAGS="-g"
10951 fi
10952 else
10953 if test "$GCC" = yes; then
10954 CFLAGS="-O2"
10955 else
10956 CFLAGS=
10957 fi
10958 fi
10959 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10960 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10961 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10962 echo $ECHO_N "(cached) $ECHO_C" >&6
10963 else
10964 ac_cv_prog_cc_stdc=no
10965 ac_save_CC=$CC
10966 cat >conftest.$ac_ext <<_ACEOF
10967 /* confdefs.h. */
10968 _ACEOF
10969 cat confdefs.h >>conftest.$ac_ext
10970 cat >>conftest.$ac_ext <<_ACEOF
10971 /* end confdefs.h. */
10972 #include <stdarg.h>
10973 #include <stdio.h>
10974 #include <sys/types.h>
10975 #include <sys/stat.h>
10976 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10977 struct buf { int x; };
10978 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10979 static char *e (p, i)
10980 char **p;
10981 int i;
10982 {
10983 return p[i];
10984 }
10985 static char *f (char * (*g) (char **, int), char **p, ...)
10986 {
10987 char *s;
10988 va_list v;
10989 va_start (v,p);
10990 s = g (p, va_arg (v,int));
10991 va_end (v);
10992 return s;
10993 }
10994
10995 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10996 function prototypes and stuff, but not '\xHH' hex character constants.
10997 These don't provoke an error unfortunately, instead are silently treated
10998 as 'x'. The following induces an error, until -std1 is added to get
10999 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11000 array size at least. It's necessary to write '\x00'==0 to get something
11001 that's true only with -std1. */
11002 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11003
11004 int test (int i, double x);
11005 struct s1 {int (*f) (int a);};
11006 struct s2 {int (*f) (double a);};
11007 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11008 int argc;
11009 char **argv;
11010 int
11011 main ()
11012 {
11013 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11014 ;
11015 return 0;
11016 }
11017 _ACEOF
11018 # Don't try gcc -ansi; that turns off useful extensions and
11019 # breaks some systems' header files.
11020 # AIX -qlanglvl=ansi
11021 # Ultrix and OSF/1 -std1
11022 # HP-UX 10.20 and later -Ae
11023 # HP-UX older versions -Aa -D_HPUX_SOURCE
11024 # SVR4 -Xc -D__EXTENSIONS__
11025 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11026 do
11027 CC="$ac_save_CC $ac_arg"
11028 rm -f conftest.$ac_objext
11029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11030 (eval $ac_compile) 2>conftest.er1
11031 ac_status=$?
11032 grep -v '^ *+' conftest.er1 >conftest.err
11033 rm -f conftest.er1
11034 cat conftest.err >&5
11035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11036 (exit $ac_status); } &&
11037 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11039 (eval $ac_try) 2>&5
11040 ac_status=$?
11041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11042 (exit $ac_status); }; } &&
11043 { ac_try='test -s conftest.$ac_objext'
11044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11045 (eval $ac_try) 2>&5
11046 ac_status=$?
11047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11048 (exit $ac_status); }; }; then
11049 ac_cv_prog_cc_stdc=$ac_arg
11050 break
11051 else
11052 echo "$as_me: failed program was:" >&5
11053 sed 's/^/| /' conftest.$ac_ext >&5
11054
11055 fi
11056 rm -f conftest.err conftest.$ac_objext
11057 done
11058 rm -f conftest.$ac_ext conftest.$ac_objext
11059 CC=$ac_save_CC
11060
11061 fi
11062
11063 case "x$ac_cv_prog_cc_stdc" in
11064 x|xno)
11065 echo "$as_me:$LINENO: result: none needed" >&5
11066 echo "${ECHO_T}none needed" >&6 ;;
11067 *)
11068 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11069 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11070 CC="$CC $ac_cv_prog_cc_stdc" ;;
11071 esac
11072
11073 # Some people use a C++ compiler to compile C. Since we use `exit',
11074 # in C++ we need to declare it. In case someone uses the same compiler
11075 # for both compiling C and C++ we need to have the C++ compiler decide
11076 # the declaration of exit, since it's the most demanding environment.
11077 cat >conftest.$ac_ext <<_ACEOF
11078 #ifndef __cplusplus
11079 choke me
11080 #endif
11081 _ACEOF
11082 rm -f conftest.$ac_objext
11083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11084 (eval $ac_compile) 2>conftest.er1
11085 ac_status=$?
11086 grep -v '^ *+' conftest.er1 >conftest.err
11087 rm -f conftest.er1
11088 cat conftest.err >&5
11089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11090 (exit $ac_status); } &&
11091 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11093 (eval $ac_try) 2>&5
11094 ac_status=$?
11095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11096 (exit $ac_status); }; } &&
11097 { ac_try='test -s conftest.$ac_objext'
11098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11099 (eval $ac_try) 2>&5
11100 ac_status=$?
11101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11102 (exit $ac_status); }; }; then
11103 for ac_declaration in \
11104 '' \
11105 'extern "C" void std::exit (int) throw (); using std::exit;' \
11106 'extern "C" void std::exit (int); using std::exit;' \
11107 'extern "C" void exit (int) throw ();' \
11108 'extern "C" void exit (int);' \
11109 'void exit (int);'
11110 do
11111 cat >conftest.$ac_ext <<_ACEOF
11112 /* confdefs.h. */
11113 _ACEOF
11114 cat confdefs.h >>conftest.$ac_ext
11115 cat >>conftest.$ac_ext <<_ACEOF
11116 /* end confdefs.h. */
11117 $ac_declaration
11118 #include <stdlib.h>
11119 int
11120 main ()
11121 {
11122 exit (42);
11123 ;
11124 return 0;
11125 }
11126 _ACEOF
11127 rm -f conftest.$ac_objext
11128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11129 (eval $ac_compile) 2>conftest.er1
11130 ac_status=$?
11131 grep -v '^ *+' conftest.er1 >conftest.err
11132 rm -f conftest.er1
11133 cat conftest.err >&5
11134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11135 (exit $ac_status); } &&
11136 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11138 (eval $ac_try) 2>&5
11139 ac_status=$?
11140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11141 (exit $ac_status); }; } &&
11142 { ac_try='test -s conftest.$ac_objext'
11143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11144 (eval $ac_try) 2>&5
11145 ac_status=$?
11146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11147 (exit $ac_status); }; }; then
11148 :
11149 else
11150 echo "$as_me: failed program was:" >&5
11151 sed 's/^/| /' conftest.$ac_ext >&5
11152
11153 continue
11154 fi
11155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11156 cat >conftest.$ac_ext <<_ACEOF
11157 /* confdefs.h. */
11158 _ACEOF
11159 cat confdefs.h >>conftest.$ac_ext
11160 cat >>conftest.$ac_ext <<_ACEOF
11161 /* end confdefs.h. */
11162 $ac_declaration
11163 int
11164 main ()
11165 {
11166 exit (42);
11167 ;
11168 return 0;
11169 }
11170 _ACEOF
11171 rm -f conftest.$ac_objext
11172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11173 (eval $ac_compile) 2>conftest.er1
11174 ac_status=$?
11175 grep -v '^ *+' conftest.er1 >conftest.err
11176 rm -f conftest.er1
11177 cat conftest.err >&5
11178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11179 (exit $ac_status); } &&
11180 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11182 (eval $ac_try) 2>&5
11183 ac_status=$?
11184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11185 (exit $ac_status); }; } &&
11186 { ac_try='test -s conftest.$ac_objext'
11187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11188 (eval $ac_try) 2>&5
11189 ac_status=$?
11190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11191 (exit $ac_status); }; }; then
11192 break
11193 else
11194 echo "$as_me: failed program was:" >&5
11195 sed 's/^/| /' conftest.$ac_ext >&5
11196
11197 fi
11198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11199 done
11200 rm -f conftest*
11201 if test -n "$ac_declaration"; then
11202 echo '#ifdef __cplusplus' >>confdefs.h
11203 echo $ac_declaration >>confdefs.h
11204 echo '#endif' >>confdefs.h
11205 fi
11206
11207 else
11208 echo "$as_me: failed program was:" >&5
11209 sed 's/^/| /' conftest.$ac_ext >&5
11210
11211 fi
11212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11213 ac_ext=c
11214 ac_cpp='$CPP $CPPFLAGS'
11215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11218
11219
11220
11221 ac_ext=c
11222 ac_cpp='$CPP $CPPFLAGS'
11223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11226 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11227 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11228 # On Suns, sometimes $CPP names a directory.
11229 if test -n "$CPP" && test -d "$CPP"; then
11230 CPP=
11231 fi
11232 if test -z "$CPP"; then
11233 if test "${ac_cv_prog_CPP+set}" = set; then
11234 echo $ECHO_N "(cached) $ECHO_C" >&6
11235 else
11236 # Double quotes because CPP needs to be expanded
11237 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11238 do
11239 ac_preproc_ok=false
11240 for ac_c_preproc_warn_flag in '' yes
11241 do
11242 # Use a header file that comes with gcc, so configuring glibc
11243 # with a fresh cross-compiler works.
11244 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11245 # <limits.h> exists even on freestanding compilers.
11246 # On the NeXT, cc -E runs the code through the compiler's parser,
11247 # not just through cpp. "Syntax error" is here to catch this case.
11248 cat >conftest.$ac_ext <<_ACEOF
11249 /* confdefs.h. */
11250 _ACEOF
11251 cat confdefs.h >>conftest.$ac_ext
11252 cat >>conftest.$ac_ext <<_ACEOF
11253 /* end confdefs.h. */
11254 #ifdef __STDC__
11255 # include <limits.h>
11256 #else
11257 # include <assert.h>
11258 #endif
11259 Syntax error
11260 _ACEOF
11261 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11262 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11263 ac_status=$?
11264 grep -v '^ *+' conftest.er1 >conftest.err
11265 rm -f conftest.er1
11266 cat conftest.err >&5
11267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11268 (exit $ac_status); } >/dev/null; then
11269 if test -s conftest.err; then
11270 ac_cpp_err=$ac_c_preproc_warn_flag
11271 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11272 else
11273 ac_cpp_err=
11274 fi
11275 else
11276 ac_cpp_err=yes
11277 fi
11278 if test -z "$ac_cpp_err"; then
11279 :
11280 else
11281 echo "$as_me: failed program was:" >&5
11282 sed 's/^/| /' conftest.$ac_ext >&5
11283
11284 # Broken: fails on valid input.
11285 continue
11286 fi
11287 rm -f conftest.err conftest.$ac_ext
11288
11289 # OK, works on sane cases. Now check whether non-existent headers
11290 # can be detected and how.
11291 cat >conftest.$ac_ext <<_ACEOF
11292 /* confdefs.h. */
11293 _ACEOF
11294 cat confdefs.h >>conftest.$ac_ext
11295 cat >>conftest.$ac_ext <<_ACEOF
11296 /* end confdefs.h. */
11297 #include <ac_nonexistent.h>
11298 _ACEOF
11299 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11300 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11301 ac_status=$?
11302 grep -v '^ *+' conftest.er1 >conftest.err
11303 rm -f conftest.er1
11304 cat conftest.err >&5
11305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11306 (exit $ac_status); } >/dev/null; then
11307 if test -s conftest.err; then
11308 ac_cpp_err=$ac_c_preproc_warn_flag
11309 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11310 else
11311 ac_cpp_err=
11312 fi
11313 else
11314 ac_cpp_err=yes
11315 fi
11316 if test -z "$ac_cpp_err"; then
11317 # Broken: success on invalid input.
11318 continue
11319 else
11320 echo "$as_me: failed program was:" >&5
11321 sed 's/^/| /' conftest.$ac_ext >&5
11322
11323 # Passes both tests.
11324 ac_preproc_ok=:
11325 break
11326 fi
11327 rm -f conftest.err conftest.$ac_ext
11328
11329 done
11330 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11331 rm -f conftest.err conftest.$ac_ext
11332 if $ac_preproc_ok; then
11333 break
11334 fi
11335
11336 done
11337 ac_cv_prog_CPP=$CPP
11338
11339 fi
11340 CPP=$ac_cv_prog_CPP
11341 else
11342 ac_cv_prog_CPP=$CPP
11343 fi
11344 echo "$as_me:$LINENO: result: $CPP" >&5
11345 echo "${ECHO_T}$CPP" >&6
11346 ac_preproc_ok=false
11347 for ac_c_preproc_warn_flag in '' yes
11348 do
11349 # Use a header file that comes with gcc, so configuring glibc
11350 # with a fresh cross-compiler works.
11351 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11352 # <limits.h> exists even on freestanding compilers.
11353 # On the NeXT, cc -E runs the code through the compiler's parser,
11354 # not just through cpp. "Syntax error" is here to catch this case.
11355 cat >conftest.$ac_ext <<_ACEOF
11356 /* confdefs.h. */
11357 _ACEOF
11358 cat confdefs.h >>conftest.$ac_ext
11359 cat >>conftest.$ac_ext <<_ACEOF
11360 /* end confdefs.h. */
11361 #ifdef __STDC__
11362 # include <limits.h>
11363 #else
11364 # include <assert.h>
11365 #endif
11366 Syntax error
11367 _ACEOF
11368 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11369 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11370 ac_status=$?
11371 grep -v '^ *+' conftest.er1 >conftest.err
11372 rm -f conftest.er1
11373 cat conftest.err >&5
11374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11375 (exit $ac_status); } >/dev/null; then
11376 if test -s conftest.err; then
11377 ac_cpp_err=$ac_c_preproc_warn_flag
11378 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11379 else
11380 ac_cpp_err=
11381 fi
11382 else
11383 ac_cpp_err=yes
11384 fi
11385 if test -z "$ac_cpp_err"; then
11386 :
11387 else
11388 echo "$as_me: failed program was:" >&5
11389 sed 's/^/| /' conftest.$ac_ext >&5
11390
11391 # Broken: fails on valid input.
11392 continue
11393 fi
11394 rm -f conftest.err conftest.$ac_ext
11395
11396 # OK, works on sane cases. Now check whether non-existent headers
11397 # can be detected and how.
11398 cat >conftest.$ac_ext <<_ACEOF
11399 /* confdefs.h. */
11400 _ACEOF
11401 cat confdefs.h >>conftest.$ac_ext
11402 cat >>conftest.$ac_ext <<_ACEOF
11403 /* end confdefs.h. */
11404 #include <ac_nonexistent.h>
11405 _ACEOF
11406 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11407 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11408 ac_status=$?
11409 grep -v '^ *+' conftest.er1 >conftest.err
11410 rm -f conftest.er1
11411 cat conftest.err >&5
11412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11413 (exit $ac_status); } >/dev/null; then
11414 if test -s conftest.err; then
11415 ac_cpp_err=$ac_c_preproc_warn_flag
11416 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11417 else
11418 ac_cpp_err=
11419 fi
11420 else
11421 ac_cpp_err=yes
11422 fi
11423 if test -z "$ac_cpp_err"; then
11424 # Broken: success on invalid input.
11425 continue
11426 else
11427 echo "$as_me: failed program was:" >&5
11428 sed 's/^/| /' conftest.$ac_ext >&5
11429
11430 # Passes both tests.
11431 ac_preproc_ok=:
11432 break
11433 fi
11434 rm -f conftest.err conftest.$ac_ext
11435
11436 done
11437 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11438 rm -f conftest.err conftest.$ac_ext
11439 if $ac_preproc_ok; then
11440 :
11441 else
11442 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11443 See \`config.log' for more details." >&5
11444 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11445 See \`config.log' for more details." >&2;}
11446 { (exit 1); exit 1; }; }
11447 fi
11448
11449 ac_ext=c
11450 ac_cpp='$CPP $CPPFLAGS'
11451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11454
11455
11456 echo "$as_me:$LINENO: checking for egrep" >&5
11457 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11458 if test "${ac_cv_prog_egrep+set}" = set; then
11459 echo $ECHO_N "(cached) $ECHO_C" >&6
11460 else
11461 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
11462 then ac_cv_prog_egrep='grep -E'
11463 else ac_cv_prog_egrep='egrep'
11464 fi
11465 fi
11466 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11467 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11468 EGREP=$ac_cv_prog_egrep
11469
11470
11471 if test $ac_cv_c_compiler_gnu = yes; then
11472 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11473 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11474 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11475 echo $ECHO_N "(cached) $ECHO_C" >&6
11476 else
11477 ac_pattern="Autoconf.*'x'"
11478 cat >conftest.$ac_ext <<_ACEOF
11479 /* confdefs.h. */
11480 _ACEOF
11481 cat confdefs.h >>conftest.$ac_ext
11482 cat >>conftest.$ac_ext <<_ACEOF
11483 /* end confdefs.h. */
11484 #include <sgtty.h>
11485 Autoconf TIOCGETP
11486 _ACEOF
11487 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11488 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11489 ac_cv_prog_gcc_traditional=yes
11490 else
11491 ac_cv_prog_gcc_traditional=no
11492 fi
11493 rm -f conftest*
11494
11495
11496 if test $ac_cv_prog_gcc_traditional = no; then
11497 cat >conftest.$ac_ext <<_ACEOF
11498 /* confdefs.h. */
11499 _ACEOF
11500 cat confdefs.h >>conftest.$ac_ext
11501 cat >>conftest.$ac_ext <<_ACEOF
11502 /* end confdefs.h. */
11503 #include <termio.h>
11504 Autoconf TCGETA
11505 _ACEOF
11506 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11507 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11508 ac_cv_prog_gcc_traditional=yes
11509 fi
11510 rm -f conftest*
11511
11512 fi
11513 fi
11514 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11515 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11516 if test $ac_cv_prog_gcc_traditional = yes; then
11517 CC="$CC -traditional"
11518 fi
11519 fi
11520
11521
11522
11523
11524 ac_ext=cc
11525 ac_cpp='$CXXCPP $CPPFLAGS'
11526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11529
11530
11531 CXXFLAGS=${CXXFLAGS:=}
11532 ac_ext=cc
11533 ac_cpp='$CXXCPP $CPPFLAGS'
11534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11537 if test -n "$ac_tool_prefix"; then
11538 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11539 do
11540 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11541 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11542 echo "$as_me:$LINENO: checking for $ac_word" >&5
11543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11544 if test "${ac_cv_prog_CXX+set}" = set; then
11545 echo $ECHO_N "(cached) $ECHO_C" >&6
11546 else
11547 if test -n "$CXX"; then
11548 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11549 else
11550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11551 for as_dir in $PATH
11552 do
11553 IFS=$as_save_IFS
11554 test -z "$as_dir" && as_dir=.
11555 for ac_exec_ext in '' $ac_executable_extensions; do
11556 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11557 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11559 break 2
11560 fi
11561 done
11562 done
11563
11564 fi
11565 fi
11566 CXX=$ac_cv_prog_CXX
11567 if test -n "$CXX"; then
11568 echo "$as_me:$LINENO: result: $CXX" >&5
11569 echo "${ECHO_T}$CXX" >&6
11570 else
11571 echo "$as_me:$LINENO: result: no" >&5
11572 echo "${ECHO_T}no" >&6
11573 fi
11574
11575 test -n "$CXX" && break
11576 done
11577 fi
11578 if test -z "$CXX"; then
11579 ac_ct_CXX=$CXX
11580 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11581 do
11582 # Extract the first word of "$ac_prog", so it can be a program name with args.
11583 set dummy $ac_prog; ac_word=$2
11584 echo "$as_me:$LINENO: checking for $ac_word" >&5
11585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11586 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11587 echo $ECHO_N "(cached) $ECHO_C" >&6
11588 else
11589 if test -n "$ac_ct_CXX"; then
11590 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11591 else
11592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11593 for as_dir in $PATH
11594 do
11595 IFS=$as_save_IFS
11596 test -z "$as_dir" && as_dir=.
11597 for ac_exec_ext in '' $ac_executable_extensions; do
11598 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11599 ac_cv_prog_ac_ct_CXX="$ac_prog"
11600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11601 break 2
11602 fi
11603 done
11604 done
11605
11606 fi
11607 fi
11608 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11609 if test -n "$ac_ct_CXX"; then
11610 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11611 echo "${ECHO_T}$ac_ct_CXX" >&6
11612 else
11613 echo "$as_me:$LINENO: result: no" >&5
11614 echo "${ECHO_T}no" >&6
11615 fi
11616
11617 test -n "$ac_ct_CXX" && break
11618 done
11619 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
11620
11621 CXX=$ac_ct_CXX
11622 fi
11623
11624
11625 # Provide some information about the compiler.
11626 echo "$as_me:$LINENO:" \
11627 "checking for C++ compiler version" >&5
11628 ac_compiler=`set X $ac_compile; echo $2`
11629 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11630 (eval $ac_compiler --version </dev/null >&5) 2>&5
11631 ac_status=$?
11632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11633 (exit $ac_status); }
11634 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11635 (eval $ac_compiler -v </dev/null >&5) 2>&5
11636 ac_status=$?
11637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11638 (exit $ac_status); }
11639 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11640 (eval $ac_compiler -V </dev/null >&5) 2>&5
11641 ac_status=$?
11642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11643 (exit $ac_status); }
11644
11645 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11646 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11647 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11648 echo $ECHO_N "(cached) $ECHO_C" >&6
11649 else
11650 cat >conftest.$ac_ext <<_ACEOF
11651 /* confdefs.h. */
11652 _ACEOF
11653 cat confdefs.h >>conftest.$ac_ext
11654 cat >>conftest.$ac_ext <<_ACEOF
11655 /* end confdefs.h. */
11656
11657 int
11658 main ()
11659 {
11660 #ifndef __GNUC__
11661 choke me
11662 #endif
11663
11664 ;
11665 return 0;
11666 }
11667 _ACEOF
11668 rm -f conftest.$ac_objext
11669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11670 (eval $ac_compile) 2>conftest.er1
11671 ac_status=$?
11672 grep -v '^ *+' conftest.er1 >conftest.err
11673 rm -f conftest.er1
11674 cat conftest.err >&5
11675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11676 (exit $ac_status); } &&
11677 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11679 (eval $ac_try) 2>&5
11680 ac_status=$?
11681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11682 (exit $ac_status); }; } &&
11683 { ac_try='test -s conftest.$ac_objext'
11684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11685 (eval $ac_try) 2>&5
11686 ac_status=$?
11687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11688 (exit $ac_status); }; }; then
11689 ac_compiler_gnu=yes
11690 else
11691 echo "$as_me: failed program was:" >&5
11692 sed 's/^/| /' conftest.$ac_ext >&5
11693
11694 ac_compiler_gnu=no
11695 fi
11696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11697 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11698
11699 fi
11700 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11701 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11702 GXX=`test $ac_compiler_gnu = yes && echo yes`
11703 ac_test_CXXFLAGS=${CXXFLAGS+set}
11704 ac_save_CXXFLAGS=$CXXFLAGS
11705 CXXFLAGS="-g"
11706 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11707 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11708 if test "${ac_cv_prog_cxx_g+set}" = set; then
11709 echo $ECHO_N "(cached) $ECHO_C" >&6
11710 else
11711 cat >conftest.$ac_ext <<_ACEOF
11712 /* confdefs.h. */
11713 _ACEOF
11714 cat confdefs.h >>conftest.$ac_ext
11715 cat >>conftest.$ac_ext <<_ACEOF
11716 /* end confdefs.h. */
11717
11718 int
11719 main ()
11720 {
11721
11722 ;
11723 return 0;
11724 }
11725 _ACEOF
11726 rm -f conftest.$ac_objext
11727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11728 (eval $ac_compile) 2>conftest.er1
11729 ac_status=$?
11730 grep -v '^ *+' conftest.er1 >conftest.err
11731 rm -f conftest.er1
11732 cat conftest.err >&5
11733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11734 (exit $ac_status); } &&
11735 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11737 (eval $ac_try) 2>&5
11738 ac_status=$?
11739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11740 (exit $ac_status); }; } &&
11741 { ac_try='test -s conftest.$ac_objext'
11742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11743 (eval $ac_try) 2>&5
11744 ac_status=$?
11745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11746 (exit $ac_status); }; }; then
11747 ac_cv_prog_cxx_g=yes
11748 else
11749 echo "$as_me: failed program was:" >&5
11750 sed 's/^/| /' conftest.$ac_ext >&5
11751
11752 ac_cv_prog_cxx_g=no
11753 fi
11754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11755 fi
11756 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11757 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11758 if test "$ac_test_CXXFLAGS" = set; then
11759 CXXFLAGS=$ac_save_CXXFLAGS
11760 elif test $ac_cv_prog_cxx_g = yes; then
11761 if test "$GXX" = yes; then
11762 CXXFLAGS="-g -O2"
11763 else
11764 CXXFLAGS="-g"
11765 fi
11766 else
11767 if test "$GXX" = yes; then
11768 CXXFLAGS="-O2"
11769 else
11770 CXXFLAGS=
11771 fi
11772 fi
11773 for ac_declaration in \
11774 '' \
11775 'extern "C" void std::exit (int) throw (); using std::exit;' \
11776 'extern "C" void std::exit (int); using std::exit;' \
11777 'extern "C" void exit (int) throw ();' \
11778 'extern "C" void exit (int);' \
11779 'void exit (int);'
11780 do
11781 cat >conftest.$ac_ext <<_ACEOF
11782 /* confdefs.h. */
11783 _ACEOF
11784 cat confdefs.h >>conftest.$ac_ext
11785 cat >>conftest.$ac_ext <<_ACEOF
11786 /* end confdefs.h. */
11787 $ac_declaration
11788 #include <stdlib.h>
11789 int
11790 main ()
11791 {
11792 exit (42);
11793 ;
11794 return 0;
11795 }
11796 _ACEOF
11797 rm -f conftest.$ac_objext
11798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11799 (eval $ac_compile) 2>conftest.er1
11800 ac_status=$?
11801 grep -v '^ *+' conftest.er1 >conftest.err
11802 rm -f conftest.er1
11803 cat conftest.err >&5
11804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11805 (exit $ac_status); } &&
11806 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11808 (eval $ac_try) 2>&5
11809 ac_status=$?
11810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11811 (exit $ac_status); }; } &&
11812 { ac_try='test -s conftest.$ac_objext'
11813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11814 (eval $ac_try) 2>&5
11815 ac_status=$?
11816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11817 (exit $ac_status); }; }; then
11818 :
11819 else
11820 echo "$as_me: failed program was:" >&5
11821 sed 's/^/| /' conftest.$ac_ext >&5
11822
11823 continue
11824 fi
11825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11826 cat >conftest.$ac_ext <<_ACEOF
11827 /* confdefs.h. */
11828 _ACEOF
11829 cat confdefs.h >>conftest.$ac_ext
11830 cat >>conftest.$ac_ext <<_ACEOF
11831 /* end confdefs.h. */
11832 $ac_declaration
11833 int
11834 main ()
11835 {
11836 exit (42);
11837 ;
11838 return 0;
11839 }
11840 _ACEOF
11841 rm -f conftest.$ac_objext
11842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11843 (eval $ac_compile) 2>conftest.er1
11844 ac_status=$?
11845 grep -v '^ *+' conftest.er1 >conftest.err
11846 rm -f conftest.er1
11847 cat conftest.err >&5
11848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11849 (exit $ac_status); } &&
11850 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11852 (eval $ac_try) 2>&5
11853 ac_status=$?
11854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11855 (exit $ac_status); }; } &&
11856 { ac_try='test -s conftest.$ac_objext'
11857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11858 (eval $ac_try) 2>&5
11859 ac_status=$?
11860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11861 (exit $ac_status); }; }; then
11862 break
11863 else
11864 echo "$as_me: failed program was:" >&5
11865 sed 's/^/| /' conftest.$ac_ext >&5
11866
11867 fi
11868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11869 done
11870 rm -f conftest*
11871 if test -n "$ac_declaration"; then
11872 echo '#ifdef __cplusplus' >>confdefs.h
11873 echo $ac_declaration >>confdefs.h
11874 echo '#endif' >>confdefs.h
11875 fi
11876
11877 ac_ext=cc
11878 ac_cpp='$CXXCPP $CPPFLAGS'
11879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11882
11883
11884 ac_ext=c
11885 ac_cpp='$CPP $CPPFLAGS'
11886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11889
11890
11891 if test -n "$ac_tool_prefix"; then
11892 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11893 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11894 echo "$as_me:$LINENO: checking for $ac_word" >&5
11895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11896 if test "${ac_cv_prog_RANLIB+set}" = set; then
11897 echo $ECHO_N "(cached) $ECHO_C" >&6
11898 else
11899 if test -n "$RANLIB"; then
11900 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11901 else
11902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11903 for as_dir in $PATH
11904 do
11905 IFS=$as_save_IFS
11906 test -z "$as_dir" && as_dir=.
11907 for ac_exec_ext in '' $ac_executable_extensions; do
11908 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11909 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11911 break 2
11912 fi
11913 done
11914 done
11915
11916 fi
11917 fi
11918 RANLIB=$ac_cv_prog_RANLIB
11919 if test -n "$RANLIB"; then
11920 echo "$as_me:$LINENO: result: $RANLIB" >&5
11921 echo "${ECHO_T}$RANLIB" >&6
11922 else
11923 echo "$as_me:$LINENO: result: no" >&5
11924 echo "${ECHO_T}no" >&6
11925 fi
11926
11927 fi
11928 if test -z "$ac_cv_prog_RANLIB"; then
11929 ac_ct_RANLIB=$RANLIB
11930 # Extract the first word of "ranlib", so it can be a program name with args.
11931 set dummy ranlib; ac_word=$2
11932 echo "$as_me:$LINENO: checking for $ac_word" >&5
11933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11934 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11935 echo $ECHO_N "(cached) $ECHO_C" >&6
11936 else
11937 if test -n "$ac_ct_RANLIB"; then
11938 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11939 else
11940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11941 for as_dir in $PATH
11942 do
11943 IFS=$as_save_IFS
11944 test -z "$as_dir" && as_dir=.
11945 for ac_exec_ext in '' $ac_executable_extensions; do
11946 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11947 ac_cv_prog_ac_ct_RANLIB="ranlib"
11948 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11949 break 2
11950 fi
11951 done
11952 done
11953
11954 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11955 fi
11956 fi
11957 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11958 if test -n "$ac_ct_RANLIB"; then
11959 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11960 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11961 else
11962 echo "$as_me:$LINENO: result: no" >&5
11963 echo "${ECHO_T}no" >&6
11964 fi
11965
11966 RANLIB=$ac_ct_RANLIB
11967 else
11968 RANLIB="$ac_cv_prog_RANLIB"
11969 fi
11970
11971
11972 # Extract the first word of "ar", so it can be a program name with args.
11973 set dummy ar; ac_word=$2
11974 echo "$as_me:$LINENO: checking for $ac_word" >&5
11975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11976 if test "${ac_cv_prog_AR+set}" = set; then
11977 echo $ECHO_N "(cached) $ECHO_C" >&6
11978 else
11979 if test -n "$AR"; then
11980 ac_cv_prog_AR="$AR" # Let the user override the test.
11981 else
11982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11983 for as_dir in $PATH
11984 do
11985 IFS=$as_save_IFS
11986 test -z "$as_dir" && as_dir=.
11987 for ac_exec_ext in '' $ac_executable_extensions; do
11988 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11989 ac_cv_prog_AR="ar"
11990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11991 break 2
11992 fi
11993 done
11994 done
11995
11996 fi
11997 fi
11998 AR=$ac_cv_prog_AR
11999 if test -n "$AR"; then
12000 echo "$as_me:$LINENO: result: $AR" >&5
12001 echo "${ECHO_T}$AR" >&6
12002 else
12003 echo "$as_me:$LINENO: result: no" >&5
12004 echo "${ECHO_T}no" >&6
12005 fi
12006
12007 if test "x$AR" = "x" ; then
12008 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
12009 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
12010 { (exit 1); exit 1; }; }
12011 fi
12012
12013 # Find a good install program. We prefer a C program (faster),
12014 # so one script is as good as another. But avoid the broken or
12015 # incompatible versions:
12016 # SysV /etc/install, /usr/sbin/install
12017 # SunOS /usr/etc/install
12018 # IRIX /sbin/install
12019 # AIX /bin/install
12020 # AmigaOS /C/install, which installs bootblocks on floppy discs
12021 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12022 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
12023 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12024 # OS/2's system install, which has a completely different semantic
12025 # ./install, which can be erroneously created by make from ./install.sh.
12026 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12027 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12028 if test -z "$INSTALL"; then
12029 if test "${ac_cv_path_install+set}" = set; then
12030 echo $ECHO_N "(cached) $ECHO_C" >&6
12031 else
12032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12033 for as_dir in $PATH
12034 do
12035 IFS=$as_save_IFS
12036 test -z "$as_dir" && as_dir=.
12037 # Account for people who put trailing slashes in PATH elements.
12038 case $as_dir/ in
12039 ./ | .// | /cC/* | \
12040 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
12041 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
12042 /usr/ucb/* ) ;;
12043 *)
12044 # OSF1 and SCO ODT 3.0 have their own names for install.
12045 # Don't use installbsd from OSF since it installs stuff as root
12046 # by default.
12047 for ac_prog in ginstall scoinst install; do
12048 for ac_exec_ext in '' $ac_executable_extensions; do
12049 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12050 if test $ac_prog = install &&
12051 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
12052 # AIX install. It has an incompatible calling convention.
12053 :
12054 elif test $ac_prog = install &&
12055 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
12056 # program-specific install script used by HP pwplus--don't use.
12057 :
12058 else
12059 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
12060 break 3
12061 fi
12062 fi
12063 done
12064 done
12065 ;;
12066 esac
12067 done
12068
12069
12070 fi
12071 if test "${ac_cv_path_install+set}" = set; then
12072 INSTALL=$ac_cv_path_install
12073 else
12074 # As a last resort, use the slow shell script. We don't cache a
12075 # path for INSTALL within a source directory, because that will
12076 # break other packages using the cache if that directory is
12077 # removed, or if the path is relative.
12078 INSTALL=$ac_install_sh
12079 fi
12080 fi
12081 echo "$as_me:$LINENO: result: $INSTALL" >&5
12082 echo "${ECHO_T}$INSTALL" >&6
12083
12084 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12085 # It thinks the first close brace ends the variable substitution.
12086 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
12087
12088 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
12089
12090 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
12091
12092
12093 case ${INSTALL} in
12094 /* ) # Absolute
12095 ;;
12096 ?:* ) # Drive letter, considered as absolute.
12097 ;;
12098 *)
12099 INSTALL=`pwd`/${INSTALL} ;;
12100 esac
12101
12102
12103 case "${host}" in
12104
12105 powerpc-*-darwin* )
12106 INSTALL_PROGRAM="cp -fp"
12107 INSTALL_DATA="cp -fp"
12108 ;;
12109 *)
12110 ;;
12111 esac
12112
12113 # Extract the first word of "strip", so it can be a program name with args.
12114 set dummy strip; ac_word=$2
12115 echo "$as_me:$LINENO: checking for $ac_word" >&5
12116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12117 if test "${ac_cv_prog_STRIP+set}" = set; then
12118 echo $ECHO_N "(cached) $ECHO_C" >&6
12119 else
12120 if test -n "$STRIP"; then
12121 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
12122 else
12123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12124 for as_dir in $PATH
12125 do
12126 IFS=$as_save_IFS
12127 test -z "$as_dir" && as_dir=.
12128 for ac_exec_ext in '' $ac_executable_extensions; do
12129 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12130 ac_cv_prog_STRIP="strip"
12131 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12132 break 2
12133 fi
12134 done
12135 done
12136
12137 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
12138 fi
12139 fi
12140 STRIP=$ac_cv_prog_STRIP
12141 if test -n "$STRIP"; then
12142 echo "$as_me:$LINENO: result: $STRIP" >&5
12143 echo "${ECHO_T}$STRIP" >&6
12144 else
12145 echo "$as_me:$LINENO: result: no" >&5
12146 echo "${ECHO_T}no" >&6
12147 fi
12148
12149
12150 echo "$as_me:$LINENO: checking if make is GNU make" >&5
12151 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12152 if test "${wx_cv_prog_makeisgnu+set}" = set; then
12153 echo $ECHO_N "(cached) $ECHO_C" >&6
12154 else
12155
12156 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
12157 egrep -s GNU > /dev/null); then
12158 wx_cv_prog_makeisgnu="yes"
12159 else
12160 wx_cv_prog_makeisgnu="no"
12161 fi
12162
12163 fi
12164 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12165 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12166
12167 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12168 IF_GNU_MAKE=""
12169 else
12170 IF_GNU_MAKE="#"
12171 fi
12172
12173
12174
12175 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12176 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12177 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12178 if test "${wx_cv_prog_makevpath+set}" = set; then
12179 echo $ECHO_N "(cached) $ECHO_C" >&6
12180 else
12181
12182 cat - << EOF > confMake
12183 check : file
12184 cp \$? \$@
12185 cp \$? final_file
12186 EOF
12187
12188 if test ! -d sub ; then
12189 mkdir sub
12190 fi
12191 echo dummy > sub/file
12192 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
12193 RESULT=$?
12194 rm -f sub/file check final_file confMake
12195 rmdir sub
12196 if test "$RESULT" = 0; then
12197 wx_cv_prog_makevpath="yes"
12198 else
12199 wx_cv_prog_makevpath="no"
12200 fi
12201
12202 fi
12203 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12204 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12205
12206 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12207 { { echo "$as_me:$LINENO: error:
12208 You need a make-utility that is able to use the variable
12209 VPATH correctly.
12210 If your version of make does not support VPATH correctly,
12211 please install GNU-make (possibly as gmake), and start
12212 configure with the following command:
12213 export MAKE=gmake; ./configure for sh-type shells
12214 setenv MAKE gmake; ./configure for csh-type shells
12215 Also please do remember to use gmake in this case every time
12216 you are trying to compile.
12217 " >&5
12218 echo "$as_me: error:
12219 You need a make-utility that is able to use the variable
12220 VPATH correctly.
12221 If your version of make does not support VPATH correctly,
12222 please install GNU-make (possibly as gmake), and start
12223 configure with the following command:
12224 export MAKE=gmake; ./configure for sh-type shells
12225 setenv MAKE gmake; ./configure for csh-type shells
12226 Also please do remember to use gmake in this case every time
12227 you are trying to compile.
12228 " >&2;}
12229 { (exit 1); exit 1; }; }
12230 fi fi
12231 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12232 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12233 LN_S=$as_ln_s
12234 if test "$LN_S" = "ln -s"; then
12235 echo "$as_me:$LINENO: result: yes" >&5
12236 echo "${ECHO_T}yes" >&6
12237 else
12238 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12239 echo "${ECHO_T}no, using $LN_S" >&6
12240 fi
12241
12242
12243
12244 case "${host}" in
12245 *-pc-os2_emx | *-pc-os2-emx )
12246 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12247 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12248 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12249 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12250 echo $ECHO_N "(cached) $ECHO_C" >&6
12251 else
12252 ac_check_lib_save_LIBS=$LIBS
12253 LIBS="-lcExt $LIBS"
12254 cat >conftest.$ac_ext <<_ACEOF
12255 /* confdefs.h. */
12256 _ACEOF
12257 cat confdefs.h >>conftest.$ac_ext
12258 cat >>conftest.$ac_ext <<_ACEOF
12259 /* end confdefs.h. */
12260
12261 /* Override any gcc2 internal prototype to avoid an error. */
12262 #ifdef __cplusplus
12263 extern "C"
12264 #endif
12265 /* We use char because int might match the return type of a gcc2
12266 builtin and then its argument prototype would still apply. */
12267 char drand48 ();
12268 int
12269 main ()
12270 {
12271 drand48 ();
12272 ;
12273 return 0;
12274 }
12275 _ACEOF
12276 rm -f conftest.$ac_objext conftest$ac_exeext
12277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12278 (eval $ac_link) 2>conftest.er1
12279 ac_status=$?
12280 grep -v '^ *+' conftest.er1 >conftest.err
12281 rm -f conftest.er1
12282 cat conftest.err >&5
12283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12284 (exit $ac_status); } &&
12285 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12287 (eval $ac_try) 2>&5
12288 ac_status=$?
12289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12290 (exit $ac_status); }; } &&
12291 { ac_try='test -s conftest$ac_exeext'
12292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12293 (eval $ac_try) 2>&5
12294 ac_status=$?
12295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12296 (exit $ac_status); }; }; then
12297 ac_cv_lib_cExt_drand48=yes
12298 else
12299 echo "$as_me: failed program was:" >&5
12300 sed 's/^/| /' conftest.$ac_ext >&5
12301
12302 ac_cv_lib_cExt_drand48=no
12303 fi
12304 rm -f conftest.err conftest.$ac_objext \
12305 conftest$ac_exeext conftest.$ac_ext
12306 LIBS=$ac_check_lib_save_LIBS
12307 fi
12308 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12309 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12310 if test $ac_cv_lib_cExt_drand48 = yes; then
12311 LIBS="$LIBS -lcExt"
12312 fi
12313
12314 else
12315 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
12316 fi
12317 echo "$as_me:$LINENO: checking for gcc version" >&5
12318 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12319 if test "${wx_cv_gccversion+set}" = set; then
12320 echo $ECHO_N "(cached) $ECHO_C" >&6
12321 else
12322
12323 cat >conftest.$ac_ext <<_ACEOF
12324 /* confdefs.h. */
12325 _ACEOF
12326 cat confdefs.h >>conftest.$ac_ext
12327 cat >>conftest.$ac_ext <<_ACEOF
12328 /* end confdefs.h. */
12329
12330 int
12331 main ()
12332 {
12333
12334 #if (__GNUC__ < 3)
12335 #error old gcc
12336 #endif
12337
12338 ;
12339 return 0;
12340 }
12341 _ACEOF
12342 rm -f conftest.$ac_objext
12343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12344 (eval $ac_compile) 2>conftest.er1
12345 ac_status=$?
12346 grep -v '^ *+' conftest.er1 >conftest.err
12347 rm -f conftest.er1
12348 cat conftest.err >&5
12349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12350 (exit $ac_status); } &&
12351 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12353 (eval $ac_try) 2>&5
12354 ac_status=$?
12355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12356 (exit $ac_status); }; } &&
12357 { ac_try='test -s conftest.$ac_objext'
12358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12359 (eval $ac_try) 2>&5
12360 ac_status=$?
12361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12362 (exit $ac_status); }; }; then
12363
12364 cat >conftest.$ac_ext <<_ACEOF
12365 /* confdefs.h. */
12366 _ACEOF
12367 cat confdefs.h >>conftest.$ac_ext
12368 cat >>conftest.$ac_ext <<_ACEOF
12369 /* end confdefs.h. */
12370
12371 int
12372 main ()
12373 {
12374
12375 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12376 #error intermediate gcc
12377 #endif
12378
12379 ;
12380 return 0;
12381 }
12382 _ACEOF
12383 rm -f conftest.$ac_objext
12384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12385 (eval $ac_compile) 2>conftest.er1
12386 ac_status=$?
12387 grep -v '^ *+' conftest.er1 >conftest.err
12388 rm -f conftest.er1
12389 cat conftest.err >&5
12390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12391 (exit $ac_status); } &&
12392 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12394 (eval $ac_try) 2>&5
12395 ac_status=$?
12396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12397 (exit $ac_status); }; } &&
12398 { ac_try='test -s conftest.$ac_objext'
12399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12400 (eval $ac_try) 2>&5
12401 ac_status=$?
12402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12403 (exit $ac_status); }; }; then
12404
12405 wx_cv_gccversion=Innotek
12406
12407 else
12408 echo "$as_me: failed program was:" >&5
12409 sed 's/^/| /' conftest.$ac_ext >&5
12410
12411
12412 wx_cv_gccversion=3
12413
12414
12415 fi
12416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12417
12418 else
12419 echo "$as_me: failed program was:" >&5
12420 sed 's/^/| /' conftest.$ac_ext >&5
12421
12422
12423 wx_cv_gccversion=2
12424
12425
12426 fi
12427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12428
12429 fi
12430 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12431 echo "${ECHO_T}$wx_cv_gccversion" >&6
12432 if test "$wx_cv_gccversion" = "2"; then
12433 LIBS="$LIBS -lstdcpp"
12434 LDFLAGS="$LDFLAGS -Zsysv-signals"
12435 else
12436 if test "$wx_cv_gccversion" = "3"; then
12437 LIBS="$LIBS -lstdcxx"
12438 LDFLAGS="$LDFLAGS -Zsysv-signals"
12439 else
12440 LIBS="$LIBS -lstdc++"
12441 fi
12442 fi
12443 if test "$wxUSE_OMF" = "yes"; then
12444 LDFLAGS="$LDFLAGS -Zomf -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12445 fi
12446 ;;
12447 *)
12448
12449
12450
12451 ac_ext=cc
12452 ac_cpp='$CXXCPP $CPPFLAGS'
12453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12456
12457
12458
12459 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12460 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12461 if test "${ac_cv_string_strcasecmp+set}" = set; then
12462 echo $ECHO_N "(cached) $ECHO_C" >&6
12463 else
12464
12465 cat >conftest.$ac_ext <<_ACEOF
12466 /* confdefs.h. */
12467 _ACEOF
12468 cat confdefs.h >>conftest.$ac_ext
12469 cat >>conftest.$ac_ext <<_ACEOF
12470 /* end confdefs.h. */
12471
12472 #include <string.h>
12473
12474 int
12475 main ()
12476 {
12477
12478 strcasecmp("foo", "bar");
12479
12480 ;
12481 return 0;
12482 }
12483 _ACEOF
12484 rm -f conftest.$ac_objext conftest$ac_exeext
12485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12486 (eval $ac_link) 2>conftest.er1
12487 ac_status=$?
12488 grep -v '^ *+' conftest.er1 >conftest.err
12489 rm -f conftest.er1
12490 cat conftest.err >&5
12491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12492 (exit $ac_status); } &&
12493 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12495 (eval $ac_try) 2>&5
12496 ac_status=$?
12497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12498 (exit $ac_status); }; } &&
12499 { ac_try='test -s conftest$ac_exeext'
12500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12501 (eval $ac_try) 2>&5
12502 ac_status=$?
12503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12504 (exit $ac_status); }; }; then
12505 ac_cv_string_strcasecmp=yes
12506 else
12507 echo "$as_me: failed program was:" >&5
12508 sed 's/^/| /' conftest.$ac_ext >&5
12509
12510 ac_cv_string_strcasecmp=no
12511
12512 fi
12513 rm -f conftest.err conftest.$ac_objext \
12514 conftest$ac_exeext conftest.$ac_ext
12515
12516 fi
12517 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12518 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12519
12520 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
12521 cat >>confdefs.h <<\_ACEOF
12522 #define HAVE_STRCASECMP_IN_STRING_H 1
12523 _ACEOF
12524
12525 else
12526 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12527 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12528 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12529 echo $ECHO_N "(cached) $ECHO_C" >&6
12530 else
12531
12532 cat >conftest.$ac_ext <<_ACEOF
12533 /* confdefs.h. */
12534 _ACEOF
12535 cat confdefs.h >>conftest.$ac_ext
12536 cat >>conftest.$ac_ext <<_ACEOF
12537 /* end confdefs.h. */
12538
12539 #include <strings.h>
12540
12541 int
12542 main ()
12543 {
12544
12545 strcasecmp("foo", "bar");
12546
12547 ;
12548 return 0;
12549 }
12550 _ACEOF
12551 rm -f conftest.$ac_objext conftest$ac_exeext
12552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12553 (eval $ac_link) 2>conftest.er1
12554 ac_status=$?
12555 grep -v '^ *+' conftest.er1 >conftest.err
12556 rm -f conftest.er1
12557 cat conftest.err >&5
12558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12559 (exit $ac_status); } &&
12560 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12562 (eval $ac_try) 2>&5
12563 ac_status=$?
12564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12565 (exit $ac_status); }; } &&
12566 { ac_try='test -s conftest$ac_exeext'
12567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12568 (eval $ac_try) 2>&5
12569 ac_status=$?
12570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12571 (exit $ac_status); }; }; then
12572 ac_cv_strings_strcasecmp=yes
12573 else
12574 echo "$as_me: failed program was:" >&5
12575 sed 's/^/| /' conftest.$ac_ext >&5
12576
12577 ac_cv_strings_strcasecmp=no
12578
12579 fi
12580 rm -f conftest.err conftest.$ac_objext \
12581 conftest$ac_exeext conftest.$ac_ext
12582
12583 fi
12584 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12585 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12586
12587 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
12588 cat >>confdefs.h <<\_ACEOF
12589 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12590 _ACEOF
12591
12592 else
12593 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12594 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12595 { (exit 1); exit 1; }; }
12596 fi
12597 fi
12598
12599 ac_ext=c
12600 ac_cpp='$CPP $CPPFLAGS'
12601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12604
12605 ;;
12606 esac
12607
12608
12609 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12610 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12611 if test "${ac_cv_header_stdc+set}" = set; then
12612 echo $ECHO_N "(cached) $ECHO_C" >&6
12613 else
12614 cat >conftest.$ac_ext <<_ACEOF
12615 /* confdefs.h. */
12616 _ACEOF
12617 cat confdefs.h >>conftest.$ac_ext
12618 cat >>conftest.$ac_ext <<_ACEOF
12619 /* end confdefs.h. */
12620 #include <stdlib.h>
12621 #include <stdarg.h>
12622 #include <string.h>
12623 #include <float.h>
12624
12625 int
12626 main ()
12627 {
12628
12629 ;
12630 return 0;
12631 }
12632 _ACEOF
12633 rm -f conftest.$ac_objext
12634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12635 (eval $ac_compile) 2>conftest.er1
12636 ac_status=$?
12637 grep -v '^ *+' conftest.er1 >conftest.err
12638 rm -f conftest.er1
12639 cat conftest.err >&5
12640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12641 (exit $ac_status); } &&
12642 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12644 (eval $ac_try) 2>&5
12645 ac_status=$?
12646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12647 (exit $ac_status); }; } &&
12648 { ac_try='test -s conftest.$ac_objext'
12649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12650 (eval $ac_try) 2>&5
12651 ac_status=$?
12652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12653 (exit $ac_status); }; }; then
12654 ac_cv_header_stdc=yes
12655 else
12656 echo "$as_me: failed program was:" >&5
12657 sed 's/^/| /' conftest.$ac_ext >&5
12658
12659 ac_cv_header_stdc=no
12660 fi
12661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12662
12663 if test $ac_cv_header_stdc = yes; then
12664 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12665 cat >conftest.$ac_ext <<_ACEOF
12666 /* confdefs.h. */
12667 _ACEOF
12668 cat confdefs.h >>conftest.$ac_ext
12669 cat >>conftest.$ac_ext <<_ACEOF
12670 /* end confdefs.h. */
12671 #include <string.h>
12672
12673 _ACEOF
12674 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12675 $EGREP "memchr" >/dev/null 2>&1; then
12676 :
12677 else
12678 ac_cv_header_stdc=no
12679 fi
12680 rm -f conftest*
12681
12682 fi
12683
12684 if test $ac_cv_header_stdc = yes; then
12685 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12686 cat >conftest.$ac_ext <<_ACEOF
12687 /* confdefs.h. */
12688 _ACEOF
12689 cat confdefs.h >>conftest.$ac_ext
12690 cat >>conftest.$ac_ext <<_ACEOF
12691 /* end confdefs.h. */
12692 #include <stdlib.h>
12693
12694 _ACEOF
12695 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12696 $EGREP "free" >/dev/null 2>&1; then
12697 :
12698 else
12699 ac_cv_header_stdc=no
12700 fi
12701 rm -f conftest*
12702
12703 fi
12704
12705 if test $ac_cv_header_stdc = yes; then
12706 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12707 if test "$cross_compiling" = yes; then
12708 :
12709 else
12710 cat >conftest.$ac_ext <<_ACEOF
12711 /* confdefs.h. */
12712 _ACEOF
12713 cat confdefs.h >>conftest.$ac_ext
12714 cat >>conftest.$ac_ext <<_ACEOF
12715 /* end confdefs.h. */
12716 #include <ctype.h>
12717 #if ((' ' & 0x0FF) == 0x020)
12718 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12719 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12720 #else
12721 # define ISLOWER(c) \
12722 (('a' <= (c) && (c) <= 'i') \
12723 || ('j' <= (c) && (c) <= 'r') \
12724 || ('s' <= (c) && (c) <= 'z'))
12725 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12726 #endif
12727
12728 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12729 int
12730 main ()
12731 {
12732 int i;
12733 for (i = 0; i < 256; i++)
12734 if (XOR (islower (i), ISLOWER (i))
12735 || toupper (i) != TOUPPER (i))
12736 exit(2);
12737 exit (0);
12738 }
12739 _ACEOF
12740 rm -f conftest$ac_exeext
12741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12742 (eval $ac_link) 2>&5
12743 ac_status=$?
12744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12745 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12747 (eval $ac_try) 2>&5
12748 ac_status=$?
12749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12750 (exit $ac_status); }; }; then
12751 :
12752 else
12753 echo "$as_me: program exited with status $ac_status" >&5
12754 echo "$as_me: failed program was:" >&5
12755 sed 's/^/| /' conftest.$ac_ext >&5
12756
12757 ( exit $ac_status )
12758 ac_cv_header_stdc=no
12759 fi
12760 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12761 fi
12762 fi
12763 fi
12764 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12765 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12766 if test $ac_cv_header_stdc = yes; then
12767
12768 cat >>confdefs.h <<\_ACEOF
12769 #define STDC_HEADERS 1
12770 _ACEOF
12771
12772 fi
12773
12774 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12785 inttypes.h stdint.h unistd.h
12786 do
12787 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12788 echo "$as_me:$LINENO: checking for $ac_header" >&5
12789 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12790 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12791 echo $ECHO_N "(cached) $ECHO_C" >&6
12792 else
12793 cat >conftest.$ac_ext <<_ACEOF
12794 /* confdefs.h. */
12795 _ACEOF
12796 cat confdefs.h >>conftest.$ac_ext
12797 cat >>conftest.$ac_ext <<_ACEOF
12798 /* end confdefs.h. */
12799 $ac_includes_default
12800
12801 #include <$ac_header>
12802 _ACEOF
12803 rm -f conftest.$ac_objext
12804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12805 (eval $ac_compile) 2>conftest.er1
12806 ac_status=$?
12807 grep -v '^ *+' conftest.er1 >conftest.err
12808 rm -f conftest.er1
12809 cat conftest.err >&5
12810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12811 (exit $ac_status); } &&
12812 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12814 (eval $ac_try) 2>&5
12815 ac_status=$?
12816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12817 (exit $ac_status); }; } &&
12818 { ac_try='test -s conftest.$ac_objext'
12819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12820 (eval $ac_try) 2>&5
12821 ac_status=$?
12822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12823 (exit $ac_status); }; }; then
12824 eval "$as_ac_Header=yes"
12825 else
12826 echo "$as_me: failed program was:" >&5
12827 sed 's/^/| /' conftest.$ac_ext >&5
12828
12829 eval "$as_ac_Header=no"
12830 fi
12831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12832 fi
12833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12834 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12835 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12836 cat >>confdefs.h <<_ACEOF
12837 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12838 _ACEOF
12839
12840 fi
12841
12842 done
12843
12844
12845
12846 for ac_header in stdlib.h
12847 do
12848 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12849 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12850 echo "$as_me:$LINENO: checking for $ac_header" >&5
12851 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12852 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12853 echo $ECHO_N "(cached) $ECHO_C" >&6
12854 fi
12855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12856 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12857 else
12858 # Is the header compilable?
12859 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12860 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12861 cat >conftest.$ac_ext <<_ACEOF
12862 /* confdefs.h. */
12863 _ACEOF
12864 cat confdefs.h >>conftest.$ac_ext
12865 cat >>conftest.$ac_ext <<_ACEOF
12866 /* end confdefs.h. */
12867 $ac_includes_default
12868 #include <$ac_header>
12869 _ACEOF
12870 rm -f conftest.$ac_objext
12871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12872 (eval $ac_compile) 2>conftest.er1
12873 ac_status=$?
12874 grep -v '^ *+' conftest.er1 >conftest.err
12875 rm -f conftest.er1
12876 cat conftest.err >&5
12877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12878 (exit $ac_status); } &&
12879 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12881 (eval $ac_try) 2>&5
12882 ac_status=$?
12883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12884 (exit $ac_status); }; } &&
12885 { ac_try='test -s conftest.$ac_objext'
12886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12887 (eval $ac_try) 2>&5
12888 ac_status=$?
12889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12890 (exit $ac_status); }; }; then
12891 ac_header_compiler=yes
12892 else
12893 echo "$as_me: failed program was:" >&5
12894 sed 's/^/| /' conftest.$ac_ext >&5
12895
12896 ac_header_compiler=no
12897 fi
12898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12899 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12900 echo "${ECHO_T}$ac_header_compiler" >&6
12901
12902 # Is the header present?
12903 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12904 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12905 cat >conftest.$ac_ext <<_ACEOF
12906 /* confdefs.h. */
12907 _ACEOF
12908 cat confdefs.h >>conftest.$ac_ext
12909 cat >>conftest.$ac_ext <<_ACEOF
12910 /* end confdefs.h. */
12911 #include <$ac_header>
12912 _ACEOF
12913 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12914 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12915 ac_status=$?
12916 grep -v '^ *+' conftest.er1 >conftest.err
12917 rm -f conftest.er1
12918 cat conftest.err >&5
12919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12920 (exit $ac_status); } >/dev/null; then
12921 if test -s conftest.err; then
12922 ac_cpp_err=$ac_c_preproc_warn_flag
12923 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12924 else
12925 ac_cpp_err=
12926 fi
12927 else
12928 ac_cpp_err=yes
12929 fi
12930 if test -z "$ac_cpp_err"; then
12931 ac_header_preproc=yes
12932 else
12933 echo "$as_me: failed program was:" >&5
12934 sed 's/^/| /' conftest.$ac_ext >&5
12935
12936 ac_header_preproc=no
12937 fi
12938 rm -f conftest.err conftest.$ac_ext
12939 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12940 echo "${ECHO_T}$ac_header_preproc" >&6
12941
12942 # So? What about this header?
12943 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12944 yes:no: )
12945 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12946 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12947 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12948 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12949 ac_header_preproc=yes
12950 ;;
12951 no:yes:* )
12952 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12953 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12954 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12955 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12956 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12957 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12958 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12959 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12960 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12961 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12962 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12963 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12964 (
12965 cat <<\_ASBOX
12966 ## ----------------------------------------- ##
12967 ## Report this to wx-dev@lists.wxwidgets.org ##
12968 ## ----------------------------------------- ##
12969 _ASBOX
12970 ) |
12971 sed "s/^/$as_me: WARNING: /" >&2
12972 ;;
12973 esac
12974 echo "$as_me:$LINENO: checking for $ac_header" >&5
12975 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12976 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12977 echo $ECHO_N "(cached) $ECHO_C" >&6
12978 else
12979 eval "$as_ac_Header=\$ac_header_preproc"
12980 fi
12981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12982 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12983
12984 fi
12985 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12986 cat >>confdefs.h <<_ACEOF
12987 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12988 _ACEOF
12989
12990 fi
12991
12992 done
12993
12994
12995 for ac_header in malloc.h
12996 do
12997 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12998 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12999 echo "$as_me:$LINENO: checking for $ac_header" >&5
13000 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13001 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13002 echo $ECHO_N "(cached) $ECHO_C" >&6
13003 fi
13004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13005 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13006 else
13007 # Is the header compilable?
13008 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13009 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13010 cat >conftest.$ac_ext <<_ACEOF
13011 /* confdefs.h. */
13012 _ACEOF
13013 cat confdefs.h >>conftest.$ac_ext
13014 cat >>conftest.$ac_ext <<_ACEOF
13015 /* end confdefs.h. */
13016 $ac_includes_default
13017 #include <$ac_header>
13018 _ACEOF
13019 rm -f conftest.$ac_objext
13020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13021 (eval $ac_compile) 2>conftest.er1
13022 ac_status=$?
13023 grep -v '^ *+' conftest.er1 >conftest.err
13024 rm -f conftest.er1
13025 cat conftest.err >&5
13026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13027 (exit $ac_status); } &&
13028 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13030 (eval $ac_try) 2>&5
13031 ac_status=$?
13032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13033 (exit $ac_status); }; } &&
13034 { ac_try='test -s conftest.$ac_objext'
13035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13036 (eval $ac_try) 2>&5
13037 ac_status=$?
13038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13039 (exit $ac_status); }; }; then
13040 ac_header_compiler=yes
13041 else
13042 echo "$as_me: failed program was:" >&5
13043 sed 's/^/| /' conftest.$ac_ext >&5
13044
13045 ac_header_compiler=no
13046 fi
13047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13048 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13049 echo "${ECHO_T}$ac_header_compiler" >&6
13050
13051 # Is the header present?
13052 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13053 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13054 cat >conftest.$ac_ext <<_ACEOF
13055 /* confdefs.h. */
13056 _ACEOF
13057 cat confdefs.h >>conftest.$ac_ext
13058 cat >>conftest.$ac_ext <<_ACEOF
13059 /* end confdefs.h. */
13060 #include <$ac_header>
13061 _ACEOF
13062 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13063 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13064 ac_status=$?
13065 grep -v '^ *+' conftest.er1 >conftest.err
13066 rm -f conftest.er1
13067 cat conftest.err >&5
13068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13069 (exit $ac_status); } >/dev/null; then
13070 if test -s conftest.err; then
13071 ac_cpp_err=$ac_c_preproc_warn_flag
13072 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13073 else
13074 ac_cpp_err=
13075 fi
13076 else
13077 ac_cpp_err=yes
13078 fi
13079 if test -z "$ac_cpp_err"; then
13080 ac_header_preproc=yes
13081 else
13082 echo "$as_me: failed program was:" >&5
13083 sed 's/^/| /' conftest.$ac_ext >&5
13084
13085 ac_header_preproc=no
13086 fi
13087 rm -f conftest.err conftest.$ac_ext
13088 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13089 echo "${ECHO_T}$ac_header_preproc" >&6
13090
13091 # So? What about this header?
13092 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13093 yes:no: )
13094 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13095 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13096 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13097 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13098 ac_header_preproc=yes
13099 ;;
13100 no:yes:* )
13101 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13102 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13103 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13104 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13105 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13106 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13107 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13108 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13109 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13110 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13111 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13112 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13113 (
13114 cat <<\_ASBOX
13115 ## ----------------------------------------- ##
13116 ## Report this to wx-dev@lists.wxwidgets.org ##
13117 ## ----------------------------------------- ##
13118 _ASBOX
13119 ) |
13120 sed "s/^/$as_me: WARNING: /" >&2
13121 ;;
13122 esac
13123 echo "$as_me:$LINENO: checking for $ac_header" >&5
13124 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13125 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13126 echo $ECHO_N "(cached) $ECHO_C" >&6
13127 else
13128 eval "$as_ac_Header=\$ac_header_preproc"
13129 fi
13130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13131 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13132
13133 fi
13134 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13135 cat >>confdefs.h <<_ACEOF
13136 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13137 _ACEOF
13138
13139 fi
13140
13141 done
13142
13143
13144 for ac_header in unistd.h
13145 do
13146 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13147 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13148 echo "$as_me:$LINENO: checking for $ac_header" >&5
13149 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13150 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13151 echo $ECHO_N "(cached) $ECHO_C" >&6
13152 fi
13153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13154 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13155 else
13156 # Is the header compilable?
13157 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13158 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13159 cat >conftest.$ac_ext <<_ACEOF
13160 /* confdefs.h. */
13161 _ACEOF
13162 cat confdefs.h >>conftest.$ac_ext
13163 cat >>conftest.$ac_ext <<_ACEOF
13164 /* end confdefs.h. */
13165 $ac_includes_default
13166 #include <$ac_header>
13167 _ACEOF
13168 rm -f conftest.$ac_objext
13169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13170 (eval $ac_compile) 2>conftest.er1
13171 ac_status=$?
13172 grep -v '^ *+' conftest.er1 >conftest.err
13173 rm -f conftest.er1
13174 cat conftest.err >&5
13175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13176 (exit $ac_status); } &&
13177 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13179 (eval $ac_try) 2>&5
13180 ac_status=$?
13181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13182 (exit $ac_status); }; } &&
13183 { ac_try='test -s conftest.$ac_objext'
13184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13185 (eval $ac_try) 2>&5
13186 ac_status=$?
13187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13188 (exit $ac_status); }; }; then
13189 ac_header_compiler=yes
13190 else
13191 echo "$as_me: failed program was:" >&5
13192 sed 's/^/| /' conftest.$ac_ext >&5
13193
13194 ac_header_compiler=no
13195 fi
13196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13197 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13198 echo "${ECHO_T}$ac_header_compiler" >&6
13199
13200 # Is the header present?
13201 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13202 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13203 cat >conftest.$ac_ext <<_ACEOF
13204 /* confdefs.h. */
13205 _ACEOF
13206 cat confdefs.h >>conftest.$ac_ext
13207 cat >>conftest.$ac_ext <<_ACEOF
13208 /* end confdefs.h. */
13209 #include <$ac_header>
13210 _ACEOF
13211 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13212 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13213 ac_status=$?
13214 grep -v '^ *+' conftest.er1 >conftest.err
13215 rm -f conftest.er1
13216 cat conftest.err >&5
13217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13218 (exit $ac_status); } >/dev/null; then
13219 if test -s conftest.err; then
13220 ac_cpp_err=$ac_c_preproc_warn_flag
13221 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13222 else
13223 ac_cpp_err=
13224 fi
13225 else
13226 ac_cpp_err=yes
13227 fi
13228 if test -z "$ac_cpp_err"; then
13229 ac_header_preproc=yes
13230 else
13231 echo "$as_me: failed program was:" >&5
13232 sed 's/^/| /' conftest.$ac_ext >&5
13233
13234 ac_header_preproc=no
13235 fi
13236 rm -f conftest.err conftest.$ac_ext
13237 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13238 echo "${ECHO_T}$ac_header_preproc" >&6
13239
13240 # So? What about this header?
13241 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13242 yes:no: )
13243 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13244 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13245 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13246 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13247 ac_header_preproc=yes
13248 ;;
13249 no:yes:* )
13250 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13251 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13252 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13253 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13254 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13255 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13256 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13257 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13258 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13259 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13260 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13261 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13262 (
13263 cat <<\_ASBOX
13264 ## ----------------------------------------- ##
13265 ## Report this to wx-dev@lists.wxwidgets.org ##
13266 ## ----------------------------------------- ##
13267 _ASBOX
13268 ) |
13269 sed "s/^/$as_me: WARNING: /" >&2
13270 ;;
13271 esac
13272 echo "$as_me:$LINENO: checking for $ac_header" >&5
13273 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13274 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13275 echo $ECHO_N "(cached) $ECHO_C" >&6
13276 else
13277 eval "$as_ac_Header=\$ac_header_preproc"
13278 fi
13279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13280 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13281
13282 fi
13283 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13284 cat >>confdefs.h <<_ACEOF
13285 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13286 _ACEOF
13287
13288 fi
13289
13290 done
13291
13292
13293 for ac_header in wchar.h
13294 do
13295 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13296 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13297 echo "$as_me:$LINENO: checking for $ac_header" >&5
13298 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13299 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13300 echo $ECHO_N "(cached) $ECHO_C" >&6
13301 fi
13302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13303 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13304 else
13305 # Is the header compilable?
13306 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13307 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13308 cat >conftest.$ac_ext <<_ACEOF
13309 /* confdefs.h. */
13310 _ACEOF
13311 cat confdefs.h >>conftest.$ac_ext
13312 cat >>conftest.$ac_ext <<_ACEOF
13313 /* end confdefs.h. */
13314 $ac_includes_default
13315 #include <$ac_header>
13316 _ACEOF
13317 rm -f conftest.$ac_objext
13318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13319 (eval $ac_compile) 2>conftest.er1
13320 ac_status=$?
13321 grep -v '^ *+' conftest.er1 >conftest.err
13322 rm -f conftest.er1
13323 cat conftest.err >&5
13324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13325 (exit $ac_status); } &&
13326 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13328 (eval $ac_try) 2>&5
13329 ac_status=$?
13330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13331 (exit $ac_status); }; } &&
13332 { ac_try='test -s conftest.$ac_objext'
13333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13334 (eval $ac_try) 2>&5
13335 ac_status=$?
13336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13337 (exit $ac_status); }; }; then
13338 ac_header_compiler=yes
13339 else
13340 echo "$as_me: failed program was:" >&5
13341 sed 's/^/| /' conftest.$ac_ext >&5
13342
13343 ac_header_compiler=no
13344 fi
13345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13346 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13347 echo "${ECHO_T}$ac_header_compiler" >&6
13348
13349 # Is the header present?
13350 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13351 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13352 cat >conftest.$ac_ext <<_ACEOF
13353 /* confdefs.h. */
13354 _ACEOF
13355 cat confdefs.h >>conftest.$ac_ext
13356 cat >>conftest.$ac_ext <<_ACEOF
13357 /* end confdefs.h. */
13358 #include <$ac_header>
13359 _ACEOF
13360 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13361 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13362 ac_status=$?
13363 grep -v '^ *+' conftest.er1 >conftest.err
13364 rm -f conftest.er1
13365 cat conftest.err >&5
13366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13367 (exit $ac_status); } >/dev/null; then
13368 if test -s conftest.err; then
13369 ac_cpp_err=$ac_c_preproc_warn_flag
13370 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13371 else
13372 ac_cpp_err=
13373 fi
13374 else
13375 ac_cpp_err=yes
13376 fi
13377 if test -z "$ac_cpp_err"; then
13378 ac_header_preproc=yes
13379 else
13380 echo "$as_me: failed program was:" >&5
13381 sed 's/^/| /' conftest.$ac_ext >&5
13382
13383 ac_header_preproc=no
13384 fi
13385 rm -f conftest.err conftest.$ac_ext
13386 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13387 echo "${ECHO_T}$ac_header_preproc" >&6
13388
13389 # So? What about this header?
13390 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13391 yes:no: )
13392 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13393 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13394 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13395 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13396 ac_header_preproc=yes
13397 ;;
13398 no:yes:* )
13399 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13400 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13401 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13402 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13403 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13404 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13405 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13406 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13407 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13408 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13409 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13410 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13411 (
13412 cat <<\_ASBOX
13413 ## ----------------------------------------- ##
13414 ## Report this to wx-dev@lists.wxwidgets.org ##
13415 ## ----------------------------------------- ##
13416 _ASBOX
13417 ) |
13418 sed "s/^/$as_me: WARNING: /" >&2
13419 ;;
13420 esac
13421 echo "$as_me:$LINENO: checking for $ac_header" >&5
13422 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13423 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13424 echo $ECHO_N "(cached) $ECHO_C" >&6
13425 else
13426 eval "$as_ac_Header=\$ac_header_preproc"
13427 fi
13428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13429 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13430
13431 fi
13432 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13433 cat >>confdefs.h <<_ACEOF
13434 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13435 _ACEOF
13436
13437 fi
13438
13439 done
13440
13441
13442 if test "$ac_cv_header_wchar_h" != "yes"; then
13443
13444 for ac_header in wcstr.h
13445 do
13446 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13447 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13448 echo "$as_me:$LINENO: checking for $ac_header" >&5
13449 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13450 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13451 echo $ECHO_N "(cached) $ECHO_C" >&6
13452 fi
13453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13454 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13455 else
13456 # Is the header compilable?
13457 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13458 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13459 cat >conftest.$ac_ext <<_ACEOF
13460 /* confdefs.h. */
13461 _ACEOF
13462 cat confdefs.h >>conftest.$ac_ext
13463 cat >>conftest.$ac_ext <<_ACEOF
13464 /* end confdefs.h. */
13465 $ac_includes_default
13466 #include <$ac_header>
13467 _ACEOF
13468 rm -f conftest.$ac_objext
13469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13470 (eval $ac_compile) 2>conftest.er1
13471 ac_status=$?
13472 grep -v '^ *+' conftest.er1 >conftest.err
13473 rm -f conftest.er1
13474 cat conftest.err >&5
13475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13476 (exit $ac_status); } &&
13477 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13479 (eval $ac_try) 2>&5
13480 ac_status=$?
13481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13482 (exit $ac_status); }; } &&
13483 { ac_try='test -s conftest.$ac_objext'
13484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13485 (eval $ac_try) 2>&5
13486 ac_status=$?
13487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13488 (exit $ac_status); }; }; then
13489 ac_header_compiler=yes
13490 else
13491 echo "$as_me: failed program was:" >&5
13492 sed 's/^/| /' conftest.$ac_ext >&5
13493
13494 ac_header_compiler=no
13495 fi
13496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13497 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13498 echo "${ECHO_T}$ac_header_compiler" >&6
13499
13500 # Is the header present?
13501 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13502 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13503 cat >conftest.$ac_ext <<_ACEOF
13504 /* confdefs.h. */
13505 _ACEOF
13506 cat confdefs.h >>conftest.$ac_ext
13507 cat >>conftest.$ac_ext <<_ACEOF
13508 /* end confdefs.h. */
13509 #include <$ac_header>
13510 _ACEOF
13511 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13512 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13513 ac_status=$?
13514 grep -v '^ *+' conftest.er1 >conftest.err
13515 rm -f conftest.er1
13516 cat conftest.err >&5
13517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13518 (exit $ac_status); } >/dev/null; then
13519 if test -s conftest.err; then
13520 ac_cpp_err=$ac_c_preproc_warn_flag
13521 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13522 else
13523 ac_cpp_err=
13524 fi
13525 else
13526 ac_cpp_err=yes
13527 fi
13528 if test -z "$ac_cpp_err"; then
13529 ac_header_preproc=yes
13530 else
13531 echo "$as_me: failed program was:" >&5
13532 sed 's/^/| /' conftest.$ac_ext >&5
13533
13534 ac_header_preproc=no
13535 fi
13536 rm -f conftest.err conftest.$ac_ext
13537 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13538 echo "${ECHO_T}$ac_header_preproc" >&6
13539
13540 # So? What about this header?
13541 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13542 yes:no: )
13543 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13544 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13545 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13546 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13547 ac_header_preproc=yes
13548 ;;
13549 no:yes:* )
13550 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13551 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13552 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13553 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13554 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13555 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13556 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13557 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13558 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13559 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13560 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13561 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13562 (
13563 cat <<\_ASBOX
13564 ## ----------------------------------------- ##
13565 ## Report this to wx-dev@lists.wxwidgets.org ##
13566 ## ----------------------------------------- ##
13567 _ASBOX
13568 ) |
13569 sed "s/^/$as_me: WARNING: /" >&2
13570 ;;
13571 esac
13572 echo "$as_me:$LINENO: checking for $ac_header" >&5
13573 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13574 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13575 echo $ECHO_N "(cached) $ECHO_C" >&6
13576 else
13577 eval "$as_ac_Header=\$ac_header_preproc"
13578 fi
13579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13580 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13581
13582 fi
13583 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13584 cat >>confdefs.h <<_ACEOF
13585 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13586 _ACEOF
13587
13588 fi
13589
13590 done
13591
13592 fi
13593
13594
13595 for ac_header in fnmatch.h
13596 do
13597 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13598 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13599 echo "$as_me:$LINENO: checking for $ac_header" >&5
13600 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13601 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13602 echo $ECHO_N "(cached) $ECHO_C" >&6
13603 fi
13604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13605 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13606 else
13607 # Is the header compilable?
13608 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13609 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13610 cat >conftest.$ac_ext <<_ACEOF
13611 /* confdefs.h. */
13612 _ACEOF
13613 cat confdefs.h >>conftest.$ac_ext
13614 cat >>conftest.$ac_ext <<_ACEOF
13615 /* end confdefs.h. */
13616 $ac_includes_default
13617 #include <$ac_header>
13618 _ACEOF
13619 rm -f conftest.$ac_objext
13620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13621 (eval $ac_compile) 2>conftest.er1
13622 ac_status=$?
13623 grep -v '^ *+' conftest.er1 >conftest.err
13624 rm -f conftest.er1
13625 cat conftest.err >&5
13626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13627 (exit $ac_status); } &&
13628 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13630 (eval $ac_try) 2>&5
13631 ac_status=$?
13632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13633 (exit $ac_status); }; } &&
13634 { ac_try='test -s conftest.$ac_objext'
13635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13636 (eval $ac_try) 2>&5
13637 ac_status=$?
13638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13639 (exit $ac_status); }; }; then
13640 ac_header_compiler=yes
13641 else
13642 echo "$as_me: failed program was:" >&5
13643 sed 's/^/| /' conftest.$ac_ext >&5
13644
13645 ac_header_compiler=no
13646 fi
13647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13648 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13649 echo "${ECHO_T}$ac_header_compiler" >&6
13650
13651 # Is the header present?
13652 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13653 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13654 cat >conftest.$ac_ext <<_ACEOF
13655 /* confdefs.h. */
13656 _ACEOF
13657 cat confdefs.h >>conftest.$ac_ext
13658 cat >>conftest.$ac_ext <<_ACEOF
13659 /* end confdefs.h. */
13660 #include <$ac_header>
13661 _ACEOF
13662 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13663 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13664 ac_status=$?
13665 grep -v '^ *+' conftest.er1 >conftest.err
13666 rm -f conftest.er1
13667 cat conftest.err >&5
13668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13669 (exit $ac_status); } >/dev/null; then
13670 if test -s conftest.err; then
13671 ac_cpp_err=$ac_c_preproc_warn_flag
13672 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13673 else
13674 ac_cpp_err=
13675 fi
13676 else
13677 ac_cpp_err=yes
13678 fi
13679 if test -z "$ac_cpp_err"; then
13680 ac_header_preproc=yes
13681 else
13682 echo "$as_me: failed program was:" >&5
13683 sed 's/^/| /' conftest.$ac_ext >&5
13684
13685 ac_header_preproc=no
13686 fi
13687 rm -f conftest.err conftest.$ac_ext
13688 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13689 echo "${ECHO_T}$ac_header_preproc" >&6
13690
13691 # So? What about this header?
13692 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13693 yes:no: )
13694 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13695 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13696 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13697 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13698 ac_header_preproc=yes
13699 ;;
13700 no:yes:* )
13701 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13702 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13703 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13704 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13705 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13706 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13707 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13708 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13709 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13710 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13711 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13712 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13713 (
13714 cat <<\_ASBOX
13715 ## ----------------------------------------- ##
13716 ## Report this to wx-dev@lists.wxwidgets.org ##
13717 ## ----------------------------------------- ##
13718 _ASBOX
13719 ) |
13720 sed "s/^/$as_me: WARNING: /" >&2
13721 ;;
13722 esac
13723 echo "$as_me:$LINENO: checking for $ac_header" >&5
13724 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13725 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13726 echo $ECHO_N "(cached) $ECHO_C" >&6
13727 else
13728 eval "$as_ac_Header=\$ac_header_preproc"
13729 fi
13730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13731 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13732
13733 fi
13734 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13735 cat >>confdefs.h <<_ACEOF
13736 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13737 _ACEOF
13738
13739 fi
13740
13741 done
13742
13743
13744 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13745
13746 for ac_func in fnmatch
13747 do
13748 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13749 echo "$as_me:$LINENO: checking for $ac_func" >&5
13750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13751 if eval "test \"\${$as_ac_var+set}\" = set"; then
13752 echo $ECHO_N "(cached) $ECHO_C" >&6
13753 else
13754 cat >conftest.$ac_ext <<_ACEOF
13755 /* confdefs.h. */
13756 _ACEOF
13757 cat confdefs.h >>conftest.$ac_ext
13758 cat >>conftest.$ac_ext <<_ACEOF
13759 /* end confdefs.h. */
13760 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13761 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13762 #define $ac_func innocuous_$ac_func
13763
13764 /* System header to define __stub macros and hopefully few prototypes,
13765 which can conflict with char $ac_func (); below.
13766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13767 <limits.h> exists even on freestanding compilers. */
13768
13769 #ifdef __STDC__
13770 # include <limits.h>
13771 #else
13772 # include <assert.h>
13773 #endif
13774
13775 #undef $ac_func
13776
13777 /* Override any gcc2 internal prototype to avoid an error. */
13778 #ifdef __cplusplus
13779 extern "C"
13780 {
13781 #endif
13782 /* We use char because int might match the return type of a gcc2
13783 builtin and then its argument prototype would still apply. */
13784 char $ac_func ();
13785 /* The GNU C library defines this for functions which it implements
13786 to always fail with ENOSYS. Some functions are actually named
13787 something starting with __ and the normal name is an alias. */
13788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13789 choke me
13790 #else
13791 char (*f) () = $ac_func;
13792 #endif
13793 #ifdef __cplusplus
13794 }
13795 #endif
13796
13797 int
13798 main ()
13799 {
13800 return f != $ac_func;
13801 ;
13802 return 0;
13803 }
13804 _ACEOF
13805 rm -f conftest.$ac_objext conftest$ac_exeext
13806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13807 (eval $ac_link) 2>conftest.er1
13808 ac_status=$?
13809 grep -v '^ *+' conftest.er1 >conftest.err
13810 rm -f conftest.er1
13811 cat conftest.err >&5
13812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13813 (exit $ac_status); } &&
13814 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13816 (eval $ac_try) 2>&5
13817 ac_status=$?
13818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13819 (exit $ac_status); }; } &&
13820 { ac_try='test -s conftest$ac_exeext'
13821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13822 (eval $ac_try) 2>&5
13823 ac_status=$?
13824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13825 (exit $ac_status); }; }; then
13826 eval "$as_ac_var=yes"
13827 else
13828 echo "$as_me: failed program was:" >&5
13829 sed 's/^/| /' conftest.$ac_ext >&5
13830
13831 eval "$as_ac_var=no"
13832 fi
13833 rm -f conftest.err conftest.$ac_objext \
13834 conftest$ac_exeext conftest.$ac_ext
13835 fi
13836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13837 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13838 if test `eval echo '${'$as_ac_var'}'` = yes; then
13839 cat >>confdefs.h <<_ACEOF
13840 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13841 _ACEOF
13842
13843 fi
13844 done
13845
13846 fi
13847
13848
13849 for ac_header in langinfo.h
13850 do
13851 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13852 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13853 echo "$as_me:$LINENO: checking for $ac_header" >&5
13854 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13855 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13856 echo $ECHO_N "(cached) $ECHO_C" >&6
13857 fi
13858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13859 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13860 else
13861 # Is the header compilable?
13862 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13863 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13864 cat >conftest.$ac_ext <<_ACEOF
13865 /* confdefs.h. */
13866 _ACEOF
13867 cat confdefs.h >>conftest.$ac_ext
13868 cat >>conftest.$ac_ext <<_ACEOF
13869 /* end confdefs.h. */
13870 $ac_includes_default
13871 #include <$ac_header>
13872 _ACEOF
13873 rm -f conftest.$ac_objext
13874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13875 (eval $ac_compile) 2>conftest.er1
13876 ac_status=$?
13877 grep -v '^ *+' conftest.er1 >conftest.err
13878 rm -f conftest.er1
13879 cat conftest.err >&5
13880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13881 (exit $ac_status); } &&
13882 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13884 (eval $ac_try) 2>&5
13885 ac_status=$?
13886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13887 (exit $ac_status); }; } &&
13888 { ac_try='test -s conftest.$ac_objext'
13889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13890 (eval $ac_try) 2>&5
13891 ac_status=$?
13892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13893 (exit $ac_status); }; }; then
13894 ac_header_compiler=yes
13895 else
13896 echo "$as_me: failed program was:" >&5
13897 sed 's/^/| /' conftest.$ac_ext >&5
13898
13899 ac_header_compiler=no
13900 fi
13901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13902 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13903 echo "${ECHO_T}$ac_header_compiler" >&6
13904
13905 # Is the header present?
13906 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13907 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13908 cat >conftest.$ac_ext <<_ACEOF
13909 /* confdefs.h. */
13910 _ACEOF
13911 cat confdefs.h >>conftest.$ac_ext
13912 cat >>conftest.$ac_ext <<_ACEOF
13913 /* end confdefs.h. */
13914 #include <$ac_header>
13915 _ACEOF
13916 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13917 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13918 ac_status=$?
13919 grep -v '^ *+' conftest.er1 >conftest.err
13920 rm -f conftest.er1
13921 cat conftest.err >&5
13922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13923 (exit $ac_status); } >/dev/null; then
13924 if test -s conftest.err; then
13925 ac_cpp_err=$ac_c_preproc_warn_flag
13926 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13927 else
13928 ac_cpp_err=
13929 fi
13930 else
13931 ac_cpp_err=yes
13932 fi
13933 if test -z "$ac_cpp_err"; then
13934 ac_header_preproc=yes
13935 else
13936 echo "$as_me: failed program was:" >&5
13937 sed 's/^/| /' conftest.$ac_ext >&5
13938
13939 ac_header_preproc=no
13940 fi
13941 rm -f conftest.err conftest.$ac_ext
13942 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13943 echo "${ECHO_T}$ac_header_preproc" >&6
13944
13945 # So? What about this header?
13946 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13947 yes:no: )
13948 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13949 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13950 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13951 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13952 ac_header_preproc=yes
13953 ;;
13954 no:yes:* )
13955 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13956 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13957 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13958 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13959 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13960 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13961 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13962 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13963 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13964 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13965 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13966 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13967 (
13968 cat <<\_ASBOX
13969 ## ----------------------------------------- ##
13970 ## Report this to wx-dev@lists.wxwidgets.org ##
13971 ## ----------------------------------------- ##
13972 _ASBOX
13973 ) |
13974 sed "s/^/$as_me: WARNING: /" >&2
13975 ;;
13976 esac
13977 echo "$as_me:$LINENO: checking for $ac_header" >&5
13978 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13979 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13980 echo $ECHO_N "(cached) $ECHO_C" >&6
13981 else
13982 eval "$as_ac_Header=\$ac_header_preproc"
13983 fi
13984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13985 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13986
13987 fi
13988 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13989 cat >>confdefs.h <<_ACEOF
13990 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13991 _ACEOF
13992
13993 fi
13994
13995 done
13996
13997
13998 case "${host}" in
13999 *-pc-os2_emx | *-pc-os2-emx )
14000 if test $ac_cv_header_langinfo_h = "yes"; then
14001 LIBS="$LIBS -lintl"
14002 fi
14003 ;;
14004 esac
14005
14006 if test "$wxUSE_GUI" = "yes"; then
14007 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
14008
14009 for ac_header in X11/Xlib.h
14010 do
14011 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14012 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14013 echo "$as_me:$LINENO: checking for $ac_header" >&5
14014 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14015 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14016 echo $ECHO_N "(cached) $ECHO_C" >&6
14017 fi
14018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14019 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14020 else
14021 # Is the header compilable?
14022 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14023 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14024 cat >conftest.$ac_ext <<_ACEOF
14025 /* confdefs.h. */
14026 _ACEOF
14027 cat confdefs.h >>conftest.$ac_ext
14028 cat >>conftest.$ac_ext <<_ACEOF
14029 /* end confdefs.h. */
14030 $ac_includes_default
14031 #include <$ac_header>
14032 _ACEOF
14033 rm -f conftest.$ac_objext
14034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14035 (eval $ac_compile) 2>conftest.er1
14036 ac_status=$?
14037 grep -v '^ *+' conftest.er1 >conftest.err
14038 rm -f conftest.er1
14039 cat conftest.err >&5
14040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14041 (exit $ac_status); } &&
14042 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14044 (eval $ac_try) 2>&5
14045 ac_status=$?
14046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14047 (exit $ac_status); }; } &&
14048 { ac_try='test -s conftest.$ac_objext'
14049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14050 (eval $ac_try) 2>&5
14051 ac_status=$?
14052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14053 (exit $ac_status); }; }; then
14054 ac_header_compiler=yes
14055 else
14056 echo "$as_me: failed program was:" >&5
14057 sed 's/^/| /' conftest.$ac_ext >&5
14058
14059 ac_header_compiler=no
14060 fi
14061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14062 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14063 echo "${ECHO_T}$ac_header_compiler" >&6
14064
14065 # Is the header present?
14066 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14067 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14068 cat >conftest.$ac_ext <<_ACEOF
14069 /* confdefs.h. */
14070 _ACEOF
14071 cat confdefs.h >>conftest.$ac_ext
14072 cat >>conftest.$ac_ext <<_ACEOF
14073 /* end confdefs.h. */
14074 #include <$ac_header>
14075 _ACEOF
14076 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14077 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14078 ac_status=$?
14079 grep -v '^ *+' conftest.er1 >conftest.err
14080 rm -f conftest.er1
14081 cat conftest.err >&5
14082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14083 (exit $ac_status); } >/dev/null; then
14084 if test -s conftest.err; then
14085 ac_cpp_err=$ac_c_preproc_warn_flag
14086 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14087 else
14088 ac_cpp_err=
14089 fi
14090 else
14091 ac_cpp_err=yes
14092 fi
14093 if test -z "$ac_cpp_err"; then
14094 ac_header_preproc=yes
14095 else
14096 echo "$as_me: failed program was:" >&5
14097 sed 's/^/| /' conftest.$ac_ext >&5
14098
14099 ac_header_preproc=no
14100 fi
14101 rm -f conftest.err conftest.$ac_ext
14102 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14103 echo "${ECHO_T}$ac_header_preproc" >&6
14104
14105 # So? What about this header?
14106 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14107 yes:no: )
14108 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14109 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14110 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14111 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14112 ac_header_preproc=yes
14113 ;;
14114 no:yes:* )
14115 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14116 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14117 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14118 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14119 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14120 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14121 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14122 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14123 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14124 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14125 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14126 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14127 (
14128 cat <<\_ASBOX
14129 ## ----------------------------------------- ##
14130 ## Report this to wx-dev@lists.wxwidgets.org ##
14131 ## ----------------------------------------- ##
14132 _ASBOX
14133 ) |
14134 sed "s/^/$as_me: WARNING: /" >&2
14135 ;;
14136 esac
14137 echo "$as_me:$LINENO: checking for $ac_header" >&5
14138 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14140 echo $ECHO_N "(cached) $ECHO_C" >&6
14141 else
14142 eval "$as_ac_Header=\$ac_header_preproc"
14143 fi
14144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14145 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14146
14147 fi
14148 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14149 cat >>confdefs.h <<_ACEOF
14150 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14151 _ACEOF
14152
14153 fi
14154
14155 done
14156
14157
14158 for ac_header in X11/XKBlib.h
14159 do
14160 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14161 echo "$as_me:$LINENO: checking for $ac_header" >&5
14162 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14163 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14164 echo $ECHO_N "(cached) $ECHO_C" >&6
14165 else
14166 cat >conftest.$ac_ext <<_ACEOF
14167 /* confdefs.h. */
14168 _ACEOF
14169 cat confdefs.h >>conftest.$ac_ext
14170 cat >>conftest.$ac_ext <<_ACEOF
14171 /* end confdefs.h. */
14172
14173 #if HAVE_X11_XLIB_H
14174 #include <X11/Xlib.h>
14175 #endif
14176
14177
14178 #include <$ac_header>
14179 _ACEOF
14180 rm -f conftest.$ac_objext
14181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14182 (eval $ac_compile) 2>conftest.er1
14183 ac_status=$?
14184 grep -v '^ *+' conftest.er1 >conftest.err
14185 rm -f conftest.er1
14186 cat conftest.err >&5
14187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14188 (exit $ac_status); } &&
14189 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14191 (eval $ac_try) 2>&5
14192 ac_status=$?
14193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14194 (exit $ac_status); }; } &&
14195 { ac_try='test -s conftest.$ac_objext'
14196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14197 (eval $ac_try) 2>&5
14198 ac_status=$?
14199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14200 (exit $ac_status); }; }; then
14201 eval "$as_ac_Header=yes"
14202 else
14203 echo "$as_me: failed program was:" >&5
14204 sed 's/^/| /' conftest.$ac_ext >&5
14205
14206 eval "$as_ac_Header=no"
14207 fi
14208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14209 fi
14210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14211 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14212 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14213 cat >>confdefs.h <<_ACEOF
14214 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14215 _ACEOF
14216
14217 fi
14218
14219 done
14220
14221 fi
14222 fi
14223
14224
14225 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14226 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14227 if test "${ac_cv_c_const+set}" = set; then
14228 echo $ECHO_N "(cached) $ECHO_C" >&6
14229 else
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
14237 int
14238 main ()
14239 {
14240 /* FIXME: Include the comments suggested by Paul. */
14241 #ifndef __cplusplus
14242 /* Ultrix mips cc rejects this. */
14243 typedef int charset[2];
14244 const charset x;
14245 /* SunOS 4.1.1 cc rejects this. */
14246 char const *const *ccp;
14247 char **p;
14248 /* NEC SVR4.0.2 mips cc rejects this. */
14249 struct point {int x, y;};
14250 static struct point const zero = {0,0};
14251 /* AIX XL C 1.02.0.0 rejects this.
14252 It does not let you subtract one const X* pointer from another in
14253 an arm of an if-expression whose if-part is not a constant
14254 expression */
14255 const char *g = "string";
14256 ccp = &g + (g ? g-g : 0);
14257 /* HPUX 7.0 cc rejects these. */
14258 ++ccp;
14259 p = (char**) ccp;
14260 ccp = (char const *const *) p;
14261 { /* SCO 3.2v4 cc rejects this. */
14262 char *t;
14263 char const *s = 0 ? (char *) 0 : (char const *) 0;
14264
14265 *t++ = 0;
14266 }
14267 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14268 int x[] = {25, 17};
14269 const int *foo = &x[0];
14270 ++foo;
14271 }
14272 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14273 typedef const int *iptr;
14274 iptr p = 0;
14275 ++p;
14276 }
14277 { /* AIX XL C 1.02.0.0 rejects this saying
14278 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14279 struct s { int j; const int *ap[3]; };
14280 struct s *b; b->j = 5;
14281 }
14282 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14283 const int foo = 10;
14284 }
14285 #endif
14286
14287 ;
14288 return 0;
14289 }
14290 _ACEOF
14291 rm -f conftest.$ac_objext
14292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14293 (eval $ac_compile) 2>conftest.er1
14294 ac_status=$?
14295 grep -v '^ *+' conftest.er1 >conftest.err
14296 rm -f conftest.er1
14297 cat conftest.err >&5
14298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14299 (exit $ac_status); } &&
14300 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14302 (eval $ac_try) 2>&5
14303 ac_status=$?
14304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14305 (exit $ac_status); }; } &&
14306 { ac_try='test -s conftest.$ac_objext'
14307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14308 (eval $ac_try) 2>&5
14309 ac_status=$?
14310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14311 (exit $ac_status); }; }; then
14312 ac_cv_c_const=yes
14313 else
14314 echo "$as_me: failed program was:" >&5
14315 sed 's/^/| /' conftest.$ac_ext >&5
14316
14317 ac_cv_c_const=no
14318 fi
14319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14320 fi
14321 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14322 echo "${ECHO_T}$ac_cv_c_const" >&6
14323 if test $ac_cv_c_const = no; then
14324
14325 cat >>confdefs.h <<\_ACEOF
14326 #define const
14327 _ACEOF
14328
14329 fi
14330
14331 echo "$as_me:$LINENO: checking for inline" >&5
14332 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14333 if test "${ac_cv_c_inline+set}" = set; then
14334 echo $ECHO_N "(cached) $ECHO_C" >&6
14335 else
14336 ac_cv_c_inline=no
14337 for ac_kw in inline __inline__ __inline; do
14338 cat >conftest.$ac_ext <<_ACEOF
14339 /* confdefs.h. */
14340 _ACEOF
14341 cat confdefs.h >>conftest.$ac_ext
14342 cat >>conftest.$ac_ext <<_ACEOF
14343 /* end confdefs.h. */
14344 #ifndef __cplusplus
14345 typedef int foo_t;
14346 static $ac_kw foo_t static_foo () {return 0; }
14347 $ac_kw foo_t foo () {return 0; }
14348 #endif
14349
14350 _ACEOF
14351 rm -f conftest.$ac_objext
14352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14353 (eval $ac_compile) 2>conftest.er1
14354 ac_status=$?
14355 grep -v '^ *+' conftest.er1 >conftest.err
14356 rm -f conftest.er1
14357 cat conftest.err >&5
14358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14359 (exit $ac_status); } &&
14360 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14362 (eval $ac_try) 2>&5
14363 ac_status=$?
14364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14365 (exit $ac_status); }; } &&
14366 { ac_try='test -s conftest.$ac_objext'
14367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14368 (eval $ac_try) 2>&5
14369 ac_status=$?
14370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14371 (exit $ac_status); }; }; then
14372 ac_cv_c_inline=$ac_kw; break
14373 else
14374 echo "$as_me: failed program was:" >&5
14375 sed 's/^/| /' conftest.$ac_ext >&5
14376
14377 fi
14378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14379 done
14380
14381 fi
14382 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14383 echo "${ECHO_T}$ac_cv_c_inline" >&6
14384
14385
14386 case $ac_cv_c_inline in
14387 inline | yes) ;;
14388 *)
14389 case $ac_cv_c_inline in
14390 no) ac_val=;;
14391 *) ac_val=$ac_cv_c_inline;;
14392 esac
14393 cat >>confdefs.h <<_ACEOF
14394 #ifndef __cplusplus
14395 #define inline $ac_val
14396 #endif
14397 _ACEOF
14398 ;;
14399 esac
14400
14401
14402 echo "$as_me:$LINENO: checking for char" >&5
14403 echo $ECHO_N "checking for char... $ECHO_C" >&6
14404 if test "${ac_cv_type_char+set}" = set; then
14405 echo $ECHO_N "(cached) $ECHO_C" >&6
14406 else
14407 cat >conftest.$ac_ext <<_ACEOF
14408 /* confdefs.h. */
14409 _ACEOF
14410 cat confdefs.h >>conftest.$ac_ext
14411 cat >>conftest.$ac_ext <<_ACEOF
14412 /* end confdefs.h. */
14413 $ac_includes_default
14414 int
14415 main ()
14416 {
14417 if ((char *) 0)
14418 return 0;
14419 if (sizeof (char))
14420 return 0;
14421 ;
14422 return 0;
14423 }
14424 _ACEOF
14425 rm -f conftest.$ac_objext
14426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14427 (eval $ac_compile) 2>conftest.er1
14428 ac_status=$?
14429 grep -v '^ *+' conftest.er1 >conftest.err
14430 rm -f conftest.er1
14431 cat conftest.err >&5
14432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14433 (exit $ac_status); } &&
14434 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
14440 { ac_try='test -s conftest.$ac_objext'
14441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14442 (eval $ac_try) 2>&5
14443 ac_status=$?
14444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14445 (exit $ac_status); }; }; then
14446 ac_cv_type_char=yes
14447 else
14448 echo "$as_me: failed program was:" >&5
14449 sed 's/^/| /' conftest.$ac_ext >&5
14450
14451 ac_cv_type_char=no
14452 fi
14453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14454 fi
14455 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14456 echo "${ECHO_T}$ac_cv_type_char" >&6
14457
14458 echo "$as_me:$LINENO: checking size of char" >&5
14459 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14460 if test "${ac_cv_sizeof_char+set}" = set; then
14461 echo $ECHO_N "(cached) $ECHO_C" >&6
14462 else
14463 if test "$ac_cv_type_char" = yes; then
14464 # The cast to unsigned long works around a bug in the HP C Compiler
14465 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14466 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14467 # This bug is HP SR number 8606223364.
14468 if test "$cross_compiling" = yes; then
14469 # Depending upon the size, compute the lo and hi bounds.
14470 cat >conftest.$ac_ext <<_ACEOF
14471 /* confdefs.h. */
14472 _ACEOF
14473 cat confdefs.h >>conftest.$ac_ext
14474 cat >>conftest.$ac_ext <<_ACEOF
14475 /* end confdefs.h. */
14476 $ac_includes_default
14477 int
14478 main ()
14479 {
14480 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14481 test_array [0] = 0
14482
14483 ;
14484 return 0;
14485 }
14486 _ACEOF
14487 rm -f conftest.$ac_objext
14488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14489 (eval $ac_compile) 2>conftest.er1
14490 ac_status=$?
14491 grep -v '^ *+' conftest.er1 >conftest.err
14492 rm -f conftest.er1
14493 cat conftest.err >&5
14494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14495 (exit $ac_status); } &&
14496 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14498 (eval $ac_try) 2>&5
14499 ac_status=$?
14500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14501 (exit $ac_status); }; } &&
14502 { ac_try='test -s conftest.$ac_objext'
14503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14504 (eval $ac_try) 2>&5
14505 ac_status=$?
14506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14507 (exit $ac_status); }; }; then
14508 ac_lo=0 ac_mid=0
14509 while :; do
14510 cat >conftest.$ac_ext <<_ACEOF
14511 /* confdefs.h. */
14512 _ACEOF
14513 cat confdefs.h >>conftest.$ac_ext
14514 cat >>conftest.$ac_ext <<_ACEOF
14515 /* end confdefs.h. */
14516 $ac_includes_default
14517 int
14518 main ()
14519 {
14520 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14521 test_array [0] = 0
14522
14523 ;
14524 return 0;
14525 }
14526 _ACEOF
14527 rm -f conftest.$ac_objext
14528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14529 (eval $ac_compile) 2>conftest.er1
14530 ac_status=$?
14531 grep -v '^ *+' conftest.er1 >conftest.err
14532 rm -f conftest.er1
14533 cat conftest.err >&5
14534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14535 (exit $ac_status); } &&
14536 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14538 (eval $ac_try) 2>&5
14539 ac_status=$?
14540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14541 (exit $ac_status); }; } &&
14542 { ac_try='test -s conftest.$ac_objext'
14543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14544 (eval $ac_try) 2>&5
14545 ac_status=$?
14546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14547 (exit $ac_status); }; }; then
14548 ac_hi=$ac_mid; break
14549 else
14550 echo "$as_me: failed program was:" >&5
14551 sed 's/^/| /' conftest.$ac_ext >&5
14552
14553 ac_lo=`expr $ac_mid + 1`
14554 if test $ac_lo -le $ac_mid; then
14555 ac_lo= ac_hi=
14556 break
14557 fi
14558 ac_mid=`expr 2 '*' $ac_mid + 1`
14559 fi
14560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14561 done
14562 else
14563 echo "$as_me: failed program was:" >&5
14564 sed 's/^/| /' conftest.$ac_ext >&5
14565
14566 cat >conftest.$ac_ext <<_ACEOF
14567 /* confdefs.h. */
14568 _ACEOF
14569 cat confdefs.h >>conftest.$ac_ext
14570 cat >>conftest.$ac_ext <<_ACEOF
14571 /* end confdefs.h. */
14572 $ac_includes_default
14573 int
14574 main ()
14575 {
14576 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14577 test_array [0] = 0
14578
14579 ;
14580 return 0;
14581 }
14582 _ACEOF
14583 rm -f conftest.$ac_objext
14584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14585 (eval $ac_compile) 2>conftest.er1
14586 ac_status=$?
14587 grep -v '^ *+' conftest.er1 >conftest.err
14588 rm -f conftest.er1
14589 cat conftest.err >&5
14590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14591 (exit $ac_status); } &&
14592 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14594 (eval $ac_try) 2>&5
14595 ac_status=$?
14596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14597 (exit $ac_status); }; } &&
14598 { ac_try='test -s conftest.$ac_objext'
14599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14600 (eval $ac_try) 2>&5
14601 ac_status=$?
14602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14603 (exit $ac_status); }; }; then
14604 ac_hi=-1 ac_mid=-1
14605 while :; do
14606 cat >conftest.$ac_ext <<_ACEOF
14607 /* confdefs.h. */
14608 _ACEOF
14609 cat confdefs.h >>conftest.$ac_ext
14610 cat >>conftest.$ac_ext <<_ACEOF
14611 /* end confdefs.h. */
14612 $ac_includes_default
14613 int
14614 main ()
14615 {
14616 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14617 test_array [0] = 0
14618
14619 ;
14620 return 0;
14621 }
14622 _ACEOF
14623 rm -f conftest.$ac_objext
14624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14625 (eval $ac_compile) 2>conftest.er1
14626 ac_status=$?
14627 grep -v '^ *+' conftest.er1 >conftest.err
14628 rm -f conftest.er1
14629 cat conftest.err >&5
14630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14631 (exit $ac_status); } &&
14632 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14634 (eval $ac_try) 2>&5
14635 ac_status=$?
14636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14637 (exit $ac_status); }; } &&
14638 { ac_try='test -s conftest.$ac_objext'
14639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14640 (eval $ac_try) 2>&5
14641 ac_status=$?
14642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14643 (exit $ac_status); }; }; then
14644 ac_lo=$ac_mid; break
14645 else
14646 echo "$as_me: failed program was:" >&5
14647 sed 's/^/| /' conftest.$ac_ext >&5
14648
14649 ac_hi=`expr '(' $ac_mid ')' - 1`
14650 if test $ac_mid -le $ac_hi; then
14651 ac_lo= ac_hi=
14652 break
14653 fi
14654 ac_mid=`expr 2 '*' $ac_mid`
14655 fi
14656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14657 done
14658 else
14659 echo "$as_me: failed program was:" >&5
14660 sed 's/^/| /' conftest.$ac_ext >&5
14661
14662 ac_lo= ac_hi=
14663 fi
14664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14665 fi
14666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14667 # Binary search between lo and hi bounds.
14668 while test "x$ac_lo" != "x$ac_hi"; do
14669 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14670 cat >conftest.$ac_ext <<_ACEOF
14671 /* confdefs.h. */
14672 _ACEOF
14673 cat confdefs.h >>conftest.$ac_ext
14674 cat >>conftest.$ac_ext <<_ACEOF
14675 /* end confdefs.h. */
14676 $ac_includes_default
14677 int
14678 main ()
14679 {
14680 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14681 test_array [0] = 0
14682
14683 ;
14684 return 0;
14685 }
14686 _ACEOF
14687 rm -f conftest.$ac_objext
14688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14689 (eval $ac_compile) 2>conftest.er1
14690 ac_status=$?
14691 grep -v '^ *+' conftest.er1 >conftest.err
14692 rm -f conftest.er1
14693 cat conftest.err >&5
14694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14695 (exit $ac_status); } &&
14696 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14698 (eval $ac_try) 2>&5
14699 ac_status=$?
14700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14701 (exit $ac_status); }; } &&
14702 { ac_try='test -s conftest.$ac_objext'
14703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14704 (eval $ac_try) 2>&5
14705 ac_status=$?
14706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14707 (exit $ac_status); }; }; then
14708 ac_hi=$ac_mid
14709 else
14710 echo "$as_me: failed program was:" >&5
14711 sed 's/^/| /' conftest.$ac_ext >&5
14712
14713 ac_lo=`expr '(' $ac_mid ')' + 1`
14714 fi
14715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14716 done
14717 case $ac_lo in
14718 ?*) ac_cv_sizeof_char=$ac_lo;;
14719 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14720 See \`config.log' for more details." >&5
14721 echo "$as_me: error: cannot compute sizeof (char), 77
14722 See \`config.log' for more details." >&2;}
14723 { (exit 1); exit 1; }; } ;;
14724 esac
14725 else
14726 if test "$cross_compiling" = yes; then
14727 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
14728 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
14729 { (exit 1); exit 1; }; }
14730 else
14731 cat >conftest.$ac_ext <<_ACEOF
14732 /* confdefs.h. */
14733 _ACEOF
14734 cat confdefs.h >>conftest.$ac_ext
14735 cat >>conftest.$ac_ext <<_ACEOF
14736 /* end confdefs.h. */
14737 $ac_includes_default
14738 long longval () { return (long) (sizeof (char)); }
14739 unsigned long ulongval () { return (long) (sizeof (char)); }
14740 #include <stdio.h>
14741 #include <stdlib.h>
14742 int
14743 main ()
14744 {
14745
14746 FILE *f = fopen ("conftest.val", "w");
14747 if (! f)
14748 exit (1);
14749 if (((long) (sizeof (char))) < 0)
14750 {
14751 long i = longval ();
14752 if (i != ((long) (sizeof (char))))
14753 exit (1);
14754 fprintf (f, "%ld\n", i);
14755 }
14756 else
14757 {
14758 unsigned long i = ulongval ();
14759 if (i != ((long) (sizeof (char))))
14760 exit (1);
14761 fprintf (f, "%lu\n", i);
14762 }
14763 exit (ferror (f) || fclose (f) != 0);
14764
14765 ;
14766 return 0;
14767 }
14768 _ACEOF
14769 rm -f conftest$ac_exeext
14770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14771 (eval $ac_link) 2>&5
14772 ac_status=$?
14773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14774 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14776 (eval $ac_try) 2>&5
14777 ac_status=$?
14778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14779 (exit $ac_status); }; }; then
14780 ac_cv_sizeof_char=`cat conftest.val`
14781 else
14782 echo "$as_me: program exited with status $ac_status" >&5
14783 echo "$as_me: failed program was:" >&5
14784 sed 's/^/| /' conftest.$ac_ext >&5
14785
14786 ( exit $ac_status )
14787 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14788 See \`config.log' for more details." >&5
14789 echo "$as_me: error: cannot compute sizeof (char), 77
14790 See \`config.log' for more details." >&2;}
14791 { (exit 1); exit 1; }; }
14792 fi
14793 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14794 fi
14795 fi
14796 rm -f conftest.val
14797 else
14798 ac_cv_sizeof_char=0
14799 fi
14800 fi
14801 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14802 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14803 cat >>confdefs.h <<_ACEOF
14804 #define SIZEOF_CHAR $ac_cv_sizeof_char
14805 _ACEOF
14806
14807
14808 echo "$as_me:$LINENO: checking for short" >&5
14809 echo $ECHO_N "checking for short... $ECHO_C" >&6
14810 if test "${ac_cv_type_short+set}" = set; then
14811 echo $ECHO_N "(cached) $ECHO_C" >&6
14812 else
14813 cat >conftest.$ac_ext <<_ACEOF
14814 /* confdefs.h. */
14815 _ACEOF
14816 cat confdefs.h >>conftest.$ac_ext
14817 cat >>conftest.$ac_ext <<_ACEOF
14818 /* end confdefs.h. */
14819 $ac_includes_default
14820 int
14821 main ()
14822 {
14823 if ((short *) 0)
14824 return 0;
14825 if (sizeof (short))
14826 return 0;
14827 ;
14828 return 0;
14829 }
14830 _ACEOF
14831 rm -f conftest.$ac_objext
14832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14833 (eval $ac_compile) 2>conftest.er1
14834 ac_status=$?
14835 grep -v '^ *+' conftest.er1 >conftest.err
14836 rm -f conftest.er1
14837 cat conftest.err >&5
14838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14839 (exit $ac_status); } &&
14840 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
14846 { ac_try='test -s conftest.$ac_objext'
14847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14848 (eval $ac_try) 2>&5
14849 ac_status=$?
14850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14851 (exit $ac_status); }; }; then
14852 ac_cv_type_short=yes
14853 else
14854 echo "$as_me: failed program was:" >&5
14855 sed 's/^/| /' conftest.$ac_ext >&5
14856
14857 ac_cv_type_short=no
14858 fi
14859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14860 fi
14861 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14862 echo "${ECHO_T}$ac_cv_type_short" >&6
14863
14864 echo "$as_me:$LINENO: checking size of short" >&5
14865 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14866 if test "${ac_cv_sizeof_short+set}" = set; then
14867 echo $ECHO_N "(cached) $ECHO_C" >&6
14868 else
14869 if test "$ac_cv_type_short" = yes; then
14870 # The cast to unsigned long works around a bug in the HP C Compiler
14871 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14872 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14873 # This bug is HP SR number 8606223364.
14874 if test "$cross_compiling" = yes; then
14875 # Depending upon the size, compute the lo and hi bounds.
14876 cat >conftest.$ac_ext <<_ACEOF
14877 /* confdefs.h. */
14878 _ACEOF
14879 cat confdefs.h >>conftest.$ac_ext
14880 cat >>conftest.$ac_ext <<_ACEOF
14881 /* end confdefs.h. */
14882 $ac_includes_default
14883 int
14884 main ()
14885 {
14886 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14887 test_array [0] = 0
14888
14889 ;
14890 return 0;
14891 }
14892 _ACEOF
14893 rm -f conftest.$ac_objext
14894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14895 (eval $ac_compile) 2>conftest.er1
14896 ac_status=$?
14897 grep -v '^ *+' conftest.er1 >conftest.err
14898 rm -f conftest.er1
14899 cat conftest.err >&5
14900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14901 (exit $ac_status); } &&
14902 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14904 (eval $ac_try) 2>&5
14905 ac_status=$?
14906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14907 (exit $ac_status); }; } &&
14908 { ac_try='test -s conftest.$ac_objext'
14909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14910 (eval $ac_try) 2>&5
14911 ac_status=$?
14912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14913 (exit $ac_status); }; }; then
14914 ac_lo=0 ac_mid=0
14915 while :; do
14916 cat >conftest.$ac_ext <<_ACEOF
14917 /* confdefs.h. */
14918 _ACEOF
14919 cat confdefs.h >>conftest.$ac_ext
14920 cat >>conftest.$ac_ext <<_ACEOF
14921 /* end confdefs.h. */
14922 $ac_includes_default
14923 int
14924 main ()
14925 {
14926 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14927 test_array [0] = 0
14928
14929 ;
14930 return 0;
14931 }
14932 _ACEOF
14933 rm -f conftest.$ac_objext
14934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14935 (eval $ac_compile) 2>conftest.er1
14936 ac_status=$?
14937 grep -v '^ *+' conftest.er1 >conftest.err
14938 rm -f conftest.er1
14939 cat conftest.err >&5
14940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14941 (exit $ac_status); } &&
14942 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14944 (eval $ac_try) 2>&5
14945 ac_status=$?
14946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14947 (exit $ac_status); }; } &&
14948 { ac_try='test -s conftest.$ac_objext'
14949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14950 (eval $ac_try) 2>&5
14951 ac_status=$?
14952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14953 (exit $ac_status); }; }; then
14954 ac_hi=$ac_mid; break
14955 else
14956 echo "$as_me: failed program was:" >&5
14957 sed 's/^/| /' conftest.$ac_ext >&5
14958
14959 ac_lo=`expr $ac_mid + 1`
14960 if test $ac_lo -le $ac_mid; then
14961 ac_lo= ac_hi=
14962 break
14963 fi
14964 ac_mid=`expr 2 '*' $ac_mid + 1`
14965 fi
14966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14967 done
14968 else
14969 echo "$as_me: failed program was:" >&5
14970 sed 's/^/| /' conftest.$ac_ext >&5
14971
14972 cat >conftest.$ac_ext <<_ACEOF
14973 /* confdefs.h. */
14974 _ACEOF
14975 cat confdefs.h >>conftest.$ac_ext
14976 cat >>conftest.$ac_ext <<_ACEOF
14977 /* end confdefs.h. */
14978 $ac_includes_default
14979 int
14980 main ()
14981 {
14982 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14983 test_array [0] = 0
14984
14985 ;
14986 return 0;
14987 }
14988 _ACEOF
14989 rm -f conftest.$ac_objext
14990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14991 (eval $ac_compile) 2>conftest.er1
14992 ac_status=$?
14993 grep -v '^ *+' conftest.er1 >conftest.err
14994 rm -f conftest.er1
14995 cat conftest.err >&5
14996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14997 (exit $ac_status); } &&
14998 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15000 (eval $ac_try) 2>&5
15001 ac_status=$?
15002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15003 (exit $ac_status); }; } &&
15004 { ac_try='test -s conftest.$ac_objext'
15005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15006 (eval $ac_try) 2>&5
15007 ac_status=$?
15008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15009 (exit $ac_status); }; }; then
15010 ac_hi=-1 ac_mid=-1
15011 while :; do
15012 cat >conftest.$ac_ext <<_ACEOF
15013 /* confdefs.h. */
15014 _ACEOF
15015 cat confdefs.h >>conftest.$ac_ext
15016 cat >>conftest.$ac_ext <<_ACEOF
15017 /* end confdefs.h. */
15018 $ac_includes_default
15019 int
15020 main ()
15021 {
15022 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
15023 test_array [0] = 0
15024
15025 ;
15026 return 0;
15027 }
15028 _ACEOF
15029 rm -f conftest.$ac_objext
15030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15031 (eval $ac_compile) 2>conftest.er1
15032 ac_status=$?
15033 grep -v '^ *+' conftest.er1 >conftest.err
15034 rm -f conftest.er1
15035 cat conftest.err >&5
15036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15037 (exit $ac_status); } &&
15038 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15040 (eval $ac_try) 2>&5
15041 ac_status=$?
15042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15043 (exit $ac_status); }; } &&
15044 { ac_try='test -s conftest.$ac_objext'
15045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15046 (eval $ac_try) 2>&5
15047 ac_status=$?
15048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15049 (exit $ac_status); }; }; then
15050 ac_lo=$ac_mid; break
15051 else
15052 echo "$as_me: failed program was:" >&5
15053 sed 's/^/| /' conftest.$ac_ext >&5
15054
15055 ac_hi=`expr '(' $ac_mid ')' - 1`
15056 if test $ac_mid -le $ac_hi; then
15057 ac_lo= ac_hi=
15058 break
15059 fi
15060 ac_mid=`expr 2 '*' $ac_mid`
15061 fi
15062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15063 done
15064 else
15065 echo "$as_me: failed program was:" >&5
15066 sed 's/^/| /' conftest.$ac_ext >&5
15067
15068 ac_lo= ac_hi=
15069 fi
15070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15071 fi
15072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15073 # Binary search between lo and hi bounds.
15074 while test "x$ac_lo" != "x$ac_hi"; do
15075 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15076 cat >conftest.$ac_ext <<_ACEOF
15077 /* confdefs.h. */
15078 _ACEOF
15079 cat confdefs.h >>conftest.$ac_ext
15080 cat >>conftest.$ac_ext <<_ACEOF
15081 /* end confdefs.h. */
15082 $ac_includes_default
15083 int
15084 main ()
15085 {
15086 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15087 test_array [0] = 0
15088
15089 ;
15090 return 0;
15091 }
15092 _ACEOF
15093 rm -f conftest.$ac_objext
15094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15095 (eval $ac_compile) 2>conftest.er1
15096 ac_status=$?
15097 grep -v '^ *+' conftest.er1 >conftest.err
15098 rm -f conftest.er1
15099 cat conftest.err >&5
15100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15101 (exit $ac_status); } &&
15102 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15104 (eval $ac_try) 2>&5
15105 ac_status=$?
15106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15107 (exit $ac_status); }; } &&
15108 { ac_try='test -s conftest.$ac_objext'
15109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15110 (eval $ac_try) 2>&5
15111 ac_status=$?
15112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15113 (exit $ac_status); }; }; then
15114 ac_hi=$ac_mid
15115 else
15116 echo "$as_me: failed program was:" >&5
15117 sed 's/^/| /' conftest.$ac_ext >&5
15118
15119 ac_lo=`expr '(' $ac_mid ')' + 1`
15120 fi
15121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15122 done
15123 case $ac_lo in
15124 ?*) ac_cv_sizeof_short=$ac_lo;;
15125 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15126 See \`config.log' for more details." >&5
15127 echo "$as_me: error: cannot compute sizeof (short), 77
15128 See \`config.log' for more details." >&2;}
15129 { (exit 1); exit 1; }; } ;;
15130 esac
15131 else
15132 if test "$cross_compiling" = yes; then
15133 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15134 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15135 { (exit 1); exit 1; }; }
15136 else
15137 cat >conftest.$ac_ext <<_ACEOF
15138 /* confdefs.h. */
15139 _ACEOF
15140 cat confdefs.h >>conftest.$ac_ext
15141 cat >>conftest.$ac_ext <<_ACEOF
15142 /* end confdefs.h. */
15143 $ac_includes_default
15144 long longval () { return (long) (sizeof (short)); }
15145 unsigned long ulongval () { return (long) (sizeof (short)); }
15146 #include <stdio.h>
15147 #include <stdlib.h>
15148 int
15149 main ()
15150 {
15151
15152 FILE *f = fopen ("conftest.val", "w");
15153 if (! f)
15154 exit (1);
15155 if (((long) (sizeof (short))) < 0)
15156 {
15157 long i = longval ();
15158 if (i != ((long) (sizeof (short))))
15159 exit (1);
15160 fprintf (f, "%ld\n", i);
15161 }
15162 else
15163 {
15164 unsigned long i = ulongval ();
15165 if (i != ((long) (sizeof (short))))
15166 exit (1);
15167 fprintf (f, "%lu\n", i);
15168 }
15169 exit (ferror (f) || fclose (f) != 0);
15170
15171 ;
15172 return 0;
15173 }
15174 _ACEOF
15175 rm -f conftest$ac_exeext
15176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15177 (eval $ac_link) 2>&5
15178 ac_status=$?
15179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15180 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15182 (eval $ac_try) 2>&5
15183 ac_status=$?
15184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15185 (exit $ac_status); }; }; then
15186 ac_cv_sizeof_short=`cat conftest.val`
15187 else
15188 echo "$as_me: program exited with status $ac_status" >&5
15189 echo "$as_me: failed program was:" >&5
15190 sed 's/^/| /' conftest.$ac_ext >&5
15191
15192 ( exit $ac_status )
15193 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15194 See \`config.log' for more details." >&5
15195 echo "$as_me: error: cannot compute sizeof (short), 77
15196 See \`config.log' for more details." >&2;}
15197 { (exit 1); exit 1; }; }
15198 fi
15199 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15200 fi
15201 fi
15202 rm -f conftest.val
15203 else
15204 ac_cv_sizeof_short=0
15205 fi
15206 fi
15207 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15208 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15209 cat >>confdefs.h <<_ACEOF
15210 #define SIZEOF_SHORT $ac_cv_sizeof_short
15211 _ACEOF
15212
15213
15214 echo "$as_me:$LINENO: checking for void *" >&5
15215 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15216 if test "${ac_cv_type_void_p+set}" = set; then
15217 echo $ECHO_N "(cached) $ECHO_C" >&6
15218 else
15219 cat >conftest.$ac_ext <<_ACEOF
15220 /* confdefs.h. */
15221 _ACEOF
15222 cat confdefs.h >>conftest.$ac_ext
15223 cat >>conftest.$ac_ext <<_ACEOF
15224 /* end confdefs.h. */
15225 $ac_includes_default
15226 int
15227 main ()
15228 {
15229 if ((void * *) 0)
15230 return 0;
15231 if (sizeof (void *))
15232 return 0;
15233 ;
15234 return 0;
15235 }
15236 _ACEOF
15237 rm -f conftest.$ac_objext
15238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15239 (eval $ac_compile) 2>conftest.er1
15240 ac_status=$?
15241 grep -v '^ *+' conftest.er1 >conftest.err
15242 rm -f conftest.er1
15243 cat conftest.err >&5
15244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15245 (exit $ac_status); } &&
15246 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
15252 { ac_try='test -s conftest.$ac_objext'
15253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15254 (eval $ac_try) 2>&5
15255 ac_status=$?
15256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15257 (exit $ac_status); }; }; then
15258 ac_cv_type_void_p=yes
15259 else
15260 echo "$as_me: failed program was:" >&5
15261 sed 's/^/| /' conftest.$ac_ext >&5
15262
15263 ac_cv_type_void_p=no
15264 fi
15265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15266 fi
15267 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15268 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15269
15270 echo "$as_me:$LINENO: checking size of void *" >&5
15271 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15272 if test "${ac_cv_sizeof_void_p+set}" = set; then
15273 echo $ECHO_N "(cached) $ECHO_C" >&6
15274 else
15275 if test "$ac_cv_type_void_p" = yes; then
15276 # The cast to unsigned long works around a bug in the HP C Compiler
15277 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15278 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15279 # This bug is HP SR number 8606223364.
15280 if test "$cross_compiling" = yes; then
15281 # Depending upon the size, compute the lo and hi bounds.
15282 cat >conftest.$ac_ext <<_ACEOF
15283 /* confdefs.h. */
15284 _ACEOF
15285 cat confdefs.h >>conftest.$ac_ext
15286 cat >>conftest.$ac_ext <<_ACEOF
15287 /* end confdefs.h. */
15288 $ac_includes_default
15289 int
15290 main ()
15291 {
15292 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15293 test_array [0] = 0
15294
15295 ;
15296 return 0;
15297 }
15298 _ACEOF
15299 rm -f conftest.$ac_objext
15300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15301 (eval $ac_compile) 2>conftest.er1
15302 ac_status=$?
15303 grep -v '^ *+' conftest.er1 >conftest.err
15304 rm -f conftest.er1
15305 cat conftest.err >&5
15306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15307 (exit $ac_status); } &&
15308 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15310 (eval $ac_try) 2>&5
15311 ac_status=$?
15312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15313 (exit $ac_status); }; } &&
15314 { ac_try='test -s conftest.$ac_objext'
15315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15316 (eval $ac_try) 2>&5
15317 ac_status=$?
15318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15319 (exit $ac_status); }; }; then
15320 ac_lo=0 ac_mid=0
15321 while :; do
15322 cat >conftest.$ac_ext <<_ACEOF
15323 /* confdefs.h. */
15324 _ACEOF
15325 cat confdefs.h >>conftest.$ac_ext
15326 cat >>conftest.$ac_ext <<_ACEOF
15327 /* end confdefs.h. */
15328 $ac_includes_default
15329 int
15330 main ()
15331 {
15332 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15333 test_array [0] = 0
15334
15335 ;
15336 return 0;
15337 }
15338 _ACEOF
15339 rm -f conftest.$ac_objext
15340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15341 (eval $ac_compile) 2>conftest.er1
15342 ac_status=$?
15343 grep -v '^ *+' conftest.er1 >conftest.err
15344 rm -f conftest.er1
15345 cat conftest.err >&5
15346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15347 (exit $ac_status); } &&
15348 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15350 (eval $ac_try) 2>&5
15351 ac_status=$?
15352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15353 (exit $ac_status); }; } &&
15354 { ac_try='test -s conftest.$ac_objext'
15355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15356 (eval $ac_try) 2>&5
15357 ac_status=$?
15358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15359 (exit $ac_status); }; }; then
15360 ac_hi=$ac_mid; break
15361 else
15362 echo "$as_me: failed program was:" >&5
15363 sed 's/^/| /' conftest.$ac_ext >&5
15364
15365 ac_lo=`expr $ac_mid + 1`
15366 if test $ac_lo -le $ac_mid; then
15367 ac_lo= ac_hi=
15368 break
15369 fi
15370 ac_mid=`expr 2 '*' $ac_mid + 1`
15371 fi
15372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15373 done
15374 else
15375 echo "$as_me: failed program was:" >&5
15376 sed 's/^/| /' conftest.$ac_ext >&5
15377
15378 cat >conftest.$ac_ext <<_ACEOF
15379 /* confdefs.h. */
15380 _ACEOF
15381 cat confdefs.h >>conftest.$ac_ext
15382 cat >>conftest.$ac_ext <<_ACEOF
15383 /* end confdefs.h. */
15384 $ac_includes_default
15385 int
15386 main ()
15387 {
15388 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15389 test_array [0] = 0
15390
15391 ;
15392 return 0;
15393 }
15394 _ACEOF
15395 rm -f conftest.$ac_objext
15396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15397 (eval $ac_compile) 2>conftest.er1
15398 ac_status=$?
15399 grep -v '^ *+' conftest.er1 >conftest.err
15400 rm -f conftest.er1
15401 cat conftest.err >&5
15402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15403 (exit $ac_status); } &&
15404 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15406 (eval $ac_try) 2>&5
15407 ac_status=$?
15408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15409 (exit $ac_status); }; } &&
15410 { ac_try='test -s conftest.$ac_objext'
15411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15412 (eval $ac_try) 2>&5
15413 ac_status=$?
15414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15415 (exit $ac_status); }; }; then
15416 ac_hi=-1 ac_mid=-1
15417 while :; do
15418 cat >conftest.$ac_ext <<_ACEOF
15419 /* confdefs.h. */
15420 _ACEOF
15421 cat confdefs.h >>conftest.$ac_ext
15422 cat >>conftest.$ac_ext <<_ACEOF
15423 /* end confdefs.h. */
15424 $ac_includes_default
15425 int
15426 main ()
15427 {
15428 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15429 test_array [0] = 0
15430
15431 ;
15432 return 0;
15433 }
15434 _ACEOF
15435 rm -f conftest.$ac_objext
15436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15437 (eval $ac_compile) 2>conftest.er1
15438 ac_status=$?
15439 grep -v '^ *+' conftest.er1 >conftest.err
15440 rm -f conftest.er1
15441 cat conftest.err >&5
15442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15443 (exit $ac_status); } &&
15444 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15446 (eval $ac_try) 2>&5
15447 ac_status=$?
15448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15449 (exit $ac_status); }; } &&
15450 { ac_try='test -s conftest.$ac_objext'
15451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15452 (eval $ac_try) 2>&5
15453 ac_status=$?
15454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15455 (exit $ac_status); }; }; then
15456 ac_lo=$ac_mid; break
15457 else
15458 echo "$as_me: failed program was:" >&5
15459 sed 's/^/| /' conftest.$ac_ext >&5
15460
15461 ac_hi=`expr '(' $ac_mid ')' - 1`
15462 if test $ac_mid -le $ac_hi; then
15463 ac_lo= ac_hi=
15464 break
15465 fi
15466 ac_mid=`expr 2 '*' $ac_mid`
15467 fi
15468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15469 done
15470 else
15471 echo "$as_me: failed program was:" >&5
15472 sed 's/^/| /' conftest.$ac_ext >&5
15473
15474 ac_lo= ac_hi=
15475 fi
15476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15477 fi
15478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15479 # Binary search between lo and hi bounds.
15480 while test "x$ac_lo" != "x$ac_hi"; do
15481 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15482 cat >conftest.$ac_ext <<_ACEOF
15483 /* confdefs.h. */
15484 _ACEOF
15485 cat confdefs.h >>conftest.$ac_ext
15486 cat >>conftest.$ac_ext <<_ACEOF
15487 /* end confdefs.h. */
15488 $ac_includes_default
15489 int
15490 main ()
15491 {
15492 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15493 test_array [0] = 0
15494
15495 ;
15496 return 0;
15497 }
15498 _ACEOF
15499 rm -f conftest.$ac_objext
15500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15501 (eval $ac_compile) 2>conftest.er1
15502 ac_status=$?
15503 grep -v '^ *+' conftest.er1 >conftest.err
15504 rm -f conftest.er1
15505 cat conftest.err >&5
15506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15507 (exit $ac_status); } &&
15508 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15510 (eval $ac_try) 2>&5
15511 ac_status=$?
15512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15513 (exit $ac_status); }; } &&
15514 { ac_try='test -s conftest.$ac_objext'
15515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15516 (eval $ac_try) 2>&5
15517 ac_status=$?
15518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15519 (exit $ac_status); }; }; then
15520 ac_hi=$ac_mid
15521 else
15522 echo "$as_me: failed program was:" >&5
15523 sed 's/^/| /' conftest.$ac_ext >&5
15524
15525 ac_lo=`expr '(' $ac_mid ')' + 1`
15526 fi
15527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15528 done
15529 case $ac_lo in
15530 ?*) ac_cv_sizeof_void_p=$ac_lo;;
15531 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15532 See \`config.log' for more details." >&5
15533 echo "$as_me: error: cannot compute sizeof (void *), 77
15534 See \`config.log' for more details." >&2;}
15535 { (exit 1); exit 1; }; } ;;
15536 esac
15537 else
15538 if test "$cross_compiling" = yes; then
15539 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15540 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15541 { (exit 1); exit 1; }; }
15542 else
15543 cat >conftest.$ac_ext <<_ACEOF
15544 /* confdefs.h. */
15545 _ACEOF
15546 cat confdefs.h >>conftest.$ac_ext
15547 cat >>conftest.$ac_ext <<_ACEOF
15548 /* end confdefs.h. */
15549 $ac_includes_default
15550 long longval () { return (long) (sizeof (void *)); }
15551 unsigned long ulongval () { return (long) (sizeof (void *)); }
15552 #include <stdio.h>
15553 #include <stdlib.h>
15554 int
15555 main ()
15556 {
15557
15558 FILE *f = fopen ("conftest.val", "w");
15559 if (! f)
15560 exit (1);
15561 if (((long) (sizeof (void *))) < 0)
15562 {
15563 long i = longval ();
15564 if (i != ((long) (sizeof (void *))))
15565 exit (1);
15566 fprintf (f, "%ld\n", i);
15567 }
15568 else
15569 {
15570 unsigned long i = ulongval ();
15571 if (i != ((long) (sizeof (void *))))
15572 exit (1);
15573 fprintf (f, "%lu\n", i);
15574 }
15575 exit (ferror (f) || fclose (f) != 0);
15576
15577 ;
15578 return 0;
15579 }
15580 _ACEOF
15581 rm -f conftest$ac_exeext
15582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15583 (eval $ac_link) 2>&5
15584 ac_status=$?
15585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15586 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15588 (eval $ac_try) 2>&5
15589 ac_status=$?
15590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15591 (exit $ac_status); }; }; then
15592 ac_cv_sizeof_void_p=`cat conftest.val`
15593 else
15594 echo "$as_me: program exited with status $ac_status" >&5
15595 echo "$as_me: failed program was:" >&5
15596 sed 's/^/| /' conftest.$ac_ext >&5
15597
15598 ( exit $ac_status )
15599 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15600 See \`config.log' for more details." >&5
15601 echo "$as_me: error: cannot compute sizeof (void *), 77
15602 See \`config.log' for more details." >&2;}
15603 { (exit 1); exit 1; }; }
15604 fi
15605 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15606 fi
15607 fi
15608 rm -f conftest.val
15609 else
15610 ac_cv_sizeof_void_p=0
15611 fi
15612 fi
15613 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15614 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15615 cat >>confdefs.h <<_ACEOF
15616 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15617 _ACEOF
15618
15619
15620 echo "$as_me:$LINENO: checking for int" >&5
15621 echo $ECHO_N "checking for int... $ECHO_C" >&6
15622 if test "${ac_cv_type_int+set}" = set; then
15623 echo $ECHO_N "(cached) $ECHO_C" >&6
15624 else
15625 cat >conftest.$ac_ext <<_ACEOF
15626 /* confdefs.h. */
15627 _ACEOF
15628 cat confdefs.h >>conftest.$ac_ext
15629 cat >>conftest.$ac_ext <<_ACEOF
15630 /* end confdefs.h. */
15631 $ac_includes_default
15632 int
15633 main ()
15634 {
15635 if ((int *) 0)
15636 return 0;
15637 if (sizeof (int))
15638 return 0;
15639 ;
15640 return 0;
15641 }
15642 _ACEOF
15643 rm -f conftest.$ac_objext
15644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15645 (eval $ac_compile) 2>conftest.er1
15646 ac_status=$?
15647 grep -v '^ *+' conftest.er1 >conftest.err
15648 rm -f conftest.er1
15649 cat conftest.err >&5
15650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15651 (exit $ac_status); } &&
15652 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
15658 { ac_try='test -s conftest.$ac_objext'
15659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15660 (eval $ac_try) 2>&5
15661 ac_status=$?
15662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15663 (exit $ac_status); }; }; then
15664 ac_cv_type_int=yes
15665 else
15666 echo "$as_me: failed program was:" >&5
15667 sed 's/^/| /' conftest.$ac_ext >&5
15668
15669 ac_cv_type_int=no
15670 fi
15671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15672 fi
15673 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15674 echo "${ECHO_T}$ac_cv_type_int" >&6
15675
15676 echo "$as_me:$LINENO: checking size of int" >&5
15677 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15678 if test "${ac_cv_sizeof_int+set}" = set; then
15679 echo $ECHO_N "(cached) $ECHO_C" >&6
15680 else
15681 if test "$ac_cv_type_int" = yes; then
15682 # The cast to unsigned long works around a bug in the HP C Compiler
15683 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15684 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15685 # This bug is HP SR number 8606223364.
15686 if test "$cross_compiling" = yes; then
15687 # Depending upon the size, compute the lo and hi bounds.
15688 cat >conftest.$ac_ext <<_ACEOF
15689 /* confdefs.h. */
15690 _ACEOF
15691 cat confdefs.h >>conftest.$ac_ext
15692 cat >>conftest.$ac_ext <<_ACEOF
15693 /* end confdefs.h. */
15694 $ac_includes_default
15695 int
15696 main ()
15697 {
15698 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15699 test_array [0] = 0
15700
15701 ;
15702 return 0;
15703 }
15704 _ACEOF
15705 rm -f conftest.$ac_objext
15706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15707 (eval $ac_compile) 2>conftest.er1
15708 ac_status=$?
15709 grep -v '^ *+' conftest.er1 >conftest.err
15710 rm -f conftest.er1
15711 cat conftest.err >&5
15712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15713 (exit $ac_status); } &&
15714 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15716 (eval $ac_try) 2>&5
15717 ac_status=$?
15718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15719 (exit $ac_status); }; } &&
15720 { ac_try='test -s conftest.$ac_objext'
15721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15722 (eval $ac_try) 2>&5
15723 ac_status=$?
15724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15725 (exit $ac_status); }; }; then
15726 ac_lo=0 ac_mid=0
15727 while :; do
15728 cat >conftest.$ac_ext <<_ACEOF
15729 /* confdefs.h. */
15730 _ACEOF
15731 cat confdefs.h >>conftest.$ac_ext
15732 cat >>conftest.$ac_ext <<_ACEOF
15733 /* end confdefs.h. */
15734 $ac_includes_default
15735 int
15736 main ()
15737 {
15738 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15739 test_array [0] = 0
15740
15741 ;
15742 return 0;
15743 }
15744 _ACEOF
15745 rm -f conftest.$ac_objext
15746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15747 (eval $ac_compile) 2>conftest.er1
15748 ac_status=$?
15749 grep -v '^ *+' conftest.er1 >conftest.err
15750 rm -f conftest.er1
15751 cat conftest.err >&5
15752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15753 (exit $ac_status); } &&
15754 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15756 (eval $ac_try) 2>&5
15757 ac_status=$?
15758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15759 (exit $ac_status); }; } &&
15760 { ac_try='test -s conftest.$ac_objext'
15761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15762 (eval $ac_try) 2>&5
15763 ac_status=$?
15764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15765 (exit $ac_status); }; }; then
15766 ac_hi=$ac_mid; break
15767 else
15768 echo "$as_me: failed program was:" >&5
15769 sed 's/^/| /' conftest.$ac_ext >&5
15770
15771 ac_lo=`expr $ac_mid + 1`
15772 if test $ac_lo -le $ac_mid; then
15773 ac_lo= ac_hi=
15774 break
15775 fi
15776 ac_mid=`expr 2 '*' $ac_mid + 1`
15777 fi
15778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15779 done
15780 else
15781 echo "$as_me: failed program was:" >&5
15782 sed 's/^/| /' conftest.$ac_ext >&5
15783
15784 cat >conftest.$ac_ext <<_ACEOF
15785 /* confdefs.h. */
15786 _ACEOF
15787 cat confdefs.h >>conftest.$ac_ext
15788 cat >>conftest.$ac_ext <<_ACEOF
15789 /* end confdefs.h. */
15790 $ac_includes_default
15791 int
15792 main ()
15793 {
15794 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15795 test_array [0] = 0
15796
15797 ;
15798 return 0;
15799 }
15800 _ACEOF
15801 rm -f conftest.$ac_objext
15802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15803 (eval $ac_compile) 2>conftest.er1
15804 ac_status=$?
15805 grep -v '^ *+' conftest.er1 >conftest.err
15806 rm -f conftest.er1
15807 cat conftest.err >&5
15808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15809 (exit $ac_status); } &&
15810 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15812 (eval $ac_try) 2>&5
15813 ac_status=$?
15814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15815 (exit $ac_status); }; } &&
15816 { ac_try='test -s conftest.$ac_objext'
15817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15818 (eval $ac_try) 2>&5
15819 ac_status=$?
15820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15821 (exit $ac_status); }; }; then
15822 ac_hi=-1 ac_mid=-1
15823 while :; do
15824 cat >conftest.$ac_ext <<_ACEOF
15825 /* confdefs.h. */
15826 _ACEOF
15827 cat confdefs.h >>conftest.$ac_ext
15828 cat >>conftest.$ac_ext <<_ACEOF
15829 /* end confdefs.h. */
15830 $ac_includes_default
15831 int
15832 main ()
15833 {
15834 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15835 test_array [0] = 0
15836
15837 ;
15838 return 0;
15839 }
15840 _ACEOF
15841 rm -f conftest.$ac_objext
15842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15843 (eval $ac_compile) 2>conftest.er1
15844 ac_status=$?
15845 grep -v '^ *+' conftest.er1 >conftest.err
15846 rm -f conftest.er1
15847 cat conftest.err >&5
15848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15849 (exit $ac_status); } &&
15850 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15852 (eval $ac_try) 2>&5
15853 ac_status=$?
15854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15855 (exit $ac_status); }; } &&
15856 { ac_try='test -s conftest.$ac_objext'
15857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15858 (eval $ac_try) 2>&5
15859 ac_status=$?
15860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15861 (exit $ac_status); }; }; then
15862 ac_lo=$ac_mid; break
15863 else
15864 echo "$as_me: failed program was:" >&5
15865 sed 's/^/| /' conftest.$ac_ext >&5
15866
15867 ac_hi=`expr '(' $ac_mid ')' - 1`
15868 if test $ac_mid -le $ac_hi; then
15869 ac_lo= ac_hi=
15870 break
15871 fi
15872 ac_mid=`expr 2 '*' $ac_mid`
15873 fi
15874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15875 done
15876 else
15877 echo "$as_me: failed program was:" >&5
15878 sed 's/^/| /' conftest.$ac_ext >&5
15879
15880 ac_lo= ac_hi=
15881 fi
15882 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15883 fi
15884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15885 # Binary search between lo and hi bounds.
15886 while test "x$ac_lo" != "x$ac_hi"; do
15887 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15888 cat >conftest.$ac_ext <<_ACEOF
15889 /* confdefs.h. */
15890 _ACEOF
15891 cat confdefs.h >>conftest.$ac_ext
15892 cat >>conftest.$ac_ext <<_ACEOF
15893 /* end confdefs.h. */
15894 $ac_includes_default
15895 int
15896 main ()
15897 {
15898 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15899 test_array [0] = 0
15900
15901 ;
15902 return 0;
15903 }
15904 _ACEOF
15905 rm -f conftest.$ac_objext
15906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15907 (eval $ac_compile) 2>conftest.er1
15908 ac_status=$?
15909 grep -v '^ *+' conftest.er1 >conftest.err
15910 rm -f conftest.er1
15911 cat conftest.err >&5
15912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15913 (exit $ac_status); } &&
15914 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15916 (eval $ac_try) 2>&5
15917 ac_status=$?
15918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15919 (exit $ac_status); }; } &&
15920 { ac_try='test -s conftest.$ac_objext'
15921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15922 (eval $ac_try) 2>&5
15923 ac_status=$?
15924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15925 (exit $ac_status); }; }; then
15926 ac_hi=$ac_mid
15927 else
15928 echo "$as_me: failed program was:" >&5
15929 sed 's/^/| /' conftest.$ac_ext >&5
15930
15931 ac_lo=`expr '(' $ac_mid ')' + 1`
15932 fi
15933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15934 done
15935 case $ac_lo in
15936 ?*) ac_cv_sizeof_int=$ac_lo;;
15937 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15938 See \`config.log' for more details." >&5
15939 echo "$as_me: error: cannot compute sizeof (int), 77
15940 See \`config.log' for more details." >&2;}
15941 { (exit 1); exit 1; }; } ;;
15942 esac
15943 else
15944 if test "$cross_compiling" = yes; then
15945 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15946 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15947 { (exit 1); exit 1; }; }
15948 else
15949 cat >conftest.$ac_ext <<_ACEOF
15950 /* confdefs.h. */
15951 _ACEOF
15952 cat confdefs.h >>conftest.$ac_ext
15953 cat >>conftest.$ac_ext <<_ACEOF
15954 /* end confdefs.h. */
15955 $ac_includes_default
15956 long longval () { return (long) (sizeof (int)); }
15957 unsigned long ulongval () { return (long) (sizeof (int)); }
15958 #include <stdio.h>
15959 #include <stdlib.h>
15960 int
15961 main ()
15962 {
15963
15964 FILE *f = fopen ("conftest.val", "w");
15965 if (! f)
15966 exit (1);
15967 if (((long) (sizeof (int))) < 0)
15968 {
15969 long i = longval ();
15970 if (i != ((long) (sizeof (int))))
15971 exit (1);
15972 fprintf (f, "%ld\n", i);
15973 }
15974 else
15975 {
15976 unsigned long i = ulongval ();
15977 if (i != ((long) (sizeof (int))))
15978 exit (1);
15979 fprintf (f, "%lu\n", i);
15980 }
15981 exit (ferror (f) || fclose (f) != 0);
15982
15983 ;
15984 return 0;
15985 }
15986 _ACEOF
15987 rm -f conftest$ac_exeext
15988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15989 (eval $ac_link) 2>&5
15990 ac_status=$?
15991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15992 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15994 (eval $ac_try) 2>&5
15995 ac_status=$?
15996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15997 (exit $ac_status); }; }; then
15998 ac_cv_sizeof_int=`cat conftest.val`
15999 else
16000 echo "$as_me: program exited with status $ac_status" >&5
16001 echo "$as_me: failed program was:" >&5
16002 sed 's/^/| /' conftest.$ac_ext >&5
16003
16004 ( exit $ac_status )
16005 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16006 See \`config.log' for more details." >&5
16007 echo "$as_me: error: cannot compute sizeof (int), 77
16008 See \`config.log' for more details." >&2;}
16009 { (exit 1); exit 1; }; }
16010 fi
16011 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16012 fi
16013 fi
16014 rm -f conftest.val
16015 else
16016 ac_cv_sizeof_int=0
16017 fi
16018 fi
16019 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16020 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16021 cat >>confdefs.h <<_ACEOF
16022 #define SIZEOF_INT $ac_cv_sizeof_int
16023 _ACEOF
16024
16025
16026 echo "$as_me:$LINENO: checking for long" >&5
16027 echo $ECHO_N "checking for long... $ECHO_C" >&6
16028 if test "${ac_cv_type_long+set}" = set; then
16029 echo $ECHO_N "(cached) $ECHO_C" >&6
16030 else
16031 cat >conftest.$ac_ext <<_ACEOF
16032 /* confdefs.h. */
16033 _ACEOF
16034 cat confdefs.h >>conftest.$ac_ext
16035 cat >>conftest.$ac_ext <<_ACEOF
16036 /* end confdefs.h. */
16037 $ac_includes_default
16038 int
16039 main ()
16040 {
16041 if ((long *) 0)
16042 return 0;
16043 if (sizeof (long))
16044 return 0;
16045 ;
16046 return 0;
16047 }
16048 _ACEOF
16049 rm -f conftest.$ac_objext
16050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16051 (eval $ac_compile) 2>conftest.er1
16052 ac_status=$?
16053 grep -v '^ *+' conftest.er1 >conftest.err
16054 rm -f conftest.er1
16055 cat conftest.err >&5
16056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16057 (exit $ac_status); } &&
16058 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
16064 { ac_try='test -s conftest.$ac_objext'
16065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16066 (eval $ac_try) 2>&5
16067 ac_status=$?
16068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16069 (exit $ac_status); }; }; then
16070 ac_cv_type_long=yes
16071 else
16072 echo "$as_me: failed program was:" >&5
16073 sed 's/^/| /' conftest.$ac_ext >&5
16074
16075 ac_cv_type_long=no
16076 fi
16077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16078 fi
16079 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16080 echo "${ECHO_T}$ac_cv_type_long" >&6
16081
16082 echo "$as_me:$LINENO: checking size of long" >&5
16083 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16084 if test "${ac_cv_sizeof_long+set}" = set; then
16085 echo $ECHO_N "(cached) $ECHO_C" >&6
16086 else
16087 if test "$ac_cv_type_long" = yes; then
16088 # The cast to unsigned long works around a bug in the HP C Compiler
16089 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16090 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16091 # This bug is HP SR number 8606223364.
16092 if test "$cross_compiling" = yes; then
16093 # Depending upon the size, compute the lo and hi bounds.
16094 cat >conftest.$ac_ext <<_ACEOF
16095 /* confdefs.h. */
16096 _ACEOF
16097 cat confdefs.h >>conftest.$ac_ext
16098 cat >>conftest.$ac_ext <<_ACEOF
16099 /* end confdefs.h. */
16100 $ac_includes_default
16101 int
16102 main ()
16103 {
16104 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16105 test_array [0] = 0
16106
16107 ;
16108 return 0;
16109 }
16110 _ACEOF
16111 rm -f conftest.$ac_objext
16112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16113 (eval $ac_compile) 2>conftest.er1
16114 ac_status=$?
16115 grep -v '^ *+' conftest.er1 >conftest.err
16116 rm -f conftest.er1
16117 cat conftest.err >&5
16118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16119 (exit $ac_status); } &&
16120 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16122 (eval $ac_try) 2>&5
16123 ac_status=$?
16124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16125 (exit $ac_status); }; } &&
16126 { ac_try='test -s conftest.$ac_objext'
16127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16128 (eval $ac_try) 2>&5
16129 ac_status=$?
16130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16131 (exit $ac_status); }; }; then
16132 ac_lo=0 ac_mid=0
16133 while :; do
16134 cat >conftest.$ac_ext <<_ACEOF
16135 /* confdefs.h. */
16136 _ACEOF
16137 cat confdefs.h >>conftest.$ac_ext
16138 cat >>conftest.$ac_ext <<_ACEOF
16139 /* end confdefs.h. */
16140 $ac_includes_default
16141 int
16142 main ()
16143 {
16144 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16145 test_array [0] = 0
16146
16147 ;
16148 return 0;
16149 }
16150 _ACEOF
16151 rm -f conftest.$ac_objext
16152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16153 (eval $ac_compile) 2>conftest.er1
16154 ac_status=$?
16155 grep -v '^ *+' conftest.er1 >conftest.err
16156 rm -f conftest.er1
16157 cat conftest.err >&5
16158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16159 (exit $ac_status); } &&
16160 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16162 (eval $ac_try) 2>&5
16163 ac_status=$?
16164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16165 (exit $ac_status); }; } &&
16166 { ac_try='test -s conftest.$ac_objext'
16167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16168 (eval $ac_try) 2>&5
16169 ac_status=$?
16170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16171 (exit $ac_status); }; }; then
16172 ac_hi=$ac_mid; break
16173 else
16174 echo "$as_me: failed program was:" >&5
16175 sed 's/^/| /' conftest.$ac_ext >&5
16176
16177 ac_lo=`expr $ac_mid + 1`
16178 if test $ac_lo -le $ac_mid; then
16179 ac_lo= ac_hi=
16180 break
16181 fi
16182 ac_mid=`expr 2 '*' $ac_mid + 1`
16183 fi
16184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16185 done
16186 else
16187 echo "$as_me: failed program was:" >&5
16188 sed 's/^/| /' conftest.$ac_ext >&5
16189
16190 cat >conftest.$ac_ext <<_ACEOF
16191 /* confdefs.h. */
16192 _ACEOF
16193 cat confdefs.h >>conftest.$ac_ext
16194 cat >>conftest.$ac_ext <<_ACEOF
16195 /* end confdefs.h. */
16196 $ac_includes_default
16197 int
16198 main ()
16199 {
16200 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16201 test_array [0] = 0
16202
16203 ;
16204 return 0;
16205 }
16206 _ACEOF
16207 rm -f conftest.$ac_objext
16208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16209 (eval $ac_compile) 2>conftest.er1
16210 ac_status=$?
16211 grep -v '^ *+' conftest.er1 >conftest.err
16212 rm -f conftest.er1
16213 cat conftest.err >&5
16214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16215 (exit $ac_status); } &&
16216 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16218 (eval $ac_try) 2>&5
16219 ac_status=$?
16220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16221 (exit $ac_status); }; } &&
16222 { ac_try='test -s conftest.$ac_objext'
16223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16224 (eval $ac_try) 2>&5
16225 ac_status=$?
16226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16227 (exit $ac_status); }; }; then
16228 ac_hi=-1 ac_mid=-1
16229 while :; do
16230 cat >conftest.$ac_ext <<_ACEOF
16231 /* confdefs.h. */
16232 _ACEOF
16233 cat confdefs.h >>conftest.$ac_ext
16234 cat >>conftest.$ac_ext <<_ACEOF
16235 /* end confdefs.h. */
16236 $ac_includes_default
16237 int
16238 main ()
16239 {
16240 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16241 test_array [0] = 0
16242
16243 ;
16244 return 0;
16245 }
16246 _ACEOF
16247 rm -f conftest.$ac_objext
16248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16249 (eval $ac_compile) 2>conftest.er1
16250 ac_status=$?
16251 grep -v '^ *+' conftest.er1 >conftest.err
16252 rm -f conftest.er1
16253 cat conftest.err >&5
16254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16255 (exit $ac_status); } &&
16256 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16258 (eval $ac_try) 2>&5
16259 ac_status=$?
16260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16261 (exit $ac_status); }; } &&
16262 { ac_try='test -s conftest.$ac_objext'
16263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16264 (eval $ac_try) 2>&5
16265 ac_status=$?
16266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16267 (exit $ac_status); }; }; then
16268 ac_lo=$ac_mid; break
16269 else
16270 echo "$as_me: failed program was:" >&5
16271 sed 's/^/| /' conftest.$ac_ext >&5
16272
16273 ac_hi=`expr '(' $ac_mid ')' - 1`
16274 if test $ac_mid -le $ac_hi; then
16275 ac_lo= ac_hi=
16276 break
16277 fi
16278 ac_mid=`expr 2 '*' $ac_mid`
16279 fi
16280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16281 done
16282 else
16283 echo "$as_me: failed program was:" >&5
16284 sed 's/^/| /' conftest.$ac_ext >&5
16285
16286 ac_lo= ac_hi=
16287 fi
16288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16289 fi
16290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16291 # Binary search between lo and hi bounds.
16292 while test "x$ac_lo" != "x$ac_hi"; do
16293 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16294 cat >conftest.$ac_ext <<_ACEOF
16295 /* confdefs.h. */
16296 _ACEOF
16297 cat confdefs.h >>conftest.$ac_ext
16298 cat >>conftest.$ac_ext <<_ACEOF
16299 /* end confdefs.h. */
16300 $ac_includes_default
16301 int
16302 main ()
16303 {
16304 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16305 test_array [0] = 0
16306
16307 ;
16308 return 0;
16309 }
16310 _ACEOF
16311 rm -f conftest.$ac_objext
16312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16313 (eval $ac_compile) 2>conftest.er1
16314 ac_status=$?
16315 grep -v '^ *+' conftest.er1 >conftest.err
16316 rm -f conftest.er1
16317 cat conftest.err >&5
16318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16319 (exit $ac_status); } &&
16320 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16322 (eval $ac_try) 2>&5
16323 ac_status=$?
16324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16325 (exit $ac_status); }; } &&
16326 { ac_try='test -s conftest.$ac_objext'
16327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16328 (eval $ac_try) 2>&5
16329 ac_status=$?
16330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16331 (exit $ac_status); }; }; then
16332 ac_hi=$ac_mid
16333 else
16334 echo "$as_me: failed program was:" >&5
16335 sed 's/^/| /' conftest.$ac_ext >&5
16336
16337 ac_lo=`expr '(' $ac_mid ')' + 1`
16338 fi
16339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16340 done
16341 case $ac_lo in
16342 ?*) ac_cv_sizeof_long=$ac_lo;;
16343 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16344 See \`config.log' for more details." >&5
16345 echo "$as_me: error: cannot compute sizeof (long), 77
16346 See \`config.log' for more details." >&2;}
16347 { (exit 1); exit 1; }; } ;;
16348 esac
16349 else
16350 if test "$cross_compiling" = yes; then
16351 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16352 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16353 { (exit 1); exit 1; }; }
16354 else
16355 cat >conftest.$ac_ext <<_ACEOF
16356 /* confdefs.h. */
16357 _ACEOF
16358 cat confdefs.h >>conftest.$ac_ext
16359 cat >>conftest.$ac_ext <<_ACEOF
16360 /* end confdefs.h. */
16361 $ac_includes_default
16362 long longval () { return (long) (sizeof (long)); }
16363 unsigned long ulongval () { return (long) (sizeof (long)); }
16364 #include <stdio.h>
16365 #include <stdlib.h>
16366 int
16367 main ()
16368 {
16369
16370 FILE *f = fopen ("conftest.val", "w");
16371 if (! f)
16372 exit (1);
16373 if (((long) (sizeof (long))) < 0)
16374 {
16375 long i = longval ();
16376 if (i != ((long) (sizeof (long))))
16377 exit (1);
16378 fprintf (f, "%ld\n", i);
16379 }
16380 else
16381 {
16382 unsigned long i = ulongval ();
16383 if (i != ((long) (sizeof (long))))
16384 exit (1);
16385 fprintf (f, "%lu\n", i);
16386 }
16387 exit (ferror (f) || fclose (f) != 0);
16388
16389 ;
16390 return 0;
16391 }
16392 _ACEOF
16393 rm -f conftest$ac_exeext
16394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16395 (eval $ac_link) 2>&5
16396 ac_status=$?
16397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16398 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16400 (eval $ac_try) 2>&5
16401 ac_status=$?
16402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16403 (exit $ac_status); }; }; then
16404 ac_cv_sizeof_long=`cat conftest.val`
16405 else
16406 echo "$as_me: program exited with status $ac_status" >&5
16407 echo "$as_me: failed program was:" >&5
16408 sed 's/^/| /' conftest.$ac_ext >&5
16409
16410 ( exit $ac_status )
16411 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16412 See \`config.log' for more details." >&5
16413 echo "$as_me: error: cannot compute sizeof (long), 77
16414 See \`config.log' for more details." >&2;}
16415 { (exit 1); exit 1; }; }
16416 fi
16417 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16418 fi
16419 fi
16420 rm -f conftest.val
16421 else
16422 ac_cv_sizeof_long=0
16423 fi
16424 fi
16425 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16426 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16427 cat >>confdefs.h <<_ACEOF
16428 #define SIZEOF_LONG $ac_cv_sizeof_long
16429 _ACEOF
16430
16431
16432 echo "$as_me:$LINENO: checking for size_t" >&5
16433 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16434 if test "${ac_cv_type_size_t+set}" = set; then
16435 echo $ECHO_N "(cached) $ECHO_C" >&6
16436 else
16437 cat >conftest.$ac_ext <<_ACEOF
16438 /* confdefs.h. */
16439 _ACEOF
16440 cat confdefs.h >>conftest.$ac_ext
16441 cat >>conftest.$ac_ext <<_ACEOF
16442 /* end confdefs.h. */
16443 $ac_includes_default
16444 int
16445 main ()
16446 {
16447 if ((size_t *) 0)
16448 return 0;
16449 if (sizeof (size_t))
16450 return 0;
16451 ;
16452 return 0;
16453 }
16454 _ACEOF
16455 rm -f conftest.$ac_objext
16456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16457 (eval $ac_compile) 2>conftest.er1
16458 ac_status=$?
16459 grep -v '^ *+' conftest.er1 >conftest.err
16460 rm -f conftest.er1
16461 cat conftest.err >&5
16462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16463 (exit $ac_status); } &&
16464 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
16470 { ac_try='test -s conftest.$ac_objext'
16471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16472 (eval $ac_try) 2>&5
16473 ac_status=$?
16474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16475 (exit $ac_status); }; }; then
16476 ac_cv_type_size_t=yes
16477 else
16478 echo "$as_me: failed program was:" >&5
16479 sed 's/^/| /' conftest.$ac_ext >&5
16480
16481 ac_cv_type_size_t=no
16482 fi
16483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16484 fi
16485 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16486 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16487
16488 echo "$as_me:$LINENO: checking size of size_t" >&5
16489 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16490 if test "${ac_cv_sizeof_size_t+set}" = set; then
16491 echo $ECHO_N "(cached) $ECHO_C" >&6
16492 else
16493 if test "$ac_cv_type_size_t" = yes; then
16494 # The cast to unsigned long works around a bug in the HP C Compiler
16495 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16496 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16497 # This bug is HP SR number 8606223364.
16498 if test "$cross_compiling" = yes; then
16499 # Depending upon the size, compute the lo and hi bounds.
16500 cat >conftest.$ac_ext <<_ACEOF
16501 /* confdefs.h. */
16502 _ACEOF
16503 cat confdefs.h >>conftest.$ac_ext
16504 cat >>conftest.$ac_ext <<_ACEOF
16505 /* end confdefs.h. */
16506 $ac_includes_default
16507 int
16508 main ()
16509 {
16510 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16511 test_array [0] = 0
16512
16513 ;
16514 return 0;
16515 }
16516 _ACEOF
16517 rm -f conftest.$ac_objext
16518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16519 (eval $ac_compile) 2>conftest.er1
16520 ac_status=$?
16521 grep -v '^ *+' conftest.er1 >conftest.err
16522 rm -f conftest.er1
16523 cat conftest.err >&5
16524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16525 (exit $ac_status); } &&
16526 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16528 (eval $ac_try) 2>&5
16529 ac_status=$?
16530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16531 (exit $ac_status); }; } &&
16532 { ac_try='test -s conftest.$ac_objext'
16533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16534 (eval $ac_try) 2>&5
16535 ac_status=$?
16536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16537 (exit $ac_status); }; }; then
16538 ac_lo=0 ac_mid=0
16539 while :; do
16540 cat >conftest.$ac_ext <<_ACEOF
16541 /* confdefs.h. */
16542 _ACEOF
16543 cat confdefs.h >>conftest.$ac_ext
16544 cat >>conftest.$ac_ext <<_ACEOF
16545 /* end confdefs.h. */
16546 $ac_includes_default
16547 int
16548 main ()
16549 {
16550 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16551 test_array [0] = 0
16552
16553 ;
16554 return 0;
16555 }
16556 _ACEOF
16557 rm -f conftest.$ac_objext
16558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16559 (eval $ac_compile) 2>conftest.er1
16560 ac_status=$?
16561 grep -v '^ *+' conftest.er1 >conftest.err
16562 rm -f conftest.er1
16563 cat conftest.err >&5
16564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16565 (exit $ac_status); } &&
16566 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16568 (eval $ac_try) 2>&5
16569 ac_status=$?
16570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16571 (exit $ac_status); }; } &&
16572 { ac_try='test -s conftest.$ac_objext'
16573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16574 (eval $ac_try) 2>&5
16575 ac_status=$?
16576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16577 (exit $ac_status); }; }; then
16578 ac_hi=$ac_mid; break
16579 else
16580 echo "$as_me: failed program was:" >&5
16581 sed 's/^/| /' conftest.$ac_ext >&5
16582
16583 ac_lo=`expr $ac_mid + 1`
16584 if test $ac_lo -le $ac_mid; then
16585 ac_lo= ac_hi=
16586 break
16587 fi
16588 ac_mid=`expr 2 '*' $ac_mid + 1`
16589 fi
16590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16591 done
16592 else
16593 echo "$as_me: failed program was:" >&5
16594 sed 's/^/| /' conftest.$ac_ext >&5
16595
16596 cat >conftest.$ac_ext <<_ACEOF
16597 /* confdefs.h. */
16598 _ACEOF
16599 cat confdefs.h >>conftest.$ac_ext
16600 cat >>conftest.$ac_ext <<_ACEOF
16601 /* end confdefs.h. */
16602 $ac_includes_default
16603 int
16604 main ()
16605 {
16606 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16607 test_array [0] = 0
16608
16609 ;
16610 return 0;
16611 }
16612 _ACEOF
16613 rm -f conftest.$ac_objext
16614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16615 (eval $ac_compile) 2>conftest.er1
16616 ac_status=$?
16617 grep -v '^ *+' conftest.er1 >conftest.err
16618 rm -f conftest.er1
16619 cat conftest.err >&5
16620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16621 (exit $ac_status); } &&
16622 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16624 (eval $ac_try) 2>&5
16625 ac_status=$?
16626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16627 (exit $ac_status); }; } &&
16628 { ac_try='test -s conftest.$ac_objext'
16629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16630 (eval $ac_try) 2>&5
16631 ac_status=$?
16632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16633 (exit $ac_status); }; }; then
16634 ac_hi=-1 ac_mid=-1
16635 while :; do
16636 cat >conftest.$ac_ext <<_ACEOF
16637 /* confdefs.h. */
16638 _ACEOF
16639 cat confdefs.h >>conftest.$ac_ext
16640 cat >>conftest.$ac_ext <<_ACEOF
16641 /* end confdefs.h. */
16642 $ac_includes_default
16643 int
16644 main ()
16645 {
16646 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16647 test_array [0] = 0
16648
16649 ;
16650 return 0;
16651 }
16652 _ACEOF
16653 rm -f conftest.$ac_objext
16654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16655 (eval $ac_compile) 2>conftest.er1
16656 ac_status=$?
16657 grep -v '^ *+' conftest.er1 >conftest.err
16658 rm -f conftest.er1
16659 cat conftest.err >&5
16660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16661 (exit $ac_status); } &&
16662 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16664 (eval $ac_try) 2>&5
16665 ac_status=$?
16666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16667 (exit $ac_status); }; } &&
16668 { ac_try='test -s conftest.$ac_objext'
16669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16670 (eval $ac_try) 2>&5
16671 ac_status=$?
16672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16673 (exit $ac_status); }; }; then
16674 ac_lo=$ac_mid; break
16675 else
16676 echo "$as_me: failed program was:" >&5
16677 sed 's/^/| /' conftest.$ac_ext >&5
16678
16679 ac_hi=`expr '(' $ac_mid ')' - 1`
16680 if test $ac_mid -le $ac_hi; then
16681 ac_lo= ac_hi=
16682 break
16683 fi
16684 ac_mid=`expr 2 '*' $ac_mid`
16685 fi
16686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16687 done
16688 else
16689 echo "$as_me: failed program was:" >&5
16690 sed 's/^/| /' conftest.$ac_ext >&5
16691
16692 ac_lo= ac_hi=
16693 fi
16694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16695 fi
16696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16697 # Binary search between lo and hi bounds.
16698 while test "x$ac_lo" != "x$ac_hi"; do
16699 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16700 cat >conftest.$ac_ext <<_ACEOF
16701 /* confdefs.h. */
16702 _ACEOF
16703 cat confdefs.h >>conftest.$ac_ext
16704 cat >>conftest.$ac_ext <<_ACEOF
16705 /* end confdefs.h. */
16706 $ac_includes_default
16707 int
16708 main ()
16709 {
16710 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16711 test_array [0] = 0
16712
16713 ;
16714 return 0;
16715 }
16716 _ACEOF
16717 rm -f conftest.$ac_objext
16718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16719 (eval $ac_compile) 2>conftest.er1
16720 ac_status=$?
16721 grep -v '^ *+' conftest.er1 >conftest.err
16722 rm -f conftest.er1
16723 cat conftest.err >&5
16724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16725 (exit $ac_status); } &&
16726 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16728 (eval $ac_try) 2>&5
16729 ac_status=$?
16730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16731 (exit $ac_status); }; } &&
16732 { ac_try='test -s conftest.$ac_objext'
16733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16734 (eval $ac_try) 2>&5
16735 ac_status=$?
16736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16737 (exit $ac_status); }; }; then
16738 ac_hi=$ac_mid
16739 else
16740 echo "$as_me: failed program was:" >&5
16741 sed 's/^/| /' conftest.$ac_ext >&5
16742
16743 ac_lo=`expr '(' $ac_mid ')' + 1`
16744 fi
16745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16746 done
16747 case $ac_lo in
16748 ?*) ac_cv_sizeof_size_t=$ac_lo;;
16749 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16750 See \`config.log' for more details." >&5
16751 echo "$as_me: error: cannot compute sizeof (size_t), 77
16752 See \`config.log' for more details." >&2;}
16753 { (exit 1); exit 1; }; } ;;
16754 esac
16755 else
16756 if test "$cross_compiling" = yes; then
16757 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16758 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16759 { (exit 1); exit 1; }; }
16760 else
16761 cat >conftest.$ac_ext <<_ACEOF
16762 /* confdefs.h. */
16763 _ACEOF
16764 cat confdefs.h >>conftest.$ac_ext
16765 cat >>conftest.$ac_ext <<_ACEOF
16766 /* end confdefs.h. */
16767 $ac_includes_default
16768 long longval () { return (long) (sizeof (size_t)); }
16769 unsigned long ulongval () { return (long) (sizeof (size_t)); }
16770 #include <stdio.h>
16771 #include <stdlib.h>
16772 int
16773 main ()
16774 {
16775
16776 FILE *f = fopen ("conftest.val", "w");
16777 if (! f)
16778 exit (1);
16779 if (((long) (sizeof (size_t))) < 0)
16780 {
16781 long i = longval ();
16782 if (i != ((long) (sizeof (size_t))))
16783 exit (1);
16784 fprintf (f, "%ld\n", i);
16785 }
16786 else
16787 {
16788 unsigned long i = ulongval ();
16789 if (i != ((long) (sizeof (size_t))))
16790 exit (1);
16791 fprintf (f, "%lu\n", i);
16792 }
16793 exit (ferror (f) || fclose (f) != 0);
16794
16795 ;
16796 return 0;
16797 }
16798 _ACEOF
16799 rm -f conftest$ac_exeext
16800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16801 (eval $ac_link) 2>&5
16802 ac_status=$?
16803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16804 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16806 (eval $ac_try) 2>&5
16807 ac_status=$?
16808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16809 (exit $ac_status); }; }; then
16810 ac_cv_sizeof_size_t=`cat conftest.val`
16811 else
16812 echo "$as_me: program exited with status $ac_status" >&5
16813 echo "$as_me: failed program was:" >&5
16814 sed 's/^/| /' conftest.$ac_ext >&5
16815
16816 ( exit $ac_status )
16817 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16818 See \`config.log' for more details." >&5
16819 echo "$as_me: error: cannot compute sizeof (size_t), 77
16820 See \`config.log' for more details." >&2;}
16821 { (exit 1); exit 1; }; }
16822 fi
16823 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16824 fi
16825 fi
16826 rm -f conftest.val
16827 else
16828 ac_cv_sizeof_size_t=0
16829 fi
16830 fi
16831 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
16832 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
16833 cat >>confdefs.h <<_ACEOF
16834 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16835 _ACEOF
16836
16837
16838
16839 case "${host}" in
16840 arm-*-linux* )
16841 echo "$as_me:$LINENO: checking for long long" >&5
16842 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16843 if test "${ac_cv_type_long_long+set}" = set; then
16844 echo $ECHO_N "(cached) $ECHO_C" >&6
16845 else
16846 cat >conftest.$ac_ext <<_ACEOF
16847 /* confdefs.h. */
16848 _ACEOF
16849 cat confdefs.h >>conftest.$ac_ext
16850 cat >>conftest.$ac_ext <<_ACEOF
16851 /* end confdefs.h. */
16852 $ac_includes_default
16853 int
16854 main ()
16855 {
16856 if ((long long *) 0)
16857 return 0;
16858 if (sizeof (long long))
16859 return 0;
16860 ;
16861 return 0;
16862 }
16863 _ACEOF
16864 rm -f conftest.$ac_objext
16865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16866 (eval $ac_compile) 2>conftest.er1
16867 ac_status=$?
16868 grep -v '^ *+' conftest.er1 >conftest.err
16869 rm -f conftest.er1
16870 cat conftest.err >&5
16871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16872 (exit $ac_status); } &&
16873 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
16879 { ac_try='test -s conftest.$ac_objext'
16880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16881 (eval $ac_try) 2>&5
16882 ac_status=$?
16883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16884 (exit $ac_status); }; }; then
16885 ac_cv_type_long_long=yes
16886 else
16887 echo "$as_me: failed program was:" >&5
16888 sed 's/^/| /' conftest.$ac_ext >&5
16889
16890 ac_cv_type_long_long=no
16891 fi
16892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16893 fi
16894 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16895 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16896
16897 echo "$as_me:$LINENO: checking size of long long" >&5
16898 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16899 if test "${ac_cv_sizeof_long_long+set}" = set; then
16900 echo $ECHO_N "(cached) $ECHO_C" >&6
16901 else
16902 if test "$ac_cv_type_long_long" = yes; then
16903 # The cast to unsigned long works around a bug in the HP C Compiler
16904 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16905 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16906 # This bug is HP SR number 8606223364.
16907 if test "$cross_compiling" = yes; then
16908 # Depending upon the size, compute the lo and hi bounds.
16909 cat >conftest.$ac_ext <<_ACEOF
16910 /* confdefs.h. */
16911 _ACEOF
16912 cat confdefs.h >>conftest.$ac_ext
16913 cat >>conftest.$ac_ext <<_ACEOF
16914 /* end confdefs.h. */
16915 $ac_includes_default
16916 int
16917 main ()
16918 {
16919 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16920 test_array [0] = 0
16921
16922 ;
16923 return 0;
16924 }
16925 _ACEOF
16926 rm -f conftest.$ac_objext
16927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16928 (eval $ac_compile) 2>conftest.er1
16929 ac_status=$?
16930 grep -v '^ *+' conftest.er1 >conftest.err
16931 rm -f conftest.er1
16932 cat conftest.err >&5
16933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16934 (exit $ac_status); } &&
16935 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16937 (eval $ac_try) 2>&5
16938 ac_status=$?
16939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16940 (exit $ac_status); }; } &&
16941 { ac_try='test -s conftest.$ac_objext'
16942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16943 (eval $ac_try) 2>&5
16944 ac_status=$?
16945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16946 (exit $ac_status); }; }; then
16947 ac_lo=0 ac_mid=0
16948 while :; do
16949 cat >conftest.$ac_ext <<_ACEOF
16950 /* confdefs.h. */
16951 _ACEOF
16952 cat confdefs.h >>conftest.$ac_ext
16953 cat >>conftest.$ac_ext <<_ACEOF
16954 /* end confdefs.h. */
16955 $ac_includes_default
16956 int
16957 main ()
16958 {
16959 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16960 test_array [0] = 0
16961
16962 ;
16963 return 0;
16964 }
16965 _ACEOF
16966 rm -f conftest.$ac_objext
16967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16968 (eval $ac_compile) 2>conftest.er1
16969 ac_status=$?
16970 grep -v '^ *+' conftest.er1 >conftest.err
16971 rm -f conftest.er1
16972 cat conftest.err >&5
16973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16974 (exit $ac_status); } &&
16975 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16977 (eval $ac_try) 2>&5
16978 ac_status=$?
16979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16980 (exit $ac_status); }; } &&
16981 { ac_try='test -s conftest.$ac_objext'
16982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16983 (eval $ac_try) 2>&5
16984 ac_status=$?
16985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16986 (exit $ac_status); }; }; then
16987 ac_hi=$ac_mid; break
16988 else
16989 echo "$as_me: failed program was:" >&5
16990 sed 's/^/| /' conftest.$ac_ext >&5
16991
16992 ac_lo=`expr $ac_mid + 1`
16993 if test $ac_lo -le $ac_mid; then
16994 ac_lo= ac_hi=
16995 break
16996 fi
16997 ac_mid=`expr 2 '*' $ac_mid + 1`
16998 fi
16999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17000 done
17001 else
17002 echo "$as_me: failed program was:" >&5
17003 sed 's/^/| /' conftest.$ac_ext >&5
17004
17005 cat >conftest.$ac_ext <<_ACEOF
17006 /* confdefs.h. */
17007 _ACEOF
17008 cat confdefs.h >>conftest.$ac_ext
17009 cat >>conftest.$ac_ext <<_ACEOF
17010 /* end confdefs.h. */
17011 $ac_includes_default
17012 int
17013 main ()
17014 {
17015 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17016 test_array [0] = 0
17017
17018 ;
17019 return 0;
17020 }
17021 _ACEOF
17022 rm -f conftest.$ac_objext
17023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17024 (eval $ac_compile) 2>conftest.er1
17025 ac_status=$?
17026 grep -v '^ *+' conftest.er1 >conftest.err
17027 rm -f conftest.er1
17028 cat conftest.err >&5
17029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17030 (exit $ac_status); } &&
17031 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17033 (eval $ac_try) 2>&5
17034 ac_status=$?
17035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17036 (exit $ac_status); }; } &&
17037 { ac_try='test -s conftest.$ac_objext'
17038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17039 (eval $ac_try) 2>&5
17040 ac_status=$?
17041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17042 (exit $ac_status); }; }; then
17043 ac_hi=-1 ac_mid=-1
17044 while :; do
17045 cat >conftest.$ac_ext <<_ACEOF
17046 /* confdefs.h. */
17047 _ACEOF
17048 cat confdefs.h >>conftest.$ac_ext
17049 cat >>conftest.$ac_ext <<_ACEOF
17050 /* end confdefs.h. */
17051 $ac_includes_default
17052 int
17053 main ()
17054 {
17055 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17056 test_array [0] = 0
17057
17058 ;
17059 return 0;
17060 }
17061 _ACEOF
17062 rm -f conftest.$ac_objext
17063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17064 (eval $ac_compile) 2>conftest.er1
17065 ac_status=$?
17066 grep -v '^ *+' conftest.er1 >conftest.err
17067 rm -f conftest.er1
17068 cat conftest.err >&5
17069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17070 (exit $ac_status); } &&
17071 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17073 (eval $ac_try) 2>&5
17074 ac_status=$?
17075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17076 (exit $ac_status); }; } &&
17077 { ac_try='test -s conftest.$ac_objext'
17078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17079 (eval $ac_try) 2>&5
17080 ac_status=$?
17081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17082 (exit $ac_status); }; }; then
17083 ac_lo=$ac_mid; break
17084 else
17085 echo "$as_me: failed program was:" >&5
17086 sed 's/^/| /' conftest.$ac_ext >&5
17087
17088 ac_hi=`expr '(' $ac_mid ')' - 1`
17089 if test $ac_mid -le $ac_hi; then
17090 ac_lo= ac_hi=
17091 break
17092 fi
17093 ac_mid=`expr 2 '*' $ac_mid`
17094 fi
17095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17096 done
17097 else
17098 echo "$as_me: failed program was:" >&5
17099 sed 's/^/| /' conftest.$ac_ext >&5
17100
17101 ac_lo= ac_hi=
17102 fi
17103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17104 fi
17105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17106 # Binary search between lo and hi bounds.
17107 while test "x$ac_lo" != "x$ac_hi"; do
17108 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17109 cat >conftest.$ac_ext <<_ACEOF
17110 /* confdefs.h. */
17111 _ACEOF
17112 cat confdefs.h >>conftest.$ac_ext
17113 cat >>conftest.$ac_ext <<_ACEOF
17114 /* end confdefs.h. */
17115 $ac_includes_default
17116 int
17117 main ()
17118 {
17119 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17120 test_array [0] = 0
17121
17122 ;
17123 return 0;
17124 }
17125 _ACEOF
17126 rm -f conftest.$ac_objext
17127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17128 (eval $ac_compile) 2>conftest.er1
17129 ac_status=$?
17130 grep -v '^ *+' conftest.er1 >conftest.err
17131 rm -f conftest.er1
17132 cat conftest.err >&5
17133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17134 (exit $ac_status); } &&
17135 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17137 (eval $ac_try) 2>&5
17138 ac_status=$?
17139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17140 (exit $ac_status); }; } &&
17141 { ac_try='test -s conftest.$ac_objext'
17142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17143 (eval $ac_try) 2>&5
17144 ac_status=$?
17145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17146 (exit $ac_status); }; }; then
17147 ac_hi=$ac_mid
17148 else
17149 echo "$as_me: failed program was:" >&5
17150 sed 's/^/| /' conftest.$ac_ext >&5
17151
17152 ac_lo=`expr '(' $ac_mid ')' + 1`
17153 fi
17154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17155 done
17156 case $ac_lo in
17157 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17158 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17159 See \`config.log' for more details." >&5
17160 echo "$as_me: error: cannot compute sizeof (long long), 77
17161 See \`config.log' for more details." >&2;}
17162 { (exit 1); exit 1; }; } ;;
17163 esac
17164 else
17165 if test "$cross_compiling" = yes; then
17166 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17167 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17168 { (exit 1); exit 1; }; }
17169 else
17170 cat >conftest.$ac_ext <<_ACEOF
17171 /* confdefs.h. */
17172 _ACEOF
17173 cat confdefs.h >>conftest.$ac_ext
17174 cat >>conftest.$ac_ext <<_ACEOF
17175 /* end confdefs.h. */
17176 $ac_includes_default
17177 long longval () { return (long) (sizeof (long long)); }
17178 unsigned long ulongval () { return (long) (sizeof (long long)); }
17179 #include <stdio.h>
17180 #include <stdlib.h>
17181 int
17182 main ()
17183 {
17184
17185 FILE *f = fopen ("conftest.val", "w");
17186 if (! f)
17187 exit (1);
17188 if (((long) (sizeof (long long))) < 0)
17189 {
17190 long i = longval ();
17191 if (i != ((long) (sizeof (long long))))
17192 exit (1);
17193 fprintf (f, "%ld\n", i);
17194 }
17195 else
17196 {
17197 unsigned long i = ulongval ();
17198 if (i != ((long) (sizeof (long long))))
17199 exit (1);
17200 fprintf (f, "%lu\n", i);
17201 }
17202 exit (ferror (f) || fclose (f) != 0);
17203
17204 ;
17205 return 0;
17206 }
17207 _ACEOF
17208 rm -f conftest$ac_exeext
17209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17210 (eval $ac_link) 2>&5
17211 ac_status=$?
17212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17213 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17215 (eval $ac_try) 2>&5
17216 ac_status=$?
17217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17218 (exit $ac_status); }; }; then
17219 ac_cv_sizeof_long_long=`cat conftest.val`
17220 else
17221 echo "$as_me: program exited with status $ac_status" >&5
17222 echo "$as_me: failed program was:" >&5
17223 sed 's/^/| /' conftest.$ac_ext >&5
17224
17225 ( exit $ac_status )
17226 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17227 See \`config.log' for more details." >&5
17228 echo "$as_me: error: cannot compute sizeof (long long), 77
17229 See \`config.log' for more details." >&2;}
17230 { (exit 1); exit 1; }; }
17231 fi
17232 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17233 fi
17234 fi
17235 rm -f conftest.val
17236 else
17237 ac_cv_sizeof_long_long=0
17238 fi
17239 fi
17240 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17241 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17242 cat >>confdefs.h <<_ACEOF
17243 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17244 _ACEOF
17245
17246
17247 ;;
17248 *-hp-hpux* )
17249 echo "$as_me:$LINENO: checking for long long" >&5
17250 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17251 if test "${ac_cv_type_long_long+set}" = set; then
17252 echo $ECHO_N "(cached) $ECHO_C" >&6
17253 else
17254 cat >conftest.$ac_ext <<_ACEOF
17255 /* confdefs.h. */
17256 _ACEOF
17257 cat confdefs.h >>conftest.$ac_ext
17258 cat >>conftest.$ac_ext <<_ACEOF
17259 /* end confdefs.h. */
17260 $ac_includes_default
17261 int
17262 main ()
17263 {
17264 if ((long long *) 0)
17265 return 0;
17266 if (sizeof (long long))
17267 return 0;
17268 ;
17269 return 0;
17270 }
17271 _ACEOF
17272 rm -f conftest.$ac_objext
17273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17274 (eval $ac_compile) 2>conftest.er1
17275 ac_status=$?
17276 grep -v '^ *+' conftest.er1 >conftest.err
17277 rm -f conftest.er1
17278 cat conftest.err >&5
17279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17280 (exit $ac_status); } &&
17281 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
17287 { ac_try='test -s conftest.$ac_objext'
17288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17289 (eval $ac_try) 2>&5
17290 ac_status=$?
17291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17292 (exit $ac_status); }; }; then
17293 ac_cv_type_long_long=yes
17294 else
17295 echo "$as_me: failed program was:" >&5
17296 sed 's/^/| /' conftest.$ac_ext >&5
17297
17298 ac_cv_type_long_long=no
17299 fi
17300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17301 fi
17302 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17303 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17304
17305 echo "$as_me:$LINENO: checking size of long long" >&5
17306 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17307 if test "${ac_cv_sizeof_long_long+set}" = set; then
17308 echo $ECHO_N "(cached) $ECHO_C" >&6
17309 else
17310 if test "$ac_cv_type_long_long" = yes; then
17311 # The cast to unsigned long works around a bug in the HP C Compiler
17312 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17313 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17314 # This bug is HP SR number 8606223364.
17315 if test "$cross_compiling" = yes; then
17316 # Depending upon the size, compute the lo and hi bounds.
17317 cat >conftest.$ac_ext <<_ACEOF
17318 /* confdefs.h. */
17319 _ACEOF
17320 cat confdefs.h >>conftest.$ac_ext
17321 cat >>conftest.$ac_ext <<_ACEOF
17322 /* end confdefs.h. */
17323 $ac_includes_default
17324 int
17325 main ()
17326 {
17327 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17328 test_array [0] = 0
17329
17330 ;
17331 return 0;
17332 }
17333 _ACEOF
17334 rm -f conftest.$ac_objext
17335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17336 (eval $ac_compile) 2>conftest.er1
17337 ac_status=$?
17338 grep -v '^ *+' conftest.er1 >conftest.err
17339 rm -f conftest.er1
17340 cat conftest.err >&5
17341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17342 (exit $ac_status); } &&
17343 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17345 (eval $ac_try) 2>&5
17346 ac_status=$?
17347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17348 (exit $ac_status); }; } &&
17349 { ac_try='test -s conftest.$ac_objext'
17350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17351 (eval $ac_try) 2>&5
17352 ac_status=$?
17353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17354 (exit $ac_status); }; }; then
17355 ac_lo=0 ac_mid=0
17356 while :; do
17357 cat >conftest.$ac_ext <<_ACEOF
17358 /* confdefs.h. */
17359 _ACEOF
17360 cat confdefs.h >>conftest.$ac_ext
17361 cat >>conftest.$ac_ext <<_ACEOF
17362 /* end confdefs.h. */
17363 $ac_includes_default
17364 int
17365 main ()
17366 {
17367 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17368 test_array [0] = 0
17369
17370 ;
17371 return 0;
17372 }
17373 _ACEOF
17374 rm -f conftest.$ac_objext
17375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17376 (eval $ac_compile) 2>conftest.er1
17377 ac_status=$?
17378 grep -v '^ *+' conftest.er1 >conftest.err
17379 rm -f conftest.er1
17380 cat conftest.err >&5
17381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17382 (exit $ac_status); } &&
17383 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17385 (eval $ac_try) 2>&5
17386 ac_status=$?
17387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17388 (exit $ac_status); }; } &&
17389 { ac_try='test -s conftest.$ac_objext'
17390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17391 (eval $ac_try) 2>&5
17392 ac_status=$?
17393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17394 (exit $ac_status); }; }; then
17395 ac_hi=$ac_mid; break
17396 else
17397 echo "$as_me: failed program was:" >&5
17398 sed 's/^/| /' conftest.$ac_ext >&5
17399
17400 ac_lo=`expr $ac_mid + 1`
17401 if test $ac_lo -le $ac_mid; then
17402 ac_lo= ac_hi=
17403 break
17404 fi
17405 ac_mid=`expr 2 '*' $ac_mid + 1`
17406 fi
17407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17408 done
17409 else
17410 echo "$as_me: failed program was:" >&5
17411 sed 's/^/| /' conftest.$ac_ext >&5
17412
17413 cat >conftest.$ac_ext <<_ACEOF
17414 /* confdefs.h. */
17415 _ACEOF
17416 cat confdefs.h >>conftest.$ac_ext
17417 cat >>conftest.$ac_ext <<_ACEOF
17418 /* end confdefs.h. */
17419 $ac_includes_default
17420 int
17421 main ()
17422 {
17423 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17424 test_array [0] = 0
17425
17426 ;
17427 return 0;
17428 }
17429 _ACEOF
17430 rm -f conftest.$ac_objext
17431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17432 (eval $ac_compile) 2>conftest.er1
17433 ac_status=$?
17434 grep -v '^ *+' conftest.er1 >conftest.err
17435 rm -f conftest.er1
17436 cat conftest.err >&5
17437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17438 (exit $ac_status); } &&
17439 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17441 (eval $ac_try) 2>&5
17442 ac_status=$?
17443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17444 (exit $ac_status); }; } &&
17445 { ac_try='test -s conftest.$ac_objext'
17446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17447 (eval $ac_try) 2>&5
17448 ac_status=$?
17449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17450 (exit $ac_status); }; }; then
17451 ac_hi=-1 ac_mid=-1
17452 while :; do
17453 cat >conftest.$ac_ext <<_ACEOF
17454 /* confdefs.h. */
17455 _ACEOF
17456 cat confdefs.h >>conftest.$ac_ext
17457 cat >>conftest.$ac_ext <<_ACEOF
17458 /* end confdefs.h. */
17459 $ac_includes_default
17460 int
17461 main ()
17462 {
17463 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17464 test_array [0] = 0
17465
17466 ;
17467 return 0;
17468 }
17469 _ACEOF
17470 rm -f conftest.$ac_objext
17471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17472 (eval $ac_compile) 2>conftest.er1
17473 ac_status=$?
17474 grep -v '^ *+' conftest.er1 >conftest.err
17475 rm -f conftest.er1
17476 cat conftest.err >&5
17477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17478 (exit $ac_status); } &&
17479 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17481 (eval $ac_try) 2>&5
17482 ac_status=$?
17483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17484 (exit $ac_status); }; } &&
17485 { ac_try='test -s conftest.$ac_objext'
17486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17487 (eval $ac_try) 2>&5
17488 ac_status=$?
17489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17490 (exit $ac_status); }; }; then
17491 ac_lo=$ac_mid; break
17492 else
17493 echo "$as_me: failed program was:" >&5
17494 sed 's/^/| /' conftest.$ac_ext >&5
17495
17496 ac_hi=`expr '(' $ac_mid ')' - 1`
17497 if test $ac_mid -le $ac_hi; then
17498 ac_lo= ac_hi=
17499 break
17500 fi
17501 ac_mid=`expr 2 '*' $ac_mid`
17502 fi
17503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17504 done
17505 else
17506 echo "$as_me: failed program was:" >&5
17507 sed 's/^/| /' conftest.$ac_ext >&5
17508
17509 ac_lo= ac_hi=
17510 fi
17511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17512 fi
17513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17514 # Binary search between lo and hi bounds.
17515 while test "x$ac_lo" != "x$ac_hi"; do
17516 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17517 cat >conftest.$ac_ext <<_ACEOF
17518 /* confdefs.h. */
17519 _ACEOF
17520 cat confdefs.h >>conftest.$ac_ext
17521 cat >>conftest.$ac_ext <<_ACEOF
17522 /* end confdefs.h. */
17523 $ac_includes_default
17524 int
17525 main ()
17526 {
17527 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17528 test_array [0] = 0
17529
17530 ;
17531 return 0;
17532 }
17533 _ACEOF
17534 rm -f conftest.$ac_objext
17535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17536 (eval $ac_compile) 2>conftest.er1
17537 ac_status=$?
17538 grep -v '^ *+' conftest.er1 >conftest.err
17539 rm -f conftest.er1
17540 cat conftest.err >&5
17541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17542 (exit $ac_status); } &&
17543 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17545 (eval $ac_try) 2>&5
17546 ac_status=$?
17547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17548 (exit $ac_status); }; } &&
17549 { ac_try='test -s conftest.$ac_objext'
17550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17551 (eval $ac_try) 2>&5
17552 ac_status=$?
17553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17554 (exit $ac_status); }; }; then
17555 ac_hi=$ac_mid
17556 else
17557 echo "$as_me: failed program was:" >&5
17558 sed 's/^/| /' conftest.$ac_ext >&5
17559
17560 ac_lo=`expr '(' $ac_mid ')' + 1`
17561 fi
17562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17563 done
17564 case $ac_lo in
17565 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17566 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17567 See \`config.log' for more details." >&5
17568 echo "$as_me: error: cannot compute sizeof (long long), 77
17569 See \`config.log' for more details." >&2;}
17570 { (exit 1); exit 1; }; } ;;
17571 esac
17572 else
17573 if test "$cross_compiling" = yes; then
17574 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17575 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17576 { (exit 1); exit 1; }; }
17577 else
17578 cat >conftest.$ac_ext <<_ACEOF
17579 /* confdefs.h. */
17580 _ACEOF
17581 cat confdefs.h >>conftest.$ac_ext
17582 cat >>conftest.$ac_ext <<_ACEOF
17583 /* end confdefs.h. */
17584 $ac_includes_default
17585 long longval () { return (long) (sizeof (long long)); }
17586 unsigned long ulongval () { return (long) (sizeof (long long)); }
17587 #include <stdio.h>
17588 #include <stdlib.h>
17589 int
17590 main ()
17591 {
17592
17593 FILE *f = fopen ("conftest.val", "w");
17594 if (! f)
17595 exit (1);
17596 if (((long) (sizeof (long long))) < 0)
17597 {
17598 long i = longval ();
17599 if (i != ((long) (sizeof (long long))))
17600 exit (1);
17601 fprintf (f, "%ld\n", i);
17602 }
17603 else
17604 {
17605 unsigned long i = ulongval ();
17606 if (i != ((long) (sizeof (long long))))
17607 exit (1);
17608 fprintf (f, "%lu\n", i);
17609 }
17610 exit (ferror (f) || fclose (f) != 0);
17611
17612 ;
17613 return 0;
17614 }
17615 _ACEOF
17616 rm -f conftest$ac_exeext
17617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17618 (eval $ac_link) 2>&5
17619 ac_status=$?
17620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17621 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17623 (eval $ac_try) 2>&5
17624 ac_status=$?
17625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17626 (exit $ac_status); }; }; then
17627 ac_cv_sizeof_long_long=`cat conftest.val`
17628 else
17629 echo "$as_me: program exited with status $ac_status" >&5
17630 echo "$as_me: failed program was:" >&5
17631 sed 's/^/| /' conftest.$ac_ext >&5
17632
17633 ( exit $ac_status )
17634 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17635 See \`config.log' for more details." >&5
17636 echo "$as_me: error: cannot compute sizeof (long long), 77
17637 See \`config.log' for more details." >&2;}
17638 { (exit 1); exit 1; }; }
17639 fi
17640 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17641 fi
17642 fi
17643 rm -f conftest.val
17644 else
17645 ac_cv_sizeof_long_long=0
17646 fi
17647 fi
17648 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17649 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17650 cat >>confdefs.h <<_ACEOF
17651 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17652 _ACEOF
17653
17654
17655 if test "$ac_cv_sizeof_long_long" != "0"; then
17656 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
17657 fi
17658 ;;
17659 * )
17660 echo "$as_me:$LINENO: checking for long long" >&5
17661 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17662 if test "${ac_cv_type_long_long+set}" = set; then
17663 echo $ECHO_N "(cached) $ECHO_C" >&6
17664 else
17665 cat >conftest.$ac_ext <<_ACEOF
17666 /* confdefs.h. */
17667 _ACEOF
17668 cat confdefs.h >>conftest.$ac_ext
17669 cat >>conftest.$ac_ext <<_ACEOF
17670 /* end confdefs.h. */
17671 $ac_includes_default
17672 int
17673 main ()
17674 {
17675 if ((long long *) 0)
17676 return 0;
17677 if (sizeof (long long))
17678 return 0;
17679 ;
17680 return 0;
17681 }
17682 _ACEOF
17683 rm -f conftest.$ac_objext
17684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17685 (eval $ac_compile) 2>conftest.er1
17686 ac_status=$?
17687 grep -v '^ *+' conftest.er1 >conftest.err
17688 rm -f conftest.er1
17689 cat conftest.err >&5
17690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17691 (exit $ac_status); } &&
17692 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
17698 { ac_try='test -s conftest.$ac_objext'
17699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17700 (eval $ac_try) 2>&5
17701 ac_status=$?
17702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17703 (exit $ac_status); }; }; then
17704 ac_cv_type_long_long=yes
17705 else
17706 echo "$as_me: failed program was:" >&5
17707 sed 's/^/| /' conftest.$ac_ext >&5
17708
17709 ac_cv_type_long_long=no
17710 fi
17711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17712 fi
17713 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17714 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17715
17716 echo "$as_me:$LINENO: checking size of long long" >&5
17717 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17718 if test "${ac_cv_sizeof_long_long+set}" = set; then
17719 echo $ECHO_N "(cached) $ECHO_C" >&6
17720 else
17721 if test "$ac_cv_type_long_long" = yes; then
17722 # The cast to unsigned long works around a bug in the HP C Compiler
17723 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17724 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17725 # This bug is HP SR number 8606223364.
17726 if test "$cross_compiling" = yes; then
17727 # Depending upon the size, compute the lo and hi bounds.
17728 cat >conftest.$ac_ext <<_ACEOF
17729 /* confdefs.h. */
17730 _ACEOF
17731 cat confdefs.h >>conftest.$ac_ext
17732 cat >>conftest.$ac_ext <<_ACEOF
17733 /* end confdefs.h. */
17734 $ac_includes_default
17735 int
17736 main ()
17737 {
17738 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17739 test_array [0] = 0
17740
17741 ;
17742 return 0;
17743 }
17744 _ACEOF
17745 rm -f conftest.$ac_objext
17746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17747 (eval $ac_compile) 2>conftest.er1
17748 ac_status=$?
17749 grep -v '^ *+' conftest.er1 >conftest.err
17750 rm -f conftest.er1
17751 cat conftest.err >&5
17752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17753 (exit $ac_status); } &&
17754 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17756 (eval $ac_try) 2>&5
17757 ac_status=$?
17758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17759 (exit $ac_status); }; } &&
17760 { ac_try='test -s conftest.$ac_objext'
17761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17762 (eval $ac_try) 2>&5
17763 ac_status=$?
17764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17765 (exit $ac_status); }; }; then
17766 ac_lo=0 ac_mid=0
17767 while :; do
17768 cat >conftest.$ac_ext <<_ACEOF
17769 /* confdefs.h. */
17770 _ACEOF
17771 cat confdefs.h >>conftest.$ac_ext
17772 cat >>conftest.$ac_ext <<_ACEOF
17773 /* end confdefs.h. */
17774 $ac_includes_default
17775 int
17776 main ()
17777 {
17778 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17779 test_array [0] = 0
17780
17781 ;
17782 return 0;
17783 }
17784 _ACEOF
17785 rm -f conftest.$ac_objext
17786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17787 (eval $ac_compile) 2>conftest.er1
17788 ac_status=$?
17789 grep -v '^ *+' conftest.er1 >conftest.err
17790 rm -f conftest.er1
17791 cat conftest.err >&5
17792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17793 (exit $ac_status); } &&
17794 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17796 (eval $ac_try) 2>&5
17797 ac_status=$?
17798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17799 (exit $ac_status); }; } &&
17800 { ac_try='test -s conftest.$ac_objext'
17801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17802 (eval $ac_try) 2>&5
17803 ac_status=$?
17804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17805 (exit $ac_status); }; }; then
17806 ac_hi=$ac_mid; break
17807 else
17808 echo "$as_me: failed program was:" >&5
17809 sed 's/^/| /' conftest.$ac_ext >&5
17810
17811 ac_lo=`expr $ac_mid + 1`
17812 if test $ac_lo -le $ac_mid; then
17813 ac_lo= ac_hi=
17814 break
17815 fi
17816 ac_mid=`expr 2 '*' $ac_mid + 1`
17817 fi
17818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17819 done
17820 else
17821 echo "$as_me: failed program was:" >&5
17822 sed 's/^/| /' conftest.$ac_ext >&5
17823
17824 cat >conftest.$ac_ext <<_ACEOF
17825 /* confdefs.h. */
17826 _ACEOF
17827 cat confdefs.h >>conftest.$ac_ext
17828 cat >>conftest.$ac_ext <<_ACEOF
17829 /* end confdefs.h. */
17830 $ac_includes_default
17831 int
17832 main ()
17833 {
17834 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17835 test_array [0] = 0
17836
17837 ;
17838 return 0;
17839 }
17840 _ACEOF
17841 rm -f conftest.$ac_objext
17842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17843 (eval $ac_compile) 2>conftest.er1
17844 ac_status=$?
17845 grep -v '^ *+' conftest.er1 >conftest.err
17846 rm -f conftest.er1
17847 cat conftest.err >&5
17848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17849 (exit $ac_status); } &&
17850 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17852 (eval $ac_try) 2>&5
17853 ac_status=$?
17854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17855 (exit $ac_status); }; } &&
17856 { ac_try='test -s conftest.$ac_objext'
17857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17858 (eval $ac_try) 2>&5
17859 ac_status=$?
17860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17861 (exit $ac_status); }; }; then
17862 ac_hi=-1 ac_mid=-1
17863 while :; do
17864 cat >conftest.$ac_ext <<_ACEOF
17865 /* confdefs.h. */
17866 _ACEOF
17867 cat confdefs.h >>conftest.$ac_ext
17868 cat >>conftest.$ac_ext <<_ACEOF
17869 /* end confdefs.h. */
17870 $ac_includes_default
17871 int
17872 main ()
17873 {
17874 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17875 test_array [0] = 0
17876
17877 ;
17878 return 0;
17879 }
17880 _ACEOF
17881 rm -f conftest.$ac_objext
17882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17883 (eval $ac_compile) 2>conftest.er1
17884 ac_status=$?
17885 grep -v '^ *+' conftest.er1 >conftest.err
17886 rm -f conftest.er1
17887 cat conftest.err >&5
17888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17889 (exit $ac_status); } &&
17890 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17892 (eval $ac_try) 2>&5
17893 ac_status=$?
17894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17895 (exit $ac_status); }; } &&
17896 { ac_try='test -s conftest.$ac_objext'
17897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17898 (eval $ac_try) 2>&5
17899 ac_status=$?
17900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17901 (exit $ac_status); }; }; then
17902 ac_lo=$ac_mid; break
17903 else
17904 echo "$as_me: failed program was:" >&5
17905 sed 's/^/| /' conftest.$ac_ext >&5
17906
17907 ac_hi=`expr '(' $ac_mid ')' - 1`
17908 if test $ac_mid -le $ac_hi; then
17909 ac_lo= ac_hi=
17910 break
17911 fi
17912 ac_mid=`expr 2 '*' $ac_mid`
17913 fi
17914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17915 done
17916 else
17917 echo "$as_me: failed program was:" >&5
17918 sed 's/^/| /' conftest.$ac_ext >&5
17919
17920 ac_lo= ac_hi=
17921 fi
17922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17923 fi
17924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17925 # Binary search between lo and hi bounds.
17926 while test "x$ac_lo" != "x$ac_hi"; do
17927 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17928 cat >conftest.$ac_ext <<_ACEOF
17929 /* confdefs.h. */
17930 _ACEOF
17931 cat confdefs.h >>conftest.$ac_ext
17932 cat >>conftest.$ac_ext <<_ACEOF
17933 /* end confdefs.h. */
17934 $ac_includes_default
17935 int
17936 main ()
17937 {
17938 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17939 test_array [0] = 0
17940
17941 ;
17942 return 0;
17943 }
17944 _ACEOF
17945 rm -f conftest.$ac_objext
17946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17947 (eval $ac_compile) 2>conftest.er1
17948 ac_status=$?
17949 grep -v '^ *+' conftest.er1 >conftest.err
17950 rm -f conftest.er1
17951 cat conftest.err >&5
17952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17953 (exit $ac_status); } &&
17954 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17956 (eval $ac_try) 2>&5
17957 ac_status=$?
17958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17959 (exit $ac_status); }; } &&
17960 { ac_try='test -s conftest.$ac_objext'
17961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17962 (eval $ac_try) 2>&5
17963 ac_status=$?
17964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17965 (exit $ac_status); }; }; then
17966 ac_hi=$ac_mid
17967 else
17968 echo "$as_me: failed program was:" >&5
17969 sed 's/^/| /' conftest.$ac_ext >&5
17970
17971 ac_lo=`expr '(' $ac_mid ')' + 1`
17972 fi
17973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17974 done
17975 case $ac_lo in
17976 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17977 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17978 See \`config.log' for more details." >&5
17979 echo "$as_me: error: cannot compute sizeof (long long), 77
17980 See \`config.log' for more details." >&2;}
17981 { (exit 1); exit 1; }; } ;;
17982 esac
17983 else
17984 if test "$cross_compiling" = yes; then
17985 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17986 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17987 { (exit 1); exit 1; }; }
17988 else
17989 cat >conftest.$ac_ext <<_ACEOF
17990 /* confdefs.h. */
17991 _ACEOF
17992 cat confdefs.h >>conftest.$ac_ext
17993 cat >>conftest.$ac_ext <<_ACEOF
17994 /* end confdefs.h. */
17995 $ac_includes_default
17996 long longval () { return (long) (sizeof (long long)); }
17997 unsigned long ulongval () { return (long) (sizeof (long long)); }
17998 #include <stdio.h>
17999 #include <stdlib.h>
18000 int
18001 main ()
18002 {
18003
18004 FILE *f = fopen ("conftest.val", "w");
18005 if (! f)
18006 exit (1);
18007 if (((long) (sizeof (long long))) < 0)
18008 {
18009 long i = longval ();
18010 if (i != ((long) (sizeof (long long))))
18011 exit (1);
18012 fprintf (f, "%ld\n", i);
18013 }
18014 else
18015 {
18016 unsigned long i = ulongval ();
18017 if (i != ((long) (sizeof (long long))))
18018 exit (1);
18019 fprintf (f, "%lu\n", i);
18020 }
18021 exit (ferror (f) || fclose (f) != 0);
18022
18023 ;
18024 return 0;
18025 }
18026 _ACEOF
18027 rm -f conftest$ac_exeext
18028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18029 (eval $ac_link) 2>&5
18030 ac_status=$?
18031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18032 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18034 (eval $ac_try) 2>&5
18035 ac_status=$?
18036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18037 (exit $ac_status); }; }; then
18038 ac_cv_sizeof_long_long=`cat conftest.val`
18039 else
18040 echo "$as_me: program exited with status $ac_status" >&5
18041 echo "$as_me: failed program was:" >&5
18042 sed 's/^/| /' conftest.$ac_ext >&5
18043
18044 ( exit $ac_status )
18045 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18046 See \`config.log' for more details." >&5
18047 echo "$as_me: error: cannot compute sizeof (long long), 77
18048 See \`config.log' for more details." >&2;}
18049 { (exit 1); exit 1; }; }
18050 fi
18051 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18052 fi
18053 fi
18054 rm -f conftest.val
18055 else
18056 ac_cv_sizeof_long_long=0
18057 fi
18058 fi
18059 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18060 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18061 cat >>confdefs.h <<_ACEOF
18062 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18063 _ACEOF
18064
18065
18066 esac
18067
18068 echo "$as_me:$LINENO: checking size of wchar_t" >&5
18069 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
18070 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
18071 echo $ECHO_N "(cached) $ECHO_C" >&6
18072 else
18073
18074 if test "$cross_compiling" = yes; then
18075
18076 case "${host}" in
18077 *-pc-msdosdjgpp )
18078 wx_cv_sizeof_wchar_t=0
18079 ;;
18080 * )
18081 wx_cv_sizeof_wchar_t=4
18082 ;;
18083 esac
18084
18085
18086 else
18087 cat >conftest.$ac_ext <<_ACEOF
18088 /* confdefs.h. */
18089 _ACEOF
18090 cat confdefs.h >>conftest.$ac_ext
18091 cat >>conftest.$ac_ext <<_ACEOF
18092 /* end confdefs.h. */
18093
18094 /* DJGPP only has fake wchar_t: */
18095 #ifdef __DJGPP__
18096 # error "fake wchar_t"
18097 #endif
18098 #ifdef HAVE_WCHAR_H
18099 # ifdef __CYGWIN__
18100 # include <stddef.h>
18101 # endif
18102 # include <wchar.h>
18103 #endif
18104 #ifdef HAVE_STDLIB_H
18105 # include <stdlib.h>
18106 #endif
18107 #include <stdio.h>
18108 int main()
18109 {
18110 FILE *f=fopen("conftestval", "w");
18111 if (!f) exit(1);
18112 fprintf(f, "%i", sizeof(wchar_t));
18113 exit(0);
18114 }
18115
18116 _ACEOF
18117 rm -f conftest$ac_exeext
18118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18119 (eval $ac_link) 2>&5
18120 ac_status=$?
18121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18122 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18124 (eval $ac_try) 2>&5
18125 ac_status=$?
18126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18127 (exit $ac_status); }; }; then
18128 wx_cv_sizeof_wchar_t=`cat conftestval`
18129 else
18130 echo "$as_me: program exited with status $ac_status" >&5
18131 echo "$as_me: failed program was:" >&5
18132 sed 's/^/| /' conftest.$ac_ext >&5
18133
18134 ( exit $ac_status )
18135 wx_cv_sizeof_wchar_t=0
18136 fi
18137 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18138 fi
18139
18140 fi
18141 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18142 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18143
18144 cat >>confdefs.h <<_ACEOF
18145 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18146 _ACEOF
18147
18148
18149 echo "$as_me:$LINENO: checking for va_copy" >&5
18150 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
18151 if test "${wx_cv_func_va_copy+set}" = set; then
18152 echo $ECHO_N "(cached) $ECHO_C" >&6
18153 else
18154
18155 cat >conftest.$ac_ext <<_ACEOF
18156
18157 #include <stdarg.h>
18158 void foo(char *f, ...)
18159 {
18160 va_list ap1, ap2;
18161 va_start(ap1, f);
18162 va_copy(ap2, ap1);
18163 va_end(ap2);
18164 va_end(ap1);
18165 }
18166 _ACEOF
18167 rm -f conftest.$ac_objext conftest$ac_exeext
18168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18169 (eval $ac_link) 2>conftest.er1
18170 ac_status=$?
18171 grep -v '^ *+' conftest.er1 >conftest.err
18172 rm -f conftest.er1
18173 cat conftest.err >&5
18174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18175 (exit $ac_status); } &&
18176 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18178 (eval $ac_try) 2>&5
18179 ac_status=$?
18180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18181 (exit $ac_status); }; } &&
18182 { ac_try='test -s conftest$ac_exeext'
18183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18184 (eval $ac_try) 2>&5
18185 ac_status=$?
18186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18187 (exit $ac_status); }; }; then
18188 wx_cv_func_va_copy=yes
18189 else
18190 echo "$as_me: failed program was:" >&5
18191 sed 's/^/| /' conftest.$ac_ext >&5
18192
18193 wx_cv_func_va_copy=no
18194
18195 fi
18196 rm -f conftest.err conftest.$ac_objext \
18197 conftest$ac_exeext conftest.$ac_ext
18198
18199
18200 fi
18201 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
18202 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
18203
18204 if test $wx_cv_func_va_copy = "yes"; then
18205 cat >>confdefs.h <<\_ACEOF
18206 #define HAVE_VA_COPY 1
18207 _ACEOF
18208
18209 else
18210 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
18211 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
18212 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
18213 echo $ECHO_N "(cached) $ECHO_C" >&6
18214 else
18215
18216 if test "$cross_compiling" = yes; then
18217 wx_cv_type_va_list_lvalue=yes
18218
18219 else
18220 cat >conftest.$ac_ext <<_ACEOF
18221
18222 #include <stdarg.h>
18223 int foo(char *f, ...)
18224 {
18225 va_list ap1, ap2;
18226 va_start(ap1, f);
18227 ap2 = ap1;
18228 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
18229 return 1;
18230 va_end(ap2);
18231 va_end(ap1);
18232 return 0;
18233 }
18234 int main()
18235 {
18236 return foo("hi", 17);
18237 }
18238 _ACEOF
18239 rm -f conftest$ac_exeext
18240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18241 (eval $ac_link) 2>&5
18242 ac_status=$?
18243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18244 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18246 (eval $ac_try) 2>&5
18247 ac_status=$?
18248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18249 (exit $ac_status); }; }; then
18250 wx_cv_type_va_list_lvalue=yes
18251 else
18252 echo "$as_me: program exited with status $ac_status" >&5
18253 echo "$as_me: failed program was:" >&5
18254 sed 's/^/| /' conftest.$ac_ext >&5
18255
18256 ( exit $ac_status )
18257 wx_cv_type_va_list_lvalue=no
18258 fi
18259 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18260 fi
18261
18262
18263 fi
18264 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
18265 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
18266
18267 if test $wx_cv_type_va_list_lvalue != "yes"; then
18268 cat >>confdefs.h <<\_ACEOF
18269 #define VA_LIST_IS_ARRAY 1
18270 _ACEOF
18271
18272 fi
18273 fi
18274
18275 # Check whether --enable-largefile or --disable-largefile was given.
18276 if test "${enable_largefile+set}" = set; then
18277 enableval="$enable_largefile"
18278
18279 fi;
18280 if test "$enable_largefile" != no; then
18281 wx_largefile=no
18282
18283 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18284 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18285 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18286 echo $ECHO_N "(cached) $ECHO_C" >&6
18287 else
18288
18289 cat >conftest.$ac_ext <<_ACEOF
18290 /* confdefs.h. */
18291 _ACEOF
18292 cat confdefs.h >>conftest.$ac_ext
18293 cat >>conftest.$ac_ext <<_ACEOF
18294 /* end confdefs.h. */
18295 #define _FILE_OFFSET_BITS 64
18296 #include <sys/types.h>
18297 int
18298 main ()
18299 {
18300 typedef struct {
18301 unsigned int field: sizeof(off_t) == 8;
18302 } wxlf;
18303
18304 ;
18305 return 0;
18306 }
18307 _ACEOF
18308 rm -f conftest.$ac_objext
18309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18310 (eval $ac_compile) 2>conftest.er1
18311 ac_status=$?
18312 grep -v '^ *+' conftest.er1 >conftest.err
18313 rm -f conftest.er1
18314 cat conftest.err >&5
18315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18316 (exit $ac_status); } &&
18317 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18319 (eval $ac_try) 2>&5
18320 ac_status=$?
18321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18322 (exit $ac_status); }; } &&
18323 { ac_try='test -s conftest.$ac_objext'
18324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18325 (eval $ac_try) 2>&5
18326 ac_status=$?
18327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18328 (exit $ac_status); }; }; then
18329 ac_cv_sys_file_offset_bits=64
18330 else
18331 echo "$as_me: failed program was:" >&5
18332 sed 's/^/| /' conftest.$ac_ext >&5
18333
18334 ac_cv_sys_file_offset_bits=no
18335 fi
18336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18337
18338
18339 fi
18340 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18341 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18342
18343 if test "$ac_cv_sys_file_offset_bits" != no; then
18344 wx_largefile=yes
18345 cat >>confdefs.h <<_ACEOF
18346 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18347 _ACEOF
18348
18349 fi
18350
18351 if test "x$wx_largefile" != "xyes"; then
18352
18353 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18354 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18355 if test "${ac_cv_sys_large_files+set}" = set; then
18356 echo $ECHO_N "(cached) $ECHO_C" >&6
18357 else
18358
18359 cat >conftest.$ac_ext <<_ACEOF
18360 /* confdefs.h. */
18361 _ACEOF
18362 cat confdefs.h >>conftest.$ac_ext
18363 cat >>conftest.$ac_ext <<_ACEOF
18364 /* end confdefs.h. */
18365 #define _LARGE_FILES 1
18366 #include <sys/types.h>
18367 int
18368 main ()
18369 {
18370 typedef struct {
18371 unsigned int field: sizeof(off_t) == 8;
18372 } wxlf;
18373
18374 ;
18375 return 0;
18376 }
18377 _ACEOF
18378 rm -f conftest.$ac_objext
18379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18380 (eval $ac_compile) 2>conftest.er1
18381 ac_status=$?
18382 grep -v '^ *+' conftest.er1 >conftest.err
18383 rm -f conftest.er1
18384 cat conftest.err >&5
18385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18386 (exit $ac_status); } &&
18387 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18389 (eval $ac_try) 2>&5
18390 ac_status=$?
18391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18392 (exit $ac_status); }; } &&
18393 { ac_try='test -s conftest.$ac_objext'
18394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18395 (eval $ac_try) 2>&5
18396 ac_status=$?
18397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18398 (exit $ac_status); }; }; then
18399 ac_cv_sys_large_files=1
18400 else
18401 echo "$as_me: failed program was:" >&5
18402 sed 's/^/| /' conftest.$ac_ext >&5
18403
18404 ac_cv_sys_large_files=no
18405 fi
18406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18407
18408
18409 fi
18410 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18411 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18412
18413 if test "$ac_cv_sys_large_files" != no; then
18414 wx_largefile=yes
18415 cat >>confdefs.h <<_ACEOF
18416 #define _LARGE_FILES $ac_cv_sys_large_files
18417 _ACEOF
18418
18419 fi
18420
18421 fi
18422
18423 echo "$as_me:$LINENO: checking if large file support is available" >&5
18424 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18425 if test "x$wx_largefile" = "xyes"; then
18426 cat >>confdefs.h <<\_ACEOF
18427 #define HAVE_LARGEFILE_SUPPORT 1
18428 _ACEOF
18429
18430 fi
18431 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18432 echo "${ECHO_T}$wx_largefile" >&6
18433 fi
18434
18435
18436 if test "x$wx_largefile" = "xyes"; then
18437 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18438 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18439 else
18440 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
18441 fi
18442 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18443 fi
18444
18445 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18446 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18447 if test "${ac_cv_c_bigendian+set}" = set; then
18448 echo $ECHO_N "(cached) $ECHO_C" >&6
18449 else
18450 ac_cv_c_bigendian=unknown
18451 # See if sys/param.h defines the BYTE_ORDER macro.
18452 cat >conftest.$ac_ext <<_ACEOF
18453 /* confdefs.h. */
18454 _ACEOF
18455 cat confdefs.h >>conftest.$ac_ext
18456 cat >>conftest.$ac_ext <<_ACEOF
18457 /* end confdefs.h. */
18458 #include <sys/types.h>
18459 #include <sys/param.h>
18460 int
18461 main ()
18462 {
18463
18464 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18465 bogus endian macros
18466 #endif
18467 ;
18468 return 0;
18469 }
18470 _ACEOF
18471 rm -f conftest.$ac_objext
18472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18473 (eval $ac_compile) 2>conftest.er1
18474 ac_status=$?
18475 grep -v '^ *+' conftest.er1 >conftest.err
18476 rm -f conftest.er1
18477 cat conftest.err >&5
18478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18479 (exit $ac_status); } &&
18480 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18482 (eval $ac_try) 2>&5
18483 ac_status=$?
18484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18485 (exit $ac_status); }; } &&
18486 { ac_try='test -s conftest.$ac_objext'
18487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18488 (eval $ac_try) 2>&5
18489 ac_status=$?
18490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18491 (exit $ac_status); }; }; then
18492 # It does; now see whether it defined to BIG_ENDIAN or not.
18493 cat >conftest.$ac_ext <<_ACEOF
18494 /* confdefs.h. */
18495 _ACEOF
18496 cat confdefs.h >>conftest.$ac_ext
18497 cat >>conftest.$ac_ext <<_ACEOF
18498 /* end confdefs.h. */
18499 #include <sys/types.h>
18500 #include <sys/param.h>
18501 int
18502 main ()
18503 {
18504
18505 #if BYTE_ORDER != BIG_ENDIAN
18506 not big endian
18507 #endif
18508 ;
18509 return 0;
18510 }
18511 _ACEOF
18512 rm -f conftest.$ac_objext
18513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18514 (eval $ac_compile) 2>conftest.er1
18515 ac_status=$?
18516 grep -v '^ *+' conftest.er1 >conftest.err
18517 rm -f conftest.er1
18518 cat conftest.err >&5
18519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18520 (exit $ac_status); } &&
18521 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18523 (eval $ac_try) 2>&5
18524 ac_status=$?
18525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18526 (exit $ac_status); }; } &&
18527 { ac_try='test -s conftest.$ac_objext'
18528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18529 (eval $ac_try) 2>&5
18530 ac_status=$?
18531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18532 (exit $ac_status); }; }; then
18533 ac_cv_c_bigendian=yes
18534 else
18535 echo "$as_me: failed program was:" >&5
18536 sed 's/^/| /' conftest.$ac_ext >&5
18537
18538 ac_cv_c_bigendian=no
18539 fi
18540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18541 else
18542 echo "$as_me: failed program was:" >&5
18543 sed 's/^/| /' conftest.$ac_ext >&5
18544
18545 fi
18546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18547 if test $ac_cv_c_bigendian = unknown; then
18548 if test "$cross_compiling" = yes; then
18549 ac_cv_c_bigendian=unknown
18550 else
18551 cat >conftest.$ac_ext <<_ACEOF
18552 /* confdefs.h. */
18553 _ACEOF
18554 cat confdefs.h >>conftest.$ac_ext
18555 cat >>conftest.$ac_ext <<_ACEOF
18556 /* end confdefs.h. */
18557 main () {
18558 /* Are we little or big endian? From Harbison&Steele. */
18559 union
18560 {
18561 long l;
18562 char c[sizeof (long)];
18563 } u;
18564 u.l = 1;
18565 exit (u.c[sizeof (long) - 1] == 1);
18566 }
18567 _ACEOF
18568 rm -f conftest$ac_exeext
18569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18570 (eval $ac_link) 2>&5
18571 ac_status=$?
18572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18573 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18575 (eval $ac_try) 2>&5
18576 ac_status=$?
18577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18578 (exit $ac_status); }; }; then
18579 ac_cv_c_bigendian=no
18580 else
18581 echo "$as_me: program exited with status $ac_status" >&5
18582 echo "$as_me: failed program was:" >&5
18583 sed 's/^/| /' conftest.$ac_ext >&5
18584
18585 ( exit $ac_status )
18586 ac_cv_c_bigendian=yes
18587 fi
18588 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18589 fi
18590 fi
18591 fi
18592 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18593 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
18594 if test $ac_cv_c_bigendian = unknown; then
18595 { 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
18596 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;}
18597 fi
18598 if test $ac_cv_c_bigendian = yes; then
18599 cat >>confdefs.h <<\_ACEOF
18600 #define WORDS_BIGENDIAN 1
18601 _ACEOF
18602
18603 fi
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 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
18612 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
18613 if test -z "$CXXCPP"; then
18614 if test "${ac_cv_prog_CXXCPP+set}" = set; then
18615 echo $ECHO_N "(cached) $ECHO_C" >&6
18616 else
18617 # Double quotes because CXXCPP needs to be expanded
18618 for CXXCPP in "$CXX -E" "/lib/cpp"
18619 do
18620 ac_preproc_ok=false
18621 for ac_cxx_preproc_warn_flag in '' yes
18622 do
18623 # Use a header file that comes with gcc, so configuring glibc
18624 # with a fresh cross-compiler works.
18625 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18626 # <limits.h> exists even on freestanding compilers.
18627 # On the NeXT, cc -E runs the code through the compiler's parser,
18628 # not just through cpp. "Syntax error" is here to catch this case.
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 #ifdef __STDC__
18636 # include <limits.h>
18637 #else
18638 # include <assert.h>
18639 #endif
18640 Syntax error
18641 _ACEOF
18642 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18643 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18644 ac_status=$?
18645 grep -v '^ *+' conftest.er1 >conftest.err
18646 rm -f conftest.er1
18647 cat conftest.err >&5
18648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18649 (exit $ac_status); } >/dev/null; then
18650 if test -s conftest.err; then
18651 ac_cpp_err=$ac_cxx_preproc_warn_flag
18652 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18653 else
18654 ac_cpp_err=
18655 fi
18656 else
18657 ac_cpp_err=yes
18658 fi
18659 if test -z "$ac_cpp_err"; then
18660 :
18661 else
18662 echo "$as_me: failed program was:" >&5
18663 sed 's/^/| /' conftest.$ac_ext >&5
18664
18665 # Broken: fails on valid input.
18666 continue
18667 fi
18668 rm -f conftest.err conftest.$ac_ext
18669
18670 # OK, works on sane cases. Now check whether non-existent headers
18671 # can be detected and how.
18672 cat >conftest.$ac_ext <<_ACEOF
18673 /* confdefs.h. */
18674 _ACEOF
18675 cat confdefs.h >>conftest.$ac_ext
18676 cat >>conftest.$ac_ext <<_ACEOF
18677 /* end confdefs.h. */
18678 #include <ac_nonexistent.h>
18679 _ACEOF
18680 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18681 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18682 ac_status=$?
18683 grep -v '^ *+' conftest.er1 >conftest.err
18684 rm -f conftest.er1
18685 cat conftest.err >&5
18686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18687 (exit $ac_status); } >/dev/null; then
18688 if test -s conftest.err; then
18689 ac_cpp_err=$ac_cxx_preproc_warn_flag
18690 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18691 else
18692 ac_cpp_err=
18693 fi
18694 else
18695 ac_cpp_err=yes
18696 fi
18697 if test -z "$ac_cpp_err"; then
18698 # Broken: success on invalid input.
18699 continue
18700 else
18701 echo "$as_me: failed program was:" >&5
18702 sed 's/^/| /' conftest.$ac_ext >&5
18703
18704 # Passes both tests.
18705 ac_preproc_ok=:
18706 break
18707 fi
18708 rm -f conftest.err conftest.$ac_ext
18709
18710 done
18711 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18712 rm -f conftest.err conftest.$ac_ext
18713 if $ac_preproc_ok; then
18714 break
18715 fi
18716
18717 done
18718 ac_cv_prog_CXXCPP=$CXXCPP
18719
18720 fi
18721 CXXCPP=$ac_cv_prog_CXXCPP
18722 else
18723 ac_cv_prog_CXXCPP=$CXXCPP
18724 fi
18725 echo "$as_me:$LINENO: result: $CXXCPP" >&5
18726 echo "${ECHO_T}$CXXCPP" >&6
18727 ac_preproc_ok=false
18728 for ac_cxx_preproc_warn_flag in '' yes
18729 do
18730 # Use a header file that comes with gcc, so configuring glibc
18731 # with a fresh cross-compiler works.
18732 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18733 # <limits.h> exists even on freestanding compilers.
18734 # On the NeXT, cc -E runs the code through the compiler's parser,
18735 # not just through cpp. "Syntax error" is here to catch this case.
18736 cat >conftest.$ac_ext <<_ACEOF
18737 /* confdefs.h. */
18738 _ACEOF
18739 cat confdefs.h >>conftest.$ac_ext
18740 cat >>conftest.$ac_ext <<_ACEOF
18741 /* end confdefs.h. */
18742 #ifdef __STDC__
18743 # include <limits.h>
18744 #else
18745 # include <assert.h>
18746 #endif
18747 Syntax error
18748 _ACEOF
18749 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18750 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18751 ac_status=$?
18752 grep -v '^ *+' conftest.er1 >conftest.err
18753 rm -f conftest.er1
18754 cat conftest.err >&5
18755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18756 (exit $ac_status); } >/dev/null; then
18757 if test -s conftest.err; then
18758 ac_cpp_err=$ac_cxx_preproc_warn_flag
18759 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18760 else
18761 ac_cpp_err=
18762 fi
18763 else
18764 ac_cpp_err=yes
18765 fi
18766 if test -z "$ac_cpp_err"; then
18767 :
18768 else
18769 echo "$as_me: failed program was:" >&5
18770 sed 's/^/| /' conftest.$ac_ext >&5
18771
18772 # Broken: fails on valid input.
18773 continue
18774 fi
18775 rm -f conftest.err conftest.$ac_ext
18776
18777 # OK, works on sane cases. Now check whether non-existent headers
18778 # can be detected and how.
18779 cat >conftest.$ac_ext <<_ACEOF
18780 /* confdefs.h. */
18781 _ACEOF
18782 cat confdefs.h >>conftest.$ac_ext
18783 cat >>conftest.$ac_ext <<_ACEOF
18784 /* end confdefs.h. */
18785 #include <ac_nonexistent.h>
18786 _ACEOF
18787 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18788 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18789 ac_status=$?
18790 grep -v '^ *+' conftest.er1 >conftest.err
18791 rm -f conftest.er1
18792 cat conftest.err >&5
18793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18794 (exit $ac_status); } >/dev/null; then
18795 if test -s conftest.err; then
18796 ac_cpp_err=$ac_cxx_preproc_warn_flag
18797 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18798 else
18799 ac_cpp_err=
18800 fi
18801 else
18802 ac_cpp_err=yes
18803 fi
18804 if test -z "$ac_cpp_err"; then
18805 # Broken: success on invalid input.
18806 continue
18807 else
18808 echo "$as_me: failed program was:" >&5
18809 sed 's/^/| /' conftest.$ac_ext >&5
18810
18811 # Passes both tests.
18812 ac_preproc_ok=:
18813 break
18814 fi
18815 rm -f conftest.err conftest.$ac_ext
18816
18817 done
18818 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18819 rm -f conftest.err conftest.$ac_ext
18820 if $ac_preproc_ok; then
18821 :
18822 else
18823 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18824 See \`config.log' for more details." >&5
18825 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18826 See \`config.log' for more details." >&2;}
18827 { (exit 1); exit 1; }; }
18828 fi
18829
18830 ac_ext=cc
18831 ac_cpp='$CXXCPP $CPPFLAGS'
18832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18835
18836
18837
18838
18839
18840 ac_ext=cc
18841 ac_cpp='$CXXCPP $CPPFLAGS'
18842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18845
18846
18847
18848 for ac_header in iostream
18849 do
18850 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18851 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18852 echo "$as_me:$LINENO: checking for $ac_header" >&5
18853 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18854 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18855 echo $ECHO_N "(cached) $ECHO_C" >&6
18856 fi
18857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18858 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18859 else
18860 # Is the header compilable?
18861 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18862 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18863 cat >conftest.$ac_ext <<_ACEOF
18864 /* confdefs.h. */
18865 _ACEOF
18866 cat confdefs.h >>conftest.$ac_ext
18867 cat >>conftest.$ac_ext <<_ACEOF
18868 /* end confdefs.h. */
18869 $ac_includes_default
18870 #include <$ac_header>
18871 _ACEOF
18872 rm -f conftest.$ac_objext
18873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18874 (eval $ac_compile) 2>conftest.er1
18875 ac_status=$?
18876 grep -v '^ *+' conftest.er1 >conftest.err
18877 rm -f conftest.er1
18878 cat conftest.err >&5
18879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18880 (exit $ac_status); } &&
18881 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18883 (eval $ac_try) 2>&5
18884 ac_status=$?
18885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18886 (exit $ac_status); }; } &&
18887 { ac_try='test -s conftest.$ac_objext'
18888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18889 (eval $ac_try) 2>&5
18890 ac_status=$?
18891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18892 (exit $ac_status); }; }; then
18893 ac_header_compiler=yes
18894 else
18895 echo "$as_me: failed program was:" >&5
18896 sed 's/^/| /' conftest.$ac_ext >&5
18897
18898 ac_header_compiler=no
18899 fi
18900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18901 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18902 echo "${ECHO_T}$ac_header_compiler" >&6
18903
18904 # Is the header present?
18905 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18906 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18907 cat >conftest.$ac_ext <<_ACEOF
18908 /* confdefs.h. */
18909 _ACEOF
18910 cat confdefs.h >>conftest.$ac_ext
18911 cat >>conftest.$ac_ext <<_ACEOF
18912 /* end confdefs.h. */
18913 #include <$ac_header>
18914 _ACEOF
18915 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18916 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18917 ac_status=$?
18918 grep -v '^ *+' conftest.er1 >conftest.err
18919 rm -f conftest.er1
18920 cat conftest.err >&5
18921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18922 (exit $ac_status); } >/dev/null; then
18923 if test -s conftest.err; then
18924 ac_cpp_err=$ac_cxx_preproc_warn_flag
18925 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18926 else
18927 ac_cpp_err=
18928 fi
18929 else
18930 ac_cpp_err=yes
18931 fi
18932 if test -z "$ac_cpp_err"; then
18933 ac_header_preproc=yes
18934 else
18935 echo "$as_me: failed program was:" >&5
18936 sed 's/^/| /' conftest.$ac_ext >&5
18937
18938 ac_header_preproc=no
18939 fi
18940 rm -f conftest.err conftest.$ac_ext
18941 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18942 echo "${ECHO_T}$ac_header_preproc" >&6
18943
18944 # So? What about this header?
18945 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18946 yes:no: )
18947 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18948 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18949 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18950 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18951 ac_header_preproc=yes
18952 ;;
18953 no:yes:* )
18954 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18955 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18956 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18957 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18958 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18959 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18960 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18961 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18962 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18963 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18964 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18965 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18966 (
18967 cat <<\_ASBOX
18968 ## ----------------------------------------- ##
18969 ## Report this to wx-dev@lists.wxwidgets.org ##
18970 ## ----------------------------------------- ##
18971 _ASBOX
18972 ) |
18973 sed "s/^/$as_me: WARNING: /" >&2
18974 ;;
18975 esac
18976 echo "$as_me:$LINENO: checking for $ac_header" >&5
18977 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18978 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18979 echo $ECHO_N "(cached) $ECHO_C" >&6
18980 else
18981 eval "$as_ac_Header=\$ac_header_preproc"
18982 fi
18983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18984 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18985
18986 fi
18987 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18988 cat >>confdefs.h <<_ACEOF
18989 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18990 _ACEOF
18991
18992 fi
18993
18994 done
18995
18996
18997 if test "$ac_cv_header_iostream" = "yes" ; then
18998 :
18999 else
19000 cat >>confdefs.h <<\_ACEOF
19001 #define wxUSE_IOSTREAMH 1
19002 _ACEOF
19003
19004 fi
19005
19006 ac_ext=c
19007 ac_cpp='$CPP $CPPFLAGS'
19008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19011
19012
19013
19014
19015 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
19016 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
19017 if test "${wx_cv_cpp_bool+set}" = set; then
19018 echo $ECHO_N "(cached) $ECHO_C" >&6
19019 else
19020
19021
19022
19023 ac_ext=cc
19024 ac_cpp='$CXXCPP $CPPFLAGS'
19025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19028
19029
19030 cat >conftest.$ac_ext <<_ACEOF
19031 /* confdefs.h. */
19032 _ACEOF
19033 cat confdefs.h >>conftest.$ac_ext
19034 cat >>conftest.$ac_ext <<_ACEOF
19035 /* end confdefs.h. */
19036
19037
19038 int
19039 main ()
19040 {
19041
19042 bool b = true;
19043
19044 return 0;
19045
19046 ;
19047 return 0;
19048 }
19049 _ACEOF
19050 rm -f conftest.$ac_objext
19051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19052 (eval $ac_compile) 2>conftest.er1
19053 ac_status=$?
19054 grep -v '^ *+' conftest.er1 >conftest.err
19055 rm -f conftest.er1
19056 cat conftest.err >&5
19057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19058 (exit $ac_status); } &&
19059 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19061 (eval $ac_try) 2>&5
19062 ac_status=$?
19063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19064 (exit $ac_status); }; } &&
19065 { ac_try='test -s conftest.$ac_objext'
19066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19067 (eval $ac_try) 2>&5
19068 ac_status=$?
19069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19070 (exit $ac_status); }; }; then
19071
19072 wx_cv_cpp_bool=yes
19073
19074 else
19075 echo "$as_me: failed program was:" >&5
19076 sed 's/^/| /' conftest.$ac_ext >&5
19077
19078
19079 wx_cv_cpp_bool=no
19080
19081
19082 fi
19083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19084
19085 ac_ext=c
19086 ac_cpp='$CPP $CPPFLAGS'
19087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19090
19091
19092 fi
19093 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
19094 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
19095
19096 if test "$wx_cv_cpp_bool" = "yes"; then
19097 cat >>confdefs.h <<\_ACEOF
19098 #define HAVE_BOOL 1
19099 _ACEOF
19100
19101 fi
19102
19103
19104
19105 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
19106 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
19107 if test "${wx_cv_explicit+set}" = set; then
19108 echo $ECHO_N "(cached) $ECHO_C" >&6
19109 else
19110
19111
19112
19113 ac_ext=cc
19114 ac_cpp='$CXXCPP $CPPFLAGS'
19115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19118
19119
19120 cat >conftest.$ac_ext <<_ACEOF
19121 /* confdefs.h. */
19122 _ACEOF
19123 cat confdefs.h >>conftest.$ac_ext
19124 cat >>conftest.$ac_ext <<_ACEOF
19125 /* end confdefs.h. */
19126
19127 class Foo { public: explicit Foo(int) {} };
19128
19129 int
19130 main ()
19131 {
19132
19133 return 0;
19134
19135 ;
19136 return 0;
19137 }
19138 _ACEOF
19139 rm -f conftest.$ac_objext
19140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19141 (eval $ac_compile) 2>conftest.er1
19142 ac_status=$?
19143 grep -v '^ *+' conftest.er1 >conftest.err
19144 rm -f conftest.er1
19145 cat conftest.err >&5
19146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19147 (exit $ac_status); } &&
19148 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19150 (eval $ac_try) 2>&5
19151 ac_status=$?
19152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19153 (exit $ac_status); }; } &&
19154 { ac_try='test -s conftest.$ac_objext'
19155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19156 (eval $ac_try) 2>&5
19157 ac_status=$?
19158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19159 (exit $ac_status); }; }; then
19160
19161 cat >conftest.$ac_ext <<_ACEOF
19162 /* confdefs.h. */
19163 _ACEOF
19164 cat confdefs.h >>conftest.$ac_ext
19165 cat >>conftest.$ac_ext <<_ACEOF
19166 /* end confdefs.h. */
19167
19168 class Foo { public: explicit Foo(int) {} };
19169 static void TakeFoo(const Foo& foo) { }
19170
19171 int
19172 main ()
19173 {
19174
19175 TakeFoo(17);
19176 return 0;
19177
19178 ;
19179 return 0;
19180 }
19181 _ACEOF
19182 rm -f conftest.$ac_objext
19183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19184 (eval $ac_compile) 2>conftest.er1
19185 ac_status=$?
19186 grep -v '^ *+' conftest.er1 >conftest.err
19187 rm -f conftest.er1
19188 cat conftest.err >&5
19189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19190 (exit $ac_status); } &&
19191 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19193 (eval $ac_try) 2>&5
19194 ac_status=$?
19195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19196 (exit $ac_status); }; } &&
19197 { ac_try='test -s conftest.$ac_objext'
19198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19199 (eval $ac_try) 2>&5
19200 ac_status=$?
19201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19202 (exit $ac_status); }; }; then
19203 wx_cv_explicit=no
19204 else
19205 echo "$as_me: failed program was:" >&5
19206 sed 's/^/| /' conftest.$ac_ext >&5
19207
19208 wx_cv_explicit=yes
19209
19210 fi
19211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19212
19213 else
19214 echo "$as_me: failed program was:" >&5
19215 sed 's/^/| /' conftest.$ac_ext >&5
19216
19217 wx_cv_explicit=no
19218
19219 fi
19220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19221
19222 ac_ext=c
19223 ac_cpp='$CPP $CPPFLAGS'
19224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19227
19228
19229 fi
19230 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
19231 echo "${ECHO_T}$wx_cv_explicit" >&6
19232
19233 if test "$wx_cv_explicit" = "yes"; then
19234 cat >>confdefs.h <<\_ACEOF
19235 #define HAVE_EXPLICIT 1
19236 _ACEOF
19237
19238 fi
19239
19240
19241 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
19242 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
19243 if test "${ac_cv_cxx_const_cast+set}" = set; then
19244 echo $ECHO_N "(cached) $ECHO_C" >&6
19245 else
19246
19247
19248 ac_ext=cc
19249 ac_cpp='$CXXCPP $CPPFLAGS'
19250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19253
19254 cat >conftest.$ac_ext <<_ACEOF
19255 /* confdefs.h. */
19256 _ACEOF
19257 cat confdefs.h >>conftest.$ac_ext
19258 cat >>conftest.$ac_ext <<_ACEOF
19259 /* end confdefs.h. */
19260
19261 int
19262 main ()
19263 {
19264 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19265 ;
19266 return 0;
19267 }
19268 _ACEOF
19269 rm -f conftest.$ac_objext
19270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19271 (eval $ac_compile) 2>conftest.er1
19272 ac_status=$?
19273 grep -v '^ *+' conftest.er1 >conftest.err
19274 rm -f conftest.er1
19275 cat conftest.err >&5
19276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19277 (exit $ac_status); } &&
19278 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19280 (eval $ac_try) 2>&5
19281 ac_status=$?
19282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19283 (exit $ac_status); }; } &&
19284 { ac_try='test -s conftest.$ac_objext'
19285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19286 (eval $ac_try) 2>&5
19287 ac_status=$?
19288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19289 (exit $ac_status); }; }; then
19290 ac_cv_cxx_const_cast=yes
19291 else
19292 echo "$as_me: failed program was:" >&5
19293 sed 's/^/| /' conftest.$ac_ext >&5
19294
19295 ac_cv_cxx_const_cast=no
19296 fi
19297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19298 ac_ext=c
19299 ac_cpp='$CPP $CPPFLAGS'
19300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19303
19304
19305 fi
19306 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19307 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19308 if test "$ac_cv_cxx_const_cast" = yes; then
19309
19310 cat >>confdefs.h <<\_ACEOF
19311 #define HAVE_CONST_CAST
19312 _ACEOF
19313
19314 fi
19315
19316 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
19317 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
19318 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
19319 echo $ECHO_N "(cached) $ECHO_C" >&6
19320 else
19321
19322
19323 ac_ext=cc
19324 ac_cpp='$CXXCPP $CPPFLAGS'
19325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19328
19329 cat >conftest.$ac_ext <<_ACEOF
19330 /* confdefs.h. */
19331 _ACEOF
19332 cat confdefs.h >>conftest.$ac_ext
19333 cat >>conftest.$ac_ext <<_ACEOF
19334 /* end confdefs.h. */
19335 #include <typeinfo>
19336 class Base { public : Base () {} virtual void f () = 0;};
19337 class Derived : public Base { public : Derived () {} virtual void f () {} };
19338 class Unrelated { public : Unrelated () {} };
19339 int g (Unrelated&) { return 0; }
19340 int
19341 main ()
19342 {
19343
19344 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
19345 ;
19346 return 0;
19347 }
19348 _ACEOF
19349 rm -f conftest.$ac_objext
19350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19351 (eval $ac_compile) 2>conftest.er1
19352 ac_status=$?
19353 grep -v '^ *+' conftest.er1 >conftest.err
19354 rm -f conftest.er1
19355 cat conftest.err >&5
19356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19357 (exit $ac_status); } &&
19358 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19360 (eval $ac_try) 2>&5
19361 ac_status=$?
19362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19363 (exit $ac_status); }; } &&
19364 { ac_try='test -s conftest.$ac_objext'
19365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19366 (eval $ac_try) 2>&5
19367 ac_status=$?
19368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19369 (exit $ac_status); }; }; then
19370 ac_cv_cxx_reinterpret_cast=yes
19371 else
19372 echo "$as_me: failed program was:" >&5
19373 sed 's/^/| /' conftest.$ac_ext >&5
19374
19375 ac_cv_cxx_reinterpret_cast=no
19376 fi
19377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19378 ac_ext=c
19379 ac_cpp='$CPP $CPPFLAGS'
19380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19383
19384
19385 fi
19386 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
19387 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
19388 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
19389
19390 cat >>confdefs.h <<\_ACEOF
19391 #define HAVE_REINTERPRET_CAST
19392 _ACEOF
19393
19394 fi
19395
19396 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19397 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19398 if test "${ac_cv_cxx_static_cast+set}" = set; then
19399 echo $ECHO_N "(cached) $ECHO_C" >&6
19400 else
19401
19402
19403 ac_ext=cc
19404 ac_cpp='$CXXCPP $CPPFLAGS'
19405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19408
19409 cat >conftest.$ac_ext <<_ACEOF
19410 /* confdefs.h. */
19411 _ACEOF
19412 cat confdefs.h >>conftest.$ac_ext
19413 cat >>conftest.$ac_ext <<_ACEOF
19414 /* end confdefs.h. */
19415 #include <typeinfo>
19416 class Base { public : Base () {} virtual void f () = 0; };
19417 class Derived : public Base { public : Derived () {} virtual void f () {} };
19418 int g (Derived&) { return 0; }
19419 int
19420 main ()
19421 {
19422
19423 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19424 ;
19425 return 0;
19426 }
19427 _ACEOF
19428 rm -f conftest.$ac_objext
19429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19430 (eval $ac_compile) 2>conftest.er1
19431 ac_status=$?
19432 grep -v '^ *+' conftest.er1 >conftest.err
19433 rm -f conftest.er1
19434 cat conftest.err >&5
19435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19436 (exit $ac_status); } &&
19437 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19439 (eval $ac_try) 2>&5
19440 ac_status=$?
19441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19442 (exit $ac_status); }; } &&
19443 { ac_try='test -s conftest.$ac_objext'
19444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19445 (eval $ac_try) 2>&5
19446 ac_status=$?
19447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19448 (exit $ac_status); }; }; then
19449 ac_cv_cxx_static_cast=yes
19450 else
19451 echo "$as_me: failed program was:" >&5
19452 sed 's/^/| /' conftest.$ac_ext >&5
19453
19454 ac_cv_cxx_static_cast=no
19455 fi
19456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19457 ac_ext=c
19458 ac_cpp='$CPP $CPPFLAGS'
19459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19462
19463
19464 fi
19465 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19466 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19467 if test "$ac_cv_cxx_static_cast" = yes; then
19468
19469 cat >>confdefs.h <<\_ACEOF
19470 #define HAVE_STATIC_CAST
19471 _ACEOF
19472
19473 fi
19474
19475
19476 if test "$wxUSE_STL" = "yes"; then
19477 ac_ext=cc
19478 ac_cpp='$CXXCPP $CPPFLAGS'
19479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19482
19483
19484 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19485 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
19486 cat >conftest.$ac_ext <<_ACEOF
19487 /* confdefs.h. */
19488 _ACEOF
19489 cat confdefs.h >>conftest.$ac_ext
19490 cat >>conftest.$ac_ext <<_ACEOF
19491 /* end confdefs.h. */
19492 #include <string>
19493 #include <functional>
19494 #include <algorithm>
19495 #include <vector>
19496 #include <list>
19497 int
19498 main ()
19499 {
19500 std::vector<int> moo;
19501 std::list<int> foo;
19502 std::vector<int>::iterator it =
19503 std::find_if(moo.begin(), moo.end(),
19504 std::bind2nd(std::less<int>(), 3));
19505 ;
19506 return 0;
19507 }
19508 _ACEOF
19509 rm -f conftest.$ac_objext
19510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19511 (eval $ac_compile) 2>conftest.er1
19512 ac_status=$?
19513 grep -v '^ *+' conftest.er1 >conftest.err
19514 rm -f conftest.er1
19515 cat conftest.err >&5
19516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19517 (exit $ac_status); } &&
19518 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19520 (eval $ac_try) 2>&5
19521 ac_status=$?
19522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19523 (exit $ac_status); }; } &&
19524 { ac_try='test -s conftest.$ac_objext'
19525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19526 (eval $ac_try) 2>&5
19527 ac_status=$?
19528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19529 (exit $ac_status); }; }; then
19530 echo "$as_me:$LINENO: result: yes" >&5
19531 echo "${ECHO_T}yes" >&6
19532 else
19533 echo "$as_me: failed program was:" >&5
19534 sed 's/^/| /' conftest.$ac_ext >&5
19535
19536 echo "$as_me:$LINENO: result: no" >&5
19537 echo "${ECHO_T}no" >&6
19538 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
19539 echo "$as_me: error: Basic STL functionality missing" >&2;}
19540 { (exit 1); exit 1; }; }
19541 fi
19542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19543
19544 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
19545 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
19546 cat >conftest.$ac_ext <<_ACEOF
19547 /* confdefs.h. */
19548 _ACEOF
19549 cat confdefs.h >>conftest.$ac_ext
19550 cat >>conftest.$ac_ext <<_ACEOF
19551 /* end confdefs.h. */
19552 #include <string>
19553 int
19554 main ()
19555 {
19556 std::wstring foo;
19557 ;
19558 return 0;
19559 }
19560 _ACEOF
19561 rm -f conftest.$ac_objext
19562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19563 (eval $ac_compile) 2>conftest.er1
19564 ac_status=$?
19565 grep -v '^ *+' conftest.er1 >conftest.err
19566 rm -f conftest.er1
19567 cat conftest.err >&5
19568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19569 (exit $ac_status); } &&
19570 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19572 (eval $ac_try) 2>&5
19573 ac_status=$?
19574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19575 (exit $ac_status); }; } &&
19576 { ac_try='test -s conftest.$ac_objext'
19577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19578 (eval $ac_try) 2>&5
19579 ac_status=$?
19580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19581 (exit $ac_status); }; }; then
19582 echo "$as_me:$LINENO: result: yes" >&5
19583 echo "${ECHO_T}yes" >&6
19584 cat >>confdefs.h <<\_ACEOF
19585 #define HAVE_STD_WSTRING 1
19586 _ACEOF
19587
19588 else
19589 echo "$as_me: failed program was:" >&5
19590 sed 's/^/| /' conftest.$ac_ext >&5
19591
19592 echo "$as_me:$LINENO: result: no" >&5
19593 echo "${ECHO_T}no" >&6
19594 fi
19595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19596
19597 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
19598 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
19599 cat >conftest.$ac_ext <<_ACEOF
19600 /* confdefs.h. */
19601 _ACEOF
19602 cat confdefs.h >>conftest.$ac_ext
19603 cat >>conftest.$ac_ext <<_ACEOF
19604 /* end confdefs.h. */
19605 #include <string>
19606 int
19607 main ()
19608 {
19609 std::string foo, bar;
19610 foo.compare(bar);
19611 foo.compare(1, 1, bar);
19612 foo.compare(1, 1, bar, 1, 1);
19613 foo.compare("");
19614 foo.compare(1, 1, "");
19615 foo.compare(1, 1, "", 2);
19616 ;
19617 return 0;
19618 }
19619 _ACEOF
19620 rm -f conftest.$ac_objext
19621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19622 (eval $ac_compile) 2>conftest.er1
19623 ac_status=$?
19624 grep -v '^ *+' conftest.er1 >conftest.err
19625 rm -f conftest.er1
19626 cat conftest.err >&5
19627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19628 (exit $ac_status); } &&
19629 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19631 (eval $ac_try) 2>&5
19632 ac_status=$?
19633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19634 (exit $ac_status); }; } &&
19635 { ac_try='test -s conftest.$ac_objext'
19636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19637 (eval $ac_try) 2>&5
19638 ac_status=$?
19639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19640 (exit $ac_status); }; }; then
19641 echo "$as_me:$LINENO: result: yes" >&5
19642 echo "${ECHO_T}yes" >&6
19643 cat >>confdefs.h <<\_ACEOF
19644 #define HAVE_STD_STRING_COMPARE 1
19645 _ACEOF
19646
19647 else
19648 echo "$as_me: failed program was:" >&5
19649 sed 's/^/| /' conftest.$ac_ext >&5
19650
19651 echo "$as_me:$LINENO: result: no" >&5
19652 echo "${ECHO_T}no" >&6
19653 fi
19654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19655
19656 if test "${ac_cv_header_hash_map+set}" = set; then
19657 echo "$as_me:$LINENO: checking for hash_map" >&5
19658 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19659 if test "${ac_cv_header_hash_map+set}" = set; then
19660 echo $ECHO_N "(cached) $ECHO_C" >&6
19661 fi
19662 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19663 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19664 else
19665 # Is the header compilable?
19666 echo "$as_me:$LINENO: checking hash_map usability" >&5
19667 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
19668 cat >conftest.$ac_ext <<_ACEOF
19669 /* confdefs.h. */
19670 _ACEOF
19671 cat confdefs.h >>conftest.$ac_ext
19672 cat >>conftest.$ac_ext <<_ACEOF
19673 /* end confdefs.h. */
19674 $ac_includes_default
19675 #include <hash_map>
19676 _ACEOF
19677 rm -f conftest.$ac_objext
19678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19679 (eval $ac_compile) 2>conftest.er1
19680 ac_status=$?
19681 grep -v '^ *+' conftest.er1 >conftest.err
19682 rm -f conftest.er1
19683 cat conftest.err >&5
19684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19685 (exit $ac_status); } &&
19686 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19688 (eval $ac_try) 2>&5
19689 ac_status=$?
19690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19691 (exit $ac_status); }; } &&
19692 { ac_try='test -s conftest.$ac_objext'
19693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19694 (eval $ac_try) 2>&5
19695 ac_status=$?
19696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19697 (exit $ac_status); }; }; then
19698 ac_header_compiler=yes
19699 else
19700 echo "$as_me: failed program was:" >&5
19701 sed 's/^/| /' conftest.$ac_ext >&5
19702
19703 ac_header_compiler=no
19704 fi
19705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19706 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19707 echo "${ECHO_T}$ac_header_compiler" >&6
19708
19709 # Is the header present?
19710 echo "$as_me:$LINENO: checking hash_map presence" >&5
19711 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
19712 cat >conftest.$ac_ext <<_ACEOF
19713 /* confdefs.h. */
19714 _ACEOF
19715 cat confdefs.h >>conftest.$ac_ext
19716 cat >>conftest.$ac_ext <<_ACEOF
19717 /* end confdefs.h. */
19718 #include <hash_map>
19719 _ACEOF
19720 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19721 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19722 ac_status=$?
19723 grep -v '^ *+' conftest.er1 >conftest.err
19724 rm -f conftest.er1
19725 cat conftest.err >&5
19726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19727 (exit $ac_status); } >/dev/null; then
19728 if test -s conftest.err; then
19729 ac_cpp_err=$ac_cxx_preproc_warn_flag
19730 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19731 else
19732 ac_cpp_err=
19733 fi
19734 else
19735 ac_cpp_err=yes
19736 fi
19737 if test -z "$ac_cpp_err"; then
19738 ac_header_preproc=yes
19739 else
19740 echo "$as_me: failed program was:" >&5
19741 sed 's/^/| /' conftest.$ac_ext >&5
19742
19743 ac_header_preproc=no
19744 fi
19745 rm -f conftest.err conftest.$ac_ext
19746 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19747 echo "${ECHO_T}$ac_header_preproc" >&6
19748
19749 # So? What about this header?
19750 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19751 yes:no: )
19752 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
19753 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
19754 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
19755 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
19756 ac_header_preproc=yes
19757 ;;
19758 no:yes:* )
19759 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
19760 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
19761 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
19762 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
19763 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
19764 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
19765 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
19766 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
19767 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
19768 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
19769 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
19770 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
19771 (
19772 cat <<\_ASBOX
19773 ## ----------------------------------------- ##
19774 ## Report this to wx-dev@lists.wxwidgets.org ##
19775 ## ----------------------------------------- ##
19776 _ASBOX
19777 ) |
19778 sed "s/^/$as_me: WARNING: /" >&2
19779 ;;
19780 esac
19781 echo "$as_me:$LINENO: checking for hash_map" >&5
19782 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19783 if test "${ac_cv_header_hash_map+set}" = set; then
19784 echo $ECHO_N "(cached) $ECHO_C" >&6
19785 else
19786 ac_cv_header_hash_map=$ac_header_preproc
19787 fi
19788 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19789 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19790
19791 fi
19792 if test $ac_cv_header_hash_map = yes; then
19793 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
19794 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
19795 cat >conftest.$ac_ext <<_ACEOF
19796 /* confdefs.h. */
19797 _ACEOF
19798 cat confdefs.h >>conftest.$ac_ext
19799 cat >>conftest.$ac_ext <<_ACEOF
19800 /* end confdefs.h. */
19801 #include <hash_map>
19802 #include <hash_set>
19803 int
19804 main ()
19805 {
19806 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
19807 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
19808 ;
19809 return 0;
19810 }
19811 _ACEOF
19812 rm -f conftest.$ac_objext
19813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19814 (eval $ac_compile) 2>conftest.er1
19815 ac_status=$?
19816 grep -v '^ *+' conftest.er1 >conftest.err
19817 rm -f conftest.er1
19818 cat conftest.err >&5
19819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19820 (exit $ac_status); } &&
19821 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19823 (eval $ac_try) 2>&5
19824 ac_status=$?
19825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19826 (exit $ac_status); }; } &&
19827 { ac_try='test -s conftest.$ac_objext'
19828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19829 (eval $ac_try) 2>&5
19830 ac_status=$?
19831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19832 (exit $ac_status); }; }; then
19833 echo "$as_me:$LINENO: result: yes" >&5
19834 echo "${ECHO_T}yes" >&6
19835 cat >>confdefs.h <<\_ACEOF
19836 #define HAVE_HASH_MAP 1
19837 _ACEOF
19838
19839 cat >>confdefs.h <<\_ACEOF
19840 #define HAVE_STD_HASH_MAP 1
19841 _ACEOF
19842
19843 else
19844 echo "$as_me: failed program was:" >&5
19845 sed 's/^/| /' conftest.$ac_ext >&5
19846
19847 echo "$as_me:$LINENO: result: no" >&5
19848 echo "${ECHO_T}no" >&6
19849 fi
19850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19851
19852 fi
19853
19854
19855
19856 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19857 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
19858 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
19859 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19860 echo $ECHO_N "(cached) $ECHO_C" >&6
19861 fi
19862 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
19863 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
19864 else
19865 # Is the header compilable?
19866 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
19867 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
19868 cat >conftest.$ac_ext <<_ACEOF
19869 /* confdefs.h. */
19870 _ACEOF
19871 cat confdefs.h >>conftest.$ac_ext
19872 cat >>conftest.$ac_ext <<_ACEOF
19873 /* end confdefs.h. */
19874 $ac_includes_default
19875 #include <ext/hash_map>
19876 _ACEOF
19877 rm -f conftest.$ac_objext
19878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19879 (eval $ac_compile) 2>conftest.er1
19880 ac_status=$?
19881 grep -v '^ *+' conftest.er1 >conftest.err
19882 rm -f conftest.er1
19883 cat conftest.err >&5
19884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19885 (exit $ac_status); } &&
19886 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19888 (eval $ac_try) 2>&5
19889 ac_status=$?
19890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19891 (exit $ac_status); }; } &&
19892 { ac_try='test -s conftest.$ac_objext'
19893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19894 (eval $ac_try) 2>&5
19895 ac_status=$?
19896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19897 (exit $ac_status); }; }; then
19898 ac_header_compiler=yes
19899 else
19900 echo "$as_me: failed program was:" >&5
19901 sed 's/^/| /' conftest.$ac_ext >&5
19902
19903 ac_header_compiler=no
19904 fi
19905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19906 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19907 echo "${ECHO_T}$ac_header_compiler" >&6
19908
19909 # Is the header present?
19910 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
19911 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
19912 cat >conftest.$ac_ext <<_ACEOF
19913 /* confdefs.h. */
19914 _ACEOF
19915 cat confdefs.h >>conftest.$ac_ext
19916 cat >>conftest.$ac_ext <<_ACEOF
19917 /* end confdefs.h. */
19918 #include <ext/hash_map>
19919 _ACEOF
19920 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19921 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19922 ac_status=$?
19923 grep -v '^ *+' conftest.er1 >conftest.err
19924 rm -f conftest.er1
19925 cat conftest.err >&5
19926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19927 (exit $ac_status); } >/dev/null; then
19928 if test -s conftest.err; then
19929 ac_cpp_err=$ac_cxx_preproc_warn_flag
19930 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19931 else
19932 ac_cpp_err=
19933 fi
19934 else
19935 ac_cpp_err=yes
19936 fi
19937 if test -z "$ac_cpp_err"; then
19938 ac_header_preproc=yes
19939 else
19940 echo "$as_me: failed program was:" >&5
19941 sed 's/^/| /' conftest.$ac_ext >&5
19942
19943 ac_header_preproc=no
19944 fi
19945 rm -f conftest.err conftest.$ac_ext
19946 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19947 echo "${ECHO_T}$ac_header_preproc" >&6
19948
19949 # So? What about this header?
19950 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19951 yes:no: )
19952 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
19953 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
19954 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
19955 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
19956 ac_header_preproc=yes
19957 ;;
19958 no:yes:* )
19959 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
19960 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
19961 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
19962 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
19963 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
19964 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
19965 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
19966 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
19967 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
19968 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
19969 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
19970 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
19971 (
19972 cat <<\_ASBOX
19973 ## ----------------------------------------- ##
19974 ## Report this to wx-dev@lists.wxwidgets.org ##
19975 ## ----------------------------------------- ##
19976 _ASBOX
19977 ) |
19978 sed "s/^/$as_me: WARNING: /" >&2
19979 ;;
19980 esac
19981 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
19982 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
19983 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19984 echo $ECHO_N "(cached) $ECHO_C" >&6
19985 else
19986 ac_cv_header_ext_hash_map=$ac_header_preproc
19987 fi
19988 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
19989 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
19990
19991 fi
19992 if test $ac_cv_header_ext_hash_map = yes; then
19993 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
19994 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
19995 cat >conftest.$ac_ext <<_ACEOF
19996 /* confdefs.h. */
19997 _ACEOF
19998 cat confdefs.h >>conftest.$ac_ext
19999 cat >>conftest.$ac_ext <<_ACEOF
20000 /* end confdefs.h. */
20001 #include <ext/hash_map>
20002 #include <ext/hash_set>
20003 int
20004 main ()
20005 {
20006 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
20007 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
20008 ;
20009 return 0;
20010 }
20011 _ACEOF
20012 rm -f conftest.$ac_objext
20013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20014 (eval $ac_compile) 2>conftest.er1
20015 ac_status=$?
20016 grep -v '^ *+' conftest.er1 >conftest.err
20017 rm -f conftest.er1
20018 cat conftest.err >&5
20019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20020 (exit $ac_status); } &&
20021 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20023 (eval $ac_try) 2>&5
20024 ac_status=$?
20025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20026 (exit $ac_status); }; } &&
20027 { ac_try='test -s conftest.$ac_objext'
20028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20029 (eval $ac_try) 2>&5
20030 ac_status=$?
20031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20032 (exit $ac_status); }; }; then
20033 echo "$as_me:$LINENO: result: yes" >&5
20034 echo "${ECHO_T}yes" >&6
20035 cat >>confdefs.h <<\_ACEOF
20036 #define HAVE_EXT_HASH_MAP 1
20037 _ACEOF
20038
20039 cat >>confdefs.h <<\_ACEOF
20040 #define HAVE_GNU_CXX_HASH_MAP 1
20041 _ACEOF
20042
20043 else
20044 echo "$as_me: failed program was:" >&5
20045 sed 's/^/| /' conftest.$ac_ext >&5
20046
20047 echo "$as_me:$LINENO: result: no" >&5
20048 echo "${ECHO_T}no" >&6
20049 fi
20050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20051
20052 fi
20053
20054
20055
20056 ac_ext=c
20057 ac_cpp='$CPP $CPPFLAGS'
20058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20061
20062 fi
20063
20064
20065 SEARCH_INCLUDE="\
20066 /usr/local/include \
20067 \
20068 /usr/Motif-2.1/include \
20069 /usr/Motif-1.2/include \
20070 /usr/include/Motif1.2 \
20071 /opt/xpm/include/X11 \
20072 /opt/GBxpm/include/ \
20073 /opt/GBxpm/X11/include/ \
20074 \
20075 /usr/dt/include \
20076 /usr/openwin/include \
20077 \
20078 /usr/include/Xm \
20079 \
20080 /usr/X11R6/include \
20081 /usr/X11R6.4/include \
20082 /usr/X11R5/include \
20083 /usr/X11R4/include \
20084 \
20085 /usr/include/X11R6 \
20086 /usr/include/X11R5 \
20087 /usr/include/X11R4 \
20088 \
20089 /usr/local/X11R6/include \
20090 /usr/local/X11R5/include \
20091 /usr/local/X11R4/include \
20092 \
20093 /usr/local/include/X11R6 \
20094 /usr/local/include/X11R5 \
20095 /usr/local/include/X11R4 \
20096 \
20097 /usr/X11/include \
20098 /usr/include/X11 \
20099 /usr/local/X11/include \
20100 /usr/local/include/X11 \
20101 \
20102 /usr/X386/include \
20103 /usr/x386/include \
20104 /usr/XFree86/include/X11 \
20105 \
20106 X:/XFree86/include \
20107 X:/XFree86/include/X11 \
20108 \
20109 /usr/include/gtk \
20110 /usr/local/include/gtk \
20111 /usr/include/glib \
20112 /usr/local/include/glib \
20113 \
20114 /usr/include/qt \
20115 /usr/local/include/qt \
20116 \
20117 /usr/local/arm/3.3.2/include \
20118 \
20119 /usr/include/windows \
20120 /usr/include/wine \
20121 /usr/local/include/wine \
20122 \
20123 /usr/unsupported/include \
20124 /usr/athena/include \
20125 /usr/local/x11r5/include \
20126 /usr/lpp/Xamples/include \
20127 \
20128 /usr/openwin/share/include"
20129
20130 SEARCH_LIB="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
20131
20132
20133 cat >confcache <<\_ACEOF
20134 # This file is a shell script that caches the results of configure
20135 # tests run on this system so they can be shared between configure
20136 # scripts and configure runs, see configure's option --config-cache.
20137 # It is not useful on other systems. If it contains results you don't
20138 # want to keep, you may remove or edit it.
20139 #
20140 # config.status only pays attention to the cache file if you give it
20141 # the --recheck option to rerun configure.
20142 #
20143 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20144 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20145 # following values.
20146
20147 _ACEOF
20148
20149 # The following way of writing the cache mishandles newlines in values,
20150 # but we know of no workaround that is simple, portable, and efficient.
20151 # So, don't put newlines in cache variables' values.
20152 # Ultrix sh set writes to stderr and can't be redirected directly,
20153 # and sets the high bit in the cache file unless we assign to the vars.
20154 {
20155 (set) 2>&1 |
20156 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20157 *ac_space=\ *)
20158 # `set' does not quote correctly, so add quotes (double-quote
20159 # substitution turns \\\\ into \\, and sed turns \\ into \).
20160 sed -n \
20161 "s/'/'\\\\''/g;
20162 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20163 ;;
20164 *)
20165 # `set' quotes correctly as required by POSIX, so do not add quotes.
20166 sed -n \
20167 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20168 ;;
20169 esac;
20170 } |
20171 sed '
20172 t clear
20173 : clear
20174 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20175 t end
20176 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20177 : end' >>confcache
20178 if diff $cache_file confcache >/dev/null 2>&1; then :; else
20179 if test -w $cache_file; then
20180 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20181 cat confcache >$cache_file
20182 else
20183 echo "not updating unwritable cache $cache_file"
20184 fi
20185 fi
20186 rm -f confcache
20187
20188 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
20189 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
20190 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
20191 if test "${wx_cv_lib_glibc21+set}" = set; then
20192 echo $ECHO_N "(cached) $ECHO_C" >&6
20193 else
20194
20195 cat >conftest.$ac_ext <<_ACEOF
20196 /* confdefs.h. */
20197 _ACEOF
20198 cat confdefs.h >>conftest.$ac_ext
20199 cat >>conftest.$ac_ext <<_ACEOF
20200 /* end confdefs.h. */
20201 #include <features.h>
20202 int
20203 main ()
20204 {
20205
20206 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
20207 #error not glibc2.1
20208 #endif
20209
20210 ;
20211 return 0;
20212 }
20213 _ACEOF
20214 rm -f conftest.$ac_objext
20215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20216 (eval $ac_compile) 2>conftest.er1
20217 ac_status=$?
20218 grep -v '^ *+' conftest.er1 >conftest.err
20219 rm -f conftest.er1
20220 cat conftest.err >&5
20221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20222 (exit $ac_status); } &&
20223 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20225 (eval $ac_try) 2>&5
20226 ac_status=$?
20227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20228 (exit $ac_status); }; } &&
20229 { ac_try='test -s conftest.$ac_objext'
20230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20231 (eval $ac_try) 2>&5
20232 ac_status=$?
20233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20234 (exit $ac_status); }; }; then
20235
20236 wx_cv_lib_glibc21=yes
20237
20238 else
20239 echo "$as_me: failed program was:" >&5
20240 sed 's/^/| /' conftest.$ac_ext >&5
20241
20242
20243 wx_cv_lib_glibc21=no
20244
20245
20246 fi
20247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20248
20249 fi
20250 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
20251 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
20252 if test "$wx_cv_lib_glibc21" = "yes"; then
20253 cat >>confdefs.h <<\_ACEOF
20254 #define wxHAVE_GLIBC2 1
20255 _ACEOF
20256
20257 fi
20258 fi
20259
20260 if test "x$wx_cv_lib_glibc21" = "xyes"; then
20261 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
20262 cat >>confdefs.h <<\_ACEOF
20263 #define _GNU_SOURCE 1
20264 _ACEOF
20265
20266 fi
20267 fi
20268
20269
20270
20271 if test "$wxUSE_REGEX" != "no"; then
20272 cat >>confdefs.h <<\_ACEOF
20273 #define wxUSE_REGEX 1
20274 _ACEOF
20275
20276
20277 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
20278 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
20279 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
20280 wxUSE_REGEX=builtin
20281 fi
20282
20283 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
20284 if test "${ac_cv_header_regex_h+set}" = set; then
20285 echo "$as_me:$LINENO: checking for regex.h" >&5
20286 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20287 if test "${ac_cv_header_regex_h+set}" = set; then
20288 echo $ECHO_N "(cached) $ECHO_C" >&6
20289 fi
20290 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20291 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20292 else
20293 # Is the header compilable?
20294 echo "$as_me:$LINENO: checking regex.h usability" >&5
20295 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
20296 cat >conftest.$ac_ext <<_ACEOF
20297 /* confdefs.h. */
20298 _ACEOF
20299 cat confdefs.h >>conftest.$ac_ext
20300 cat >>conftest.$ac_ext <<_ACEOF
20301 /* end confdefs.h. */
20302 $ac_includes_default
20303 #include <regex.h>
20304 _ACEOF
20305 rm -f conftest.$ac_objext
20306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20307 (eval $ac_compile) 2>conftest.er1
20308 ac_status=$?
20309 grep -v '^ *+' conftest.er1 >conftest.err
20310 rm -f conftest.er1
20311 cat conftest.err >&5
20312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20313 (exit $ac_status); } &&
20314 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20316 (eval $ac_try) 2>&5
20317 ac_status=$?
20318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20319 (exit $ac_status); }; } &&
20320 { ac_try='test -s conftest.$ac_objext'
20321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20322 (eval $ac_try) 2>&5
20323 ac_status=$?
20324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20325 (exit $ac_status); }; }; then
20326 ac_header_compiler=yes
20327 else
20328 echo "$as_me: failed program was:" >&5
20329 sed 's/^/| /' conftest.$ac_ext >&5
20330
20331 ac_header_compiler=no
20332 fi
20333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20334 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20335 echo "${ECHO_T}$ac_header_compiler" >&6
20336
20337 # Is the header present?
20338 echo "$as_me:$LINENO: checking regex.h presence" >&5
20339 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
20340 cat >conftest.$ac_ext <<_ACEOF
20341 /* confdefs.h. */
20342 _ACEOF
20343 cat confdefs.h >>conftest.$ac_ext
20344 cat >>conftest.$ac_ext <<_ACEOF
20345 /* end confdefs.h. */
20346 #include <regex.h>
20347 _ACEOF
20348 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20349 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20350 ac_status=$?
20351 grep -v '^ *+' conftest.er1 >conftest.err
20352 rm -f conftest.er1
20353 cat conftest.err >&5
20354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20355 (exit $ac_status); } >/dev/null; then
20356 if test -s conftest.err; then
20357 ac_cpp_err=$ac_c_preproc_warn_flag
20358 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20359 else
20360 ac_cpp_err=
20361 fi
20362 else
20363 ac_cpp_err=yes
20364 fi
20365 if test -z "$ac_cpp_err"; then
20366 ac_header_preproc=yes
20367 else
20368 echo "$as_me: failed program was:" >&5
20369 sed 's/^/| /' conftest.$ac_ext >&5
20370
20371 ac_header_preproc=no
20372 fi
20373 rm -f conftest.err conftest.$ac_ext
20374 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20375 echo "${ECHO_T}$ac_header_preproc" >&6
20376
20377 # So? What about this header?
20378 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20379 yes:no: )
20380 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
20381 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20382 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
20383 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
20384 ac_header_preproc=yes
20385 ;;
20386 no:yes:* )
20387 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
20388 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
20389 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
20390 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
20391 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
20392 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
20393 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
20394 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
20395 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
20396 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
20397 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
20398 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
20399 (
20400 cat <<\_ASBOX
20401 ## ----------------------------------------- ##
20402 ## Report this to wx-dev@lists.wxwidgets.org ##
20403 ## ----------------------------------------- ##
20404 _ASBOX
20405 ) |
20406 sed "s/^/$as_me: WARNING: /" >&2
20407 ;;
20408 esac
20409 echo "$as_me:$LINENO: checking for regex.h" >&5
20410 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20411 if test "${ac_cv_header_regex_h+set}" = set; then
20412 echo $ECHO_N "(cached) $ECHO_C" >&6
20413 else
20414 ac_cv_header_regex_h=$ac_header_preproc
20415 fi
20416 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20417 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20418
20419 fi
20420 if test $ac_cv_header_regex_h = yes; then
20421
20422 for ac_func in regcomp
20423 do
20424 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20425 echo "$as_me:$LINENO: checking for $ac_func" >&5
20426 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20427 if eval "test \"\${$as_ac_var+set}\" = set"; then
20428 echo $ECHO_N "(cached) $ECHO_C" >&6
20429 else
20430 cat >conftest.$ac_ext <<_ACEOF
20431 /* confdefs.h. */
20432 _ACEOF
20433 cat confdefs.h >>conftest.$ac_ext
20434 cat >>conftest.$ac_ext <<_ACEOF
20435 /* end confdefs.h. */
20436 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20437 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20438 #define $ac_func innocuous_$ac_func
20439
20440 /* System header to define __stub macros and hopefully few prototypes,
20441 which can conflict with char $ac_func (); below.
20442 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20443 <limits.h> exists even on freestanding compilers. */
20444
20445 #ifdef __STDC__
20446 # include <limits.h>
20447 #else
20448 # include <assert.h>
20449 #endif
20450
20451 #undef $ac_func
20452
20453 /* Override any gcc2 internal prototype to avoid an error. */
20454 #ifdef __cplusplus
20455 extern "C"
20456 {
20457 #endif
20458 /* We use char because int might match the return type of a gcc2
20459 builtin and then its argument prototype would still apply. */
20460 char $ac_func ();
20461 /* The GNU C library defines this for functions which it implements
20462 to always fail with ENOSYS. Some functions are actually named
20463 something starting with __ and the normal name is an alias. */
20464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20465 choke me
20466 #else
20467 char (*f) () = $ac_func;
20468 #endif
20469 #ifdef __cplusplus
20470 }
20471 #endif
20472
20473 int
20474 main ()
20475 {
20476 return f != $ac_func;
20477 ;
20478 return 0;
20479 }
20480 _ACEOF
20481 rm -f conftest.$ac_objext conftest$ac_exeext
20482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20483 (eval $ac_link) 2>conftest.er1
20484 ac_status=$?
20485 grep -v '^ *+' conftest.er1 >conftest.err
20486 rm -f conftest.er1
20487 cat conftest.err >&5
20488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20489 (exit $ac_status); } &&
20490 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20492 (eval $ac_try) 2>&5
20493 ac_status=$?
20494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20495 (exit $ac_status); }; } &&
20496 { ac_try='test -s conftest$ac_exeext'
20497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20498 (eval $ac_try) 2>&5
20499 ac_status=$?
20500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20501 (exit $ac_status); }; }; then
20502 eval "$as_ac_var=yes"
20503 else
20504 echo "$as_me: failed program was:" >&5
20505 sed 's/^/| /' conftest.$ac_ext >&5
20506
20507 eval "$as_ac_var=no"
20508 fi
20509 rm -f conftest.err conftest.$ac_objext \
20510 conftest$ac_exeext conftest.$ac_ext
20511 fi
20512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20513 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20514 if test `eval echo '${'$as_ac_var'}'` = yes; then
20515 cat >>confdefs.h <<_ACEOF
20516 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20517 _ACEOF
20518
20519 fi
20520 done
20521
20522 fi
20523
20524
20525
20526 if test "x$ac_cv_func_regcomp" != "xyes"; then
20527 if test "$wxUSE_REGEX" = "sys" ; then
20528 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
20529 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
20530 { (exit 1); exit 1; }; }
20531 else
20532 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
20533 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
20534 wxUSE_REGEX=builtin
20535 fi
20536 else
20537 wxUSE_REGEX=sys
20538 cat >>confdefs.h <<\_ACEOF
20539 #define WX_NO_REGEX_ADVANCED 1
20540 _ACEOF
20541
20542 fi
20543 fi
20544 fi
20545
20546
20547 ZLIB_LINK=
20548 if test "$wxUSE_ZLIB" != "no" ; then
20549 cat >>confdefs.h <<\_ACEOF
20550 #define wxUSE_ZLIB 1
20551 _ACEOF
20552
20553
20554 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
20555 if test "$USE_DARWIN" = 1; then
20556 system_zlib_h_ok="yes"
20557 else
20558 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
20559 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
20560 if test "${ac_cv_header_zlib_h+set}" = set; then
20561 echo $ECHO_N "(cached) $ECHO_C" >&6
20562 else
20563 if test "$cross_compiling" = yes; then
20564 unset ac_cv_header_zlib_h
20565
20566 else
20567 cat >conftest.$ac_ext <<_ACEOF
20568 /* confdefs.h. */
20569 _ACEOF
20570 cat confdefs.h >>conftest.$ac_ext
20571 cat >>conftest.$ac_ext <<_ACEOF
20572 /* end confdefs.h. */
20573
20574 #include <zlib.h>
20575 #include <stdio.h>
20576
20577 int main()
20578 {
20579 FILE *f=fopen("conftestval", "w");
20580 if (!f) exit(1);
20581 fprintf(f, "%s",
20582 ZLIB_VERSION[0] == '1' &&
20583 (ZLIB_VERSION[2] > '1' ||
20584 (ZLIB_VERSION[2] == '1' &&
20585 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
20586 exit(0);
20587 }
20588
20589 _ACEOF
20590 rm -f conftest$ac_exeext
20591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20592 (eval $ac_link) 2>&5
20593 ac_status=$?
20594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20595 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20597 (eval $ac_try) 2>&5
20598 ac_status=$?
20599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20600 (exit $ac_status); }; }; then
20601 ac_cv_header_zlib_h=`cat conftestval`
20602 else
20603 echo "$as_me: program exited with status $ac_status" >&5
20604 echo "$as_me: failed program was:" >&5
20605 sed 's/^/| /' conftest.$ac_ext >&5
20606
20607 ( exit $ac_status )
20608 ac_cv_header_zlib_h=no
20609 fi
20610 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20611 fi
20612
20613 fi
20614 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20615 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20616 if test "${ac_cv_header_zlib_h+set}" = set; then
20617 echo "$as_me:$LINENO: checking for zlib.h" >&5
20618 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20619 if test "${ac_cv_header_zlib_h+set}" = set; then
20620 echo $ECHO_N "(cached) $ECHO_C" >&6
20621 fi
20622 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20623 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20624 else
20625 # Is the header compilable?
20626 echo "$as_me:$LINENO: checking zlib.h usability" >&5
20627 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
20628 cat >conftest.$ac_ext <<_ACEOF
20629 /* confdefs.h. */
20630 _ACEOF
20631 cat confdefs.h >>conftest.$ac_ext
20632 cat >>conftest.$ac_ext <<_ACEOF
20633 /* end confdefs.h. */
20634 $ac_includes_default
20635 #include <zlib.h>
20636 _ACEOF
20637 rm -f conftest.$ac_objext
20638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20639 (eval $ac_compile) 2>conftest.er1
20640 ac_status=$?
20641 grep -v '^ *+' conftest.er1 >conftest.err
20642 rm -f conftest.er1
20643 cat conftest.err >&5
20644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20645 (exit $ac_status); } &&
20646 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20648 (eval $ac_try) 2>&5
20649 ac_status=$?
20650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20651 (exit $ac_status); }; } &&
20652 { ac_try='test -s conftest.$ac_objext'
20653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20654 (eval $ac_try) 2>&5
20655 ac_status=$?
20656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20657 (exit $ac_status); }; }; then
20658 ac_header_compiler=yes
20659 else
20660 echo "$as_me: failed program was:" >&5
20661 sed 's/^/| /' conftest.$ac_ext >&5
20662
20663 ac_header_compiler=no
20664 fi
20665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20666 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20667 echo "${ECHO_T}$ac_header_compiler" >&6
20668
20669 # Is the header present?
20670 echo "$as_me:$LINENO: checking zlib.h presence" >&5
20671 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
20672 cat >conftest.$ac_ext <<_ACEOF
20673 /* confdefs.h. */
20674 _ACEOF
20675 cat confdefs.h >>conftest.$ac_ext
20676 cat >>conftest.$ac_ext <<_ACEOF
20677 /* end confdefs.h. */
20678 #include <zlib.h>
20679 _ACEOF
20680 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20681 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20682 ac_status=$?
20683 grep -v '^ *+' conftest.er1 >conftest.err
20684 rm -f conftest.er1
20685 cat conftest.err >&5
20686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20687 (exit $ac_status); } >/dev/null; then
20688 if test -s conftest.err; then
20689 ac_cpp_err=$ac_c_preproc_warn_flag
20690 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20691 else
20692 ac_cpp_err=
20693 fi
20694 else
20695 ac_cpp_err=yes
20696 fi
20697 if test -z "$ac_cpp_err"; then
20698 ac_header_preproc=yes
20699 else
20700 echo "$as_me: failed program was:" >&5
20701 sed 's/^/| /' conftest.$ac_ext >&5
20702
20703 ac_header_preproc=no
20704 fi
20705 rm -f conftest.err conftest.$ac_ext
20706 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20707 echo "${ECHO_T}$ac_header_preproc" >&6
20708
20709 # So? What about this header?
20710 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20711 yes:no: )
20712 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
20713 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20714 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
20715 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
20716 ac_header_preproc=yes
20717 ;;
20718 no:yes:* )
20719 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
20720 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
20721 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
20722 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
20723 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
20724 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
20725 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
20726 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
20727 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
20728 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
20729 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
20730 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
20731 (
20732 cat <<\_ASBOX
20733 ## ----------------------------------------- ##
20734 ## Report this to wx-dev@lists.wxwidgets.org ##
20735 ## ----------------------------------------- ##
20736 _ASBOX
20737 ) |
20738 sed "s/^/$as_me: WARNING: /" >&2
20739 ;;
20740 esac
20741 echo "$as_me:$LINENO: checking for zlib.h" >&5
20742 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20743 if test "${ac_cv_header_zlib_h+set}" = set; then
20744 echo $ECHO_N "(cached) $ECHO_C" >&6
20745 else
20746 ac_cv_header_zlib_h=$ac_header_preproc
20747 fi
20748 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20749 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20750
20751 fi
20752
20753
20754
20755 system_zlib_h_ok=$ac_cv_header_zlib_h
20756 fi
20757
20758 if test "$system_zlib_h_ok" = "yes"; then
20759 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
20760 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
20761 if test "${ac_cv_lib_z_deflate+set}" = set; then
20762 echo $ECHO_N "(cached) $ECHO_C" >&6
20763 else
20764 ac_check_lib_save_LIBS=$LIBS
20765 LIBS="-lz $LIBS"
20766 cat >conftest.$ac_ext <<_ACEOF
20767 /* confdefs.h. */
20768 _ACEOF
20769 cat confdefs.h >>conftest.$ac_ext
20770 cat >>conftest.$ac_ext <<_ACEOF
20771 /* end confdefs.h. */
20772
20773 /* Override any gcc2 internal prototype to avoid an error. */
20774 #ifdef __cplusplus
20775 extern "C"
20776 #endif
20777 /* We use char because int might match the return type of a gcc2
20778 builtin and then its argument prototype would still apply. */
20779 char deflate ();
20780 int
20781 main ()
20782 {
20783 deflate ();
20784 ;
20785 return 0;
20786 }
20787 _ACEOF
20788 rm -f conftest.$ac_objext conftest$ac_exeext
20789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20790 (eval $ac_link) 2>conftest.er1
20791 ac_status=$?
20792 grep -v '^ *+' conftest.er1 >conftest.err
20793 rm -f conftest.er1
20794 cat conftest.err >&5
20795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20796 (exit $ac_status); } &&
20797 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20799 (eval $ac_try) 2>&5
20800 ac_status=$?
20801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20802 (exit $ac_status); }; } &&
20803 { ac_try='test -s conftest$ac_exeext'
20804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20805 (eval $ac_try) 2>&5
20806 ac_status=$?
20807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20808 (exit $ac_status); }; }; then
20809 ac_cv_lib_z_deflate=yes
20810 else
20811 echo "$as_me: failed program was:" >&5
20812 sed 's/^/| /' conftest.$ac_ext >&5
20813
20814 ac_cv_lib_z_deflate=no
20815 fi
20816 rm -f conftest.err conftest.$ac_objext \
20817 conftest$ac_exeext conftest.$ac_ext
20818 LIBS=$ac_check_lib_save_LIBS
20819 fi
20820 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
20821 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
20822 if test $ac_cv_lib_z_deflate = yes; then
20823 ZLIB_LINK=" -lz"
20824 fi
20825
20826 fi
20827
20828 if test "x$ZLIB_LINK" = "x" ; then
20829 if test "$wxUSE_ZLIB" = "sys" ; then
20830 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
20831 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
20832 { (exit 1); exit 1; }; }
20833 else
20834 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
20835 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
20836 wxUSE_ZLIB=builtin
20837 fi
20838 else
20839 wxUSE_ZLIB=sys
20840 fi
20841 fi
20842 fi
20843
20844
20845 PNG_LINK=
20846 if test "$wxUSE_LIBPNG" != "no" ; then
20847 cat >>confdefs.h <<\_ACEOF
20848 #define wxUSE_LIBPNG 1
20849 _ACEOF
20850
20851
20852 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
20853 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
20854 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
20855 wxUSE_LIBPNG=sys
20856 fi
20857
20858 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
20859 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
20860 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
20861 wxUSE_LIBPNG=builtin
20862 fi
20863
20864 if test "$wxUSE_MGL" != 1 ; then
20865 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
20866 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
20867 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
20868 if test "${ac_cv_header_png_h+set}" = set; then
20869 echo $ECHO_N "(cached) $ECHO_C" >&6
20870 else
20871 if test "$cross_compiling" = yes; then
20872 unset ac_cv_header_png_h
20873
20874 else
20875 cat >conftest.$ac_ext <<_ACEOF
20876 /* confdefs.h. */
20877 _ACEOF
20878 cat confdefs.h >>conftest.$ac_ext
20879 cat >>conftest.$ac_ext <<_ACEOF
20880 /* end confdefs.h. */
20881
20882 #include <png.h>
20883 #include <stdio.h>
20884
20885 int main()
20886 {
20887 FILE *f=fopen("conftestval", "w");
20888 if (!f) exit(1);
20889 fprintf(f, "%s",
20890 PNG_LIBPNG_VER > 90 ? "yes" : "no");
20891 exit(0);
20892 }
20893
20894 _ACEOF
20895 rm -f conftest$ac_exeext
20896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20897 (eval $ac_link) 2>&5
20898 ac_status=$?
20899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20900 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20902 (eval $ac_try) 2>&5
20903 ac_status=$?
20904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20905 (exit $ac_status); }; }; then
20906 ac_cv_header_png_h=`cat conftestval`
20907 else
20908 echo "$as_me: program exited with status $ac_status" >&5
20909 echo "$as_me: failed program was:" >&5
20910 sed 's/^/| /' conftest.$ac_ext >&5
20911
20912 ( exit $ac_status )
20913 ac_cv_header_png_h=no
20914 fi
20915 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20916 fi
20917
20918 fi
20919 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20920 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20921 if test "${ac_cv_header_png_h+set}" = set; then
20922 echo "$as_me:$LINENO: checking for png.h" >&5
20923 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20924 if test "${ac_cv_header_png_h+set}" = set; then
20925 echo $ECHO_N "(cached) $ECHO_C" >&6
20926 fi
20927 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20928 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20929 else
20930 # Is the header compilable?
20931 echo "$as_me:$LINENO: checking png.h usability" >&5
20932 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
20933 cat >conftest.$ac_ext <<_ACEOF
20934 /* confdefs.h. */
20935 _ACEOF
20936 cat confdefs.h >>conftest.$ac_ext
20937 cat >>conftest.$ac_ext <<_ACEOF
20938 /* end confdefs.h. */
20939 $ac_includes_default
20940 #include <png.h>
20941 _ACEOF
20942 rm -f conftest.$ac_objext
20943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20944 (eval $ac_compile) 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_objext'
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_header_compiler=yes
20964 else
20965 echo "$as_me: failed program was:" >&5
20966 sed 's/^/| /' conftest.$ac_ext >&5
20967
20968 ac_header_compiler=no
20969 fi
20970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20971 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20972 echo "${ECHO_T}$ac_header_compiler" >&6
20973
20974 # Is the header present?
20975 echo "$as_me:$LINENO: checking png.h presence" >&5
20976 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
20977 cat >conftest.$ac_ext <<_ACEOF
20978 /* confdefs.h. */
20979 _ACEOF
20980 cat confdefs.h >>conftest.$ac_ext
20981 cat >>conftest.$ac_ext <<_ACEOF
20982 /* end confdefs.h. */
20983 #include <png.h>
20984 _ACEOF
20985 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20986 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20987 ac_status=$?
20988 grep -v '^ *+' conftest.er1 >conftest.err
20989 rm -f conftest.er1
20990 cat conftest.err >&5
20991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20992 (exit $ac_status); } >/dev/null; then
20993 if test -s conftest.err; then
20994 ac_cpp_err=$ac_c_preproc_warn_flag
20995 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20996 else
20997 ac_cpp_err=
20998 fi
20999 else
21000 ac_cpp_err=yes
21001 fi
21002 if test -z "$ac_cpp_err"; then
21003 ac_header_preproc=yes
21004 else
21005 echo "$as_me: failed program was:" >&5
21006 sed 's/^/| /' conftest.$ac_ext >&5
21007
21008 ac_header_preproc=no
21009 fi
21010 rm -f conftest.err conftest.$ac_ext
21011 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21012 echo "${ECHO_T}$ac_header_preproc" >&6
21013
21014 # So? What about this header?
21015 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21016 yes:no: )
21017 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
21018 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21019 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
21020 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
21021 ac_header_preproc=yes
21022 ;;
21023 no:yes:* )
21024 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
21025 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
21026 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
21027 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
21028 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
21029 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
21030 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
21031 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
21032 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
21033 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
21034 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
21035 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
21036 (
21037 cat <<\_ASBOX
21038 ## ----------------------------------------- ##
21039 ## Report this to wx-dev@lists.wxwidgets.org ##
21040 ## ----------------------------------------- ##
21041 _ASBOX
21042 ) |
21043 sed "s/^/$as_me: WARNING: /" >&2
21044 ;;
21045 esac
21046 echo "$as_me:$LINENO: checking for png.h" >&5
21047 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21048 if test "${ac_cv_header_png_h+set}" = set; then
21049 echo $ECHO_N "(cached) $ECHO_C" >&6
21050 else
21051 ac_cv_header_png_h=$ac_header_preproc
21052 fi
21053 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21054 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21055
21056 fi
21057
21058
21059
21060 if test "$ac_cv_header_png_h" = "yes"; then
21061 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
21062 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
21063 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
21064 echo $ECHO_N "(cached) $ECHO_C" >&6
21065 else
21066 ac_check_lib_save_LIBS=$LIBS
21067 LIBS="-lpng -lz -lm $LIBS"
21068 cat >conftest.$ac_ext <<_ACEOF
21069 /* confdefs.h. */
21070 _ACEOF
21071 cat confdefs.h >>conftest.$ac_ext
21072 cat >>conftest.$ac_ext <<_ACEOF
21073 /* end confdefs.h. */
21074
21075 /* Override any gcc2 internal prototype to avoid an error. */
21076 #ifdef __cplusplus
21077 extern "C"
21078 #endif
21079 /* We use char because int might match the return type of a gcc2
21080 builtin and then its argument prototype would still apply. */
21081 char png_check_sig ();
21082 int
21083 main ()
21084 {
21085 png_check_sig ();
21086 ;
21087 return 0;
21088 }
21089 _ACEOF
21090 rm -f conftest.$ac_objext conftest$ac_exeext
21091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21092 (eval $ac_link) 2>conftest.er1
21093 ac_status=$?
21094 grep -v '^ *+' conftest.er1 >conftest.err
21095 rm -f conftest.er1
21096 cat conftest.err >&5
21097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21098 (exit $ac_status); } &&
21099 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21101 (eval $ac_try) 2>&5
21102 ac_status=$?
21103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21104 (exit $ac_status); }; } &&
21105 { ac_try='test -s conftest$ac_exeext'
21106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21107 (eval $ac_try) 2>&5
21108 ac_status=$?
21109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21110 (exit $ac_status); }; }; then
21111 ac_cv_lib_png_png_check_sig=yes
21112 else
21113 echo "$as_me: failed program was:" >&5
21114 sed 's/^/| /' conftest.$ac_ext >&5
21115
21116 ac_cv_lib_png_png_check_sig=no
21117 fi
21118 rm -f conftest.err conftest.$ac_objext \
21119 conftest$ac_exeext conftest.$ac_ext
21120 LIBS=$ac_check_lib_save_LIBS
21121 fi
21122 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
21123 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
21124 if test $ac_cv_lib_png_png_check_sig = yes; then
21125 PNG_LINK=" -lpng -lz"
21126 fi
21127
21128 fi
21129
21130 if test "x$PNG_LINK" = "x" ; then
21131 if test "$wxUSE_LIBPNG" = "sys" ; then
21132 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
21133 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
21134 { (exit 1); exit 1; }; }
21135 else
21136 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
21137 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
21138 wxUSE_LIBPNG=builtin
21139 fi
21140 else
21141 wxUSE_LIBPNG=sys
21142 fi
21143 fi
21144 fi
21145
21146 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
21147 fi
21148
21149
21150 JPEG_LINK=
21151 if test "$wxUSE_LIBJPEG" != "no" ; then
21152 cat >>confdefs.h <<\_ACEOF
21153 #define wxUSE_LIBJPEG 1
21154 _ACEOF
21155
21156
21157 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
21158 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
21159 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
21160 wxUSE_LIBJPEG=sys
21161 fi
21162
21163 if test "$wxUSE_MGL" != 1 ; then
21164 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
21165 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
21166 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
21167 if test "${ac_cv_header_jpeglib_h+set}" = set; then
21168 echo $ECHO_N "(cached) $ECHO_C" >&6
21169 else
21170 cat >conftest.$ac_ext <<_ACEOF
21171 /* confdefs.h. */
21172 _ACEOF
21173 cat confdefs.h >>conftest.$ac_ext
21174 cat >>conftest.$ac_ext <<_ACEOF
21175 /* end confdefs.h. */
21176
21177 #undef HAVE_STDLIB_H
21178 #include <stdio.h>
21179 #include <jpeglib.h>
21180
21181 int
21182 main ()
21183 {
21184
21185
21186 ;
21187 return 0;
21188 }
21189 _ACEOF
21190 rm -f conftest.$ac_objext
21191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21192 (eval $ac_compile) 2>conftest.er1
21193 ac_status=$?
21194 grep -v '^ *+' conftest.er1 >conftest.err
21195 rm -f conftest.er1
21196 cat conftest.err >&5
21197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21198 (exit $ac_status); } &&
21199 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21201 (eval $ac_try) 2>&5
21202 ac_status=$?
21203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21204 (exit $ac_status); }; } &&
21205 { ac_try='test -s conftest.$ac_objext'
21206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21207 (eval $ac_try) 2>&5
21208 ac_status=$?
21209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21210 (exit $ac_status); }; }; then
21211 ac_cv_header_jpeglib_h=yes
21212 else
21213 echo "$as_me: failed program was:" >&5
21214 sed 's/^/| /' conftest.$ac_ext >&5
21215
21216 ac_cv_header_jpeglib_h=no
21217
21218 fi
21219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21220
21221 fi
21222
21223 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
21224 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
21225
21226 if test "$ac_cv_header_jpeglib_h" = "yes"; then
21227 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
21228 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
21229 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
21230 echo $ECHO_N "(cached) $ECHO_C" >&6
21231 else
21232 ac_check_lib_save_LIBS=$LIBS
21233 LIBS="-ljpeg $LIBS"
21234 cat >conftest.$ac_ext <<_ACEOF
21235 /* confdefs.h. */
21236 _ACEOF
21237 cat confdefs.h >>conftest.$ac_ext
21238 cat >>conftest.$ac_ext <<_ACEOF
21239 /* end confdefs.h. */
21240
21241 /* Override any gcc2 internal prototype to avoid an error. */
21242 #ifdef __cplusplus
21243 extern "C"
21244 #endif
21245 /* We use char because int might match the return type of a gcc2
21246 builtin and then its argument prototype would still apply. */
21247 char jpeg_read_header ();
21248 int
21249 main ()
21250 {
21251 jpeg_read_header ();
21252 ;
21253 return 0;
21254 }
21255 _ACEOF
21256 rm -f conftest.$ac_objext conftest$ac_exeext
21257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21258 (eval $ac_link) 2>conftest.er1
21259 ac_status=$?
21260 grep -v '^ *+' conftest.er1 >conftest.err
21261 rm -f conftest.er1
21262 cat conftest.err >&5
21263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21264 (exit $ac_status); } &&
21265 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21267 (eval $ac_try) 2>&5
21268 ac_status=$?
21269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21270 (exit $ac_status); }; } &&
21271 { ac_try='test -s conftest$ac_exeext'
21272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21273 (eval $ac_try) 2>&5
21274 ac_status=$?
21275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21276 (exit $ac_status); }; }; then
21277 ac_cv_lib_jpeg_jpeg_read_header=yes
21278 else
21279 echo "$as_me: failed program was:" >&5
21280 sed 's/^/| /' conftest.$ac_ext >&5
21281
21282 ac_cv_lib_jpeg_jpeg_read_header=no
21283 fi
21284 rm -f conftest.err conftest.$ac_objext \
21285 conftest$ac_exeext conftest.$ac_ext
21286 LIBS=$ac_check_lib_save_LIBS
21287 fi
21288 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
21289 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
21290 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
21291 JPEG_LINK=" -ljpeg"
21292 fi
21293
21294 fi
21295
21296 if test "x$JPEG_LINK" = "x" ; then
21297 if test "$wxUSE_LIBJPEG" = "sys" ; then
21298 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
21299 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
21300 { (exit 1); exit 1; }; }
21301 else
21302 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
21303 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
21304 wxUSE_LIBJPEG=builtin
21305 fi
21306 else
21307 wxUSE_LIBJPEG=sys
21308 fi
21309 fi
21310 fi
21311 fi
21312
21313
21314 TIFF_LINK=
21315 TIFF_PREREQ_LINKS=-lm
21316 if test "$wxUSE_LIBTIFF" != "no" ; then
21317 cat >>confdefs.h <<\_ACEOF
21318 #define wxUSE_LIBTIFF 1
21319 _ACEOF
21320
21321
21322 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
21323 if test "$wxUSE_LIBJPEG" = "sys"; then
21324 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
21325 fi
21326 if test "$wxUSE_ZLIB" = "sys"; then
21327 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
21328 fi
21329 if test "${ac_cv_header_tiffio_h+set}" = set; then
21330 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21331 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21332 if test "${ac_cv_header_tiffio_h+set}" = set; then
21333 echo $ECHO_N "(cached) $ECHO_C" >&6
21334 fi
21335 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21336 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21337 else
21338 # Is the header compilable?
21339 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
21340 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
21341 cat >conftest.$ac_ext <<_ACEOF
21342 /* confdefs.h. */
21343 _ACEOF
21344 cat confdefs.h >>conftest.$ac_ext
21345 cat >>conftest.$ac_ext <<_ACEOF
21346 /* end confdefs.h. */
21347 $ac_includes_default
21348 #include <tiffio.h>
21349 _ACEOF
21350 rm -f conftest.$ac_objext
21351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21352 (eval $ac_compile) 2>conftest.er1
21353 ac_status=$?
21354 grep -v '^ *+' conftest.er1 >conftest.err
21355 rm -f conftest.er1
21356 cat conftest.err >&5
21357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21358 (exit $ac_status); } &&
21359 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21361 (eval $ac_try) 2>&5
21362 ac_status=$?
21363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21364 (exit $ac_status); }; } &&
21365 { ac_try='test -s conftest.$ac_objext'
21366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21367 (eval $ac_try) 2>&5
21368 ac_status=$?
21369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21370 (exit $ac_status); }; }; then
21371 ac_header_compiler=yes
21372 else
21373 echo "$as_me: failed program was:" >&5
21374 sed 's/^/| /' conftest.$ac_ext >&5
21375
21376 ac_header_compiler=no
21377 fi
21378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21379 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21380 echo "${ECHO_T}$ac_header_compiler" >&6
21381
21382 # Is the header present?
21383 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
21384 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
21385 cat >conftest.$ac_ext <<_ACEOF
21386 /* confdefs.h. */
21387 _ACEOF
21388 cat confdefs.h >>conftest.$ac_ext
21389 cat >>conftest.$ac_ext <<_ACEOF
21390 /* end confdefs.h. */
21391 #include <tiffio.h>
21392 _ACEOF
21393 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21394 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21395 ac_status=$?
21396 grep -v '^ *+' conftest.er1 >conftest.err
21397 rm -f conftest.er1
21398 cat conftest.err >&5
21399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21400 (exit $ac_status); } >/dev/null; then
21401 if test -s conftest.err; then
21402 ac_cpp_err=$ac_c_preproc_warn_flag
21403 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21404 else
21405 ac_cpp_err=
21406 fi
21407 else
21408 ac_cpp_err=yes
21409 fi
21410 if test -z "$ac_cpp_err"; then
21411 ac_header_preproc=yes
21412 else
21413 echo "$as_me: failed program was:" >&5
21414 sed 's/^/| /' conftest.$ac_ext >&5
21415
21416 ac_header_preproc=no
21417 fi
21418 rm -f conftest.err conftest.$ac_ext
21419 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21420 echo "${ECHO_T}$ac_header_preproc" >&6
21421
21422 # So? What about this header?
21423 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21424 yes:no: )
21425 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
21426 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21427 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
21428 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
21429 ac_header_preproc=yes
21430 ;;
21431 no:yes:* )
21432 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
21433 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
21434 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
21435 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
21436 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
21437 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
21438 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
21439 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
21440 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
21441 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
21442 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
21443 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
21444 (
21445 cat <<\_ASBOX
21446 ## ----------------------------------------- ##
21447 ## Report this to wx-dev@lists.wxwidgets.org ##
21448 ## ----------------------------------------- ##
21449 _ASBOX
21450 ) |
21451 sed "s/^/$as_me: WARNING: /" >&2
21452 ;;
21453 esac
21454 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21455 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21456 if test "${ac_cv_header_tiffio_h+set}" = set; then
21457 echo $ECHO_N "(cached) $ECHO_C" >&6
21458 else
21459 ac_cv_header_tiffio_h=$ac_header_preproc
21460 fi
21461 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21462 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21463
21464 fi
21465 if test $ac_cv_header_tiffio_h = yes; then
21466
21467 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
21468 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
21469 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
21470 echo $ECHO_N "(cached) $ECHO_C" >&6
21471 else
21472 ac_check_lib_save_LIBS=$LIBS
21473 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
21474 cat >conftest.$ac_ext <<_ACEOF
21475 /* confdefs.h. */
21476 _ACEOF
21477 cat confdefs.h >>conftest.$ac_ext
21478 cat >>conftest.$ac_ext <<_ACEOF
21479 /* end confdefs.h. */
21480
21481 /* Override any gcc2 internal prototype to avoid an error. */
21482 #ifdef __cplusplus
21483 extern "C"
21484 #endif
21485 /* We use char because int might match the return type of a gcc2
21486 builtin and then its argument prototype would still apply. */
21487 char TIFFError ();
21488 int
21489 main ()
21490 {
21491 TIFFError ();
21492 ;
21493 return 0;
21494 }
21495 _ACEOF
21496 rm -f conftest.$ac_objext conftest$ac_exeext
21497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21498 (eval $ac_link) 2>conftest.er1
21499 ac_status=$?
21500 grep -v '^ *+' conftest.er1 >conftest.err
21501 rm -f conftest.er1
21502 cat conftest.err >&5
21503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21504 (exit $ac_status); } &&
21505 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21507 (eval $ac_try) 2>&5
21508 ac_status=$?
21509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21510 (exit $ac_status); }; } &&
21511 { ac_try='test -s conftest$ac_exeext'
21512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21513 (eval $ac_try) 2>&5
21514 ac_status=$?
21515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21516 (exit $ac_status); }; }; then
21517 ac_cv_lib_tiff_TIFFError=yes
21518 else
21519 echo "$as_me: failed program was:" >&5
21520 sed 's/^/| /' conftest.$ac_ext >&5
21521
21522 ac_cv_lib_tiff_TIFFError=no
21523 fi
21524 rm -f conftest.err conftest.$ac_objext \
21525 conftest$ac_exeext conftest.$ac_ext
21526 LIBS=$ac_check_lib_save_LIBS
21527 fi
21528 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
21529 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
21530 if test $ac_cv_lib_tiff_TIFFError = yes; then
21531 TIFF_LINK=" -ltiff"
21532 fi
21533
21534
21535
21536 fi
21537
21538
21539
21540 if test "x$TIFF_LINK" = "x" ; then
21541 if test "$wxUSE_LIBTIFF" = "sys" ; then
21542 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
21543 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
21544 { (exit 1); exit 1; }; }
21545 else
21546 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
21547 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
21548 wxUSE_LIBTIFF=builtin
21549 fi
21550 else
21551 wxUSE_LIBTIFF=sys
21552 fi
21553 fi
21554 fi
21555
21556
21557 if test "$wxUSE_EXPAT" != "no"; then
21558 wxUSE_XML=yes
21559 cat >>confdefs.h <<\_ACEOF
21560 #define wxUSE_EXPAT 1
21561 _ACEOF
21562
21563 cat >>confdefs.h <<\_ACEOF
21564 #define wxUSE_XML 1
21565 _ACEOF
21566
21567
21568 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
21569 if test "${ac_cv_header_expat_h+set}" = set; then
21570 echo "$as_me:$LINENO: checking for expat.h" >&5
21571 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21572 if test "${ac_cv_header_expat_h+set}" = set; then
21573 echo $ECHO_N "(cached) $ECHO_C" >&6
21574 fi
21575 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21576 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21577 else
21578 # Is the header compilable?
21579 echo "$as_me:$LINENO: checking expat.h usability" >&5
21580 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
21581 cat >conftest.$ac_ext <<_ACEOF
21582 /* confdefs.h. */
21583 _ACEOF
21584 cat confdefs.h >>conftest.$ac_ext
21585 cat >>conftest.$ac_ext <<_ACEOF
21586 /* end confdefs.h. */
21587 $ac_includes_default
21588 #include <expat.h>
21589 _ACEOF
21590 rm -f conftest.$ac_objext
21591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21592 (eval $ac_compile) 2>conftest.er1
21593 ac_status=$?
21594 grep -v '^ *+' conftest.er1 >conftest.err
21595 rm -f conftest.er1
21596 cat conftest.err >&5
21597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21598 (exit $ac_status); } &&
21599 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
21605 { ac_try='test -s conftest.$ac_objext'
21606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21607 (eval $ac_try) 2>&5
21608 ac_status=$?
21609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21610 (exit $ac_status); }; }; then
21611 ac_header_compiler=yes
21612 else
21613 echo "$as_me: failed program was:" >&5
21614 sed 's/^/| /' conftest.$ac_ext >&5
21615
21616 ac_header_compiler=no
21617 fi
21618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21619 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21620 echo "${ECHO_T}$ac_header_compiler" >&6
21621
21622 # Is the header present?
21623 echo "$as_me:$LINENO: checking expat.h presence" >&5
21624 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
21625 cat >conftest.$ac_ext <<_ACEOF
21626 /* confdefs.h. */
21627 _ACEOF
21628 cat confdefs.h >>conftest.$ac_ext
21629 cat >>conftest.$ac_ext <<_ACEOF
21630 /* end confdefs.h. */
21631 #include <expat.h>
21632 _ACEOF
21633 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21634 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21635 ac_status=$?
21636 grep -v '^ *+' conftest.er1 >conftest.err
21637 rm -f conftest.er1
21638 cat conftest.err >&5
21639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21640 (exit $ac_status); } >/dev/null; then
21641 if test -s conftest.err; then
21642 ac_cpp_err=$ac_c_preproc_warn_flag
21643 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21644 else
21645 ac_cpp_err=
21646 fi
21647 else
21648 ac_cpp_err=yes
21649 fi
21650 if test -z "$ac_cpp_err"; then
21651 ac_header_preproc=yes
21652 else
21653 echo "$as_me: failed program was:" >&5
21654 sed 's/^/| /' conftest.$ac_ext >&5
21655
21656 ac_header_preproc=no
21657 fi
21658 rm -f conftest.err conftest.$ac_ext
21659 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21660 echo "${ECHO_T}$ac_header_preproc" >&6
21661
21662 # So? What about this header?
21663 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21664 yes:no: )
21665 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
21666 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21667 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
21668 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
21669 ac_header_preproc=yes
21670 ;;
21671 no:yes:* )
21672 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
21673 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
21674 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
21675 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
21676 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
21677 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
21678 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
21679 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
21680 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
21681 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
21682 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
21683 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
21684 (
21685 cat <<\_ASBOX
21686 ## ----------------------------------------- ##
21687 ## Report this to wx-dev@lists.wxwidgets.org ##
21688 ## ----------------------------------------- ##
21689 _ASBOX
21690 ) |
21691 sed "s/^/$as_me: WARNING: /" >&2
21692 ;;
21693 esac
21694 echo "$as_me:$LINENO: checking for expat.h" >&5
21695 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21696 if test "${ac_cv_header_expat_h+set}" = set; then
21697 echo $ECHO_N "(cached) $ECHO_C" >&6
21698 else
21699 ac_cv_header_expat_h=$ac_header_preproc
21700 fi
21701 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21702 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21703
21704 fi
21705 if test $ac_cv_header_expat_h = yes; then
21706 found_expat_h=1
21707 fi
21708
21709
21710 if test "x$found_expat_h" = "x1"; then
21711 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
21712 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
21713 if test "${wx_cv_expat_is_not_broken+set}" = set; then
21714 echo $ECHO_N "(cached) $ECHO_C" >&6
21715 else
21716
21717
21718
21719 ac_ext=cc
21720 ac_cpp='$CXXCPP $CPPFLAGS'
21721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21724
21725 cat >conftest.$ac_ext <<_ACEOF
21726 /* confdefs.h. */
21727 _ACEOF
21728 cat confdefs.h >>conftest.$ac_ext
21729 cat >>conftest.$ac_ext <<_ACEOF
21730 /* end confdefs.h. */
21731 #include <expat.h>
21732 int
21733 main ()
21734 {
21735
21736 ;
21737 return 0;
21738 }
21739 _ACEOF
21740 rm -f conftest.$ac_objext
21741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21742 (eval $ac_compile) 2>conftest.er1
21743 ac_status=$?
21744 grep -v '^ *+' conftest.er1 >conftest.err
21745 rm -f conftest.er1
21746 cat conftest.err >&5
21747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21748 (exit $ac_status); } &&
21749 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21751 (eval $ac_try) 2>&5
21752 ac_status=$?
21753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21754 (exit $ac_status); }; } &&
21755 { ac_try='test -s conftest.$ac_objext'
21756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21757 (eval $ac_try) 2>&5
21758 ac_status=$?
21759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21760 (exit $ac_status); }; }; then
21761 wx_cv_expat_is_not_broken=yes
21762 else
21763 echo "$as_me: failed program was:" >&5
21764 sed 's/^/| /' conftest.$ac_ext >&5
21765
21766 wx_cv_expat_is_not_broken=no
21767
21768 fi
21769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21770 ac_ext=c
21771 ac_cpp='$CPP $CPPFLAGS'
21772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21775
21776
21777
21778 fi
21779 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
21780 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
21781 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
21782 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
21783 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
21784 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
21785 echo $ECHO_N "(cached) $ECHO_C" >&6
21786 else
21787 ac_check_lib_save_LIBS=$LIBS
21788 LIBS="-lexpat $LIBS"
21789 cat >conftest.$ac_ext <<_ACEOF
21790 /* confdefs.h. */
21791 _ACEOF
21792 cat confdefs.h >>conftest.$ac_ext
21793 cat >>conftest.$ac_ext <<_ACEOF
21794 /* end confdefs.h. */
21795
21796 /* Override any gcc2 internal prototype to avoid an error. */
21797 #ifdef __cplusplus
21798 extern "C"
21799 #endif
21800 /* We use char because int might match the return type of a gcc2
21801 builtin and then its argument prototype would still apply. */
21802 char XML_ParserCreate ();
21803 int
21804 main ()
21805 {
21806 XML_ParserCreate ();
21807 ;
21808 return 0;
21809 }
21810 _ACEOF
21811 rm -f conftest.$ac_objext conftest$ac_exeext
21812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21813 (eval $ac_link) 2>conftest.er1
21814 ac_status=$?
21815 grep -v '^ *+' conftest.er1 >conftest.err
21816 rm -f conftest.er1
21817 cat conftest.err >&5
21818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21819 (exit $ac_status); } &&
21820 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21822 (eval $ac_try) 2>&5
21823 ac_status=$?
21824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21825 (exit $ac_status); }; } &&
21826 { ac_try='test -s conftest$ac_exeext'
21827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21828 (eval $ac_try) 2>&5
21829 ac_status=$?
21830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21831 (exit $ac_status); }; }; then
21832 ac_cv_lib_expat_XML_ParserCreate=yes
21833 else
21834 echo "$as_me: failed program was:" >&5
21835 sed 's/^/| /' conftest.$ac_ext >&5
21836
21837 ac_cv_lib_expat_XML_ParserCreate=no
21838 fi
21839 rm -f conftest.err conftest.$ac_objext \
21840 conftest$ac_exeext conftest.$ac_ext
21841 LIBS=$ac_check_lib_save_LIBS
21842 fi
21843 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
21844 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
21845 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
21846 EXPAT_LINK=" -lexpat"
21847 fi
21848
21849 fi
21850 fi
21851 if test "x$EXPAT_LINK" = "x" ; then
21852 if test "$wxUSE_EXPAT" = "sys" ; then
21853 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
21854 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
21855 { (exit 1); exit 1; }; }
21856 else
21857 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
21858 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
21859 wxUSE_EXPAT=builtin
21860 fi
21861 else
21862 wxUSE_EXPAT=sys
21863 fi
21864 fi
21865 if test "$wxUSE_EXPAT" = "builtin" ; then
21866
21867
21868 subdirs="$subdirs src/expat"
21869
21870 fi
21871 fi
21872
21873
21874
21875 if test "$wxUSE_LIBMSPACK" != "no"; then
21876
21877 if test "${ac_cv_header_mspack_h+set}" = set; then
21878 echo "$as_me:$LINENO: checking for mspack.h" >&5
21879 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21880 if test "${ac_cv_header_mspack_h+set}" = set; then
21881 echo $ECHO_N "(cached) $ECHO_C" >&6
21882 fi
21883 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21884 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21885 else
21886 # Is the header compilable?
21887 echo "$as_me:$LINENO: checking mspack.h usability" >&5
21888 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
21889 cat >conftest.$ac_ext <<_ACEOF
21890 /* confdefs.h. */
21891 _ACEOF
21892 cat confdefs.h >>conftest.$ac_ext
21893 cat >>conftest.$ac_ext <<_ACEOF
21894 /* end confdefs.h. */
21895 $ac_includes_default
21896 #include <mspack.h>
21897 _ACEOF
21898 rm -f conftest.$ac_objext
21899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21900 (eval $ac_compile) 2>conftest.er1
21901 ac_status=$?
21902 grep -v '^ *+' conftest.er1 >conftest.err
21903 rm -f conftest.er1
21904 cat conftest.err >&5
21905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21906 (exit $ac_status); } &&
21907 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21909 (eval $ac_try) 2>&5
21910 ac_status=$?
21911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21912 (exit $ac_status); }; } &&
21913 { ac_try='test -s conftest.$ac_objext'
21914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21915 (eval $ac_try) 2>&5
21916 ac_status=$?
21917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21918 (exit $ac_status); }; }; then
21919 ac_header_compiler=yes
21920 else
21921 echo "$as_me: failed program was:" >&5
21922 sed 's/^/| /' conftest.$ac_ext >&5
21923
21924 ac_header_compiler=no
21925 fi
21926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21927 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21928 echo "${ECHO_T}$ac_header_compiler" >&6
21929
21930 # Is the header present?
21931 echo "$as_me:$LINENO: checking mspack.h presence" >&5
21932 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
21933 cat >conftest.$ac_ext <<_ACEOF
21934 /* confdefs.h. */
21935 _ACEOF
21936 cat confdefs.h >>conftest.$ac_ext
21937 cat >>conftest.$ac_ext <<_ACEOF
21938 /* end confdefs.h. */
21939 #include <mspack.h>
21940 _ACEOF
21941 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21942 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21943 ac_status=$?
21944 grep -v '^ *+' conftest.er1 >conftest.err
21945 rm -f conftest.er1
21946 cat conftest.err >&5
21947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21948 (exit $ac_status); } >/dev/null; then
21949 if test -s conftest.err; then
21950 ac_cpp_err=$ac_c_preproc_warn_flag
21951 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21952 else
21953 ac_cpp_err=
21954 fi
21955 else
21956 ac_cpp_err=yes
21957 fi
21958 if test -z "$ac_cpp_err"; then
21959 ac_header_preproc=yes
21960 else
21961 echo "$as_me: failed program was:" >&5
21962 sed 's/^/| /' conftest.$ac_ext >&5
21963
21964 ac_header_preproc=no
21965 fi
21966 rm -f conftest.err conftest.$ac_ext
21967 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21968 echo "${ECHO_T}$ac_header_preproc" >&6
21969
21970 # So? What about this header?
21971 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21972 yes:no: )
21973 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
21974 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21975 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
21976 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
21977 ac_header_preproc=yes
21978 ;;
21979 no:yes:* )
21980 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
21981 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
21982 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
21983 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
21984 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
21985 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
21986 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
21987 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
21988 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
21989 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
21990 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
21991 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
21992 (
21993 cat <<\_ASBOX
21994 ## ----------------------------------------- ##
21995 ## Report this to wx-dev@lists.wxwidgets.org ##
21996 ## ----------------------------------------- ##
21997 _ASBOX
21998 ) |
21999 sed "s/^/$as_me: WARNING: /" >&2
22000 ;;
22001 esac
22002 echo "$as_me:$LINENO: checking for mspack.h" >&5
22003 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
22004 if test "${ac_cv_header_mspack_h+set}" = set; then
22005 echo $ECHO_N "(cached) $ECHO_C" >&6
22006 else
22007 ac_cv_header_mspack_h=$ac_header_preproc
22008 fi
22009 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
22010 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
22011
22012 fi
22013 if test $ac_cv_header_mspack_h = yes; then
22014 found_mspack_h=1
22015 fi
22016
22017
22018 if test "x$found_mspack_h" = "x1"; then
22019 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
22020 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
22021 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
22022 echo $ECHO_N "(cached) $ECHO_C" >&6
22023 else
22024 ac_check_lib_save_LIBS=$LIBS
22025 LIBS="-lmspack $LIBS"
22026 cat >conftest.$ac_ext <<_ACEOF
22027 /* confdefs.h. */
22028 _ACEOF
22029 cat confdefs.h >>conftest.$ac_ext
22030 cat >>conftest.$ac_ext <<_ACEOF
22031 /* end confdefs.h. */
22032
22033 /* Override any gcc2 internal prototype to avoid an error. */
22034 #ifdef __cplusplus
22035 extern "C"
22036 #endif
22037 /* We use char because int might match the return type of a gcc2
22038 builtin and then its argument prototype would still apply. */
22039 char mspack_create_chm_decompressor ();
22040 int
22041 main ()
22042 {
22043 mspack_create_chm_decompressor ();
22044 ;
22045 return 0;
22046 }
22047 _ACEOF
22048 rm -f conftest.$ac_objext conftest$ac_exeext
22049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22050 (eval $ac_link) 2>conftest.er1
22051 ac_status=$?
22052 grep -v '^ *+' conftest.er1 >conftest.err
22053 rm -f conftest.er1
22054 cat conftest.err >&5
22055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22056 (exit $ac_status); } &&
22057 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22059 (eval $ac_try) 2>&5
22060 ac_status=$?
22061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22062 (exit $ac_status); }; } &&
22063 { ac_try='test -s conftest$ac_exeext'
22064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22065 (eval $ac_try) 2>&5
22066 ac_status=$?
22067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22068 (exit $ac_status); }; }; then
22069 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
22070 else
22071 echo "$as_me: failed program was:" >&5
22072 sed 's/^/| /' conftest.$ac_ext >&5
22073
22074 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
22075 fi
22076 rm -f conftest.err conftest.$ac_objext \
22077 conftest$ac_exeext conftest.$ac_ext
22078 LIBS=$ac_check_lib_save_LIBS
22079 fi
22080 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
22081 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
22082 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
22083 MSPACK_LINK=" -lmspack"
22084 fi
22085
22086 fi
22087 if test "x$MSPACK_LINK" = "x" ; then
22088 wxUSE_LIBMSPACK=no
22089 else
22090 cat >>confdefs.h <<\_ACEOF
22091 #define wxUSE_LIBMSPACK 1
22092 _ACEOF
22093
22094 fi
22095 fi
22096
22097
22098
22099 AFMINSTALL=
22100 WIN32INSTALL=
22101
22102 TOOLKIT=
22103 TOOLKIT_INCLUDE=
22104 WIDGET_SET=
22105
22106 if test "$USE_WIN32" = 1 ; then
22107
22108 for ac_header in w32api.h
22109 do
22110 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22111 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22112 echo "$as_me:$LINENO: checking for $ac_header" >&5
22113 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22114 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22115 echo $ECHO_N "(cached) $ECHO_C" >&6
22116 fi
22117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22118 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22119 else
22120 # Is the header compilable?
22121 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22122 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22123 cat >conftest.$ac_ext <<_ACEOF
22124 /* confdefs.h. */
22125 _ACEOF
22126 cat confdefs.h >>conftest.$ac_ext
22127 cat >>conftest.$ac_ext <<_ACEOF
22128 /* end confdefs.h. */
22129 $ac_includes_default
22130 #include <$ac_header>
22131 _ACEOF
22132 rm -f conftest.$ac_objext
22133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22134 (eval $ac_compile) 2>conftest.er1
22135 ac_status=$?
22136 grep -v '^ *+' conftest.er1 >conftest.err
22137 rm -f conftest.er1
22138 cat conftest.err >&5
22139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22140 (exit $ac_status); } &&
22141 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22143 (eval $ac_try) 2>&5
22144 ac_status=$?
22145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22146 (exit $ac_status); }; } &&
22147 { ac_try='test -s conftest.$ac_objext'
22148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22149 (eval $ac_try) 2>&5
22150 ac_status=$?
22151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22152 (exit $ac_status); }; }; then
22153 ac_header_compiler=yes
22154 else
22155 echo "$as_me: failed program was:" >&5
22156 sed 's/^/| /' conftest.$ac_ext >&5
22157
22158 ac_header_compiler=no
22159 fi
22160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22161 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22162 echo "${ECHO_T}$ac_header_compiler" >&6
22163
22164 # Is the header present?
22165 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22166 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22167 cat >conftest.$ac_ext <<_ACEOF
22168 /* confdefs.h. */
22169 _ACEOF
22170 cat confdefs.h >>conftest.$ac_ext
22171 cat >>conftest.$ac_ext <<_ACEOF
22172 /* end confdefs.h. */
22173 #include <$ac_header>
22174 _ACEOF
22175 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22176 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22177 ac_status=$?
22178 grep -v '^ *+' conftest.er1 >conftest.err
22179 rm -f conftest.er1
22180 cat conftest.err >&5
22181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22182 (exit $ac_status); } >/dev/null; then
22183 if test -s conftest.err; then
22184 ac_cpp_err=$ac_c_preproc_warn_flag
22185 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22186 else
22187 ac_cpp_err=
22188 fi
22189 else
22190 ac_cpp_err=yes
22191 fi
22192 if test -z "$ac_cpp_err"; then
22193 ac_header_preproc=yes
22194 else
22195 echo "$as_me: failed program was:" >&5
22196 sed 's/^/| /' conftest.$ac_ext >&5
22197
22198 ac_header_preproc=no
22199 fi
22200 rm -f conftest.err conftest.$ac_ext
22201 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22202 echo "${ECHO_T}$ac_header_preproc" >&6
22203
22204 # So? What about this header?
22205 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22206 yes:no: )
22207 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22208 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22209 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22210 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22211 ac_header_preproc=yes
22212 ;;
22213 no:yes:* )
22214 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22215 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22216 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22217 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22218 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22219 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22220 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22221 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22222 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22223 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22224 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22225 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22226 (
22227 cat <<\_ASBOX
22228 ## ----------------------------------------- ##
22229 ## Report this to wx-dev@lists.wxwidgets.org ##
22230 ## ----------------------------------------- ##
22231 _ASBOX
22232 ) |
22233 sed "s/^/$as_me: WARNING: /" >&2
22234 ;;
22235 esac
22236 echo "$as_me:$LINENO: checking for $ac_header" >&5
22237 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22238 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22239 echo $ECHO_N "(cached) $ECHO_C" >&6
22240 else
22241 eval "$as_ac_Header=\$ac_header_preproc"
22242 fi
22243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22244 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22245
22246 fi
22247 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22248 cat >>confdefs.h <<_ACEOF
22249 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22250 _ACEOF
22251
22252 fi
22253
22254 done
22255
22256 if test "${ac_cv_header_windows_h+set}" = set; then
22257 echo "$as_me:$LINENO: checking for windows.h" >&5
22258 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22259 if test "${ac_cv_header_windows_h+set}" = set; then
22260 echo $ECHO_N "(cached) $ECHO_C" >&6
22261 fi
22262 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22263 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22264 else
22265 # Is the header compilable?
22266 echo "$as_me:$LINENO: checking windows.h usability" >&5
22267 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
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 $ac_includes_default
22275 #include <windows.h>
22276 _ACEOF
22277 rm -f conftest.$ac_objext
22278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22279 (eval $ac_compile) 2>conftest.er1
22280 ac_status=$?
22281 grep -v '^ *+' conftest.er1 >conftest.err
22282 rm -f conftest.er1
22283 cat conftest.err >&5
22284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22285 (exit $ac_status); } &&
22286 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22288 (eval $ac_try) 2>&5
22289 ac_status=$?
22290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22291 (exit $ac_status); }; } &&
22292 { ac_try='test -s conftest.$ac_objext'
22293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22294 (eval $ac_try) 2>&5
22295 ac_status=$?
22296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22297 (exit $ac_status); }; }; then
22298 ac_header_compiler=yes
22299 else
22300 echo "$as_me: failed program was:" >&5
22301 sed 's/^/| /' conftest.$ac_ext >&5
22302
22303 ac_header_compiler=no
22304 fi
22305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22306 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22307 echo "${ECHO_T}$ac_header_compiler" >&6
22308
22309 # Is the header present?
22310 echo "$as_me:$LINENO: checking windows.h presence" >&5
22311 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
22312 cat >conftest.$ac_ext <<_ACEOF
22313 /* confdefs.h. */
22314 _ACEOF
22315 cat confdefs.h >>conftest.$ac_ext
22316 cat >>conftest.$ac_ext <<_ACEOF
22317 /* end confdefs.h. */
22318 #include <windows.h>
22319 _ACEOF
22320 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22321 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22322 ac_status=$?
22323 grep -v '^ *+' conftest.er1 >conftest.err
22324 rm -f conftest.er1
22325 cat conftest.err >&5
22326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22327 (exit $ac_status); } >/dev/null; then
22328 if test -s conftest.err; then
22329 ac_cpp_err=$ac_c_preproc_warn_flag
22330 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22331 else
22332 ac_cpp_err=
22333 fi
22334 else
22335 ac_cpp_err=yes
22336 fi
22337 if test -z "$ac_cpp_err"; then
22338 ac_header_preproc=yes
22339 else
22340 echo "$as_me: failed program was:" >&5
22341 sed 's/^/| /' conftest.$ac_ext >&5
22342
22343 ac_header_preproc=no
22344 fi
22345 rm -f conftest.err conftest.$ac_ext
22346 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22347 echo "${ECHO_T}$ac_header_preproc" >&6
22348
22349 # So? What about this header?
22350 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22351 yes:no: )
22352 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
22353 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22354 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
22355 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
22356 ac_header_preproc=yes
22357 ;;
22358 no:yes:* )
22359 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
22360 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
22361 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
22362 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
22363 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
22364 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
22365 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
22366 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
22367 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
22368 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
22369 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
22370 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
22371 (
22372 cat <<\_ASBOX
22373 ## ----------------------------------------- ##
22374 ## Report this to wx-dev@lists.wxwidgets.org ##
22375 ## ----------------------------------------- ##
22376 _ASBOX
22377 ) |
22378 sed "s/^/$as_me: WARNING: /" >&2
22379 ;;
22380 esac
22381 echo "$as_me:$LINENO: checking for windows.h" >&5
22382 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22383 if test "${ac_cv_header_windows_h+set}" = set; then
22384 echo $ECHO_N "(cached) $ECHO_C" >&6
22385 else
22386 ac_cv_header_windows_h=$ac_header_preproc
22387 fi
22388 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22389 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22390
22391 fi
22392 if test $ac_cv_header_windows_h = yes; then
22393 :
22394 else
22395
22396 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
22397 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
22398 { (exit 1); exit 1; }; }
22399
22400 fi
22401
22402
22403
22404 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
22405
22406 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
22407 LIBS="$LIBS -loleacc"
22408 fi
22409
22410 case "${host}" in
22411 *-*-cygwin* )
22412 LIBS="$LIBS -lkernel32 -luser32"
22413 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
22414 esac
22415
22416 if test "$wxUSE_ODBC" = "sys" ; then
22417 wxUSE_ODBC = "yes"
22418 fi
22419 if test "$wxUSE_ODBC" = "yes" ; then
22420 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
22421 cat >>confdefs.h <<\_ACEOF
22422 #define wxUSE_ODBC 1
22423 _ACEOF
22424
22425 fi
22426
22427 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
22428 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
22429
22430 WIN32INSTALL=win32install
22431 fi
22432
22433 if test "$wxUSE_GUI" = "yes"; then
22434 USE_GUI=1
22435
22436 GUI_TK_LIBRARY=
22437
22438 WXGTK12=
22439 WXGTK127=
22440 WXGTK20=
22441 WXGPE=
22442
22443 if test "$wxUSE_COCOA" = 1 ; then
22444 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
22445 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
22446 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
22447 wxUSE_PRINTING_ARCHITECTURE=no
22448 fi
22449 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
22450 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
22451 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
22452 wxUSE_DRAG_AND_DROP=no
22453 fi
22454 if test "$wxUSE_DRAGIMAGE" = "yes"; then
22455 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
22456 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
22457 wxUSE_DRAGIMAGE=no
22458 fi
22459 fi
22460
22461 if test "$wxUSE_MSW" = 1 ; then
22462 TOOLKIT=MSW
22463 GUIDIST=MSW_DIST
22464
22465 case "${host}" in
22466 *-*-mingw32* )
22467 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
22468 esac
22469 fi
22470
22471 if test "$wxUSE_GTK" = 1; then
22472 echo "$as_me:$LINENO: checking for GTK+ version" >&5
22473 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
22474
22475 gtk_version_cached=1
22476 if test "${wx_cv_lib_gtk+set}" = set; then
22477 echo $ECHO_N "(cached) $ECHO_C" >&6
22478 else
22479
22480 gtk_version_cached=0
22481 echo "$as_me:$LINENO: result: " >&5
22482 echo "${ECHO_T}" >&6
22483
22484 GTK_MODULES=
22485 if test "$wxUSE_THREADS" = "yes"; then
22486 GTK_MODULES=gthread
22487 fi
22488
22489 wx_cv_lib_gtk=
22490 if test "x$wxUSE_GTK2" = "xyes"; then
22491 # Check whether --enable-gtktest or --disable-gtktest was given.
22492 if test "${enable_gtktest+set}" = set; then
22493 enableval="$enable_gtktest"
22494
22495 else
22496 enable_gtktest=yes
22497 fi;
22498
22499 pkg_config_args=gtk+-2.0
22500 for module in . $GTK_MODULES
22501 do
22502 case "$module" in
22503 gthread)
22504 pkg_config_args="$pkg_config_args gthread-2.0"
22505 ;;
22506 esac
22507 done
22508
22509 no_gtk=""
22510
22511 # Extract the first word of "pkg-config", so it can be a program name with args.
22512 set dummy pkg-config; ac_word=$2
22513 echo "$as_me:$LINENO: checking for $ac_word" >&5
22514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22515 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22516 echo $ECHO_N "(cached) $ECHO_C" >&6
22517 else
22518 case $PKG_CONFIG in
22519 [\\/]* | ?:[\\/]*)
22520 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22521 ;;
22522 *)
22523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22524 for as_dir in $PATH
22525 do
22526 IFS=$as_save_IFS
22527 test -z "$as_dir" && as_dir=.
22528 for ac_exec_ext in '' $ac_executable_extensions; do
22529 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22530 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22532 break 2
22533 fi
22534 done
22535 done
22536
22537 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22538 ;;
22539 esac
22540 fi
22541 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22542
22543 if test -n "$PKG_CONFIG"; then
22544 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22545 echo "${ECHO_T}$PKG_CONFIG" >&6
22546 else
22547 echo "$as_me:$LINENO: result: no" >&5
22548 echo "${ECHO_T}no" >&6
22549 fi
22550
22551
22552 if test x$PKG_CONFIG != xno ; then
22553 if pkg-config --atleast-pkgconfig-version 0.7 ; then
22554 :
22555 else
22556 echo "*** pkg-config too old; version 0.7 or better required."
22557 no_gtk=yes
22558 PKG_CONFIG=no
22559 fi
22560 else
22561 no_gtk=yes
22562 fi
22563
22564 min_gtk_version=2.0.0
22565 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
22566 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
22567
22568 if test x$PKG_CONFIG != xno ; then
22569 ## don't try to run the test against uninstalled libtool libs
22570 if $PKG_CONFIG --uninstalled $pkg_config_args; then
22571 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
22572 enable_gtktest=no
22573 fi
22574
22575 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
22576 :
22577 else
22578 no_gtk=yes
22579 fi
22580 fi
22581
22582 if test x"$no_gtk" = x ; then
22583 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
22584 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
22585 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
22586 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22587 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
22588 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22589 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
22590 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22591 if test "x$enable_gtktest" = "xyes" ; then
22592 ac_save_CFLAGS="$CFLAGS"
22593 ac_save_LIBS="$LIBS"
22594 CFLAGS="$CFLAGS $GTK_CFLAGS"
22595 LIBS="$GTK_LIBS $LIBS"
22596 rm -f conf.gtktest
22597 if test "$cross_compiling" = yes; then
22598 echo $ac_n "cross compiling; assumed OK... $ac_c"
22599 else
22600 cat >conftest.$ac_ext <<_ACEOF
22601 /* confdefs.h. */
22602 _ACEOF
22603 cat confdefs.h >>conftest.$ac_ext
22604 cat >>conftest.$ac_ext <<_ACEOF
22605 /* end confdefs.h. */
22606
22607 #include <gtk/gtk.h>
22608 #include <stdio.h>
22609 #include <stdlib.h>
22610
22611 int
22612 main ()
22613 {
22614 int major, minor, micro;
22615 char *tmp_version;
22616
22617 system ("touch conf.gtktest");
22618
22619 /* HP/UX 9 (%@#!) writes to sscanf strings */
22620 tmp_version = g_strdup("$min_gtk_version");
22621 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
22622 printf("%s, bad version string\n", "$min_gtk_version");
22623 exit(1);
22624 }
22625
22626 if ((gtk_major_version != $gtk_config_major_version) ||
22627 (gtk_minor_version != $gtk_config_minor_version) ||
22628 (gtk_micro_version != $gtk_config_micro_version))
22629 {
22630 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22631 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22632 gtk_major_version, gtk_minor_version, gtk_micro_version);
22633 printf ("*** was found! If pkg-config was correct, then it is best\n");
22634 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22635 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22636 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22637 printf("*** required on your system.\n");
22638 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
22639 printf("*** to point to the correct configuration files\n");
22640 }
22641 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22642 (gtk_minor_version != GTK_MINOR_VERSION) ||
22643 (gtk_micro_version != GTK_MICRO_VERSION))
22644 {
22645 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22646 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22647 printf("*** library (version %d.%d.%d)\n",
22648 gtk_major_version, gtk_minor_version, gtk_micro_version);
22649 }
22650 else
22651 {
22652 if ((gtk_major_version > major) ||
22653 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22654 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22655 {
22656 return 0;
22657 }
22658 else
22659 {
22660 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22661 gtk_major_version, gtk_minor_version, gtk_micro_version);
22662 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22663 major, minor, micro);
22664 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22665 printf("***\n");
22666 printf("*** If you have already installed a sufficiently new version, this error\n");
22667 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
22668 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22669 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
22670 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
22671 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22672 printf("*** so that the correct libraries are found at run-time))\n");
22673 }
22674 }
22675 return 1;
22676 }
22677
22678 _ACEOF
22679 rm -f conftest$ac_exeext
22680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22681 (eval $ac_link) 2>&5
22682 ac_status=$?
22683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22684 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22686 (eval $ac_try) 2>&5
22687 ac_status=$?
22688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22689 (exit $ac_status); }; }; then
22690 :
22691 else
22692 echo "$as_me: program exited with status $ac_status" >&5
22693 echo "$as_me: failed program was:" >&5
22694 sed 's/^/| /' conftest.$ac_ext >&5
22695
22696 ( exit $ac_status )
22697 no_gtk=yes
22698 fi
22699 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22700 fi
22701 CFLAGS="$ac_save_CFLAGS"
22702 LIBS="$ac_save_LIBS"
22703 fi
22704 fi
22705 if test "x$no_gtk" = x ; then
22706 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
22707 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
22708 wx_cv_lib_gtk=2.0
22709 else
22710 echo "$as_me:$LINENO: result: no" >&5
22711 echo "${ECHO_T}no" >&6
22712 if test "$PKG_CONFIG" = "no" ; then
22713 echo "*** A new enough version of pkg-config was not found."
22714 echo "*** See http://pkgconfig.sourceforge.net"
22715 else
22716 if test -f conf.gtktest ; then
22717 :
22718 else
22719 echo "*** Could not run GTK+ test program, checking why..."
22720 ac_save_CFLAGS="$CFLAGS"
22721 ac_save_LIBS="$LIBS"
22722 CFLAGS="$CFLAGS $GTK_CFLAGS"
22723 LIBS="$LIBS $GTK_LIBS"
22724 cat >conftest.$ac_ext <<_ACEOF
22725 /* confdefs.h. */
22726 _ACEOF
22727 cat confdefs.h >>conftest.$ac_ext
22728 cat >>conftest.$ac_ext <<_ACEOF
22729 /* end confdefs.h. */
22730
22731 #include <gtk/gtk.h>
22732 #include <stdio.h>
22733
22734 int
22735 main ()
22736 {
22737 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22738 ;
22739 return 0;
22740 }
22741 _ACEOF
22742 rm -f conftest.$ac_objext conftest$ac_exeext
22743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22744 (eval $ac_link) 2>conftest.er1
22745 ac_status=$?
22746 grep -v '^ *+' conftest.er1 >conftest.err
22747 rm -f conftest.er1
22748 cat conftest.err >&5
22749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22750 (exit $ac_status); } &&
22751 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22753 (eval $ac_try) 2>&5
22754 ac_status=$?
22755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22756 (exit $ac_status); }; } &&
22757 { ac_try='test -s conftest$ac_exeext'
22758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22759 (eval $ac_try) 2>&5
22760 ac_status=$?
22761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22762 (exit $ac_status); }; }; then
22763 echo "*** The test program compiled, but did not run. This usually means"
22764 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
22765 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
22766 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22767 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22768 echo "*** is required on your system"
22769 echo "***"
22770 echo "*** If you have an old version installed, it is best to remove it, although"
22771 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22772 else
22773 echo "$as_me: failed program was:" >&5
22774 sed 's/^/| /' conftest.$ac_ext >&5
22775
22776 echo "*** The test program failed to compile or link. See the file config.log for the"
22777 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
22778 fi
22779 rm -f conftest.err conftest.$ac_objext \
22780 conftest$ac_exeext conftest.$ac_ext
22781 CFLAGS="$ac_save_CFLAGS"
22782 LIBS="$ac_save_LIBS"
22783 fi
22784 fi
22785 GTK_CFLAGS=""
22786 GTK_LIBS=""
22787 :
22788 fi
22789
22790
22791 rm -f conf.gtktest
22792
22793 else
22794
22795 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22796 if test "${with_gtk_prefix+set}" = set; then
22797 withval="$with_gtk_prefix"
22798 gtk_config_prefix="$withval"
22799 else
22800 gtk_config_prefix=""
22801 fi;
22802
22803 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22804 if test "${with_gtk_exec_prefix+set}" = set; then
22805 withval="$with_gtk_exec_prefix"
22806 gtk_config_exec_prefix="$withval"
22807 else
22808 gtk_config_exec_prefix=""
22809 fi;
22810 # Check whether --enable-gtktest or --disable-gtktest was given.
22811 if test "${enable_gtktest+set}" = set; then
22812 enableval="$enable_gtktest"
22813
22814 else
22815 enable_gtktest=yes
22816 fi;
22817
22818 for module in . $GTK_MODULES
22819 do
22820 case "$module" in
22821 gthread)
22822 gtk_config_args="$gtk_config_args gthread"
22823 ;;
22824 esac
22825 done
22826
22827 if test x$gtk_config_exec_prefix != x ; then
22828 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22829 if test x${GTK_CONFIG+set} != xset ; then
22830 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
22831 fi
22832 fi
22833 if test x$gtk_config_prefix != x ; then
22834 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
22835 if test x${GTK_CONFIG+set} != xset ; then
22836 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
22837 fi
22838 fi
22839
22840 # Extract the first word of "gtk-config", so it can be a program name with args.
22841 set dummy gtk-config; ac_word=$2
22842 echo "$as_me:$LINENO: checking for $ac_word" >&5
22843 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22844 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22845 echo $ECHO_N "(cached) $ECHO_C" >&6
22846 else
22847 case $GTK_CONFIG in
22848 [\\/]* | ?:[\\/]*)
22849 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
22850 ;;
22851 *)
22852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22853 for as_dir in $PATH
22854 do
22855 IFS=$as_save_IFS
22856 test -z "$as_dir" && as_dir=.
22857 for ac_exec_ext in '' $ac_executable_extensions; do
22858 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22859 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22861 break 2
22862 fi
22863 done
22864 done
22865
22866 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
22867 ;;
22868 esac
22869 fi
22870 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
22871
22872 if test -n "$GTK_CONFIG"; then
22873 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22874 echo "${ECHO_T}$GTK_CONFIG" >&6
22875 else
22876 echo "$as_me:$LINENO: result: no" >&5
22877 echo "${ECHO_T}no" >&6
22878 fi
22879
22880 min_gtk_version=1.2.7
22881 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22882 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22883 no_gtk=""
22884 if test "$GTK_CONFIG" = "no" ; then
22885 no_gtk=yes
22886 else
22887 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
22888 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
22889 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
22890 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22891 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
22892 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22893 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
22894 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22895 if test "x$enable_gtktest" = "xyes" ; then
22896 ac_save_CFLAGS="$CFLAGS"
22897 ac_save_LIBS="$LIBS"
22898 CFLAGS="$CFLAGS $GTK_CFLAGS"
22899 LIBS="$GTK_LIBS $LIBS"
22900 rm -f conf.gtktest
22901 if test "$cross_compiling" = yes; then
22902 echo $ac_n "cross compiling; assumed OK... $ac_c"
22903 else
22904 cat >conftest.$ac_ext <<_ACEOF
22905 /* confdefs.h. */
22906 _ACEOF
22907 cat confdefs.h >>conftest.$ac_ext
22908 cat >>conftest.$ac_ext <<_ACEOF
22909 /* end confdefs.h. */
22910
22911 #include <gtk/gtk.h>
22912 #include <stdio.h>
22913 #include <stdlib.h>
22914
22915 int
22916 main ()
22917 {
22918 int major, minor, micro;
22919 char *tmp_version;
22920
22921 system ("touch conf.gtktest");
22922
22923 /* HP/UX 9 (%@#!) writes to sscanf strings */
22924 tmp_version = g_strdup("$min_gtk_version");
22925 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
22926 printf("%s, bad version string\n", "$min_gtk_version");
22927 exit(1);
22928 }
22929
22930 if ((gtk_major_version != $gtk_config_major_version) ||
22931 (gtk_minor_version != $gtk_config_minor_version) ||
22932 (gtk_micro_version != $gtk_config_micro_version))
22933 {
22934 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22935 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22936 gtk_major_version, gtk_minor_version, gtk_micro_version);
22937 printf ("*** was found! If gtk-config was correct, then it is best\n");
22938 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22939 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22940 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22941 printf("*** required on your system.\n");
22942 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
22943 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
22944 printf("*** before re-running configure\n");
22945 }
22946 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
22947 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22948 (gtk_minor_version != GTK_MINOR_VERSION) ||
22949 (gtk_micro_version != GTK_MICRO_VERSION))
22950 {
22951 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22952 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22953 printf("*** library (version %d.%d.%d)\n",
22954 gtk_major_version, gtk_minor_version, gtk_micro_version);
22955 }
22956 #endif /* defined (GTK_MAJOR_VERSION) ... */
22957 else
22958 {
22959 if ((gtk_major_version > major) ||
22960 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22961 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22962 {
22963 return 0;
22964 }
22965 else
22966 {
22967 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22968 gtk_major_version, gtk_minor_version, gtk_micro_version);
22969 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22970 major, minor, micro);
22971 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22972 printf("***\n");
22973 printf("*** If you have already installed a sufficiently new version, this error\n");
22974 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
22975 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22976 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
22977 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
22978 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22979 printf("*** so that the correct libraries are found at run-time))\n");
22980 }
22981 }
22982 return 1;
22983 }
22984
22985 _ACEOF
22986 rm -f conftest$ac_exeext
22987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22988 (eval $ac_link) 2>&5
22989 ac_status=$?
22990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22991 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22993 (eval $ac_try) 2>&5
22994 ac_status=$?
22995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22996 (exit $ac_status); }; }; then
22997 :
22998 else
22999 echo "$as_me: program exited with status $ac_status" >&5
23000 echo "$as_me: failed program was:" >&5
23001 sed 's/^/| /' conftest.$ac_ext >&5
23002
23003 ( exit $ac_status )
23004 no_gtk=yes
23005 fi
23006 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23007 fi
23008 CFLAGS="$ac_save_CFLAGS"
23009 LIBS="$ac_save_LIBS"
23010 fi
23011 fi
23012 if test "x$no_gtk" = x ; then
23013 echo "$as_me:$LINENO: result: yes" >&5
23014 echo "${ECHO_T}yes" >&6
23015 wx_cv_lib_gtk=1.2.7
23016 else
23017 echo "$as_me:$LINENO: result: no" >&5
23018 echo "${ECHO_T}no" >&6
23019 if test "$GTK_CONFIG" = "no" ; then
23020 echo "*** The gtk-config script installed by GTK could not be found"
23021 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23022 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23023 echo "*** full path to gtk-config."
23024 else
23025 if test -f conf.gtktest ; then
23026 :
23027 else
23028 echo "*** Could not run GTK test program, checking why..."
23029 CFLAGS="$CFLAGS $GTK_CFLAGS"
23030 LIBS="$LIBS $GTK_LIBS"
23031 cat >conftest.$ac_ext <<_ACEOF
23032 /* confdefs.h. */
23033 _ACEOF
23034 cat confdefs.h >>conftest.$ac_ext
23035 cat >>conftest.$ac_ext <<_ACEOF
23036 /* end confdefs.h. */
23037
23038 #include <gtk/gtk.h>
23039 #include <stdio.h>
23040
23041 int
23042 main ()
23043 {
23044 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23045 ;
23046 return 0;
23047 }
23048 _ACEOF
23049 rm -f conftest.$ac_objext conftest$ac_exeext
23050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23051 (eval $ac_link) 2>conftest.er1
23052 ac_status=$?
23053 grep -v '^ *+' conftest.er1 >conftest.err
23054 rm -f conftest.er1
23055 cat conftest.err >&5
23056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23057 (exit $ac_status); } &&
23058 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23060 (eval $ac_try) 2>&5
23061 ac_status=$?
23062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23063 (exit $ac_status); }; } &&
23064 { ac_try='test -s conftest$ac_exeext'
23065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23066 (eval $ac_try) 2>&5
23067 ac_status=$?
23068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23069 (exit $ac_status); }; }; then
23070 echo "*** The test program compiled, but did not run. This usually means"
23071 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23072 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23073 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23074 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23075 echo "*** is required on your system"
23076 echo "***"
23077 echo "*** If you have an old version installed, it is best to remove it, although"
23078 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23079 echo "***"
23080 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23081 echo "*** came with the system with the command"
23082 echo "***"
23083 echo "*** rpm --erase --nodeps gtk gtk-devel"
23084 else
23085 echo "$as_me: failed program was:" >&5
23086 sed 's/^/| /' conftest.$ac_ext >&5
23087
23088 echo "*** The test program failed to compile or link. See the file config.log for the"
23089 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23090 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23091 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23092 fi
23093 rm -f conftest.err conftest.$ac_objext \
23094 conftest$ac_exeext conftest.$ac_ext
23095 CFLAGS="$ac_save_CFLAGS"
23096 LIBS="$ac_save_LIBS"
23097 fi
23098 fi
23099 GTK_CFLAGS=""
23100 GTK_LIBS=""
23101 :
23102 fi
23103
23104
23105 rm -f conf.gtktest
23106
23107
23108 if test -z "$wx_cv_lib_gtk"; then
23109
23110 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
23111 if test "${with_gtk_prefix+set}" = set; then
23112 withval="$with_gtk_prefix"
23113 gtk_config_prefix="$withval"
23114 else
23115 gtk_config_prefix=""
23116 fi;
23117
23118 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
23119 if test "${with_gtk_exec_prefix+set}" = set; then
23120 withval="$with_gtk_exec_prefix"
23121 gtk_config_exec_prefix="$withval"
23122 else
23123 gtk_config_exec_prefix=""
23124 fi;
23125 # Check whether --enable-gtktest or --disable-gtktest was given.
23126 if test "${enable_gtktest+set}" = set; then
23127 enableval="$enable_gtktest"
23128
23129 else
23130 enable_gtktest=yes
23131 fi;
23132
23133 for module in . $GTK_MODULES
23134 do
23135 case "$module" in
23136 gthread)
23137 gtk_config_args="$gtk_config_args gthread"
23138 ;;
23139 esac
23140 done
23141
23142 if test x$gtk_config_exec_prefix != x ; then
23143 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23144 if test x${GTK_CONFIG+set} != xset ; then
23145 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23146 fi
23147 fi
23148 if test x$gtk_config_prefix != x ; then
23149 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23150 if test x${GTK_CONFIG+set} != xset ; then
23151 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23152 fi
23153 fi
23154
23155 # Extract the first word of "gtk-config", so it can be a program name with args.
23156 set dummy gtk-config; ac_word=$2
23157 echo "$as_me:$LINENO: checking for $ac_word" >&5
23158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23159 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
23160 echo $ECHO_N "(cached) $ECHO_C" >&6
23161 else
23162 case $GTK_CONFIG in
23163 [\\/]* | ?:[\\/]*)
23164 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23165 ;;
23166 *)
23167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23168 for as_dir in $PATH
23169 do
23170 IFS=$as_save_IFS
23171 test -z "$as_dir" && as_dir=.
23172 for ac_exec_ext in '' $ac_executable_extensions; do
23173 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23174 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23176 break 2
23177 fi
23178 done
23179 done
23180
23181 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
23182 ;;
23183 esac
23184 fi
23185 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
23186
23187 if test -n "$GTK_CONFIG"; then
23188 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23189 echo "${ECHO_T}$GTK_CONFIG" >&6
23190 else
23191 echo "$as_me:$LINENO: result: no" >&5
23192 echo "${ECHO_T}no" >&6
23193 fi
23194
23195 min_gtk_version=1.2.3
23196 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23197 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23198 no_gtk=""
23199 if test "$GTK_CONFIG" = "no" ; then
23200 no_gtk=yes
23201 else
23202 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
23203 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
23204 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
23205 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23206 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
23207 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23208 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
23209 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23210 if test "x$enable_gtktest" = "xyes" ; then
23211 ac_save_CFLAGS="$CFLAGS"
23212 ac_save_LIBS="$LIBS"
23213 CFLAGS="$CFLAGS $GTK_CFLAGS"
23214 LIBS="$GTK_LIBS $LIBS"
23215 rm -f conf.gtktest
23216 if test "$cross_compiling" = yes; then
23217 echo $ac_n "cross compiling; assumed OK... $ac_c"
23218 else
23219 cat >conftest.$ac_ext <<_ACEOF
23220 /* confdefs.h. */
23221 _ACEOF
23222 cat confdefs.h >>conftest.$ac_ext
23223 cat >>conftest.$ac_ext <<_ACEOF
23224 /* end confdefs.h. */
23225
23226 #include <gtk/gtk.h>
23227 #include <stdio.h>
23228 #include <stdlib.h>
23229
23230 int
23231 main ()
23232 {
23233 int major, minor, micro;
23234 char *tmp_version;
23235
23236 system ("touch conf.gtktest");
23237
23238 /* HP/UX 9 (%@#!) writes to sscanf strings */
23239 tmp_version = g_strdup("$min_gtk_version");
23240 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23241 printf("%s, bad version string\n", "$min_gtk_version");
23242 exit(1);
23243 }
23244
23245 if ((gtk_major_version != $gtk_config_major_version) ||
23246 (gtk_minor_version != $gtk_config_minor_version) ||
23247 (gtk_micro_version != $gtk_config_micro_version))
23248 {
23249 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23250 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23251 gtk_major_version, gtk_minor_version, gtk_micro_version);
23252 printf ("*** was found! If gtk-config was correct, then it is best\n");
23253 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23254 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23255 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23256 printf("*** required on your system.\n");
23257 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23258 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23259 printf("*** before re-running configure\n");
23260 }
23261 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23262 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23263 (gtk_minor_version != GTK_MINOR_VERSION) ||
23264 (gtk_micro_version != GTK_MICRO_VERSION))
23265 {
23266 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23267 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23268 printf("*** library (version %d.%d.%d)\n",
23269 gtk_major_version, gtk_minor_version, gtk_micro_version);
23270 }
23271 #endif /* defined (GTK_MAJOR_VERSION) ... */
23272 else
23273 {
23274 if ((gtk_major_version > major) ||
23275 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23276 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23277 {
23278 return 0;
23279 }
23280 else
23281 {
23282 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23283 gtk_major_version, gtk_minor_version, gtk_micro_version);
23284 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23285 major, minor, micro);
23286 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23287 printf("***\n");
23288 printf("*** If you have already installed a sufficiently new version, this error\n");
23289 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23290 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23291 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23292 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23293 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23294 printf("*** so that the correct libraries are found at run-time))\n");
23295 }
23296 }
23297 return 1;
23298 }
23299
23300 _ACEOF
23301 rm -f conftest$ac_exeext
23302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23303 (eval $ac_link) 2>&5
23304 ac_status=$?
23305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23306 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23308 (eval $ac_try) 2>&5
23309 ac_status=$?
23310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23311 (exit $ac_status); }; }; then
23312 :
23313 else
23314 echo "$as_me: program exited with status $ac_status" >&5
23315 echo "$as_me: failed program was:" >&5
23316 sed 's/^/| /' conftest.$ac_ext >&5
23317
23318 ( exit $ac_status )
23319 no_gtk=yes
23320 fi
23321 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23322 fi
23323 CFLAGS="$ac_save_CFLAGS"
23324 LIBS="$ac_save_LIBS"
23325 fi
23326 fi
23327 if test "x$no_gtk" = x ; then
23328 echo "$as_me:$LINENO: result: yes" >&5
23329 echo "${ECHO_T}yes" >&6
23330 wx_cv_lib_gtk=1.2.3
23331 else
23332 echo "$as_me:$LINENO: result: no" >&5
23333 echo "${ECHO_T}no" >&6
23334 if test "$GTK_CONFIG" = "no" ; then
23335 echo "*** The gtk-config script installed by GTK could not be found"
23336 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23337 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23338 echo "*** full path to gtk-config."
23339 else
23340 if test -f conf.gtktest ; then
23341 :
23342 else
23343 echo "*** Could not run GTK test program, checking why..."
23344 CFLAGS="$CFLAGS $GTK_CFLAGS"
23345 LIBS="$LIBS $GTK_LIBS"
23346 cat >conftest.$ac_ext <<_ACEOF
23347 /* confdefs.h. */
23348 _ACEOF
23349 cat confdefs.h >>conftest.$ac_ext
23350 cat >>conftest.$ac_ext <<_ACEOF
23351 /* end confdefs.h. */
23352
23353 #include <gtk/gtk.h>
23354 #include <stdio.h>
23355
23356 int
23357 main ()
23358 {
23359 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23360 ;
23361 return 0;
23362 }
23363 _ACEOF
23364 rm -f conftest.$ac_objext conftest$ac_exeext
23365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23366 (eval $ac_link) 2>conftest.er1
23367 ac_status=$?
23368 grep -v '^ *+' conftest.er1 >conftest.err
23369 rm -f conftest.er1
23370 cat conftest.err >&5
23371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23372 (exit $ac_status); } &&
23373 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23375 (eval $ac_try) 2>&5
23376 ac_status=$?
23377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23378 (exit $ac_status); }; } &&
23379 { ac_try='test -s conftest$ac_exeext'
23380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23381 (eval $ac_try) 2>&5
23382 ac_status=$?
23383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23384 (exit $ac_status); }; }; then
23385 echo "*** The test program compiled, but did not run. This usually means"
23386 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23387 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23388 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23389 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23390 echo "*** is required on your system"
23391 echo "***"
23392 echo "*** If you have an old version installed, it is best to remove it, although"
23393 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23394 echo "***"
23395 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23396 echo "*** came with the system with the command"
23397 echo "***"
23398 echo "*** rpm --erase --nodeps gtk gtk-devel"
23399 else
23400 echo "$as_me: failed program was:" >&5
23401 sed 's/^/| /' conftest.$ac_ext >&5
23402
23403 echo "*** The test program failed to compile or link. See the file config.log for the"
23404 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23405 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23406 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23407 fi
23408 rm -f conftest.err conftest.$ac_objext \
23409 conftest$ac_exeext conftest.$ac_ext
23410 CFLAGS="$ac_save_CFLAGS"
23411 LIBS="$ac_save_LIBS"
23412 fi
23413 fi
23414 GTK_CFLAGS=""
23415 GTK_LIBS=""
23416 :
23417 fi
23418
23419
23420 rm -f conf.gtktest
23421
23422 fi
23423 fi
23424
23425 if test -z "$wx_cv_lib_gtk"; then
23426 wx_cv_lib_gtk=none
23427 else
23428 wx_cv_cflags_gtk=$GTK_CFLAGS
23429 wx_cv_libs_gtk=$GTK_LIBS
23430 fi
23431
23432
23433 fi
23434
23435
23436 if test "$gtk_version_cached" = 1; then
23437 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
23438 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
23439 fi
23440
23441 case "$wx_cv_lib_gtk" in
23442 2.0) WXGTK20=1
23443 TOOLKIT_VERSION=2
23444 ;;
23445 1.2.7) WXGTK127=1
23446 WXGTK12=1
23447 ;;
23448 1.2.3) WXGTK12=1
23449 ;;
23450 *) { { echo "$as_me:$LINENO: error:
23451 Please check that gtk-config is in path, the directory
23452 where GTK+ libraries are installed (returned by
23453 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23454 equivalent variable and GTK+ is version 1.2.3 or above.
23455 " >&5
23456 echo "$as_me: error:
23457 Please check that gtk-config is in path, the directory
23458 where GTK+ libraries are installed (returned by
23459 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23460 equivalent variable and GTK+ is version 1.2.3 or above.
23461 " >&2;}
23462 { (exit 1); exit 1; }; }
23463 ;;
23464 esac
23465
23466 if test "$WXGTK20" = 1; then
23467 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
23468
23469 succeeded=no
23470
23471 if test -z "$PKG_CONFIG"; then
23472 # Extract the first word of "pkg-config", so it can be a program name with args.
23473 set dummy pkg-config; ac_word=$2
23474 echo "$as_me:$LINENO: checking for $ac_word" >&5
23475 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23476 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23477 echo $ECHO_N "(cached) $ECHO_C" >&6
23478 else
23479 case $PKG_CONFIG in
23480 [\\/]* | ?:[\\/]*)
23481 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23482 ;;
23483 *)
23484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23485 for as_dir in $PATH
23486 do
23487 IFS=$as_save_IFS
23488 test -z "$as_dir" && as_dir=.
23489 for ac_exec_ext in '' $ac_executable_extensions; do
23490 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23491 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23493 break 2
23494 fi
23495 done
23496 done
23497
23498 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23499 ;;
23500 esac
23501 fi
23502 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23503
23504 if test -n "$PKG_CONFIG"; then
23505 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23506 echo "${ECHO_T}$PKG_CONFIG" >&6
23507 else
23508 echo "$as_me:$LINENO: result: no" >&5
23509 echo "${ECHO_T}no" >&6
23510 fi
23511
23512 fi
23513
23514 if test "$PKG_CONFIG" = "no" ; then
23515 echo "*** The pkg-config script could not be found. Make sure it is"
23516 echo "*** in your path, or set the PKG_CONFIG environment variable"
23517 echo "*** to the full path to pkg-config."
23518 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23519 else
23520 PKG_CONFIG_MIN_VERSION=0.9.0
23521 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23522 echo "$as_me:$LINENO: checking for pangoft2" >&5
23523 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
23524
23525 if $PKG_CONFIG --exists "pangoft2" ; then
23526 echo "$as_me:$LINENO: result: yes" >&5
23527 echo "${ECHO_T}yes" >&6
23528 succeeded=yes
23529
23530 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
23531 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
23532 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
23533 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
23534 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
23535
23536 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
23537 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
23538 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
23539 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
23540 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
23541 else
23542 PANGOFT2_CFLAGS=""
23543 PANGOFT2_LIBS=""
23544 ## If we have a custom action on failure, don't print errors, but
23545 ## do set a variable so people can do so.
23546 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
23547
23548 fi
23549
23550
23551
23552 else
23553 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23554 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23555 fi
23556 fi
23557
23558 if test $succeeded = yes; then
23559
23560 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
23561 # FIXME: GTK_LIBS already has a lot of what this is
23562 # about to add, but we go ahead and just add
23563 # it all again anyway.
23564 # This is not a good way to manage things. And simply
23565 # uniq'ing the list later is hardly better.
23566 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
23567
23568 else
23569
23570 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
23571 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
23572 wxUSE_PRINTING_ARCHITECTURE="no"
23573
23574
23575 fi
23576
23577 fi
23578
23579 save_CFLAGS="$CFLAGS"
23580 save_LIBS="$LIBS"
23581 CFLAGS="$CFLAGS $GTK_CFLAGS"
23582 LIBS="$LIBS $GTK_LIBS"
23583
23584 for ac_func in pango_font_family_is_monospace
23585 do
23586 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23587 echo "$as_me:$LINENO: checking for $ac_func" >&5
23588 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23589 if eval "test \"\${$as_ac_var+set}\" = set"; then
23590 echo $ECHO_N "(cached) $ECHO_C" >&6
23591 else
23592 cat >conftest.$ac_ext <<_ACEOF
23593 /* confdefs.h. */
23594 _ACEOF
23595 cat confdefs.h >>conftest.$ac_ext
23596 cat >>conftest.$ac_ext <<_ACEOF
23597 /* end confdefs.h. */
23598 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23599 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23600 #define $ac_func innocuous_$ac_func
23601
23602 /* System header to define __stub macros and hopefully few prototypes,
23603 which can conflict with char $ac_func (); below.
23604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23605 <limits.h> exists even on freestanding compilers. */
23606
23607 #ifdef __STDC__
23608 # include <limits.h>
23609 #else
23610 # include <assert.h>
23611 #endif
23612
23613 #undef $ac_func
23614
23615 /* Override any gcc2 internal prototype to avoid an error. */
23616 #ifdef __cplusplus
23617 extern "C"
23618 {
23619 #endif
23620 /* We use char because int might match the return type of a gcc2
23621 builtin and then its argument prototype would still apply. */
23622 char $ac_func ();
23623 /* The GNU C library defines this for functions which it implements
23624 to always fail with ENOSYS. Some functions are actually named
23625 something starting with __ and the normal name is an alias. */
23626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23627 choke me
23628 #else
23629 char (*f) () = $ac_func;
23630 #endif
23631 #ifdef __cplusplus
23632 }
23633 #endif
23634
23635 int
23636 main ()
23637 {
23638 return f != $ac_func;
23639 ;
23640 return 0;
23641 }
23642 _ACEOF
23643 rm -f conftest.$ac_objext conftest$ac_exeext
23644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23645 (eval $ac_link) 2>conftest.er1
23646 ac_status=$?
23647 grep -v '^ *+' conftest.er1 >conftest.err
23648 rm -f conftest.er1
23649 cat conftest.err >&5
23650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23651 (exit $ac_status); } &&
23652 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23654 (eval $ac_try) 2>&5
23655 ac_status=$?
23656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23657 (exit $ac_status); }; } &&
23658 { ac_try='test -s conftest$ac_exeext'
23659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23660 (eval $ac_try) 2>&5
23661 ac_status=$?
23662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23663 (exit $ac_status); }; }; then
23664 eval "$as_ac_var=yes"
23665 else
23666 echo "$as_me: failed program was:" >&5
23667 sed 's/^/| /' conftest.$ac_ext >&5
23668
23669 eval "$as_ac_var=no"
23670 fi
23671 rm -f conftest.err conftest.$ac_objext \
23672 conftest$ac_exeext conftest.$ac_ext
23673 fi
23674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23676 if test `eval echo '${'$as_ac_var'}'` = yes; then
23677 cat >>confdefs.h <<_ACEOF
23678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23679 _ACEOF
23680
23681 fi
23682 done
23683
23684 CFLAGS="$save_CFLAGS"
23685 LIBS="$save_LIBS"
23686 else
23687 if test "$wxUSE_UNICODE" = "yes"; then
23688 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
23689 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
23690 wxUSE_UNICODE=no
23691 fi
23692 fi
23693
23694 if test "$USE_DARWIN" != 1; then
23695
23696 for ac_func in poll
23697 do
23698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23699 echo "$as_me:$LINENO: checking for $ac_func" >&5
23700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23701 if eval "test \"\${$as_ac_var+set}\" = set"; then
23702 echo $ECHO_N "(cached) $ECHO_C" >&6
23703 else
23704 cat >conftest.$ac_ext <<_ACEOF
23705 /* confdefs.h. */
23706 _ACEOF
23707 cat confdefs.h >>conftest.$ac_ext
23708 cat >>conftest.$ac_ext <<_ACEOF
23709 /* end confdefs.h. */
23710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23712 #define $ac_func innocuous_$ac_func
23713
23714 /* System header to define __stub macros and hopefully few prototypes,
23715 which can conflict with char $ac_func (); below.
23716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23717 <limits.h> exists even on freestanding compilers. */
23718
23719 #ifdef __STDC__
23720 # include <limits.h>
23721 #else
23722 # include <assert.h>
23723 #endif
23724
23725 #undef $ac_func
23726
23727 /* Override any gcc2 internal prototype to avoid an error. */
23728 #ifdef __cplusplus
23729 extern "C"
23730 {
23731 #endif
23732 /* We use char because int might match the return type of a gcc2
23733 builtin and then its argument prototype would still apply. */
23734 char $ac_func ();
23735 /* The GNU C library defines this for functions which it implements
23736 to always fail with ENOSYS. Some functions are actually named
23737 something starting with __ and the normal name is an alias. */
23738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23739 choke me
23740 #else
23741 char (*f) () = $ac_func;
23742 #endif
23743 #ifdef __cplusplus
23744 }
23745 #endif
23746
23747 int
23748 main ()
23749 {
23750 return f != $ac_func;
23751 ;
23752 return 0;
23753 }
23754 _ACEOF
23755 rm -f conftest.$ac_objext conftest$ac_exeext
23756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23757 (eval $ac_link) 2>conftest.er1
23758 ac_status=$?
23759 grep -v '^ *+' conftest.er1 >conftest.err
23760 rm -f conftest.er1
23761 cat conftest.err >&5
23762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23763 (exit $ac_status); } &&
23764 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23766 (eval $ac_try) 2>&5
23767 ac_status=$?
23768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23769 (exit $ac_status); }; } &&
23770 { ac_try='test -s conftest$ac_exeext'
23771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23772 (eval $ac_try) 2>&5
23773 ac_status=$?
23774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23775 (exit $ac_status); }; }; then
23776 eval "$as_ac_var=yes"
23777 else
23778 echo "$as_me: failed program was:" >&5
23779 sed 's/^/| /' conftest.$ac_ext >&5
23780
23781 eval "$as_ac_var=no"
23782 fi
23783 rm -f conftest.err conftest.$ac_objext \
23784 conftest$ac_exeext conftest.$ac_ext
23785 fi
23786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23787 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23788 if test `eval echo '${'$as_ac_var'}'` = yes; then
23789 cat >>confdefs.h <<_ACEOF
23790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23791 _ACEOF
23792
23793 fi
23794 done
23795
23796 fi
23797
23798 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
23799 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
23800
23801 AFMINSTALL=afminstall
23802 TOOLKIT=GTK
23803 GUIDIST=GTK_DIST
23804
23805 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
23806 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
23807 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
23808 echo $ECHO_N "(cached) $ECHO_C" >&6
23809 else
23810 ac_check_lib_save_LIBS=$LIBS
23811 LIBS="-lgdk $LIBS"
23812 cat >conftest.$ac_ext <<_ACEOF
23813 /* confdefs.h. */
23814 _ACEOF
23815 cat confdefs.h >>conftest.$ac_ext
23816 cat >>conftest.$ac_ext <<_ACEOF
23817 /* end confdefs.h. */
23818
23819 /* Override any gcc2 internal prototype to avoid an error. */
23820 #ifdef __cplusplus
23821 extern "C"
23822 #endif
23823 /* We use char because int might match the return type of a gcc2
23824 builtin and then its argument prototype would still apply. */
23825 char gdk_im_open ();
23826 int
23827 main ()
23828 {
23829 gdk_im_open ();
23830 ;
23831 return 0;
23832 }
23833 _ACEOF
23834 rm -f conftest.$ac_objext conftest$ac_exeext
23835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23836 (eval $ac_link) 2>conftest.er1
23837 ac_status=$?
23838 grep -v '^ *+' conftest.er1 >conftest.err
23839 rm -f conftest.er1
23840 cat conftest.err >&5
23841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23842 (exit $ac_status); } &&
23843 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23845 (eval $ac_try) 2>&5
23846 ac_status=$?
23847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23848 (exit $ac_status); }; } &&
23849 { ac_try='test -s conftest$ac_exeext'
23850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23851 (eval $ac_try) 2>&5
23852 ac_status=$?
23853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23854 (exit $ac_status); }; }; then
23855 ac_cv_lib_gdk_gdk_im_open=yes
23856 else
23857 echo "$as_me: failed program was:" >&5
23858 sed 's/^/| /' conftest.$ac_ext >&5
23859
23860 ac_cv_lib_gdk_gdk_im_open=no
23861 fi
23862 rm -f conftest.err conftest.$ac_objext \
23863 conftest$ac_exeext conftest.$ac_ext
23864 LIBS=$ac_check_lib_save_LIBS
23865 fi
23866 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
23867 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
23868 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
23869 cat >>confdefs.h <<\_ACEOF
23870 #define HAVE_XIM 1
23871 _ACEOF
23872
23873 fi
23874
23875
23876
23877 if test "$wxUSE_GPE" = "yes"; then
23878 echo "$as_me:$LINENO: checking for gpewidget library" >&5
23879 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
23880
23881 ac_find_libraries=
23882 for ac_dir in $SEARCH_LIB /usr/lib;
23883 do
23884 for ac_extension in a so sl dylib; do
23885 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
23886 ac_find_libraries=$ac_dir
23887 break 2
23888 fi
23889 done
23890 done
23891
23892 if test "$ac_find_libraries" != "" ; then
23893
23894 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
23895 result=$?
23896 if test $result = 0; then
23897 ac_path_to_link=""
23898 else
23899 ac_path_to_link=" -L$ac_find_libraries"
23900 fi
23901
23902 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
23903 WXGPE=1
23904 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23905 echo "${ECHO_T}found at $ac_find_libraries" >&6
23906 else
23907 echo "$as_me:$LINENO: result: not found" >&5
23908 echo "${ECHO_T}not found" >&6
23909 fi
23910
23911 fi
23912 fi
23913
23914 if test "$wxUSE_MGL" = 1; then
23915 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
23916 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
23917 if test "x$MGL_ROOT" = x ; then
23918 echo "$as_me:$LINENO: result: not found" >&5
23919 echo "${ECHO_T}not found" >&6
23920 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
23921 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
23922 { (exit 1); exit 1; }; }
23923 else
23924 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
23925 echo "${ECHO_T}$MGL_ROOT" >&6
23926 fi
23927
23928 echo "$as_me:$LINENO: checking for libmgl location" >&5
23929 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
23930 case "${host}" in
23931 *-*-linux* )
23932 if test "x$wxUSE_SHARED" = xyes ; then
23933 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
23934 else
23935 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
23936 fi
23937 ;;
23938 *-pc-msdosdjgpp )
23939 mgl_os_candidates="dos32/dj2"
23940 ;;
23941 *)
23942 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
23943 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
23944 { (exit 1); exit 1; }; }
23945 esac
23946
23947 mgl_lib_type=""
23948 mgl_os=""
23949
23950 for mgl_os_i in $mgl_os_candidates ; do
23951 if test "x$mgl_os" = x ; then
23952 if test "$wxUSE_DEBUG_FLAG" = yes ; then
23953 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
23954 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
23955 mgl_lib_type=debug
23956 mgl_os=$mgl_os_i
23957 fi
23958 fi
23959 if test "x$mgl_lib_type" = x ; then
23960 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
23961 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
23962 mgl_lib_type=release
23963 mgl_os=$mgl_os_i
23964 fi
23965 fi
23966 fi
23967 done
23968
23969 if test "x$mgl_os" = x ; then
23970 echo "$as_me:$LINENO: result: not found" >&5
23971 echo "${ECHO_T}not found" >&6
23972 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
23973 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
23974 { (exit 1); exit 1; }; }
23975 fi
23976 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
23977 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
23978
23979 wxUSE_UNIVERSAL="yes"
23980
23981 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
23982 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
23983
23984 AFMINSTALL=afminstall
23985 TOOLKIT=MGL
23986 GUIDIST=MGL_DIST
23987 fi
23988
23989 if test "$wxUSE_MICROWIN" = 1; then
23990 echo "$as_me:$LINENO: checking for MicroWindows" >&5
23991 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
23992 if test "x$MICROWINDOWS" = x ; then
23993 echo "$as_me:$LINENO: result: not found" >&5
23994 echo "${ECHO_T}not found" >&6
23995 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
23996 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
23997 { (exit 1); exit 1; }; }
23998 else
23999 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
24000 echo "${ECHO_T}$MICROWINDOWS" >&6
24001 fi
24002
24003 if test -f $MICROWINDOWS/lib/libmwin.a; then
24004 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
24005 echo "${ECHO_T}MicroWindows' libraries found." >&6
24006 else
24007 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
24008 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
24009 { (exit 1); exit 1; }; }
24010 fi
24011
24012 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
24013 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24014
24015 wxUSE_UNIVERSAL="yes"
24016
24017 AFMINSTALL=afminstall
24018 TOOLKIT=MICROWIN
24019 GUIDIST=MICROWIN_DIST
24020
24021 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24022 fi
24023
24024 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24025
24026 if test "x$ac_path_x_has_been_run" != xyes; then
24027 echo "$as_me:$LINENO: checking for X" >&5
24028 echo $ECHO_N "checking for X... $ECHO_C" >&6
24029
24030 ac_path_x_has_been_run=yes
24031
24032 # Check whether --with-x or --without-x was given.
24033 if test "${with_x+set}" = set; then
24034 withval="$with_x"
24035
24036 fi;
24037 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24038 if test "x$with_x" = xno; then
24039 # The user explicitly disabled X.
24040 have_x=disabled
24041 else
24042 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
24043 # Both variables are already set.
24044 have_x=yes
24045 else
24046 if test "${ac_cv_have_x+set}" = set; then
24047 echo $ECHO_N "(cached) $ECHO_C" >&6
24048 else
24049 # One or both of the vars are not set, and there is no cached value.
24050 ac_x_includes=no ac_x_libraries=no
24051 rm -fr conftest.dir
24052 if mkdir conftest.dir; then
24053 cd conftest.dir
24054 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
24055 cat >Imakefile <<'_ACEOF'
24056 acfindx:
24057 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
24058 _ACEOF
24059 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
24060 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
24061 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
24062 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24063 for ac_extension in a so sl; do
24064 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
24065 test -f $ac_im_libdir/libX11.$ac_extension; then
24066 ac_im_usrlibdir=$ac_im_libdir; break
24067 fi
24068 done
24069 # Screen out bogus values from the imake configuration. They are
24070 # bogus both because they are the default anyway, and because
24071 # using them would break gcc on systems where it needs fixed includes.
24072 case $ac_im_incroot in
24073 /usr/include) ;;
24074 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
24075 esac
24076 case $ac_im_usrlibdir in
24077 /usr/lib | /lib) ;;
24078 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
24079 esac
24080 fi
24081 cd ..
24082 rm -fr conftest.dir
24083 fi
24084
24085 # Standard set of common directories for X headers.
24086 # Check X11 before X11Rn because it is often a symlink to the current release.
24087 ac_x_header_dirs='
24088 /usr/X11/include
24089 /usr/X11R6/include
24090 /usr/X11R5/include
24091 /usr/X11R4/include
24092
24093 /usr/include/X11
24094 /usr/include/X11R6
24095 /usr/include/X11R5
24096 /usr/include/X11R4
24097
24098 /usr/local/X11/include
24099 /usr/local/X11R6/include
24100 /usr/local/X11R5/include
24101 /usr/local/X11R4/include
24102
24103 /usr/local/include/X11
24104 /usr/local/include/X11R6
24105 /usr/local/include/X11R5
24106 /usr/local/include/X11R4
24107
24108 /usr/X386/include
24109 /usr/x386/include
24110 /usr/XFree86/include/X11
24111
24112 /usr/include
24113 /usr/local/include
24114 /usr/unsupported/include
24115 /usr/athena/include
24116 /usr/local/x11r5/include
24117 /usr/lpp/Xamples/include
24118
24119 /usr/openwin/include
24120 /usr/openwin/share/include'
24121
24122 if test "$ac_x_includes" = no; then
24123 # Guess where to find include files, by looking for a specified header file.
24124 # First, try using that file with no special directory specified.
24125 cat >conftest.$ac_ext <<_ACEOF
24126 /* confdefs.h. */
24127 _ACEOF
24128 cat confdefs.h >>conftest.$ac_ext
24129 cat >>conftest.$ac_ext <<_ACEOF
24130 /* end confdefs.h. */
24131 #include <X11/Intrinsic.h>
24132 _ACEOF
24133 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24134 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24135 ac_status=$?
24136 grep -v '^ *+' conftest.er1 >conftest.err
24137 rm -f conftest.er1
24138 cat conftest.err >&5
24139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24140 (exit $ac_status); } >/dev/null; then
24141 if test -s conftest.err; then
24142 ac_cpp_err=$ac_c_preproc_warn_flag
24143 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24144 else
24145 ac_cpp_err=
24146 fi
24147 else
24148 ac_cpp_err=yes
24149 fi
24150 if test -z "$ac_cpp_err"; then
24151 # We can compile using X headers with no special include directory.
24152 ac_x_includes=
24153 else
24154 echo "$as_me: failed program was:" >&5
24155 sed 's/^/| /' conftest.$ac_ext >&5
24156
24157 for ac_dir in $ac_x_header_dirs; do
24158 if test -r "$ac_dir/X11/Intrinsic.h"; then
24159 ac_x_includes=$ac_dir
24160 break
24161 fi
24162 done
24163 fi
24164 rm -f conftest.err conftest.$ac_ext
24165 fi # $ac_x_includes = no
24166
24167 if test "$ac_x_libraries" = no; then
24168 # Check for the libraries.
24169 # See if we find them without any special options.
24170 # Don't add to $LIBS permanently.
24171 ac_save_LIBS=$LIBS
24172 LIBS="-lXt $LIBS"
24173 cat >conftest.$ac_ext <<_ACEOF
24174 /* confdefs.h. */
24175 _ACEOF
24176 cat confdefs.h >>conftest.$ac_ext
24177 cat >>conftest.$ac_ext <<_ACEOF
24178 /* end confdefs.h. */
24179 #include <X11/Intrinsic.h>
24180 int
24181 main ()
24182 {
24183 XtMalloc (0)
24184 ;
24185 return 0;
24186 }
24187 _ACEOF
24188 rm -f conftest.$ac_objext conftest$ac_exeext
24189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24190 (eval $ac_link) 2>conftest.er1
24191 ac_status=$?
24192 grep -v '^ *+' conftest.er1 >conftest.err
24193 rm -f conftest.er1
24194 cat conftest.err >&5
24195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24196 (exit $ac_status); } &&
24197 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24199 (eval $ac_try) 2>&5
24200 ac_status=$?
24201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24202 (exit $ac_status); }; } &&
24203 { ac_try='test -s conftest$ac_exeext'
24204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24205 (eval $ac_try) 2>&5
24206 ac_status=$?
24207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24208 (exit $ac_status); }; }; then
24209 LIBS=$ac_save_LIBS
24210 # We can link X programs with no special library path.
24211 ac_x_libraries=
24212 else
24213 echo "$as_me: failed program was:" >&5
24214 sed 's/^/| /' conftest.$ac_ext >&5
24215
24216 LIBS=$ac_save_LIBS
24217 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24218 do
24219 # Don't even attempt the hair of trying to link an X program!
24220 for ac_extension in a so sl; do
24221 if test -r $ac_dir/libXt.$ac_extension; then
24222 ac_x_libraries=$ac_dir
24223 break 2
24224 fi
24225 done
24226 done
24227 fi
24228 rm -f conftest.err conftest.$ac_objext \
24229 conftest$ac_exeext conftest.$ac_ext
24230 fi # $ac_x_libraries = no
24231
24232 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
24233 # Didn't find X anywhere. Cache the known absence of X.
24234 ac_cv_have_x="have_x=no"
24235 else
24236 # Record where we found X for the cache.
24237 ac_cv_have_x="have_x=yes \
24238 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
24239 fi
24240 fi
24241
24242 fi
24243 eval "$ac_cv_have_x"
24244 fi # $with_x != no
24245
24246 if test "$have_x" != yes; then
24247 echo "$as_me:$LINENO: result: $have_x" >&5
24248 echo "${ECHO_T}$have_x" >&6
24249 no_x=yes
24250 else
24251 # If each of the values was on the command line, it overrides each guess.
24252 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
24253 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
24254 # Update the cache value to reflect the command line values.
24255 ac_cv_have_x="have_x=yes \
24256 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
24257 # It might be that x_includes is empty (headers are found in the
24258 # standard search path. Then output the corresponding message
24259 ac_out_x_includes=$x_includes
24260 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
24261 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
24262 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
24263 fi
24264
24265 fi
24266 if test "$no_x" = yes; then
24267 # Not all programs may use this symbol, but it does not hurt to define it.
24268
24269 cat >>confdefs.h <<\_ACEOF
24270 #define X_DISPLAY_MISSING 1
24271 _ACEOF
24272
24273 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
24274 else
24275 if test -n "$x_includes"; then
24276 X_CFLAGS="$X_CFLAGS -I$x_includes"
24277 fi
24278
24279 # It would also be nice to do this for all -L options, not just this one.
24280 if test -n "$x_libraries"; then
24281 X_LIBS="$X_LIBS -L$x_libraries"
24282 # For Solaris; some versions of Sun CC require a space after -R and
24283 # others require no space. Words are not sufficient . . . .
24284 case `(uname -sr) 2>/dev/null` in
24285 "SunOS 5"*)
24286 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24287 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24288 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
24289 cat >conftest.$ac_ext <<_ACEOF
24290 /* confdefs.h. */
24291 _ACEOF
24292 cat confdefs.h >>conftest.$ac_ext
24293 cat >>conftest.$ac_ext <<_ACEOF
24294 /* end confdefs.h. */
24295
24296 int
24297 main ()
24298 {
24299
24300 ;
24301 return 0;
24302 }
24303 _ACEOF
24304 rm -f conftest.$ac_objext conftest$ac_exeext
24305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24306 (eval $ac_link) 2>conftest.er1
24307 ac_status=$?
24308 grep -v '^ *+' conftest.er1 >conftest.err
24309 rm -f conftest.er1
24310 cat conftest.err >&5
24311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24312 (exit $ac_status); } &&
24313 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24315 (eval $ac_try) 2>&5
24316 ac_status=$?
24317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24318 (exit $ac_status); }; } &&
24319 { ac_try='test -s conftest$ac_exeext'
24320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24321 (eval $ac_try) 2>&5
24322 ac_status=$?
24323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24324 (exit $ac_status); }; }; then
24325 ac_R_nospace=yes
24326 else
24327 echo "$as_me: failed program was:" >&5
24328 sed 's/^/| /' conftest.$ac_ext >&5
24329
24330 ac_R_nospace=no
24331 fi
24332 rm -f conftest.err conftest.$ac_objext \
24333 conftest$ac_exeext conftest.$ac_ext
24334 if test $ac_R_nospace = yes; then
24335 echo "$as_me:$LINENO: result: no" >&5
24336 echo "${ECHO_T}no" >&6
24337 X_LIBS="$X_LIBS -R$x_libraries"
24338 else
24339 LIBS="$ac_xsave_LIBS -R $x_libraries"
24340 cat >conftest.$ac_ext <<_ACEOF
24341 /* confdefs.h. */
24342 _ACEOF
24343 cat confdefs.h >>conftest.$ac_ext
24344 cat >>conftest.$ac_ext <<_ACEOF
24345 /* end confdefs.h. */
24346
24347 int
24348 main ()
24349 {
24350
24351 ;
24352 return 0;
24353 }
24354 _ACEOF
24355 rm -f conftest.$ac_objext conftest$ac_exeext
24356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24357 (eval $ac_link) 2>conftest.er1
24358 ac_status=$?
24359 grep -v '^ *+' conftest.er1 >conftest.err
24360 rm -f conftest.er1
24361 cat conftest.err >&5
24362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24363 (exit $ac_status); } &&
24364 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24366 (eval $ac_try) 2>&5
24367 ac_status=$?
24368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24369 (exit $ac_status); }; } &&
24370 { ac_try='test -s conftest$ac_exeext'
24371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24372 (eval $ac_try) 2>&5
24373 ac_status=$?
24374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24375 (exit $ac_status); }; }; then
24376 ac_R_space=yes
24377 else
24378 echo "$as_me: failed program was:" >&5
24379 sed 's/^/| /' conftest.$ac_ext >&5
24380
24381 ac_R_space=no
24382 fi
24383 rm -f conftest.err conftest.$ac_objext \
24384 conftest$ac_exeext conftest.$ac_ext
24385 if test $ac_R_space = yes; then
24386 echo "$as_me:$LINENO: result: yes" >&5
24387 echo "${ECHO_T}yes" >&6
24388 X_LIBS="$X_LIBS -R $x_libraries"
24389 else
24390 echo "$as_me:$LINENO: result: neither works" >&5
24391 echo "${ECHO_T}neither works" >&6
24392 fi
24393 fi
24394 LIBS=$ac_xsave_LIBS
24395 esac
24396 fi
24397
24398 # Check for system-dependent libraries X programs must link with.
24399 # Do this before checking for the system-independent R6 libraries
24400 # (-lICE), since we may need -lsocket or whatever for X linking.
24401
24402 if test "$ISC" = yes; then
24403 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
24404 else
24405 # Martyn Johnson says this is needed for Ultrix, if the X
24406 # libraries were built with DECnet support. And Karl Berry says
24407 # the Alpha needs dnet_stub (dnet does not exist).
24408 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
24409 cat >conftest.$ac_ext <<_ACEOF
24410 /* confdefs.h. */
24411 _ACEOF
24412 cat confdefs.h >>conftest.$ac_ext
24413 cat >>conftest.$ac_ext <<_ACEOF
24414 /* end confdefs.h. */
24415
24416 /* Override any gcc2 internal prototype to avoid an error. */
24417 #ifdef __cplusplus
24418 extern "C"
24419 #endif
24420 /* We use char because int might match the return type of a gcc2
24421 builtin and then its argument prototype would still apply. */
24422 char XOpenDisplay ();
24423 int
24424 main ()
24425 {
24426 XOpenDisplay ();
24427 ;
24428 return 0;
24429 }
24430 _ACEOF
24431 rm -f conftest.$ac_objext conftest$ac_exeext
24432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24433 (eval $ac_link) 2>conftest.er1
24434 ac_status=$?
24435 grep -v '^ *+' conftest.er1 >conftest.err
24436 rm -f conftest.er1
24437 cat conftest.err >&5
24438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24439 (exit $ac_status); } &&
24440 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24442 (eval $ac_try) 2>&5
24443 ac_status=$?
24444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24445 (exit $ac_status); }; } &&
24446 { ac_try='test -s conftest$ac_exeext'
24447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24448 (eval $ac_try) 2>&5
24449 ac_status=$?
24450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24451 (exit $ac_status); }; }; then
24452 :
24453 else
24454 echo "$as_me: failed program was:" >&5
24455 sed 's/^/| /' conftest.$ac_ext >&5
24456
24457 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
24458 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
24459 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
24460 echo $ECHO_N "(cached) $ECHO_C" >&6
24461 else
24462 ac_check_lib_save_LIBS=$LIBS
24463 LIBS="-ldnet $LIBS"
24464 cat >conftest.$ac_ext <<_ACEOF
24465 /* confdefs.h. */
24466 _ACEOF
24467 cat confdefs.h >>conftest.$ac_ext
24468 cat >>conftest.$ac_ext <<_ACEOF
24469 /* end confdefs.h. */
24470
24471 /* Override any gcc2 internal prototype to avoid an error. */
24472 #ifdef __cplusplus
24473 extern "C"
24474 #endif
24475 /* We use char because int might match the return type of a gcc2
24476 builtin and then its argument prototype would still apply. */
24477 char dnet_ntoa ();
24478 int
24479 main ()
24480 {
24481 dnet_ntoa ();
24482 ;
24483 return 0;
24484 }
24485 _ACEOF
24486 rm -f conftest.$ac_objext conftest$ac_exeext
24487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24488 (eval $ac_link) 2>conftest.er1
24489 ac_status=$?
24490 grep -v '^ *+' conftest.er1 >conftest.err
24491 rm -f conftest.er1
24492 cat conftest.err >&5
24493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24494 (exit $ac_status); } &&
24495 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24497 (eval $ac_try) 2>&5
24498 ac_status=$?
24499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24500 (exit $ac_status); }; } &&
24501 { ac_try='test -s conftest$ac_exeext'
24502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24503 (eval $ac_try) 2>&5
24504 ac_status=$?
24505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24506 (exit $ac_status); }; }; then
24507 ac_cv_lib_dnet_dnet_ntoa=yes
24508 else
24509 echo "$as_me: failed program was:" >&5
24510 sed 's/^/| /' conftest.$ac_ext >&5
24511
24512 ac_cv_lib_dnet_dnet_ntoa=no
24513 fi
24514 rm -f conftest.err conftest.$ac_objext \
24515 conftest$ac_exeext conftest.$ac_ext
24516 LIBS=$ac_check_lib_save_LIBS
24517 fi
24518 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24519 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
24520 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
24521 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
24522 fi
24523
24524 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
24525 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
24526 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
24527 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
24528 echo $ECHO_N "(cached) $ECHO_C" >&6
24529 else
24530 ac_check_lib_save_LIBS=$LIBS
24531 LIBS="-ldnet_stub $LIBS"
24532 cat >conftest.$ac_ext <<_ACEOF
24533 /* confdefs.h. */
24534 _ACEOF
24535 cat confdefs.h >>conftest.$ac_ext
24536 cat >>conftest.$ac_ext <<_ACEOF
24537 /* end confdefs.h. */
24538
24539 /* Override any gcc2 internal prototype to avoid an error. */
24540 #ifdef __cplusplus
24541 extern "C"
24542 #endif
24543 /* We use char because int might match the return type of a gcc2
24544 builtin and then its argument prototype would still apply. */
24545 char dnet_ntoa ();
24546 int
24547 main ()
24548 {
24549 dnet_ntoa ();
24550 ;
24551 return 0;
24552 }
24553 _ACEOF
24554 rm -f conftest.$ac_objext conftest$ac_exeext
24555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24556 (eval $ac_link) 2>conftest.er1
24557 ac_status=$?
24558 grep -v '^ *+' conftest.er1 >conftest.err
24559 rm -f conftest.er1
24560 cat conftest.err >&5
24561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24562 (exit $ac_status); } &&
24563 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24565 (eval $ac_try) 2>&5
24566 ac_status=$?
24567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24568 (exit $ac_status); }; } &&
24569 { ac_try='test -s conftest$ac_exeext'
24570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24571 (eval $ac_try) 2>&5
24572 ac_status=$?
24573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24574 (exit $ac_status); }; }; then
24575 ac_cv_lib_dnet_stub_dnet_ntoa=yes
24576 else
24577 echo "$as_me: failed program was:" >&5
24578 sed 's/^/| /' conftest.$ac_ext >&5
24579
24580 ac_cv_lib_dnet_stub_dnet_ntoa=no
24581 fi
24582 rm -f conftest.err conftest.$ac_objext \
24583 conftest$ac_exeext conftest.$ac_ext
24584 LIBS=$ac_check_lib_save_LIBS
24585 fi
24586 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24587 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
24588 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
24589 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
24590 fi
24591
24592 fi
24593 fi
24594 rm -f conftest.err conftest.$ac_objext \
24595 conftest$ac_exeext conftest.$ac_ext
24596 LIBS="$ac_xsave_LIBS"
24597
24598 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24599 # to get the SysV transport functions.
24600 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24601 # needs -lnsl.
24602 # The nsl library prevents programs from opening the X display
24603 # on Irix 5.2, according to T.E. Dickey.
24604 # The functions gethostbyname, getservbyname, and inet_addr are
24605 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24606 echo "$as_me:$LINENO: checking for gethostbyname" >&5
24607 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
24608 if test "${ac_cv_func_gethostbyname+set}" = set; then
24609 echo $ECHO_N "(cached) $ECHO_C" >&6
24610 else
24611 cat >conftest.$ac_ext <<_ACEOF
24612 /* confdefs.h. */
24613 _ACEOF
24614 cat confdefs.h >>conftest.$ac_ext
24615 cat >>conftest.$ac_ext <<_ACEOF
24616 /* end confdefs.h. */
24617 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
24618 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24619 #define gethostbyname innocuous_gethostbyname
24620
24621 /* System header to define __stub macros and hopefully few prototypes,
24622 which can conflict with char gethostbyname (); below.
24623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24624 <limits.h> exists even on freestanding compilers. */
24625
24626 #ifdef __STDC__
24627 # include <limits.h>
24628 #else
24629 # include <assert.h>
24630 #endif
24631
24632 #undef gethostbyname
24633
24634 /* Override any gcc2 internal prototype to avoid an error. */
24635 #ifdef __cplusplus
24636 extern "C"
24637 {
24638 #endif
24639 /* We use char because int might match the return type of a gcc2
24640 builtin and then its argument prototype would still apply. */
24641 char gethostbyname ();
24642 /* The GNU C library defines this for functions which it implements
24643 to always fail with ENOSYS. Some functions are actually named
24644 something starting with __ and the normal name is an alias. */
24645 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
24646 choke me
24647 #else
24648 char (*f) () = gethostbyname;
24649 #endif
24650 #ifdef __cplusplus
24651 }
24652 #endif
24653
24654 int
24655 main ()
24656 {
24657 return f != gethostbyname;
24658 ;
24659 return 0;
24660 }
24661 _ACEOF
24662 rm -f conftest.$ac_objext conftest$ac_exeext
24663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24664 (eval $ac_link) 2>conftest.er1
24665 ac_status=$?
24666 grep -v '^ *+' conftest.er1 >conftest.err
24667 rm -f conftest.er1
24668 cat conftest.err >&5
24669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24670 (exit $ac_status); } &&
24671 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24673 (eval $ac_try) 2>&5
24674 ac_status=$?
24675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24676 (exit $ac_status); }; } &&
24677 { ac_try='test -s conftest$ac_exeext'
24678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24679 (eval $ac_try) 2>&5
24680 ac_status=$?
24681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24682 (exit $ac_status); }; }; then
24683 ac_cv_func_gethostbyname=yes
24684 else
24685 echo "$as_me: failed program was:" >&5
24686 sed 's/^/| /' conftest.$ac_ext >&5
24687
24688 ac_cv_func_gethostbyname=no
24689 fi
24690 rm -f conftest.err conftest.$ac_objext \
24691 conftest$ac_exeext conftest.$ac_ext
24692 fi
24693 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24694 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
24695
24696 if test $ac_cv_func_gethostbyname = no; then
24697 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
24698 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
24699 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
24700 echo $ECHO_N "(cached) $ECHO_C" >&6
24701 else
24702 ac_check_lib_save_LIBS=$LIBS
24703 LIBS="-lnsl $LIBS"
24704 cat >conftest.$ac_ext <<_ACEOF
24705 /* confdefs.h. */
24706 _ACEOF
24707 cat confdefs.h >>conftest.$ac_ext
24708 cat >>conftest.$ac_ext <<_ACEOF
24709 /* end confdefs.h. */
24710
24711 /* Override any gcc2 internal prototype to avoid an error. */
24712 #ifdef __cplusplus
24713 extern "C"
24714 #endif
24715 /* We use char because int might match the return type of a gcc2
24716 builtin and then its argument prototype would still apply. */
24717 char gethostbyname ();
24718 int
24719 main ()
24720 {
24721 gethostbyname ();
24722 ;
24723 return 0;
24724 }
24725 _ACEOF
24726 rm -f conftest.$ac_objext conftest$ac_exeext
24727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24728 (eval $ac_link) 2>conftest.er1
24729 ac_status=$?
24730 grep -v '^ *+' conftest.er1 >conftest.err
24731 rm -f conftest.er1
24732 cat conftest.err >&5
24733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24734 (exit $ac_status); } &&
24735 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24737 (eval $ac_try) 2>&5
24738 ac_status=$?
24739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24740 (exit $ac_status); }; } &&
24741 { ac_try='test -s conftest$ac_exeext'
24742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24743 (eval $ac_try) 2>&5
24744 ac_status=$?
24745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24746 (exit $ac_status); }; }; then
24747 ac_cv_lib_nsl_gethostbyname=yes
24748 else
24749 echo "$as_me: failed program was:" >&5
24750 sed 's/^/| /' conftest.$ac_ext >&5
24751
24752 ac_cv_lib_nsl_gethostbyname=no
24753 fi
24754 rm -f conftest.err conftest.$ac_objext \
24755 conftest$ac_exeext conftest.$ac_ext
24756 LIBS=$ac_check_lib_save_LIBS
24757 fi
24758 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
24759 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
24760 if test $ac_cv_lib_nsl_gethostbyname = yes; then
24761 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
24762 fi
24763
24764 if test $ac_cv_lib_nsl_gethostbyname = no; then
24765 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
24766 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
24767 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
24768 echo $ECHO_N "(cached) $ECHO_C" >&6
24769 else
24770 ac_check_lib_save_LIBS=$LIBS
24771 LIBS="-lbsd $LIBS"
24772 cat >conftest.$ac_ext <<_ACEOF
24773 /* confdefs.h. */
24774 _ACEOF
24775 cat confdefs.h >>conftest.$ac_ext
24776 cat >>conftest.$ac_ext <<_ACEOF
24777 /* end confdefs.h. */
24778
24779 /* Override any gcc2 internal prototype to avoid an error. */
24780 #ifdef __cplusplus
24781 extern "C"
24782 #endif
24783 /* We use char because int might match the return type of a gcc2
24784 builtin and then its argument prototype would still apply. */
24785 char gethostbyname ();
24786 int
24787 main ()
24788 {
24789 gethostbyname ();
24790 ;
24791 return 0;
24792 }
24793 _ACEOF
24794 rm -f conftest.$ac_objext conftest$ac_exeext
24795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24796 (eval $ac_link) 2>conftest.er1
24797 ac_status=$?
24798 grep -v '^ *+' conftest.er1 >conftest.err
24799 rm -f conftest.er1
24800 cat conftest.err >&5
24801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24802 (exit $ac_status); } &&
24803 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24805 (eval $ac_try) 2>&5
24806 ac_status=$?
24807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24808 (exit $ac_status); }; } &&
24809 { ac_try='test -s conftest$ac_exeext'
24810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24811 (eval $ac_try) 2>&5
24812 ac_status=$?
24813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24814 (exit $ac_status); }; }; then
24815 ac_cv_lib_bsd_gethostbyname=yes
24816 else
24817 echo "$as_me: failed program was:" >&5
24818 sed 's/^/| /' conftest.$ac_ext >&5
24819
24820 ac_cv_lib_bsd_gethostbyname=no
24821 fi
24822 rm -f conftest.err conftest.$ac_objext \
24823 conftest$ac_exeext conftest.$ac_ext
24824 LIBS=$ac_check_lib_save_LIBS
24825 fi
24826 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24827 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
24828 if test $ac_cv_lib_bsd_gethostbyname = yes; then
24829 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
24830 fi
24831
24832 fi
24833 fi
24834
24835 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24836 # socket/setsockopt and other routines are undefined under SCO ODT
24837 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24838 # on later versions), says Simon Leinen: it contains gethostby*
24839 # variants that don't use the name server (or something). -lsocket
24840 # must be given before -lnsl if both are needed. We assume that
24841 # if connect needs -lnsl, so does gethostbyname.
24842 echo "$as_me:$LINENO: checking for connect" >&5
24843 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24844 if test "${ac_cv_func_connect+set}" = set; then
24845 echo $ECHO_N "(cached) $ECHO_C" >&6
24846 else
24847 cat >conftest.$ac_ext <<_ACEOF
24848 /* confdefs.h. */
24849 _ACEOF
24850 cat confdefs.h >>conftest.$ac_ext
24851 cat >>conftest.$ac_ext <<_ACEOF
24852 /* end confdefs.h. */
24853 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
24854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24855 #define connect innocuous_connect
24856
24857 /* System header to define __stub macros and hopefully few prototypes,
24858 which can conflict with char connect (); below.
24859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24860 <limits.h> exists even on freestanding compilers. */
24861
24862 #ifdef __STDC__
24863 # include <limits.h>
24864 #else
24865 # include <assert.h>
24866 #endif
24867
24868 #undef connect
24869
24870 /* Override any gcc2 internal prototype to avoid an error. */
24871 #ifdef __cplusplus
24872 extern "C"
24873 {
24874 #endif
24875 /* We use char because int might match the return type of a gcc2
24876 builtin and then its argument prototype would still apply. */
24877 char connect ();
24878 /* The GNU C library defines this for functions which it implements
24879 to always fail with ENOSYS. Some functions are actually named
24880 something starting with __ and the normal name is an alias. */
24881 #if defined (__stub_connect) || defined (__stub___connect)
24882 choke me
24883 #else
24884 char (*f) () = connect;
24885 #endif
24886 #ifdef __cplusplus
24887 }
24888 #endif
24889
24890 int
24891 main ()
24892 {
24893 return f != connect;
24894 ;
24895 return 0;
24896 }
24897 _ACEOF
24898 rm -f conftest.$ac_objext conftest$ac_exeext
24899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24900 (eval $ac_link) 2>conftest.er1
24901 ac_status=$?
24902 grep -v '^ *+' conftest.er1 >conftest.err
24903 rm -f conftest.er1
24904 cat conftest.err >&5
24905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24906 (exit $ac_status); } &&
24907 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24909 (eval $ac_try) 2>&5
24910 ac_status=$?
24911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24912 (exit $ac_status); }; } &&
24913 { ac_try='test -s conftest$ac_exeext'
24914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24915 (eval $ac_try) 2>&5
24916 ac_status=$?
24917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24918 (exit $ac_status); }; }; then
24919 ac_cv_func_connect=yes
24920 else
24921 echo "$as_me: failed program was:" >&5
24922 sed 's/^/| /' conftest.$ac_ext >&5
24923
24924 ac_cv_func_connect=no
24925 fi
24926 rm -f conftest.err conftest.$ac_objext \
24927 conftest$ac_exeext conftest.$ac_ext
24928 fi
24929 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24930 echo "${ECHO_T}$ac_cv_func_connect" >&6
24931
24932 if test $ac_cv_func_connect = no; then
24933 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24934 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
24935 if test "${ac_cv_lib_socket_connect+set}" = set; then
24936 echo $ECHO_N "(cached) $ECHO_C" >&6
24937 else
24938 ac_check_lib_save_LIBS=$LIBS
24939 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
24940 cat >conftest.$ac_ext <<_ACEOF
24941 /* confdefs.h. */
24942 _ACEOF
24943 cat confdefs.h >>conftest.$ac_ext
24944 cat >>conftest.$ac_ext <<_ACEOF
24945 /* end confdefs.h. */
24946
24947 /* Override any gcc2 internal prototype to avoid an error. */
24948 #ifdef __cplusplus
24949 extern "C"
24950 #endif
24951 /* We use char because int might match the return type of a gcc2
24952 builtin and then its argument prototype would still apply. */
24953 char connect ();
24954 int
24955 main ()
24956 {
24957 connect ();
24958 ;
24959 return 0;
24960 }
24961 _ACEOF
24962 rm -f conftest.$ac_objext conftest$ac_exeext
24963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24964 (eval $ac_link) 2>conftest.er1
24965 ac_status=$?
24966 grep -v '^ *+' conftest.er1 >conftest.err
24967 rm -f conftest.er1
24968 cat conftest.err >&5
24969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24970 (exit $ac_status); } &&
24971 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24973 (eval $ac_try) 2>&5
24974 ac_status=$?
24975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24976 (exit $ac_status); }; } &&
24977 { ac_try='test -s conftest$ac_exeext'
24978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24979 (eval $ac_try) 2>&5
24980 ac_status=$?
24981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24982 (exit $ac_status); }; }; then
24983 ac_cv_lib_socket_connect=yes
24984 else
24985 echo "$as_me: failed program was:" >&5
24986 sed 's/^/| /' conftest.$ac_ext >&5
24987
24988 ac_cv_lib_socket_connect=no
24989 fi
24990 rm -f conftest.err conftest.$ac_objext \
24991 conftest$ac_exeext conftest.$ac_ext
24992 LIBS=$ac_check_lib_save_LIBS
24993 fi
24994 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24995 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
24996 if test $ac_cv_lib_socket_connect = yes; then
24997 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
24998 fi
24999
25000 fi
25001
25002 # Guillermo Gomez says -lposix is necessary on A/UX.
25003 echo "$as_me:$LINENO: checking for remove" >&5
25004 echo $ECHO_N "checking for remove... $ECHO_C" >&6
25005 if test "${ac_cv_func_remove+set}" = set; then
25006 echo $ECHO_N "(cached) $ECHO_C" >&6
25007 else
25008 cat >conftest.$ac_ext <<_ACEOF
25009 /* confdefs.h. */
25010 _ACEOF
25011 cat confdefs.h >>conftest.$ac_ext
25012 cat >>conftest.$ac_ext <<_ACEOF
25013 /* end confdefs.h. */
25014 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
25015 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25016 #define remove innocuous_remove
25017
25018 /* System header to define __stub macros and hopefully few prototypes,
25019 which can conflict with char remove (); below.
25020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25021 <limits.h> exists even on freestanding compilers. */
25022
25023 #ifdef __STDC__
25024 # include <limits.h>
25025 #else
25026 # include <assert.h>
25027 #endif
25028
25029 #undef remove
25030
25031 /* Override any gcc2 internal prototype to avoid an error. */
25032 #ifdef __cplusplus
25033 extern "C"
25034 {
25035 #endif
25036 /* We use char because int might match the return type of a gcc2
25037 builtin and then its argument prototype would still apply. */
25038 char remove ();
25039 /* The GNU C library defines this for functions which it implements
25040 to always fail with ENOSYS. Some functions are actually named
25041 something starting with __ and the normal name is an alias. */
25042 #if defined (__stub_remove) || defined (__stub___remove)
25043 choke me
25044 #else
25045 char (*f) () = remove;
25046 #endif
25047 #ifdef __cplusplus
25048 }
25049 #endif
25050
25051 int
25052 main ()
25053 {
25054 return f != remove;
25055 ;
25056 return 0;
25057 }
25058 _ACEOF
25059 rm -f conftest.$ac_objext conftest$ac_exeext
25060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25061 (eval $ac_link) 2>conftest.er1
25062 ac_status=$?
25063 grep -v '^ *+' conftest.er1 >conftest.err
25064 rm -f conftest.er1
25065 cat conftest.err >&5
25066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25067 (exit $ac_status); } &&
25068 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25070 (eval $ac_try) 2>&5
25071 ac_status=$?
25072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25073 (exit $ac_status); }; } &&
25074 { ac_try='test -s conftest$ac_exeext'
25075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25076 (eval $ac_try) 2>&5
25077 ac_status=$?
25078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25079 (exit $ac_status); }; }; then
25080 ac_cv_func_remove=yes
25081 else
25082 echo "$as_me: failed program was:" >&5
25083 sed 's/^/| /' conftest.$ac_ext >&5
25084
25085 ac_cv_func_remove=no
25086 fi
25087 rm -f conftest.err conftest.$ac_objext \
25088 conftest$ac_exeext conftest.$ac_ext
25089 fi
25090 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
25091 echo "${ECHO_T}$ac_cv_func_remove" >&6
25092
25093 if test $ac_cv_func_remove = no; then
25094 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
25095 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
25096 if test "${ac_cv_lib_posix_remove+set}" = set; then
25097 echo $ECHO_N "(cached) $ECHO_C" >&6
25098 else
25099 ac_check_lib_save_LIBS=$LIBS
25100 LIBS="-lposix $LIBS"
25101 cat >conftest.$ac_ext <<_ACEOF
25102 /* confdefs.h. */
25103 _ACEOF
25104 cat confdefs.h >>conftest.$ac_ext
25105 cat >>conftest.$ac_ext <<_ACEOF
25106 /* end confdefs.h. */
25107
25108 /* Override any gcc2 internal prototype to avoid an error. */
25109 #ifdef __cplusplus
25110 extern "C"
25111 #endif
25112 /* We use char because int might match the return type of a gcc2
25113 builtin and then its argument prototype would still apply. */
25114 char remove ();
25115 int
25116 main ()
25117 {
25118 remove ();
25119 ;
25120 return 0;
25121 }
25122 _ACEOF
25123 rm -f conftest.$ac_objext conftest$ac_exeext
25124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25125 (eval $ac_link) 2>conftest.er1
25126 ac_status=$?
25127 grep -v '^ *+' conftest.er1 >conftest.err
25128 rm -f conftest.er1
25129 cat conftest.err >&5
25130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25131 (exit $ac_status); } &&
25132 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25134 (eval $ac_try) 2>&5
25135 ac_status=$?
25136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25137 (exit $ac_status); }; } &&
25138 { ac_try='test -s conftest$ac_exeext'
25139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25140 (eval $ac_try) 2>&5
25141 ac_status=$?
25142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25143 (exit $ac_status); }; }; then
25144 ac_cv_lib_posix_remove=yes
25145 else
25146 echo "$as_me: failed program was:" >&5
25147 sed 's/^/| /' conftest.$ac_ext >&5
25148
25149 ac_cv_lib_posix_remove=no
25150 fi
25151 rm -f conftest.err conftest.$ac_objext \
25152 conftest$ac_exeext conftest.$ac_ext
25153 LIBS=$ac_check_lib_save_LIBS
25154 fi
25155 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
25156 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
25157 if test $ac_cv_lib_posix_remove = yes; then
25158 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25159 fi
25160
25161 fi
25162
25163 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25164 echo "$as_me:$LINENO: checking for shmat" >&5
25165 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
25166 if test "${ac_cv_func_shmat+set}" = set; then
25167 echo $ECHO_N "(cached) $ECHO_C" >&6
25168 else
25169 cat >conftest.$ac_ext <<_ACEOF
25170 /* confdefs.h. */
25171 _ACEOF
25172 cat confdefs.h >>conftest.$ac_ext
25173 cat >>conftest.$ac_ext <<_ACEOF
25174 /* end confdefs.h. */
25175 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25176 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25177 #define shmat innocuous_shmat
25178
25179 /* System header to define __stub macros and hopefully few prototypes,
25180 which can conflict with char shmat (); below.
25181 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25182 <limits.h> exists even on freestanding compilers. */
25183
25184 #ifdef __STDC__
25185 # include <limits.h>
25186 #else
25187 # include <assert.h>
25188 #endif
25189
25190 #undef shmat
25191
25192 /* Override any gcc2 internal prototype to avoid an error. */
25193 #ifdef __cplusplus
25194 extern "C"
25195 {
25196 #endif
25197 /* We use char because int might match the return type of a gcc2
25198 builtin and then its argument prototype would still apply. */
25199 char shmat ();
25200 /* The GNU C library defines this for functions which it implements
25201 to always fail with ENOSYS. Some functions are actually named
25202 something starting with __ and the normal name is an alias. */
25203 #if defined (__stub_shmat) || defined (__stub___shmat)
25204 choke me
25205 #else
25206 char (*f) () = shmat;
25207 #endif
25208 #ifdef __cplusplus
25209 }
25210 #endif
25211
25212 int
25213 main ()
25214 {
25215 return f != shmat;
25216 ;
25217 return 0;
25218 }
25219 _ACEOF
25220 rm -f conftest.$ac_objext conftest$ac_exeext
25221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25222 (eval $ac_link) 2>conftest.er1
25223 ac_status=$?
25224 grep -v '^ *+' conftest.er1 >conftest.err
25225 rm -f conftest.er1
25226 cat conftest.err >&5
25227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25228 (exit $ac_status); } &&
25229 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25231 (eval $ac_try) 2>&5
25232 ac_status=$?
25233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25234 (exit $ac_status); }; } &&
25235 { ac_try='test -s conftest$ac_exeext'
25236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25237 (eval $ac_try) 2>&5
25238 ac_status=$?
25239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25240 (exit $ac_status); }; }; then
25241 ac_cv_func_shmat=yes
25242 else
25243 echo "$as_me: failed program was:" >&5
25244 sed 's/^/| /' conftest.$ac_ext >&5
25245
25246 ac_cv_func_shmat=no
25247 fi
25248 rm -f conftest.err conftest.$ac_objext \
25249 conftest$ac_exeext conftest.$ac_ext
25250 fi
25251 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25252 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25253
25254 if test $ac_cv_func_shmat = no; then
25255 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25256 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25257 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25258 echo $ECHO_N "(cached) $ECHO_C" >&6
25259 else
25260 ac_check_lib_save_LIBS=$LIBS
25261 LIBS="-lipc $LIBS"
25262 cat >conftest.$ac_ext <<_ACEOF
25263 /* confdefs.h. */
25264 _ACEOF
25265 cat confdefs.h >>conftest.$ac_ext
25266 cat >>conftest.$ac_ext <<_ACEOF
25267 /* end confdefs.h. */
25268
25269 /* Override any gcc2 internal prototype to avoid an error. */
25270 #ifdef __cplusplus
25271 extern "C"
25272 #endif
25273 /* We use char because int might match the return type of a gcc2
25274 builtin and then its argument prototype would still apply. */
25275 char shmat ();
25276 int
25277 main ()
25278 {
25279 shmat ();
25280 ;
25281 return 0;
25282 }
25283 _ACEOF
25284 rm -f conftest.$ac_objext conftest$ac_exeext
25285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25286 (eval $ac_link) 2>conftest.er1
25287 ac_status=$?
25288 grep -v '^ *+' conftest.er1 >conftest.err
25289 rm -f conftest.er1
25290 cat conftest.err >&5
25291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25292 (exit $ac_status); } &&
25293 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25295 (eval $ac_try) 2>&5
25296 ac_status=$?
25297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25298 (exit $ac_status); }; } &&
25299 { ac_try='test -s conftest$ac_exeext'
25300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25301 (eval $ac_try) 2>&5
25302 ac_status=$?
25303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25304 (exit $ac_status); }; }; then
25305 ac_cv_lib_ipc_shmat=yes
25306 else
25307 echo "$as_me: failed program was:" >&5
25308 sed 's/^/| /' conftest.$ac_ext >&5
25309
25310 ac_cv_lib_ipc_shmat=no
25311 fi
25312 rm -f conftest.err conftest.$ac_objext \
25313 conftest$ac_exeext conftest.$ac_ext
25314 LIBS=$ac_check_lib_save_LIBS
25315 fi
25316 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25317 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25318 if test $ac_cv_lib_ipc_shmat = yes; then
25319 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25320 fi
25321
25322 fi
25323 fi
25324
25325 # Check for libraries that X11R6 Xt/Xaw programs need.
25326 ac_save_LDFLAGS=$LDFLAGS
25327 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25328 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25329 # check for ICE first), but we must link in the order -lSM -lICE or
25330 # we get undefined symbols. So assume we have SM if we have ICE.
25331 # These have to be linked with before -lX11, unlike the other
25332 # libraries we check for below, so use a different variable.
25333 # John Interrante, Karl Berry
25334 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25335 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25336 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25337 echo $ECHO_N "(cached) $ECHO_C" >&6
25338 else
25339 ac_check_lib_save_LIBS=$LIBS
25340 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25341 cat >conftest.$ac_ext <<_ACEOF
25342 /* confdefs.h. */
25343 _ACEOF
25344 cat confdefs.h >>conftest.$ac_ext
25345 cat >>conftest.$ac_ext <<_ACEOF
25346 /* end confdefs.h. */
25347
25348 /* Override any gcc2 internal prototype to avoid an error. */
25349 #ifdef __cplusplus
25350 extern "C"
25351 #endif
25352 /* We use char because int might match the return type of a gcc2
25353 builtin and then its argument prototype would still apply. */
25354 char IceConnectionNumber ();
25355 int
25356 main ()
25357 {
25358 IceConnectionNumber ();
25359 ;
25360 return 0;
25361 }
25362 _ACEOF
25363 rm -f conftest.$ac_objext conftest$ac_exeext
25364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25365 (eval $ac_link) 2>conftest.er1
25366 ac_status=$?
25367 grep -v '^ *+' conftest.er1 >conftest.err
25368 rm -f conftest.er1
25369 cat conftest.err >&5
25370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25371 (exit $ac_status); } &&
25372 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25374 (eval $ac_try) 2>&5
25375 ac_status=$?
25376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25377 (exit $ac_status); }; } &&
25378 { ac_try='test -s conftest$ac_exeext'
25379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25380 (eval $ac_try) 2>&5
25381 ac_status=$?
25382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25383 (exit $ac_status); }; }; then
25384 ac_cv_lib_ICE_IceConnectionNumber=yes
25385 else
25386 echo "$as_me: failed program was:" >&5
25387 sed 's/^/| /' conftest.$ac_ext >&5
25388
25389 ac_cv_lib_ICE_IceConnectionNumber=no
25390 fi
25391 rm -f conftest.err conftest.$ac_objext \
25392 conftest$ac_exeext conftest.$ac_ext
25393 LIBS=$ac_check_lib_save_LIBS
25394 fi
25395 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25396 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
25397 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
25398 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25399 fi
25400
25401 LDFLAGS=$ac_save_LDFLAGS
25402
25403 fi
25404
25405
25406 if test "$no_x" = "yes"; then
25407 { { echo "$as_me:$LINENO: error: X11 not found" >&5
25408 echo "$as_me: error: X11 not found" >&2;}
25409 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
25410 fi
25411
25412 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25413 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
25414 AFMINSTALL=afminstall
25415 COMPILED_X_PROGRAM=0
25416
25417 fi
25418
25419 if test "$wxUSE_X11" = 1; then
25420 if test "$wxUSE_NANOX" = "yes"; then
25421 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
25422 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
25423 if test "x$MICROWIN" = x ; then
25424 echo "$as_me:$LINENO: result: not found" >&5
25425 echo "${ECHO_T}not found" >&6
25426 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
25427 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
25428 { (exit 1); exit 1; }; }
25429 else
25430 echo "$as_me:$LINENO: result: $MICROWIN" >&5
25431 echo "${ECHO_T}$MICROWIN" >&6
25432 cat >>confdefs.h <<\_ACEOF
25433 #define wxUSE_NANOX 1
25434 _ACEOF
25435
25436 fi
25437 fi
25438
25439 if test "$wxUSE_UNICODE" = "yes"; then
25440
25441 succeeded=no
25442
25443 if test -z "$PKG_CONFIG"; then
25444 # Extract the first word of "pkg-config", so it can be a program name with args.
25445 set dummy pkg-config; ac_word=$2
25446 echo "$as_me:$LINENO: checking for $ac_word" >&5
25447 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25448 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25449 echo $ECHO_N "(cached) $ECHO_C" >&6
25450 else
25451 case $PKG_CONFIG in
25452 [\\/]* | ?:[\\/]*)
25453 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25454 ;;
25455 *)
25456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25457 for as_dir in $PATH
25458 do
25459 IFS=$as_save_IFS
25460 test -z "$as_dir" && as_dir=.
25461 for ac_exec_ext in '' $ac_executable_extensions; do
25462 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25463 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25464 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25465 break 2
25466 fi
25467 done
25468 done
25469
25470 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
25471 ;;
25472 esac
25473 fi
25474 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25475
25476 if test -n "$PKG_CONFIG"; then
25477 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25478 echo "${ECHO_T}$PKG_CONFIG" >&6
25479 else
25480 echo "$as_me:$LINENO: result: no" >&5
25481 echo "${ECHO_T}no" >&6
25482 fi
25483
25484 fi
25485
25486 if test "$PKG_CONFIG" = "no" ; then
25487 echo "*** The pkg-config script could not be found. Make sure it is"
25488 echo "*** in your path, or set the PKG_CONFIG environment variable"
25489 echo "*** to the full path to pkg-config."
25490 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25491 else
25492 PKG_CONFIG_MIN_VERSION=0.9.0
25493 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25494 echo "$as_me:$LINENO: checking for pangox" >&5
25495 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
25496
25497 if $PKG_CONFIG --exists "pangox" ; then
25498 echo "$as_me:$LINENO: result: yes" >&5
25499 echo "${ECHO_T}yes" >&6
25500 succeeded=yes
25501
25502 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
25503 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
25504 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
25505 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
25506 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
25507
25508 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
25509 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
25510 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
25511 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
25512 echo "${ECHO_T}$PANGOX_LIBS" >&6
25513 else
25514 PANGOX_CFLAGS=""
25515 PANGOX_LIBS=""
25516 ## If we have a custom action on failure, don't print errors, but
25517 ## do set a variable so people can do so.
25518 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25519
25520 fi
25521
25522
25523
25524 else
25525 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25526 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25527 fi
25528 fi
25529
25530 if test $succeeded = yes; then
25531
25532 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
25533 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
25534
25535 else
25536
25537 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
25538 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
25539 { (exit 1); exit 1; }; }
25540
25541
25542 fi
25543
25544
25545 succeeded=no
25546
25547 if test -z "$PKG_CONFIG"; then
25548 # Extract the first word of "pkg-config", so it can be a program name with args.
25549 set dummy pkg-config; ac_word=$2
25550 echo "$as_me:$LINENO: checking for $ac_word" >&5
25551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25552 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25553 echo $ECHO_N "(cached) $ECHO_C" >&6
25554 else
25555 case $PKG_CONFIG in
25556 [\\/]* | ?:[\\/]*)
25557 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25558 ;;
25559 *)
25560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25561 for as_dir in $PATH
25562 do
25563 IFS=$as_save_IFS
25564 test -z "$as_dir" && as_dir=.
25565 for ac_exec_ext in '' $ac_executable_extensions; do
25566 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25567 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25569 break 2
25570 fi
25571 done
25572 done
25573
25574 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
25575 ;;
25576 esac
25577 fi
25578 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25579
25580 if test -n "$PKG_CONFIG"; then
25581 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25582 echo "${ECHO_T}$PKG_CONFIG" >&6
25583 else
25584 echo "$as_me:$LINENO: result: no" >&5
25585 echo "${ECHO_T}no" >&6
25586 fi
25587
25588 fi
25589
25590 if test "$PKG_CONFIG" = "no" ; then
25591 echo "*** The pkg-config script could not be found. Make sure it is"
25592 echo "*** in your path, or set the PKG_CONFIG environment variable"
25593 echo "*** to the full path to pkg-config."
25594 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25595 else
25596 PKG_CONFIG_MIN_VERSION=0.9.0
25597 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25598 echo "$as_me:$LINENO: checking for pangoft2" >&5
25599 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
25600
25601 if $PKG_CONFIG --exists "pangoft2" ; then
25602 echo "$as_me:$LINENO: result: yes" >&5
25603 echo "${ECHO_T}yes" >&6
25604 succeeded=yes
25605
25606 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
25607 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
25608 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
25609 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
25610 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
25611
25612 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
25613 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
25614 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
25615 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
25616 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
25617 else
25618 PANGOFT2_CFLAGS=""
25619 PANGOFT2_LIBS=""
25620 ## If we have a custom action on failure, don't print errors, but
25621 ## do set a variable so people can do so.
25622 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25623
25624 fi
25625
25626
25627
25628 else
25629 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25630 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25631 fi
25632 fi
25633
25634 if test $succeeded = yes; then
25635
25636 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
25637 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25638
25639 else
25640
25641 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25642 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25643 wxUSE_PRINTING_ARCHITECTURE="no"
25644
25645
25646 fi
25647
25648
25649 succeeded=no
25650
25651 if test -z "$PKG_CONFIG"; then
25652 # Extract the first word of "pkg-config", so it can be a program name with args.
25653 set dummy pkg-config; ac_word=$2
25654 echo "$as_me:$LINENO: checking for $ac_word" >&5
25655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25656 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25657 echo $ECHO_N "(cached) $ECHO_C" >&6
25658 else
25659 case $PKG_CONFIG in
25660 [\\/]* | ?:[\\/]*)
25661 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25662 ;;
25663 *)
25664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25665 for as_dir in $PATH
25666 do
25667 IFS=$as_save_IFS
25668 test -z "$as_dir" && as_dir=.
25669 for ac_exec_ext in '' $ac_executable_extensions; do
25670 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25671 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25672 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25673 break 2
25674 fi
25675 done
25676 done
25677
25678 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
25679 ;;
25680 esac
25681 fi
25682 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25683
25684 if test -n "$PKG_CONFIG"; then
25685 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25686 echo "${ECHO_T}$PKG_CONFIG" >&6
25687 else
25688 echo "$as_me:$LINENO: result: no" >&5
25689 echo "${ECHO_T}no" >&6
25690 fi
25691
25692 fi
25693
25694 if test "$PKG_CONFIG" = "no" ; then
25695 echo "*** The pkg-config script could not be found. Make sure it is"
25696 echo "*** in your path, or set the PKG_CONFIG environment variable"
25697 echo "*** to the full path to pkg-config."
25698 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25699 else
25700 PKG_CONFIG_MIN_VERSION=0.9.0
25701 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25702 echo "$as_me:$LINENO: checking for pangoxft" >&5
25703 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
25704
25705 if $PKG_CONFIG --exists "pangoxft" ; then
25706 echo "$as_me:$LINENO: result: yes" >&5
25707 echo "${ECHO_T}yes" >&6
25708 succeeded=yes
25709
25710 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
25711 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
25712 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
25713 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
25714 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
25715
25716 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
25717 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
25718 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
25719 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
25720 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
25721 else
25722 PANGOXFT_CFLAGS=""
25723 PANGOXFT_LIBS=""
25724 ## If we have a custom action on failure, don't print errors, but
25725 ## do set a variable so people can do so.
25726 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25727
25728 fi
25729
25730
25731
25732 else
25733 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25734 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25735 fi
25736 fi
25737
25738 if test $succeeded = yes; then
25739
25740 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
25741 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25742
25743 else
25744
25745 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25746 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25747
25748
25749 fi
25750
25751 save_CFLAGS="$CFLAGS"
25752 save_LIBS="$LIBS"
25753 CFLAGS="$CFLAGS $PANGOX_CFLAGS"
25754 LIBS="$LIBS $PANGOX_LIBS"
25755
25756 for ac_func in pango_font_family_is_monospace
25757 do
25758 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25759 echo "$as_me:$LINENO: checking for $ac_func" >&5
25760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25761 if eval "test \"\${$as_ac_var+set}\" = set"; then
25762 echo $ECHO_N "(cached) $ECHO_C" >&6
25763 else
25764 cat >conftest.$ac_ext <<_ACEOF
25765 /* confdefs.h. */
25766 _ACEOF
25767 cat confdefs.h >>conftest.$ac_ext
25768 cat >>conftest.$ac_ext <<_ACEOF
25769 /* end confdefs.h. */
25770 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25771 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25772 #define $ac_func innocuous_$ac_func
25773
25774 /* System header to define __stub macros and hopefully few prototypes,
25775 which can conflict with char $ac_func (); below.
25776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25777 <limits.h> exists even on freestanding compilers. */
25778
25779 #ifdef __STDC__
25780 # include <limits.h>
25781 #else
25782 # include <assert.h>
25783 #endif
25784
25785 #undef $ac_func
25786
25787 /* Override any gcc2 internal prototype to avoid an error. */
25788 #ifdef __cplusplus
25789 extern "C"
25790 {
25791 #endif
25792 /* We use char because int might match the return type of a gcc2
25793 builtin and then its argument prototype would still apply. */
25794 char $ac_func ();
25795 /* The GNU C library defines this for functions which it implements
25796 to always fail with ENOSYS. Some functions are actually named
25797 something starting with __ and the normal name is an alias. */
25798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25799 choke me
25800 #else
25801 char (*f) () = $ac_func;
25802 #endif
25803 #ifdef __cplusplus
25804 }
25805 #endif
25806
25807 int
25808 main ()
25809 {
25810 return f != $ac_func;
25811 ;
25812 return 0;
25813 }
25814 _ACEOF
25815 rm -f conftest.$ac_objext conftest$ac_exeext
25816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25817 (eval $ac_link) 2>conftest.er1
25818 ac_status=$?
25819 grep -v '^ *+' conftest.er1 >conftest.err
25820 rm -f conftest.er1
25821 cat conftest.err >&5
25822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25823 (exit $ac_status); } &&
25824 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25826 (eval $ac_try) 2>&5
25827 ac_status=$?
25828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25829 (exit $ac_status); }; } &&
25830 { ac_try='test -s conftest$ac_exeext'
25831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25832 (eval $ac_try) 2>&5
25833 ac_status=$?
25834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25835 (exit $ac_status); }; }; then
25836 eval "$as_ac_var=yes"
25837 else
25838 echo "$as_me: failed program was:" >&5
25839 sed 's/^/| /' conftest.$ac_ext >&5
25840
25841 eval "$as_ac_var=no"
25842 fi
25843 rm -f conftest.err conftest.$ac_objext \
25844 conftest$ac_exeext conftest.$ac_ext
25845 fi
25846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25847 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25848 if test `eval echo '${'$as_ac_var'}'` = yes; then
25849 cat >>confdefs.h <<_ACEOF
25850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25851 _ACEOF
25852
25853 fi
25854 done
25855
25856 CFLAGS="$save_CFLAGS"
25857 LIBS="$save_LIBS"
25858 fi
25859
25860 wxUSE_UNIVERSAL="yes"
25861
25862 if test "$wxUSE_NANOX" = "yes"; then
25863 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25864 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"
25865 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25866 else
25867 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
25868 fi
25869
25870 TOOLKIT=X11
25871 GUIDIST=X11_DIST
25872 fi
25873
25874 if test "$wxUSE_MOTIF" = 1; then
25875 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
25876 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
25877
25878 ac_find_includes=
25879 for ac_dir in $SEARCH_INCLUDE /usr/include;
25880 do
25881 if test -f "$ac_dir/Xm/Xm.h"; then
25882 ac_find_includes=$ac_dir
25883 break
25884 fi
25885 done
25886
25887 if test "$ac_find_includes" != "" ; then
25888 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
25889 echo "${ECHO_T}found in $ac_find_includes" >&6
25890
25891 if test "x$ac_find_includes" = "x/usr/include"; then
25892 ac_path_to_include=""
25893 else
25894 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
25895 result=$?
25896 if test $result = 0; then
25897 ac_path_to_include=""
25898 else
25899 ac_path_to_include=" -I$ac_find_includes"
25900 fi
25901 fi
25902
25903 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
25904 else
25905 cat >conftest.$ac_ext <<_ACEOF
25906 /* confdefs.h. */
25907 _ACEOF
25908 cat confdefs.h >>conftest.$ac_ext
25909 cat >>conftest.$ac_ext <<_ACEOF
25910 /* end confdefs.h. */
25911
25912 #include <Xm/Xm.h>
25913
25914 int
25915 main ()
25916 {
25917
25918 int version;
25919 version = xmUseVersion;
25920
25921 ;
25922 return 0;
25923 }
25924 _ACEOF
25925 rm -f conftest.$ac_objext
25926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25927 (eval $ac_compile) 2>conftest.er1
25928 ac_status=$?
25929 grep -v '^ *+' conftest.er1 >conftest.err
25930 rm -f conftest.er1
25931 cat conftest.err >&5
25932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25933 (exit $ac_status); } &&
25934 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25936 (eval $ac_try) 2>&5
25937 ac_status=$?
25938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25939 (exit $ac_status); }; } &&
25940 { ac_try='test -s conftest.$ac_objext'
25941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25942 (eval $ac_try) 2>&5
25943 ac_status=$?
25944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25945 (exit $ac_status); }; }; then
25946
25947 echo "$as_me:$LINENO: result: found in default search path" >&5
25948 echo "${ECHO_T}found in default search path" >&6
25949 COMPILED_X_PROGRAM=1
25950
25951 else
25952 echo "$as_me: failed program was:" >&5
25953 sed 's/^/| /' conftest.$ac_ext >&5
25954
25955
25956 echo "$as_me:$LINENO: result: no" >&5
25957 echo "${ECHO_T}no" >&6
25958 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
25959 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
25960 { (exit 1); exit 1; }; }
25961
25962
25963 fi
25964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25965 fi
25966
25967 if test "$COMPILED_X_PROGRAM" = 0; then
25968 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
25969 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
25970
25971 ac_find_libraries=
25972 for ac_dir in $SEARCH_LIB /usr/lib;
25973 do
25974 for ac_extension in a so sl dylib; do
25975 if test -f "$ac_dir/libXm.$ac_extension"; then
25976 ac_find_libraries=$ac_dir
25977 break 2
25978 fi
25979 done
25980 done
25981
25982 if test "$ac_find_libraries" != "" ; then
25983 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25984 echo "${ECHO_T}found at $ac_find_libraries" >&6
25985
25986
25987 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
25988 result=$?
25989 if test $result = 0; then
25990 ac_path_to_link=""
25991 else
25992 ac_path_to_link=" -L$ac_find_libraries"
25993 fi
25994
25995 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
25996 else
25997 save_CFLAGS=$CFLAGS
25998 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
25999
26000 cat >conftest.$ac_ext <<_ACEOF
26001 /* confdefs.h. */
26002 _ACEOF
26003 cat confdefs.h >>conftest.$ac_ext
26004 cat >>conftest.$ac_ext <<_ACEOF
26005 /* end confdefs.h. */
26006
26007 #include <Xm/Xm.h>
26008
26009 int
26010 main ()
26011 {
26012
26013 int version;
26014 version = xmUseVersion;
26015
26016 ;
26017 return 0;
26018 }
26019 _ACEOF
26020 rm -f conftest.$ac_objext
26021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26022 (eval $ac_compile) 2>conftest.er1
26023 ac_status=$?
26024 grep -v '^ *+' conftest.er1 >conftest.err
26025 rm -f conftest.er1
26026 cat conftest.err >&5
26027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26028 (exit $ac_status); } &&
26029 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26031 (eval $ac_try) 2>&5
26032 ac_status=$?
26033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26034 (exit $ac_status); }; } &&
26035 { ac_try='test -s conftest.$ac_objext'
26036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26037 (eval $ac_try) 2>&5
26038 ac_status=$?
26039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26040 (exit $ac_status); }; }; then
26041
26042 echo "$as_me:$LINENO: result: found in default search path" >&5
26043 echo "${ECHO_T}found in default search path" >&6
26044 COMPILED_X_PROGRAM=1
26045
26046 else
26047 echo "$as_me: failed program was:" >&5
26048 sed 's/^/| /' conftest.$ac_ext >&5
26049
26050
26051 echo "$as_me:$LINENO: result: no" >&5
26052 echo "${ECHO_T}no" >&6
26053 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
26054 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
26055 { (exit 1); exit 1; }; }
26056
26057
26058 fi
26059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26060
26061 CFLAGS=$save_CFLAGS
26062 fi
26063 fi
26064
26065 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
26066 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
26067 libp_link=""
26068 libsm_ice_link=""
26069 libs_found=0
26070 for libp in "" " -lXp"; do
26071 if test "$libs_found" = "0"; then
26072 for libsm_ice in "" " -lSM -lICE"; do
26073 if test "$libs_found" = "0"; then
26074 save_LIBS="$LIBS"
26075 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26076 save_CFLAGS=$CFLAGS
26077 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26078
26079 cat >conftest.$ac_ext <<_ACEOF
26080 /* confdefs.h. */
26081 _ACEOF
26082 cat confdefs.h >>conftest.$ac_ext
26083 cat >>conftest.$ac_ext <<_ACEOF
26084 /* end confdefs.h. */
26085
26086 #include <Xm/Xm.h>
26087 #include <Xm/List.h>
26088
26089 int
26090 main ()
26091 {
26092
26093 XmString string = NULL;
26094 Widget w = NULL;
26095 int position = 0;
26096 XmListAddItem(w, string, position);
26097
26098 ;
26099 return 0;
26100 }
26101 _ACEOF
26102 rm -f conftest.$ac_objext conftest$ac_exeext
26103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26104 (eval $ac_link) 2>conftest.er1
26105 ac_status=$?
26106 grep -v '^ *+' conftest.er1 >conftest.err
26107 rm -f conftest.er1
26108 cat conftest.err >&5
26109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26110 (exit $ac_status); } &&
26111 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26113 (eval $ac_try) 2>&5
26114 ac_status=$?
26115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26116 (exit $ac_status); }; } &&
26117 { ac_try='test -s conftest$ac_exeext'
26118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26119 (eval $ac_try) 2>&5
26120 ac_status=$?
26121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26122 (exit $ac_status); }; }; then
26123
26124 libp_link="$libp"
26125 libsm_ice_link="$libsm_ice"
26126 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
26127 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
26128 libs_found=1
26129
26130 else
26131 echo "$as_me: failed program was:" >&5
26132 sed 's/^/| /' conftest.$ac_ext >&5
26133
26134
26135
26136 fi
26137 rm -f conftest.err conftest.$ac_objext \
26138 conftest$ac_exeext conftest.$ac_ext
26139
26140 LIBS="$save_LIBS"
26141 CFLAGS=$save_CFLAGS
26142 fi
26143 done
26144 fi
26145 done
26146
26147 if test "$libs_found" = "0"; then
26148 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
26149 echo "${ECHO_T}can't find the right libraries" >&6
26150 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
26151 echo "$as_me: error: can't link a simple motif program" >&2;}
26152 { (exit 1); exit 1; }; }
26153 fi
26154
26155 save_CFLAGS=$CFLAGS
26156 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26157 echo "$as_me:$LINENO: checking for Motif 2" >&5
26158 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
26159 cat >conftest.$ac_ext <<_ACEOF
26160 /* confdefs.h. */
26161 _ACEOF
26162 cat confdefs.h >>conftest.$ac_ext
26163 cat >>conftest.$ac_ext <<_ACEOF
26164 /* end confdefs.h. */
26165
26166 #include <Xm/Xm.h>
26167
26168 int
26169 main ()
26170 {
26171
26172 #if XmVersion < 2000
26173 #error "Not Motif 2"
26174 #endif
26175
26176 ;
26177 return 0;
26178 }
26179 _ACEOF
26180 rm -f conftest.$ac_objext
26181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26182 (eval $ac_compile) 2>conftest.er1
26183 ac_status=$?
26184 grep -v '^ *+' conftest.er1 >conftest.err
26185 rm -f conftest.er1
26186 cat conftest.err >&5
26187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26188 (exit $ac_status); } &&
26189 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26191 (eval $ac_try) 2>&5
26192 ac_status=$?
26193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26194 (exit $ac_status); }; } &&
26195 { ac_try='test -s conftest.$ac_objext'
26196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26197 (eval $ac_try) 2>&5
26198 ac_status=$?
26199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26200 (exit $ac_status); }; }; then
26201
26202 cat >>confdefs.h <<\_ACEOF
26203 #define __WXMOTIF20__ 1
26204 _ACEOF
26205
26206 echo "$as_me:$LINENO: result: found" >&5
26207 echo "${ECHO_T}found" >&6
26208
26209 else
26210 echo "$as_me: failed program was:" >&5
26211 sed 's/^/| /' conftest.$ac_ext >&5
26212
26213
26214 cat >>confdefs.h <<\_ACEOF
26215 #define __WXMOTIF20__ 0
26216 _ACEOF
26217
26218 echo "$as_me:$LINENO: result: not found" >&5
26219 echo "${ECHO_T}not found" >&6
26220
26221 fi
26222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26223 CFLAGS=$save_CFLAGS
26224
26225 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26226 TOOLKIT=MOTIF
26227 GUIDIST=MOTIF_DIST
26228 fi
26229
26230 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26231 if test "$wxUSE_LIBXPM" = "sys"; then
26232 echo "$as_me:$LINENO: checking for Xpm library" >&5
26233 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
26234
26235 ac_find_libraries=
26236 for ac_dir in $SEARCH_LIB /usr/lib;
26237 do
26238 for ac_extension in a so sl dylib; do
26239 if test -f "$ac_dir/libXpm.$ac_extension"; then
26240 ac_find_libraries=$ac_dir
26241 break 2
26242 fi
26243 done
26244 done
26245
26246 if test "$ac_find_libraries" != "" ; then
26247
26248 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26249 result=$?
26250 if test $result = 0; then
26251 ac_path_to_link=""
26252 else
26253 ac_path_to_link=" -L$ac_find_libraries"
26254 fi
26255
26256 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26257 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26258 echo "${ECHO_T}found at $ac_find_libraries" >&6
26259
26260 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
26261 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
26262 if test "${wx_cv_x11_xpm_h+set}" = set; then
26263 echo $ECHO_N "(cached) $ECHO_C" >&6
26264 else
26265
26266 save_CFLAGS=$CFLAGS
26267 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26268
26269 cat >conftest.$ac_ext <<_ACEOF
26270 /* confdefs.h. */
26271 _ACEOF
26272 cat confdefs.h >>conftest.$ac_ext
26273 cat >>conftest.$ac_ext <<_ACEOF
26274 /* end confdefs.h. */
26275
26276 #include <X11/xpm.h>
26277
26278 int
26279 main ()
26280 {
26281
26282 int version;
26283 version = XpmLibraryVersion();
26284
26285 ;
26286 return 0;
26287 }
26288 _ACEOF
26289 rm -f conftest.$ac_objext
26290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26291 (eval $ac_compile) 2>conftest.er1
26292 ac_status=$?
26293 grep -v '^ *+' conftest.er1 >conftest.err
26294 rm -f conftest.er1
26295 cat conftest.err >&5
26296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26297 (exit $ac_status); } &&
26298 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26300 (eval $ac_try) 2>&5
26301 ac_status=$?
26302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26303 (exit $ac_status); }; } &&
26304 { ac_try='test -s conftest.$ac_objext'
26305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26306 (eval $ac_try) 2>&5
26307 ac_status=$?
26308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26309 (exit $ac_status); }; }; then
26310 wx_cv_x11_xpm_h=yes
26311 else
26312 echo "$as_me: failed program was:" >&5
26313 sed 's/^/| /' conftest.$ac_ext >&5
26314
26315 wx_cv_x11_xpm_h=no
26316
26317 fi
26318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26319
26320 CFLAGS=$save_CFLAGS
26321
26322
26323 fi
26324 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
26325 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
26326
26327 if test $wx_cv_x11_xpm_h = "yes"; then
26328 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
26329 cat >>confdefs.h <<\_ACEOF
26330 #define wxHAVE_LIB_XPM 1
26331 _ACEOF
26332
26333 else
26334 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
26335 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26336 fi
26337 fi
26338
26339 fi
26340
26341 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
26342 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
26343 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
26344 echo $ECHO_N "(cached) $ECHO_C" >&6
26345 else
26346 ac_check_lib_save_LIBS=$LIBS
26347 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
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
26355 /* Override any gcc2 internal prototype to avoid an error. */
26356 #ifdef __cplusplus
26357 extern "C"
26358 #endif
26359 /* We use char because int might match the return type of a gcc2
26360 builtin and then its argument prototype would still apply. */
26361 char XShapeQueryExtension ();
26362 int
26363 main ()
26364 {
26365 XShapeQueryExtension ();
26366 ;
26367 return 0;
26368 }
26369 _ACEOF
26370 rm -f conftest.$ac_objext conftest$ac_exeext
26371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26372 (eval $ac_link) 2>conftest.er1
26373 ac_status=$?
26374 grep -v '^ *+' conftest.er1 >conftest.err
26375 rm -f conftest.er1
26376 cat conftest.err >&5
26377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26378 (exit $ac_status); } &&
26379 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26381 (eval $ac_try) 2>&5
26382 ac_status=$?
26383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26384 (exit $ac_status); }; } &&
26385 { ac_try='test -s conftest$ac_exeext'
26386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26387 (eval $ac_try) 2>&5
26388 ac_status=$?
26389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26390 (exit $ac_status); }; }; then
26391 ac_cv_lib_Xext_XShapeQueryExtension=yes
26392 else
26393 echo "$as_me: failed program was:" >&5
26394 sed 's/^/| /' conftest.$ac_ext >&5
26395
26396 ac_cv_lib_Xext_XShapeQueryExtension=no
26397 fi
26398 rm -f conftest.err conftest.$ac_objext \
26399 conftest$ac_exeext conftest.$ac_ext
26400 LIBS=$ac_check_lib_save_LIBS
26401 fi
26402 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26403 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
26404 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
26405
26406 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
26407 wxHAVE_XEXT_LIB=1
26408
26409 fi
26410
26411
26412 if test "$wxHAVE_XEXT_LIB" = 1; then
26413 save_CFLAGS="$CFLAGS"
26414 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26415
26416 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
26417 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
26418 cat >conftest.$ac_ext <<_ACEOF
26419 /* confdefs.h. */
26420 _ACEOF
26421 cat confdefs.h >>conftest.$ac_ext
26422 cat >>conftest.$ac_ext <<_ACEOF
26423 /* end confdefs.h. */
26424
26425 #include <X11/Xlib.h>
26426 #include <X11/extensions/shape.h>
26427
26428 int
26429 main ()
26430 {
26431
26432 int dummy1, dummy2;
26433 XShapeQueryExtension((Display*)NULL,
26434 (int*)NULL, (int*)NULL);
26435
26436 ;
26437 return 0;
26438 }
26439 _ACEOF
26440 rm -f conftest.$ac_objext
26441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26442 (eval $ac_compile) 2>conftest.er1
26443 ac_status=$?
26444 grep -v '^ *+' conftest.er1 >conftest.err
26445 rm -f conftest.er1
26446 cat conftest.err >&5
26447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26448 (exit $ac_status); } &&
26449 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26451 (eval $ac_try) 2>&5
26452 ac_status=$?
26453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26454 (exit $ac_status); }; } &&
26455 { ac_try='test -s conftest.$ac_objext'
26456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26457 (eval $ac_try) 2>&5
26458 ac_status=$?
26459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26460 (exit $ac_status); }; }; then
26461
26462 cat >>confdefs.h <<\_ACEOF
26463 #define HAVE_XSHAPE 1
26464 _ACEOF
26465
26466 echo "$as_me:$LINENO: result: found" >&5
26467 echo "${ECHO_T}found" >&6
26468
26469 else
26470 echo "$as_me: failed program was:" >&5
26471 sed 's/^/| /' conftest.$ac_ext >&5
26472
26473
26474 echo "$as_me:$LINENO: result: not found" >&5
26475 echo "${ECHO_T}not found" >&6
26476
26477 fi
26478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26479 CFLAGS="$save_CFLAGS"
26480
26481 fi
26482 fi
26483
26484 if test "$wxUSE_MAC" = 1; then
26485 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26486 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26487 if test "$GCC" = yes; then
26488 echo "$as_me:$LINENO: result: gcc" >&5
26489 echo "${ECHO_T}gcc" >&6
26490 CPPFLAGS_PASCAL="-fpascal-strings"
26491 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26492 echo "$as_me:$LINENO: result: xlc" >&5
26493 echo "${ECHO_T}xlc" >&6
26494 CPPFLAGS_PASCAL="-qmacpstr"
26495 else
26496 echo "$as_me:$LINENO: result: none" >&5
26497 echo "${ECHO_T}none" >&6
26498 fi
26499
26500 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
26501
26502 TOOLKIT=MAC
26503 GUIDIST=MACX_DIST
26504 WXBASEPORT="_carbon"
26505 fi
26506
26507 if test "$wxUSE_COCOA" = 1; then
26508 TOOLKIT=COCOA
26509 GUIDIST=COCOA_DIST
26510 fi
26511
26512 if test "$wxUSE_PM" = 1; then
26513 TOOLKIT=PM
26514 GUIDIST=PM_DIST
26515 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
26516 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
26517 if test "${wx_cv_spbcdata+set}" = set; then
26518 echo $ECHO_N "(cached) $ECHO_C" >&6
26519 else
26520
26521 cat >conftest.$ac_ext <<_ACEOF
26522 /* confdefs.h. */
26523 _ACEOF
26524 cat confdefs.h >>conftest.$ac_ext
26525 cat >>conftest.$ac_ext <<_ACEOF
26526 /* end confdefs.h. */
26527
26528 #define INCL_PM
26529 #include <os2.h>
26530
26531 int
26532 main ()
26533 {
26534
26535 SPBCDATA test;
26536
26537 ;
26538 return 0;
26539 }
26540 _ACEOF
26541 rm -f conftest.$ac_objext
26542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26543 (eval $ac_compile) 2>conftest.er1
26544 ac_status=$?
26545 grep -v '^ *+' conftest.er1 >conftest.err
26546 rm -f conftest.er1
26547 cat conftest.err >&5
26548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26549 (exit $ac_status); } &&
26550 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26552 (eval $ac_try) 2>&5
26553 ac_status=$?
26554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26555 (exit $ac_status); }; } &&
26556 { ac_try='test -s conftest.$ac_objext'
26557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26558 (eval $ac_try) 2>&5
26559 ac_status=$?
26560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26561 (exit $ac_status); }; }; then
26562 wx_cv_spbcdata=yes
26563 else
26564 echo "$as_me: failed program was:" >&5
26565 sed 's/^/| /' conftest.$ac_ext >&5
26566
26567 wx_cv_spbcdata=no
26568
26569 fi
26570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26571
26572
26573 fi
26574 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
26575 echo "${ECHO_T}$wx_cv_spbcdata" >&6
26576
26577 if test $wx_cv_spbcdata = "yes"; then
26578 cat >>confdefs.h <<\_ACEOF
26579 #define HAVE_SPBCDATA 1
26580 _ACEOF
26581
26582 fi
26583 fi
26584
26585 if test "$TOOLKIT" = "PM" ; then
26586 TOOLKIT_DIR="os2"
26587 else
26588 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
26589 fi
26590
26591 if test "$wxUSE_UNIVERSAL" = "yes"; then
26592 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26593 WIDGET_SET=univ
26594 fi
26595
26596 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26597 DISTDIR="wx\$(TOOLKIT)"
26598 else
26599 USE_GUI=0
26600
26601 TOOLKIT_DIR="base"
26602
26603 if test "$USE_WIN32" = 1 ; then
26604 TOOLKIT="MSW"
26605 fi
26606
26607 GUIDIST="BASE_DIST"
26608 DISTDIR="wxBase"
26609 fi
26610
26611
26612
26613
26614 IODBC_C_SRC=""
26615
26616
26617 if test "$TOOLKIT" != "MSW" ; then
26618
26619 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
26620
26621 if test "${ac_cv_header_sql_h+set}" = set; then
26622 echo "$as_me:$LINENO: checking for sql.h" >&5
26623 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26624 if test "${ac_cv_header_sql_h+set}" = set; then
26625 echo $ECHO_N "(cached) $ECHO_C" >&6
26626 fi
26627 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26628 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26629 else
26630 # Is the header compilable?
26631 echo "$as_me:$LINENO: checking sql.h usability" >&5
26632 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
26633 cat >conftest.$ac_ext <<_ACEOF
26634 /* confdefs.h. */
26635 _ACEOF
26636 cat confdefs.h >>conftest.$ac_ext
26637 cat >>conftest.$ac_ext <<_ACEOF
26638 /* end confdefs.h. */
26639 $ac_includes_default
26640 #include <sql.h>
26641 _ACEOF
26642 rm -f conftest.$ac_objext
26643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26644 (eval $ac_compile) 2>conftest.er1
26645 ac_status=$?
26646 grep -v '^ *+' conftest.er1 >conftest.err
26647 rm -f conftest.er1
26648 cat conftest.err >&5
26649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26650 (exit $ac_status); } &&
26651 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26653 (eval $ac_try) 2>&5
26654 ac_status=$?
26655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26656 (exit $ac_status); }; } &&
26657 { ac_try='test -s conftest.$ac_objext'
26658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26659 (eval $ac_try) 2>&5
26660 ac_status=$?
26661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26662 (exit $ac_status); }; }; then
26663 ac_header_compiler=yes
26664 else
26665 echo "$as_me: failed program was:" >&5
26666 sed 's/^/| /' conftest.$ac_ext >&5
26667
26668 ac_header_compiler=no
26669 fi
26670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26671 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26672 echo "${ECHO_T}$ac_header_compiler" >&6
26673
26674 # Is the header present?
26675 echo "$as_me:$LINENO: checking sql.h presence" >&5
26676 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
26677 cat >conftest.$ac_ext <<_ACEOF
26678 /* confdefs.h. */
26679 _ACEOF
26680 cat confdefs.h >>conftest.$ac_ext
26681 cat >>conftest.$ac_ext <<_ACEOF
26682 /* end confdefs.h. */
26683 #include <sql.h>
26684 _ACEOF
26685 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26686 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26687 ac_status=$?
26688 grep -v '^ *+' conftest.er1 >conftest.err
26689 rm -f conftest.er1
26690 cat conftest.err >&5
26691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26692 (exit $ac_status); } >/dev/null; then
26693 if test -s conftest.err; then
26694 ac_cpp_err=$ac_c_preproc_warn_flag
26695 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26696 else
26697 ac_cpp_err=
26698 fi
26699 else
26700 ac_cpp_err=yes
26701 fi
26702 if test -z "$ac_cpp_err"; then
26703 ac_header_preproc=yes
26704 else
26705 echo "$as_me: failed program was:" >&5
26706 sed 's/^/| /' conftest.$ac_ext >&5
26707
26708 ac_header_preproc=no
26709 fi
26710 rm -f conftest.err conftest.$ac_ext
26711 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26712 echo "${ECHO_T}$ac_header_preproc" >&6
26713
26714 # So? What about this header?
26715 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26716 yes:no: )
26717 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
26718 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26719 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
26720 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
26721 ac_header_preproc=yes
26722 ;;
26723 no:yes:* )
26724 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
26725 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
26726 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
26727 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
26728 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
26729 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
26730 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
26731 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
26732 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
26733 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
26734 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
26735 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
26736 (
26737 cat <<\_ASBOX
26738 ## ----------------------------------------- ##
26739 ## Report this to wx-dev@lists.wxwidgets.org ##
26740 ## ----------------------------------------- ##
26741 _ASBOX
26742 ) |
26743 sed "s/^/$as_me: WARNING: /" >&2
26744 ;;
26745 esac
26746 echo "$as_me:$LINENO: checking for sql.h" >&5
26747 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26748 if test "${ac_cv_header_sql_h+set}" = set; then
26749 echo $ECHO_N "(cached) $ECHO_C" >&6
26750 else
26751 ac_cv_header_sql_h=$ac_header_preproc
26752 fi
26753 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26754 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26755
26756 fi
26757 if test $ac_cv_header_sql_h = yes; then
26758 found_sql_h=1
26759 fi
26760
26761
26762 if test "x$found_sql_h" = "x1" ; then
26763 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
26764 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
26765 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
26766 echo $ECHO_N "(cached) $ECHO_C" >&6
26767 else
26768 ac_check_lib_save_LIBS=$LIBS
26769 LIBS="-liodbc $LIBS"
26770 cat >conftest.$ac_ext <<_ACEOF
26771 /* confdefs.h. */
26772 _ACEOF
26773 cat confdefs.h >>conftest.$ac_ext
26774 cat >>conftest.$ac_ext <<_ACEOF
26775 /* end confdefs.h. */
26776
26777 /* Override any gcc2 internal prototype to avoid an error. */
26778 #ifdef __cplusplus
26779 extern "C"
26780 #endif
26781 /* We use char because int might match the return type of a gcc2
26782 builtin and then its argument prototype would still apply. */
26783 char SQLAllocEnv ();
26784 int
26785 main ()
26786 {
26787 SQLAllocEnv ();
26788 ;
26789 return 0;
26790 }
26791 _ACEOF
26792 rm -f conftest.$ac_objext conftest$ac_exeext
26793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26794 (eval $ac_link) 2>conftest.er1
26795 ac_status=$?
26796 grep -v '^ *+' conftest.er1 >conftest.err
26797 rm -f conftest.er1
26798 cat conftest.err >&5
26799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26800 (exit $ac_status); } &&
26801 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26803 (eval $ac_try) 2>&5
26804 ac_status=$?
26805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26806 (exit $ac_status); }; } &&
26807 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
26813 ac_cv_lib_iodbc_SQLAllocEnv=yes
26814 else
26815 echo "$as_me: failed program was:" >&5
26816 sed 's/^/| /' conftest.$ac_ext >&5
26817
26818 ac_cv_lib_iodbc_SQLAllocEnv=no
26819 fi
26820 rm -f conftest.err conftest.$ac_objext \
26821 conftest$ac_exeext conftest.$ac_ext
26822 LIBS=$ac_check_lib_save_LIBS
26823 fi
26824 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
26825 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
26826 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
26827 ODBC_LINK=" -liodbc"
26828 else
26829
26830 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
26831 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
26832 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
26833 echo $ECHO_N "(cached) $ECHO_C" >&6
26834 else
26835 ac_check_lib_save_LIBS=$LIBS
26836 LIBS="-lunixodbc $LIBS"
26837 cat >conftest.$ac_ext <<_ACEOF
26838 /* confdefs.h. */
26839 _ACEOF
26840 cat confdefs.h >>conftest.$ac_ext
26841 cat >>conftest.$ac_ext <<_ACEOF
26842 /* end confdefs.h. */
26843
26844 /* Override any gcc2 internal prototype to avoid an error. */
26845 #ifdef __cplusplus
26846 extern "C"
26847 #endif
26848 /* We use char because int might match the return type of a gcc2
26849 builtin and then its argument prototype would still apply. */
26850 char SQLAllocEnv ();
26851 int
26852 main ()
26853 {
26854 SQLAllocEnv ();
26855 ;
26856 return 0;
26857 }
26858 _ACEOF
26859 rm -f conftest.$ac_objext conftest$ac_exeext
26860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26861 (eval $ac_link) 2>conftest.er1
26862 ac_status=$?
26863 grep -v '^ *+' conftest.er1 >conftest.err
26864 rm -f conftest.er1
26865 cat conftest.err >&5
26866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26867 (exit $ac_status); } &&
26868 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26870 (eval $ac_try) 2>&5
26871 ac_status=$?
26872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26873 (exit $ac_status); }; } &&
26874 { ac_try='test -s conftest$ac_exeext'
26875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26876 (eval $ac_try) 2>&5
26877 ac_status=$?
26878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26879 (exit $ac_status); }; }; then
26880 ac_cv_lib_unixodbc_SQLAllocEnv=yes
26881 else
26882 echo "$as_me: failed program was:" >&5
26883 sed 's/^/| /' conftest.$ac_ext >&5
26884
26885 ac_cv_lib_unixodbc_SQLAllocEnv=no
26886 fi
26887 rm -f conftest.err conftest.$ac_objext \
26888 conftest$ac_exeext conftest.$ac_ext
26889 LIBS=$ac_check_lib_save_LIBS
26890 fi
26891 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
26892 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
26893 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
26894 ODBC_LINK=" -lunixodbc"
26895 else
26896
26897 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
26898 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
26899 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
26900 echo $ECHO_N "(cached) $ECHO_C" >&6
26901 else
26902 ac_check_lib_save_LIBS=$LIBS
26903 LIBS="-lodbc $LIBS"
26904 cat >conftest.$ac_ext <<_ACEOF
26905 /* confdefs.h. */
26906 _ACEOF
26907 cat confdefs.h >>conftest.$ac_ext
26908 cat >>conftest.$ac_ext <<_ACEOF
26909 /* end confdefs.h. */
26910
26911 /* Override any gcc2 internal prototype to avoid an error. */
26912 #ifdef __cplusplus
26913 extern "C"
26914 #endif
26915 /* We use char because int might match the return type of a gcc2
26916 builtin and then its argument prototype would still apply. */
26917 char SQLAllocEnv ();
26918 int
26919 main ()
26920 {
26921 SQLAllocEnv ();
26922 ;
26923 return 0;
26924 }
26925 _ACEOF
26926 rm -f conftest.$ac_objext conftest$ac_exeext
26927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26928 (eval $ac_link) 2>conftest.er1
26929 ac_status=$?
26930 grep -v '^ *+' conftest.er1 >conftest.err
26931 rm -f conftest.er1
26932 cat conftest.err >&5
26933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26934 (exit $ac_status); } &&
26935 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26937 (eval $ac_try) 2>&5
26938 ac_status=$?
26939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26940 (exit $ac_status); }; } &&
26941 { ac_try='test -s conftest$ac_exeext'
26942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26943 (eval $ac_try) 2>&5
26944 ac_status=$?
26945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26946 (exit $ac_status); }; }; then
26947 ac_cv_lib_odbc_SQLAllocEnv=yes
26948 else
26949 echo "$as_me: failed program was:" >&5
26950 sed 's/^/| /' conftest.$ac_ext >&5
26951
26952 ac_cv_lib_odbc_SQLAllocEnv=no
26953 fi
26954 rm -f conftest.err conftest.$ac_objext \
26955 conftest$ac_exeext conftest.$ac_ext
26956 LIBS=$ac_check_lib_save_LIBS
26957 fi
26958 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
26959 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
26960 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
26961 ODBC_LINK=" -lodbc"
26962 fi
26963
26964
26965 fi
26966
26967
26968 fi
26969
26970 fi
26971 if test "x$ODBC_LINK" = "x" ; then
26972 if test "$wxUSE_ODBC" = "sys" ; then
26973 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
26974 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
26975 { (exit 1); exit 1; }; }
26976 else
26977 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
26978 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
26979 wxUSE_ODBC=builtin
26980 fi
26981 else
26982 wxUSE_ODBC=sys
26983 fi
26984 fi
26985 if test "$wxUSE_ODBC" != "no" ; then
26986 cat >>confdefs.h <<\_ACEOF
26987 #define wxUSE_ODBC 1
26988 _ACEOF
26989
26990 if test "$wxUSE_ODBC" = "builtin" ; then
26991 cat >>confdefs.h <<\_ACEOF
26992 #define wxUSE_BUILTIN_IODBC 1
26993 _ACEOF
26994
26995 fi
26996 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
26997
26998 WXODBCFLAG="-D_IODBC_"
26999 fi
27000 fi
27001
27002
27003
27004 if test "$wxUSE_DISPLAY" = "yes"; then
27005 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
27006 echo "$as_me:$LINENO: checking for Xinerama" >&5
27007 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
27008
27009 ac_find_libraries=
27010 for ac_dir in $SEARCH_LIB /usr/lib;
27011 do
27012 for ac_extension in a so sl dylib; do
27013 if test -f "$ac_dir/libXinerama.$ac_extension"; then
27014 ac_find_libraries=$ac_dir
27015 break 2
27016 fi
27017 done
27018 done
27019
27020 if test "$ac_find_libraries" != "" ; then
27021
27022 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27023 result=$?
27024 if test $result = 0; then
27025 ac_path_to_link=""
27026 else
27027 ac_path_to_link=" -L$ac_find_libraries"
27028 fi
27029
27030 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27031 LDFLAGS="$LDFLAGS $ac_path_to_link"
27032 fi
27033 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
27034 echo "$as_me:$LINENO: result: yes" >&5
27035 echo "${ECHO_T}yes" >&6
27036
27037 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
27038 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
27039
27040 ac_find_libraries=
27041 for ac_dir in $SEARCH_LIB /usr/lib;
27042 do
27043 for ac_extension in a so sl dylib; do
27044 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27045 ac_find_libraries=$ac_dir
27046 break 2
27047 fi
27048 done
27049 done
27050
27051 if test "$ac_find_libraries" != "" ; then
27052 echo "$as_me:$LINENO: result: yes" >&5
27053 echo "${ECHO_T}yes" >&6
27054
27055 for ac_header in X11/extensions/xf86vmode.h
27056 do
27057 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27058 echo "$as_me:$LINENO: checking for $ac_header" >&5
27059 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27060 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27061 echo $ECHO_N "(cached) $ECHO_C" >&6
27062 else
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
27070 #if HAVE_X11_XLIB_H
27071 #include <X11/Xlib.h>
27072 #endif
27073
27074
27075 #include <$ac_header>
27076 _ACEOF
27077 rm -f conftest.$ac_objext
27078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27079 (eval $ac_compile) 2>conftest.er1
27080 ac_status=$?
27081 grep -v '^ *+' conftest.er1 >conftest.err
27082 rm -f conftest.er1
27083 cat conftest.err >&5
27084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27085 (exit $ac_status); } &&
27086 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27088 (eval $ac_try) 2>&5
27089 ac_status=$?
27090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27091 (exit $ac_status); }; } &&
27092 { ac_try='test -s conftest.$ac_objext'
27093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27094 (eval $ac_try) 2>&5
27095 ac_status=$?
27096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27097 (exit $ac_status); }; }; then
27098 eval "$as_ac_Header=yes"
27099 else
27100 echo "$as_me: failed program was:" >&5
27101 sed 's/^/| /' conftest.$ac_ext >&5
27102
27103 eval "$as_ac_Header=no"
27104 fi
27105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27106 fi
27107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27108 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27109 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27110 cat >>confdefs.h <<_ACEOF
27111 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27112 _ACEOF
27113
27114 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
27115
27116 fi
27117
27118 done
27119
27120 else
27121 echo "$as_me:$LINENO: result: no" >&5
27122 echo "${ECHO_T}no" >&6
27123 fi
27124
27125 else
27126 echo "$as_me:$LINENO: result: no" >&5
27127 echo "${ECHO_T}no" >&6
27128 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
27129 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
27130 wxUSE_DISPLAY="no"
27131 fi
27132 elif test "$wxUSE_MSW" = 1; then
27133
27134
27135 for ac_header in multimon.h ddraw.h
27136 do
27137 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27138 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27139 echo "$as_me:$LINENO: checking for $ac_header" >&5
27140 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27141 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27142 echo $ECHO_N "(cached) $ECHO_C" >&6
27143 fi
27144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27145 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27146 else
27147 # Is the header compilable?
27148 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27149 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27150 cat >conftest.$ac_ext <<_ACEOF
27151 /* confdefs.h. */
27152 _ACEOF
27153 cat confdefs.h >>conftest.$ac_ext
27154 cat >>conftest.$ac_ext <<_ACEOF
27155 /* end confdefs.h. */
27156 $ac_includes_default
27157 #include <$ac_header>
27158 _ACEOF
27159 rm -f conftest.$ac_objext
27160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27161 (eval $ac_compile) 2>conftest.er1
27162 ac_status=$?
27163 grep -v '^ *+' conftest.er1 >conftest.err
27164 rm -f conftest.er1
27165 cat conftest.err >&5
27166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27167 (exit $ac_status); } &&
27168 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27170 (eval $ac_try) 2>&5
27171 ac_status=$?
27172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27173 (exit $ac_status); }; } &&
27174 { ac_try='test -s conftest.$ac_objext'
27175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27176 (eval $ac_try) 2>&5
27177 ac_status=$?
27178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27179 (exit $ac_status); }; }; then
27180 ac_header_compiler=yes
27181 else
27182 echo "$as_me: failed program was:" >&5
27183 sed 's/^/| /' conftest.$ac_ext >&5
27184
27185 ac_header_compiler=no
27186 fi
27187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27188 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27189 echo "${ECHO_T}$ac_header_compiler" >&6
27190
27191 # Is the header present?
27192 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27193 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27194 cat >conftest.$ac_ext <<_ACEOF
27195 /* confdefs.h. */
27196 _ACEOF
27197 cat confdefs.h >>conftest.$ac_ext
27198 cat >>conftest.$ac_ext <<_ACEOF
27199 /* end confdefs.h. */
27200 #include <$ac_header>
27201 _ACEOF
27202 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27203 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27204 ac_status=$?
27205 grep -v '^ *+' conftest.er1 >conftest.err
27206 rm -f conftest.er1
27207 cat conftest.err >&5
27208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27209 (exit $ac_status); } >/dev/null; then
27210 if test -s conftest.err; then
27211 ac_cpp_err=$ac_c_preproc_warn_flag
27212 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27213 else
27214 ac_cpp_err=
27215 fi
27216 else
27217 ac_cpp_err=yes
27218 fi
27219 if test -z "$ac_cpp_err"; then
27220 ac_header_preproc=yes
27221 else
27222 echo "$as_me: failed program was:" >&5
27223 sed 's/^/| /' conftest.$ac_ext >&5
27224
27225 ac_header_preproc=no
27226 fi
27227 rm -f conftest.err conftest.$ac_ext
27228 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27229 echo "${ECHO_T}$ac_header_preproc" >&6
27230
27231 # So? What about this header?
27232 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27233 yes:no: )
27234 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27235 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27236 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27237 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27238 ac_header_preproc=yes
27239 ;;
27240 no:yes:* )
27241 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27242 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27243 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27244 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27245 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27246 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27247 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27248 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27249 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27250 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27251 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27252 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27253 (
27254 cat <<\_ASBOX
27255 ## ----------------------------------------- ##
27256 ## Report this to wx-dev@lists.wxwidgets.org ##
27257 ## ----------------------------------------- ##
27258 _ASBOX
27259 ) |
27260 sed "s/^/$as_me: WARNING: /" >&2
27261 ;;
27262 esac
27263 echo "$as_me:$LINENO: checking for $ac_header" >&5
27264 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27265 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27266 echo $ECHO_N "(cached) $ECHO_C" >&6
27267 else
27268 eval "$as_ac_Header=\$ac_header_preproc"
27269 fi
27270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27271 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27272
27273 fi
27274 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27275 cat >>confdefs.h <<_ACEOF
27276 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27277 _ACEOF
27278
27279 else
27280
27281 wxUSE_DISPLAY="no"
27282 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
27283 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
27284
27285 fi
27286
27287 done
27288
27289 fi
27290 fi
27291
27292
27293 USE_OPENGL=0
27294 if test "$wxUSE_OPENGL" = "yes"; then
27295 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27296 OPENGL_LIBS="-framework OpenGL -framework AGL"
27297 elif test "$wxUSE_MSW" = 1; then
27298 OPENGL_LIBS="-lopengl32 -lglu32"
27299 else
27300
27301
27302 ac_find_includes=
27303 for ac_dir in $SEARCH_INCLUDE /usr/include;
27304 do
27305 if test -f "$ac_dir/GL/gl.h"; then
27306 ac_find_includes=$ac_dir
27307 break
27308 fi
27309 done
27310
27311 if test "$ac_find_includes" != "" ; then
27312 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27313 echo "${ECHO_T}found in $ac_find_includes" >&6
27314
27315 if test "x$ac_find_includes" = "x/usr/include"; then
27316 ac_path_to_include=""
27317 else
27318 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
27319 result=$?
27320 if test $result = 0; then
27321 ac_path_to_include=""
27322 else
27323 ac_path_to_include=" -I$ac_find_includes"
27324 fi
27325 fi
27326
27327 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
27328 fi
27329
27330 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27331 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27332 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27333 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27334 echo $ECHO_N "(cached) $ECHO_C" >&6
27335 fi
27336 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27337 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27338 else
27339 # Is the header compilable?
27340 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
27341 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
27342 cat >conftest.$ac_ext <<_ACEOF
27343 /* confdefs.h. */
27344 _ACEOF
27345 cat confdefs.h >>conftest.$ac_ext
27346 cat >>conftest.$ac_ext <<_ACEOF
27347 /* end confdefs.h. */
27348 $ac_includes_default
27349 #include <GL/gl.h>
27350 _ACEOF
27351 rm -f conftest.$ac_objext
27352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27353 (eval $ac_compile) 2>conftest.er1
27354 ac_status=$?
27355 grep -v '^ *+' conftest.er1 >conftest.err
27356 rm -f conftest.er1
27357 cat conftest.err >&5
27358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27359 (exit $ac_status); } &&
27360 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27362 (eval $ac_try) 2>&5
27363 ac_status=$?
27364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27365 (exit $ac_status); }; } &&
27366 { ac_try='test -s conftest.$ac_objext'
27367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27368 (eval $ac_try) 2>&5
27369 ac_status=$?
27370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27371 (exit $ac_status); }; }; then
27372 ac_header_compiler=yes
27373 else
27374 echo "$as_me: failed program was:" >&5
27375 sed 's/^/| /' conftest.$ac_ext >&5
27376
27377 ac_header_compiler=no
27378 fi
27379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27380 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27381 echo "${ECHO_T}$ac_header_compiler" >&6
27382
27383 # Is the header present?
27384 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
27385 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
27386 cat >conftest.$ac_ext <<_ACEOF
27387 /* confdefs.h. */
27388 _ACEOF
27389 cat confdefs.h >>conftest.$ac_ext
27390 cat >>conftest.$ac_ext <<_ACEOF
27391 /* end confdefs.h. */
27392 #include <GL/gl.h>
27393 _ACEOF
27394 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27395 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27396 ac_status=$?
27397 grep -v '^ *+' conftest.er1 >conftest.err
27398 rm -f conftest.er1
27399 cat conftest.err >&5
27400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27401 (exit $ac_status); } >/dev/null; then
27402 if test -s conftest.err; then
27403 ac_cpp_err=$ac_c_preproc_warn_flag
27404 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27405 else
27406 ac_cpp_err=
27407 fi
27408 else
27409 ac_cpp_err=yes
27410 fi
27411 if test -z "$ac_cpp_err"; then
27412 ac_header_preproc=yes
27413 else
27414 echo "$as_me: failed program was:" >&5
27415 sed 's/^/| /' conftest.$ac_ext >&5
27416
27417 ac_header_preproc=no
27418 fi
27419 rm -f conftest.err conftest.$ac_ext
27420 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27421 echo "${ECHO_T}$ac_header_preproc" >&6
27422
27423 # So? What about this header?
27424 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27425 yes:no: )
27426 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27427 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27428 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
27429 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
27430 ac_header_preproc=yes
27431 ;;
27432 no:yes:* )
27433 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
27434 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
27435 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
27436 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
27437 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
27438 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
27439 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
27440 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
27441 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
27442 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
27443 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
27444 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
27445 (
27446 cat <<\_ASBOX
27447 ## ----------------------------------------- ##
27448 ## Report this to wx-dev@lists.wxwidgets.org ##
27449 ## ----------------------------------------- ##
27450 _ASBOX
27451 ) |
27452 sed "s/^/$as_me: WARNING: /" >&2
27453 ;;
27454 esac
27455 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27456 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27457 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27458 echo $ECHO_N "(cached) $ECHO_C" >&6
27459 else
27460 ac_cv_header_GL_gl_h=$ac_header_preproc
27461 fi
27462 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27463 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27464
27465 fi
27466 if test $ac_cv_header_GL_gl_h = yes; then
27467
27468 found_gl=0
27469
27470 echo "$as_me:$LINENO: checking for -lGL" >&5
27471 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
27472
27473 ac_find_libraries=
27474 for ac_dir in $SEARCH_LIB /usr/lib;
27475 do
27476 for ac_extension in a so sl dylib; do
27477 if test -f "$ac_dir/libGL.$ac_extension"; then
27478 ac_find_libraries=$ac_dir
27479 break 2
27480 fi
27481 done
27482 done
27483
27484 if test "$ac_find_libraries" != "" ; then
27485
27486 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27487 result=$?
27488 if test $result = 0; then
27489 ac_path_to_link=""
27490 else
27491 ac_path_to_link=" -L$ac_find_libraries"
27492 fi
27493
27494 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27495 LDFLAGS_GL="$ac_path_to_link"
27496 fi
27497
27498
27499 ac_find_libraries=
27500 for ac_dir in $SEARCH_LIB /usr/lib;
27501 do
27502 for ac_extension in a so sl dylib; do
27503 if test -f "$ac_dir/libGLU.$ac_extension"; then
27504 ac_find_libraries=$ac_dir
27505 break 2
27506 fi
27507 done
27508 done
27509
27510 if test "$ac_find_libraries" != "" ; then
27511
27512 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27513 result=$?
27514 if test $result = 0; then
27515 ac_path_to_link=""
27516 else
27517 ac_path_to_link=" -L$ac_find_libraries"
27518 fi
27519
27520 if test "$ac_path_to_link" != " -L/usr/lib" -a \
27521 "$ac_path_to_link" != "$LDFLAGS_GL"; then
27522 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
27523 fi
27524
27525 found_gl=1
27526 OPENGL_LIBS="-lGL -lGLU"
27527 echo "$as_me:$LINENO: result: yes" >&5
27528 echo "${ECHO_T}yes" >&6
27529 fi
27530 fi
27531
27532 if test "$found_gl" != 1; then
27533 echo "$as_me:$LINENO: result: no" >&5
27534 echo "${ECHO_T}no" >&6
27535 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
27536 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
27537
27538 ac_find_libraries=
27539 for ac_dir in $SEARCH_LIB /usr/lib;
27540 do
27541 for ac_extension in a so sl dylib; do
27542 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
27543 ac_find_libraries=$ac_dir
27544 break 2
27545 fi
27546 done
27547 done
27548
27549 if test "$ac_find_libraries" != "" ; then
27550
27551 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27552 result=$?
27553 if test $result = 0; then
27554 ac_path_to_link=""
27555 else
27556 ac_path_to_link=" -L$ac_find_libraries"
27557 fi
27558
27559 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
27560 OPENGL_LIBS="-lMesaGL -lMesaGLU"
27561 echo "$as_me:$LINENO: result: yes" >&5
27562 echo "${ECHO_T}yes" >&6
27563 else
27564 echo "$as_me:$LINENO: result: no" >&5
27565 echo "${ECHO_T}no" >&6
27566 fi
27567 fi
27568
27569 fi
27570
27571
27572
27573 if test "x$OPENGL_LIBS" = "x"; then
27574 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
27575 echo "$as_me: error: OpenGL libraries not available" >&2;}
27576 { (exit 1); exit 1; }; }
27577 fi
27578 fi
27579
27580 if test "$wxUSE_OPENGL" = "yes"; then
27581 USE_OPENGL=1
27582 cat >>confdefs.h <<\_ACEOF
27583 #define wxUSE_OPENGL 1
27584 _ACEOF
27585
27586 cat >>confdefs.h <<\_ACEOF
27587 #define wxUSE_GLCANVAS 1
27588 _ACEOF
27589
27590 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
27591 fi
27592 fi
27593
27594
27595 if test -n "$TOOLKIT" ; then
27596 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
27597 fi
27598
27599
27600
27601 if test "$wxUSE_SHARED" = "yes"; then
27602 case "${host}" in
27603 *-pc-msdosdjgpp )
27604 wxUSE_SHARED=no
27605 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
27606 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
27607 ;;
27608 esac
27609 fi
27610
27611 if test "$wxUSE_SHARED" = "yes"; then
27612
27613
27614 found_versioning=no
27615
27616
27617 if test $found_versioning = no ; then
27618 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
27619 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
27620 if test "${wx_cv_version_script+set}" = set; then
27621 echo $ECHO_N "(cached) $ECHO_C" >&6
27622 else
27623
27624 echo "VER_1 { *; };" >conftest.sym
27625 echo "int main() { return 0; }" >conftest.cpp
27626
27627 if { ac_try='
27628 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
27629 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
27630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27631 (eval $ac_try) 2>&5
27632 ac_status=$?
27633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27634 (exit $ac_status); }; } ; then
27635 if test -s conftest.stderr ; then
27636 wx_cv_version_script=no
27637 else
27638 wx_cv_version_script=yes
27639 fi
27640 else
27641 wx_cv_version_script=no
27642 fi
27643 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
27644
27645 fi
27646 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
27647 echo "${ECHO_T}$wx_cv_version_script" >&6
27648 if test $wx_cv_version_script = yes ; then
27649 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
27650 fi
27651 fi
27652
27653
27654 case "${host}" in
27655 *-*-linux* | *-*-gnu* )
27656 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
27657 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
27658 ;;
27659
27660 *-*-solaris2* )
27661 if test "$GCC" = yes ; then
27662 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
27663
27664 saveLdflags="$LDFLAGS"
27665 LDFLAGS="$saveLdflags -Wl,-rpath,/"
27666 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
27667 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
27668 cat >conftest.$ac_ext <<_ACEOF
27669 /* confdefs.h. */
27670 _ACEOF
27671 cat confdefs.h >>conftest.$ac_ext
27672 cat >>conftest.$ac_ext <<_ACEOF
27673 /* end confdefs.h. */
27674
27675 int
27676 main ()
27677 {
27678
27679 ;
27680 return 0;
27681 }
27682 _ACEOF
27683 rm -f conftest.$ac_objext conftest$ac_exeext
27684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27685 (eval $ac_link) 2>conftest.er1
27686 ac_status=$?
27687 grep -v '^ *+' conftest.er1 >conftest.err
27688 rm -f conftest.er1
27689 cat conftest.err >&5
27690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27691 (exit $ac_status); } &&
27692 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27694 (eval $ac_try) 2>&5
27695 ac_status=$?
27696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27697 (exit $ac_status); }; } &&
27698 { ac_try='test -s conftest$ac_exeext'
27699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27700 (eval $ac_try) 2>&5
27701 ac_status=$?
27702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27703 (exit $ac_status); }; }; then
27704
27705 echo "$as_me:$LINENO: result: yes" >&5
27706 echo "${ECHO_T}yes" >&6
27707 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
27708 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
27709
27710 else
27711 echo "$as_me: failed program was:" >&5
27712 sed 's/^/| /' conftest.$ac_ext >&5
27713
27714
27715 echo "$as_me:$LINENO: result: no" >&5
27716 echo "${ECHO_T}no" >&6
27717 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
27718 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
27719 LDFLAGS="$saveLdflags -Wl,-R,/"
27720 cat >conftest.$ac_ext <<_ACEOF
27721 /* confdefs.h. */
27722 _ACEOF
27723 cat confdefs.h >>conftest.$ac_ext
27724 cat >>conftest.$ac_ext <<_ACEOF
27725 /* end confdefs.h. */
27726
27727 int
27728 main ()
27729 {
27730
27731 ;
27732 return 0;
27733 }
27734 _ACEOF
27735 rm -f conftest.$ac_objext conftest$ac_exeext
27736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27737 (eval $ac_link) 2>conftest.er1
27738 ac_status=$?
27739 grep -v '^ *+' conftest.er1 >conftest.err
27740 rm -f conftest.er1
27741 cat conftest.err >&5
27742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27743 (exit $ac_status); } &&
27744 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27746 (eval $ac_try) 2>&5
27747 ac_status=$?
27748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27749 (exit $ac_status); }; } &&
27750 { ac_try='test -s conftest$ac_exeext'
27751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27752 (eval $ac_try) 2>&5
27753 ac_status=$?
27754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27755 (exit $ac_status); }; }; then
27756
27757 echo "$as_me:$LINENO: result: yes" >&5
27758 echo "${ECHO_T}yes" >&6
27759 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
27760 WXCONFIG_RPATH="-Wl,-R,\$libdir"
27761
27762 else
27763 echo "$as_me: failed program was:" >&5
27764 sed 's/^/| /' conftest.$ac_ext >&5
27765
27766
27767 echo "$as_me:$LINENO: result: no" >&5
27768 echo "${ECHO_T}no" >&6
27769
27770 fi
27771 rm -f conftest.err conftest.$ac_objext \
27772 conftest$ac_exeext conftest.$ac_ext
27773
27774 fi
27775 rm -f conftest.err conftest.$ac_objext \
27776 conftest$ac_exeext conftest.$ac_ext
27777 LDFLAGS="$saveLdflags"
27778 else
27779 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
27780 WXCONFIG_RPATH="-R\$libdir"
27781 fi
27782 ;;
27783
27784 powerpc-*-darwin* )
27785 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
27786 cat <<EOF >change-install-names
27787 #!/bin/sh
27788 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
27789 inst_cmd="install_name_tool "
27790 for i in \${libnames} ; do
27791 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
27792 done
27793 \${inst_cmd} \${3}
27794 EOF
27795 chmod +x change-install-names
27796 ;;
27797
27798 *-*-cygwin* | *-*-mingw32* )
27799 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
27800 ;;
27801
27802 esac
27803
27804 if test $wxUSE_RPATH = "no"; then
27805 SAMPLES_RPATH_FLAG=''
27806 SAMPLES_RPATH_POSTLINK=''
27807 WXCONFIG_RPATH=''
27808 fi
27809
27810 SHARED=1
27811
27812 else
27813
27814 config_linkage_component="-static"
27815 SHARED=0
27816
27817 fi
27818
27819
27820 UNICODE=0
27821 lib_unicode_suffix=
27822 WX_CHARTYPE="ansi"
27823 if test "$wxUSE_UNICODE" = "yes"; then
27824 lib_unicode_suffix=u
27825 WX_CHARTYPE="unicode"
27826 UNICODE=1
27827 fi
27828
27829 lib_debug_suffix=
27830 WX_DEBUGTYPE="release"
27831 DEBUG_FLAG=0
27832 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
27833 lib_debug_suffix=d
27834 WX_DEBUGTYPE="debug"
27835 DEBUG_FLAG=1
27836 fi
27837
27838 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
27839 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
27840
27841 DEBUG_INFO=0
27842 if test "$wxUSE_DEBUG_INFO" = "yes"; then
27843 DEBUG_INFO=1
27844 fi
27845
27846 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
27847
27848 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
27849
27850 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
27851
27852 if test "$cross_compiling" = "yes"; then
27853 HOST_SUFFIX="-$host_alias"
27854 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
27855 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
27856 fi
27857
27858 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
27859 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
27860
27861
27862
27863 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
27864 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${WX_CURRENT}.r"
27865 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${WX_CURRENT}.rsrc"
27866
27867 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
27868
27869 # Extract the first word of "Rez", so it can be a program name with args.
27870 set dummy Rez; ac_word=$2
27871 echo "$as_me:$LINENO: checking for $ac_word" >&5
27872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27873 if test "${ac_cv_prog_RESCOMP+set}" = set; then
27874 echo $ECHO_N "(cached) $ECHO_C" >&6
27875 else
27876 if test -n "$RESCOMP"; then
27877 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
27878 else
27879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27880 for as_dir in $PATH
27881 do
27882 IFS=$as_save_IFS
27883 test -z "$as_dir" && as_dir=.
27884 for ac_exec_ext in '' $ac_executable_extensions; do
27885 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27886 ac_cv_prog_RESCOMP="Rez"
27887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27888 break 2
27889 fi
27890 done
27891 done
27892
27893 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
27894 fi
27895 fi
27896 RESCOMP=$ac_cv_prog_RESCOMP
27897 if test -n "$RESCOMP"; then
27898 echo "$as_me:$LINENO: result: $RESCOMP" >&5
27899 echo "${ECHO_T}$RESCOMP" >&6
27900 else
27901 echo "$as_me:$LINENO: result: no" >&5
27902 echo "${ECHO_T}no" >&6
27903 fi
27904
27905 # Extract the first word of "DeRez", so it can be a program name with args.
27906 set dummy DeRez; ac_word=$2
27907 echo "$as_me:$LINENO: checking for $ac_word" >&5
27908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27909 if test "${ac_cv_prog_DEREZ+set}" = set; then
27910 echo $ECHO_N "(cached) $ECHO_C" >&6
27911 else
27912 if test -n "$DEREZ"; then
27913 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
27914 else
27915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27916 for as_dir in $PATH
27917 do
27918 IFS=$as_save_IFS
27919 test -z "$as_dir" && as_dir=.
27920 for ac_exec_ext in '' $ac_executable_extensions; do
27921 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27922 ac_cv_prog_DEREZ="DeRez"
27923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27924 break 2
27925 fi
27926 done
27927 done
27928
27929 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
27930 fi
27931 fi
27932 DEREZ=$ac_cv_prog_DEREZ
27933 if test -n "$DEREZ"; then
27934 echo "$as_me:$LINENO: result: $DEREZ" >&5
27935 echo "${ECHO_T}$DEREZ" >&6
27936 else
27937 echo "$as_me:$LINENO: result: no" >&5
27938 echo "${ECHO_T}no" >&6
27939 fi
27940
27941 # Extract the first word of "SetFile", so it can be a program name with args.
27942 set dummy SetFile; ac_word=$2
27943 echo "$as_me:$LINENO: checking for $ac_word" >&5
27944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27945 if test "${ac_cv_prog_SETFILE+set}" = set; then
27946 echo $ECHO_N "(cached) $ECHO_C" >&6
27947 else
27948 if test -n "$SETFILE"; then
27949 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
27950 else
27951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27952 for as_dir in $PATH
27953 do
27954 IFS=$as_save_IFS
27955 test -z "$as_dir" && as_dir=.
27956 for ac_exec_ext in '' $ac_executable_extensions; do
27957 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27958 ac_cv_prog_SETFILE="SetFile"
27959 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27960 break 2
27961 fi
27962 done
27963 done
27964
27965 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
27966 fi
27967 fi
27968 SETFILE=$ac_cv_prog_SETFILE
27969 if test -n "$SETFILE"; then
27970 echo "$as_me:$LINENO: result: $SETFILE" >&5
27971 echo "${ECHO_T}$SETFILE" >&6
27972 else
27973 echo "$as_me:$LINENO: result: no" >&5
27974 echo "${ECHO_T}no" >&6
27975 fi
27976
27977
27978 MACSETFILE="\$(SETFILE)"
27979
27980 if test "$wxUSE_MAC" = 1; then
27981 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
27982
27983 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
27984 else
27985 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
27986 MACRESWXCONFIG="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
27987 fi
27988 else
27989 MACSETFILE="@true"
27990 MACRESWXCONFIG="@true"
27991
27992 if test "$wxUSE_PM" = 1; then
27993 MACRESCOMP="emxbind -ep"
27994 else
27995 MACRESCOMP="@true"
27996 fi
27997 fi
27998
27999
28000
28001 echo "$as_me:$LINENO: checking for mode_t" >&5
28002 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
28003 if test "${ac_cv_type_mode_t+set}" = set; then
28004 echo $ECHO_N "(cached) $ECHO_C" >&6
28005 else
28006 cat >conftest.$ac_ext <<_ACEOF
28007 /* confdefs.h. */
28008 _ACEOF
28009 cat confdefs.h >>conftest.$ac_ext
28010 cat >>conftest.$ac_ext <<_ACEOF
28011 /* end confdefs.h. */
28012 $ac_includes_default
28013 int
28014 main ()
28015 {
28016 if ((mode_t *) 0)
28017 return 0;
28018 if (sizeof (mode_t))
28019 return 0;
28020 ;
28021 return 0;
28022 }
28023 _ACEOF
28024 rm -f conftest.$ac_objext
28025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28026 (eval $ac_compile) 2>conftest.er1
28027 ac_status=$?
28028 grep -v '^ *+' conftest.er1 >conftest.err
28029 rm -f conftest.er1
28030 cat conftest.err >&5
28031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28032 (exit $ac_status); } &&
28033 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28035 (eval $ac_try) 2>&5
28036 ac_status=$?
28037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28038 (exit $ac_status); }; } &&
28039 { ac_try='test -s conftest.$ac_objext'
28040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28041 (eval $ac_try) 2>&5
28042 ac_status=$?
28043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28044 (exit $ac_status); }; }; then
28045 ac_cv_type_mode_t=yes
28046 else
28047 echo "$as_me: failed program was:" >&5
28048 sed 's/^/| /' conftest.$ac_ext >&5
28049
28050 ac_cv_type_mode_t=no
28051 fi
28052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28053 fi
28054 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
28055 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
28056 if test $ac_cv_type_mode_t = yes; then
28057 :
28058 else
28059
28060 cat >>confdefs.h <<_ACEOF
28061 #define mode_t int
28062 _ACEOF
28063
28064 fi
28065
28066 echo "$as_me:$LINENO: checking for off_t" >&5
28067 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28068 if test "${ac_cv_type_off_t+set}" = set; then
28069 echo $ECHO_N "(cached) $ECHO_C" >&6
28070 else
28071 cat >conftest.$ac_ext <<_ACEOF
28072 /* confdefs.h. */
28073 _ACEOF
28074 cat confdefs.h >>conftest.$ac_ext
28075 cat >>conftest.$ac_ext <<_ACEOF
28076 /* end confdefs.h. */
28077 $ac_includes_default
28078 int
28079 main ()
28080 {
28081 if ((off_t *) 0)
28082 return 0;
28083 if (sizeof (off_t))
28084 return 0;
28085 ;
28086 return 0;
28087 }
28088 _ACEOF
28089 rm -f conftest.$ac_objext
28090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28091 (eval $ac_compile) 2>conftest.er1
28092 ac_status=$?
28093 grep -v '^ *+' conftest.er1 >conftest.err
28094 rm -f conftest.er1
28095 cat conftest.err >&5
28096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28097 (exit $ac_status); } &&
28098 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28100 (eval $ac_try) 2>&5
28101 ac_status=$?
28102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28103 (exit $ac_status); }; } &&
28104 { ac_try='test -s conftest.$ac_objext'
28105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28106 (eval $ac_try) 2>&5
28107 ac_status=$?
28108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28109 (exit $ac_status); }; }; then
28110 ac_cv_type_off_t=yes
28111 else
28112 echo "$as_me: failed program was:" >&5
28113 sed 's/^/| /' conftest.$ac_ext >&5
28114
28115 ac_cv_type_off_t=no
28116 fi
28117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28118 fi
28119 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28120 echo "${ECHO_T}$ac_cv_type_off_t" >&6
28121 if test $ac_cv_type_off_t = yes; then
28122 :
28123 else
28124
28125 cat >>confdefs.h <<_ACEOF
28126 #define off_t long
28127 _ACEOF
28128
28129 fi
28130
28131 echo "$as_me:$LINENO: checking for pid_t" >&5
28132 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
28133 if test "${ac_cv_type_pid_t+set}" = set; then
28134 echo $ECHO_N "(cached) $ECHO_C" >&6
28135 else
28136 cat >conftest.$ac_ext <<_ACEOF
28137 /* confdefs.h. */
28138 _ACEOF
28139 cat confdefs.h >>conftest.$ac_ext
28140 cat >>conftest.$ac_ext <<_ACEOF
28141 /* end confdefs.h. */
28142 $ac_includes_default
28143 int
28144 main ()
28145 {
28146 if ((pid_t *) 0)
28147 return 0;
28148 if (sizeof (pid_t))
28149 return 0;
28150 ;
28151 return 0;
28152 }
28153 _ACEOF
28154 rm -f conftest.$ac_objext
28155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28156 (eval $ac_compile) 2>conftest.er1
28157 ac_status=$?
28158 grep -v '^ *+' conftest.er1 >conftest.err
28159 rm -f conftest.er1
28160 cat conftest.err >&5
28161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28162 (exit $ac_status); } &&
28163 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28165 (eval $ac_try) 2>&5
28166 ac_status=$?
28167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28168 (exit $ac_status); }; } &&
28169 { ac_try='test -s conftest.$ac_objext'
28170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28171 (eval $ac_try) 2>&5
28172 ac_status=$?
28173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28174 (exit $ac_status); }; }; then
28175 ac_cv_type_pid_t=yes
28176 else
28177 echo "$as_me: failed program was:" >&5
28178 sed 's/^/| /' conftest.$ac_ext >&5
28179
28180 ac_cv_type_pid_t=no
28181 fi
28182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28183 fi
28184 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28185 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28186 if test $ac_cv_type_pid_t = yes; then
28187 :
28188 else
28189
28190 cat >>confdefs.h <<_ACEOF
28191 #define pid_t int
28192 _ACEOF
28193
28194 fi
28195
28196 echo "$as_me:$LINENO: checking for size_t" >&5
28197 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28198 if test "${ac_cv_type_size_t+set}" = set; then
28199 echo $ECHO_N "(cached) $ECHO_C" >&6
28200 else
28201 cat >conftest.$ac_ext <<_ACEOF
28202 /* confdefs.h. */
28203 _ACEOF
28204 cat confdefs.h >>conftest.$ac_ext
28205 cat >>conftest.$ac_ext <<_ACEOF
28206 /* end confdefs.h. */
28207 $ac_includes_default
28208 int
28209 main ()
28210 {
28211 if ((size_t *) 0)
28212 return 0;
28213 if (sizeof (size_t))
28214 return 0;
28215 ;
28216 return 0;
28217 }
28218 _ACEOF
28219 rm -f conftest.$ac_objext
28220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28221 (eval $ac_compile) 2>conftest.er1
28222 ac_status=$?
28223 grep -v '^ *+' conftest.er1 >conftest.err
28224 rm -f conftest.er1
28225 cat conftest.err >&5
28226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28227 (exit $ac_status); } &&
28228 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28230 (eval $ac_try) 2>&5
28231 ac_status=$?
28232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28233 (exit $ac_status); }; } &&
28234 { ac_try='test -s conftest.$ac_objext'
28235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28236 (eval $ac_try) 2>&5
28237 ac_status=$?
28238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28239 (exit $ac_status); }; }; then
28240 ac_cv_type_size_t=yes
28241 else
28242 echo "$as_me: failed program was:" >&5
28243 sed 's/^/| /' conftest.$ac_ext >&5
28244
28245 ac_cv_type_size_t=no
28246 fi
28247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28248 fi
28249 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28250 echo "${ECHO_T}$ac_cv_type_size_t" >&6
28251 if test $ac_cv_type_size_t = yes; then
28252 :
28253 else
28254
28255 cat >>confdefs.h <<_ACEOF
28256 #define size_t unsigned
28257 _ACEOF
28258
28259 fi
28260
28261 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28262 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28263 if test "${ac_cv_type_uid_t+set}" = set; then
28264 echo $ECHO_N "(cached) $ECHO_C" >&6
28265 else
28266 cat >conftest.$ac_ext <<_ACEOF
28267 /* confdefs.h. */
28268 _ACEOF
28269 cat confdefs.h >>conftest.$ac_ext
28270 cat >>conftest.$ac_ext <<_ACEOF
28271 /* end confdefs.h. */
28272 #include <sys/types.h>
28273
28274 _ACEOF
28275 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28276 $EGREP "uid_t" >/dev/null 2>&1; then
28277 ac_cv_type_uid_t=yes
28278 else
28279 ac_cv_type_uid_t=no
28280 fi
28281 rm -f conftest*
28282
28283 fi
28284 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28285 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28286 if test $ac_cv_type_uid_t = no; then
28287
28288 cat >>confdefs.h <<\_ACEOF
28289 #define uid_t int
28290 _ACEOF
28291
28292
28293 cat >>confdefs.h <<\_ACEOF
28294 #define gid_t int
28295 _ACEOF
28296
28297 fi
28298
28299
28300
28301
28302 ac_ext=cc
28303 ac_cpp='$CXXCPP $CPPFLAGS'
28304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28307
28308 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
28309 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
28310 if test "${wx_cv_size_t_is_uint+set}" = set; then
28311 echo $ECHO_N "(cached) $ECHO_C" >&6
28312 else
28313
28314 cat >conftest.$ac_ext <<_ACEOF
28315 /* confdefs.h. */
28316 _ACEOF
28317 cat confdefs.h >>conftest.$ac_ext
28318 cat >>conftest.$ac_ext <<_ACEOF
28319 /* end confdefs.h. */
28320 #include <stddef.h>
28321 int
28322 main ()
28323 {
28324
28325 return 0; }
28326
28327 struct Foo { void foo(size_t); void foo(unsigned int); };
28328
28329 int bar() {
28330
28331 ;
28332 return 0;
28333 }
28334 _ACEOF
28335 rm -f conftest.$ac_objext
28336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28337 (eval $ac_compile) 2>conftest.er1
28338 ac_status=$?
28339 grep -v '^ *+' conftest.er1 >conftest.err
28340 rm -f conftest.er1
28341 cat conftest.err >&5
28342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28343 (exit $ac_status); } &&
28344 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28346 (eval $ac_try) 2>&5
28347 ac_status=$?
28348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28349 (exit $ac_status); }; } &&
28350 { ac_try='test -s conftest.$ac_objext'
28351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28352 (eval $ac_try) 2>&5
28353 ac_status=$?
28354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28355 (exit $ac_status); }; }; then
28356 wx_cv_size_t_is_uint=no
28357 else
28358 echo "$as_me: failed program was:" >&5
28359 sed 's/^/| /' conftest.$ac_ext >&5
28360
28361 wx_cv_size_t_is_uint=yes
28362
28363 fi
28364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28365
28366
28367 fi
28368 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
28369 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
28370
28371 if test "$wx_cv_size_t_is_uint" = "yes"; then
28372 cat >>confdefs.h <<\_ACEOF
28373 #define wxSIZE_T_IS_UINT 1
28374 _ACEOF
28375
28376 else
28377 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
28378 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
28379 if test "${wx_cv_size_t_is_ulong+set}" = set; then
28380 echo $ECHO_N "(cached) $ECHO_C" >&6
28381 else
28382 cat >conftest.$ac_ext <<_ACEOF
28383 /* confdefs.h. */
28384 _ACEOF
28385 cat confdefs.h >>conftest.$ac_ext
28386 cat >>conftest.$ac_ext <<_ACEOF
28387 /* end confdefs.h. */
28388 #include <stddef.h>
28389 int
28390 main ()
28391 {
28392
28393 return 0; }
28394
28395 struct Foo { void foo(size_t); void foo(unsigned long); };
28396
28397 int bar() {
28398
28399 ;
28400 return 0;
28401 }
28402 _ACEOF
28403 rm -f conftest.$ac_objext
28404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28405 (eval $ac_compile) 2>conftest.er1
28406 ac_status=$?
28407 grep -v '^ *+' conftest.er1 >conftest.err
28408 rm -f conftest.er1
28409 cat conftest.err >&5
28410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28411 (exit $ac_status); } &&
28412 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28414 (eval $ac_try) 2>&5
28415 ac_status=$?
28416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28417 (exit $ac_status); }; } &&
28418 { ac_try='test -s conftest.$ac_objext'
28419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28420 (eval $ac_try) 2>&5
28421 ac_status=$?
28422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28423 (exit $ac_status); }; }; then
28424 wx_cv_size_t_is_ulong=no
28425 else
28426 echo "$as_me: failed program was:" >&5
28427 sed 's/^/| /' conftest.$ac_ext >&5
28428
28429 wx_cv_size_t_is_ulong=yes
28430
28431 fi
28432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28433
28434 fi
28435 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
28436 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
28437
28438 if test "$wx_cv_size_t_is_ulong" = "yes"; then
28439 cat >>confdefs.h <<\_ACEOF
28440 #define wxSIZE_T_IS_ULONG 1
28441 _ACEOF
28442
28443 fi
28444 fi
28445
28446 ac_ext=c
28447 ac_cpp='$CPP $CPPFLAGS'
28448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28451
28452
28453
28454 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
28455 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
28456 if test "${wx_cv_struct_pw_gecos+set}" = set; then
28457 echo $ECHO_N "(cached) $ECHO_C" >&6
28458 else
28459
28460 cat >conftest.$ac_ext <<_ACEOF
28461 /* confdefs.h. */
28462 _ACEOF
28463 cat confdefs.h >>conftest.$ac_ext
28464 cat >>conftest.$ac_ext <<_ACEOF
28465 /* end confdefs.h. */
28466 #include <pwd.h>
28467 int
28468 main ()
28469 {
28470
28471 char *p;
28472 struct passwd *pw;
28473 p = pw->pw_gecos;
28474
28475 ;
28476 return 0;
28477 }
28478 _ACEOF
28479 rm -f conftest.$ac_objext
28480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28481 (eval $ac_compile) 2>conftest.er1
28482 ac_status=$?
28483 grep -v '^ *+' conftest.er1 >conftest.err
28484 rm -f conftest.er1
28485 cat conftest.err >&5
28486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28487 (exit $ac_status); } &&
28488 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28490 (eval $ac_try) 2>&5
28491 ac_status=$?
28492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28493 (exit $ac_status); }; } &&
28494 { ac_try='test -s conftest.$ac_objext'
28495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28496 (eval $ac_try) 2>&5
28497 ac_status=$?
28498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28499 (exit $ac_status); }; }; then
28500
28501 wx_cv_struct_pw_gecos=yes
28502
28503 else
28504 echo "$as_me: failed program was:" >&5
28505 sed 's/^/| /' conftest.$ac_ext >&5
28506
28507
28508 wx_cv_struct_pw_gecos=no
28509
28510
28511 fi
28512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28513
28514
28515 fi
28516 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
28517 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
28518
28519 if test "$wx_cv_struct_pw_gecos" = "yes"; then
28520 cat >>confdefs.h <<\_ACEOF
28521 #define HAVE_PW_GECOS 1
28522 _ACEOF
28523
28524 fi
28525
28526
28527 if test "$wx_cv_sizeof_wchar_t" != "0"; then
28528 cat >>confdefs.h <<\_ACEOF
28529 #define wxUSE_WCHAR_T 1
28530 _ACEOF
28531
28532
28533 WCSLEN_FOUND=0
28534 WCHAR_LINK=
28535
28536 for ac_func in wcslen
28537 do
28538 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28539 echo "$as_me:$LINENO: checking for $ac_func" >&5
28540 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28541 if eval "test \"\${$as_ac_var+set}\" = set"; then
28542 echo $ECHO_N "(cached) $ECHO_C" >&6
28543 else
28544 cat >conftest.$ac_ext <<_ACEOF
28545 /* confdefs.h. */
28546 _ACEOF
28547 cat confdefs.h >>conftest.$ac_ext
28548 cat >>conftest.$ac_ext <<_ACEOF
28549 /* end confdefs.h. */
28550 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28552 #define $ac_func innocuous_$ac_func
28553
28554 /* System header to define __stub macros and hopefully few prototypes,
28555 which can conflict with char $ac_func (); below.
28556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28557 <limits.h> exists even on freestanding compilers. */
28558
28559 #ifdef __STDC__
28560 # include <limits.h>
28561 #else
28562 # include <assert.h>
28563 #endif
28564
28565 #undef $ac_func
28566
28567 /* Override any gcc2 internal prototype to avoid an error. */
28568 #ifdef __cplusplus
28569 extern "C"
28570 {
28571 #endif
28572 /* We use char because int might match the return type of a gcc2
28573 builtin and then its argument prototype would still apply. */
28574 char $ac_func ();
28575 /* The GNU C library defines this for functions which it implements
28576 to always fail with ENOSYS. Some functions are actually named
28577 something starting with __ and the normal name is an alias. */
28578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28579 choke me
28580 #else
28581 char (*f) () = $ac_func;
28582 #endif
28583 #ifdef __cplusplus
28584 }
28585 #endif
28586
28587 int
28588 main ()
28589 {
28590 return f != $ac_func;
28591 ;
28592 return 0;
28593 }
28594 _ACEOF
28595 rm -f conftest.$ac_objext conftest$ac_exeext
28596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28597 (eval $ac_link) 2>conftest.er1
28598 ac_status=$?
28599 grep -v '^ *+' conftest.er1 >conftest.err
28600 rm -f conftest.er1
28601 cat conftest.err >&5
28602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28603 (exit $ac_status); } &&
28604 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28606 (eval $ac_try) 2>&5
28607 ac_status=$?
28608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28609 (exit $ac_status); }; } &&
28610 { ac_try='test -s conftest$ac_exeext'
28611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28612 (eval $ac_try) 2>&5
28613 ac_status=$?
28614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28615 (exit $ac_status); }; }; then
28616 eval "$as_ac_var=yes"
28617 else
28618 echo "$as_me: failed program was:" >&5
28619 sed 's/^/| /' conftest.$ac_ext >&5
28620
28621 eval "$as_ac_var=no"
28622 fi
28623 rm -f conftest.err conftest.$ac_objext \
28624 conftest$ac_exeext conftest.$ac_ext
28625 fi
28626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28627 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28628 if test `eval echo '${'$as_ac_var'}'` = yes; then
28629 cat >>confdefs.h <<_ACEOF
28630 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28631 _ACEOF
28632 WCSLEN_FOUND=1
28633 fi
28634 done
28635
28636
28637 if test "$WCSLEN_FOUND" = 0; then
28638 if test "$TOOLKIT" = "MSW"; then
28639 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
28640 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
28641 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
28642 echo $ECHO_N "(cached) $ECHO_C" >&6
28643 else
28644 ac_check_lib_save_LIBS=$LIBS
28645 LIBS="-lmsvcrt $LIBS"
28646 cat >conftest.$ac_ext <<_ACEOF
28647 /* confdefs.h. */
28648 _ACEOF
28649 cat confdefs.h >>conftest.$ac_ext
28650 cat >>conftest.$ac_ext <<_ACEOF
28651 /* end confdefs.h. */
28652
28653 /* Override any gcc2 internal prototype to avoid an error. */
28654 #ifdef __cplusplus
28655 extern "C"
28656 #endif
28657 /* We use char because int might match the return type of a gcc2
28658 builtin and then its argument prototype would still apply. */
28659 char wcslen ();
28660 int
28661 main ()
28662 {
28663 wcslen ();
28664 ;
28665 return 0;
28666 }
28667 _ACEOF
28668 rm -f conftest.$ac_objext conftest$ac_exeext
28669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28670 (eval $ac_link) 2>conftest.er1
28671 ac_status=$?
28672 grep -v '^ *+' conftest.er1 >conftest.err
28673 rm -f conftest.er1
28674 cat conftest.err >&5
28675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28676 (exit $ac_status); } &&
28677 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28679 (eval $ac_try) 2>&5
28680 ac_status=$?
28681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28682 (exit $ac_status); }; } &&
28683 { ac_try='test -s conftest$ac_exeext'
28684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28685 (eval $ac_try) 2>&5
28686 ac_status=$?
28687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28688 (exit $ac_status); }; }; then
28689 ac_cv_lib_msvcrt_wcslen=yes
28690 else
28691 echo "$as_me: failed program was:" >&5
28692 sed 's/^/| /' conftest.$ac_ext >&5
28693
28694 ac_cv_lib_msvcrt_wcslen=no
28695 fi
28696 rm -f conftest.err conftest.$ac_objext \
28697 conftest$ac_exeext conftest.$ac_ext
28698 LIBS=$ac_check_lib_save_LIBS
28699 fi
28700 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
28701 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
28702 if test $ac_cv_lib_msvcrt_wcslen = yes; then
28703 WCHAR_OK=1
28704 fi
28705
28706 else
28707 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
28708 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
28709 if test "${ac_cv_lib_w_wcslen+set}" = set; then
28710 echo $ECHO_N "(cached) $ECHO_C" >&6
28711 else
28712 ac_check_lib_save_LIBS=$LIBS
28713 LIBS="-lw $LIBS"
28714 cat >conftest.$ac_ext <<_ACEOF
28715 /* confdefs.h. */
28716 _ACEOF
28717 cat confdefs.h >>conftest.$ac_ext
28718 cat >>conftest.$ac_ext <<_ACEOF
28719 /* end confdefs.h. */
28720
28721 /* Override any gcc2 internal prototype to avoid an error. */
28722 #ifdef __cplusplus
28723 extern "C"
28724 #endif
28725 /* We use char because int might match the return type of a gcc2
28726 builtin and then its argument prototype would still apply. */
28727 char wcslen ();
28728 int
28729 main ()
28730 {
28731 wcslen ();
28732 ;
28733 return 0;
28734 }
28735 _ACEOF
28736 rm -f conftest.$ac_objext conftest$ac_exeext
28737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28738 (eval $ac_link) 2>conftest.er1
28739 ac_status=$?
28740 grep -v '^ *+' conftest.er1 >conftest.err
28741 rm -f conftest.er1
28742 cat conftest.err >&5
28743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28744 (exit $ac_status); } &&
28745 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28747 (eval $ac_try) 2>&5
28748 ac_status=$?
28749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28750 (exit $ac_status); }; } &&
28751 { ac_try='test -s conftest$ac_exeext'
28752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28753 (eval $ac_try) 2>&5
28754 ac_status=$?
28755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28756 (exit $ac_status); }; }; then
28757 ac_cv_lib_w_wcslen=yes
28758 else
28759 echo "$as_me: failed program was:" >&5
28760 sed 's/^/| /' conftest.$ac_ext >&5
28761
28762 ac_cv_lib_w_wcslen=no
28763 fi
28764 rm -f conftest.err conftest.$ac_objext \
28765 conftest$ac_exeext conftest.$ac_ext
28766 LIBS=$ac_check_lib_save_LIBS
28767 fi
28768 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
28769 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
28770 if test $ac_cv_lib_w_wcslen = yes; then
28771
28772 WCHAR_LINK=" -lw"
28773 WCSLEN_FOUND=1
28774
28775 fi
28776
28777 fi
28778 fi
28779
28780 if test "$WCSLEN_FOUND" = 1; then
28781 cat >>confdefs.h <<\_ACEOF
28782 #define HAVE_WCSLEN 1
28783 _ACEOF
28784
28785 fi
28786
28787 if test "$USE_HPUX" = 1 -a "x$GCC" != "xyes"; then
28788 CPPFLAGS="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
28789 fi
28790
28791
28792 for ac_func in wcsrtombs
28793 do
28794 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28795 echo "$as_me:$LINENO: checking for $ac_func" >&5
28796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28797 if eval "test \"\${$as_ac_var+set}\" = set"; then
28798 echo $ECHO_N "(cached) $ECHO_C" >&6
28799 else
28800 cat >conftest.$ac_ext <<_ACEOF
28801 /* confdefs.h. */
28802 _ACEOF
28803 cat confdefs.h >>conftest.$ac_ext
28804 cat >>conftest.$ac_ext <<_ACEOF
28805 /* end confdefs.h. */
28806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28808 #define $ac_func innocuous_$ac_func
28809
28810 /* System header to define __stub macros and hopefully few prototypes,
28811 which can conflict with char $ac_func (); below.
28812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28813 <limits.h> exists even on freestanding compilers. */
28814
28815 #ifdef __STDC__
28816 # include <limits.h>
28817 #else
28818 # include <assert.h>
28819 #endif
28820
28821 #undef $ac_func
28822
28823 /* Override any gcc2 internal prototype to avoid an error. */
28824 #ifdef __cplusplus
28825 extern "C"
28826 {
28827 #endif
28828 /* We use char because int might match the return type of a gcc2
28829 builtin and then its argument prototype would still apply. */
28830 char $ac_func ();
28831 /* The GNU C library defines this for functions which it implements
28832 to always fail with ENOSYS. Some functions are actually named
28833 something starting with __ and the normal name is an alias. */
28834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28835 choke me
28836 #else
28837 char (*f) () = $ac_func;
28838 #endif
28839 #ifdef __cplusplus
28840 }
28841 #endif
28842
28843 int
28844 main ()
28845 {
28846 return f != $ac_func;
28847 ;
28848 return 0;
28849 }
28850 _ACEOF
28851 rm -f conftest.$ac_objext conftest$ac_exeext
28852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28853 (eval $ac_link) 2>conftest.er1
28854 ac_status=$?
28855 grep -v '^ *+' conftest.er1 >conftest.err
28856 rm -f conftest.er1
28857 cat conftest.err >&5
28858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28859 (exit $ac_status); } &&
28860 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28862 (eval $ac_try) 2>&5
28863 ac_status=$?
28864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28865 (exit $ac_status); }; } &&
28866 { ac_try='test -s conftest$ac_exeext'
28867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28868 (eval $ac_try) 2>&5
28869 ac_status=$?
28870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28871 (exit $ac_status); }; }; then
28872 eval "$as_ac_var=yes"
28873 else
28874 echo "$as_me: failed program was:" >&5
28875 sed 's/^/| /' conftest.$ac_ext >&5
28876
28877 eval "$as_ac_var=no"
28878 fi
28879 rm -f conftest.err conftest.$ac_objext \
28880 conftest$ac_exeext conftest.$ac_ext
28881 fi
28882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28884 if test `eval echo '${'$as_ac_var'}'` = yes; then
28885 cat >>confdefs.h <<_ACEOF
28886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28887 _ACEOF
28888
28889 fi
28890 done
28891
28892 else
28893 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
28894 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
28895 fi
28896
28897
28898
28899 ac_ext=cc
28900 ac_cpp='$CXXCPP $CPPFLAGS'
28901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28904
28905
28906
28907 for ac_func in vsnprintf
28908 do
28909 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28910 echo "$as_me:$LINENO: checking for $ac_func" >&5
28911 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28912 if eval "test \"\${$as_ac_var+set}\" = set"; then
28913 echo $ECHO_N "(cached) $ECHO_C" >&6
28914 else
28915 cat >conftest.$ac_ext <<_ACEOF
28916 /* confdefs.h. */
28917 _ACEOF
28918 cat confdefs.h >>conftest.$ac_ext
28919 cat >>conftest.$ac_ext <<_ACEOF
28920 /* end confdefs.h. */
28921 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28922 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28923 #define $ac_func innocuous_$ac_func
28924
28925 /* System header to define __stub macros and hopefully few prototypes,
28926 which can conflict with char $ac_func (); below.
28927 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28928 <limits.h> exists even on freestanding compilers. */
28929
28930 #ifdef __STDC__
28931 # include <limits.h>
28932 #else
28933 # include <assert.h>
28934 #endif
28935
28936 #undef $ac_func
28937
28938 /* Override any gcc2 internal prototype to avoid an error. */
28939 #ifdef __cplusplus
28940 extern "C"
28941 {
28942 #endif
28943 /* We use char because int might match the return type of a gcc2
28944 builtin and then its argument prototype would still apply. */
28945 char $ac_func ();
28946 /* The GNU C library defines this for functions which it implements
28947 to always fail with ENOSYS. Some functions are actually named
28948 something starting with __ and the normal name is an alias. */
28949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28950 choke me
28951 #else
28952 char (*f) () = $ac_func;
28953 #endif
28954 #ifdef __cplusplus
28955 }
28956 #endif
28957
28958 int
28959 main ()
28960 {
28961 return f != $ac_func;
28962 ;
28963 return 0;
28964 }
28965 _ACEOF
28966 rm -f conftest.$ac_objext conftest$ac_exeext
28967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28968 (eval $ac_link) 2>conftest.er1
28969 ac_status=$?
28970 grep -v '^ *+' conftest.er1 >conftest.err
28971 rm -f conftest.er1
28972 cat conftest.err >&5
28973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28974 (exit $ac_status); } &&
28975 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28977 (eval $ac_try) 2>&5
28978 ac_status=$?
28979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28980 (exit $ac_status); }; } &&
28981 { ac_try='test -s conftest$ac_exeext'
28982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28983 (eval $ac_try) 2>&5
28984 ac_status=$?
28985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28986 (exit $ac_status); }; }; then
28987 eval "$as_ac_var=yes"
28988 else
28989 echo "$as_me: failed program was:" >&5
28990 sed 's/^/| /' conftest.$ac_ext >&5
28991
28992 eval "$as_ac_var=no"
28993 fi
28994 rm -f conftest.err conftest.$ac_objext \
28995 conftest$ac_exeext conftest.$ac_ext
28996 fi
28997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28999 if test `eval echo '${'$as_ac_var'}'` = yes; then
29000 cat >>confdefs.h <<_ACEOF
29001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29002 _ACEOF
29003
29004 fi
29005 done
29006
29007
29008 if test "$ac_cv_func_vsnprintf" = "yes"; then
29009 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
29010 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
29011 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
29012 echo $ECHO_N "(cached) $ECHO_C" >&6
29013 else
29014
29015 cat >conftest.$ac_ext <<_ACEOF
29016 /* confdefs.h. */
29017 _ACEOF
29018 cat confdefs.h >>conftest.$ac_ext
29019 cat >>conftest.$ac_ext <<_ACEOF
29020 /* end confdefs.h. */
29021
29022 #include <stdio.h>
29023 #include <stdarg.h>
29024
29025 int
29026 main ()
29027 {
29028
29029 char *buf;
29030 va_list ap;
29031 vsnprintf(buf, 10u, "%s", ap);
29032
29033 ;
29034 return 0;
29035 }
29036 _ACEOF
29037 rm -f conftest.$ac_objext
29038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29039 (eval $ac_compile) 2>conftest.er1
29040 ac_status=$?
29041 grep -v '^ *+' conftest.er1 >conftest.err
29042 rm -f conftest.er1
29043 cat conftest.err >&5
29044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29045 (exit $ac_status); } &&
29046 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29048 (eval $ac_try) 2>&5
29049 ac_status=$?
29050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29051 (exit $ac_status); }; } &&
29052 { ac_try='test -s conftest.$ac_objext'
29053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29054 (eval $ac_try) 2>&5
29055 ac_status=$?
29056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29057 (exit $ac_status); }; }; then
29058 wx_cv_func_vsnprintf_decl=yes
29059 else
29060 echo "$as_me: failed program was:" >&5
29061 sed 's/^/| /' conftest.$ac_ext >&5
29062
29063 wx_cv_func_vsnprintf_decl=no
29064
29065 fi
29066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29067
29068
29069 fi
29070 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
29071 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
29072
29073 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29074 cat >>confdefs.h <<\_ACEOF
29075 #define HAVE_VSNPRINTF_DECL 1
29076 _ACEOF
29077
29078 fi
29079 fi
29080
29081 if test "$wxUSE_UNICODE" = yes; then
29082
29083
29084
29085
29086
29087
29088 for ac_func in wputc wputchar putws fputws wprintf vswprintf
29089 do
29090 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29091 echo "$as_me:$LINENO: checking for $ac_func" >&5
29092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29093 if eval "test \"\${$as_ac_var+set}\" = set"; then
29094 echo $ECHO_N "(cached) $ECHO_C" >&6
29095 else
29096 cat >conftest.$ac_ext <<_ACEOF
29097 /* confdefs.h. */
29098 _ACEOF
29099 cat confdefs.h >>conftest.$ac_ext
29100 cat >>conftest.$ac_ext <<_ACEOF
29101 /* end confdefs.h. */
29102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29103 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29104 #define $ac_func innocuous_$ac_func
29105
29106 /* System header to define __stub macros and hopefully few prototypes,
29107 which can conflict with char $ac_func (); below.
29108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29109 <limits.h> exists even on freestanding compilers. */
29110
29111 #ifdef __STDC__
29112 # include <limits.h>
29113 #else
29114 # include <assert.h>
29115 #endif
29116
29117 #undef $ac_func
29118
29119 /* Override any gcc2 internal prototype to avoid an error. */
29120 #ifdef __cplusplus
29121 extern "C"
29122 {
29123 #endif
29124 /* We use char because int might match the return type of a gcc2
29125 builtin and then its argument prototype would still apply. */
29126 char $ac_func ();
29127 /* The GNU C library defines this for functions which it implements
29128 to always fail with ENOSYS. Some functions are actually named
29129 something starting with __ and the normal name is an alias. */
29130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29131 choke me
29132 #else
29133 char (*f) () = $ac_func;
29134 #endif
29135 #ifdef __cplusplus
29136 }
29137 #endif
29138
29139 int
29140 main ()
29141 {
29142 return f != $ac_func;
29143 ;
29144 return 0;
29145 }
29146 _ACEOF
29147 rm -f conftest.$ac_objext conftest$ac_exeext
29148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29149 (eval $ac_link) 2>conftest.er1
29150 ac_status=$?
29151 grep -v '^ *+' conftest.er1 >conftest.err
29152 rm -f conftest.er1
29153 cat conftest.err >&5
29154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29155 (exit $ac_status); } &&
29156 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29158 (eval $ac_try) 2>&5
29159 ac_status=$?
29160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29161 (exit $ac_status); }; } &&
29162 { ac_try='test -s conftest$ac_exeext'
29163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29164 (eval $ac_try) 2>&5
29165 ac_status=$?
29166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29167 (exit $ac_status); }; }; then
29168 eval "$as_ac_var=yes"
29169 else
29170 echo "$as_me: failed program was:" >&5
29171 sed 's/^/| /' conftest.$ac_ext >&5
29172
29173 eval "$as_ac_var=no"
29174 fi
29175 rm -f conftest.err conftest.$ac_objext \
29176 conftest$ac_exeext conftest.$ac_ext
29177 fi
29178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29180 if test `eval echo '${'$as_ac_var'}'` = yes; then
29181 cat >>confdefs.h <<_ACEOF
29182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29183 _ACEOF
29184
29185 fi
29186 done
29187
29188
29189 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
29190 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
29191 cat >conftest.$ac_ext <<_ACEOF
29192 /* confdefs.h. */
29193 _ACEOF
29194 cat confdefs.h >>conftest.$ac_ext
29195 cat >>conftest.$ac_ext <<_ACEOF
29196 /* end confdefs.h. */
29197 #include <wchar.h>
29198 int
29199 main ()
29200 {
29201 &_vsnwprintf;
29202 ;
29203 return 0;
29204 }
29205 _ACEOF
29206 rm -f conftest.$ac_objext
29207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29208 (eval $ac_compile) 2>conftest.er1
29209 ac_status=$?
29210 grep -v '^ *+' conftest.er1 >conftest.err
29211 rm -f conftest.er1
29212 cat conftest.err >&5
29213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29214 (exit $ac_status); } &&
29215 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29217 (eval $ac_try) 2>&5
29218 ac_status=$?
29219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29220 (exit $ac_status); }; } &&
29221 { ac_try='test -s conftest.$ac_objext'
29222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29223 (eval $ac_try) 2>&5
29224 ac_status=$?
29225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29226 (exit $ac_status); }; }; then
29227 echo "$as_me:$LINENO: result: yes" >&5
29228 echo "${ECHO_T}yes" >&6
29229 cat >>confdefs.h <<\_ACEOF
29230 #define HAVE__VSNWPRINTF 1
29231 _ACEOF
29232
29233 else
29234 echo "$as_me: failed program was:" >&5
29235 sed 's/^/| /' conftest.$ac_ext >&5
29236
29237 echo "$as_me:$LINENO: result: no" >&5
29238 echo "${ECHO_T}no" >&6
29239 fi
29240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
29241 fi
29242
29243 ac_ext=c
29244 ac_cpp='$CPP $CPPFLAGS'
29245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29248
29249
29250
29251
29252 if test "$TOOLKIT" != "MSW"; then
29253
29254
29255
29256
29257 ac_ext=cc
29258 ac_cpp='$CXXCPP $CPPFLAGS'
29259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29262
29263
29264
29265
29266 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
29267 if test "${with_libiconv_prefix+set}" = set; then
29268 withval="$with_libiconv_prefix"
29269
29270 for dir in `echo "$withval" | tr : ' '`; do
29271 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
29272 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
29273 done
29274
29275 fi;
29276
29277 echo "$as_me:$LINENO: checking for iconv" >&5
29278 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
29279 if test "${am_cv_func_iconv+set}" = set; then
29280 echo $ECHO_N "(cached) $ECHO_C" >&6
29281 else
29282
29283 am_cv_func_iconv="no, consider installing GNU libiconv"
29284 am_cv_lib_iconv=no
29285 cat >conftest.$ac_ext <<_ACEOF
29286 /* confdefs.h. */
29287 _ACEOF
29288 cat confdefs.h >>conftest.$ac_ext
29289 cat >>conftest.$ac_ext <<_ACEOF
29290 /* end confdefs.h. */
29291 #include <stdlib.h>
29292 #include <iconv.h>
29293 int
29294 main ()
29295 {
29296 iconv_t cd = iconv_open("","");
29297 iconv(cd,NULL,NULL,NULL,NULL);
29298 iconv_close(cd);
29299 ;
29300 return 0;
29301 }
29302 _ACEOF
29303 rm -f conftest.$ac_objext conftest$ac_exeext
29304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29305 (eval $ac_link) 2>conftest.er1
29306 ac_status=$?
29307 grep -v '^ *+' conftest.er1 >conftest.err
29308 rm -f conftest.er1
29309 cat conftest.err >&5
29310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29311 (exit $ac_status); } &&
29312 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29314 (eval $ac_try) 2>&5
29315 ac_status=$?
29316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29317 (exit $ac_status); }; } &&
29318 { ac_try='test -s conftest$ac_exeext'
29319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29320 (eval $ac_try) 2>&5
29321 ac_status=$?
29322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29323 (exit $ac_status); }; }; then
29324 am_cv_func_iconv=yes
29325 else
29326 echo "$as_me: failed program was:" >&5
29327 sed 's/^/| /' conftest.$ac_ext >&5
29328
29329 fi
29330 rm -f conftest.err conftest.$ac_objext \
29331 conftest$ac_exeext conftest.$ac_ext
29332 if test "$am_cv_func_iconv" != yes; then
29333 am_save_LIBS="$LIBS"
29334 LIBS="$LIBS -liconv"
29335 cat >conftest.$ac_ext <<_ACEOF
29336 /* confdefs.h. */
29337 _ACEOF
29338 cat confdefs.h >>conftest.$ac_ext
29339 cat >>conftest.$ac_ext <<_ACEOF
29340 /* end confdefs.h. */
29341 #include <stdlib.h>
29342 #include <iconv.h>
29343 int
29344 main ()
29345 {
29346 iconv_t cd = iconv_open("","");
29347 iconv(cd,NULL,NULL,NULL,NULL);
29348 iconv_close(cd);
29349 ;
29350 return 0;
29351 }
29352 _ACEOF
29353 rm -f conftest.$ac_objext conftest$ac_exeext
29354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29355 (eval $ac_link) 2>conftest.er1
29356 ac_status=$?
29357 grep -v '^ *+' conftest.er1 >conftest.err
29358 rm -f conftest.er1
29359 cat conftest.err >&5
29360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29361 (exit $ac_status); } &&
29362 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29364 (eval $ac_try) 2>&5
29365 ac_status=$?
29366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29367 (exit $ac_status); }; } &&
29368 { ac_try='test -s conftest$ac_exeext'
29369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29370 (eval $ac_try) 2>&5
29371 ac_status=$?
29372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29373 (exit $ac_status); }; }; then
29374 am_cv_lib_iconv=yes
29375 am_cv_func_iconv=yes
29376 else
29377 echo "$as_me: failed program was:" >&5
29378 sed 's/^/| /' conftest.$ac_ext >&5
29379
29380 fi
29381 rm -f conftest.err conftest.$ac_objext \
29382 conftest$ac_exeext conftest.$ac_ext
29383 LIBS="$am_save_LIBS"
29384 fi
29385
29386 fi
29387 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
29388 echo "${ECHO_T}$am_cv_func_iconv" >&6
29389 if test "$am_cv_func_iconv" = yes; then
29390
29391 cat >>confdefs.h <<\_ACEOF
29392 #define HAVE_ICONV 1
29393 _ACEOF
29394
29395 echo "$as_me:$LINENO: checking if iconv needs const" >&5
29396 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
29397 if test "${wx_cv_func_iconv_const+set}" = set; then
29398 echo $ECHO_N "(cached) $ECHO_C" >&6
29399 else
29400 cat >conftest.$ac_ext <<_ACEOF
29401 /* confdefs.h. */
29402 _ACEOF
29403 cat confdefs.h >>conftest.$ac_ext
29404 cat >>conftest.$ac_ext <<_ACEOF
29405 /* end confdefs.h. */
29406
29407 #include <stdlib.h>
29408 #include <iconv.h>
29409 extern
29410 #ifdef __cplusplus
29411 "C"
29412 #endif
29413 #if defined(__STDC__) || defined(__cplusplus)
29414 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29415 #else
29416 size_t iconv();
29417 #endif
29418
29419 int
29420 main ()
29421 {
29422
29423 ;
29424 return 0;
29425 }
29426 _ACEOF
29427 rm -f conftest.$ac_objext
29428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29429 (eval $ac_compile) 2>conftest.er1
29430 ac_status=$?
29431 grep -v '^ *+' conftest.er1 >conftest.err
29432 rm -f conftest.er1
29433 cat conftest.err >&5
29434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29435 (exit $ac_status); } &&
29436 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29438 (eval $ac_try) 2>&5
29439 ac_status=$?
29440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29441 (exit $ac_status); }; } &&
29442 { ac_try='test -s conftest.$ac_objext'
29443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29444 (eval $ac_try) 2>&5
29445 ac_status=$?
29446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29447 (exit $ac_status); }; }; then
29448 wx_cv_func_iconv_const="no"
29449 else
29450 echo "$as_me: failed program was:" >&5
29451 sed 's/^/| /' conftest.$ac_ext >&5
29452
29453 wx_cv_func_iconv_const="yes"
29454
29455 fi
29456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29457
29458 fi
29459 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
29460 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
29461
29462 iconv_const=
29463 if test "x$wx_cv_func_iconv_const" = "xyes"; then
29464 iconv_const="const"
29465 fi
29466
29467
29468 cat >>confdefs.h <<_ACEOF
29469 #define ICONV_CONST $iconv_const
29470 _ACEOF
29471
29472 fi
29473 LIBICONV=
29474 if test "$am_cv_lib_iconv" = yes; then
29475 LIBICONV="-liconv"
29476 fi
29477
29478
29479 LIBS="$LIBICONV $LIBS"
29480 ac_ext=c
29481 ac_cpp='$CPP $CPPFLAGS'
29482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29485
29486
29487 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
29488
29489 for ac_func in sigaction
29490 do
29491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29492 echo "$as_me:$LINENO: checking for $ac_func" >&5
29493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29494 if eval "test \"\${$as_ac_var+set}\" = set"; then
29495 echo $ECHO_N "(cached) $ECHO_C" >&6
29496 else
29497 cat >conftest.$ac_ext <<_ACEOF
29498 /* confdefs.h. */
29499 _ACEOF
29500 cat confdefs.h >>conftest.$ac_ext
29501 cat >>conftest.$ac_ext <<_ACEOF
29502 /* end confdefs.h. */
29503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29505 #define $ac_func innocuous_$ac_func
29506
29507 /* System header to define __stub macros and hopefully few prototypes,
29508 which can conflict with char $ac_func (); below.
29509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29510 <limits.h> exists even on freestanding compilers. */
29511
29512 #ifdef __STDC__
29513 # include <limits.h>
29514 #else
29515 # include <assert.h>
29516 #endif
29517
29518 #undef $ac_func
29519
29520 /* Override any gcc2 internal prototype to avoid an error. */
29521 #ifdef __cplusplus
29522 extern "C"
29523 {
29524 #endif
29525 /* We use char because int might match the return type of a gcc2
29526 builtin and then its argument prototype would still apply. */
29527 char $ac_func ();
29528 /* The GNU C library defines this for functions which it implements
29529 to always fail with ENOSYS. Some functions are actually named
29530 something starting with __ and the normal name is an alias. */
29531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29532 choke me
29533 #else
29534 char (*f) () = $ac_func;
29535 #endif
29536 #ifdef __cplusplus
29537 }
29538 #endif
29539
29540 int
29541 main ()
29542 {
29543 return f != $ac_func;
29544 ;
29545 return 0;
29546 }
29547 _ACEOF
29548 rm -f conftest.$ac_objext conftest$ac_exeext
29549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29550 (eval $ac_link) 2>conftest.er1
29551 ac_status=$?
29552 grep -v '^ *+' conftest.er1 >conftest.err
29553 rm -f conftest.er1
29554 cat conftest.err >&5
29555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29556 (exit $ac_status); } &&
29557 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29559 (eval $ac_try) 2>&5
29560 ac_status=$?
29561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29562 (exit $ac_status); }; } &&
29563 { ac_try='test -s conftest$ac_exeext'
29564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29565 (eval $ac_try) 2>&5
29566 ac_status=$?
29567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29568 (exit $ac_status); }; }; then
29569 eval "$as_ac_var=yes"
29570 else
29571 echo "$as_me: failed program was:" >&5
29572 sed 's/^/| /' conftest.$ac_ext >&5
29573
29574 eval "$as_ac_var=no"
29575 fi
29576 rm -f conftest.err conftest.$ac_objext \
29577 conftest$ac_exeext conftest.$ac_ext
29578 fi
29579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29580 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29581 if test `eval echo '${'$as_ac_var'}'` = yes; then
29582 cat >>confdefs.h <<_ACEOF
29583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29584 _ACEOF
29585
29586 fi
29587 done
29588
29589
29590 if test "$ac_cv_func_sigaction" = "no"; then
29591 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
29592 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
29593 wxUSE_ON_FATAL_EXCEPTION=no
29594 fi
29595
29596 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
29597
29598
29599 ac_ext=cc
29600 ac_cpp='$CXXCPP $CPPFLAGS'
29601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29604
29605
29606 echo "$as_me:$LINENO: checking for sa_handler type" >&5
29607 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
29608 if test "${wx_cv_type_sa_handler+set}" = set; then
29609 echo $ECHO_N "(cached) $ECHO_C" >&6
29610 else
29611
29612 cat >conftest.$ac_ext <<_ACEOF
29613 /* confdefs.h. */
29614 _ACEOF
29615 cat confdefs.h >>conftest.$ac_ext
29616 cat >>conftest.$ac_ext <<_ACEOF
29617 /* end confdefs.h. */
29618 #include <signal.h>
29619 int
29620 main ()
29621 {
29622
29623 extern void testSigHandler(int);
29624
29625 struct sigaction sa;
29626 sa.sa_handler = testSigHandler;
29627
29628 ;
29629 return 0;
29630 }
29631 _ACEOF
29632 rm -f conftest.$ac_objext
29633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29634 (eval $ac_compile) 2>conftest.er1
29635 ac_status=$?
29636 grep -v '^ *+' conftest.er1 >conftest.err
29637 rm -f conftest.er1
29638 cat conftest.err >&5
29639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29640 (exit $ac_status); } &&
29641 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29643 (eval $ac_try) 2>&5
29644 ac_status=$?
29645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29646 (exit $ac_status); }; } &&
29647 { ac_try='test -s conftest.$ac_objext'
29648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29649 (eval $ac_try) 2>&5
29650 ac_status=$?
29651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29652 (exit $ac_status); }; }; then
29653
29654 wx_cv_type_sa_handler=int
29655
29656 else
29657 echo "$as_me: failed program was:" >&5
29658 sed 's/^/| /' conftest.$ac_ext >&5
29659
29660
29661 wx_cv_type_sa_handler=void
29662
29663 fi
29664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29665
29666 fi
29667 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
29668 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
29669
29670 ac_ext=c
29671 ac_cpp='$CPP $CPPFLAGS'
29672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29675
29676
29677 cat >>confdefs.h <<_ACEOF
29678 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
29679 _ACEOF
29680
29681 fi
29682 fi
29683
29684
29685
29686 for ac_func in mkstemp mktemp
29687 do
29688 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29689 echo "$as_me:$LINENO: checking for $ac_func" >&5
29690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29691 if eval "test \"\${$as_ac_var+set}\" = set"; then
29692 echo $ECHO_N "(cached) $ECHO_C" >&6
29693 else
29694 cat >conftest.$ac_ext <<_ACEOF
29695 /* confdefs.h. */
29696 _ACEOF
29697 cat confdefs.h >>conftest.$ac_ext
29698 cat >>conftest.$ac_ext <<_ACEOF
29699 /* end confdefs.h. */
29700 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29702 #define $ac_func innocuous_$ac_func
29703
29704 /* System header to define __stub macros and hopefully few prototypes,
29705 which can conflict with char $ac_func (); below.
29706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29707 <limits.h> exists even on freestanding compilers. */
29708
29709 #ifdef __STDC__
29710 # include <limits.h>
29711 #else
29712 # include <assert.h>
29713 #endif
29714
29715 #undef $ac_func
29716
29717 /* Override any gcc2 internal prototype to avoid an error. */
29718 #ifdef __cplusplus
29719 extern "C"
29720 {
29721 #endif
29722 /* We use char because int might match the return type of a gcc2
29723 builtin and then its argument prototype would still apply. */
29724 char $ac_func ();
29725 /* The GNU C library defines this for functions which it implements
29726 to always fail with ENOSYS. Some functions are actually named
29727 something starting with __ and the normal name is an alias. */
29728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29729 choke me
29730 #else
29731 char (*f) () = $ac_func;
29732 #endif
29733 #ifdef __cplusplus
29734 }
29735 #endif
29736
29737 int
29738 main ()
29739 {
29740 return f != $ac_func;
29741 ;
29742 return 0;
29743 }
29744 _ACEOF
29745 rm -f conftest.$ac_objext conftest$ac_exeext
29746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29747 (eval $ac_link) 2>conftest.er1
29748 ac_status=$?
29749 grep -v '^ *+' conftest.er1 >conftest.err
29750 rm -f conftest.er1
29751 cat conftest.err >&5
29752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29753 (exit $ac_status); } &&
29754 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29756 (eval $ac_try) 2>&5
29757 ac_status=$?
29758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29759 (exit $ac_status); }; } &&
29760 { ac_try='test -s conftest$ac_exeext'
29761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29762 (eval $ac_try) 2>&5
29763 ac_status=$?
29764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29765 (exit $ac_status); }; }; then
29766 eval "$as_ac_var=yes"
29767 else
29768 echo "$as_me: failed program was:" >&5
29769 sed 's/^/| /' conftest.$ac_ext >&5
29770
29771 eval "$as_ac_var=no"
29772 fi
29773 rm -f conftest.err conftest.$ac_objext \
29774 conftest$ac_exeext conftest.$ac_ext
29775 fi
29776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29777 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29778 if test `eval echo '${'$as_ac_var'}'` = yes; then
29779 cat >>confdefs.h <<_ACEOF
29780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29781 _ACEOF
29782 break
29783 fi
29784 done
29785
29786
29787 echo "$as_me:$LINENO: checking for statfs" >&5
29788 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
29789 if test "${wx_cv_func_statfs+set}" = set; then
29790 echo $ECHO_N "(cached) $ECHO_C" >&6
29791 else
29792 cat >conftest.$ac_ext <<_ACEOF
29793 /* confdefs.h. */
29794 _ACEOF
29795 cat confdefs.h >>conftest.$ac_ext
29796 cat >>conftest.$ac_ext <<_ACEOF
29797 /* end confdefs.h. */
29798
29799 #if defined(__BSD__)
29800 #include <sys/param.h>
29801 #include <sys/mount.h>
29802 #else
29803 #include <sys/vfs.h>
29804 #endif
29805
29806 int
29807 main ()
29808 {
29809
29810 long l;
29811 struct statfs fs;
29812 statfs("/", &fs);
29813 l = fs.f_bsize;
29814 l += fs.f_blocks;
29815 l += fs.f_bavail;
29816
29817 ;
29818 return 0;
29819 }
29820 _ACEOF
29821 rm -f conftest.$ac_objext
29822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29823 (eval $ac_compile) 2>conftest.er1
29824 ac_status=$?
29825 grep -v '^ *+' conftest.er1 >conftest.err
29826 rm -f conftest.er1
29827 cat conftest.err >&5
29828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29829 (exit $ac_status); } &&
29830 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29832 (eval $ac_try) 2>&5
29833 ac_status=$?
29834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29835 (exit $ac_status); }; } &&
29836 { ac_try='test -s conftest.$ac_objext'
29837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29838 (eval $ac_try) 2>&5
29839 ac_status=$?
29840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29841 (exit $ac_status); }; }; then
29842
29843 wx_cv_func_statfs=yes
29844
29845 else
29846 echo "$as_me: failed program was:" >&5
29847 sed 's/^/| /' conftest.$ac_ext >&5
29848
29849
29850 wx_cv_func_statfs=no
29851
29852
29853 fi
29854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29855
29856 fi
29857 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
29858 echo "${ECHO_T}$wx_cv_func_statfs" >&6
29859
29860 if test "$wx_cv_func_statfs" = "yes"; then
29861 wx_cv_type_statvfs_t="struct statfs"
29862 cat >>confdefs.h <<\_ACEOF
29863 #define HAVE_STATFS 1
29864 _ACEOF
29865
29866 else
29867 echo "$as_me:$LINENO: checking for statvfs" >&5
29868 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
29869 if test "${wx_cv_func_statvfs+set}" = set; then
29870 echo $ECHO_N "(cached) $ECHO_C" >&6
29871 else
29872 cat >conftest.$ac_ext <<_ACEOF
29873 /* confdefs.h. */
29874 _ACEOF
29875 cat confdefs.h >>conftest.$ac_ext
29876 cat >>conftest.$ac_ext <<_ACEOF
29877 /* end confdefs.h. */
29878
29879 #include <stddef.h>
29880 #include <sys/statvfs.h>
29881
29882 int
29883 main ()
29884 {
29885
29886 statvfs("/", NULL);
29887
29888 ;
29889 return 0;
29890 }
29891 _ACEOF
29892 rm -f conftest.$ac_objext
29893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29894 (eval $ac_compile) 2>conftest.er1
29895 ac_status=$?
29896 grep -v '^ *+' conftest.er1 >conftest.err
29897 rm -f conftest.er1
29898 cat conftest.err >&5
29899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29900 (exit $ac_status); } &&
29901 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29903 (eval $ac_try) 2>&5
29904 ac_status=$?
29905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29906 (exit $ac_status); }; } &&
29907 { ac_try='test -s conftest.$ac_objext'
29908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29909 (eval $ac_try) 2>&5
29910 ac_status=$?
29911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29912 (exit $ac_status); }; }; then
29913 wx_cv_func_statvfs=yes
29914 else
29915 echo "$as_me: failed program was:" >&5
29916 sed 's/^/| /' conftest.$ac_ext >&5
29917
29918 wx_cv_func_statvfs=no
29919
29920 fi
29921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29922
29923 fi
29924 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
29925 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
29926
29927 if test "$wx_cv_func_statvfs" = "yes"; then
29928
29929
29930 ac_ext=cc
29931 ac_cpp='$CXXCPP $CPPFLAGS'
29932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29935
29936
29937 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
29938 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
29939 if test "${wx_cv_type_statvfs_t+set}" = set; then
29940 echo $ECHO_N "(cached) $ECHO_C" >&6
29941 else
29942 cat >conftest.$ac_ext <<_ACEOF
29943 /* confdefs.h. */
29944 _ACEOF
29945 cat confdefs.h >>conftest.$ac_ext
29946 cat >>conftest.$ac_ext <<_ACEOF
29947 /* end confdefs.h. */
29948
29949 #include <sys/statvfs.h>
29950
29951 int
29952 main ()
29953 {
29954
29955 long l;
29956 statvfs_t fs;
29957 statvfs("/", &fs);
29958 l = fs.f_bsize;
29959 l += fs.f_blocks;
29960 l += fs.f_bavail;
29961
29962 ;
29963 return 0;
29964 }
29965 _ACEOF
29966 rm -f conftest.$ac_objext
29967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29968 (eval $ac_compile) 2>conftest.er1
29969 ac_status=$?
29970 grep -v '^ *+' conftest.er1 >conftest.err
29971 rm -f conftest.er1
29972 cat conftest.err >&5
29973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29974 (exit $ac_status); } &&
29975 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29977 (eval $ac_try) 2>&5
29978 ac_status=$?
29979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29980 (exit $ac_status); }; } &&
29981 { ac_try='test -s conftest.$ac_objext'
29982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29983 (eval $ac_try) 2>&5
29984 ac_status=$?
29985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29986 (exit $ac_status); }; }; then
29987 wx_cv_type_statvfs_t=statvfs_t
29988 else
29989 echo "$as_me: failed program was:" >&5
29990 sed 's/^/| /' conftest.$ac_ext >&5
29991
29992
29993 cat >conftest.$ac_ext <<_ACEOF
29994 /* confdefs.h. */
29995 _ACEOF
29996 cat confdefs.h >>conftest.$ac_ext
29997 cat >>conftest.$ac_ext <<_ACEOF
29998 /* end confdefs.h. */
29999
30000 #include <sys/statvfs.h>
30001
30002 int
30003 main ()
30004 {
30005
30006 long l;
30007 struct statvfs fs;
30008 statvfs("/", &fs);
30009 l = fs.f_bsize;
30010 l += fs.f_blocks;
30011 l += fs.f_bavail;
30012
30013 ;
30014 return 0;
30015 }
30016 _ACEOF
30017 rm -f conftest.$ac_objext
30018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30019 (eval $ac_compile) 2>conftest.er1
30020 ac_status=$?
30021 grep -v '^ *+' conftest.er1 >conftest.err
30022 rm -f conftest.er1
30023 cat conftest.err >&5
30024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30025 (exit $ac_status); } &&
30026 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30028 (eval $ac_try) 2>&5
30029 ac_status=$?
30030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30031 (exit $ac_status); }; } &&
30032 { ac_try='test -s conftest.$ac_objext'
30033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30034 (eval $ac_try) 2>&5
30035 ac_status=$?
30036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30037 (exit $ac_status); }; }; then
30038 wx_cv_type_statvfs_t="struct statvfs"
30039 else
30040 echo "$as_me: failed program was:" >&5
30041 sed 's/^/| /' conftest.$ac_ext >&5
30042
30043 wx_cv_type_statvfs_t="unknown"
30044
30045 fi
30046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30047
30048
30049 fi
30050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30051
30052 fi
30053 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
30054 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
30055
30056 ac_ext=c
30057 ac_cpp='$CPP $CPPFLAGS'
30058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30061
30062
30063 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30064 cat >>confdefs.h <<\_ACEOF
30065 #define HAVE_STATVFS 1
30066 _ACEOF
30067
30068 fi
30069 else
30070 wx_cv_type_statvfs_t="unknown"
30071 fi
30072 fi
30073
30074 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30075 cat >>confdefs.h <<_ACEOF
30076 #define WX_STATFS_T $wx_cv_type_statvfs_t
30077 _ACEOF
30078
30079 else
30080 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30081 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30082 fi
30083
30084 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30085
30086
30087 for ac_func in fcntl flock
30088 do
30089 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30090 echo "$as_me:$LINENO: checking for $ac_func" >&5
30091 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30092 if eval "test \"\${$as_ac_var+set}\" = set"; then
30093 echo $ECHO_N "(cached) $ECHO_C" >&6
30094 else
30095 cat >conftest.$ac_ext <<_ACEOF
30096 /* confdefs.h. */
30097 _ACEOF
30098 cat confdefs.h >>conftest.$ac_ext
30099 cat >>conftest.$ac_ext <<_ACEOF
30100 /* end confdefs.h. */
30101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30103 #define $ac_func innocuous_$ac_func
30104
30105 /* System header to define __stub macros and hopefully few prototypes,
30106 which can conflict with char $ac_func (); below.
30107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30108 <limits.h> exists even on freestanding compilers. */
30109
30110 #ifdef __STDC__
30111 # include <limits.h>
30112 #else
30113 # include <assert.h>
30114 #endif
30115
30116 #undef $ac_func
30117
30118 /* Override any gcc2 internal prototype to avoid an error. */
30119 #ifdef __cplusplus
30120 extern "C"
30121 {
30122 #endif
30123 /* We use char because int might match the return type of a gcc2
30124 builtin and then its argument prototype would still apply. */
30125 char $ac_func ();
30126 /* The GNU C library defines this for functions which it implements
30127 to always fail with ENOSYS. Some functions are actually named
30128 something starting with __ and the normal name is an alias. */
30129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30130 choke me
30131 #else
30132 char (*f) () = $ac_func;
30133 #endif
30134 #ifdef __cplusplus
30135 }
30136 #endif
30137
30138 int
30139 main ()
30140 {
30141 return f != $ac_func;
30142 ;
30143 return 0;
30144 }
30145 _ACEOF
30146 rm -f conftest.$ac_objext conftest$ac_exeext
30147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30148 (eval $ac_link) 2>conftest.er1
30149 ac_status=$?
30150 grep -v '^ *+' conftest.er1 >conftest.err
30151 rm -f conftest.er1
30152 cat conftest.err >&5
30153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30154 (exit $ac_status); } &&
30155 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30157 (eval $ac_try) 2>&5
30158 ac_status=$?
30159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30160 (exit $ac_status); }; } &&
30161 { ac_try='test -s conftest$ac_exeext'
30162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30163 (eval $ac_try) 2>&5
30164 ac_status=$?
30165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30166 (exit $ac_status); }; }; then
30167 eval "$as_ac_var=yes"
30168 else
30169 echo "$as_me: failed program was:" >&5
30170 sed 's/^/| /' conftest.$ac_ext >&5
30171
30172 eval "$as_ac_var=no"
30173 fi
30174 rm -f conftest.err conftest.$ac_objext \
30175 conftest$ac_exeext conftest.$ac_ext
30176 fi
30177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30178 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30179 if test `eval echo '${'$as_ac_var'}'` = yes; then
30180 cat >>confdefs.h <<_ACEOF
30181 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30182 _ACEOF
30183 break
30184 fi
30185 done
30186
30187
30188 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30189 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
30190 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30191 wxUSE_SNGLINST_CHECKER=no
30192 fi
30193 fi
30194
30195
30196 for ac_func in timegm
30197 do
30198 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30199 echo "$as_me:$LINENO: checking for $ac_func" >&5
30200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30201 if eval "test \"\${$as_ac_var+set}\" = set"; then
30202 echo $ECHO_N "(cached) $ECHO_C" >&6
30203 else
30204 cat >conftest.$ac_ext <<_ACEOF
30205 /* confdefs.h. */
30206 _ACEOF
30207 cat confdefs.h >>conftest.$ac_ext
30208 cat >>conftest.$ac_ext <<_ACEOF
30209 /* end confdefs.h. */
30210 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30212 #define $ac_func innocuous_$ac_func
30213
30214 /* System header to define __stub macros and hopefully few prototypes,
30215 which can conflict with char $ac_func (); below.
30216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30217 <limits.h> exists even on freestanding compilers. */
30218
30219 #ifdef __STDC__
30220 # include <limits.h>
30221 #else
30222 # include <assert.h>
30223 #endif
30224
30225 #undef $ac_func
30226
30227 /* Override any gcc2 internal prototype to avoid an error. */
30228 #ifdef __cplusplus
30229 extern "C"
30230 {
30231 #endif
30232 /* We use char because int might match the return type of a gcc2
30233 builtin and then its argument prototype would still apply. */
30234 char $ac_func ();
30235 /* The GNU C library defines this for functions which it implements
30236 to always fail with ENOSYS. Some functions are actually named
30237 something starting with __ and the normal name is an alias. */
30238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30239 choke me
30240 #else
30241 char (*f) () = $ac_func;
30242 #endif
30243 #ifdef __cplusplus
30244 }
30245 #endif
30246
30247 int
30248 main ()
30249 {
30250 return f != $ac_func;
30251 ;
30252 return 0;
30253 }
30254 _ACEOF
30255 rm -f conftest.$ac_objext conftest$ac_exeext
30256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30257 (eval $ac_link) 2>conftest.er1
30258 ac_status=$?
30259 grep -v '^ *+' conftest.er1 >conftest.err
30260 rm -f conftest.er1
30261 cat conftest.err >&5
30262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30263 (exit $ac_status); } &&
30264 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30266 (eval $ac_try) 2>&5
30267 ac_status=$?
30268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30269 (exit $ac_status); }; } &&
30270 { ac_try='test -s conftest$ac_exeext'
30271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30272 (eval $ac_try) 2>&5
30273 ac_status=$?
30274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30275 (exit $ac_status); }; }; then
30276 eval "$as_ac_var=yes"
30277 else
30278 echo "$as_me: failed program was:" >&5
30279 sed 's/^/| /' conftest.$ac_ext >&5
30280
30281 eval "$as_ac_var=no"
30282 fi
30283 rm -f conftest.err conftest.$ac_objext \
30284 conftest$ac_exeext conftest.$ac_ext
30285 fi
30286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30287 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30288 if test `eval echo '${'$as_ac_var'}'` = yes; then
30289 cat >>confdefs.h <<_ACEOF
30290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30291 _ACEOF
30292
30293 fi
30294 done
30295
30296
30297
30298
30299 for ac_func in putenv setenv
30300 do
30301 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30302 echo "$as_me:$LINENO: checking for $ac_func" >&5
30303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30304 if eval "test \"\${$as_ac_var+set}\" = set"; then
30305 echo $ECHO_N "(cached) $ECHO_C" >&6
30306 else
30307 cat >conftest.$ac_ext <<_ACEOF
30308 /* confdefs.h. */
30309 _ACEOF
30310 cat confdefs.h >>conftest.$ac_ext
30311 cat >>conftest.$ac_ext <<_ACEOF
30312 /* end confdefs.h. */
30313 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30314 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30315 #define $ac_func innocuous_$ac_func
30316
30317 /* System header to define __stub macros and hopefully few prototypes,
30318 which can conflict with char $ac_func (); below.
30319 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30320 <limits.h> exists even on freestanding compilers. */
30321
30322 #ifdef __STDC__
30323 # include <limits.h>
30324 #else
30325 # include <assert.h>
30326 #endif
30327
30328 #undef $ac_func
30329
30330 /* Override any gcc2 internal prototype to avoid an error. */
30331 #ifdef __cplusplus
30332 extern "C"
30333 {
30334 #endif
30335 /* We use char because int might match the return type of a gcc2
30336 builtin and then its argument prototype would still apply. */
30337 char $ac_func ();
30338 /* The GNU C library defines this for functions which it implements
30339 to always fail with ENOSYS. Some functions are actually named
30340 something starting with __ and the normal name is an alias. */
30341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30342 choke me
30343 #else
30344 char (*f) () = $ac_func;
30345 #endif
30346 #ifdef __cplusplus
30347 }
30348 #endif
30349
30350 int
30351 main ()
30352 {
30353 return f != $ac_func;
30354 ;
30355 return 0;
30356 }
30357 _ACEOF
30358 rm -f conftest.$ac_objext conftest$ac_exeext
30359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30360 (eval $ac_link) 2>conftest.er1
30361 ac_status=$?
30362 grep -v '^ *+' conftest.er1 >conftest.err
30363 rm -f conftest.er1
30364 cat conftest.err >&5
30365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30366 (exit $ac_status); } &&
30367 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30369 (eval $ac_try) 2>&5
30370 ac_status=$?
30371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30372 (exit $ac_status); }; } &&
30373 { ac_try='test -s conftest$ac_exeext'
30374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30375 (eval $ac_try) 2>&5
30376 ac_status=$?
30377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30378 (exit $ac_status); }; }; then
30379 eval "$as_ac_var=yes"
30380 else
30381 echo "$as_me: failed program was:" >&5
30382 sed 's/^/| /' conftest.$ac_ext >&5
30383
30384 eval "$as_ac_var=no"
30385 fi
30386 rm -f conftest.err conftest.$ac_objext \
30387 conftest$ac_exeext conftest.$ac_ext
30388 fi
30389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30390 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30391 if test `eval echo '${'$as_ac_var'}'` = yes; then
30392 cat >>confdefs.h <<_ACEOF
30393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30394 _ACEOF
30395 break
30396 fi
30397 done
30398
30399
30400 HAVE_SOME_SLEEP_FUNC=0
30401 if test "$USE_BEOS" = 1; then
30402 cat >>confdefs.h <<\_ACEOF
30403 #define HAVE_SLEEP 1
30404 _ACEOF
30405
30406 HAVE_SOME_SLEEP_FUNC=1
30407 fi
30408
30409 if test "$USE_DARWIN" = 1; then
30410 cat >>confdefs.h <<\_ACEOF
30411 #define HAVE_USLEEP 1
30412 _ACEOF
30413
30414 HAVE_SOME_SLEEP_FUNC=1
30415 fi
30416
30417 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30418 POSIX4_LINK=
30419
30420 for ac_func in nanosleep
30421 do
30422 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30423 echo "$as_me:$LINENO: checking for $ac_func" >&5
30424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30425 if eval "test \"\${$as_ac_var+set}\" = set"; then
30426 echo $ECHO_N "(cached) $ECHO_C" >&6
30427 else
30428 cat >conftest.$ac_ext <<_ACEOF
30429 /* confdefs.h. */
30430 _ACEOF
30431 cat confdefs.h >>conftest.$ac_ext
30432 cat >>conftest.$ac_ext <<_ACEOF
30433 /* end confdefs.h. */
30434 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30435 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30436 #define $ac_func innocuous_$ac_func
30437
30438 /* System header to define __stub macros and hopefully few prototypes,
30439 which can conflict with char $ac_func (); below.
30440 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30441 <limits.h> exists even on freestanding compilers. */
30442
30443 #ifdef __STDC__
30444 # include <limits.h>
30445 #else
30446 # include <assert.h>
30447 #endif
30448
30449 #undef $ac_func
30450
30451 /* Override any gcc2 internal prototype to avoid an error. */
30452 #ifdef __cplusplus
30453 extern "C"
30454 {
30455 #endif
30456 /* We use char because int might match the return type of a gcc2
30457 builtin and then its argument prototype would still apply. */
30458 char $ac_func ();
30459 /* The GNU C library defines this for functions which it implements
30460 to always fail with ENOSYS. Some functions are actually named
30461 something starting with __ and the normal name is an alias. */
30462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30463 choke me
30464 #else
30465 char (*f) () = $ac_func;
30466 #endif
30467 #ifdef __cplusplus
30468 }
30469 #endif
30470
30471 int
30472 main ()
30473 {
30474 return f != $ac_func;
30475 ;
30476 return 0;
30477 }
30478 _ACEOF
30479 rm -f conftest.$ac_objext conftest$ac_exeext
30480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30481 (eval $ac_link) 2>conftest.er1
30482 ac_status=$?
30483 grep -v '^ *+' conftest.er1 >conftest.err
30484 rm -f conftest.er1
30485 cat conftest.err >&5
30486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30487 (exit $ac_status); } &&
30488 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30490 (eval $ac_try) 2>&5
30491 ac_status=$?
30492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30493 (exit $ac_status); }; } &&
30494 { ac_try='test -s conftest$ac_exeext'
30495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30496 (eval $ac_try) 2>&5
30497 ac_status=$?
30498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30499 (exit $ac_status); }; }; then
30500 eval "$as_ac_var=yes"
30501 else
30502 echo "$as_me: failed program was:" >&5
30503 sed 's/^/| /' conftest.$ac_ext >&5
30504
30505 eval "$as_ac_var=no"
30506 fi
30507 rm -f conftest.err conftest.$ac_objext \
30508 conftest$ac_exeext conftest.$ac_ext
30509 fi
30510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30511 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30512 if test `eval echo '${'$as_ac_var'}'` = yes; then
30513 cat >>confdefs.h <<_ACEOF
30514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30515 _ACEOF
30516 cat >>confdefs.h <<\_ACEOF
30517 #define HAVE_NANOSLEEP 1
30518 _ACEOF
30519
30520 else
30521
30522 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
30523 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
30524 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
30525 echo $ECHO_N "(cached) $ECHO_C" >&6
30526 else
30527 ac_check_lib_save_LIBS=$LIBS
30528 LIBS="-lposix4 $LIBS"
30529 cat >conftest.$ac_ext <<_ACEOF
30530 /* confdefs.h. */
30531 _ACEOF
30532 cat confdefs.h >>conftest.$ac_ext
30533 cat >>conftest.$ac_ext <<_ACEOF
30534 /* end confdefs.h. */
30535
30536 /* Override any gcc2 internal prototype to avoid an error. */
30537 #ifdef __cplusplus
30538 extern "C"
30539 #endif
30540 /* We use char because int might match the return type of a gcc2
30541 builtin and then its argument prototype would still apply. */
30542 char nanosleep ();
30543 int
30544 main ()
30545 {
30546 nanosleep ();
30547 ;
30548 return 0;
30549 }
30550 _ACEOF
30551 rm -f conftest.$ac_objext conftest$ac_exeext
30552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30553 (eval $ac_link) 2>conftest.er1
30554 ac_status=$?
30555 grep -v '^ *+' conftest.er1 >conftest.err
30556 rm -f conftest.er1
30557 cat conftest.err >&5
30558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30559 (exit $ac_status); } &&
30560 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30562 (eval $ac_try) 2>&5
30563 ac_status=$?
30564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30565 (exit $ac_status); }; } &&
30566 { ac_try='test -s conftest$ac_exeext'
30567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30568 (eval $ac_try) 2>&5
30569 ac_status=$?
30570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30571 (exit $ac_status); }; }; then
30572 ac_cv_lib_posix4_nanosleep=yes
30573 else
30574 echo "$as_me: failed program was:" >&5
30575 sed 's/^/| /' conftest.$ac_ext >&5
30576
30577 ac_cv_lib_posix4_nanosleep=no
30578 fi
30579 rm -f conftest.err conftest.$ac_objext \
30580 conftest$ac_exeext conftest.$ac_ext
30581 LIBS=$ac_check_lib_save_LIBS
30582 fi
30583 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
30584 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
30585 if test $ac_cv_lib_posix4_nanosleep = yes; then
30586
30587 cat >>confdefs.h <<\_ACEOF
30588 #define HAVE_NANOSLEEP 1
30589 _ACEOF
30590
30591 POSIX4_LINK=" -lposix4"
30592
30593 else
30594
30595
30596 for ac_func in usleep
30597 do
30598 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30599 echo "$as_me:$LINENO: checking for $ac_func" >&5
30600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30601 if eval "test \"\${$as_ac_var+set}\" = set"; then
30602 echo $ECHO_N "(cached) $ECHO_C" >&6
30603 else
30604 cat >conftest.$ac_ext <<_ACEOF
30605 /* confdefs.h. */
30606 _ACEOF
30607 cat confdefs.h >>conftest.$ac_ext
30608 cat >>conftest.$ac_ext <<_ACEOF
30609 /* end confdefs.h. */
30610 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30611 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30612 #define $ac_func innocuous_$ac_func
30613
30614 /* System header to define __stub macros and hopefully few prototypes,
30615 which can conflict with char $ac_func (); below.
30616 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30617 <limits.h> exists even on freestanding compilers. */
30618
30619 #ifdef __STDC__
30620 # include <limits.h>
30621 #else
30622 # include <assert.h>
30623 #endif
30624
30625 #undef $ac_func
30626
30627 /* Override any gcc2 internal prototype to avoid an error. */
30628 #ifdef __cplusplus
30629 extern "C"
30630 {
30631 #endif
30632 /* We use char because int might match the return type of a gcc2
30633 builtin and then its argument prototype would still apply. */
30634 char $ac_func ();
30635 /* The GNU C library defines this for functions which it implements
30636 to always fail with ENOSYS. Some functions are actually named
30637 something starting with __ and the normal name is an alias. */
30638 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30639 choke me
30640 #else
30641 char (*f) () = $ac_func;
30642 #endif
30643 #ifdef __cplusplus
30644 }
30645 #endif
30646
30647 int
30648 main ()
30649 {
30650 return f != $ac_func;
30651 ;
30652 return 0;
30653 }
30654 _ACEOF
30655 rm -f conftest.$ac_objext conftest$ac_exeext
30656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30657 (eval $ac_link) 2>conftest.er1
30658 ac_status=$?
30659 grep -v '^ *+' conftest.er1 >conftest.err
30660 rm -f conftest.er1
30661 cat conftest.err >&5
30662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30663 (exit $ac_status); } &&
30664 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30666 (eval $ac_try) 2>&5
30667 ac_status=$?
30668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30669 (exit $ac_status); }; } &&
30670 { ac_try='test -s conftest$ac_exeext'
30671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30672 (eval $ac_try) 2>&5
30673 ac_status=$?
30674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30675 (exit $ac_status); }; }; then
30676 eval "$as_ac_var=yes"
30677 else
30678 echo "$as_me: failed program was:" >&5
30679 sed 's/^/| /' conftest.$ac_ext >&5
30680
30681 eval "$as_ac_var=no"
30682 fi
30683 rm -f conftest.err conftest.$ac_objext \
30684 conftest$ac_exeext conftest.$ac_ext
30685 fi
30686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30687 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30688 if test `eval echo '${'$as_ac_var'}'` = yes; then
30689 cat >>confdefs.h <<_ACEOF
30690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30691 _ACEOF
30692 cat >>confdefs.h <<\_ACEOF
30693 #define HAVE_USLEEP 1
30694 _ACEOF
30695
30696 else
30697 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
30698 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30699
30700 fi
30701 done
30702
30703
30704
30705 fi
30706
30707
30708
30709 fi
30710 done
30711
30712 fi
30713
30714
30715
30716 for ac_func in uname gethostname
30717 do
30718 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30719 echo "$as_me:$LINENO: checking for $ac_func" >&5
30720 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30721 if eval "test \"\${$as_ac_var+set}\" = set"; then
30722 echo $ECHO_N "(cached) $ECHO_C" >&6
30723 else
30724 cat >conftest.$ac_ext <<_ACEOF
30725 /* confdefs.h. */
30726 _ACEOF
30727 cat confdefs.h >>conftest.$ac_ext
30728 cat >>conftest.$ac_ext <<_ACEOF
30729 /* end confdefs.h. */
30730 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30731 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30732 #define $ac_func innocuous_$ac_func
30733
30734 /* System header to define __stub macros and hopefully few prototypes,
30735 which can conflict with char $ac_func (); below.
30736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30737 <limits.h> exists even on freestanding compilers. */
30738
30739 #ifdef __STDC__
30740 # include <limits.h>
30741 #else
30742 # include <assert.h>
30743 #endif
30744
30745 #undef $ac_func
30746
30747 /* Override any gcc2 internal prototype to avoid an error. */
30748 #ifdef __cplusplus
30749 extern "C"
30750 {
30751 #endif
30752 /* We use char because int might match the return type of a gcc2
30753 builtin and then its argument prototype would still apply. */
30754 char $ac_func ();
30755 /* The GNU C library defines this for functions which it implements
30756 to always fail with ENOSYS. Some functions are actually named
30757 something starting with __ and the normal name is an alias. */
30758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30759 choke me
30760 #else
30761 char (*f) () = $ac_func;
30762 #endif
30763 #ifdef __cplusplus
30764 }
30765 #endif
30766
30767 int
30768 main ()
30769 {
30770 return f != $ac_func;
30771 ;
30772 return 0;
30773 }
30774 _ACEOF
30775 rm -f conftest.$ac_objext conftest$ac_exeext
30776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30777 (eval $ac_link) 2>conftest.er1
30778 ac_status=$?
30779 grep -v '^ *+' conftest.er1 >conftest.err
30780 rm -f conftest.er1
30781 cat conftest.err >&5
30782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30783 (exit $ac_status); } &&
30784 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30786 (eval $ac_try) 2>&5
30787 ac_status=$?
30788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30789 (exit $ac_status); }; } &&
30790 { ac_try='test -s conftest$ac_exeext'
30791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30792 (eval $ac_try) 2>&5
30793 ac_status=$?
30794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30795 (exit $ac_status); }; }; then
30796 eval "$as_ac_var=yes"
30797 else
30798 echo "$as_me: failed program was:" >&5
30799 sed 's/^/| /' conftest.$ac_ext >&5
30800
30801 eval "$as_ac_var=no"
30802 fi
30803 rm -f conftest.err conftest.$ac_objext \
30804 conftest$ac_exeext conftest.$ac_ext
30805 fi
30806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30808 if test `eval echo '${'$as_ac_var'}'` = yes; then
30809 cat >>confdefs.h <<_ACEOF
30810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30811 _ACEOF
30812 break
30813 fi
30814 done
30815
30816
30817
30818
30819 ac_ext=cc
30820 ac_cpp='$CXXCPP $CPPFLAGS'
30821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30824
30825
30826
30827 for ac_func in strtok_r
30828 do
30829 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30830 echo "$as_me:$LINENO: checking for $ac_func" >&5
30831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30832 if eval "test \"\${$as_ac_var+set}\" = set"; then
30833 echo $ECHO_N "(cached) $ECHO_C" >&6
30834 else
30835 cat >conftest.$ac_ext <<_ACEOF
30836 /* confdefs.h. */
30837 _ACEOF
30838 cat confdefs.h >>conftest.$ac_ext
30839 cat >>conftest.$ac_ext <<_ACEOF
30840 /* end confdefs.h. */
30841 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30842 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30843 #define $ac_func innocuous_$ac_func
30844
30845 /* System header to define __stub macros and hopefully few prototypes,
30846 which can conflict with char $ac_func (); below.
30847 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30848 <limits.h> exists even on freestanding compilers. */
30849
30850 #ifdef __STDC__
30851 # include <limits.h>
30852 #else
30853 # include <assert.h>
30854 #endif
30855
30856 #undef $ac_func
30857
30858 /* Override any gcc2 internal prototype to avoid an error. */
30859 #ifdef __cplusplus
30860 extern "C"
30861 {
30862 #endif
30863 /* We use char because int might match the return type of a gcc2
30864 builtin and then its argument prototype would still apply. */
30865 char $ac_func ();
30866 /* The GNU C library defines this for functions which it implements
30867 to always fail with ENOSYS. Some functions are actually named
30868 something starting with __ and the normal name is an alias. */
30869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30870 choke me
30871 #else
30872 char (*f) () = $ac_func;
30873 #endif
30874 #ifdef __cplusplus
30875 }
30876 #endif
30877
30878 int
30879 main ()
30880 {
30881 return f != $ac_func;
30882 ;
30883 return 0;
30884 }
30885 _ACEOF
30886 rm -f conftest.$ac_objext conftest$ac_exeext
30887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30888 (eval $ac_link) 2>conftest.er1
30889 ac_status=$?
30890 grep -v '^ *+' conftest.er1 >conftest.err
30891 rm -f conftest.er1
30892 cat conftest.err >&5
30893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30894 (exit $ac_status); } &&
30895 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30897 (eval $ac_try) 2>&5
30898 ac_status=$?
30899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30900 (exit $ac_status); }; } &&
30901 { ac_try='test -s conftest$ac_exeext'
30902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30903 (eval $ac_try) 2>&5
30904 ac_status=$?
30905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30906 (exit $ac_status); }; }; then
30907 eval "$as_ac_var=yes"
30908 else
30909 echo "$as_me: failed program was:" >&5
30910 sed 's/^/| /' conftest.$ac_ext >&5
30911
30912 eval "$as_ac_var=no"
30913 fi
30914 rm -f conftest.err conftest.$ac_objext \
30915 conftest$ac_exeext conftest.$ac_ext
30916 fi
30917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30918 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30919 if test `eval echo '${'$as_ac_var'}'` = yes; then
30920 cat >>confdefs.h <<_ACEOF
30921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30922 _ACEOF
30923
30924 fi
30925 done
30926
30927
30928 ac_ext=c
30929 ac_cpp='$CPP $CPPFLAGS'
30930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30933
30934
30935 INET_LINK=
30936
30937 for ac_func in inet_addr
30938 do
30939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30940 echo "$as_me:$LINENO: checking for $ac_func" >&5
30941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30942 if eval "test \"\${$as_ac_var+set}\" = set"; then
30943 echo $ECHO_N "(cached) $ECHO_C" >&6
30944 else
30945 cat >conftest.$ac_ext <<_ACEOF
30946 /* confdefs.h. */
30947 _ACEOF
30948 cat confdefs.h >>conftest.$ac_ext
30949 cat >>conftest.$ac_ext <<_ACEOF
30950 /* end confdefs.h. */
30951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30953 #define $ac_func innocuous_$ac_func
30954
30955 /* System header to define __stub macros and hopefully few prototypes,
30956 which can conflict with char $ac_func (); below.
30957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30958 <limits.h> exists even on freestanding compilers. */
30959
30960 #ifdef __STDC__
30961 # include <limits.h>
30962 #else
30963 # include <assert.h>
30964 #endif
30965
30966 #undef $ac_func
30967
30968 /* Override any gcc2 internal prototype to avoid an error. */
30969 #ifdef __cplusplus
30970 extern "C"
30971 {
30972 #endif
30973 /* We use char because int might match the return type of a gcc2
30974 builtin and then its argument prototype would still apply. */
30975 char $ac_func ();
30976 /* The GNU C library defines this for functions which it implements
30977 to always fail with ENOSYS. Some functions are actually named
30978 something starting with __ and the normal name is an alias. */
30979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30980 choke me
30981 #else
30982 char (*f) () = $ac_func;
30983 #endif
30984 #ifdef __cplusplus
30985 }
30986 #endif
30987
30988 int
30989 main ()
30990 {
30991 return f != $ac_func;
30992 ;
30993 return 0;
30994 }
30995 _ACEOF
30996 rm -f conftest.$ac_objext conftest$ac_exeext
30997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30998 (eval $ac_link) 2>conftest.er1
30999 ac_status=$?
31000 grep -v '^ *+' conftest.er1 >conftest.err
31001 rm -f conftest.er1
31002 cat conftest.err >&5
31003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31004 (exit $ac_status); } &&
31005 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31007 (eval $ac_try) 2>&5
31008 ac_status=$?
31009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31010 (exit $ac_status); }; } &&
31011 { ac_try='test -s conftest$ac_exeext'
31012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31013 (eval $ac_try) 2>&5
31014 ac_status=$?
31015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31016 (exit $ac_status); }; }; then
31017 eval "$as_ac_var=yes"
31018 else
31019 echo "$as_me: failed program was:" >&5
31020 sed 's/^/| /' conftest.$ac_ext >&5
31021
31022 eval "$as_ac_var=no"
31023 fi
31024 rm -f conftest.err conftest.$ac_objext \
31025 conftest$ac_exeext conftest.$ac_ext
31026 fi
31027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31028 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31029 if test `eval echo '${'$as_ac_var'}'` = yes; then
31030 cat >>confdefs.h <<_ACEOF
31031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31032 _ACEOF
31033 cat >>confdefs.h <<\_ACEOF
31034 #define HAVE_INET_ADDR 1
31035 _ACEOF
31036
31037 else
31038
31039 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
31040 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
31041 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
31042 echo $ECHO_N "(cached) $ECHO_C" >&6
31043 else
31044 ac_check_lib_save_LIBS=$LIBS
31045 LIBS="-lnsl $LIBS"
31046 cat >conftest.$ac_ext <<_ACEOF
31047 /* confdefs.h. */
31048 _ACEOF
31049 cat confdefs.h >>conftest.$ac_ext
31050 cat >>conftest.$ac_ext <<_ACEOF
31051 /* end confdefs.h. */
31052
31053 /* Override any gcc2 internal prototype to avoid an error. */
31054 #ifdef __cplusplus
31055 extern "C"
31056 #endif
31057 /* We use char because int might match the return type of a gcc2
31058 builtin and then its argument prototype would still apply. */
31059 char inet_addr ();
31060 int
31061 main ()
31062 {
31063 inet_addr ();
31064 ;
31065 return 0;
31066 }
31067 _ACEOF
31068 rm -f conftest.$ac_objext conftest$ac_exeext
31069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31070 (eval $ac_link) 2>conftest.er1
31071 ac_status=$?
31072 grep -v '^ *+' conftest.er1 >conftest.err
31073 rm -f conftest.er1
31074 cat conftest.err >&5
31075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31076 (exit $ac_status); } &&
31077 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31079 (eval $ac_try) 2>&5
31080 ac_status=$?
31081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31082 (exit $ac_status); }; } &&
31083 { ac_try='test -s conftest$ac_exeext'
31084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31085 (eval $ac_try) 2>&5
31086 ac_status=$?
31087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31088 (exit $ac_status); }; }; then
31089 ac_cv_lib_nsl_inet_addr=yes
31090 else
31091 echo "$as_me: failed program was:" >&5
31092 sed 's/^/| /' conftest.$ac_ext >&5
31093
31094 ac_cv_lib_nsl_inet_addr=no
31095 fi
31096 rm -f conftest.err conftest.$ac_objext \
31097 conftest$ac_exeext conftest.$ac_ext
31098 LIBS=$ac_check_lib_save_LIBS
31099 fi
31100 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
31101 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
31102 if test $ac_cv_lib_nsl_inet_addr = yes; then
31103 INET_LINK="nsl"
31104 else
31105
31106 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
31107 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
31108 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
31109 echo $ECHO_N "(cached) $ECHO_C" >&6
31110 else
31111 ac_check_lib_save_LIBS=$LIBS
31112 LIBS="-lresolv $LIBS"
31113 cat >conftest.$ac_ext <<_ACEOF
31114 /* confdefs.h. */
31115 _ACEOF
31116 cat confdefs.h >>conftest.$ac_ext
31117 cat >>conftest.$ac_ext <<_ACEOF
31118 /* end confdefs.h. */
31119
31120 /* Override any gcc2 internal prototype to avoid an error. */
31121 #ifdef __cplusplus
31122 extern "C"
31123 #endif
31124 /* We use char because int might match the return type of a gcc2
31125 builtin and then its argument prototype would still apply. */
31126 char inet_addr ();
31127 int
31128 main ()
31129 {
31130 inet_addr ();
31131 ;
31132 return 0;
31133 }
31134 _ACEOF
31135 rm -f conftest.$ac_objext conftest$ac_exeext
31136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31137 (eval $ac_link) 2>conftest.er1
31138 ac_status=$?
31139 grep -v '^ *+' conftest.er1 >conftest.err
31140 rm -f conftest.er1
31141 cat conftest.err >&5
31142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31143 (exit $ac_status); } &&
31144 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31146 (eval $ac_try) 2>&5
31147 ac_status=$?
31148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31149 (exit $ac_status); }; } &&
31150 { ac_try='test -s conftest$ac_exeext'
31151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31152 (eval $ac_try) 2>&5
31153 ac_status=$?
31154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31155 (exit $ac_status); }; }; then
31156 ac_cv_lib_resolv_inet_addr=yes
31157 else
31158 echo "$as_me: failed program was:" >&5
31159 sed 's/^/| /' conftest.$ac_ext >&5
31160
31161 ac_cv_lib_resolv_inet_addr=no
31162 fi
31163 rm -f conftest.err conftest.$ac_objext \
31164 conftest$ac_exeext conftest.$ac_ext
31165 LIBS=$ac_check_lib_save_LIBS
31166 fi
31167 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
31168 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
31169 if test $ac_cv_lib_resolv_inet_addr = yes; then
31170 INET_LINK="resolv"
31171 else
31172
31173 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
31174 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
31175 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
31176 echo $ECHO_N "(cached) $ECHO_C" >&6
31177 else
31178 ac_check_lib_save_LIBS=$LIBS
31179 LIBS="-lsocket $LIBS"
31180 cat >conftest.$ac_ext <<_ACEOF
31181 /* confdefs.h. */
31182 _ACEOF
31183 cat confdefs.h >>conftest.$ac_ext
31184 cat >>conftest.$ac_ext <<_ACEOF
31185 /* end confdefs.h. */
31186
31187 /* Override any gcc2 internal prototype to avoid an error. */
31188 #ifdef __cplusplus
31189 extern "C"
31190 #endif
31191 /* We use char because int might match the return type of a gcc2
31192 builtin and then its argument prototype would still apply. */
31193 char inet_addr ();
31194 int
31195 main ()
31196 {
31197 inet_addr ();
31198 ;
31199 return 0;
31200 }
31201 _ACEOF
31202 rm -f conftest.$ac_objext conftest$ac_exeext
31203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31204 (eval $ac_link) 2>conftest.er1
31205 ac_status=$?
31206 grep -v '^ *+' conftest.er1 >conftest.err
31207 rm -f conftest.er1
31208 cat conftest.err >&5
31209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31210 (exit $ac_status); } &&
31211 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31213 (eval $ac_try) 2>&5
31214 ac_status=$?
31215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31216 (exit $ac_status); }; } &&
31217 { ac_try='test -s conftest$ac_exeext'
31218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31219 (eval $ac_try) 2>&5
31220 ac_status=$?
31221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31222 (exit $ac_status); }; }; then
31223 ac_cv_lib_socket_inet_addr=yes
31224 else
31225 echo "$as_me: failed program was:" >&5
31226 sed 's/^/| /' conftest.$ac_ext >&5
31227
31228 ac_cv_lib_socket_inet_addr=no
31229 fi
31230 rm -f conftest.err conftest.$ac_objext \
31231 conftest$ac_exeext conftest.$ac_ext
31232 LIBS=$ac_check_lib_save_LIBS
31233 fi
31234 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
31235 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
31236 if test $ac_cv_lib_socket_inet_addr = yes; then
31237 INET_LINK="socket"
31238
31239 fi
31240
31241
31242
31243 fi
31244
31245
31246
31247 fi
31248
31249
31250
31251 fi
31252 done
31253
31254
31255
31256 for ac_func in inet_aton
31257 do
31258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31259 echo "$as_me:$LINENO: checking for $ac_func" >&5
31260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31261 if eval "test \"\${$as_ac_var+set}\" = set"; then
31262 echo $ECHO_N "(cached) $ECHO_C" >&6
31263 else
31264 cat >conftest.$ac_ext <<_ACEOF
31265 /* confdefs.h. */
31266 _ACEOF
31267 cat confdefs.h >>conftest.$ac_ext
31268 cat >>conftest.$ac_ext <<_ACEOF
31269 /* end confdefs.h. */
31270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31272 #define $ac_func innocuous_$ac_func
31273
31274 /* System header to define __stub macros and hopefully few prototypes,
31275 which can conflict with char $ac_func (); below.
31276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31277 <limits.h> exists even on freestanding compilers. */
31278
31279 #ifdef __STDC__
31280 # include <limits.h>
31281 #else
31282 # include <assert.h>
31283 #endif
31284
31285 #undef $ac_func
31286
31287 /* Override any gcc2 internal prototype to avoid an error. */
31288 #ifdef __cplusplus
31289 extern "C"
31290 {
31291 #endif
31292 /* We use char because int might match the return type of a gcc2
31293 builtin and then its argument prototype would still apply. */
31294 char $ac_func ();
31295 /* The GNU C library defines this for functions which it implements
31296 to always fail with ENOSYS. Some functions are actually named
31297 something starting with __ and the normal name is an alias. */
31298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31299 choke me
31300 #else
31301 char (*f) () = $ac_func;
31302 #endif
31303 #ifdef __cplusplus
31304 }
31305 #endif
31306
31307 int
31308 main ()
31309 {
31310 return f != $ac_func;
31311 ;
31312 return 0;
31313 }
31314 _ACEOF
31315 rm -f conftest.$ac_objext conftest$ac_exeext
31316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31317 (eval $ac_link) 2>conftest.er1
31318 ac_status=$?
31319 grep -v '^ *+' conftest.er1 >conftest.err
31320 rm -f conftest.er1
31321 cat conftest.err >&5
31322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31323 (exit $ac_status); } &&
31324 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31326 (eval $ac_try) 2>&5
31327 ac_status=$?
31328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31329 (exit $ac_status); }; } &&
31330 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
31336 eval "$as_ac_var=yes"
31337 else
31338 echo "$as_me: failed program was:" >&5
31339 sed 's/^/| /' conftest.$ac_ext >&5
31340
31341 eval "$as_ac_var=no"
31342 fi
31343 rm -f conftest.err conftest.$ac_objext \
31344 conftest$ac_exeext conftest.$ac_ext
31345 fi
31346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31347 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31348 if test `eval echo '${'$as_ac_var'}'` = yes; then
31349 cat >>confdefs.h <<_ACEOF
31350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31351 _ACEOF
31352 cat >>confdefs.h <<\_ACEOF
31353 #define HAVE_INET_ATON 1
31354 _ACEOF
31355
31356 else
31357
31358 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31359 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
31360 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
31361 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
31362 echo $ECHO_N "(cached) $ECHO_C" >&6
31363 else
31364 ac_check_lib_save_LIBS=$LIBS
31365 LIBS="-l$INET_LINK $LIBS"
31366 cat >conftest.$ac_ext <<_ACEOF
31367 /* confdefs.h. */
31368 _ACEOF
31369 cat confdefs.h >>conftest.$ac_ext
31370 cat >>conftest.$ac_ext <<_ACEOF
31371 /* end confdefs.h. */
31372
31373 /* Override any gcc2 internal prototype to avoid an error. */
31374 #ifdef __cplusplus
31375 extern "C"
31376 #endif
31377 /* We use char because int might match the return type of a gcc2
31378 builtin and then its argument prototype would still apply. */
31379 char inet_aton ();
31380 int
31381 main ()
31382 {
31383 inet_aton ();
31384 ;
31385 return 0;
31386 }
31387 _ACEOF
31388 rm -f conftest.$ac_objext conftest$ac_exeext
31389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31390 (eval $ac_link) 2>conftest.er1
31391 ac_status=$?
31392 grep -v '^ *+' conftest.er1 >conftest.err
31393 rm -f conftest.er1
31394 cat conftest.err >&5
31395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31396 (exit $ac_status); } &&
31397 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31399 (eval $ac_try) 2>&5
31400 ac_status=$?
31401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31402 (exit $ac_status); }; } &&
31403 { ac_try='test -s conftest$ac_exeext'
31404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31405 (eval $ac_try) 2>&5
31406 ac_status=$?
31407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31408 (exit $ac_status); }; }; then
31409 eval "$as_ac_Lib=yes"
31410 else
31411 echo "$as_me: failed program was:" >&5
31412 sed 's/^/| /' conftest.$ac_ext >&5
31413
31414 eval "$as_ac_Lib=no"
31415 fi
31416 rm -f conftest.err conftest.$ac_objext \
31417 conftest$ac_exeext conftest.$ac_ext
31418 LIBS=$ac_check_lib_save_LIBS
31419 fi
31420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
31421 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
31422 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
31423 cat >>confdefs.h <<\_ACEOF
31424 #define HAVE_INET_ATON 1
31425 _ACEOF
31426
31427 fi
31428
31429
31430 fi
31431 done
31432
31433
31434 if test "x$INET_LINK" != "x"; then
31435 cat >>confdefs.h <<\_ACEOF
31436 #define HAVE_INET_ADDR 1
31437 _ACEOF
31438
31439 INET_LINK=" -l$INET_LINK"
31440 fi
31441
31442 fi
31443
31444
31445
31446 EXTRALIBS_ESD=
31447 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
31448 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
31449 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
31450 echo $ECHO_N "(cached) $ECHO_C" >&6
31451 else
31452 ac_check_lib_save_LIBS=$LIBS
31453 LIBS="-lesd $LIBS"
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
31461 /* Override any gcc2 internal prototype to avoid an error. */
31462 #ifdef __cplusplus
31463 extern "C"
31464 #endif
31465 /* We use char because int might match the return type of a gcc2
31466 builtin and then its argument prototype would still apply. */
31467 char esd_close ();
31468 int
31469 main ()
31470 {
31471 esd_close ();
31472 ;
31473 return 0;
31474 }
31475 _ACEOF
31476 rm -f conftest.$ac_objext conftest$ac_exeext
31477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31478 (eval $ac_link) 2>conftest.er1
31479 ac_status=$?
31480 grep -v '^ *+' conftest.er1 >conftest.err
31481 rm -f conftest.er1
31482 cat conftest.err >&5
31483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31484 (exit $ac_status); } &&
31485 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31487 (eval $ac_try) 2>&5
31488 ac_status=$?
31489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31490 (exit $ac_status); }; } &&
31491 { ac_try='test -s conftest$ac_exeext'
31492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31493 (eval $ac_try) 2>&5
31494 ac_status=$?
31495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31496 (exit $ac_status); }; }; then
31497 ac_cv_lib_esd_esd_close=yes
31498 else
31499 echo "$as_me: failed program was:" >&5
31500 sed 's/^/| /' conftest.$ac_ext >&5
31501
31502 ac_cv_lib_esd_esd_close=no
31503 fi
31504 rm -f conftest.err conftest.$ac_objext \
31505 conftest$ac_exeext conftest.$ac_ext
31506 LIBS=$ac_check_lib_save_LIBS
31507 fi
31508 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
31509 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
31510 if test $ac_cv_lib_esd_esd_close = yes; then
31511
31512
31513 for ac_header in esd.h
31514 do
31515 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31516 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31517 echo "$as_me:$LINENO: checking for $ac_header" >&5
31518 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31519 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31520 echo $ECHO_N "(cached) $ECHO_C" >&6
31521 fi
31522 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31523 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31524 else
31525 # Is the header compilable?
31526 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31527 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31528 cat >conftest.$ac_ext <<_ACEOF
31529 /* confdefs.h. */
31530 _ACEOF
31531 cat confdefs.h >>conftest.$ac_ext
31532 cat >>conftest.$ac_ext <<_ACEOF
31533 /* end confdefs.h. */
31534 $ac_includes_default
31535 #include <$ac_header>
31536 _ACEOF
31537 rm -f conftest.$ac_objext
31538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31539 (eval $ac_compile) 2>conftest.er1
31540 ac_status=$?
31541 grep -v '^ *+' conftest.er1 >conftest.err
31542 rm -f conftest.er1
31543 cat conftest.err >&5
31544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31545 (exit $ac_status); } &&
31546 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31548 (eval $ac_try) 2>&5
31549 ac_status=$?
31550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31551 (exit $ac_status); }; } &&
31552 { ac_try='test -s conftest.$ac_objext'
31553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31554 (eval $ac_try) 2>&5
31555 ac_status=$?
31556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31557 (exit $ac_status); }; }; then
31558 ac_header_compiler=yes
31559 else
31560 echo "$as_me: failed program was:" >&5
31561 sed 's/^/| /' conftest.$ac_ext >&5
31562
31563 ac_header_compiler=no
31564 fi
31565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31566 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31567 echo "${ECHO_T}$ac_header_compiler" >&6
31568
31569 # Is the header present?
31570 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31571 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31572 cat >conftest.$ac_ext <<_ACEOF
31573 /* confdefs.h. */
31574 _ACEOF
31575 cat confdefs.h >>conftest.$ac_ext
31576 cat >>conftest.$ac_ext <<_ACEOF
31577 /* end confdefs.h. */
31578 #include <$ac_header>
31579 _ACEOF
31580 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31581 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31582 ac_status=$?
31583 grep -v '^ *+' conftest.er1 >conftest.err
31584 rm -f conftest.er1
31585 cat conftest.err >&5
31586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31587 (exit $ac_status); } >/dev/null; then
31588 if test -s conftest.err; then
31589 ac_cpp_err=$ac_c_preproc_warn_flag
31590 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31591 else
31592 ac_cpp_err=
31593 fi
31594 else
31595 ac_cpp_err=yes
31596 fi
31597 if test -z "$ac_cpp_err"; then
31598 ac_header_preproc=yes
31599 else
31600 echo "$as_me: failed program was:" >&5
31601 sed 's/^/| /' conftest.$ac_ext >&5
31602
31603 ac_header_preproc=no
31604 fi
31605 rm -f conftest.err conftest.$ac_ext
31606 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31607 echo "${ECHO_T}$ac_header_preproc" >&6
31608
31609 # So? What about this header?
31610 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31611 yes:no: )
31612 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31613 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31614 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31615 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31616 ac_header_preproc=yes
31617 ;;
31618 no:yes:* )
31619 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31620 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31621 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31622 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31623 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31624 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31625 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31626 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31627 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31628 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31629 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31630 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31631 (
31632 cat <<\_ASBOX
31633 ## ----------------------------------------- ##
31634 ## Report this to wx-dev@lists.wxwidgets.org ##
31635 ## ----------------------------------------- ##
31636 _ASBOX
31637 ) |
31638 sed "s/^/$as_me: WARNING: /" >&2
31639 ;;
31640 esac
31641 echo "$as_me:$LINENO: checking for $ac_header" >&5
31642 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31643 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31644 echo $ECHO_N "(cached) $ECHO_C" >&6
31645 else
31646 eval "$as_ac_Header=\$ac_header_preproc"
31647 fi
31648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31649 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31650
31651 fi
31652 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31653 cat >>confdefs.h <<_ACEOF
31654 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31655 _ACEOF
31656
31657 EXTRALIBS_ESD="-lesd"
31658
31659 fi
31660
31661 done
31662
31663
31664 fi
31665
31666
31667
31668 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
31669 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
31670 cat >conftest.$ac_ext <<_ACEOF
31671 /* confdefs.h. */
31672 _ACEOF
31673 cat confdefs.h >>conftest.$ac_ext
31674 cat >>conftest.$ac_ext <<_ACEOF
31675 /* end confdefs.h. */
31676 #ifdef __linux__
31677 #include <linux/cdrom.h>
31678 #else
31679 /* For Solaris */
31680 #include <sys/cdio.h>
31681 #endif
31682
31683 int
31684 main ()
31685 {
31686 struct cdrom_tocentry entry, old_entry;
31687 ;
31688 return 0;
31689 }
31690 _ACEOF
31691 rm -f conftest.$ac_objext
31692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31693 (eval $ac_compile) 2>conftest.er1
31694 ac_status=$?
31695 grep -v '^ *+' conftest.er1 >conftest.err
31696 rm -f conftest.er1
31697 cat conftest.err >&5
31698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31699 (exit $ac_status); } &&
31700 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31702 (eval $ac_try) 2>&5
31703 ac_status=$?
31704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31705 (exit $ac_status); }; } &&
31706 { ac_try='test -s conftest.$ac_objext'
31707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31708 (eval $ac_try) 2>&5
31709 ac_status=$?
31710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31711 (exit $ac_status); }; }; then
31712 echo "$as_me:$LINENO: result: yes" >&5
31713 echo "${ECHO_T}yes" >&6
31714 cat >>confdefs.h <<\_ACEOF
31715 #define HAVE_KNOWN_CDROM_INTERFACE 1
31716 _ACEOF
31717
31718 else
31719 echo "$as_me: failed program was:" >&5
31720 sed 's/^/| /' conftest.$ac_ext >&5
31721
31722 echo "$as_me:$LINENO: result: no" >&5
31723 echo "${ECHO_T}no" >&6
31724 fi
31725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31726
31727
31728 cat >confcache <<\_ACEOF
31729 # This file is a shell script that caches the results of configure
31730 # tests run on this system so they can be shared between configure
31731 # scripts and configure runs, see configure's option --config-cache.
31732 # It is not useful on other systems. If it contains results you don't
31733 # want to keep, you may remove or edit it.
31734 #
31735 # config.status only pays attention to the cache file if you give it
31736 # the --recheck option to rerun configure.
31737 #
31738 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31739 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31740 # following values.
31741
31742 _ACEOF
31743
31744 # The following way of writing the cache mishandles newlines in values,
31745 # but we know of no workaround that is simple, portable, and efficient.
31746 # So, don't put newlines in cache variables' values.
31747 # Ultrix sh set writes to stderr and can't be redirected directly,
31748 # and sets the high bit in the cache file unless we assign to the vars.
31749 {
31750 (set) 2>&1 |
31751 case `(ac_space=' '; set | grep ac_space) 2>&1` in
31752 *ac_space=\ *)
31753 # `set' does not quote correctly, so add quotes (double-quote
31754 # substitution turns \\\\ into \\, and sed turns \\ into \).
31755 sed -n \
31756 "s/'/'\\\\''/g;
31757 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31758 ;;
31759 *)
31760 # `set' quotes correctly as required by POSIX, so do not add quotes.
31761 sed -n \
31762 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
31763 ;;
31764 esac;
31765 } |
31766 sed '
31767 t clear
31768 : clear
31769 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31770 t end
31771 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31772 : end' >>confcache
31773 if diff $cache_file confcache >/dev/null 2>&1; then :; else
31774 if test -w $cache_file; then
31775 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
31776 cat confcache >$cache_file
31777 else
31778 echo "not updating unwritable cache $cache_file"
31779 fi
31780 fi
31781 rm -f confcache
31782
31783
31784 CPP_MT_FLAG=
31785 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31786
31787
31788 THREADS_LINK=
31789 THREADS_CFLAGS=
31790
31791 if test "$wxUSE_THREADS" = "yes" ; then
31792 if test "$USE_BEOS" = 1; then
31793 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
31794 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31795 wxUSE_THREADS="no"
31796 fi
31797 fi
31798
31799 if test "$wxUSE_THREADS" = "yes" ; then
31800
31801
31802 THREAD_OPTS="-pthread"
31803 case "${host}" in
31804 *-*-solaris2* | *-*-sunos4* )
31805 if test "x$GCC" = "xyes"; then
31806 THREAD_OPTS="-pthreads $THREAD_OPTS"
31807 else
31808 THREAD_OPTS="-mt $THREAD_OPTS"
31809 fi
31810 ;;
31811 *-*-freebsd*)
31812 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
31813 ;;
31814 *-*-darwin* | *-*-cygwin* )
31815 THREAD_OPTS=""
31816 ;;
31817 *-*-aix*)
31818 THREAD_OPTS="pthreads"
31819 ;;
31820 *-hp-hpux* )
31821 if test "x$GCC" != "xyes"; then
31822 THREAD_OPTS=""
31823 fi
31824 ;;
31825
31826 *-*-irix* )
31827 if test "x$GCC" = "xyes"; then
31828 THREAD_OPTS=""
31829 fi
31830 ;;
31831
31832 *-*-*UnixWare*)
31833 if test "x$GCC" != "xyes"; then
31834 THREAD_OPTS="-Ethread"
31835 fi
31836 ;;
31837 esac
31838
31839 THREAD_OPTS="$THREAD_OPTS pthread none"
31840
31841 THREADS_OK=no
31842 for flag in $THREAD_OPTS; do
31843 case $flag in
31844 none)
31845 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
31846 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
31847 ;;
31848
31849 -*)
31850 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
31851 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
31852 THREADS_CFLAGS="$flag"
31853 ;;
31854
31855 *)
31856 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
31857 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
31858 THREADS_LINK="-l$flag"
31859 ;;
31860 esac
31861
31862 save_LIBS="$LIBS"
31863 save_CFLAGS="$CFLAGS"
31864 LIBS="$THREADS_LINK $LIBS"
31865 CFLAGS="$THREADS_CFLAGS $CFLAGS"
31866
31867 cat >conftest.$ac_ext <<_ACEOF
31868 /* confdefs.h. */
31869 _ACEOF
31870 cat confdefs.h >>conftest.$ac_ext
31871 cat >>conftest.$ac_ext <<_ACEOF
31872 /* end confdefs.h. */
31873 #include <pthread.h>
31874 int
31875 main ()
31876 {
31877 pthread_create(0,0,0,0);
31878 ;
31879 return 0;
31880 }
31881 _ACEOF
31882 rm -f conftest.$ac_objext conftest$ac_exeext
31883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31884 (eval $ac_link) 2>conftest.er1
31885 ac_status=$?
31886 grep -v '^ *+' conftest.er1 >conftest.err
31887 rm -f conftest.er1
31888 cat conftest.err >&5
31889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31890 (exit $ac_status); } &&
31891 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31893 (eval $ac_try) 2>&5
31894 ac_status=$?
31895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31896 (exit $ac_status); }; } &&
31897 { ac_try='test -s conftest$ac_exeext'
31898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31899 (eval $ac_try) 2>&5
31900 ac_status=$?
31901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31902 (exit $ac_status); }; }; then
31903 THREADS_OK=yes
31904 else
31905 echo "$as_me: failed program was:" >&5
31906 sed 's/^/| /' conftest.$ac_ext >&5
31907
31908 fi
31909 rm -f conftest.err conftest.$ac_objext \
31910 conftest$ac_exeext conftest.$ac_ext
31911
31912 LIBS="$save_LIBS"
31913 CFLAGS="$save_CFLAGS"
31914
31915 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
31916 echo "${ECHO_T}$THREADS_OK" >&6
31917 if test "x$THREADS_OK" = "xyes"; then
31918 break;
31919 fi
31920
31921 THREADS_LINK=""
31922 THREADS_CFLAGS=""
31923 done
31924
31925 if test "x$THREADS_OK" != "xyes"; then
31926 wxUSE_THREADS=no
31927 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
31928 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
31929 else
31930 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
31931 LIBS="$THREADS_LINK $LIBS"
31932
31933 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
31934 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
31935 flag=no
31936 case "${host}" in
31937 *-aix*)
31938 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
31939 flag="-D_THREAD_SAFE"
31940 ;;
31941 *-freebsd*)
31942 flag="-D_THREAD_SAFE"
31943 ;;
31944 *-hp-hpux* )
31945 flag="-D_REENTRANT"
31946 if test "x$GCC" != "xyes"; then
31947 flag="$flag -D_RWSTD_MULTI_THREAD"
31948
31949 LIBS="$LIBS -lcma"
31950 fi
31951 ;;
31952 *solaris* | alpha*-osf*)
31953 flag="-D_REENTRANT"
31954 ;;
31955 esac
31956 echo "$as_me:$LINENO: result: ${flag}" >&5
31957 echo "${ECHO_T}${flag}" >&6
31958 if test "x$flag" != xno; then
31959 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
31960 fi
31961
31962 if test "x$THREADS_CFLAGS" != "x"; then
31963 CFLAGS="$CFLAGS $THREADS_CFLAGS"
31964 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
31965 fi
31966 fi
31967 fi
31968
31969 if test "$wxUSE_THREADS" = "yes" ; then
31970
31971 for ac_func in thr_setconcurrency
31972 do
31973 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31974 echo "$as_me:$LINENO: checking for $ac_func" >&5
31975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31976 if eval "test \"\${$as_ac_var+set}\" = set"; then
31977 echo $ECHO_N "(cached) $ECHO_C" >&6
31978 else
31979 cat >conftest.$ac_ext <<_ACEOF
31980 /* confdefs.h. */
31981 _ACEOF
31982 cat confdefs.h >>conftest.$ac_ext
31983 cat >>conftest.$ac_ext <<_ACEOF
31984 /* end confdefs.h. */
31985 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31987 #define $ac_func innocuous_$ac_func
31988
31989 /* System header to define __stub macros and hopefully few prototypes,
31990 which can conflict with char $ac_func (); below.
31991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31992 <limits.h> exists even on freestanding compilers. */
31993
31994 #ifdef __STDC__
31995 # include <limits.h>
31996 #else
31997 # include <assert.h>
31998 #endif
31999
32000 #undef $ac_func
32001
32002 /* Override any gcc2 internal prototype to avoid an error. */
32003 #ifdef __cplusplus
32004 extern "C"
32005 {
32006 #endif
32007 /* We use char because int might match the return type of a gcc2
32008 builtin and then its argument prototype would still apply. */
32009 char $ac_func ();
32010 /* The GNU C library defines this for functions which it implements
32011 to always fail with ENOSYS. Some functions are actually named
32012 something starting with __ and the normal name is an alias. */
32013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32014 choke me
32015 #else
32016 char (*f) () = $ac_func;
32017 #endif
32018 #ifdef __cplusplus
32019 }
32020 #endif
32021
32022 int
32023 main ()
32024 {
32025 return f != $ac_func;
32026 ;
32027 return 0;
32028 }
32029 _ACEOF
32030 rm -f conftest.$ac_objext conftest$ac_exeext
32031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32032 (eval $ac_link) 2>conftest.er1
32033 ac_status=$?
32034 grep -v '^ *+' conftest.er1 >conftest.err
32035 rm -f conftest.er1
32036 cat conftest.err >&5
32037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32038 (exit $ac_status); } &&
32039 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32041 (eval $ac_try) 2>&5
32042 ac_status=$?
32043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32044 (exit $ac_status); }; } &&
32045 { ac_try='test -s conftest$ac_exeext'
32046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32047 (eval $ac_try) 2>&5
32048 ac_status=$?
32049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32050 (exit $ac_status); }; }; then
32051 eval "$as_ac_var=yes"
32052 else
32053 echo "$as_me: failed program was:" >&5
32054 sed 's/^/| /' conftest.$ac_ext >&5
32055
32056 eval "$as_ac_var=no"
32057 fi
32058 rm -f conftest.err conftest.$ac_objext \
32059 conftest$ac_exeext conftest.$ac_ext
32060 fi
32061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32063 if test `eval echo '${'$as_ac_var'}'` = yes; then
32064 cat >>confdefs.h <<_ACEOF
32065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32066 _ACEOF
32067
32068 fi
32069 done
32070
32071
32072
32073 for ac_header in sched.h
32074 do
32075 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32076 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32077 echo "$as_me:$LINENO: checking for $ac_header" >&5
32078 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32079 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32080 echo $ECHO_N "(cached) $ECHO_C" >&6
32081 fi
32082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32083 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32084 else
32085 # Is the header compilable?
32086 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32087 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32088 cat >conftest.$ac_ext <<_ACEOF
32089 /* confdefs.h. */
32090 _ACEOF
32091 cat confdefs.h >>conftest.$ac_ext
32092 cat >>conftest.$ac_ext <<_ACEOF
32093 /* end confdefs.h. */
32094 $ac_includes_default
32095 #include <$ac_header>
32096 _ACEOF
32097 rm -f conftest.$ac_objext
32098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32099 (eval $ac_compile) 2>conftest.er1
32100 ac_status=$?
32101 grep -v '^ *+' conftest.er1 >conftest.err
32102 rm -f conftest.er1
32103 cat conftest.err >&5
32104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32105 (exit $ac_status); } &&
32106 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32108 (eval $ac_try) 2>&5
32109 ac_status=$?
32110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32111 (exit $ac_status); }; } &&
32112 { ac_try='test -s conftest.$ac_objext'
32113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32114 (eval $ac_try) 2>&5
32115 ac_status=$?
32116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32117 (exit $ac_status); }; }; then
32118 ac_header_compiler=yes
32119 else
32120 echo "$as_me: failed program was:" >&5
32121 sed 's/^/| /' conftest.$ac_ext >&5
32122
32123 ac_header_compiler=no
32124 fi
32125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32126 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32127 echo "${ECHO_T}$ac_header_compiler" >&6
32128
32129 # Is the header present?
32130 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32131 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32132 cat >conftest.$ac_ext <<_ACEOF
32133 /* confdefs.h. */
32134 _ACEOF
32135 cat confdefs.h >>conftest.$ac_ext
32136 cat >>conftest.$ac_ext <<_ACEOF
32137 /* end confdefs.h. */
32138 #include <$ac_header>
32139 _ACEOF
32140 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32141 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32142 ac_status=$?
32143 grep -v '^ *+' conftest.er1 >conftest.err
32144 rm -f conftest.er1
32145 cat conftest.err >&5
32146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32147 (exit $ac_status); } >/dev/null; then
32148 if test -s conftest.err; then
32149 ac_cpp_err=$ac_c_preproc_warn_flag
32150 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32151 else
32152 ac_cpp_err=
32153 fi
32154 else
32155 ac_cpp_err=yes
32156 fi
32157 if test -z "$ac_cpp_err"; then
32158 ac_header_preproc=yes
32159 else
32160 echo "$as_me: failed program was:" >&5
32161 sed 's/^/| /' conftest.$ac_ext >&5
32162
32163 ac_header_preproc=no
32164 fi
32165 rm -f conftest.err conftest.$ac_ext
32166 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32167 echo "${ECHO_T}$ac_header_preproc" >&6
32168
32169 # So? What about this header?
32170 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32171 yes:no: )
32172 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32173 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32174 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32175 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32176 ac_header_preproc=yes
32177 ;;
32178 no:yes:* )
32179 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32180 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32181 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32182 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32183 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32184 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32185 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32186 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32187 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32188 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32189 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32190 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32191 (
32192 cat <<\_ASBOX
32193 ## ----------------------------------------- ##
32194 ## Report this to wx-dev@lists.wxwidgets.org ##
32195 ## ----------------------------------------- ##
32196 _ASBOX
32197 ) |
32198 sed "s/^/$as_me: WARNING: /" >&2
32199 ;;
32200 esac
32201 echo "$as_me:$LINENO: checking for $ac_header" >&5
32202 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32203 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32204 echo $ECHO_N "(cached) $ECHO_C" >&6
32205 else
32206 eval "$as_ac_Header=\$ac_header_preproc"
32207 fi
32208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32209 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32210
32211 fi
32212 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32213 cat >>confdefs.h <<_ACEOF
32214 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32215 _ACEOF
32216
32217 fi
32218
32219 done
32220
32221 if test "$ac_cv_header_sched_h" = "yes"; then
32222 echo "$as_me:$LINENO: checking for sched_yield" >&5
32223 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
32224 if test "${ac_cv_func_sched_yield+set}" = set; then
32225 echo $ECHO_N "(cached) $ECHO_C" >&6
32226 else
32227 cat >conftest.$ac_ext <<_ACEOF
32228 /* confdefs.h. */
32229 _ACEOF
32230 cat confdefs.h >>conftest.$ac_ext
32231 cat >>conftest.$ac_ext <<_ACEOF
32232 /* end confdefs.h. */
32233 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
32234 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32235 #define sched_yield innocuous_sched_yield
32236
32237 /* System header to define __stub macros and hopefully few prototypes,
32238 which can conflict with char sched_yield (); below.
32239 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32240 <limits.h> exists even on freestanding compilers. */
32241
32242 #ifdef __STDC__
32243 # include <limits.h>
32244 #else
32245 # include <assert.h>
32246 #endif
32247
32248 #undef sched_yield
32249
32250 /* Override any gcc2 internal prototype to avoid an error. */
32251 #ifdef __cplusplus
32252 extern "C"
32253 {
32254 #endif
32255 /* We use char because int might match the return type of a gcc2
32256 builtin and then its argument prototype would still apply. */
32257 char sched_yield ();
32258 /* The GNU C library defines this for functions which it implements
32259 to always fail with ENOSYS. Some functions are actually named
32260 something starting with __ and the normal name is an alias. */
32261 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
32262 choke me
32263 #else
32264 char (*f) () = sched_yield;
32265 #endif
32266 #ifdef __cplusplus
32267 }
32268 #endif
32269
32270 int
32271 main ()
32272 {
32273 return f != sched_yield;
32274 ;
32275 return 0;
32276 }
32277 _ACEOF
32278 rm -f conftest.$ac_objext conftest$ac_exeext
32279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32280 (eval $ac_link) 2>conftest.er1
32281 ac_status=$?
32282 grep -v '^ *+' conftest.er1 >conftest.err
32283 rm -f conftest.er1
32284 cat conftest.err >&5
32285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32286 (exit $ac_status); } &&
32287 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32289 (eval $ac_try) 2>&5
32290 ac_status=$?
32291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32292 (exit $ac_status); }; } &&
32293 { ac_try='test -s conftest$ac_exeext'
32294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32295 (eval $ac_try) 2>&5
32296 ac_status=$?
32297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32298 (exit $ac_status); }; }; then
32299 ac_cv_func_sched_yield=yes
32300 else
32301 echo "$as_me: failed program was:" >&5
32302 sed 's/^/| /' conftest.$ac_ext >&5
32303
32304 ac_cv_func_sched_yield=no
32305 fi
32306 rm -f conftest.err conftest.$ac_objext \
32307 conftest$ac_exeext conftest.$ac_ext
32308 fi
32309 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
32310 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
32311 if test $ac_cv_func_sched_yield = yes; then
32312 cat >>confdefs.h <<\_ACEOF
32313 #define HAVE_SCHED_YIELD 1
32314 _ACEOF
32315
32316 else
32317
32318 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
32319 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
32320 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
32321 echo $ECHO_N "(cached) $ECHO_C" >&6
32322 else
32323 ac_check_lib_save_LIBS=$LIBS
32324 LIBS="-lposix4 $LIBS"
32325 cat >conftest.$ac_ext <<_ACEOF
32326 /* confdefs.h. */
32327 _ACEOF
32328 cat confdefs.h >>conftest.$ac_ext
32329 cat >>conftest.$ac_ext <<_ACEOF
32330 /* end confdefs.h. */
32331
32332 /* Override any gcc2 internal prototype to avoid an error. */
32333 #ifdef __cplusplus
32334 extern "C"
32335 #endif
32336 /* We use char because int might match the return type of a gcc2
32337 builtin and then its argument prototype would still apply. */
32338 char sched_yield ();
32339 int
32340 main ()
32341 {
32342 sched_yield ();
32343 ;
32344 return 0;
32345 }
32346 _ACEOF
32347 rm -f conftest.$ac_objext conftest$ac_exeext
32348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32349 (eval $ac_link) 2>conftest.er1
32350 ac_status=$?
32351 grep -v '^ *+' conftest.er1 >conftest.err
32352 rm -f conftest.er1
32353 cat conftest.err >&5
32354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32355 (exit $ac_status); } &&
32356 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32358 (eval $ac_try) 2>&5
32359 ac_status=$?
32360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32361 (exit $ac_status); }; } &&
32362 { ac_try='test -s conftest$ac_exeext'
32363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32364 (eval $ac_try) 2>&5
32365 ac_status=$?
32366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32367 (exit $ac_status); }; }; then
32368 ac_cv_lib_posix4_sched_yield=yes
32369 else
32370 echo "$as_me: failed program was:" >&5
32371 sed 's/^/| /' conftest.$ac_ext >&5
32372
32373 ac_cv_lib_posix4_sched_yield=no
32374 fi
32375 rm -f conftest.err conftest.$ac_objext \
32376 conftest$ac_exeext conftest.$ac_ext
32377 LIBS=$ac_check_lib_save_LIBS
32378 fi
32379 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
32380 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
32381 if test $ac_cv_lib_posix4_sched_yield = yes; then
32382 cat >>confdefs.h <<\_ACEOF
32383 #define HAVE_SCHED_YIELD 1
32384 _ACEOF
32385 POSIX4_LINK=" -lposix4"
32386 else
32387 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
32388 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32389
32390 fi
32391
32392
32393
32394 fi
32395
32396 fi
32397
32398 HAVE_PRIOR_FUNCS=0
32399 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
32400 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
32401 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
32402 echo $ECHO_N "(cached) $ECHO_C" >&6
32403 else
32404 cat >conftest.$ac_ext <<_ACEOF
32405 /* confdefs.h. */
32406 _ACEOF
32407 cat confdefs.h >>conftest.$ac_ext
32408 cat >>conftest.$ac_ext <<_ACEOF
32409 /* end confdefs.h. */
32410 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
32411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32412 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
32413
32414 /* System header to define __stub macros and hopefully few prototypes,
32415 which can conflict with char pthread_attr_getschedpolicy (); below.
32416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32417 <limits.h> exists even on freestanding compilers. */
32418
32419 #ifdef __STDC__
32420 # include <limits.h>
32421 #else
32422 # include <assert.h>
32423 #endif
32424
32425 #undef pthread_attr_getschedpolicy
32426
32427 /* Override any gcc2 internal prototype to avoid an error. */
32428 #ifdef __cplusplus
32429 extern "C"
32430 {
32431 #endif
32432 /* We use char because int might match the return type of a gcc2
32433 builtin and then its argument prototype would still apply. */
32434 char pthread_attr_getschedpolicy ();
32435 /* The GNU C library defines this for functions which it implements
32436 to always fail with ENOSYS. Some functions are actually named
32437 something starting with __ and the normal name is an alias. */
32438 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
32439 choke me
32440 #else
32441 char (*f) () = pthread_attr_getschedpolicy;
32442 #endif
32443 #ifdef __cplusplus
32444 }
32445 #endif
32446
32447 int
32448 main ()
32449 {
32450 return f != pthread_attr_getschedpolicy;
32451 ;
32452 return 0;
32453 }
32454 _ACEOF
32455 rm -f conftest.$ac_objext conftest$ac_exeext
32456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32457 (eval $ac_link) 2>conftest.er1
32458 ac_status=$?
32459 grep -v '^ *+' conftest.er1 >conftest.err
32460 rm -f conftest.er1
32461 cat conftest.err >&5
32462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32463 (exit $ac_status); } &&
32464 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32466 (eval $ac_try) 2>&5
32467 ac_status=$?
32468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32469 (exit $ac_status); }; } &&
32470 { ac_try='test -s conftest$ac_exeext'
32471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32472 (eval $ac_try) 2>&5
32473 ac_status=$?
32474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32475 (exit $ac_status); }; }; then
32476 ac_cv_func_pthread_attr_getschedpolicy=yes
32477 else
32478 echo "$as_me: failed program was:" >&5
32479 sed 's/^/| /' conftest.$ac_ext >&5
32480
32481 ac_cv_func_pthread_attr_getschedpolicy=no
32482 fi
32483 rm -f conftest.err conftest.$ac_objext \
32484 conftest$ac_exeext conftest.$ac_ext
32485 fi
32486 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
32487 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
32488 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
32489 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
32490 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
32491 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
32492 echo $ECHO_N "(cached) $ECHO_C" >&6
32493 else
32494 cat >conftest.$ac_ext <<_ACEOF
32495 /* confdefs.h. */
32496 _ACEOF
32497 cat confdefs.h >>conftest.$ac_ext
32498 cat >>conftest.$ac_ext <<_ACEOF
32499 /* end confdefs.h. */
32500 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
32501 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32502 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
32503
32504 /* System header to define __stub macros and hopefully few prototypes,
32505 which can conflict with char pthread_attr_setschedparam (); below.
32506 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32507 <limits.h> exists even on freestanding compilers. */
32508
32509 #ifdef __STDC__
32510 # include <limits.h>
32511 #else
32512 # include <assert.h>
32513 #endif
32514
32515 #undef pthread_attr_setschedparam
32516
32517 /* Override any gcc2 internal prototype to avoid an error. */
32518 #ifdef __cplusplus
32519 extern "C"
32520 {
32521 #endif
32522 /* We use char because int might match the return type of a gcc2
32523 builtin and then its argument prototype would still apply. */
32524 char pthread_attr_setschedparam ();
32525 /* The GNU C library defines this for functions which it implements
32526 to always fail with ENOSYS. Some functions are actually named
32527 something starting with __ and the normal name is an alias. */
32528 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
32529 choke me
32530 #else
32531 char (*f) () = pthread_attr_setschedparam;
32532 #endif
32533 #ifdef __cplusplus
32534 }
32535 #endif
32536
32537 int
32538 main ()
32539 {
32540 return f != pthread_attr_setschedparam;
32541 ;
32542 return 0;
32543 }
32544 _ACEOF
32545 rm -f conftest.$ac_objext conftest$ac_exeext
32546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32547 (eval $ac_link) 2>conftest.er1
32548 ac_status=$?
32549 grep -v '^ *+' conftest.er1 >conftest.err
32550 rm -f conftest.er1
32551 cat conftest.err >&5
32552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32553 (exit $ac_status); } &&
32554 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32556 (eval $ac_try) 2>&5
32557 ac_status=$?
32558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32559 (exit $ac_status); }; } &&
32560 { ac_try='test -s conftest$ac_exeext'
32561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32562 (eval $ac_try) 2>&5
32563 ac_status=$?
32564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32565 (exit $ac_status); }; }; then
32566 ac_cv_func_pthread_attr_setschedparam=yes
32567 else
32568 echo "$as_me: failed program was:" >&5
32569 sed 's/^/| /' conftest.$ac_ext >&5
32570
32571 ac_cv_func_pthread_attr_setschedparam=no
32572 fi
32573 rm -f conftest.err conftest.$ac_objext \
32574 conftest$ac_exeext conftest.$ac_ext
32575 fi
32576 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
32577 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
32578 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
32579 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
32580 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
32581 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
32582 echo $ECHO_N "(cached) $ECHO_C" >&6
32583 else
32584 cat >conftest.$ac_ext <<_ACEOF
32585 /* confdefs.h. */
32586 _ACEOF
32587 cat confdefs.h >>conftest.$ac_ext
32588 cat >>conftest.$ac_ext <<_ACEOF
32589 /* end confdefs.h. */
32590 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
32591 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32592 #define sched_get_priority_max innocuous_sched_get_priority_max
32593
32594 /* System header to define __stub macros and hopefully few prototypes,
32595 which can conflict with char sched_get_priority_max (); below.
32596 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32597 <limits.h> exists even on freestanding compilers. */
32598
32599 #ifdef __STDC__
32600 # include <limits.h>
32601 #else
32602 # include <assert.h>
32603 #endif
32604
32605 #undef sched_get_priority_max
32606
32607 /* Override any gcc2 internal prototype to avoid an error. */
32608 #ifdef __cplusplus
32609 extern "C"
32610 {
32611 #endif
32612 /* We use char because int might match the return type of a gcc2
32613 builtin and then its argument prototype would still apply. */
32614 char sched_get_priority_max ();
32615 /* The GNU C library defines this for functions which it implements
32616 to always fail with ENOSYS. Some functions are actually named
32617 something starting with __ and the normal name is an alias. */
32618 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
32619 choke me
32620 #else
32621 char (*f) () = sched_get_priority_max;
32622 #endif
32623 #ifdef __cplusplus
32624 }
32625 #endif
32626
32627 int
32628 main ()
32629 {
32630 return f != sched_get_priority_max;
32631 ;
32632 return 0;
32633 }
32634 _ACEOF
32635 rm -f conftest.$ac_objext conftest$ac_exeext
32636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32637 (eval $ac_link) 2>conftest.er1
32638 ac_status=$?
32639 grep -v '^ *+' conftest.er1 >conftest.err
32640 rm -f conftest.er1
32641 cat conftest.err >&5
32642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32643 (exit $ac_status); } &&
32644 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32646 (eval $ac_try) 2>&5
32647 ac_status=$?
32648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32649 (exit $ac_status); }; } &&
32650 { ac_try='test -s conftest$ac_exeext'
32651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32652 (eval $ac_try) 2>&5
32653 ac_status=$?
32654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32655 (exit $ac_status); }; }; then
32656 ac_cv_func_sched_get_priority_max=yes
32657 else
32658 echo "$as_me: failed program was:" >&5
32659 sed 's/^/| /' conftest.$ac_ext >&5
32660
32661 ac_cv_func_sched_get_priority_max=no
32662 fi
32663 rm -f conftest.err conftest.$ac_objext \
32664 conftest$ac_exeext conftest.$ac_ext
32665 fi
32666 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
32667 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
32668 if test $ac_cv_func_sched_get_priority_max = yes; then
32669 HAVE_PRIOR_FUNCS=1
32670 else
32671 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
32672 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
32673 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
32674 echo $ECHO_N "(cached) $ECHO_C" >&6
32675 else
32676 ac_check_lib_save_LIBS=$LIBS
32677 LIBS="-lposix4 $LIBS"
32678 cat >conftest.$ac_ext <<_ACEOF
32679 /* confdefs.h. */
32680 _ACEOF
32681 cat confdefs.h >>conftest.$ac_ext
32682 cat >>conftest.$ac_ext <<_ACEOF
32683 /* end confdefs.h. */
32684
32685 /* Override any gcc2 internal prototype to avoid an error. */
32686 #ifdef __cplusplus
32687 extern "C"
32688 #endif
32689 /* We use char because int might match the return type of a gcc2
32690 builtin and then its argument prototype would still apply. */
32691 char sched_get_priority_max ();
32692 int
32693 main ()
32694 {
32695 sched_get_priority_max ();
32696 ;
32697 return 0;
32698 }
32699 _ACEOF
32700 rm -f conftest.$ac_objext conftest$ac_exeext
32701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32702 (eval $ac_link) 2>conftest.er1
32703 ac_status=$?
32704 grep -v '^ *+' conftest.er1 >conftest.err
32705 rm -f conftest.er1
32706 cat conftest.err >&5
32707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32708 (exit $ac_status); } &&
32709 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32711 (eval $ac_try) 2>&5
32712 ac_status=$?
32713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32714 (exit $ac_status); }; } &&
32715 { ac_try='test -s conftest$ac_exeext'
32716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32717 (eval $ac_try) 2>&5
32718 ac_status=$?
32719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32720 (exit $ac_status); }; }; then
32721 ac_cv_lib_posix4_sched_get_priority_max=yes
32722 else
32723 echo "$as_me: failed program was:" >&5
32724 sed 's/^/| /' conftest.$ac_ext >&5
32725
32726 ac_cv_lib_posix4_sched_get_priority_max=no
32727 fi
32728 rm -f conftest.err conftest.$ac_objext \
32729 conftest$ac_exeext conftest.$ac_ext
32730 LIBS=$ac_check_lib_save_LIBS
32731 fi
32732 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32733 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
32734 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
32735
32736 HAVE_PRIOR_FUNCS=1
32737 POSIX4_LINK=" -lposix4"
32738
32739 fi
32740
32741
32742 fi
32743
32744
32745 fi
32746
32747
32748 fi
32749
32750
32751 if test "$HAVE_PRIOR_FUNCS" = 1; then
32752 cat >>confdefs.h <<\_ACEOF
32753 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
32754 _ACEOF
32755
32756 else
32757 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
32758 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32759 fi
32760
32761 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
32762 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
32763 if test "${ac_cv_func_pthread_cancel+set}" = set; then
32764 echo $ECHO_N "(cached) $ECHO_C" >&6
32765 else
32766 cat >conftest.$ac_ext <<_ACEOF
32767 /* confdefs.h. */
32768 _ACEOF
32769 cat confdefs.h >>conftest.$ac_ext
32770 cat >>conftest.$ac_ext <<_ACEOF
32771 /* end confdefs.h. */
32772 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
32773 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32774 #define pthread_cancel innocuous_pthread_cancel
32775
32776 /* System header to define __stub macros and hopefully few prototypes,
32777 which can conflict with char pthread_cancel (); below.
32778 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32779 <limits.h> exists even on freestanding compilers. */
32780
32781 #ifdef __STDC__
32782 # include <limits.h>
32783 #else
32784 # include <assert.h>
32785 #endif
32786
32787 #undef pthread_cancel
32788
32789 /* Override any gcc2 internal prototype to avoid an error. */
32790 #ifdef __cplusplus
32791 extern "C"
32792 {
32793 #endif
32794 /* We use char because int might match the return type of a gcc2
32795 builtin and then its argument prototype would still apply. */
32796 char pthread_cancel ();
32797 /* The GNU C library defines this for functions which it implements
32798 to always fail with ENOSYS. Some functions are actually named
32799 something starting with __ and the normal name is an alias. */
32800 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
32801 choke me
32802 #else
32803 char (*f) () = pthread_cancel;
32804 #endif
32805 #ifdef __cplusplus
32806 }
32807 #endif
32808
32809 int
32810 main ()
32811 {
32812 return f != pthread_cancel;
32813 ;
32814 return 0;
32815 }
32816 _ACEOF
32817 rm -f conftest.$ac_objext conftest$ac_exeext
32818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32819 (eval $ac_link) 2>conftest.er1
32820 ac_status=$?
32821 grep -v '^ *+' conftest.er1 >conftest.err
32822 rm -f conftest.er1
32823 cat conftest.err >&5
32824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32825 (exit $ac_status); } &&
32826 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32828 (eval $ac_try) 2>&5
32829 ac_status=$?
32830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32831 (exit $ac_status); }; } &&
32832 { ac_try='test -s conftest$ac_exeext'
32833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32834 (eval $ac_try) 2>&5
32835 ac_status=$?
32836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32837 (exit $ac_status); }; }; then
32838 ac_cv_func_pthread_cancel=yes
32839 else
32840 echo "$as_me: failed program was:" >&5
32841 sed 's/^/| /' conftest.$ac_ext >&5
32842
32843 ac_cv_func_pthread_cancel=no
32844 fi
32845 rm -f conftest.err conftest.$ac_objext \
32846 conftest$ac_exeext conftest.$ac_ext
32847 fi
32848 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
32849 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
32850 if test $ac_cv_func_pthread_cancel = yes; then
32851 cat >>confdefs.h <<\_ACEOF
32852 #define HAVE_PTHREAD_CANCEL 1
32853 _ACEOF
32854
32855 else
32856 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
32857 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32858 fi
32859
32860
32861
32862
32863 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
32864 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
32865 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
32866 echo $ECHO_N "(cached) $ECHO_C" >&6
32867 else
32868
32869 cat >conftest.$ac_ext <<_ACEOF
32870 /* confdefs.h. */
32871 _ACEOF
32872 cat confdefs.h >>conftest.$ac_ext
32873 cat >>conftest.$ac_ext <<_ACEOF
32874 /* end confdefs.h. */
32875 #include <pthread.h>
32876 int
32877 main ()
32878 {
32879
32880 pthread_mutexattr_t attr;
32881 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32882
32883 ;
32884 return 0;
32885 }
32886 _ACEOF
32887 rm -f conftest.$ac_objext
32888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32889 (eval $ac_compile) 2>conftest.er1
32890 ac_status=$?
32891 grep -v '^ *+' conftest.er1 >conftest.err
32892 rm -f conftest.er1
32893 cat conftest.err >&5
32894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32895 (exit $ac_status); } &&
32896 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32898 (eval $ac_try) 2>&5
32899 ac_status=$?
32900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32901 (exit $ac_status); }; } &&
32902 { ac_try='test -s conftest.$ac_objext'
32903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32904 (eval $ac_try) 2>&5
32905 ac_status=$?
32906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32907 (exit $ac_status); }; }; then
32908
32909 wx_cv_type_pthread_mutexattr_t=yes
32910
32911 else
32912 echo "$as_me: failed program was:" >&5
32913 sed 's/^/| /' conftest.$ac_ext >&5
32914
32915
32916 wx_cv_type_pthread_mutexattr_t=no
32917
32918
32919 fi
32920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32921
32922 fi
32923 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
32924 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
32925
32926 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32927 cat >>confdefs.h <<\_ACEOF
32928 #define HAVE_PTHREAD_MUTEXATTR_T 1
32929 _ACEOF
32930
32931 else
32932 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32933 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
32934 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
32935 echo $ECHO_N "(cached) $ECHO_C" >&6
32936 else
32937
32938 cat >conftest.$ac_ext <<_ACEOF
32939 /* confdefs.h. */
32940 _ACEOF
32941 cat confdefs.h >>conftest.$ac_ext
32942 cat >>conftest.$ac_ext <<_ACEOF
32943 /* end confdefs.h. */
32944 #include <pthread.h>
32945 int
32946 main ()
32947 {
32948
32949 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32950
32951 ;
32952 return 0;
32953 }
32954 _ACEOF
32955 rm -f conftest.$ac_objext
32956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32957 (eval $ac_compile) 2>conftest.er1
32958 ac_status=$?
32959 grep -v '^ *+' conftest.er1 >conftest.err
32960 rm -f conftest.er1
32961 cat conftest.err >&5
32962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32963 (exit $ac_status); } &&
32964 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32966 (eval $ac_try) 2>&5
32967 ac_status=$?
32968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32969 (exit $ac_status); }; } &&
32970 { ac_try='test -s conftest.$ac_objext'
32971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32972 (eval $ac_try) 2>&5
32973 ac_status=$?
32974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32975 (exit $ac_status); }; }; then
32976
32977 wx_cv_type_pthread_rec_mutex_init=yes
32978
32979 else
32980 echo "$as_me: failed program was:" >&5
32981 sed 's/^/| /' conftest.$ac_ext >&5
32982
32983
32984 wx_cv_type_pthread_rec_mutex_init=no
32985
32986
32987 fi
32988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32989
32990 fi
32991 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32992 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
32993 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32994 cat >>confdefs.h <<\_ACEOF
32995 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
32996 _ACEOF
32997
32998 else
32999 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
33000 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
33001 fi
33002 fi
33003 fi
33004
33005 else
33006 if test "$wxUSE_THREADS" = "yes" ; then
33007 case "${host}" in
33008 *-*-mingw32* )
33009 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
33010 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
33011 if test "${wx_cv_cflags_mthread+set}" = set; then
33012 echo $ECHO_N "(cached) $ECHO_C" >&6
33013 else
33014
33015 CFLAGS_OLD="$CFLAGS"
33016 CFLAGS="$CFLAGS -mthreads"
33017 cat >conftest.$ac_ext <<_ACEOF
33018 /* confdefs.h. */
33019 _ACEOF
33020 cat confdefs.h >>conftest.$ac_ext
33021 cat >>conftest.$ac_ext <<_ACEOF
33022 /* end confdefs.h. */
33023
33024 int
33025 main ()
33026 {
33027
33028 ;
33029 return 0;
33030 }
33031 _ACEOF
33032 rm -f conftest.$ac_objext
33033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33034 (eval $ac_compile) 2>conftest.er1
33035 ac_status=$?
33036 grep -v '^ *+' conftest.er1 >conftest.err
33037 rm -f conftest.er1
33038 cat conftest.err >&5
33039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33040 (exit $ac_status); } &&
33041 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33043 (eval $ac_try) 2>&5
33044 ac_status=$?
33045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33046 (exit $ac_status); }; } &&
33047 { ac_try='test -s conftest.$ac_objext'
33048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33049 (eval $ac_try) 2>&5
33050 ac_status=$?
33051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33052 (exit $ac_status); }; }; then
33053 wx_cv_cflags_mthread=yes
33054 else
33055 echo "$as_me: failed program was:" >&5
33056 sed 's/^/| /' conftest.$ac_ext >&5
33057
33058 wx_cv_cflags_mthread=no
33059
33060 fi
33061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33062
33063
33064 fi
33065 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
33066 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
33067
33068 if test "$wx_cv_cflags_mthread" = "yes"; then
33069 CXXFLAGS="$CXXFLAGS -mthreads"
33070 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
33071 LDFLAGS="$LDFLAGS -mthreads"
33072 else
33073 CFLAGS="$CFLAGS_OLD"
33074 fi
33075 ;;
33076 *-pc-os2*emx )
33077 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
33078 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
33079 LDFLAGS="$LDFLAGS -Zmt"
33080 ;;
33081 esac
33082 fi
33083 fi
33084
33085 if test "$wxUSE_THREADS" = "yes"; then
33086 cat >>confdefs.h <<\_ACEOF
33087 #define wxUSE_THREADS 1
33088 _ACEOF
33089
33090
33091 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
33092 else
33093 if test "$ac_cv_func_strtok_r" = "yes"; then
33094 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
33095 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
33096 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33097 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
33098 echo "$as_me:$LINENO: result: yes" >&5
33099 echo "${ECHO_T}yes" >&6
33100 else
33101 echo "$as_me:$LINENO: result: no" >&5
33102 echo "${ECHO_T}no" >&6
33103 fi
33104 fi
33105 fi
33106
33107 if test "$WXGTK20" = 1 ; then
33108 cat >>confdefs.h <<_ACEOF
33109 #define __WXGTK20__ $WXGTK20
33110 _ACEOF
33111
33112 WXGTK12=1
33113 fi
33114
33115 if test "$WXGTK12" = 1 ; then
33116 cat >>confdefs.h <<_ACEOF
33117 #define __WXGTK12__ $WXGTK12
33118 _ACEOF
33119
33120 fi
33121
33122 if test "$WXGTK127" = 1 ; then
33123 cat >>confdefs.h <<_ACEOF
33124 #define __WXGTK127__ $WXGTK127
33125 _ACEOF
33126
33127 fi
33128
33129 if test "$WXGPE" = 1 ; then
33130 cat >>confdefs.h <<_ACEOF
33131 #define __WXGPE__ $WXGPE
33132 _ACEOF
33133
33134 fi
33135
33136 WXDEBUG=
33137
33138 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
33139 WXDEBUG="-g"
33140 wxUSE_OPTIMISE=no
33141 fi
33142
33143 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33144 wxUSE_DEBUG_INFO=yes
33145 WXDEBUG="-ggdb"
33146 fi
33147
33148 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
33149 cat >>confdefs.h <<\_ACEOF
33150 #define WXDEBUG 1
33151 _ACEOF
33152
33153 WXDEBUG_DEFINE="-D__WXDEBUG__"
33154 else
33155 if test "$wxUSE_GTK" = 1 ; then
33156 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
33157 fi
33158 fi
33159
33160 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33161 cat >>confdefs.h <<\_ACEOF
33162 #define wxUSE_MEMORY_TRACING 1
33163 _ACEOF
33164
33165 cat >>confdefs.h <<\_ACEOF
33166 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
33167 _ACEOF
33168
33169 cat >>confdefs.h <<\_ACEOF
33170 #define wxUSE_DEBUG_NEW_ALWAYS 1
33171 _ACEOF
33172
33173 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
33174 fi
33175
33176 if test "$wxUSE_DMALLOC" = "yes" ; then
33177 DMALLOC_LIBS="-ldmalloc"
33178 fi
33179
33180 PROFILE=
33181 if test "$wxUSE_PROFILE" = "yes" ; then
33182 PROFILE=" -pg"
33183 fi
33184
33185 CODE_GEN_FLAGS=
33186 CODE_GEN_FLAGS_CXX=
33187 if test "$GCC" = "yes" ; then
33188 if test "$wxUSE_NO_RTTI" = "yes" ; then
33189 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
33190 fi
33191 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33192 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
33193 fi
33194 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33195 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
33196 fi
33197
33198 case "${host}" in
33199 powerpc*-*-aix* )
33200 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
33201 ;;
33202 *-hppa* )
33203 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
33204 ;;
33205 esac
33206 fi
33207
33208 OPTIMISE=
33209 if test "$wxUSE_OPTIMISE" = "no" ; then
33210 if test "$GCC" = yes ; then
33211 OPTIMISE="-O0"
33212 fi
33213 else
33214 if test "$GCC" = yes ; then
33215 OPTIMISE="-O2"
33216
33217 case "${host}" in
33218 i586-*-*|i686-*-* )
33219 OPTIMISE="${OPTIMISE} "
33220 ;;
33221 esac
33222 else
33223 OPTIMISE="-O"
33224 fi
33225 fi
33226
33227
33228 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
33229 cat >>confdefs.h <<\_ACEOF
33230 #define WXWIN_COMPATIBILITY_2_2 1
33231 _ACEOF
33232
33233
33234 WXWIN_COMPATIBILITY_2_4="yes"
33235 fi
33236
33237 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
33238 cat >>confdefs.h <<\_ACEOF
33239 #define WXWIN_COMPATIBILITY_2_4 1
33240 _ACEOF
33241
33242 fi
33243
33244
33245 if test "$wxUSE_GUI" = "yes"; then
33246 cat >>confdefs.h <<\_ACEOF
33247 #define wxUSE_GUI 1
33248 _ACEOF
33249
33250
33251 else
33252 cat >>confdefs.h <<\_ACEOF
33253 #define wxUSE_NOGUI 1
33254 _ACEOF
33255
33256 fi
33257
33258
33259 if test "$wxUSE_UNIX" = "yes"; then
33260 cat >>confdefs.h <<\_ACEOF
33261 #define wxUSE_UNIX 1
33262 _ACEOF
33263
33264 fi
33265
33266
33267 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33268
33269 HAVE_DL_FUNCS=0
33270 HAVE_SHL_FUNCS=0
33271 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33272 if test "$USE_DARWIN" = 1; then
33273 HAVE_DL_FUNCS=1
33274 else
33275
33276 for ac_func in dlopen
33277 do
33278 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33279 echo "$as_me:$LINENO: checking for $ac_func" >&5
33280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33281 if eval "test \"\${$as_ac_var+set}\" = set"; then
33282 echo $ECHO_N "(cached) $ECHO_C" >&6
33283 else
33284 cat >conftest.$ac_ext <<_ACEOF
33285 /* confdefs.h. */
33286 _ACEOF
33287 cat confdefs.h >>conftest.$ac_ext
33288 cat >>conftest.$ac_ext <<_ACEOF
33289 /* end confdefs.h. */
33290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33292 #define $ac_func innocuous_$ac_func
33293
33294 /* System header to define __stub macros and hopefully few prototypes,
33295 which can conflict with char $ac_func (); below.
33296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33297 <limits.h> exists even on freestanding compilers. */
33298
33299 #ifdef __STDC__
33300 # include <limits.h>
33301 #else
33302 # include <assert.h>
33303 #endif
33304
33305 #undef $ac_func
33306
33307 /* Override any gcc2 internal prototype to avoid an error. */
33308 #ifdef __cplusplus
33309 extern "C"
33310 {
33311 #endif
33312 /* We use char because int might match the return type of a gcc2
33313 builtin and then its argument prototype would still apply. */
33314 char $ac_func ();
33315 /* The GNU C library defines this for functions which it implements
33316 to always fail with ENOSYS. Some functions are actually named
33317 something starting with __ and the normal name is an alias. */
33318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33319 choke me
33320 #else
33321 char (*f) () = $ac_func;
33322 #endif
33323 #ifdef __cplusplus
33324 }
33325 #endif
33326
33327 int
33328 main ()
33329 {
33330 return f != $ac_func;
33331 ;
33332 return 0;
33333 }
33334 _ACEOF
33335 rm -f conftest.$ac_objext conftest$ac_exeext
33336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33337 (eval $ac_link) 2>conftest.er1
33338 ac_status=$?
33339 grep -v '^ *+' conftest.er1 >conftest.err
33340 rm -f conftest.er1
33341 cat conftest.err >&5
33342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33343 (exit $ac_status); } &&
33344 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33346 (eval $ac_try) 2>&5
33347 ac_status=$?
33348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33349 (exit $ac_status); }; } &&
33350 { ac_try='test -s conftest$ac_exeext'
33351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33352 (eval $ac_try) 2>&5
33353 ac_status=$?
33354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33355 (exit $ac_status); }; }; then
33356 eval "$as_ac_var=yes"
33357 else
33358 echo "$as_me: failed program was:" >&5
33359 sed 's/^/| /' conftest.$ac_ext >&5
33360
33361 eval "$as_ac_var=no"
33362 fi
33363 rm -f conftest.err conftest.$ac_objext \
33364 conftest$ac_exeext conftest.$ac_ext
33365 fi
33366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33367 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33368 if test `eval echo '${'$as_ac_var'}'` = yes; then
33369 cat >>confdefs.h <<_ACEOF
33370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33371 _ACEOF
33372
33373 cat >>confdefs.h <<\_ACEOF
33374 #define HAVE_DLOPEN 1
33375 _ACEOF
33376
33377 HAVE_DL_FUNCS=1
33378
33379 else
33380
33381 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
33382 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
33383 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
33384 echo $ECHO_N "(cached) $ECHO_C" >&6
33385 else
33386 ac_check_lib_save_LIBS=$LIBS
33387 LIBS="-ldl $LIBS"
33388 cat >conftest.$ac_ext <<_ACEOF
33389 /* confdefs.h. */
33390 _ACEOF
33391 cat confdefs.h >>conftest.$ac_ext
33392 cat >>conftest.$ac_ext <<_ACEOF
33393 /* end confdefs.h. */
33394
33395 /* Override any gcc2 internal prototype to avoid an error. */
33396 #ifdef __cplusplus
33397 extern "C"
33398 #endif
33399 /* We use char because int might match the return type of a gcc2
33400 builtin and then its argument prototype would still apply. */
33401 char dlopen ();
33402 int
33403 main ()
33404 {
33405 dlopen ();
33406 ;
33407 return 0;
33408 }
33409 _ACEOF
33410 rm -f conftest.$ac_objext conftest$ac_exeext
33411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33412 (eval $ac_link) 2>conftest.er1
33413 ac_status=$?
33414 grep -v '^ *+' conftest.er1 >conftest.err
33415 rm -f conftest.er1
33416 cat conftest.err >&5
33417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33418 (exit $ac_status); } &&
33419 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33421 (eval $ac_try) 2>&5
33422 ac_status=$?
33423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33424 (exit $ac_status); }; } &&
33425 { ac_try='test -s conftest$ac_exeext'
33426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33427 (eval $ac_try) 2>&5
33428 ac_status=$?
33429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33430 (exit $ac_status); }; }; then
33431 ac_cv_lib_dl_dlopen=yes
33432 else
33433 echo "$as_me: failed program was:" >&5
33434 sed 's/^/| /' conftest.$ac_ext >&5
33435
33436 ac_cv_lib_dl_dlopen=no
33437 fi
33438 rm -f conftest.err conftest.$ac_objext \
33439 conftest$ac_exeext conftest.$ac_ext
33440 LIBS=$ac_check_lib_save_LIBS
33441 fi
33442 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
33443 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
33444 if test $ac_cv_lib_dl_dlopen = yes; then
33445
33446 cat >>confdefs.h <<\_ACEOF
33447 #define HAVE_DLOPEN 1
33448 _ACEOF
33449
33450 HAVE_DL_FUNCS=1
33451 DL_LINK=" -ldl$DL_LINK"
33452
33453 else
33454
33455
33456 for ac_func in shl_load
33457 do
33458 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33459 echo "$as_me:$LINENO: checking for $ac_func" >&5
33460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33461 if eval "test \"\${$as_ac_var+set}\" = set"; then
33462 echo $ECHO_N "(cached) $ECHO_C" >&6
33463 else
33464 cat >conftest.$ac_ext <<_ACEOF
33465 /* confdefs.h. */
33466 _ACEOF
33467 cat confdefs.h >>conftest.$ac_ext
33468 cat >>conftest.$ac_ext <<_ACEOF
33469 /* end confdefs.h. */
33470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33471 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33472 #define $ac_func innocuous_$ac_func
33473
33474 /* System header to define __stub macros and hopefully few prototypes,
33475 which can conflict with char $ac_func (); below.
33476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33477 <limits.h> exists even on freestanding compilers. */
33478
33479 #ifdef __STDC__
33480 # include <limits.h>
33481 #else
33482 # include <assert.h>
33483 #endif
33484
33485 #undef $ac_func
33486
33487 /* Override any gcc2 internal prototype to avoid an error. */
33488 #ifdef __cplusplus
33489 extern "C"
33490 {
33491 #endif
33492 /* We use char because int might match the return type of a gcc2
33493 builtin and then its argument prototype would still apply. */
33494 char $ac_func ();
33495 /* The GNU C library defines this for functions which it implements
33496 to always fail with ENOSYS. Some functions are actually named
33497 something starting with __ and the normal name is an alias. */
33498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33499 choke me
33500 #else
33501 char (*f) () = $ac_func;
33502 #endif
33503 #ifdef __cplusplus
33504 }
33505 #endif
33506
33507 int
33508 main ()
33509 {
33510 return f != $ac_func;
33511 ;
33512 return 0;
33513 }
33514 _ACEOF
33515 rm -f conftest.$ac_objext conftest$ac_exeext
33516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33517 (eval $ac_link) 2>conftest.er1
33518 ac_status=$?
33519 grep -v '^ *+' conftest.er1 >conftest.err
33520 rm -f conftest.er1
33521 cat conftest.err >&5
33522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33523 (exit $ac_status); } &&
33524 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33526 (eval $ac_try) 2>&5
33527 ac_status=$?
33528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33529 (exit $ac_status); }; } &&
33530 { ac_try='test -s conftest$ac_exeext'
33531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33532 (eval $ac_try) 2>&5
33533 ac_status=$?
33534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33535 (exit $ac_status); }; }; then
33536 eval "$as_ac_var=yes"
33537 else
33538 echo "$as_me: failed program was:" >&5
33539 sed 's/^/| /' conftest.$ac_ext >&5
33540
33541 eval "$as_ac_var=no"
33542 fi
33543 rm -f conftest.err conftest.$ac_objext \
33544 conftest$ac_exeext conftest.$ac_ext
33545 fi
33546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33547 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33548 if test `eval echo '${'$as_ac_var'}'` = yes; then
33549 cat >>confdefs.h <<_ACEOF
33550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33551 _ACEOF
33552
33553 cat >>confdefs.h <<\_ACEOF
33554 #define HAVE_SHL_LOAD 1
33555 _ACEOF
33556
33557 HAVE_SHL_FUNCS=1
33558
33559 else
33560
33561 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
33562 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
33563 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
33564 echo $ECHO_N "(cached) $ECHO_C" >&6
33565 else
33566 ac_check_lib_save_LIBS=$LIBS
33567 LIBS="-lshl_load $LIBS"
33568 cat >conftest.$ac_ext <<_ACEOF
33569 /* confdefs.h. */
33570 _ACEOF
33571 cat confdefs.h >>conftest.$ac_ext
33572 cat >>conftest.$ac_ext <<_ACEOF
33573 /* end confdefs.h. */
33574
33575 /* Override any gcc2 internal prototype to avoid an error. */
33576 #ifdef __cplusplus
33577 extern "C"
33578 #endif
33579 /* We use char because int might match the return type of a gcc2
33580 builtin and then its argument prototype would still apply. */
33581 char dld ();
33582 int
33583 main ()
33584 {
33585 dld ();
33586 ;
33587 return 0;
33588 }
33589 _ACEOF
33590 rm -f conftest.$ac_objext conftest$ac_exeext
33591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33592 (eval $ac_link) 2>conftest.er1
33593 ac_status=$?
33594 grep -v '^ *+' conftest.er1 >conftest.err
33595 rm -f conftest.er1
33596 cat conftest.err >&5
33597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33598 (exit $ac_status); } &&
33599 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33601 (eval $ac_try) 2>&5
33602 ac_status=$?
33603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33604 (exit $ac_status); }; } &&
33605 { ac_try='test -s conftest$ac_exeext'
33606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33607 (eval $ac_try) 2>&5
33608 ac_status=$?
33609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33610 (exit $ac_status); }; }; then
33611 ac_cv_lib_shl_load_dld=yes
33612 else
33613 echo "$as_me: failed program was:" >&5
33614 sed 's/^/| /' conftest.$ac_ext >&5
33615
33616 ac_cv_lib_shl_load_dld=no
33617 fi
33618 rm -f conftest.err conftest.$ac_objext \
33619 conftest$ac_exeext conftest.$ac_ext
33620 LIBS=$ac_check_lib_save_LIBS
33621 fi
33622 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
33623 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
33624 if test $ac_cv_lib_shl_load_dld = yes; then
33625
33626 HAVE_SHL_FUNCS=1
33627 DL_LINK=" -ldld$DL_LINK"
33628
33629 fi
33630
33631
33632 fi
33633 done
33634
33635
33636 fi
33637
33638
33639 fi
33640 done
33641
33642
33643 if test "$HAVE_DL_FUNCS" = 1; then
33644
33645 for ac_func in dlerror
33646 do
33647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33648 echo "$as_me:$LINENO: checking for $ac_func" >&5
33649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33650 if eval "test \"\${$as_ac_var+set}\" = set"; then
33651 echo $ECHO_N "(cached) $ECHO_C" >&6
33652 else
33653 cat >conftest.$ac_ext <<_ACEOF
33654 /* confdefs.h. */
33655 _ACEOF
33656 cat confdefs.h >>conftest.$ac_ext
33657 cat >>conftest.$ac_ext <<_ACEOF
33658 /* end confdefs.h. */
33659 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33660 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33661 #define $ac_func innocuous_$ac_func
33662
33663 /* System header to define __stub macros and hopefully few prototypes,
33664 which can conflict with char $ac_func (); below.
33665 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33666 <limits.h> exists even on freestanding compilers. */
33667
33668 #ifdef __STDC__
33669 # include <limits.h>
33670 #else
33671 # include <assert.h>
33672 #endif
33673
33674 #undef $ac_func
33675
33676 /* Override any gcc2 internal prototype to avoid an error. */
33677 #ifdef __cplusplus
33678 extern "C"
33679 {
33680 #endif
33681 /* We use char because int might match the return type of a gcc2
33682 builtin and then its argument prototype would still apply. */
33683 char $ac_func ();
33684 /* The GNU C library defines this for functions which it implements
33685 to always fail with ENOSYS. Some functions are actually named
33686 something starting with __ and the normal name is an alias. */
33687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33688 choke me
33689 #else
33690 char (*f) () = $ac_func;
33691 #endif
33692 #ifdef __cplusplus
33693 }
33694 #endif
33695
33696 int
33697 main ()
33698 {
33699 return f != $ac_func;
33700 ;
33701 return 0;
33702 }
33703 _ACEOF
33704 rm -f conftest.$ac_objext conftest$ac_exeext
33705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33706 (eval $ac_link) 2>conftest.er1
33707 ac_status=$?
33708 grep -v '^ *+' conftest.er1 >conftest.err
33709 rm -f conftest.er1
33710 cat conftest.err >&5
33711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33712 (exit $ac_status); } &&
33713 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33715 (eval $ac_try) 2>&5
33716 ac_status=$?
33717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33718 (exit $ac_status); }; } &&
33719 { ac_try='test -s conftest$ac_exeext'
33720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33721 (eval $ac_try) 2>&5
33722 ac_status=$?
33723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33724 (exit $ac_status); }; }; then
33725 eval "$as_ac_var=yes"
33726 else
33727 echo "$as_me: failed program was:" >&5
33728 sed 's/^/| /' conftest.$ac_ext >&5
33729
33730 eval "$as_ac_var=no"
33731 fi
33732 rm -f conftest.err conftest.$ac_objext \
33733 conftest$ac_exeext conftest.$ac_ext
33734 fi
33735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33736 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33737 if test `eval echo '${'$as_ac_var'}'` = yes; then
33738 cat >>confdefs.h <<_ACEOF
33739 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33740 _ACEOF
33741 cat >>confdefs.h <<\_ACEOF
33742 #define HAVE_DLERROR 1
33743 _ACEOF
33744
33745 else
33746
33747 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
33748 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
33749 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
33750 echo $ECHO_N "(cached) $ECHO_C" >&6
33751 else
33752 ac_check_lib_save_LIBS=$LIBS
33753 LIBS="-ldl $LIBS"
33754 cat >conftest.$ac_ext <<_ACEOF
33755 /* confdefs.h. */
33756 _ACEOF
33757 cat confdefs.h >>conftest.$ac_ext
33758 cat >>conftest.$ac_ext <<_ACEOF
33759 /* end confdefs.h. */
33760
33761 /* Override any gcc2 internal prototype to avoid an error. */
33762 #ifdef __cplusplus
33763 extern "C"
33764 #endif
33765 /* We use char because int might match the return type of a gcc2
33766 builtin and then its argument prototype would still apply. */
33767 char dlerror ();
33768 int
33769 main ()
33770 {
33771 dlerror ();
33772 ;
33773 return 0;
33774 }
33775 _ACEOF
33776 rm -f conftest.$ac_objext conftest$ac_exeext
33777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33778 (eval $ac_link) 2>conftest.er1
33779 ac_status=$?
33780 grep -v '^ *+' conftest.er1 >conftest.err
33781 rm -f conftest.er1
33782 cat conftest.err >&5
33783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33784 (exit $ac_status); } &&
33785 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33787 (eval $ac_try) 2>&5
33788 ac_status=$?
33789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33790 (exit $ac_status); }; } &&
33791 { ac_try='test -s conftest$ac_exeext'
33792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33793 (eval $ac_try) 2>&5
33794 ac_status=$?
33795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33796 (exit $ac_status); }; }; then
33797 ac_cv_lib_dl_dlerror=yes
33798 else
33799 echo "$as_me: failed program was:" >&5
33800 sed 's/^/| /' conftest.$ac_ext >&5
33801
33802 ac_cv_lib_dl_dlerror=no
33803 fi
33804 rm -f conftest.err conftest.$ac_objext \
33805 conftest$ac_exeext conftest.$ac_ext
33806 LIBS=$ac_check_lib_save_LIBS
33807 fi
33808 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
33809 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
33810 if test $ac_cv_lib_dl_dlerror = yes; then
33811 cat >>confdefs.h <<\_ACEOF
33812 #define HAVE_DLERROR 1
33813 _ACEOF
33814
33815 fi
33816
33817
33818
33819 fi
33820 done
33821
33822 fi
33823 fi
33824
33825 if test "$HAVE_DL_FUNCS" = 0; then
33826 if test "$HAVE_SHL_FUNCS" = 0; then
33827 if test "$USE_UNIX" = 1; then
33828 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33829 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33830 wxUSE_DYNAMIC_LOADER=no
33831 wxUSE_DYNLIB_CLASS=no
33832 else
33833 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
33834 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33835 fi
33836 fi
33837 fi
33838 fi
33839 fi
33840
33841 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33842 cat >>confdefs.h <<\_ACEOF
33843 #define wxUSE_DYNAMIC_LOADER 1
33844 _ACEOF
33845
33846 fi
33847 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33848 cat >>confdefs.h <<\_ACEOF
33849 #define wxUSE_DYNLIB_CLASS 1
33850 _ACEOF
33851
33852 fi
33853
33854
33855
33856 if test "$wxUSE_PLUGINS" = "yes" ; then
33857 if test "$wxUSE_SHARED" = "no" ; then
33858 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
33859 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33860 wxUSE_PLUGINS=no
33861 fi
33862 if test "$wxUSE_MONOLITHIC" = "yes" ; then
33863 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
33864 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33865 wxUSE_PLUGINS=no
33866 fi
33867 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33868 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33869 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33870 wxUSE_PLUGINS=no
33871 fi
33872 if test "$wxUSE_PLUGINS" = "yes" ; then
33873 cat >>confdefs.h <<\_ACEOF
33874 #define wxUSE_PLUGINS 1
33875 _ACEOF
33876
33877 fi
33878 fi
33879
33880
33881 if test "$wxUSE_STL" = "yes"; then
33882 cat >>confdefs.h <<\_ACEOF
33883 #define wxUSE_STL 1
33884 _ACEOF
33885
33886 fi
33887
33888 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33889 cat >>confdefs.h <<\_ACEOF
33890 #define wxUSE_APPLE_IEEE 1
33891 _ACEOF
33892
33893 fi
33894
33895 if test "$wxUSE_TIMER" = "yes"; then
33896 cat >>confdefs.h <<\_ACEOF
33897 #define wxUSE_TIMER 1
33898 _ACEOF
33899
33900 fi
33901
33902 WITH_PLUGIN_SDL=0
33903 if test "$wxUSE_SOUND" = "yes"; then
33904 if test "$USE_UNIX" = "1" ; then
33905
33906 for ac_header in sys/soundcard.h
33907 do
33908 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33909 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33910 echo "$as_me:$LINENO: checking for $ac_header" >&5
33911 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33912 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33913 echo $ECHO_N "(cached) $ECHO_C" >&6
33914 fi
33915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33916 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33917 else
33918 # Is the header compilable?
33919 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33920 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33921 cat >conftest.$ac_ext <<_ACEOF
33922 /* confdefs.h. */
33923 _ACEOF
33924 cat confdefs.h >>conftest.$ac_ext
33925 cat >>conftest.$ac_ext <<_ACEOF
33926 /* end confdefs.h. */
33927 $ac_includes_default
33928 #include <$ac_header>
33929 _ACEOF
33930 rm -f conftest.$ac_objext
33931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33932 (eval $ac_compile) 2>conftest.er1
33933 ac_status=$?
33934 grep -v '^ *+' conftest.er1 >conftest.err
33935 rm -f conftest.er1
33936 cat conftest.err >&5
33937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33938 (exit $ac_status); } &&
33939 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33941 (eval $ac_try) 2>&5
33942 ac_status=$?
33943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33944 (exit $ac_status); }; } &&
33945 { ac_try='test -s conftest.$ac_objext'
33946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33947 (eval $ac_try) 2>&5
33948 ac_status=$?
33949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33950 (exit $ac_status); }; }; then
33951 ac_header_compiler=yes
33952 else
33953 echo "$as_me: failed program was:" >&5
33954 sed 's/^/| /' conftest.$ac_ext >&5
33955
33956 ac_header_compiler=no
33957 fi
33958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33959 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33960 echo "${ECHO_T}$ac_header_compiler" >&6
33961
33962 # Is the header present?
33963 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33964 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33965 cat >conftest.$ac_ext <<_ACEOF
33966 /* confdefs.h. */
33967 _ACEOF
33968 cat confdefs.h >>conftest.$ac_ext
33969 cat >>conftest.$ac_ext <<_ACEOF
33970 /* end confdefs.h. */
33971 #include <$ac_header>
33972 _ACEOF
33973 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33974 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33975 ac_status=$?
33976 grep -v '^ *+' conftest.er1 >conftest.err
33977 rm -f conftest.er1
33978 cat conftest.err >&5
33979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33980 (exit $ac_status); } >/dev/null; then
33981 if test -s conftest.err; then
33982 ac_cpp_err=$ac_c_preproc_warn_flag
33983 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33984 else
33985 ac_cpp_err=
33986 fi
33987 else
33988 ac_cpp_err=yes
33989 fi
33990 if test -z "$ac_cpp_err"; then
33991 ac_header_preproc=yes
33992 else
33993 echo "$as_me: failed program was:" >&5
33994 sed 's/^/| /' conftest.$ac_ext >&5
33995
33996 ac_header_preproc=no
33997 fi
33998 rm -f conftest.err conftest.$ac_ext
33999 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34000 echo "${ECHO_T}$ac_header_preproc" >&6
34001
34002 # So? What about this header?
34003 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34004 yes:no: )
34005 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34006 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34007 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34008 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34009 ac_header_preproc=yes
34010 ;;
34011 no:yes:* )
34012 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34013 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34014 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34015 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34016 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34017 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34018 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34019 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34020 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34021 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34022 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34023 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34024 (
34025 cat <<\_ASBOX
34026 ## ----------------------------------------- ##
34027 ## Report this to wx-dev@lists.wxwidgets.org ##
34028 ## ----------------------------------------- ##
34029 _ASBOX
34030 ) |
34031 sed "s/^/$as_me: WARNING: /" >&2
34032 ;;
34033 esac
34034 echo "$as_me:$LINENO: checking for $ac_header" >&5
34035 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34036 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34037 echo $ECHO_N "(cached) $ECHO_C" >&6
34038 else
34039 eval "$as_ac_Header=\$ac_header_preproc"
34040 fi
34041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34042 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34043
34044 fi
34045 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34046 cat >>confdefs.h <<_ACEOF
34047 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34048 _ACEOF
34049
34050 fi
34051
34052 done
34053
34054
34055 if test "$wxUSE_LIBSDL" != "no"; then
34056
34057 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
34058 if test "${with_sdl_prefix+set}" = set; then
34059 withval="$with_sdl_prefix"
34060 sdl_prefix="$withval"
34061 else
34062 sdl_prefix=""
34063 fi;
34064
34065 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
34066 if test "${with_sdl_exec_prefix+set}" = set; then
34067 withval="$with_sdl_exec_prefix"
34068 sdl_exec_prefix="$withval"
34069 else
34070 sdl_exec_prefix=""
34071 fi;
34072 # Check whether --enable-sdltest or --disable-sdltest was given.
34073 if test "${enable_sdltest+set}" = set; then
34074 enableval="$enable_sdltest"
34075
34076 else
34077 enable_sdltest=yes
34078 fi;
34079
34080 if test x$sdl_exec_prefix != x ; then
34081 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
34082 if test x${SDL_CONFIG+set} != xset ; then
34083 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
34084 fi
34085 fi
34086 if test x$sdl_prefix != x ; then
34087 sdl_args="$sdl_args --prefix=$sdl_prefix"
34088 if test x${SDL_CONFIG+set} != xset ; then
34089 SDL_CONFIG=$sdl_prefix/bin/sdl-config
34090 fi
34091 fi
34092
34093
34094 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
34095 # Extract the first word of "sdl-config", so it can be a program name with args.
34096 set dummy sdl-config; ac_word=$2
34097 echo "$as_me:$LINENO: checking for $ac_word" >&5
34098 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34099 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
34100 echo $ECHO_N "(cached) $ECHO_C" >&6
34101 else
34102 case $SDL_CONFIG in
34103 [\\/]* | ?:[\\/]*)
34104 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
34105 ;;
34106 *)
34107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34108 for as_dir in $PATH
34109 do
34110 IFS=$as_save_IFS
34111 test -z "$as_dir" && as_dir=.
34112 for ac_exec_ext in '' $ac_executable_extensions; do
34113 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34114 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34116 break 2
34117 fi
34118 done
34119 done
34120
34121 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
34122 ;;
34123 esac
34124 fi
34125 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
34126
34127 if test -n "$SDL_CONFIG"; then
34128 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
34129 echo "${ECHO_T}$SDL_CONFIG" >&6
34130 else
34131 echo "$as_me:$LINENO: result: no" >&5
34132 echo "${ECHO_T}no" >&6
34133 fi
34134
34135 min_sdl_version=1.2.0
34136 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
34137 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
34138 no_sdl=""
34139 if test "$SDL_CONFIG" = "no" ; then
34140 no_sdl=yes
34141 else
34142 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
34143 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
34144
34145 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
34146 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
34147 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
34148 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
34149 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
34150 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
34151 if test "x$enable_sdltest" = "xyes" ; then
34152 ac_save_CFLAGS="$CFLAGS"
34153 ac_save_LIBS="$LIBS"
34154 CFLAGS="$CFLAGS $SDL_CFLAGS"
34155 LIBS="$LIBS $SDL_LIBS"
34156 rm -f conf.sdltest
34157 if test "$cross_compiling" = yes; then
34158 echo $ac_n "cross compiling; assumed OK... $ac_c"
34159 else
34160 cat >conftest.$ac_ext <<_ACEOF
34161 /* confdefs.h. */
34162 _ACEOF
34163 cat confdefs.h >>conftest.$ac_ext
34164 cat >>conftest.$ac_ext <<_ACEOF
34165 /* end confdefs.h. */
34166
34167 #include <stdio.h>
34168 #include <stdlib.h>
34169 #include <string.h>
34170 #include "SDL.h"
34171
34172 char*
34173 my_strdup (char *str)
34174 {
34175 char *new_str;
34176
34177 if (str)
34178 {
34179 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
34180 strcpy (new_str, str);
34181 }
34182 else
34183 new_str = NULL;
34184
34185 return new_str;
34186 }
34187
34188 int main (int argc, char *argv[])
34189 {
34190 int major, minor, micro;
34191 char *tmp_version;
34192
34193 /* This hangs on some systems (?)
34194 system ("touch conf.sdltest");
34195 */
34196 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
34197
34198 /* HP/UX 9 (%@#!) writes to sscanf strings */
34199 tmp_version = my_strdup("$min_sdl_version");
34200 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
34201 printf("%s, bad version string\n", "$min_sdl_version");
34202 exit(1);
34203 }
34204
34205 if (($sdl_major_version > major) ||
34206 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
34207 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
34208 {
34209 return 0;
34210 }
34211 else
34212 {
34213 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
34214 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
34215 printf("*** best to upgrade to the required version.\n");
34216 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
34217 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
34218 printf("*** config.cache before re-running configure\n");
34219 return 1;
34220 }
34221 }
34222
34223
34224 _ACEOF
34225 rm -f conftest$ac_exeext
34226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34227 (eval $ac_link) 2>&5
34228 ac_status=$?
34229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34230 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34232 (eval $ac_try) 2>&5
34233 ac_status=$?
34234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34235 (exit $ac_status); }; }; then
34236 :
34237 else
34238 echo "$as_me: program exited with status $ac_status" >&5
34239 echo "$as_me: failed program was:" >&5
34240 sed 's/^/| /' conftest.$ac_ext >&5
34241
34242 ( exit $ac_status )
34243 no_sdl=yes
34244 fi
34245 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34246 fi
34247 CFLAGS="$ac_save_CFLAGS"
34248 LIBS="$ac_save_LIBS"
34249 fi
34250 fi
34251 if test "x$no_sdl" = x ; then
34252 echo "$as_me:$LINENO: result: yes" >&5
34253 echo "${ECHO_T}yes" >&6
34254
34255 EXTRALIBS_SDL="$SDL_LIBS"
34256 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
34257 cat >>confdefs.h <<\_ACEOF
34258 #define wxUSE_LIBSDL 1
34259 _ACEOF
34260
34261
34262 else
34263 echo "$as_me:$LINENO: result: no" >&5
34264 echo "${ECHO_T}no" >&6
34265 if test "$SDL_CONFIG" = "no" ; then
34266 echo "*** The sdl-config script installed by SDL could not be found"
34267 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
34268 echo "*** your path, or set the SDL_CONFIG environment variable to the"
34269 echo "*** full path to sdl-config."
34270 else
34271 if test -f conf.sdltest ; then
34272 :
34273 else
34274 echo "*** Could not run SDL test program, checking why..."
34275 CFLAGS="$CFLAGS $SDL_CFLAGS"
34276 LIBS="$LIBS $SDL_LIBS"
34277 cat >conftest.$ac_ext <<_ACEOF
34278 /* confdefs.h. */
34279 _ACEOF
34280 cat confdefs.h >>conftest.$ac_ext
34281 cat >>conftest.$ac_ext <<_ACEOF
34282 /* end confdefs.h. */
34283
34284 #include <stdio.h>
34285 #include "SDL.h"
34286
34287 int main(int argc, char *argv[])
34288 { return 0; }
34289 #undef main
34290 #define main K_and_R_C_main
34291
34292 int
34293 main ()
34294 {
34295 return 0;
34296 ;
34297 return 0;
34298 }
34299 _ACEOF
34300 rm -f conftest.$ac_objext conftest$ac_exeext
34301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34302 (eval $ac_link) 2>conftest.er1
34303 ac_status=$?
34304 grep -v '^ *+' conftest.er1 >conftest.err
34305 rm -f conftest.er1
34306 cat conftest.err >&5
34307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34308 (exit $ac_status); } &&
34309 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34311 (eval $ac_try) 2>&5
34312 ac_status=$?
34313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34314 (exit $ac_status); }; } &&
34315 { ac_try='test -s conftest$ac_exeext'
34316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34317 (eval $ac_try) 2>&5
34318 ac_status=$?
34319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34320 (exit $ac_status); }; }; then
34321 echo "*** The test program compiled, but did not run. This usually means"
34322 echo "*** that the run-time linker is not finding SDL or finding the wrong"
34323 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
34324 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
34325 echo "*** to the installed location Also, make sure you have run ldconfig if that"
34326 echo "*** is required on your system"
34327 echo "***"
34328 echo "*** If you have an old version installed, it is best to remove it, although"
34329 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
34330 else
34331 echo "$as_me: failed program was:" >&5
34332 sed 's/^/| /' conftest.$ac_ext >&5
34333
34334 echo "*** The test program failed to compile or link. See the file config.log for the"
34335 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
34336 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
34337 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
34338 fi
34339 rm -f conftest.err conftest.$ac_objext \
34340 conftest$ac_exeext conftest.$ac_ext
34341 CFLAGS="$ac_save_CFLAGS"
34342 LIBS="$ac_save_LIBS"
34343 fi
34344 fi
34345 SDL_CFLAGS=""
34346 SDL_LIBS=""
34347 wxUSE_LIBSDL="no"
34348 fi
34349
34350
34351 rm -f conf.sdltest
34352
34353 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
34354 WITH_PLUGIN_SDL=1
34355 fi
34356 fi
34357 fi
34358
34359 cat >>confdefs.h <<\_ACEOF
34360 #define wxUSE_SOUND 1
34361 _ACEOF
34362
34363 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
34364 fi
34365
34366 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34367 cat >>confdefs.h <<\_ACEOF
34368 #define wxUSE_CMDLINE_PARSER 1
34369 _ACEOF
34370
34371 fi
34372
34373 if test "$wxUSE_STOPWATCH" = "yes"; then
34374 cat >>confdefs.h <<\_ACEOF
34375 #define wxUSE_STOPWATCH 1
34376 _ACEOF
34377
34378 fi
34379
34380 if test "$wxUSE_DATETIME" = "yes"; then
34381 cat >>confdefs.h <<\_ACEOF
34382 #define wxUSE_DATETIME 1
34383 _ACEOF
34384
34385 fi
34386
34387 if test "$wxUSE_FILE" = "yes"; then
34388 cat >>confdefs.h <<\_ACEOF
34389 #define wxUSE_FILE 1
34390 _ACEOF
34391
34392 fi
34393
34394 if test "$wxUSE_FFILE" = "yes"; then
34395 cat >>confdefs.h <<\_ACEOF
34396 #define wxUSE_FFILE 1
34397 _ACEOF
34398
34399 fi
34400
34401 if test "$wxUSE_FILESYSTEM" = "yes"; then
34402 cat >>confdefs.h <<\_ACEOF
34403 #define wxUSE_FILESYSTEM 1
34404 _ACEOF
34405
34406 fi
34407
34408 if test "$wxUSE_FS_ZIP" = "yes"; then
34409 cat >>confdefs.h <<\_ACEOF
34410 #define wxUSE_FS_ZIP 1
34411 _ACEOF
34412
34413 fi
34414
34415 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34416 cat >>confdefs.h <<\_ACEOF
34417 #define wxUSE_ZIPSTREAM 1
34418 _ACEOF
34419
34420 fi
34421
34422 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34423 cat >>confdefs.h <<\_ACEOF
34424 #define wxUSE_ON_FATAL_EXCEPTION 1
34425 _ACEOF
34426
34427 fi
34428
34429 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34430 cat >>confdefs.h <<\_ACEOF
34431 #define wxUSE_SNGLINST_CHECKER 1
34432 _ACEOF
34433
34434 fi
34435
34436 if test "$wxUSE_BUSYINFO" = "yes"; then
34437 cat >>confdefs.h <<\_ACEOF
34438 #define wxUSE_BUSYINFO 1
34439 _ACEOF
34440
34441 fi
34442
34443 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34444 cat >>confdefs.h <<\_ACEOF
34445 #define wxUSE_STD_IOSTREAM 1
34446 _ACEOF
34447
34448 fi
34449
34450 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34451 cat >>confdefs.h <<\_ACEOF
34452 #define wxUSE_TEXTBUFFER 1
34453 _ACEOF
34454
34455 fi
34456
34457 if test "$wxUSE_TEXTFILE" = "yes"; then
34458 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34459 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34460 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34461 else
34462 cat >>confdefs.h <<\_ACEOF
34463 #define wxUSE_TEXTFILE 1
34464 _ACEOF
34465
34466 fi
34467 fi
34468
34469 if test "$wxUSE_CONFIG" = "yes" ; then
34470 if test "$wxUSE_TEXTFILE" != "yes"; then
34471 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
34472 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34473 else
34474 cat >>confdefs.h <<\_ACEOF
34475 #define wxUSE_CONFIG 1
34476 _ACEOF
34477
34478 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
34479 fi
34480 fi
34481
34482 if test "$wxUSE_INTL" = "yes" ; then
34483 if test "$wxUSE_FILE" != "yes"; then
34484 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
34485 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34486 else
34487 cat >>confdefs.h <<\_ACEOF
34488 #define wxUSE_INTL 1
34489 _ACEOF
34490
34491 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
34492 GUIDIST="$GUIDIST INTL_DIST"
34493 fi
34494 fi
34495
34496 if test "$wxUSE_LOG" = "yes"; then
34497 cat >>confdefs.h <<\_ACEOF
34498 #define wxUSE_LOG 1
34499 _ACEOF
34500
34501
34502 if test "$wxUSE_LOGGUI" = "yes"; then
34503 cat >>confdefs.h <<\_ACEOF
34504 #define wxUSE_LOGGUI 1
34505 _ACEOF
34506
34507 fi
34508
34509 if test "$wxUSE_LOGWINDOW" = "yes"; then
34510 cat >>confdefs.h <<\_ACEOF
34511 #define wxUSE_LOGWINDOW 1
34512 _ACEOF
34513
34514 fi
34515
34516 if test "$wxUSE_LOGDIALOG" = "yes"; then
34517 cat >>confdefs.h <<\_ACEOF
34518 #define wxUSE_LOG_DIALOG 1
34519 _ACEOF
34520
34521 fi
34522 fi
34523
34524 if test "$wxUSE_LONGLONG" = "yes"; then
34525 cat >>confdefs.h <<\_ACEOF
34526 #define wxUSE_LONGLONG 1
34527 _ACEOF
34528
34529 fi
34530
34531 if test "$wxUSE_GEOMETRY" = "yes"; then
34532 cat >>confdefs.h <<\_ACEOF
34533 #define wxUSE_GEOMETRY 1
34534 _ACEOF
34535
34536 fi
34537
34538 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
34539 cat >>confdefs.h <<\_ACEOF
34540 #define wxUSE_DIALUP_MANAGER 1
34541 _ACEOF
34542
34543 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
34544 fi
34545
34546 if test "$wxUSE_STREAMS" = "yes" ; then
34547 cat >>confdefs.h <<\_ACEOF
34548 #define wxUSE_STREAMS 1
34549 _ACEOF
34550
34551 fi
34552
34553
34554 if test "$wxUSE_DATETIME" = "yes"; then
34555
34556 for ac_func in strptime
34557 do
34558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34559 echo "$as_me:$LINENO: checking for $ac_func" >&5
34560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34561 if eval "test \"\${$as_ac_var+set}\" = set"; then
34562 echo $ECHO_N "(cached) $ECHO_C" >&6
34563 else
34564 cat >conftest.$ac_ext <<_ACEOF
34565 /* confdefs.h. */
34566 _ACEOF
34567 cat confdefs.h >>conftest.$ac_ext
34568 cat >>conftest.$ac_ext <<_ACEOF
34569 /* end confdefs.h. */
34570 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34571 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34572 #define $ac_func innocuous_$ac_func
34573
34574 /* System header to define __stub macros and hopefully few prototypes,
34575 which can conflict with char $ac_func (); below.
34576 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34577 <limits.h> exists even on freestanding compilers. */
34578
34579 #ifdef __STDC__
34580 # include <limits.h>
34581 #else
34582 # include <assert.h>
34583 #endif
34584
34585 #undef $ac_func
34586
34587 /* Override any gcc2 internal prototype to avoid an error. */
34588 #ifdef __cplusplus
34589 extern "C"
34590 {
34591 #endif
34592 /* We use char because int might match the return type of a gcc2
34593 builtin and then its argument prototype would still apply. */
34594 char $ac_func ();
34595 /* The GNU C library defines this for functions which it implements
34596 to always fail with ENOSYS. Some functions are actually named
34597 something starting with __ and the normal name is an alias. */
34598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34599 choke me
34600 #else
34601 char (*f) () = $ac_func;
34602 #endif
34603 #ifdef __cplusplus
34604 }
34605 #endif
34606
34607 int
34608 main ()
34609 {
34610 return f != $ac_func;
34611 ;
34612 return 0;
34613 }
34614 _ACEOF
34615 rm -f conftest.$ac_objext conftest$ac_exeext
34616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34617 (eval $ac_link) 2>conftest.er1
34618 ac_status=$?
34619 grep -v '^ *+' conftest.er1 >conftest.err
34620 rm -f conftest.er1
34621 cat conftest.err >&5
34622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34623 (exit $ac_status); } &&
34624 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34626 (eval $ac_try) 2>&5
34627 ac_status=$?
34628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34629 (exit $ac_status); }; } &&
34630 { ac_try='test -s conftest$ac_exeext'
34631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34632 (eval $ac_try) 2>&5
34633 ac_status=$?
34634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34635 (exit $ac_status); }; }; then
34636 eval "$as_ac_var=yes"
34637 else
34638 echo "$as_me: failed program was:" >&5
34639 sed 's/^/| /' conftest.$ac_ext >&5
34640
34641 eval "$as_ac_var=no"
34642 fi
34643 rm -f conftest.err conftest.$ac_objext \
34644 conftest$ac_exeext conftest.$ac_ext
34645 fi
34646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34647 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34648 if test `eval echo '${'$as_ac_var'}'` = yes; then
34649 cat >>confdefs.h <<_ACEOF
34650 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34651 _ACEOF
34652
34653 fi
34654 done
34655
34656
34657 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
34658 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
34659 if test "${wx_cv_var_timezone+set}" = set; then
34660 echo $ECHO_N "(cached) $ECHO_C" >&6
34661 else
34662
34663 cat >conftest.$ac_ext <<_ACEOF
34664 /* confdefs.h. */
34665 _ACEOF
34666 cat confdefs.h >>conftest.$ac_ext
34667 cat >>conftest.$ac_ext <<_ACEOF
34668 /* end confdefs.h. */
34669
34670 #include <time.h>
34671
34672 int
34673 main ()
34674 {
34675
34676 int tz;
34677 tz = timezone;
34678
34679 ;
34680 return 0;
34681 }
34682 _ACEOF
34683 rm -f conftest.$ac_objext
34684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34685 (eval $ac_compile) 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_objext'
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
34705 wx_cv_var_timezone=timezone
34706
34707 else
34708 echo "$as_me: failed program was:" >&5
34709 sed 's/^/| /' conftest.$ac_ext >&5
34710
34711
34712 cat >conftest.$ac_ext <<_ACEOF
34713 /* confdefs.h. */
34714 _ACEOF
34715 cat confdefs.h >>conftest.$ac_ext
34716 cat >>conftest.$ac_ext <<_ACEOF
34717 /* end confdefs.h. */
34718
34719 #include <time.h>
34720
34721 int
34722 main ()
34723 {
34724
34725 int tz;
34726 tz = _timezone;
34727
34728 ;
34729 return 0;
34730 }
34731 _ACEOF
34732 rm -f conftest.$ac_objext
34733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34734 (eval $ac_compile) 2>conftest.er1
34735 ac_status=$?
34736 grep -v '^ *+' conftest.er1 >conftest.err
34737 rm -f conftest.er1
34738 cat conftest.err >&5
34739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34740 (exit $ac_status); } &&
34741 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34743 (eval $ac_try) 2>&5
34744 ac_status=$?
34745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34746 (exit $ac_status); }; } &&
34747 { ac_try='test -s conftest.$ac_objext'
34748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34749 (eval $ac_try) 2>&5
34750 ac_status=$?
34751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34752 (exit $ac_status); }; }; then
34753
34754 wx_cv_var_timezone=_timezone
34755
34756 else
34757 echo "$as_me: failed program was:" >&5
34758 sed 's/^/| /' conftest.$ac_ext >&5
34759
34760
34761 cat >conftest.$ac_ext <<_ACEOF
34762 /* confdefs.h. */
34763 _ACEOF
34764 cat confdefs.h >>conftest.$ac_ext
34765 cat >>conftest.$ac_ext <<_ACEOF
34766 /* end confdefs.h. */
34767
34768 #include <time.h>
34769
34770 int
34771 main ()
34772 {
34773
34774 int tz;
34775 tz = __timezone;
34776
34777 ;
34778 return 0;
34779 }
34780 _ACEOF
34781 rm -f conftest.$ac_objext
34782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34783 (eval $ac_compile) 2>conftest.er1
34784 ac_status=$?
34785 grep -v '^ *+' conftest.er1 >conftest.err
34786 rm -f conftest.er1
34787 cat conftest.err >&5
34788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34789 (exit $ac_status); } &&
34790 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34792 (eval $ac_try) 2>&5
34793 ac_status=$?
34794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34795 (exit $ac_status); }; } &&
34796 { ac_try='test -s conftest.$ac_objext'
34797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34798 (eval $ac_try) 2>&5
34799 ac_status=$?
34800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34801 (exit $ac_status); }; }; then
34802
34803 wx_cv_var_timezone=__timezone
34804
34805 else
34806 echo "$as_me: failed program was:" >&5
34807 sed 's/^/| /' conftest.$ac_ext >&5
34808
34809
34810 if test "$USE_DOS" = 0 ; then
34811 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
34812 echo "$as_me: WARNING: no timezone variable" >&2;}
34813 fi
34814
34815
34816 fi
34817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34818
34819
34820 fi
34821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34822
34823
34824 fi
34825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34826
34827
34828 fi
34829 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
34830 echo "${ECHO_T}$wx_cv_var_timezone" >&6
34831
34832 if test "x$wx_cv_var_timezone" != x ; then
34833 cat >>confdefs.h <<_ACEOF
34834 #define WX_TIMEZONE $wx_cv_var_timezone
34835 _ACEOF
34836
34837 fi
34838
34839
34840 for ac_func in localtime
34841 do
34842 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34843 echo "$as_me:$LINENO: checking for $ac_func" >&5
34844 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34845 if eval "test \"\${$as_ac_var+set}\" = set"; then
34846 echo $ECHO_N "(cached) $ECHO_C" >&6
34847 else
34848 cat >conftest.$ac_ext <<_ACEOF
34849 /* confdefs.h. */
34850 _ACEOF
34851 cat confdefs.h >>conftest.$ac_ext
34852 cat >>conftest.$ac_ext <<_ACEOF
34853 /* end confdefs.h. */
34854 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34856 #define $ac_func innocuous_$ac_func
34857
34858 /* System header to define __stub macros and hopefully few prototypes,
34859 which can conflict with char $ac_func (); below.
34860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34861 <limits.h> exists even on freestanding compilers. */
34862
34863 #ifdef __STDC__
34864 # include <limits.h>
34865 #else
34866 # include <assert.h>
34867 #endif
34868
34869 #undef $ac_func
34870
34871 /* Override any gcc2 internal prototype to avoid an error. */
34872 #ifdef __cplusplus
34873 extern "C"
34874 {
34875 #endif
34876 /* We use char because int might match the return type of a gcc2
34877 builtin and then its argument prototype would still apply. */
34878 char $ac_func ();
34879 /* The GNU C library defines this for functions which it implements
34880 to always fail with ENOSYS. Some functions are actually named
34881 something starting with __ and the normal name is an alias. */
34882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34883 choke me
34884 #else
34885 char (*f) () = $ac_func;
34886 #endif
34887 #ifdef __cplusplus
34888 }
34889 #endif
34890
34891 int
34892 main ()
34893 {
34894 return f != $ac_func;
34895 ;
34896 return 0;
34897 }
34898 _ACEOF
34899 rm -f conftest.$ac_objext conftest$ac_exeext
34900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34901 (eval $ac_link) 2>conftest.er1
34902 ac_status=$?
34903 grep -v '^ *+' conftest.er1 >conftest.err
34904 rm -f conftest.er1
34905 cat conftest.err >&5
34906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34907 (exit $ac_status); } &&
34908 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34910 (eval $ac_try) 2>&5
34911 ac_status=$?
34912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34913 (exit $ac_status); }; } &&
34914 { ac_try='test -s conftest$ac_exeext'
34915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34916 (eval $ac_try) 2>&5
34917 ac_status=$?
34918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34919 (exit $ac_status); }; }; then
34920 eval "$as_ac_var=yes"
34921 else
34922 echo "$as_me: failed program was:" >&5
34923 sed 's/^/| /' conftest.$ac_ext >&5
34924
34925 eval "$as_ac_var=no"
34926 fi
34927 rm -f conftest.err conftest.$ac_objext \
34928 conftest$ac_exeext conftest.$ac_ext
34929 fi
34930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34932 if test `eval echo '${'$as_ac_var'}'` = yes; then
34933 cat >>confdefs.h <<_ACEOF
34934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34935 _ACEOF
34936
34937 fi
34938 done
34939
34940
34941 if test "$ac_cv_func_localtime" = "yes"; then
34942 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
34943 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
34944 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
34945 echo $ECHO_N "(cached) $ECHO_C" >&6
34946 else
34947
34948 cat >conftest.$ac_ext <<_ACEOF
34949 /* confdefs.h. */
34950 _ACEOF
34951 cat confdefs.h >>conftest.$ac_ext
34952 cat >>conftest.$ac_ext <<_ACEOF
34953 /* end confdefs.h. */
34954
34955 #include <time.h>
34956
34957 int
34958 main ()
34959 {
34960
34961 struct tm tm;
34962 tm.tm_gmtoff++;
34963
34964 ;
34965 return 0;
34966 }
34967 _ACEOF
34968 rm -f conftest.$ac_objext
34969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34970 (eval $ac_compile) 2>conftest.er1
34971 ac_status=$?
34972 grep -v '^ *+' conftest.er1 >conftest.err
34973 rm -f conftest.er1
34974 cat conftest.err >&5
34975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34976 (exit $ac_status); } &&
34977 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34979 (eval $ac_try) 2>&5
34980 ac_status=$?
34981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34982 (exit $ac_status); }; } &&
34983 { ac_try='test -s conftest.$ac_objext'
34984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34985 (eval $ac_try) 2>&5
34986 ac_status=$?
34987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34988 (exit $ac_status); }; }; then
34989
34990 wx_cv_struct_tm_has_gmtoff=yes
34991
34992 else
34993 echo "$as_me: failed program was:" >&5
34994 sed 's/^/| /' conftest.$ac_ext >&5
34995
34996 wx_cv_struct_tm_has_gmtoff=no
34997
34998 fi
34999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35000
35001 fi
35002 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
35003 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
35004 fi
35005
35006 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35007 cat >>confdefs.h <<\_ACEOF
35008 #define WX_GMTOFF_IN_TM 1
35009 _ACEOF
35010
35011 fi
35012
35013
35014
35015 for ac_func in gettimeofday ftime
35016 do
35017 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35018 echo "$as_me:$LINENO: checking for $ac_func" >&5
35019 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35020 if eval "test \"\${$as_ac_var+set}\" = set"; then
35021 echo $ECHO_N "(cached) $ECHO_C" >&6
35022 else
35023 cat >conftest.$ac_ext <<_ACEOF
35024 /* confdefs.h. */
35025 _ACEOF
35026 cat confdefs.h >>conftest.$ac_ext
35027 cat >>conftest.$ac_ext <<_ACEOF
35028 /* end confdefs.h. */
35029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35030 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35031 #define $ac_func innocuous_$ac_func
35032
35033 /* System header to define __stub macros and hopefully few prototypes,
35034 which can conflict with char $ac_func (); below.
35035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35036 <limits.h> exists even on freestanding compilers. */
35037
35038 #ifdef __STDC__
35039 # include <limits.h>
35040 #else
35041 # include <assert.h>
35042 #endif
35043
35044 #undef $ac_func
35045
35046 /* Override any gcc2 internal prototype to avoid an error. */
35047 #ifdef __cplusplus
35048 extern "C"
35049 {
35050 #endif
35051 /* We use char because int might match the return type of a gcc2
35052 builtin and then its argument prototype would still apply. */
35053 char $ac_func ();
35054 /* The GNU C library defines this for functions which it implements
35055 to always fail with ENOSYS. Some functions are actually named
35056 something starting with __ and the normal name is an alias. */
35057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35058 choke me
35059 #else
35060 char (*f) () = $ac_func;
35061 #endif
35062 #ifdef __cplusplus
35063 }
35064 #endif
35065
35066 int
35067 main ()
35068 {
35069 return f != $ac_func;
35070 ;
35071 return 0;
35072 }
35073 _ACEOF
35074 rm -f conftest.$ac_objext conftest$ac_exeext
35075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35076 (eval $ac_link) 2>conftest.er1
35077 ac_status=$?
35078 grep -v '^ *+' conftest.er1 >conftest.err
35079 rm -f conftest.er1
35080 cat conftest.err >&5
35081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35082 (exit $ac_status); } &&
35083 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35085 (eval $ac_try) 2>&5
35086 ac_status=$?
35087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35088 (exit $ac_status); }; } &&
35089 { ac_try='test -s conftest$ac_exeext'
35090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35091 (eval $ac_try) 2>&5
35092 ac_status=$?
35093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35094 (exit $ac_status); }; }; then
35095 eval "$as_ac_var=yes"
35096 else
35097 echo "$as_me: failed program was:" >&5
35098 sed 's/^/| /' conftest.$ac_ext >&5
35099
35100 eval "$as_ac_var=no"
35101 fi
35102 rm -f conftest.err conftest.$ac_objext \
35103 conftest$ac_exeext conftest.$ac_ext
35104 fi
35105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35106 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35107 if test `eval echo '${'$as_ac_var'}'` = yes; then
35108 cat >>confdefs.h <<_ACEOF
35109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35110 _ACEOF
35111 break
35112 fi
35113 done
35114
35115
35116 if test "$ac_cv_func_gettimeofday" = "yes"; then
35117 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
35118 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
35119 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
35120 echo $ECHO_N "(cached) $ECHO_C" >&6
35121 else
35122
35123
35124
35125 ac_ext=cc
35126 ac_cpp='$CXXCPP $CPPFLAGS'
35127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35130
35131
35132 cat >conftest.$ac_ext <<_ACEOF
35133 /* confdefs.h. */
35134 _ACEOF
35135 cat confdefs.h >>conftest.$ac_ext
35136 cat >>conftest.$ac_ext <<_ACEOF
35137 /* end confdefs.h. */
35138
35139 #include <sys/time.h>
35140 #include <unistd.h>
35141
35142 int
35143 main ()
35144 {
35145
35146 struct timeval tv;
35147 gettimeofday(&tv, NULL);
35148
35149 ;
35150 return 0;
35151 }
35152 _ACEOF
35153 rm -f conftest.$ac_objext
35154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35155 (eval $ac_compile) 2>conftest.er1
35156 ac_status=$?
35157 grep -v '^ *+' conftest.er1 >conftest.err
35158 rm -f conftest.er1
35159 cat conftest.err >&5
35160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35161 (exit $ac_status); } &&
35162 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35164 (eval $ac_try) 2>&5
35165 ac_status=$?
35166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35167 (exit $ac_status); }; } &&
35168 { ac_try='test -s conftest.$ac_objext'
35169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35170 (eval $ac_try) 2>&5
35171 ac_status=$?
35172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35173 (exit $ac_status); }; }; then
35174 wx_cv_func_gettimeofday_has_2_args=yes
35175 else
35176 echo "$as_me: failed program was:" >&5
35177 sed 's/^/| /' conftest.$ac_ext >&5
35178
35179 cat >conftest.$ac_ext <<_ACEOF
35180 /* confdefs.h. */
35181 _ACEOF
35182 cat confdefs.h >>conftest.$ac_ext
35183 cat >>conftest.$ac_ext <<_ACEOF
35184 /* end confdefs.h. */
35185
35186 #include <sys/time.h>
35187 #include <unistd.h>
35188
35189 int
35190 main ()
35191 {
35192
35193 struct timeval tv;
35194 gettimeofday(&tv);
35195
35196 ;
35197 return 0;
35198 }
35199 _ACEOF
35200 rm -f conftest.$ac_objext
35201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35202 (eval $ac_compile) 2>conftest.er1
35203 ac_status=$?
35204 grep -v '^ *+' conftest.er1 >conftest.err
35205 rm -f conftest.er1
35206 cat conftest.err >&5
35207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35208 (exit $ac_status); } &&
35209 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35211 (eval $ac_try) 2>&5
35212 ac_status=$?
35213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35214 (exit $ac_status); }; } &&
35215 { ac_try='test -s conftest.$ac_objext'
35216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35217 (eval $ac_try) 2>&5
35218 ac_status=$?
35219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35220 (exit $ac_status); }; }; then
35221 wx_cv_func_gettimeofday_has_2_args=no
35222 else
35223 echo "$as_me: failed program was:" >&5
35224 sed 's/^/| /' conftest.$ac_ext >&5
35225
35226
35227 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
35228 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35229 wx_cv_func_gettimeofday_has_2_args=unknown
35230
35231
35232 fi
35233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35234
35235 fi
35236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35237 ac_ext=c
35238 ac_cpp='$CPP $CPPFLAGS'
35239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35242
35243
35244 fi
35245 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35246 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
35247
35248 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35249 cat >>confdefs.h <<\_ACEOF
35250 #define WX_GETTIMEOFDAY_NO_TZ 1
35251 _ACEOF
35252
35253 fi
35254 fi
35255
35256 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
35257 fi
35258
35259
35260 if test "$wxUSE_SOCKETS" = "yes"; then
35261 if test "$wxUSE_MGL" = "1"; then
35262 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
35263 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
35264 wxUSE_SOCKETS="no"
35265 fi
35266 fi
35267
35268 if test "$wxUSE_SOCKETS" = "yes"; then
35269 if test "$TOOLKIT" != "MSW"; then
35270 echo "$as_me:$LINENO: checking for socket" >&5
35271 echo $ECHO_N "checking for socket... $ECHO_C" >&6
35272 if test "${ac_cv_func_socket+set}" = set; then
35273 echo $ECHO_N "(cached) $ECHO_C" >&6
35274 else
35275 cat >conftest.$ac_ext <<_ACEOF
35276 /* confdefs.h. */
35277 _ACEOF
35278 cat confdefs.h >>conftest.$ac_ext
35279 cat >>conftest.$ac_ext <<_ACEOF
35280 /* end confdefs.h. */
35281 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
35282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35283 #define socket innocuous_socket
35284
35285 /* System header to define __stub macros and hopefully few prototypes,
35286 which can conflict with char socket (); below.
35287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35288 <limits.h> exists even on freestanding compilers. */
35289
35290 #ifdef __STDC__
35291 # include <limits.h>
35292 #else
35293 # include <assert.h>
35294 #endif
35295
35296 #undef socket
35297
35298 /* Override any gcc2 internal prototype to avoid an error. */
35299 #ifdef __cplusplus
35300 extern "C"
35301 {
35302 #endif
35303 /* We use char because int might match the return type of a gcc2
35304 builtin and then its argument prototype would still apply. */
35305 char socket ();
35306 /* The GNU C library defines this for functions which it implements
35307 to always fail with ENOSYS. Some functions are actually named
35308 something starting with __ and the normal name is an alias. */
35309 #if defined (__stub_socket) || defined (__stub___socket)
35310 choke me
35311 #else
35312 char (*f) () = socket;
35313 #endif
35314 #ifdef __cplusplus
35315 }
35316 #endif
35317
35318 int
35319 main ()
35320 {
35321 return f != socket;
35322 ;
35323 return 0;
35324 }
35325 _ACEOF
35326 rm -f conftest.$ac_objext conftest$ac_exeext
35327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35328 (eval $ac_link) 2>conftest.er1
35329 ac_status=$?
35330 grep -v '^ *+' conftest.er1 >conftest.err
35331 rm -f conftest.er1
35332 cat conftest.err >&5
35333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35334 (exit $ac_status); } &&
35335 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35337 (eval $ac_try) 2>&5
35338 ac_status=$?
35339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35340 (exit $ac_status); }; } &&
35341 { ac_try='test -s conftest$ac_exeext'
35342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35343 (eval $ac_try) 2>&5
35344 ac_status=$?
35345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35346 (exit $ac_status); }; }; then
35347 ac_cv_func_socket=yes
35348 else
35349 echo "$as_me: failed program was:" >&5
35350 sed 's/^/| /' conftest.$ac_ext >&5
35351
35352 ac_cv_func_socket=no
35353 fi
35354 rm -f conftest.err conftest.$ac_objext \
35355 conftest$ac_exeext conftest.$ac_ext
35356 fi
35357 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
35358 echo "${ECHO_T}$ac_cv_func_socket" >&6
35359 if test $ac_cv_func_socket = yes; then
35360 :
35361 else
35362
35363 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
35364 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
35365 if test "${ac_cv_lib_socket_socket+set}" = set; then
35366 echo $ECHO_N "(cached) $ECHO_C" >&6
35367 else
35368 ac_check_lib_save_LIBS=$LIBS
35369 LIBS="-lsocket $LIBS"
35370 cat >conftest.$ac_ext <<_ACEOF
35371 /* confdefs.h. */
35372 _ACEOF
35373 cat confdefs.h >>conftest.$ac_ext
35374 cat >>conftest.$ac_ext <<_ACEOF
35375 /* end confdefs.h. */
35376
35377 /* Override any gcc2 internal prototype to avoid an error. */
35378 #ifdef __cplusplus
35379 extern "C"
35380 #endif
35381 /* We use char because int might match the return type of a gcc2
35382 builtin and then its argument prototype would still apply. */
35383 char socket ();
35384 int
35385 main ()
35386 {
35387 socket ();
35388 ;
35389 return 0;
35390 }
35391 _ACEOF
35392 rm -f conftest.$ac_objext conftest$ac_exeext
35393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35394 (eval $ac_link) 2>conftest.er1
35395 ac_status=$?
35396 grep -v '^ *+' conftest.er1 >conftest.err
35397 rm -f conftest.er1
35398 cat conftest.err >&5
35399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35400 (exit $ac_status); } &&
35401 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35403 (eval $ac_try) 2>&5
35404 ac_status=$?
35405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35406 (exit $ac_status); }; } &&
35407 { ac_try='test -s conftest$ac_exeext'
35408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35409 (eval $ac_try) 2>&5
35410 ac_status=$?
35411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35412 (exit $ac_status); }; }; then
35413 ac_cv_lib_socket_socket=yes
35414 else
35415 echo "$as_me: failed program was:" >&5
35416 sed 's/^/| /' conftest.$ac_ext >&5
35417
35418 ac_cv_lib_socket_socket=no
35419 fi
35420 rm -f conftest.err conftest.$ac_objext \
35421 conftest$ac_exeext conftest.$ac_ext
35422 LIBS=$ac_check_lib_save_LIBS
35423 fi
35424 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
35425 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
35426 if test $ac_cv_lib_socket_socket = yes; then
35427 if test "$INET_LINK" != " -lsocket"; then
35428 INET_LINK="$INET_LINK -lsocket"
35429 fi
35430 else
35431
35432 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
35433 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35434 wxUSE_SOCKETS=no
35435
35436
35437 fi
35438
35439
35440
35441 fi
35442
35443 fi
35444 fi
35445
35446 if test "$wxUSE_SOCKETS" = "yes" ; then
35447 if test "$TOOLKIT" != "MSW"; then
35448 ac_ext=cc
35449 ac_cpp='$CXXCPP $CPPFLAGS'
35450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35453
35454 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
35455 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
35456 if test "${wx_cv_type_getsockname3+set}" = set; then
35457 echo $ECHO_N "(cached) $ECHO_C" >&6
35458 else
35459
35460 cat >conftest.$ac_ext <<_ACEOF
35461 /* confdefs.h. */
35462 _ACEOF
35463 cat confdefs.h >>conftest.$ac_ext
35464 cat >>conftest.$ac_ext <<_ACEOF
35465 /* end confdefs.h. */
35466
35467 #include <sys/types.h>
35468 #include <sys/socket.h>
35469
35470 int
35471 main ()
35472 {
35473
35474 socklen_t len;
35475 getsockname(0, 0, &len);
35476
35477 ;
35478 return 0;
35479 }
35480 _ACEOF
35481 rm -f conftest.$ac_objext
35482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35483 (eval $ac_compile) 2>conftest.er1
35484 ac_status=$?
35485 grep -v '^ *+' conftest.er1 >conftest.err
35486 rm -f conftest.er1
35487 cat conftest.err >&5
35488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35489 (exit $ac_status); } &&
35490 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35492 (eval $ac_try) 2>&5
35493 ac_status=$?
35494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35495 (exit $ac_status); }; } &&
35496 { ac_try='test -s conftest.$ac_objext'
35497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35498 (eval $ac_try) 2>&5
35499 ac_status=$?
35500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35501 (exit $ac_status); }; }; then
35502 wx_cv_type_getsockname3=socklen_t
35503 else
35504 echo "$as_me: failed program was:" >&5
35505 sed 's/^/| /' conftest.$ac_ext >&5
35506
35507
35508 CFLAGS_OLD="$CFLAGS"
35509 if test "$GCC" = yes ; then
35510 CFLAGS="$CFLAGS -Werror"
35511 fi
35512
35513 cat >conftest.$ac_ext <<_ACEOF
35514 /* confdefs.h. */
35515 _ACEOF
35516 cat confdefs.h >>conftest.$ac_ext
35517 cat >>conftest.$ac_ext <<_ACEOF
35518 /* end confdefs.h. */
35519
35520 #include <sys/types.h>
35521 #include <sys/socket.h>
35522
35523 int
35524 main ()
35525 {
35526
35527 size_t len;
35528 getsockname(0, 0, &len);
35529
35530 ;
35531 return 0;
35532 }
35533 _ACEOF
35534 rm -f conftest.$ac_objext
35535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35536 (eval $ac_compile) 2>conftest.er1
35537 ac_status=$?
35538 grep -v '^ *+' conftest.er1 >conftest.err
35539 rm -f conftest.er1
35540 cat conftest.err >&5
35541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35542 (exit $ac_status); } &&
35543 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35545 (eval $ac_try) 2>&5
35546 ac_status=$?
35547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35548 (exit $ac_status); }; } &&
35549 { ac_try='test -s conftest.$ac_objext'
35550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35551 (eval $ac_try) 2>&5
35552 ac_status=$?
35553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35554 (exit $ac_status); }; }; then
35555 wx_cv_type_getsockname3=size_t
35556 else
35557 echo "$as_me: failed program was:" >&5
35558 sed 's/^/| /' conftest.$ac_ext >&5
35559
35560 cat >conftest.$ac_ext <<_ACEOF
35561 /* confdefs.h. */
35562 _ACEOF
35563 cat confdefs.h >>conftest.$ac_ext
35564 cat >>conftest.$ac_ext <<_ACEOF
35565 /* end confdefs.h. */
35566
35567 #include <sys/types.h>
35568 #include <sys/socket.h>
35569
35570 int
35571 main ()
35572 {
35573
35574 int len;
35575 getsockname(0, 0, &len);
35576
35577 ;
35578 return 0;
35579 }
35580 _ACEOF
35581 rm -f conftest.$ac_objext
35582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35583 (eval $ac_compile) 2>conftest.er1
35584 ac_status=$?
35585 grep -v '^ *+' conftest.er1 >conftest.err
35586 rm -f conftest.er1
35587 cat conftest.err >&5
35588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35589 (exit $ac_status); } &&
35590 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35592 (eval $ac_try) 2>&5
35593 ac_status=$?
35594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35595 (exit $ac_status); }; } &&
35596 { ac_try='test -s conftest.$ac_objext'
35597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35598 (eval $ac_try) 2>&5
35599 ac_status=$?
35600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35601 (exit $ac_status); }; }; then
35602 wx_cv_type_getsockname3=int
35603 else
35604 echo "$as_me: failed program was:" >&5
35605 sed 's/^/| /' conftest.$ac_ext >&5
35606
35607 wx_cv_type_getsockname3=unknown
35608
35609 fi
35610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35611
35612 fi
35613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35614
35615 CFLAGS="$CFLAGS_OLD"
35616
35617
35618 fi
35619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35620
35621 fi
35622 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
35623 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
35624
35625 if test "$wx_cv_type_getsockname3" = "unknown"; then
35626 wxUSE_SOCKETS=no
35627 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
35628 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35629 else
35630 cat >>confdefs.h <<_ACEOF
35631 #define SOCKLEN_T $wx_cv_type_getsockname3
35632 _ACEOF
35633
35634 fi
35635 ac_ext=c
35636 ac_cpp='$CPP $CPPFLAGS'
35637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35640
35641 fi
35642 fi
35643
35644 if test "$wxUSE_SOCKETS" = "yes" ; then
35645 cat >>confdefs.h <<\_ACEOF
35646 #define wxUSE_SOCKETS 1
35647 _ACEOF
35648
35649 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
35650 fi
35651
35652 if test "$wxUSE_PROTOCOL" = "yes"; then
35653 if test "$wxUSE_SOCKETS" != "yes"; then
35654 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
35655 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35656 wxUSE_PROTOCOL=no
35657 fi
35658 fi
35659
35660 if test "$wxUSE_PROTOCOL" = "yes"; then
35661 cat >>confdefs.h <<\_ACEOF
35662 #define wxUSE_PROTOCOL 1
35663 _ACEOF
35664
35665
35666 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35667 cat >>confdefs.h <<\_ACEOF
35668 #define wxUSE_PROTOCOL_HTTP 1
35669 _ACEOF
35670
35671 fi
35672 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35673 cat >>confdefs.h <<\_ACEOF
35674 #define wxUSE_PROTOCOL_FTP 1
35675 _ACEOF
35676
35677 fi
35678 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35679 cat >>confdefs.h <<\_ACEOF
35680 #define wxUSE_PROTOCOL_FILE 1
35681 _ACEOF
35682
35683 fi
35684 else
35685 if test "$wxUSE_FS_INET" = "yes"; then
35686 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35687 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35688 wxUSE_FS_INET="no"
35689 fi
35690 fi
35691
35692 if test "$wxUSE_URL" = "yes"; then
35693 if test "$wxUSE_PROTOCOL" != "yes"; then
35694 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
35695 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35696 wxUSE_URL=no
35697 fi
35698 if test "$wxUSE_URL" = "yes"; then
35699 cat >>confdefs.h <<\_ACEOF
35700 #define wxUSE_URL 1
35701 _ACEOF
35702
35703 fi
35704 fi
35705
35706 if test "$wxUSE_FS_INET" = "yes"; then
35707 cat >>confdefs.h <<\_ACEOF
35708 #define wxUSE_FS_INET 1
35709 _ACEOF
35710
35711 fi
35712
35713
35714 if test "$wxUSE_GUI" = "yes"; then
35715
35716 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
35717 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
35718 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
35719 wxUSE_JOYSTICK=no
35720 fi
35721
35722 if test "$TOOLKIT" != "MSW"; then
35723 if test "$wxUSE_JOYSTICK" = "yes"; then
35724
35725 for ac_header in linux/joystick.h
35726 do
35727 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35728 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35729 echo "$as_me:$LINENO: checking for $ac_header" >&5
35730 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35731 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35732 echo $ECHO_N "(cached) $ECHO_C" >&6
35733 fi
35734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35735 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35736 else
35737 # Is the header compilable?
35738 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35739 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35740 cat >conftest.$ac_ext <<_ACEOF
35741 /* confdefs.h. */
35742 _ACEOF
35743 cat confdefs.h >>conftest.$ac_ext
35744 cat >>conftest.$ac_ext <<_ACEOF
35745 /* end confdefs.h. */
35746 $ac_includes_default
35747 #include <$ac_header>
35748 _ACEOF
35749 rm -f conftest.$ac_objext
35750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35751 (eval $ac_compile) 2>conftest.er1
35752 ac_status=$?
35753 grep -v '^ *+' conftest.er1 >conftest.err
35754 rm -f conftest.er1
35755 cat conftest.err >&5
35756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35757 (exit $ac_status); } &&
35758 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35760 (eval $ac_try) 2>&5
35761 ac_status=$?
35762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35763 (exit $ac_status); }; } &&
35764 { ac_try='test -s conftest.$ac_objext'
35765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35766 (eval $ac_try) 2>&5
35767 ac_status=$?
35768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35769 (exit $ac_status); }; }; then
35770 ac_header_compiler=yes
35771 else
35772 echo "$as_me: failed program was:" >&5
35773 sed 's/^/| /' conftest.$ac_ext >&5
35774
35775 ac_header_compiler=no
35776 fi
35777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35778 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35779 echo "${ECHO_T}$ac_header_compiler" >&6
35780
35781 # Is the header present?
35782 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35783 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35784 cat >conftest.$ac_ext <<_ACEOF
35785 /* confdefs.h. */
35786 _ACEOF
35787 cat confdefs.h >>conftest.$ac_ext
35788 cat >>conftest.$ac_ext <<_ACEOF
35789 /* end confdefs.h. */
35790 #include <$ac_header>
35791 _ACEOF
35792 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35793 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
35794 ac_status=$?
35795 grep -v '^ *+' conftest.er1 >conftest.err
35796 rm -f conftest.er1
35797 cat conftest.err >&5
35798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35799 (exit $ac_status); } >/dev/null; then
35800 if test -s conftest.err; then
35801 ac_cpp_err=$ac_c_preproc_warn_flag
35802 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
35803 else
35804 ac_cpp_err=
35805 fi
35806 else
35807 ac_cpp_err=yes
35808 fi
35809 if test -z "$ac_cpp_err"; then
35810 ac_header_preproc=yes
35811 else
35812 echo "$as_me: failed program was:" >&5
35813 sed 's/^/| /' conftest.$ac_ext >&5
35814
35815 ac_header_preproc=no
35816 fi
35817 rm -f conftest.err conftest.$ac_ext
35818 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35819 echo "${ECHO_T}$ac_header_preproc" >&6
35820
35821 # So? What about this header?
35822 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35823 yes:no: )
35824 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35825 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35826 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35827 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35828 ac_header_preproc=yes
35829 ;;
35830 no:yes:* )
35831 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35832 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35833 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35834 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35835 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35836 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35837 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35838 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35839 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35840 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35841 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35842 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35843 (
35844 cat <<\_ASBOX
35845 ## ----------------------------------------- ##
35846 ## Report this to wx-dev@lists.wxwidgets.org ##
35847 ## ----------------------------------------- ##
35848 _ASBOX
35849 ) |
35850 sed "s/^/$as_me: WARNING: /" >&2
35851 ;;
35852 esac
35853 echo "$as_me:$LINENO: checking for $ac_header" >&5
35854 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35855 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35856 echo $ECHO_N "(cached) $ECHO_C" >&6
35857 else
35858 eval "$as_ac_Header=\$ac_header_preproc"
35859 fi
35860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35861 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35862
35863 fi
35864 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35865 cat >>confdefs.h <<_ACEOF
35866 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35867 _ACEOF
35868
35869 fi
35870
35871 done
35872
35873 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
35874 wxUSE_JOYSTICK=no
35875 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
35876 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35877 fi
35878 fi
35879 fi
35880
35881 if test "$wxUSE_JOYSTICK" = "yes"; then
35882 cat >>confdefs.h <<\_ACEOF
35883 #define wxUSE_JOYSTICK 1
35884 _ACEOF
35885
35886 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
35887 fi
35888 fi
35889
35890
35891
35892 if test "$wxUSE_FONTMAP" = "yes" ; then
35893 cat >>confdefs.h <<\_ACEOF
35894 #define wxUSE_FONTMAP 1
35895 _ACEOF
35896
35897 fi
35898
35899 if test "$wxUSE_UNICODE" = "yes" ; then
35900 cat >>confdefs.h <<\_ACEOF
35901 #define wxUSE_UNICODE 1
35902 _ACEOF
35903
35904
35905 if test "$USE_WIN32" != 1; then
35906 wxUSE_UNICODE_MSLU=no
35907 fi
35908
35909 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35910 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
35911 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
35912 if test "${ac_cv_lib_unicows_main+set}" = set; then
35913 echo $ECHO_N "(cached) $ECHO_C" >&6
35914 else
35915 ac_check_lib_save_LIBS=$LIBS
35916 LIBS="-lunicows $LIBS"
35917 cat >conftest.$ac_ext <<_ACEOF
35918 /* confdefs.h. */
35919 _ACEOF
35920 cat confdefs.h >>conftest.$ac_ext
35921 cat >>conftest.$ac_ext <<_ACEOF
35922 /* end confdefs.h. */
35923
35924
35925 int
35926 main ()
35927 {
35928 main ();
35929 ;
35930 return 0;
35931 }
35932 _ACEOF
35933 rm -f conftest.$ac_objext conftest$ac_exeext
35934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35935 (eval $ac_link) 2>conftest.er1
35936 ac_status=$?
35937 grep -v '^ *+' conftest.er1 >conftest.err
35938 rm -f conftest.er1
35939 cat conftest.err >&5
35940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35941 (exit $ac_status); } &&
35942 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35944 (eval $ac_try) 2>&5
35945 ac_status=$?
35946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35947 (exit $ac_status); }; } &&
35948 { ac_try='test -s conftest$ac_exeext'
35949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35950 (eval $ac_try) 2>&5
35951 ac_status=$?
35952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35953 (exit $ac_status); }; }; then
35954 ac_cv_lib_unicows_main=yes
35955 else
35956 echo "$as_me: failed program was:" >&5
35957 sed 's/^/| /' conftest.$ac_ext >&5
35958
35959 ac_cv_lib_unicows_main=no
35960 fi
35961 rm -f conftest.err conftest.$ac_objext \
35962 conftest$ac_exeext conftest.$ac_ext
35963 LIBS=$ac_check_lib_save_LIBS
35964 fi
35965 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
35966 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
35967 if test $ac_cv_lib_unicows_main = yes; then
35968
35969 cat >>confdefs.h <<\_ACEOF
35970 #define wxUSE_UNICODE_MSLU 1
35971 _ACEOF
35972
35973
35974 else
35975
35976 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35977 Applications will only run on Windows NT/2000/XP!" >&5
35978 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35979 Applications will only run on Windows NT/2000/XP!" >&2;}
35980 wxUSE_UNICODE_MSLU=no
35981
35982 fi
35983
35984 fi
35985 fi
35986
35987 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
35988 cat >>confdefs.h <<\_ACEOF
35989 #define wxUSE_EXPERIMENTAL_PRINTF 1
35990 _ACEOF
35991
35992 fi
35993
35994
35995 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
35996 cat >>confdefs.h <<\_ACEOF
35997 #define wxUSE_POSTSCRIPT 1
35998 _ACEOF
35999
36000 fi
36001
36002 cat >>confdefs.h <<\_ACEOF
36003 #define wxUSE_AFM_FOR_POSTSCRIPT 1
36004 _ACEOF
36005
36006
36007 cat >>confdefs.h <<\_ACEOF
36008 #define wxUSE_NORMALIZED_PS_FONTS 1
36009 _ACEOF
36010
36011
36012
36013 if test "$wxUSE_CONSTRAINTS" = "yes"; then
36014 cat >>confdefs.h <<\_ACEOF
36015 #define wxUSE_CONSTRAINTS 1
36016 _ACEOF
36017
36018 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
36019 fi
36020
36021 if test "$wxUSE_MDI" = "yes"; then
36022 cat >>confdefs.h <<\_ACEOF
36023 #define wxUSE_MDI 1
36024 _ACEOF
36025
36026
36027 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36028 cat >>confdefs.h <<\_ACEOF
36029 #define wxUSE_MDI_ARCHITECTURE 1
36030 _ACEOF
36031
36032 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
36033 fi
36034 fi
36035
36036 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
36037 cat >>confdefs.h <<\_ACEOF
36038 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
36039 _ACEOF
36040
36041 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
36042 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36043 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
36044 fi
36045 fi
36046
36047 if test "$wxUSE_HELP" = "yes"; then
36048 cat >>confdefs.h <<\_ACEOF
36049 #define wxUSE_HELP 1
36050 _ACEOF
36051
36052 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
36053
36054 if test "$wxUSE_MSW" = 1; then
36055 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
36056 cat >>confdefs.h <<\_ACEOF
36057 #define wxUSE_MS_HTML_HELP 1
36058 _ACEOF
36059
36060 fi
36061 fi
36062
36063 if test "$wxUSE_WXHTML_HELP" = "yes"; then
36064 if test "$wxUSE_HTML" = "yes"; then
36065 cat >>confdefs.h <<\_ACEOF
36066 #define wxUSE_WXHTML_HELP 1
36067 _ACEOF
36068
36069 else
36070 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
36071 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
36072 wxUSE_WXHTML_HELP=no
36073 fi
36074 fi
36075 fi
36076
36077 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36078 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36079 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
36080 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
36081 else
36082 cat >>confdefs.h <<\_ACEOF
36083 #define wxUSE_PRINTING_ARCHITECTURE 1
36084 _ACEOF
36085
36086 fi
36087 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
36088 fi
36089
36090 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
36091 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
36092 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
36093 { (exit 1); exit 1; }; }
36094 fi
36095
36096
36097 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
36098 -o "$wxUSE_CLIPBOARD" = "yes" \
36099 -o "$wxUSE_OLE" = "yes" \
36100 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
36101
36102 for ac_header in ole2.h
36103 do
36104 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36105 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36106 echo "$as_me:$LINENO: checking for $ac_header" >&5
36107 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36108 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36109 echo $ECHO_N "(cached) $ECHO_C" >&6
36110 fi
36111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36112 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36113 else
36114 # Is the header compilable?
36115 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36116 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36117 cat >conftest.$ac_ext <<_ACEOF
36118 /* confdefs.h. */
36119 _ACEOF
36120 cat confdefs.h >>conftest.$ac_ext
36121 cat >>conftest.$ac_ext <<_ACEOF
36122 /* end confdefs.h. */
36123 $ac_includes_default
36124 #include <$ac_header>
36125 _ACEOF
36126 rm -f conftest.$ac_objext
36127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36128 (eval $ac_compile) 2>conftest.er1
36129 ac_status=$?
36130 grep -v '^ *+' conftest.er1 >conftest.err
36131 rm -f conftest.er1
36132 cat conftest.err >&5
36133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36134 (exit $ac_status); } &&
36135 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36137 (eval $ac_try) 2>&5
36138 ac_status=$?
36139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36140 (exit $ac_status); }; } &&
36141 { ac_try='test -s conftest.$ac_objext'
36142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36143 (eval $ac_try) 2>&5
36144 ac_status=$?
36145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36146 (exit $ac_status); }; }; then
36147 ac_header_compiler=yes
36148 else
36149 echo "$as_me: failed program was:" >&5
36150 sed 's/^/| /' conftest.$ac_ext >&5
36151
36152 ac_header_compiler=no
36153 fi
36154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36155 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36156 echo "${ECHO_T}$ac_header_compiler" >&6
36157
36158 # Is the header present?
36159 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36160 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36161 cat >conftest.$ac_ext <<_ACEOF
36162 /* confdefs.h. */
36163 _ACEOF
36164 cat confdefs.h >>conftest.$ac_ext
36165 cat >>conftest.$ac_ext <<_ACEOF
36166 /* end confdefs.h. */
36167 #include <$ac_header>
36168 _ACEOF
36169 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36170 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36171 ac_status=$?
36172 grep -v '^ *+' conftest.er1 >conftest.err
36173 rm -f conftest.er1
36174 cat conftest.err >&5
36175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36176 (exit $ac_status); } >/dev/null; then
36177 if test -s conftest.err; then
36178 ac_cpp_err=$ac_c_preproc_warn_flag
36179 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36180 else
36181 ac_cpp_err=
36182 fi
36183 else
36184 ac_cpp_err=yes
36185 fi
36186 if test -z "$ac_cpp_err"; then
36187 ac_header_preproc=yes
36188 else
36189 echo "$as_me: failed program was:" >&5
36190 sed 's/^/| /' conftest.$ac_ext >&5
36191
36192 ac_header_preproc=no
36193 fi
36194 rm -f conftest.err conftest.$ac_ext
36195 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36196 echo "${ECHO_T}$ac_header_preproc" >&6
36197
36198 # So? What about this header?
36199 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36200 yes:no: )
36201 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36202 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36203 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36204 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36205 ac_header_preproc=yes
36206 ;;
36207 no:yes:* )
36208 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36209 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36210 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36211 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36212 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36213 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36214 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36215 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36216 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36217 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36218 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36219 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36220 (
36221 cat <<\_ASBOX
36222 ## ----------------------------------------- ##
36223 ## Report this to wx-dev@lists.wxwidgets.org ##
36224 ## ----------------------------------------- ##
36225 _ASBOX
36226 ) |
36227 sed "s/^/$as_me: WARNING: /" >&2
36228 ;;
36229 esac
36230 echo "$as_me:$LINENO: checking for $ac_header" >&5
36231 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36232 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36233 echo $ECHO_N "(cached) $ECHO_C" >&6
36234 else
36235 eval "$as_ac_Header=\$ac_header_preproc"
36236 fi
36237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36238 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36239
36240 fi
36241 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36242 cat >>confdefs.h <<_ACEOF
36243 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36244 _ACEOF
36245
36246 fi
36247
36248 done
36249
36250
36251 if test "$ac_cv_header_ole2_h" = "yes" ; then
36252 if test "$GCC" = yes ; then
36253
36254
36255 ac_ext=cc
36256 ac_cpp='$CXXCPP $CPPFLAGS'
36257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36260
36261
36262 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
36263 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
36264 cat >conftest.$ac_ext <<_ACEOF
36265 /* confdefs.h. */
36266 _ACEOF
36267 cat confdefs.h >>conftest.$ac_ext
36268 cat >>conftest.$ac_ext <<_ACEOF
36269 /* end confdefs.h. */
36270 #include <windows.h>
36271 #include <ole2.h>
36272 int
36273 main ()
36274 {
36275
36276 ;
36277 return 0;
36278 }
36279 _ACEOF
36280 rm -f conftest.$ac_objext
36281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36282 (eval $ac_compile) 2>conftest.er1
36283 ac_status=$?
36284 grep -v '^ *+' conftest.er1 >conftest.err
36285 rm -f conftest.er1
36286 cat conftest.err >&5
36287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36288 (exit $ac_status); } &&
36289 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36291 (eval $ac_try) 2>&5
36292 ac_status=$?
36293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36294 (exit $ac_status); }; } &&
36295 { ac_try='test -s conftest.$ac_objext'
36296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36297 (eval $ac_try) 2>&5
36298 ac_status=$?
36299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36300 (exit $ac_status); }; }; then
36301 echo "$as_me:$LINENO: result: no" >&5
36302 echo "${ECHO_T}no" >&6
36303 else
36304 echo "$as_me: failed program was:" >&5
36305 sed 's/^/| /' conftest.$ac_ext >&5
36306
36307 echo "$as_me:$LINENO: result: yes" >&5
36308 echo "${ECHO_T}yes" >&6
36309 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
36310 fi
36311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36312 ac_ext=c
36313 ac_cpp='$CPP $CPPFLAGS'
36314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36317
36318 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36319 if test "$wxUSE_OLE" = "yes" ; then
36320 cat >>confdefs.h <<\_ACEOF
36321 #define wxUSE_OLE 1
36322 _ACEOF
36323
36324 fi
36325 fi
36326
36327 if test "$wxUSE_DATAOBJ" = "yes" ; then
36328 cat >>confdefs.h <<\_ACEOF
36329 #define wxUSE_DATAOBJ 1
36330 _ACEOF
36331
36332 fi
36333 else
36334 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
36335 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36336
36337 wxUSE_CLIPBOARD=no
36338 wxUSE_DRAG_AND_DROP=no
36339 wxUSE_DATAOBJ=no
36340 wxUSE_OLE=no
36341 fi
36342
36343 if test "$wxUSE_METAFILE" = "yes"; then
36344 cat >>confdefs.h <<\_ACEOF
36345 #define wxUSE_METAFILE 1
36346 _ACEOF
36347
36348
36349 cat >>confdefs.h <<\_ACEOF
36350 #define wxUSE_ENH_METAFILE 1
36351 _ACEOF
36352
36353 fi
36354 fi
36355
36356 if test "$wxUSE_IPC" = "yes"; then
36357 if test "$wxUSE_SOCKETS" != "yes"; then
36358 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
36359 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
36360 fi
36361
36362 cat >>confdefs.h <<\_ACEOF
36363 #define wxUSE_IPC 1
36364 _ACEOF
36365
36366 fi
36367
36368 if test "$wxUSE_CLIPBOARD" = "yes"; then
36369 if test "$wxUSE_MGL" = 1; then
36370 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
36371 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
36372 wxUSE_CLIPBOARD=no
36373 fi
36374
36375 if test "$wxUSE_CLIPBOARD" = "yes"; then
36376 cat >>confdefs.h <<\_ACEOF
36377 #define wxUSE_CLIPBOARD 1
36378 _ACEOF
36379
36380
36381 cat >>confdefs.h <<\_ACEOF
36382 #define wxUSE_DATAOBJ 1
36383 _ACEOF
36384
36385 fi
36386 fi
36387
36388 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36389 if test "$wxUSE_GTK" = 1; then
36390 if test "$WXGTK12" != 1; then
36391 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
36392 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
36393 wxUSE_DRAG_AND_DROP=no
36394 fi
36395 fi
36396
36397 if test "$wxUSE_MOTIF" = 1; then
36398 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
36399 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
36400 wxUSE_DRAG_AND_DROP=no
36401 fi
36402
36403 if test "$wxUSE_X11" = 1; then
36404 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
36405 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
36406 wxUSE_DRAG_AND_DROP=no
36407 fi
36408
36409 if test "$wxUSE_MGL" = 1; then
36410 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
36411 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
36412 wxUSE_DRAG_AND_DROP=no
36413 fi
36414
36415 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36416 cat >>confdefs.h <<\_ACEOF
36417 #define wxUSE_DRAG_AND_DROP 1
36418 _ACEOF
36419
36420 fi
36421
36422 fi
36423
36424 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
36425 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
36426 fi
36427
36428 if test "$wxUSE_SPLINES" = "yes" ; then
36429 cat >>confdefs.h <<\_ACEOF
36430 #define wxUSE_SPLINES 1
36431 _ACEOF
36432
36433 fi
36434
36435
36436 USES_CONTROLS=0
36437 if test "$wxUSE_CONTROLS" = "yes"; then
36438 USES_CONTROLS=1
36439 fi
36440
36441 if test "$wxUSE_ACCEL" = "yes"; then
36442 cat >>confdefs.h <<\_ACEOF
36443 #define wxUSE_ACCEL 1
36444 _ACEOF
36445
36446 USES_CONTROLS=1
36447 fi
36448
36449 if test "$wxUSE_BUTTON" = "yes"; then
36450 cat >>confdefs.h <<\_ACEOF
36451 #define wxUSE_BUTTON 1
36452 _ACEOF
36453
36454 USES_CONTROLS=1
36455 fi
36456
36457 if test "$wxUSE_BMPBUTTON" = "yes"; then
36458 cat >>confdefs.h <<\_ACEOF
36459 #define wxUSE_BMPBUTTON 1
36460 _ACEOF
36461
36462 USES_CONTROLS=1
36463 fi
36464
36465 if test "$wxUSE_CALCTRL" = "yes"; then
36466 cat >>confdefs.h <<\_ACEOF
36467 #define wxUSE_CALENDARCTRL 1
36468 _ACEOF
36469
36470 USES_CONTROLS=1
36471 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
36472 fi
36473
36474 if test "$wxUSE_CARET" = "yes"; then
36475 cat >>confdefs.h <<\_ACEOF
36476 #define wxUSE_CARET 1
36477 _ACEOF
36478
36479 USES_CONTROLS=1
36480 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
36481 fi
36482
36483 if test "$wxUSE_COMBOBOX" = "yes"; then
36484 cat >>confdefs.h <<\_ACEOF
36485 #define wxUSE_COMBOBOX 1
36486 _ACEOF
36487
36488 USES_CONTROLS=1
36489 fi
36490
36491 if test "$wxUSE_CHOICE" = "yes"; then
36492 cat >>confdefs.h <<\_ACEOF
36493 #define wxUSE_CHOICE 1
36494 _ACEOF
36495
36496 USES_CONTROLS=1
36497 fi
36498
36499 if test "$wxUSE_CHOICEBOOK" = "yes"; then
36500 cat >>confdefs.h <<\_ACEOF
36501 #define wxUSE_CHOICEBOOK 1
36502 _ACEOF
36503
36504 USES_CONTROLS=1
36505 fi
36506
36507 if test "$wxUSE_CHECKBOX" = "yes"; then
36508 cat >>confdefs.h <<\_ACEOF
36509 #define wxUSE_CHECKBOX 1
36510 _ACEOF
36511
36512 USES_CONTROLS=1
36513 fi
36514
36515 if test "$wxUSE_CHECKLST" = "yes"; then
36516 cat >>confdefs.h <<\_ACEOF
36517 #define wxUSE_CHECKLISTBOX 1
36518 _ACEOF
36519
36520 USES_CONTROLS=1
36521 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
36522 fi
36523
36524 if test "$wxUSE_DISPLAY" = "yes"; then
36525 cat >>confdefs.h <<\_ACEOF
36526 #define wxUSE_DISPLAY 1
36527 _ACEOF
36528
36529 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
36530 fi
36531
36532 if test "$wxUSE_GAUGE" = "yes"; then
36533 cat >>confdefs.h <<\_ACEOF
36534 #define wxUSE_GAUGE 1
36535 _ACEOF
36536
36537 USES_CONTROLS=1
36538 fi
36539
36540 if test "$wxUSE_GRID" = "yes"; then
36541 cat >>confdefs.h <<\_ACEOF
36542 #define wxUSE_GRID 1
36543 _ACEOF
36544
36545 USES_CONTROLS=1
36546 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
36547 fi
36548
36549 if test "$wxUSE_IMAGLIST" = "yes"; then
36550 cat >>confdefs.h <<\_ACEOF
36551 #define wxUSE_IMAGLIST 1
36552 _ACEOF
36553
36554 fi
36555
36556 if test "$wxUSE_LISTBOOK" = "yes"; then
36557 cat >>confdefs.h <<\_ACEOF
36558 #define wxUSE_LISTBOOK 1
36559 _ACEOF
36560
36561 USES_CONTROLS=1
36562 fi
36563
36564 if test "$wxUSE_LISTBOX" = "yes"; then
36565 cat >>confdefs.h <<\_ACEOF
36566 #define wxUSE_LISTBOX 1
36567 _ACEOF
36568
36569 USES_CONTROLS=1
36570 fi
36571
36572 if test "$wxUSE_LISTCTRL" = "yes"; then
36573 if test "$wxUSE_IMAGLIST" = "yes"; then
36574 cat >>confdefs.h <<\_ACEOF
36575 #define wxUSE_LISTCTRL 1
36576 _ACEOF
36577
36578 USES_CONTROLS=1
36579 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
36580 else
36581 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36582 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36583 fi
36584 fi
36585
36586 if test "$wxUSE_NOTEBOOK" = "yes"; then
36587 cat >>confdefs.h <<\_ACEOF
36588 #define wxUSE_NOTEBOOK 1
36589 _ACEOF
36590
36591 USES_CONTROLS=1
36592 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
36593 fi
36594
36595
36596 if test "$wxUSE_RADIOBOX" = "yes"; then
36597 cat >>confdefs.h <<\_ACEOF
36598 #define wxUSE_RADIOBOX 1
36599 _ACEOF
36600
36601 USES_CONTROLS=1
36602 fi
36603
36604 if test "$wxUSE_RADIOBTN" = "yes"; then
36605 cat >>confdefs.h <<\_ACEOF
36606 #define wxUSE_RADIOBTN 1
36607 _ACEOF
36608
36609 USES_CONTROLS=1
36610 fi
36611
36612 if test "$wxUSE_SASH" = "yes"; then
36613 cat >>confdefs.h <<\_ACEOF
36614 #define wxUSE_SASH 1
36615 _ACEOF
36616
36617 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
36618 fi
36619
36620 if test "$wxUSE_SCROLLBAR" = "yes"; then
36621 cat >>confdefs.h <<\_ACEOF
36622 #define wxUSE_SCROLLBAR 1
36623 _ACEOF
36624
36625 USES_CONTROLS=1
36626 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
36627 fi
36628
36629 if test "$wxUSE_SLIDER" = "yes"; then
36630 cat >>confdefs.h <<\_ACEOF
36631 #define wxUSE_SLIDER 1
36632 _ACEOF
36633
36634 USES_CONTROLS=1
36635 fi
36636
36637 if test "$wxUSE_SPINBTN" = "yes"; then
36638 cat >>confdefs.h <<\_ACEOF
36639 #define wxUSE_SPINBTN 1
36640 _ACEOF
36641
36642 USES_CONTROLS=1
36643 fi
36644
36645 if test "$wxUSE_SPINCTRL" = "yes"; then
36646 cat >>confdefs.h <<\_ACEOF
36647 #define wxUSE_SPINCTRL 1
36648 _ACEOF
36649
36650 USES_CONTROLS=1
36651 fi
36652
36653 if test "$wxUSE_SPLITTER" = "yes"; then
36654 cat >>confdefs.h <<\_ACEOF
36655 #define wxUSE_SPLITTER 1
36656 _ACEOF
36657
36658 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
36659 fi
36660
36661 if test "$wxUSE_STATBMP" = "yes"; then
36662 cat >>confdefs.h <<\_ACEOF
36663 #define wxUSE_STATBMP 1
36664 _ACEOF
36665
36666 USES_CONTROLS=1
36667 fi
36668
36669 if test "$wxUSE_STATBOX" = "yes"; then
36670 cat >>confdefs.h <<\_ACEOF
36671 #define wxUSE_STATBOX 1
36672 _ACEOF
36673
36674 USES_CONTROLS=1
36675 fi
36676
36677 if test "$wxUSE_STATTEXT" = "yes"; then
36678 cat >>confdefs.h <<\_ACEOF
36679 #define wxUSE_STATTEXT 1
36680 _ACEOF
36681
36682 USES_CONTROLS=1
36683 fi
36684
36685 if test "$wxUSE_STATLINE" = "yes"; then
36686 cat >>confdefs.h <<\_ACEOF
36687 #define wxUSE_STATLINE 1
36688 _ACEOF
36689
36690 USES_CONTROLS=1
36691 fi
36692
36693 if test "$wxUSE_STATUSBAR" = "yes"; then
36694 cat >>confdefs.h <<\_ACEOF
36695 #define wxUSE_STATUSBAR 1
36696 _ACEOF
36697
36698 USES_CONTROLS=1
36699
36700 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
36701 fi
36702
36703 if test "$wxUSE_TABDIALOG" = "yes"; then
36704 cat >>confdefs.h <<\_ACEOF
36705 #define wxUSE_TAB_DIALOG 1
36706 _ACEOF
36707
36708 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
36709 fi
36710
36711 if test "$wxUSE_TEXTCTRL" = "yes"; then
36712 cat >>confdefs.h <<\_ACEOF
36713 #define wxUSE_TEXTCTRL 1
36714 _ACEOF
36715
36716 USES_CONTROLS=1
36717 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
36718 fi
36719
36720 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36721 if test "$wxUSE_COCOA" = 1 ; then
36722 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36723 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36724 wxUSE_TOGGLEBTN=no
36725 else
36726 if test "$wxUSE_PM" = 1; then
36727 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
36728 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
36729 wxUSE_TOGGLEBTN=no
36730 fi
36731 fi
36732 if test "$wxUSE_UNIVERSAL" = "yes"; then
36733 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
36734 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
36735 wxUSE_TOGGLEBTN=no
36736 fi
36737
36738 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36739 cat >>confdefs.h <<\_ACEOF
36740 #define wxUSE_TOGGLEBTN 1
36741 _ACEOF
36742
36743 USES_CONTROLS=1
36744 fi
36745 fi
36746
36747 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
36748 cat >>confdefs.h <<\_ACEOF
36749 #define wxUSE_TOOLBAR_SIMPLE 1
36750 _ACEOF
36751
36752 wxUSE_TOOLBAR="yes"
36753 USES_CONTROLS=1
36754 fi
36755
36756 if test "$wxUSE_TOOLBAR" = "yes"; then
36757 cat >>confdefs.h <<\_ACEOF
36758 #define wxUSE_TOOLBAR 1
36759 _ACEOF
36760
36761 USES_CONTROLS=1
36762
36763 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
36764 wxUSE_TOOLBAR_NATIVE="yes"
36765 fi
36766
36767 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
36768 cat >>confdefs.h <<\_ACEOF
36769 #define wxUSE_TOOLBAR_NATIVE 1
36770 _ACEOF
36771
36772 USES_CONTROLS=1
36773 fi
36774
36775 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
36776 fi
36777
36778 if test "$wxUSE_TOOLTIPS" = "yes"; then
36779 if test "$wxUSE_MOTIF" = 1; then
36780 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36781 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36782 else
36783 if test "$wxUSE_UNIVERSAL" = "yes"; then
36784 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36785 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36786 else
36787 cat >>confdefs.h <<\_ACEOF
36788 #define wxUSE_TOOLTIPS 1
36789 _ACEOF
36790
36791 fi
36792 fi
36793 fi
36794
36795 if test "$wxUSE_TREECTRL" = "yes"; then
36796 if test "$wxUSE_IMAGLIST" = "yes"; then
36797 cat >>confdefs.h <<\_ACEOF
36798 #define wxUSE_TREECTRL 1
36799 _ACEOF
36800
36801 USES_CONTROLS=1
36802 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
36803 else
36804 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
36805 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
36806 fi
36807 fi
36808
36809 if test "$wxUSE_POPUPWIN" = "yes"; then
36810 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
36811 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
36812 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
36813 else
36814 if test "$wxUSE_PM" = 1; then
36815 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
36816 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
36817 else
36818 cat >>confdefs.h <<\_ACEOF
36819 #define wxUSE_POPUPWIN 1
36820 _ACEOF
36821
36822
36823 USES_CONTROLS=1
36824 fi
36825 fi
36826 fi
36827
36828 if test "$wxUSE_TIPWINDOW" = "yes"; then
36829 if test "$wxUSE_PM" = 1; then
36830 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
36831 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
36832 else
36833 cat >>confdefs.h <<\_ACEOF
36834 #define wxUSE_TIPWINDOW 1
36835 _ACEOF
36836
36837 fi
36838 fi
36839
36840 if test "$USES_CONTROLS" = 1; then
36841 cat >>confdefs.h <<\_ACEOF
36842 #define wxUSE_CONTROLS 1
36843 _ACEOF
36844
36845 fi
36846
36847
36848 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36849 cat >>confdefs.h <<\_ACEOF
36850 #define wxUSE_ACCESSIBILITY 1
36851 _ACEOF
36852
36853 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
36854 fi
36855
36856 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36857 cat >>confdefs.h <<\_ACEOF
36858 #define wxUSE_DRAGIMAGE 1
36859 _ACEOF
36860
36861 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
36862 fi
36863
36864 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36865 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36866 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
36867 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
36868 else
36869 cat >>confdefs.h <<\_ACEOF
36870 #define wxUSE_EXCEPTIONS 1
36871 _ACEOF
36872
36873 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
36874 fi
36875 fi
36876
36877 USE_HTML=0
36878 if test "$wxUSE_HTML" = "yes"; then
36879 cat >>confdefs.h <<\_ACEOF
36880 #define wxUSE_HTML 1
36881 _ACEOF
36882
36883 USE_HTML=1
36884 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36885 if test "$wxUSE_MAC" = 1; then
36886 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
36887 fi
36888 fi
36889 if test "$wxUSE_WEBKIT" = "yes"; then
36890 if test "$wxUSE_MAC" = 1; then
36891 old_CPPFLAGS="$CPPFLAGS"
36892 CPPFLAGS="$CPPFLAGS -x objective-c++"
36893 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
36894 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
36895 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
36896 echo $ECHO_N "(cached) $ECHO_C" >&6
36897 else
36898 cat >conftest.$ac_ext <<_ACEOF
36899 /* confdefs.h. */
36900 _ACEOF
36901 cat confdefs.h >>conftest.$ac_ext
36902 cat >>conftest.$ac_ext <<_ACEOF
36903 /* end confdefs.h. */
36904 #include <Carbon/Carbon.h>
36905
36906 #include <WebKit/HIWebView.h>
36907 _ACEOF
36908 rm -f conftest.$ac_objext
36909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36910 (eval $ac_compile) 2>conftest.er1
36911 ac_status=$?
36912 grep -v '^ *+' conftest.er1 >conftest.err
36913 rm -f conftest.er1
36914 cat conftest.err >&5
36915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36916 (exit $ac_status); } &&
36917 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36919 (eval $ac_try) 2>&5
36920 ac_status=$?
36921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36922 (exit $ac_status); }; } &&
36923 { ac_try='test -s conftest.$ac_objext'
36924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36925 (eval $ac_try) 2>&5
36926 ac_status=$?
36927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36928 (exit $ac_status); }; }; then
36929 ac_cv_header_WebKit_HIWebView_h=yes
36930 else
36931 echo "$as_me: failed program was:" >&5
36932 sed 's/^/| /' conftest.$ac_ext >&5
36933
36934 ac_cv_header_WebKit_HIWebView_h=no
36935 fi
36936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36937 fi
36938 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
36939 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
36940 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
36941
36942 cat >>confdefs.h <<\_ACEOF
36943 #define wxUSE_WEBKIT 1
36944 _ACEOF
36945
36946 WEBKIT_LINK="-framework WebKit"
36947
36948 else
36949
36950 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
36951 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
36952 wxUSE_WEBKIT=no
36953
36954 fi
36955
36956
36957 CPPFLAGS="$old_CPPFLAGS"
36958 elif test "$wxUSE_COCOA" = 1; then
36959 cat >>confdefs.h <<\_ACEOF
36960 #define wxUSE_WEBKIT 1
36961 _ACEOF
36962
36963 else
36964 wxUSE_WEBKIT=no
36965 fi
36966 fi
36967
36968 USE_XRC=0
36969 if test "$wxUSE_XRC" = "yes"; then
36970 if test "$wxUSE_XML" != "yes"; then
36971 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
36972 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
36973 wxUSE_XRC=no
36974 else
36975 cat >>confdefs.h <<\_ACEOF
36976 #define wxUSE_XRC 1
36977 _ACEOF
36978
36979 USE_XRC=1
36980 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
36981 fi
36982 fi
36983
36984 if test "$wxUSE_MENUS" = "yes"; then
36985 cat >>confdefs.h <<\_ACEOF
36986 #define wxUSE_MENUS 1
36987 _ACEOF
36988
36989 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
36990 fi
36991
36992 if test "$wxUSE_METAFILE" = "yes"; then
36993 cat >>confdefs.h <<\_ACEOF
36994 #define wxUSE_METAFILE 1
36995 _ACEOF
36996
36997 fi
36998
36999 if test "$wxUSE_MIMETYPE" = "yes"; then
37000 cat >>confdefs.h <<\_ACEOF
37001 #define wxUSE_MIMETYPE 1
37002 _ACEOF
37003
37004 fi
37005
37006 if test "$wxUSE_MINIFRAME" = "yes"; then
37007 cat >>confdefs.h <<\_ACEOF
37008 #define wxUSE_MINIFRAME 1
37009 _ACEOF
37010
37011 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
37012 fi
37013
37014 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
37015 cat >>confdefs.h <<\_ACEOF
37016 #define wxUSE_SYSTEM_OPTIONS 1
37017 _ACEOF
37018
37019 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
37020 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
37021 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
37022 fi
37023 fi
37024
37025
37026 if test "$wxUSE_VALIDATORS" = "yes"; then
37027 cat >>confdefs.h <<\_ACEOF
37028 #define wxUSE_VALIDATORS 1
37029 _ACEOF
37030
37031 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
37032 fi
37033
37034 if test "$wxUSE_PALETTE" = "yes" ; then
37035 cat >>confdefs.h <<\_ACEOF
37036 #define wxUSE_PALETTE 1
37037 _ACEOF
37038
37039 fi
37040
37041 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
37042 LIBS=" -lunicows $LIBS"
37043 fi
37044
37045
37046 if test "$wxUSE_IMAGE" = "yes" ; then
37047 cat >>confdefs.h <<\_ACEOF
37048 #define wxUSE_IMAGE 1
37049 _ACEOF
37050
37051
37052 if test "$wxUSE_GIF" = "yes" ; then
37053 cat >>confdefs.h <<\_ACEOF
37054 #define wxUSE_GIF 1
37055 _ACEOF
37056
37057 fi
37058
37059 if test "$wxUSE_PCX" = "yes" ; then
37060 cat >>confdefs.h <<\_ACEOF
37061 #define wxUSE_PCX 1
37062 _ACEOF
37063
37064 fi
37065
37066 if test "$wxUSE_IFF" = "yes" ; then
37067 cat >>confdefs.h <<\_ACEOF
37068 #define wxUSE_IFF 1
37069 _ACEOF
37070
37071 fi
37072
37073 if test "$wxUSE_PNM" = "yes" ; then
37074 cat >>confdefs.h <<\_ACEOF
37075 #define wxUSE_PNM 1
37076 _ACEOF
37077
37078 fi
37079
37080 if test "$wxUSE_XPM" = "yes" ; then
37081 cat >>confdefs.h <<\_ACEOF
37082 #define wxUSE_XPM 1
37083 _ACEOF
37084
37085 fi
37086
37087 if test "$wxUSE_ICO_CUR" = "yes" ; then
37088 cat >>confdefs.h <<\_ACEOF
37089 #define wxUSE_ICO_CUR 1
37090 _ACEOF
37091
37092 fi
37093 fi
37094
37095
37096 if test "$wxUSE_CHOICEDLG" = "yes"; then
37097 cat >>confdefs.h <<\_ACEOF
37098 #define wxUSE_CHOICEDLG 1
37099 _ACEOF
37100
37101 fi
37102
37103 if test "$wxUSE_COLOURDLG" = "yes"; then
37104 cat >>confdefs.h <<\_ACEOF
37105 #define wxUSE_COLOURDLG 1
37106 _ACEOF
37107
37108 fi
37109
37110 if test "$wxUSE_FILEDLG" = "yes"; then
37111 cat >>confdefs.h <<\_ACEOF
37112 #define wxUSE_FILEDLG 1
37113 _ACEOF
37114
37115 fi
37116
37117 if test "$wxUSE_FINDREPLDLG" = "yes"; then
37118 cat >>confdefs.h <<\_ACEOF
37119 #define wxUSE_FINDREPLDLG 1
37120 _ACEOF
37121
37122 fi
37123
37124 if test "$wxUSE_FONTDLG" = "yes"; then
37125 cat >>confdefs.h <<\_ACEOF
37126 #define wxUSE_FONTDLG 1
37127 _ACEOF
37128
37129 fi
37130
37131 if test "$wxUSE_DIRDLG" = "yes"; then
37132 if test "$wxUSE_TREECTRL" != "yes"; then
37133 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
37134 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
37135 else
37136 cat >>confdefs.h <<\_ACEOF
37137 #define wxUSE_DIRDLG 1
37138 _ACEOF
37139
37140 fi
37141 fi
37142
37143 if test "$wxUSE_MSGDLG" = "yes"; then
37144 cat >>confdefs.h <<\_ACEOF
37145 #define wxUSE_MSGDLG 1
37146 _ACEOF
37147
37148 fi
37149
37150 if test "$wxUSE_NUMBERDLG" = "yes"; then
37151 cat >>confdefs.h <<\_ACEOF
37152 #define wxUSE_NUMBERDLG 1
37153 _ACEOF
37154
37155 fi
37156
37157 if test "$wxUSE_PROGRESSDLG" = "yes"; then
37158 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37159 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
37160 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
37161 else
37162 cat >>confdefs.h <<\_ACEOF
37163 #define wxUSE_PROGRESSDLG 1
37164 _ACEOF
37165
37166 fi
37167 fi
37168
37169 if test "$wxUSE_SPLASH" = "yes"; then
37170 cat >>confdefs.h <<\_ACEOF
37171 #define wxUSE_SPLASH 1
37172 _ACEOF
37173
37174 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
37175 fi
37176
37177 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37178 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37179 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
37180 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
37181 else
37182 cat >>confdefs.h <<\_ACEOF
37183 #define wxUSE_STARTUP_TIPS 1
37184 _ACEOF
37185
37186 fi
37187 fi
37188
37189 if test "$wxUSE_TEXTDLG" = "yes"; then
37190 cat >>confdefs.h <<\_ACEOF
37191 #define wxUSE_TEXTDLG 1
37192 _ACEOF
37193
37194 fi
37195
37196 if test "$wxUSE_WIZARDDLG" = "yes"; then
37197 cat >>confdefs.h <<\_ACEOF
37198 #define wxUSE_WIZARDDLG 1
37199 _ACEOF
37200
37201 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
37202 fi
37203
37204
37205 if test "$cross_compiling" = "yes"; then
37206 OSINFO="\"$host\""
37207 else
37208 OSINFO=`uname -s -r -m`
37209 OSINFO="\"$OSINFO\""
37210 fi
37211
37212 cat >>confdefs.h <<_ACEOF
37213 #define WXWIN_OS_DESCRIPTION $OSINFO
37214 _ACEOF
37215
37216
37217
37218 if test "x$prefix" != "xNONE"; then
37219 wxPREFIX=$prefix
37220 else
37221 wxPREFIX=$ac_default_prefix
37222 fi
37223
37224 cat >>confdefs.h <<_ACEOF
37225 #define wxINSTALL_PREFIX "$wxPREFIX"
37226 _ACEOF
37227
37228
37229
37230
37231 CORE_BASE_LIBS="net base"
37232 CORE_GUI_LIBS="adv core"
37233
37234 if test "$wxUSE_XML" = "yes" ; then
37235 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
37236 fi
37237 if test "$wxUSE_ODBC" != "no" ; then
37238 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
37239 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
37240 fi
37241 if test "$wxUSE_HTML" = "yes" ; then
37242 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
37243 fi
37244 if test "$wxUSE_XRC" = "yes" ; then
37245 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
37246 fi
37247
37248 if test "$wxUSE_GUI" != "yes"; then
37249 CORE_GUI_LIBS=""
37250 fi
37251
37252
37253
37254
37255
37256
37257
37258
37259 if test "$wxUSE_MAC" = 1 ; then
37260 if test "$wxUSE_SOUND" = "yes"; then
37261 LDFLAGS="$LDFLAGS -framework QuickTime"
37262 fi
37263 if test "$USE_DARWIN" = 1; then
37264 LDFLAGS="$LDFLAGS -framework IOKit"
37265 fi
37266 LDFLAGS="$LDFLAGS -framework Carbon -framework Cocoa -framework System"
37267 fi
37268 if test "$wxUSE_COCOA" = 1 ; then
37269 LDFLAGS="$LDFLAGS -framework Cocoa"
37270 fi
37271
37272
37273 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37274
37275 have_cos=0
37276 have_floor=0
37277
37278 for ac_func in cos
37279 do
37280 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37281 echo "$as_me:$LINENO: checking for $ac_func" >&5
37282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37283 if eval "test \"\${$as_ac_var+set}\" = set"; then
37284 echo $ECHO_N "(cached) $ECHO_C" >&6
37285 else
37286 cat >conftest.$ac_ext <<_ACEOF
37287 /* confdefs.h. */
37288 _ACEOF
37289 cat confdefs.h >>conftest.$ac_ext
37290 cat >>conftest.$ac_ext <<_ACEOF
37291 /* end confdefs.h. */
37292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37294 #define $ac_func innocuous_$ac_func
37295
37296 /* System header to define __stub macros and hopefully few prototypes,
37297 which can conflict with char $ac_func (); below.
37298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37299 <limits.h> exists even on freestanding compilers. */
37300
37301 #ifdef __STDC__
37302 # include <limits.h>
37303 #else
37304 # include <assert.h>
37305 #endif
37306
37307 #undef $ac_func
37308
37309 /* Override any gcc2 internal prototype to avoid an error. */
37310 #ifdef __cplusplus
37311 extern "C"
37312 {
37313 #endif
37314 /* We use char because int might match the return type of a gcc2
37315 builtin and then its argument prototype would still apply. */
37316 char $ac_func ();
37317 /* The GNU C library defines this for functions which it implements
37318 to always fail with ENOSYS. Some functions are actually named
37319 something starting with __ and the normal name is an alias. */
37320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37321 choke me
37322 #else
37323 char (*f) () = $ac_func;
37324 #endif
37325 #ifdef __cplusplus
37326 }
37327 #endif
37328
37329 int
37330 main ()
37331 {
37332 return f != $ac_func;
37333 ;
37334 return 0;
37335 }
37336 _ACEOF
37337 rm -f conftest.$ac_objext conftest$ac_exeext
37338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37339 (eval $ac_link) 2>conftest.er1
37340 ac_status=$?
37341 grep -v '^ *+' conftest.er1 >conftest.err
37342 rm -f conftest.er1
37343 cat conftest.err >&5
37344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37345 (exit $ac_status); } &&
37346 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37348 (eval $ac_try) 2>&5
37349 ac_status=$?
37350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37351 (exit $ac_status); }; } &&
37352 { ac_try='test -s conftest$ac_exeext'
37353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37354 (eval $ac_try) 2>&5
37355 ac_status=$?
37356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37357 (exit $ac_status); }; }; then
37358 eval "$as_ac_var=yes"
37359 else
37360 echo "$as_me: failed program was:" >&5
37361 sed 's/^/| /' conftest.$ac_ext >&5
37362
37363 eval "$as_ac_var=no"
37364 fi
37365 rm -f conftest.err conftest.$ac_objext \
37366 conftest$ac_exeext conftest.$ac_ext
37367 fi
37368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37369 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37370 if test `eval echo '${'$as_ac_var'}'` = yes; then
37371 cat >>confdefs.h <<_ACEOF
37372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37373 _ACEOF
37374 have_cos=1
37375 fi
37376 done
37377
37378
37379 for ac_func in floor
37380 do
37381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37382 echo "$as_me:$LINENO: checking for $ac_func" >&5
37383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37384 if eval "test \"\${$as_ac_var+set}\" = set"; then
37385 echo $ECHO_N "(cached) $ECHO_C" >&6
37386 else
37387 cat >conftest.$ac_ext <<_ACEOF
37388 /* confdefs.h. */
37389 _ACEOF
37390 cat confdefs.h >>conftest.$ac_ext
37391 cat >>conftest.$ac_ext <<_ACEOF
37392 /* end confdefs.h. */
37393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37394 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37395 #define $ac_func innocuous_$ac_func
37396
37397 /* System header to define __stub macros and hopefully few prototypes,
37398 which can conflict with char $ac_func (); below.
37399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37400 <limits.h> exists even on freestanding compilers. */
37401
37402 #ifdef __STDC__
37403 # include <limits.h>
37404 #else
37405 # include <assert.h>
37406 #endif
37407
37408 #undef $ac_func
37409
37410 /* Override any gcc2 internal prototype to avoid an error. */
37411 #ifdef __cplusplus
37412 extern "C"
37413 {
37414 #endif
37415 /* We use char because int might match the return type of a gcc2
37416 builtin and then its argument prototype would still apply. */
37417 char $ac_func ();
37418 /* The GNU C library defines this for functions which it implements
37419 to always fail with ENOSYS. Some functions are actually named
37420 something starting with __ and the normal name is an alias. */
37421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37422 choke me
37423 #else
37424 char (*f) () = $ac_func;
37425 #endif
37426 #ifdef __cplusplus
37427 }
37428 #endif
37429
37430 int
37431 main ()
37432 {
37433 return f != $ac_func;
37434 ;
37435 return 0;
37436 }
37437 _ACEOF
37438 rm -f conftest.$ac_objext conftest$ac_exeext
37439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37440 (eval $ac_link) 2>conftest.er1
37441 ac_status=$?
37442 grep -v '^ *+' conftest.er1 >conftest.err
37443 rm -f conftest.er1
37444 cat conftest.err >&5
37445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37446 (exit $ac_status); } &&
37447 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37449 (eval $ac_try) 2>&5
37450 ac_status=$?
37451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37452 (exit $ac_status); }; } &&
37453 { ac_try='test -s conftest$ac_exeext'
37454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37455 (eval $ac_try) 2>&5
37456 ac_status=$?
37457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37458 (exit $ac_status); }; }; then
37459 eval "$as_ac_var=yes"
37460 else
37461 echo "$as_me: failed program was:" >&5
37462 sed 's/^/| /' conftest.$ac_ext >&5
37463
37464 eval "$as_ac_var=no"
37465 fi
37466 rm -f conftest.err conftest.$ac_objext \
37467 conftest$ac_exeext conftest.$ac_ext
37468 fi
37469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37470 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37471 if test `eval echo '${'$as_ac_var'}'` = yes; then
37472 cat >>confdefs.h <<_ACEOF
37473 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37474 _ACEOF
37475 have_floor=1
37476 fi
37477 done
37478
37479 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
37480 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
37481 if test "$have_cos" = 1 -a "$have_floor" = 1; then
37482 echo "$as_me:$LINENO: result: yes" >&5
37483 echo "${ECHO_T}yes" >&6
37484 else
37485 echo "$as_me:$LINENO: result: no" >&5
37486 echo "${ECHO_T}no" >&6
37487 LIBS="$LIBS -lm"
37488 # use different functions to avoid configure caching
37489 have_sin=0
37490 have_ceil=0
37491
37492 for ac_func in sin
37493 do
37494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37495 echo "$as_me:$LINENO: checking for $ac_func" >&5
37496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37497 if eval "test \"\${$as_ac_var+set}\" = set"; then
37498 echo $ECHO_N "(cached) $ECHO_C" >&6
37499 else
37500 cat >conftest.$ac_ext <<_ACEOF
37501 /* confdefs.h. */
37502 _ACEOF
37503 cat confdefs.h >>conftest.$ac_ext
37504 cat >>conftest.$ac_ext <<_ACEOF
37505 /* end confdefs.h. */
37506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37508 #define $ac_func innocuous_$ac_func
37509
37510 /* System header to define __stub macros and hopefully few prototypes,
37511 which can conflict with char $ac_func (); below.
37512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37513 <limits.h> exists even on freestanding compilers. */
37514
37515 #ifdef __STDC__
37516 # include <limits.h>
37517 #else
37518 # include <assert.h>
37519 #endif
37520
37521 #undef $ac_func
37522
37523 /* Override any gcc2 internal prototype to avoid an error. */
37524 #ifdef __cplusplus
37525 extern "C"
37526 {
37527 #endif
37528 /* We use char because int might match the return type of a gcc2
37529 builtin and then its argument prototype would still apply. */
37530 char $ac_func ();
37531 /* The GNU C library defines this for functions which it implements
37532 to always fail with ENOSYS. Some functions are actually named
37533 something starting with __ and the normal name is an alias. */
37534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37535 choke me
37536 #else
37537 char (*f) () = $ac_func;
37538 #endif
37539 #ifdef __cplusplus
37540 }
37541 #endif
37542
37543 int
37544 main ()
37545 {
37546 return f != $ac_func;
37547 ;
37548 return 0;
37549 }
37550 _ACEOF
37551 rm -f conftest.$ac_objext conftest$ac_exeext
37552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37553 (eval $ac_link) 2>conftest.er1
37554 ac_status=$?
37555 grep -v '^ *+' conftest.er1 >conftest.err
37556 rm -f conftest.er1
37557 cat conftest.err >&5
37558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37559 (exit $ac_status); } &&
37560 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37562 (eval $ac_try) 2>&5
37563 ac_status=$?
37564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37565 (exit $ac_status); }; } &&
37566 { ac_try='test -s conftest$ac_exeext'
37567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37568 (eval $ac_try) 2>&5
37569 ac_status=$?
37570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37571 (exit $ac_status); }; }; then
37572 eval "$as_ac_var=yes"
37573 else
37574 echo "$as_me: failed program was:" >&5
37575 sed 's/^/| /' conftest.$ac_ext >&5
37576
37577 eval "$as_ac_var=no"
37578 fi
37579 rm -f conftest.err conftest.$ac_objext \
37580 conftest$ac_exeext conftest.$ac_ext
37581 fi
37582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37583 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37584 if test `eval echo '${'$as_ac_var'}'` = yes; then
37585 cat >>confdefs.h <<_ACEOF
37586 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37587 _ACEOF
37588 have_sin=1
37589 fi
37590 done
37591
37592
37593 for ac_func in ceil
37594 do
37595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37596 echo "$as_me:$LINENO: checking for $ac_func" >&5
37597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37598 if eval "test \"\${$as_ac_var+set}\" = set"; then
37599 echo $ECHO_N "(cached) $ECHO_C" >&6
37600 else
37601 cat >conftest.$ac_ext <<_ACEOF
37602 /* confdefs.h. */
37603 _ACEOF
37604 cat confdefs.h >>conftest.$ac_ext
37605 cat >>conftest.$ac_ext <<_ACEOF
37606 /* end confdefs.h. */
37607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37609 #define $ac_func innocuous_$ac_func
37610
37611 /* System header to define __stub macros and hopefully few prototypes,
37612 which can conflict with char $ac_func (); below.
37613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37614 <limits.h> exists even on freestanding compilers. */
37615
37616 #ifdef __STDC__
37617 # include <limits.h>
37618 #else
37619 # include <assert.h>
37620 #endif
37621
37622 #undef $ac_func
37623
37624 /* Override any gcc2 internal prototype to avoid an error. */
37625 #ifdef __cplusplus
37626 extern "C"
37627 {
37628 #endif
37629 /* We use char because int might match the return type of a gcc2
37630 builtin and then its argument prototype would still apply. */
37631 char $ac_func ();
37632 /* The GNU C library defines this for functions which it implements
37633 to always fail with ENOSYS. Some functions are actually named
37634 something starting with __ and the normal name is an alias. */
37635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37636 choke me
37637 #else
37638 char (*f) () = $ac_func;
37639 #endif
37640 #ifdef __cplusplus
37641 }
37642 #endif
37643
37644 int
37645 main ()
37646 {
37647 return f != $ac_func;
37648 ;
37649 return 0;
37650 }
37651 _ACEOF
37652 rm -f conftest.$ac_objext conftest$ac_exeext
37653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37654 (eval $ac_link) 2>conftest.er1
37655 ac_status=$?
37656 grep -v '^ *+' conftest.er1 >conftest.err
37657 rm -f conftest.er1
37658 cat conftest.err >&5
37659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37660 (exit $ac_status); } &&
37661 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37663 (eval $ac_try) 2>&5
37664 ac_status=$?
37665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37666 (exit $ac_status); }; } &&
37667 { ac_try='test -s conftest$ac_exeext'
37668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37669 (eval $ac_try) 2>&5
37670 ac_status=$?
37671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37672 (exit $ac_status); }; }; then
37673 eval "$as_ac_var=yes"
37674 else
37675 echo "$as_me: failed program was:" >&5
37676 sed 's/^/| /' conftest.$ac_ext >&5
37677
37678 eval "$as_ac_var=no"
37679 fi
37680 rm -f conftest.err conftest.$ac_objext \
37681 conftest$ac_exeext conftest.$ac_ext
37682 fi
37683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37684 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37685 if test `eval echo '${'$as_ac_var'}'` = yes; then
37686 cat >>confdefs.h <<_ACEOF
37687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37688 _ACEOF
37689 have_ceil=1
37690 fi
37691 done
37692
37693 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
37694 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
37695 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
37696 echo "$as_me:$LINENO: result: yes" >&5
37697 echo "${ECHO_T}yes" >&6
37698 else
37699 echo "$as_me:$LINENO: result: no" >&5
37700 echo "${ECHO_T}no" >&6
37701 # not sure we should warn the user, crash, etc.
37702 fi
37703 fi
37704
37705 if test "$wxUSE_GUI" = "yes"; then
37706
37707
37708 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
37709 drawing dynamic erase event exec font image \
37710 minimal propsize rotate shaped widgets render"
37711
37712 if test "$wxUSE_MONOLITHIC" != "yes"; then
37713 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
37714 fi
37715 else
37716 SAMPLES_SUBDIRS="console"
37717 fi
37718
37719
37720 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
37721 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
37722
37723 if test "$GXX" = yes ; then
37724 CXXWARNINGS="-Wall"
37725 fi
37726
37727 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
37728
37729 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
37730 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS`
37731 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
37732
37733
37734 LIBS=`echo $LIBS`
37735 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37736 EXTRALIBS_XML="$EXPAT_LINK"
37737 EXTRALIBS_HTML="$MSPACK_LINK"
37738 EXTRALIBS_ODBC="$ODBC_LINK"
37739 if test "$wxUSE_GUI" = "yes"; then
37740 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
37741 fi
37742 if test "$wxUSE_OPENGL" = "yes"; then
37743 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
37744 fi
37745
37746 LDFLAGS="$LDFLAGS $PROFILE"
37747
37748 if test "$wxUSE_GTK" = 1; then
37749 WXCONFIG_INCLUDE=
37750 else
37751 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
37752 fi
37753
37754 WXCONFIG_EXTRALIBS="$LIBS"
37755
37756 if test "$wxUSE_REGEX" = "builtin" ; then
37757 wxconfig_3rdparty="$wxconfig_3rdparty regex${lib_unicode_suffix}"
37758 fi
37759 if test "$wxUSE_EXPAT" = "builtin" ; then
37760 wxconfig_3rdparty="$wxconfig_3rdparty expat"
37761 fi
37762 if test "$wxUSE_ODBC" = "builtin" ; then
37763 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
37764 fi
37765 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37766 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
37767 fi
37768 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37769 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
37770 fi
37771 if test "$wxUSE_LIBPNG" = "builtin" ; then
37772 wxconfig_3rdparty="$wxconfig_3rdparty png"
37773 fi
37774 if test "$wxUSE_ZLIB" = "builtin" ; then
37775 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
37776 fi
37777 if test "$wxUSE_ODBC" = "builtin" ; then
37778 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
37779 fi
37780
37781 for i in $wxconfig_3rdparty ; do
37782 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37783 done
37784
37785
37786 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37787 WXUNIV=1
37788 else
37789 WXUNIV=0
37790 fi
37791
37792
37793
37794
37795
37796
37797
37798
37799
37800 if test $wxUSE_MONOLITHIC = "yes" ; then
37801 MONOLITHIC=1
37802 else
37803 MONOLITHIC=0
37804 fi
37805
37806 if test $wxUSE_PLUGINS = "yes" ; then
37807 USE_PLUGINS=1
37808 else
37809 USE_PLUGINS=0
37810 fi
37811
37812 if test $wxUSE_ODBC != "no" ; then
37813 USE_ODBC=1
37814 else
37815 USE_ODBC=0
37816 fi
37817
37818 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37819 OFFICIAL_BUILD=1
37820 else
37821 OFFICIAL_BUILD=0
37822 fi
37823
37824
37825
37826
37827
37828
37829
37830
37831
37832
37833
37834
37835
37836
37837
37838
37839
37840
37841
37842
37843
37844
37845 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
37846
37847
37848
37849
37850
37851
37852
37853
37854 case "$TOOLKIT" in
37855 GTK)
37856 TOOLKIT_USER="GTK+"
37857 if test "$WXGTK20" = 1; then
37858 TOOLKIT_USER="$TOOLKIT_USER 2"
37859 fi
37860 ;;
37861
37862 *)
37863 TOOLKIT_USER=$TOOLKIT_LOWERCASE
37864 ;;
37865 esac
37866
37867
37868 if test "x$BAKEFILE_HOST" = "x"; then
37869 BAKEFILE_HOST="${host}"
37870 fi
37871
37872 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
37873
37874 if test -n "$ac_tool_prefix"; then
37875 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
37876 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
37877 echo "$as_me:$LINENO: checking for $ac_word" >&5
37878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37879 if test "${ac_cv_prog_RANLIB+set}" = set; then
37880 echo $ECHO_N "(cached) $ECHO_C" >&6
37881 else
37882 if test -n "$RANLIB"; then
37883 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
37884 else
37885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37886 for as_dir in $PATH
37887 do
37888 IFS=$as_save_IFS
37889 test -z "$as_dir" && as_dir=.
37890 for ac_exec_ext in '' $ac_executable_extensions; do
37891 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37892 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
37893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37894 break 2
37895 fi
37896 done
37897 done
37898
37899 fi
37900 fi
37901 RANLIB=$ac_cv_prog_RANLIB
37902 if test -n "$RANLIB"; then
37903 echo "$as_me:$LINENO: result: $RANLIB" >&5
37904 echo "${ECHO_T}$RANLIB" >&6
37905 else
37906 echo "$as_me:$LINENO: result: no" >&5
37907 echo "${ECHO_T}no" >&6
37908 fi
37909
37910 fi
37911 if test -z "$ac_cv_prog_RANLIB"; then
37912 ac_ct_RANLIB=$RANLIB
37913 # Extract the first word of "ranlib", so it can be a program name with args.
37914 set dummy ranlib; ac_word=$2
37915 echo "$as_me:$LINENO: checking for $ac_word" >&5
37916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37917 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
37918 echo $ECHO_N "(cached) $ECHO_C" >&6
37919 else
37920 if test -n "$ac_ct_RANLIB"; then
37921 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
37922 else
37923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37924 for as_dir in $PATH
37925 do
37926 IFS=$as_save_IFS
37927 test -z "$as_dir" && as_dir=.
37928 for ac_exec_ext in '' $ac_executable_extensions; do
37929 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37930 ac_cv_prog_ac_ct_RANLIB="ranlib"
37931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37932 break 2
37933 fi
37934 done
37935 done
37936
37937 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
37938 fi
37939 fi
37940 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
37941 if test -n "$ac_ct_RANLIB"; then
37942 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
37943 echo "${ECHO_T}$ac_ct_RANLIB" >&6
37944 else
37945 echo "$as_me:$LINENO: result: no" >&5
37946 echo "${ECHO_T}no" >&6
37947 fi
37948
37949 RANLIB=$ac_ct_RANLIB
37950 else
37951 RANLIB="$ac_cv_prog_RANLIB"
37952 fi
37953
37954 # Find a good install program. We prefer a C program (faster),
37955 # so one script is as good as another. But avoid the broken or
37956 # incompatible versions:
37957 # SysV /etc/install, /usr/sbin/install
37958 # SunOS /usr/etc/install
37959 # IRIX /sbin/install
37960 # AIX /bin/install
37961 # AmigaOS /C/install, which installs bootblocks on floppy discs
37962 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
37963 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
37964 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
37965 # OS/2's system install, which has a completely different semantic
37966 # ./install, which can be erroneously created by make from ./install.sh.
37967 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
37968 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
37969 if test -z "$INSTALL"; then
37970 if test "${ac_cv_path_install+set}" = set; then
37971 echo $ECHO_N "(cached) $ECHO_C" >&6
37972 else
37973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37974 for as_dir in $PATH
37975 do
37976 IFS=$as_save_IFS
37977 test -z "$as_dir" && as_dir=.
37978 # Account for people who put trailing slashes in PATH elements.
37979 case $as_dir/ in
37980 ./ | .// | /cC/* | \
37981 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
37982 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
37983 /usr/ucb/* ) ;;
37984 *)
37985 # OSF1 and SCO ODT 3.0 have their own names for install.
37986 # Don't use installbsd from OSF since it installs stuff as root
37987 # by default.
37988 for ac_prog in ginstall scoinst install; do
37989 for ac_exec_ext in '' $ac_executable_extensions; do
37990 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
37991 if test $ac_prog = install &&
37992 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
37993 # AIX install. It has an incompatible calling convention.
37994 :
37995 elif test $ac_prog = install &&
37996 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
37997 # program-specific install script used by HP pwplus--don't use.
37998 :
37999 else
38000 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
38001 break 3
38002 fi
38003 fi
38004 done
38005 done
38006 ;;
38007 esac
38008 done
38009
38010
38011 fi
38012 if test "${ac_cv_path_install+set}" = set; then
38013 INSTALL=$ac_cv_path_install
38014 else
38015 # As a last resort, use the slow shell script. We don't cache a
38016 # path for INSTALL within a source directory, because that will
38017 # break other packages using the cache if that directory is
38018 # removed, or if the path is relative.
38019 INSTALL=$ac_install_sh
38020 fi
38021 fi
38022 echo "$as_me:$LINENO: result: $INSTALL" >&5
38023 echo "${ECHO_T}$INSTALL" >&6
38024
38025 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
38026 # It thinks the first close brace ends the variable substitution.
38027 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
38028
38029 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
38030
38031 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
38032
38033 echo "$as_me:$LINENO: checking whether ln -s works" >&5
38034 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
38035 LN_S=$as_ln_s
38036 if test "$LN_S" = "ln -s"; then
38037 echo "$as_me:$LINENO: result: yes" >&5
38038 echo "${ECHO_T}yes" >&6
38039 else
38040 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
38041 echo "${ECHO_T}no, using $LN_S" >&6
38042 fi
38043
38044
38045 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38046 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
38047 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
38048 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
38049 echo $ECHO_N "(cached) $ECHO_C" >&6
38050 else
38051 cat >conftest.make <<\_ACEOF
38052 all:
38053 @echo 'ac_maketemp="$(MAKE)"'
38054 _ACEOF
38055 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
38056 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
38057 if test -n "$ac_maketemp"; then
38058 eval ac_cv_prog_make_${ac_make}_set=yes
38059 else
38060 eval ac_cv_prog_make_${ac_make}_set=no
38061 fi
38062 rm -f conftest.make
38063 fi
38064 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
38065 echo "$as_me:$LINENO: result: yes" >&5
38066 echo "${ECHO_T}yes" >&6
38067 SET_MAKE=
38068 else
38069 echo "$as_me:$LINENO: result: no" >&5
38070 echo "${ECHO_T}no" >&6
38071 SET_MAKE="MAKE=${MAKE-make}"
38072 fi
38073
38074
38075
38076 if test -n "$ac_tool_prefix"; then
38077 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38078 set dummy ${ac_tool_prefix}ar; ac_word=$2
38079 echo "$as_me:$LINENO: checking for $ac_word" >&5
38080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38081 if test "${ac_cv_prog_AR+set}" = set; then
38082 echo $ECHO_N "(cached) $ECHO_C" >&6
38083 else
38084 if test -n "$AR"; then
38085 ac_cv_prog_AR="$AR" # Let the user override the test.
38086 else
38087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38088 for as_dir in $PATH
38089 do
38090 IFS=$as_save_IFS
38091 test -z "$as_dir" && as_dir=.
38092 for ac_exec_ext in '' $ac_executable_extensions; do
38093 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38094 ac_cv_prog_AR="${ac_tool_prefix}ar"
38095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38096 break 2
38097 fi
38098 done
38099 done
38100
38101 fi
38102 fi
38103 AR=$ac_cv_prog_AR
38104 if test -n "$AR"; then
38105 echo "$as_me:$LINENO: result: $AR" >&5
38106 echo "${ECHO_T}$AR" >&6
38107 else
38108 echo "$as_me:$LINENO: result: no" >&5
38109 echo "${ECHO_T}no" >&6
38110 fi
38111
38112 fi
38113 if test -z "$ac_cv_prog_AR"; then
38114 ac_ct_AR=$AR
38115 # Extract the first word of "ar", so it can be a program name with args.
38116 set dummy ar; ac_word=$2
38117 echo "$as_me:$LINENO: checking for $ac_word" >&5
38118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38119 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
38120 echo $ECHO_N "(cached) $ECHO_C" >&6
38121 else
38122 if test -n "$ac_ct_AR"; then
38123 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
38124 else
38125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38126 for as_dir in $PATH
38127 do
38128 IFS=$as_save_IFS
38129 test -z "$as_dir" && as_dir=.
38130 for ac_exec_ext in '' $ac_executable_extensions; do
38131 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38132 ac_cv_prog_ac_ct_AR="ar"
38133 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38134 break 2
38135 fi
38136 done
38137 done
38138
38139 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
38140 fi
38141 fi
38142 ac_ct_AR=$ac_cv_prog_ac_ct_AR
38143 if test -n "$ac_ct_AR"; then
38144 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
38145 echo "${ECHO_T}$ac_ct_AR" >&6
38146 else
38147 echo "$as_me:$LINENO: result: no" >&5
38148 echo "${ECHO_T}no" >&6
38149 fi
38150
38151 AR=$ac_ct_AR
38152 else
38153 AR="$ac_cv_prog_AR"
38154 fi
38155
38156 if test -n "$ac_tool_prefix"; then
38157 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38158 set dummy ${ac_tool_prefix}strip; ac_word=$2
38159 echo "$as_me:$LINENO: checking for $ac_word" >&5
38160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38161 if test "${ac_cv_prog_STRIP+set}" = set; then
38162 echo $ECHO_N "(cached) $ECHO_C" >&6
38163 else
38164 if test -n "$STRIP"; then
38165 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
38166 else
38167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38168 for as_dir in $PATH
38169 do
38170 IFS=$as_save_IFS
38171 test -z "$as_dir" && as_dir=.
38172 for ac_exec_ext in '' $ac_executable_extensions; do
38173 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38174 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
38175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38176 break 2
38177 fi
38178 done
38179 done
38180
38181 fi
38182 fi
38183 STRIP=$ac_cv_prog_STRIP
38184 if test -n "$STRIP"; then
38185 echo "$as_me:$LINENO: result: $STRIP" >&5
38186 echo "${ECHO_T}$STRIP" >&6
38187 else
38188 echo "$as_me:$LINENO: result: no" >&5
38189 echo "${ECHO_T}no" >&6
38190 fi
38191
38192 fi
38193 if test -z "$ac_cv_prog_STRIP"; then
38194 ac_ct_STRIP=$STRIP
38195 # Extract the first word of "strip", so it can be a program name with args.
38196 set dummy strip; ac_word=$2
38197 echo "$as_me:$LINENO: checking for $ac_word" >&5
38198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38199 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
38200 echo $ECHO_N "(cached) $ECHO_C" >&6
38201 else
38202 if test -n "$ac_ct_STRIP"; then
38203 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
38204 else
38205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38206 for as_dir in $PATH
38207 do
38208 IFS=$as_save_IFS
38209 test -z "$as_dir" && as_dir=.
38210 for ac_exec_ext in '' $ac_executable_extensions; do
38211 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38212 ac_cv_prog_ac_ct_STRIP="strip"
38213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38214 break 2
38215 fi
38216 done
38217 done
38218
38219 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
38220 fi
38221 fi
38222 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
38223 if test -n "$ac_ct_STRIP"; then
38224 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
38225 echo "${ECHO_T}$ac_ct_STRIP" >&6
38226 else
38227 echo "$as_me:$LINENO: result: no" >&5
38228 echo "${ECHO_T}no" >&6
38229 fi
38230
38231 STRIP=$ac_ct_STRIP
38232 else
38233 STRIP="$ac_cv_prog_STRIP"
38234 fi
38235
38236 if test -n "$ac_tool_prefix"; then
38237 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38238 set dummy ${ac_tool_prefix}nm; ac_word=$2
38239 echo "$as_me:$LINENO: checking for $ac_word" >&5
38240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38241 if test "${ac_cv_prog_NM+set}" = set; then
38242 echo $ECHO_N "(cached) $ECHO_C" >&6
38243 else
38244 if test -n "$NM"; then
38245 ac_cv_prog_NM="$NM" # Let the user override the test.
38246 else
38247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38248 for as_dir in $PATH
38249 do
38250 IFS=$as_save_IFS
38251 test -z "$as_dir" && as_dir=.
38252 for ac_exec_ext in '' $ac_executable_extensions; do
38253 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38254 ac_cv_prog_NM="${ac_tool_prefix}nm"
38255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38256 break 2
38257 fi
38258 done
38259 done
38260
38261 fi
38262 fi
38263 NM=$ac_cv_prog_NM
38264 if test -n "$NM"; then
38265 echo "$as_me:$LINENO: result: $NM" >&5
38266 echo "${ECHO_T}$NM" >&6
38267 else
38268 echo "$as_me:$LINENO: result: no" >&5
38269 echo "${ECHO_T}no" >&6
38270 fi
38271
38272 fi
38273 if test -z "$ac_cv_prog_NM"; then
38274 ac_ct_NM=$NM
38275 # Extract the first word of "nm", so it can be a program name with args.
38276 set dummy nm; ac_word=$2
38277 echo "$as_me:$LINENO: checking for $ac_word" >&5
38278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38279 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
38280 echo $ECHO_N "(cached) $ECHO_C" >&6
38281 else
38282 if test -n "$ac_ct_NM"; then
38283 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
38284 else
38285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38286 for as_dir in $PATH
38287 do
38288 IFS=$as_save_IFS
38289 test -z "$as_dir" && as_dir=.
38290 for ac_exec_ext in '' $ac_executable_extensions; do
38291 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38292 ac_cv_prog_ac_ct_NM="nm"
38293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38294 break 2
38295 fi
38296 done
38297 done
38298
38299 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
38300 fi
38301 fi
38302 ac_ct_NM=$ac_cv_prog_ac_ct_NM
38303 if test -n "$ac_ct_NM"; then
38304 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
38305 echo "${ECHO_T}$ac_ct_NM" >&6
38306 else
38307 echo "$as_me:$LINENO: result: no" >&5
38308 echo "${ECHO_T}no" >&6
38309 fi
38310
38311 NM=$ac_ct_NM
38312 else
38313 NM="$ac_cv_prog_NM"
38314 fi
38315
38316
38317 case ${BAKEFILE_HOST} in
38318 *-hp-hpux* )
38319 INSTALL_DIR="mkdir -p"
38320 ;;
38321 *) INSTALL_DIR="$INSTALL -d"
38322 ;;
38323 esac
38324
38325
38326 LDFLAGS_GUI=
38327 case ${BAKEFILE_HOST} in
38328 *-*-cygwin* | *-*-mingw32* )
38329 LDFLAGS_GUI="-mwindows"
38330 esac
38331
38332
38333 fi
38334
38335 echo "$as_me:$LINENO: checking if make is GNU make" >&5
38336 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
38337 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
38338 echo $ECHO_N "(cached) $ECHO_C" >&6
38339 else
38340
38341 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
38342 egrep -s GNU > /dev/null); then
38343 bakefile_cv_prog_makeisgnu="yes"
38344 else
38345 bakefile_cv_prog_makeisgnu="no"
38346 fi
38347
38348 fi
38349 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
38350 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
38351
38352 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38353 IF_GNU_MAKE=""
38354 else
38355 IF_GNU_MAKE="#"
38356 fi
38357
38358
38359
38360 PLATFORM_UNIX=0
38361 PLATFORM_WIN32=0
38362 PLATFORM_MSDOS=0
38363 PLATFORM_MAC=0
38364 PLATFORM_MACOSX=0
38365 PLATFORM_OS2=0
38366
38367 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38368 case "${BAKEFILE_HOST}" in
38369 *-*-cygwin* | *-*-mingw32* )
38370 PLATFORM_WIN32=1
38371 ;;
38372 *-pc-msdosdjgpp )
38373 PLATFORM_MSDOS=1
38374 ;;
38375 *-pc-os2_emx | *-pc-os2-emx )
38376 PLATFORM_OS2=1
38377 ;;
38378 powerpc-*-darwin* )
38379 PLATFORM_MAC=1
38380 PLATFORM_MACOSX=1
38381 ;;
38382 * )
38383 PLATFORM_UNIX=1
38384 ;;
38385 esac
38386 else
38387 case "$BAKEFILE_FORCE_PLATFORM" in
38388 win32 )
38389 PLATFORM_WIN32=1
38390 ;;
38391 msdos )
38392 PLATFORM_MSDOS=1
38393 ;;
38394 os2 )
38395 PLATFORM_OS2=1
38396 ;;
38397 darwin )
38398 PLATFORM_MAC=1
38399 PLATFORM_MACOSX=1
38400 ;;
38401 unix )
38402 PLATFORM_UNIX=1
38403 ;;
38404 * )
38405 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
38406 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
38407 { (exit 1); exit 1; }; }
38408 ;;
38409 esac
38410 fi
38411
38412
38413
38414
38415
38416
38417
38418
38419
38420 # Check whether --enable-omf or --disable-omf was given.
38421 if test "${enable_omf+set}" = set; then
38422 enableval="$enable_omf"
38423 bk_os2_use_omf="$enableval"
38424 fi;
38425
38426 case "${BAKEFILE_HOST}" in
38427 *-*-darwin* )
38428 CFLAGS="$CFLAGS -fno-common"
38429 CXXFLAGS="$CXXFLAGS -fno-common"
38430 ;;
38431
38432 *-pc-os2_emx | *-pc-os2-emx )
38433 if test "x$bk_os2_use_omf" = "xyes" ; then
38434 AR=emxomfar
38435 RANLIB=:
38436 LDFLAGS="-Zomf $LDFLAGS"
38437 CFLAGS="-Zomf $CFLAGS"
38438 CXXFLAGS="-Zomf $CXXFLAGS"
38439 OS2_LIBEXT="lib"
38440 else
38441 OS2_LIBEXT="a"
38442 fi
38443 ;;
38444 esac
38445
38446
38447 SO_SUFFIX="so"
38448 SO_SUFFIX_MODULE="so"
38449 EXEEXT=""
38450 LIBPREFIX="lib"
38451 LIBEXT=".a"
38452 DLLPREFIX="lib"
38453 DLLPREFIX_MODULE=""
38454 DLLIMP_SUFFIX=""
38455
38456 case "${BAKEFILE_HOST}" in
38457 *-hp-hpux* )
38458 SO_SUFFIX="sl"
38459 SO_SUFFIX_MODULE="sl"
38460 ;;
38461 *-*-aix* )
38462 SO_SUFFIX="a"
38463 SO_SUFFIX_MODULE="a"
38464 ;;
38465 *-*-cygwin* | *-*-mingw32* )
38466 SO_SUFFIX="dll"
38467 SO_SUFFIX_MODULE="dll"
38468 DLLIMP_SUFFIX="dll.a"
38469 EXEEXT=".exe"
38470 DLLPREFIX=""
38471 ;;
38472 *-pc-msdosdjgpp )
38473 EXEEXT=".exe"
38474 DLLPREFIX=""
38475 ;;
38476 *-pc-os2_emx | *-pc-os2-emx )
38477 SO_SUFFIX="dll"
38478 SO_SUFFIX_MODULE="dll"
38479 DLLIMP_SUFFIX=$OS2_LIBEXT
38480 EXEEXT=".exe"
38481 DLLPREFIX=""
38482 LIBPREFIX=""
38483 LIBEXT=".$OS2_LIBEXT"
38484 ;;
38485 powerpc-*-darwin* )
38486 SO_SUFFIX="dylib"
38487 SO_SUFFIX_MODULE="bundle"
38488 ;;
38489 esac
38490
38491 if test "x$DLLIMP_SUFFIX" = "x" ; then
38492 DLLIMP_SUFFIX="$SO_SUFFIX"
38493 fi
38494
38495
38496
38497
38498
38499
38500
38501
38502
38503
38504
38505 SHARED_LD_CC="\$(CC) -shared -o"
38506 SHARED_LD_CXX="\$(CXX) -shared -o"
38507
38508 if test "x$GCC" = "xyes"; then
38509 PIC_FLAG="-fPIC"
38510 fi
38511
38512 case "${BAKEFILE_HOST}" in
38513 *-hp-hpux* )
38514 if test "x$GCC" = "xyes"; then
38515 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
38516 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
38517 else
38518 LDFLAGS="$LDFLAGS -L/usr/lib"
38519
38520 SHARED_LD_CC="${CC} -b -o"
38521 SHARED_LD_CXX="${CXX} -b -o"
38522 PIC_FLAG="+Z"
38523 fi
38524 ;;
38525
38526 *-*-linux* )
38527 if test "x$GCC" != "xyes"; then
38528 echo "$as_me:$LINENO: checking for Intel compiler" >&5
38529 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
38530 if test "${bakefile_cv_prog_icc+set}" = set; then
38531 echo $ECHO_N "(cached) $ECHO_C" >&6
38532 else
38533
38534 cat >conftest.$ac_ext <<_ACEOF
38535 /* confdefs.h. */
38536 _ACEOF
38537 cat confdefs.h >>conftest.$ac_ext
38538 cat >>conftest.$ac_ext <<_ACEOF
38539 /* end confdefs.h. */
38540
38541 int
38542 main ()
38543 {
38544
38545 #ifndef __INTEL_COMPILER
38546 #error Not icc
38547 #endif
38548
38549 ;
38550 return 0;
38551 }
38552 _ACEOF
38553 rm -f conftest.$ac_objext
38554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38555 (eval $ac_compile) 2>conftest.er1
38556 ac_status=$?
38557 grep -v '^ *+' conftest.er1 >conftest.err
38558 rm -f conftest.er1
38559 cat conftest.err >&5
38560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38561 (exit $ac_status); } &&
38562 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38564 (eval $ac_try) 2>&5
38565 ac_status=$?
38566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38567 (exit $ac_status); }; } &&
38568 { ac_try='test -s conftest.$ac_objext'
38569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38570 (eval $ac_try) 2>&5
38571 ac_status=$?
38572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38573 (exit $ac_status); }; }; then
38574 bakefile_cv_prog_icc=yes
38575 else
38576 echo "$as_me: failed program was:" >&5
38577 sed 's/^/| /' conftest.$ac_ext >&5
38578
38579 bakefile_cv_prog_icc=no
38580
38581 fi
38582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38583
38584 fi
38585 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
38586 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
38587 if test "$bakefile_cv_prog_icc" = "yes"; then
38588 PIC_FLAG="-KPIC"
38589 fi
38590 fi
38591 ;;
38592
38593 *-*-solaris2* )
38594 if test "x$GCC" != xyes ; then
38595 SHARED_LD_CC="${CC} -G -o"
38596 SHARED_LD_CXX="${CXX} -G -o"
38597 PIC_FLAG="-KPIC"
38598 fi
38599 ;;
38600
38601 *-*-darwin* )
38602
38603 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
38604 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
38605 if test "${wx_cv_gcc31+set}" = set; then
38606 echo $ECHO_N "(cached) $ECHO_C" >&6
38607 else
38608
38609 cat >conftest.$ac_ext <<_ACEOF
38610 /* confdefs.h. */
38611 _ACEOF
38612 cat confdefs.h >>conftest.$ac_ext
38613 cat >>conftest.$ac_ext <<_ACEOF
38614 /* end confdefs.h. */
38615
38616 int
38617 main ()
38618 {
38619
38620 #if (__GNUC__ < 3) || \
38621 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38622 #error old gcc
38623 #endif
38624
38625 ;
38626 return 0;
38627 }
38628 _ACEOF
38629 rm -f conftest.$ac_objext
38630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38631 (eval $ac_compile) 2>conftest.er1
38632 ac_status=$?
38633 grep -v '^ *+' conftest.er1 >conftest.err
38634 rm -f conftest.er1
38635 cat conftest.err >&5
38636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38637 (exit $ac_status); } &&
38638 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38640 (eval $ac_try) 2>&5
38641 ac_status=$?
38642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38643 (exit $ac_status); }; } &&
38644 { ac_try='test -s conftest.$ac_objext'
38645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38646 (eval $ac_try) 2>&5
38647 ac_status=$?
38648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38649 (exit $ac_status); }; }; then
38650
38651 wx_cv_gcc31=yes
38652
38653 else
38654 echo "$as_me: failed program was:" >&5
38655 sed 's/^/| /' conftest.$ac_ext >&5
38656
38657
38658 wx_cv_gcc31=no
38659
38660
38661 fi
38662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38663
38664 fi
38665 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
38666 echo "${ECHO_T}$wx_cv_gcc31" >&6
38667 if test "$wx_cv_gcc31" = "no"; then
38668
38669 D='$'
38670 cat <<EOF >shared-ld-sh
38671 #!/bin/sh
38672 #-----------------------------------------------------------------------------
38673 #-- Name: distrib/mac/shared-ld-sh
38674 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38675 #-- Author: Gilles Depeyrot
38676 #-- Copyright: (c) 2002 Gilles Depeyrot
38677 #-- Licence: any use permitted
38678 #-----------------------------------------------------------------------------
38679
38680 verbose=0
38681 args=""
38682 objects=""
38683 linking_flag="-dynamiclib"
38684
38685 while test ${D}# -gt 0; do
38686 case ${D}1 in
38687
38688 -v)
38689 verbose=1
38690 ;;
38691
38692 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38693 # collect these options and values
38694 args="${D}{args} ${D}1 ${D}2"
38695 shift
38696 ;;
38697
38698 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38699 # collect these options
38700 args="${D}{args} ${D}1"
38701 ;;
38702
38703 -dynamiclib|-bundle)
38704 linking_flag="${D}1"
38705 ;;
38706
38707 -*)
38708 echo "shared-ld: unhandled option '${D}1'"
38709 exit 1
38710 ;;
38711
38712 *.o | *.a | *.dylib)
38713 # collect object files
38714 objects="${D}{objects} ${D}1"
38715 ;;
38716
38717 *)
38718 echo "shared-ld: unhandled argument '${D}1'"
38719 exit 1
38720 ;;
38721
38722 esac
38723 shift
38724 done
38725
38726 #
38727 # Link one module containing all the others
38728 #
38729 if test ${D}{verbose} = 1; then
38730 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
38731 fi
38732 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
38733 status=${D}?
38734 if test ${D}{status} != 0; then
38735 exit ${D}{status}
38736 fi
38737
38738 #
38739 # Link the shared library from the single module created
38740 #
38741 if test ${D}{verbose} = 1; then
38742 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38743 fi
38744 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38745 status=${D}?
38746 if test ${D}{status} != 0; then
38747 exit ${D}{status}
38748 fi
38749
38750 #
38751 # Remove intermediate module
38752 #
38753 rm -f master.${D}${D}.o
38754
38755 exit 0
38756 EOF
38757
38758 chmod +x shared-ld-sh
38759
38760 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38761 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38762 SHARED_LD_CXX="$SHARED_LD_CC"
38763 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
38764 else
38765 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38766 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
38767 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38768 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
38769 fi
38770
38771 PIC_FLAG="-dynamic -fPIC"
38772 ;;
38773
38774 *-*-aix* )
38775 if test "x$GCC" != "xyes"; then
38776 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38777 set dummy makeC++SharedLib; ac_word=$2
38778 echo "$as_me:$LINENO: checking for $ac_word" >&5
38779 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38780 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
38781 echo $ECHO_N "(cached) $ECHO_C" >&6
38782 else
38783 if test -n "$AIX_CXX_LD"; then
38784 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
38785 else
38786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38787 for as_dir in $PATH
38788 do
38789 IFS=$as_save_IFS
38790 test -z "$as_dir" && as_dir=.
38791 for ac_exec_ext in '' $ac_executable_extensions; do
38792 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38793 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
38794 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38795 break 2
38796 fi
38797 done
38798 done
38799
38800 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
38801 fi
38802 fi
38803 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
38804 if test -n "$AIX_CXX_LD"; then
38805 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
38806 echo "${ECHO_T}$AIX_CXX_LD" >&6
38807 else
38808 echo "$as_me:$LINENO: result: no" >&5
38809 echo "${ECHO_T}no" >&6
38810 fi
38811
38812 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
38813 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
38814 fi
38815 ;;
38816
38817 *-*-beos* )
38818 SHARED_LD_CC="${LD} -shared -o"
38819 SHARED_LD_CXX="${LD} -shared -o"
38820 ;;
38821
38822 *-*-irix* )
38823 if test "x$GCC" != "xyes"; then
38824 PIC_FLAG="-KPIC"
38825 fi
38826 ;;
38827
38828 *-*-cygwin* | *-*-mingw32* )
38829 PIC_FLAG=""
38830 ;;
38831
38832 *-pc-os2_emx | *-pc-os2-emx )
38833 SHARED_LD_CC="`pwd`/dllar.sh -o"
38834 SHARED_LD_CXX="`pwd`/dllar.sh -o"
38835 PIC_FLAG=""
38836
38837 D='$'
38838 cat <<EOF >dllar.sh
38839 #!/bin/sh
38840 #
38841 # dllar - a tool to build both a .dll and an .a file
38842 # from a set of object (.o) files for EMX/OS2.
38843 #
38844 # Written by Andrew Zabolotny, bit@freya.etu.ru
38845 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
38846 #
38847 # This script will accept a set of files on the command line.
38848 # All the public symbols from the .o files will be exported into
38849 # a .DEF file, then linker will be run (through gcc) against them to
38850 # build a shared library consisting of all given .o files. All libraries
38851 # (.a) will be first decompressed into component .o files then act as
38852 # described above. You can optionally give a description (-d "description")
38853 # which will be put into .DLL. To see the list of accepted options (as well
38854 # as command-line format) simply run this program without options. The .DLL
38855 # is built to be imported by name (there is no guarantee that new versions
38856 # of the library you build will have same ordinals for same symbols).
38857 #
38858 # dllar is free software; you can redistribute it and/or modify
38859 # it under the terms of the GNU General Public License as published by
38860 # the Free Software Foundation; either version 2, or (at your option)
38861 # any later version.
38862 #
38863 # dllar is distributed in the hope that it will be useful,
38864 # but WITHOUT ANY WARRANTY; without even the implied warranty of
38865 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
38866 # GNU General Public License for more details.
38867 #
38868 # You should have received a copy of the GNU General Public License
38869 # along with dllar; see the file COPYING. If not, write to the Free
38870 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
38871 # 02111-1307, USA.
38872
38873 # To successfuly run this program you will need:
38874 # - Current drive should have LFN support (HPFS, ext2, network, etc)
38875 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
38876 # - gcc
38877 # (used to build the .dll)
38878 # - emxexp
38879 # (used to create .def file from .o files)
38880 # - emximp
38881 # (used to create .a file from .def file)
38882 # - GNU text utilites (cat, sort, uniq)
38883 # used to process emxexp output
38884 # - GNU file utilities (mv, rm)
38885 # - GNU sed
38886 # - lxlite (optional, see flag below)
38887 # (used for general .dll cleanup)
38888 #
38889
38890 flag_USE_LXLITE=1;
38891
38892 #
38893 # helper functions
38894 # basnam, variant of basename, which does _not_ remove the path, _iff_
38895 # second argument (suffix to remove) is given
38896 basnam(){
38897 case ${D}# in
38898 1)
38899 echo ${D}1 | sed 's/.*\///' | sed 's/.*\\//'
38900 ;;
38901 2)
38902 echo ${D}1 | sed 's/'${D}2'${D}//'
38903 ;;
38904 *)
38905 echo "error in basnam ${D}*"
38906 exit 8
38907 ;;
38908 esac
38909 }
38910
38911 # Cleanup temporary files and output
38912 CleanUp() {
38913 cd ${D}curDir
38914 for i in ${D}inputFiles ; do
38915 case ${D}i in
38916 *!)
38917 rm -rf \`basnam ${D}i !\`
38918 ;;
38919 *)
38920 ;;
38921 esac
38922 done
38923
38924 # Kill result in case of failure as there is just to many stupid make/nmake
38925 # things out there which doesn't do this.
38926 if [] ${D}# -eq 0 []; then
38927 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
38928 fi
38929 }
38930
38931 # Print usage and exit script with rc=1.
38932 PrintHelp() {
38933 echo 'Usage: dllar []-o[[]utput[]] output_file[] []-i[[]mport[]] importlib_name[]'
38934 echo ' []-d[[]escription[]] "dll descrption"[] []-cc "CC"[] []-f[[]lags[]] "CFLAGS"[]'
38935 echo ' []-ord[[]inals[]][] -ex[]clude[] "symbol(s)"'
38936 echo ' []-libf[[]lags[]] "{INIT|TERM}{GLOBAL|INSTANCE}"[] []-nocrt[[]dll[]][] []-nolxl[[]ite[]][]'
38937 echo ' []*.o[] []*.a[]'
38938 echo '*> "output_file" should have no extension.'
38939 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
38940 echo ' The import library name is derived from this and is set to "name".a,'
38941 echo ' unless overridden by -import'
38942 echo '*> "importlib_name" should have no extension.'
38943 echo ' If it has the .o, or .a extension, it is automatically removed.'
38944 echo ' This name is used as the import library name and may be longer and'
38945 echo ' more descriptive than the DLL name which has to follow the old '
38946 echo ' 8.3 convention of FAT.'
38947 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
38948 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
38949 echo ' These flags will be put at the start of GCC command line.'
38950 echo '*> -ord[]inals[] tells dllar to export entries by ordinals. Be careful.'
38951 echo '*> -ex[]clude[] defines symbols which will not be exported. You can define'
38952 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
38953 echo ' If the last character of a symbol is "*", all symbols beginning'
38954 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
38955 echo '*> -libf[]lags[] can be used to add INITGLOBAL/INITINSTANCE and/or'
38956 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
38957 echo '*> -nocrt[]dll[] switch will disable linking the library against emx''s'
38958 echo ' C runtime DLLs.'
38959 echo '*> -nolxl[]ite[] switch will disable running lxlite on the resulting DLL.'
38960 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
38961 echo ' unchanged to GCC at the end of command line.'
38962 echo '*> If you create a DLL from a library and you do not specify -o,'
38963 echo ' the basename for DLL and import library will be set to library name,'
38964 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
38965 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
38966 echo ' library will be renamed into gcc_s.a.'
38967 echo '--------'
38968 echo 'Example:'
38969 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
38970 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
38971 CleanUp
38972 exit 1
38973 }
38974
38975 # Execute a command.
38976 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
38977 # @Uses Whatever CleanUp() uses.
38978 doCommand() {
38979 echo "${D}*"
38980 eval ${D}*
38981 rcCmd=${D}?
38982
38983 if [] ${D}rcCmd -ne 0 []; then
38984 echo "command failed, exit code="${D}rcCmd
38985 CleanUp
38986 exit ${D}rcCmd
38987 fi
38988 }
38989
38990 # main routine
38991 # setup globals
38992 cmdLine=${D}*
38993 outFile=""
38994 outimpFile=""
38995 inputFiles=""
38996 description=""
38997 CC=gcc.exe
38998 CFLAGS="-s -Zcrtdll"
38999 EXTRA_CFLAGS=""
39000 EXPORT_BY_ORDINALS=0
39001 exclude_symbols=""
39002 library_flags=""
39003 curDir=\`pwd\`
39004 curDirS=curDir
39005 case ${D}curDirS in
39006 */)
39007 ;;
39008 *)
39009 curDirS=${D}{curDirS}"/"
39010 ;;
39011 esac
39012 # Parse commandline
39013 libsToLink=0
39014 while [] ${D}1 []; do
39015 case ${D}1 in
39016 -ord*)
39017 EXPORT_BY_ORDINALS=1;
39018 ;;
39019 -o*)
39020 shift
39021 outFile=${D}1
39022 ;;
39023 -i*)
39024 shift
39025 outimpFile=${D}1
39026 ;;
39027 -d*)
39028 shift
39029 description=${D}1
39030 ;;
39031 -f*)
39032 shift
39033 CFLAGS=${D}1
39034 ;;
39035 -c*)
39036 shift
39037 CC=${D}1
39038 ;;
39039 -h*)
39040 PrintHelp
39041 ;;
39042 -ex*)
39043 shift
39044 exclude_symbols=${D}{exclude_symbols}${D}1" "
39045 ;;
39046 -libf*)
39047 shift
39048 library_flags=${D}{library_flags}${D}1" "
39049 ;;
39050 -nocrt*)
39051 CFLAGS="-s"
39052 ;;
39053 -nolxl*)
39054 flag_USE_LXLITE=0
39055 ;;
39056 -* | /*)
39057 case ${D}1 in
39058 -L* | -l*)
39059 libsToLink=1
39060 ;;
39061 *)
39062 ;;
39063 esac
39064 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39065 ;;
39066 *)
39067 found=0;
39068 if [] ${D}libsToLink -ne 0 []; then
39069 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39070 else
39071 for file in ${D}1 ; do
39072 if [] -f ${D}file []; then
39073 inputFiles="${D}{inputFiles} ${D}file"
39074 found=1
39075 fi
39076 done
39077 if [] ${D}found -eq 0 []; then
39078 echo "ERROR: No file(s) found: "${D}1
39079 exit 8
39080 fi
39081 fi
39082 ;;
39083 esac
39084 shift
39085 done # iterate cmdline words
39086
39087 #
39088 if [] -z "${D}inputFiles" []; then
39089 echo "dllar: no input files"
39090 PrintHelp
39091 fi
39092
39093 # Now extract all .o files from .a files
39094 newInputFiles=""
39095 for file in ${D}inputFiles ; do
39096 case ${D}file in
39097 *.a | *.lib)
39098 case ${D}file in
39099 *.a)
39100 suffix=".a"
39101 AR="ar"
39102 ;;
39103 *.lib)
39104 suffix=".lib"
39105 AR="emxomfar"
39106 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39107 ;;
39108 *)
39109 ;;
39110 esac
39111 dirname=\`basnam ${D}file ${D}suffix\`"_%"
39112 mkdir ${D}dirname
39113 if [] ${D}? -ne 0 []; then
39114 echo "Failed to create subdirectory ./${D}dirname"
39115 CleanUp
39116 exit 8;
39117 fi
39118 # Append '!' to indicate archive
39119 newInputFiles="${D}newInputFiles ${D}{dirname}!"
39120 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39121 cd ${D}curDir
39122 found=0;
39123 for subfile in ${D}dirname/*.o* ; do
39124 if [] -f ${D}subfile []; then
39125 found=1
39126 if [] -s ${D}subfile []; then
39127 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39128 newInputFiles="${D}newInputFiles ${D}subfile"
39129 fi
39130 fi
39131 done
39132 if [] ${D}found -eq 0 []; then
39133 echo "WARNING: there are no files in archive \'${D}file\'"
39134 fi
39135 ;;
39136 *)
39137 newInputFiles="${D}{newInputFiles} ${D}file"
39138 ;;
39139 esac
39140 done
39141 inputFiles="${D}newInputFiles"
39142
39143 # Output filename(s).
39144 do_backup=0;
39145 if [] -z ${D}outFile []; then
39146 do_backup=1;
39147 set outFile ${D}inputFiles; outFile=${D}2
39148 fi
39149
39150 # If it is an archive, remove the '!' and the '_%' suffixes
39151 case ${D}outFile in
39152 *_%!)
39153 outFile=\`basnam ${D}outFile _%!\`
39154 ;;
39155 *)
39156 ;;
39157 esac
39158 case ${D}outFile in
39159 *.dll)
39160 outFile=\`basnam ${D}outFile .dll\`
39161 ;;
39162 *.DLL)
39163 outFile=\`basnam ${D}outFile .DLL\`
39164 ;;
39165 *.o)
39166 outFile=\`basnam ${D}outFile .o\`
39167 ;;
39168 *.obj)
39169 outFile=\`basnam ${D}outFile .obj\`
39170 ;;
39171 *.a)
39172 outFile=\`basnam ${D}outFile .a\`
39173 ;;
39174 *.lib)
39175 outFile=\`basnam ${D}outFile .lib\`
39176 ;;
39177 *)
39178 ;;
39179 esac
39180 case ${D}outimpFile in
39181 *.a)
39182 outimpFile=\`basnam ${D}outimpFile .a\`
39183 ;;
39184 *.lib)
39185 outimpFile=\`basnam ${D}outimpFile .lib\`
39186 ;;
39187 *)
39188 ;;
39189 esac
39190 if [] -z ${D}outimpFile []; then
39191 outimpFile=${D}outFile
39192 fi
39193 defFile="${D}{outFile}.def"
39194 arcFile="${D}{outimpFile}.a"
39195 arcFile2="${D}{outimpFile}.lib"
39196 dllFile="${D}outFile"
39197 # Add suffix to dllFile later, first we need a version to use as
39198 # name in .def file.
39199
39200 if [] ${D}do_backup -ne 0 [] ; then
39201 if [] -f ${D}arcFile [] ; then
39202 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39203 fi
39204 if [] -f ${D}arcFile2 [] ; then
39205 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39206 fi
39207 fi
39208
39209 # Extract public symbols from all the object files.
39210 tmpdefFile=${D}{defFile}_%
39211 rm -f ${D}tmpdefFile
39212 for file in ${D}inputFiles ; do
39213 case ${D}file in
39214 *!)
39215 ;;
39216 *)
39217 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39218 ;;
39219 esac
39220 done
39221
39222 # Create the def file.
39223 rm -f ${D}defFile
39224 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39225 dllFile="${D}dllFile.dll"
39226 if [] -n ${D}description []; then
39227 echo "DESCRIPTION \"${D}{description}\"" >> ${D}defFile
39228 fi
39229 echo "EXPORTS" >> ${D}defFile
39230
39231 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39232 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39233
39234 # Checks if the export is ok or not.
39235 for word in ${D}exclude_symbols; do
39236 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39237 mv ${D}{tmpdefFile}% ${D}tmpdefFile
39238 done
39239
39240
39241 if [] ${D}EXPORT_BY_ORDINALS -ne 0 []; then
39242 sed "=" < ${D}tmpdefFile | \
39243 sed '
39244 N
39245 : loop
39246 s/^\([]0-9[]\+\)\([]^;[]*\)\(;.*\)\?/\2 @\1 NONAME/
39247 t loop
39248 ' > ${D}{tmpdefFile}%
39249 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39250 else
39251 rm -f ${D}{tmpdefFile}%
39252 fi
39253 cat ${D}tmpdefFile >> ${D}defFile
39254 rm -f ${D}tmpdefFile
39255
39256 # Do linking, create implib, and apply lxlite.
39257 gccCmdl="";
39258 for file in ${D}inputFiles ; do
39259 case ${D}file in
39260 *!)
39261 ;;
39262 *)
39263 gccCmdl="${D}gccCmdl ${D}file"
39264 ;;
39265 esac
39266 done
39267 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39268 touch "${D}{outFile}.dll"
39269
39270 doCommand "emximp -o ${D}arcFile ${D}defFile"
39271 if [] ${D}flag_USE_LXLITE -ne 0 []; then
39272 add_flags="";
39273 if [] ${D}EXPORT_BY_ORDINALS -ne 0 []; then
39274 add_flags="-ynd"
39275 fi
39276 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39277 fi
39278 doCommand "emxomf -s -l ${D}arcFile"
39279
39280 # Successful exit.
39281 CleanUp 1
39282 exit 0
39283 EOF
39284
39285 chmod +x dllar.sh
39286 ;;
39287
39288 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39289 *-*-sunos4* | \
39290 *-*-osf* | \
39291 *-*-dgux5* | \
39292 *-*-sysv5* )
39293 ;;
39294
39295 *)
39296 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
39297 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
39298 { (exit 1); exit 1; }; }
39299 esac
39300
39301 if test "x$PIC_FLAG" != "x" ; then
39302 PIC_FLAG="$PIC_FLAG -DPIC"
39303 fi
39304
39305 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39306 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
39307 fi
39308 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39309 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
39310 fi
39311
39312
39313
39314
39315
39316
39317
39318
39319 USE_SOVERSION=0
39320 USE_SOVERLINUX=0
39321 USE_SOVERSOLARIS=0
39322 USE_SOSYMLINKS=0
39323 USE_MACVERSION=0
39324 SONAME_FLAG=
39325
39326 case "${BAKEFILE_HOST}" in
39327 *-*-linux* )
39328 SONAME_FLAG="-Wl,-soname,"
39329 USE_SOVERSION=1
39330 USE_SOVERLINUX=1
39331 USE_SOSYMLINKS=1
39332 ;;
39333
39334 *-*-solaris2* )
39335 SONAME_FLAG="-h "
39336 USE_SOVERSION=1
39337 USE_SOVERSOLARIS=1
39338 USE_SOSYMLINKS=1
39339 ;;
39340
39341 *-*-darwin* )
39342 USE_MACVERSION=1
39343 USE_SOVERSION=1
39344 USE_SOSYMLINKS=1
39345 ;;
39346 esac
39347
39348
39349
39350
39351
39352
39353
39354
39355
39356 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
39357 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
39358 DEPS_TRACKING=0
39359
39360 if test "x$GCC" = "xyes"; then
39361 DEPSMODE=gcc
39362 DEPS_TRACKING=1
39363 case "${BAKEFILE_HOST}" in
39364 powerpc-*-darwin* )
39365 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
39366 ;;
39367 * )
39368 DEPSFLAG_GCC="-MMD"
39369 ;;
39370 esac
39371 echo "$as_me:$LINENO: result: gcc" >&5
39372 echo "${ECHO_T}gcc" >&6
39373 else
39374 echo "$as_me:$LINENO: result: none" >&5
39375 echo "${ECHO_T}none" >&6
39376 fi
39377
39378 if test $DEPS_TRACKING = 1 ; then
39379
39380 D='$'
39381 cat <<EOF >bk-deps
39382 #!/bin/sh
39383
39384 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39385 # script. It is used to track C/C++ files dependencies in portable way.
39386 #
39387 # Permission is given to use this file in any way.
39388
39389 DEPSMODE=${DEPSMODE}
39390 DEPSDIR=.deps
39391 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
39392
39393 mkdir -p ${D}DEPSDIR
39394
39395 if test ${D}DEPSMODE = gcc ; then
39396 ${D}* ${D}{DEPSFLAG_GCC}
39397 status=${D}?
39398 if test ${D}{status} != 0 ; then
39399 exit ${D}{status}
39400 fi
39401 # move created file to the location we want it in:
39402 while test ${D}# -gt 0; do
39403 case "${D}1" in
39404 -o )
39405 shift
39406 objfile=${D}1
39407 ;;
39408 -* )
39409 ;;
39410 * )
39411 srcfile=${D}1
39412 ;;
39413 esac
39414 shift
39415 done
39416 depfile=\`basename ${D}srcfile | sed -e 's/\..*${D}/.d/g'\`
39417 depobjname=\`echo ${D}depfile |sed -e 's/\.d/.o/g'\`
39418 if test -f ${D}depfile ; then
39419 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39420 rm -f ${D}depfile
39421 else
39422 depfile=\`basename ${D}objfile | sed -e 's/\..*${D}/.d/g'\`
39423 if test -f ${D}depfile ; then
39424 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39425 rm -f ${D}depfile
39426 fi
39427 fi
39428 exit 0
39429 else
39430 ${D}*
39431 exit ${D}?
39432 fi
39433 EOF
39434
39435 chmod +x bk-deps
39436 fi
39437
39438
39439
39440
39441 RESCOMP=
39442 SETFILE=
39443
39444 case ${BAKEFILE_HOST} in
39445 *-*-cygwin* | *-*-mingw32* )
39446 if test "$build" != "$host" ; then
39447 RESCOMP=$host_alias-windres
39448 else
39449 # Extract the first word of "windres", so it can be a program name with args.
39450 set dummy windres; ac_word=$2
39451 echo "$as_me:$LINENO: checking for $ac_word" >&5
39452 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39453 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39454 echo $ECHO_N "(cached) $ECHO_C" >&6
39455 else
39456 if test -n "$RESCOMP"; then
39457 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
39458 else
39459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39460 for as_dir in $PATH
39461 do
39462 IFS=$as_save_IFS
39463 test -z "$as_dir" && as_dir=.
39464 for ac_exec_ext in '' $ac_executable_extensions; do
39465 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39466 ac_cv_prog_RESCOMP="windres"
39467 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39468 break 2
39469 fi
39470 done
39471 done
39472
39473 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
39474 fi
39475 fi
39476 RESCOMP=$ac_cv_prog_RESCOMP
39477 if test -n "$RESCOMP"; then
39478 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39479 echo "${ECHO_T}$RESCOMP" >&6
39480 else
39481 echo "$as_me:$LINENO: result: no" >&5
39482 echo "${ECHO_T}no" >&6
39483 fi
39484
39485 fi
39486 ;;
39487
39488 *-*-darwin* )
39489 # Extract the first word of "Rez", so it can be a program name with args.
39490 set dummy Rez; ac_word=$2
39491 echo "$as_me:$LINENO: checking for $ac_word" >&5
39492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39493 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39494 echo $ECHO_N "(cached) $ECHO_C" >&6
39495 else
39496 if test -n "$RESCOMP"; then
39497 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
39498 else
39499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39500 for as_dir in $PATH
39501 do
39502 IFS=$as_save_IFS
39503 test -z "$as_dir" && as_dir=.
39504 for ac_exec_ext in '' $ac_executable_extensions; do
39505 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39506 ac_cv_prog_RESCOMP="Rez"
39507 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39508 break 2
39509 fi
39510 done
39511 done
39512
39513 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
39514 fi
39515 fi
39516 RESCOMP=$ac_cv_prog_RESCOMP
39517 if test -n "$RESCOMP"; then
39518 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39519 echo "${ECHO_T}$RESCOMP" >&6
39520 else
39521 echo "$as_me:$LINENO: result: no" >&5
39522 echo "${ECHO_T}no" >&6
39523 fi
39524
39525 # Extract the first word of "SetFile", so it can be a program name with args.
39526 set dummy SetFile; ac_word=$2
39527 echo "$as_me:$LINENO: checking for $ac_word" >&5
39528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39529 if test "${ac_cv_prog_SETFILE+set}" = set; then
39530 echo $ECHO_N "(cached) $ECHO_C" >&6
39531 else
39532 if test -n "$SETFILE"; then
39533 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
39534 else
39535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39536 for as_dir in $PATH
39537 do
39538 IFS=$as_save_IFS
39539 test -z "$as_dir" && as_dir=.
39540 for ac_exec_ext in '' $ac_executable_extensions; do
39541 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39542 ac_cv_prog_SETFILE="SetFile"
39543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39544 break 2
39545 fi
39546 done
39547 done
39548
39549 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
39550 fi
39551 fi
39552 SETFILE=$ac_cv_prog_SETFILE
39553 if test -n "$SETFILE"; then
39554 echo "$as_me:$LINENO: result: $SETFILE" >&5
39555 echo "${ECHO_T}$SETFILE" >&6
39556 else
39557 echo "$as_me:$LINENO: result: no" >&5
39558 echo "${ECHO_T}no" >&6
39559 fi
39560
39561 ;;
39562 esac
39563
39564
39565
39566
39567
39568 BAKEFILE_BAKEFILE_M4_VERSION="0.1.4"
39569
39570
39571
39572
39573
39574 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.1.4"
39575
39576
39577
39578 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39579 if test "${enable_precomp_headers+set}" = set; then
39580 enableval="$enable_precomp_headers"
39581 bk_use_pch="$enableval"
39582 fi;
39583
39584 GCC_PCH=0
39585
39586 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39587 if test "x$GCC" = "xyes"; then
39588 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39589 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39590 cat >conftest.$ac_ext <<_ACEOF
39591 /* confdefs.h. */
39592 _ACEOF
39593 cat confdefs.h >>conftest.$ac_ext
39594 cat >>conftest.$ac_ext <<_ACEOF
39595 /* end confdefs.h. */
39596
39597 int
39598 main ()
39599 {
39600
39601 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39602 #error "no pch support"
39603 #endif
39604 #if (__GNUC__ < 3)
39605 #error "no pch support"
39606 #endif
39607 #if (__GNUC__ == 3) && \
39608 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39609 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39610 #error "no pch support"
39611 #endif
39612
39613 ;
39614 return 0;
39615 }
39616 _ACEOF
39617 rm -f conftest.$ac_objext
39618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39619 (eval $ac_compile) 2>conftest.er1
39620 ac_status=$?
39621 grep -v '^ *+' conftest.er1 >conftest.err
39622 rm -f conftest.er1
39623 cat conftest.err >&5
39624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39625 (exit $ac_status); } &&
39626 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39628 (eval $ac_try) 2>&5
39629 ac_status=$?
39630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39631 (exit $ac_status); }; } &&
39632 { ac_try='test -s conftest.$ac_objext'
39633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39634 (eval $ac_try) 2>&5
39635 ac_status=$?
39636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39637 (exit $ac_status); }; }; then
39638
39639 echo "$as_me:$LINENO: result: yes" >&5
39640 echo "${ECHO_T}yes" >&6
39641 GCC_PCH=1
39642
39643 else
39644 echo "$as_me: failed program was:" >&5
39645 sed 's/^/| /' conftest.$ac_ext >&5
39646
39647
39648 echo "$as_me:$LINENO: result: no" >&5
39649 echo "${ECHO_T}no" >&6
39650
39651 fi
39652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39653 if test $GCC_PCH = 1 ; then
39654 cat <<EOF >bk-make-pch
39655 #!/bin/sh
39656
39657 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39658 # script. It is used to generated precompiled headers.
39659 #
39660 # Permission is given to use this file in any way.
39661
39662 outfile="\${1}"
39663 header="\${2}"
39664 shift
39665 shift
39666
39667 compiler=
39668 headerfile=
39669 while test \${#} -gt 0; do
39670 case "\${1}" in
39671 -I* )
39672 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
39673 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
39674 headerfile="\${incdir}/\${header}"
39675 fi
39676 ;;
39677 esac
39678 compiler="\${compiler} \${1}"
39679 shift
39680 done
39681
39682 if test "x\${headerfile}" = "x" ; then
39683 echo "error: can't find header \${header} in include paths" >2
39684 else
39685 if test -f \${outfile} ; then
39686 rm -f \${outfile}
39687 else
39688 mkdir -p \`dirname \${outfile}\`
39689 fi
39690 depsfile=".deps/\`basename \${outfile}\`.d"
39691 mkdir -p .deps
39692 # can do this because gcc is >= 3.4:
39693 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
39694 exit \${?}
39695 fi
39696 EOF
39697 chmod +x bk-make-pch
39698 fi
39699 fi
39700 fi
39701
39702
39703
39704
39705
39706
39707
39708 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39709 if test "${enable_precomp_headers+set}" = set; then
39710 enableval="$enable_precomp_headers"
39711 bk_use_pch="$enableval"
39712 fi;
39713
39714 GCC_PCH=0
39715
39716 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39717 if test "x$GCC" = "xyes"; then
39718 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39719 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39720 cat >conftest.$ac_ext <<_ACEOF
39721 /* confdefs.h. */
39722 _ACEOF
39723 cat confdefs.h >>conftest.$ac_ext
39724 cat >>conftest.$ac_ext <<_ACEOF
39725 /* end confdefs.h. */
39726
39727 int
39728 main ()
39729 {
39730
39731 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39732 #error "no pch support"
39733 #endif
39734 #if (__GNUC__ < 3)
39735 #error "no pch support"
39736 #endif
39737 #if (__GNUC__ == 3) && \
39738 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39739 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39740 #error "no pch support"
39741 #endif
39742
39743 ;
39744 return 0;
39745 }
39746 _ACEOF
39747 rm -f conftest.$ac_objext
39748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39749 (eval $ac_compile) 2>conftest.er1
39750 ac_status=$?
39751 grep -v '^ *+' conftest.er1 >conftest.err
39752 rm -f conftest.er1
39753 cat conftest.err >&5
39754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39755 (exit $ac_status); } &&
39756 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39758 (eval $ac_try) 2>&5
39759 ac_status=$?
39760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39761 (exit $ac_status); }; } &&
39762 { ac_try='test -s conftest.$ac_objext'
39763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39764 (eval $ac_try) 2>&5
39765 ac_status=$?
39766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39767 (exit $ac_status); }; }; then
39768
39769 echo "$as_me:$LINENO: result: yes" >&5
39770 echo "${ECHO_T}yes" >&6
39771 GCC_PCH=1
39772
39773 else
39774 echo "$as_me: failed program was:" >&5
39775 sed 's/^/| /' conftest.$ac_ext >&5
39776
39777
39778 echo "$as_me:$LINENO: result: no" >&5
39779 echo "${ECHO_T}no" >&6
39780
39781 fi
39782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39783 if test $GCC_PCH = 1 ; then
39784 cat <<EOF >bk-make-pch
39785 #!/bin/sh
39786
39787 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39788 # script. It is used to generated precompiled headers.
39789 #
39790 # Permission is given to use this file in any way.
39791
39792 outfile="\${1}"
39793 header="\${2}"
39794 shift
39795 shift
39796
39797 compiler=
39798 headerfile=
39799 while test \${#} -gt 0; do
39800 case "\${1}" in
39801 -I* )
39802 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
39803 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
39804 headerfile="\${incdir}/\${header}"
39805 fi
39806 ;;
39807 esac
39808 compiler="\${compiler} \${1}"
39809 shift
39810 done
39811
39812 if test "x\${headerfile}" = "x" ; then
39813 echo "error: can't find header \${header} in include paths" >2
39814 else
39815 if test -f \${outfile} ; then
39816 rm -f \${outfile}
39817 else
39818 mkdir -p \`dirname \${outfile}\`
39819 fi
39820 depsfile=".deps/\`basename \${outfile}\`.d"
39821 mkdir -p .deps
39822 # can do this because gcc is >= 3.4:
39823 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
39824 exit \${?}
39825 fi
39826 EOF
39827 chmod +x bk-make-pch
39828 fi
39829 fi
39830 fi
39831
39832
39833
39834 COND_BUILD_DEBUG="#"
39835 if test "x$BUILD" = "xdebug" ; then
39836 COND_BUILD_DEBUG=""
39837 fi
39838
39839 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
39840 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39841 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
39842 fi
39843
39844 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
39845 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39846 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
39847 fi
39848
39849 COND_BUILD_DEBUG_UNICODE_0="#"
39850 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39851 COND_BUILD_DEBUG_UNICODE_0=""
39852 fi
39853
39854 COND_BUILD_DEBUG_UNICODE_1="#"
39855 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39856 COND_BUILD_DEBUG_UNICODE_1=""
39857 fi
39858
39859 COND_BUILD_RELEASE="#"
39860 if test "x$BUILD" = "xrelease" ; then
39861 COND_BUILD_RELEASE=""
39862 fi
39863
39864 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
39865 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39866 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
39867 fi
39868
39869 COND_BUILD_RELEASE_UNICODE_0="#"
39870 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39871 COND_BUILD_RELEASE_UNICODE_0=""
39872 fi
39873
39874 COND_BUILD_RELEASE_UNICODE_1="#"
39875 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39876 COND_BUILD_RELEASE_UNICODE_1=""
39877 fi
39878
39879 COND_DEBUG_FLAG_1="#"
39880 if test "x$DEBUG_FLAG" = "x1" ; then
39881 COND_DEBUG_FLAG_1=""
39882 fi
39883
39884 COND_DEBUG_INFO_0="#"
39885 if test "x$DEBUG_INFO" = "x0" ; then
39886 COND_DEBUG_INFO_0=""
39887 fi
39888
39889 COND_DEBUG_INFO_1="#"
39890 if test "x$DEBUG_INFO" = "x1" ; then
39891 COND_DEBUG_INFO_1=""
39892 fi
39893
39894 COND_DEPS_TRACKING_0="#"
39895 if test "x$DEPS_TRACKING" = "x0" ; then
39896 COND_DEPS_TRACKING_0=""
39897 fi
39898
39899 COND_DEPS_TRACKING_1="#"
39900 if test "x$DEPS_TRACKING" = "x1" ; then
39901 COND_DEPS_TRACKING_1=""
39902 fi
39903
39904 COND_GCC_PCH_1="#"
39905 if test "x$GCC_PCH" = "x1" ; then
39906 COND_GCC_PCH_1=""
39907 fi
39908
39909 COND_MONOLITHIC_0="#"
39910 if test "x$MONOLITHIC" = "x0" ; then
39911 COND_MONOLITHIC_0=""
39912 fi
39913
39914 COND_MONOLITHIC_0_SHARED_0="#"
39915 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
39916 COND_MONOLITHIC_0_SHARED_0=""
39917 fi
39918
39919 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
39920 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
39921 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
39922 fi
39923
39924 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
39925 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39926 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
39927 fi
39928
39929 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
39930 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
39931 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
39932 fi
39933
39934 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
39935 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
39936 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
39937 fi
39938
39939 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
39940 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
39941 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
39942 fi
39943
39944 COND_MONOLITHIC_0_SHARED_1="#"
39945 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
39946 COND_MONOLITHIC_0_SHARED_1=""
39947 fi
39948
39949 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
39950 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
39951 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
39952 fi
39953
39954 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
39955 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39956 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
39957 fi
39958
39959 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
39960 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
39961 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
39962 fi
39963
39964 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
39965 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
39966 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
39967 fi
39968
39969 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
39970 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
39971 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
39972 fi
39973
39974 COND_MONOLITHIC_0_USE_ODBC_1="#"
39975 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
39976 COND_MONOLITHIC_0_USE_ODBC_1=""
39977 fi
39978
39979 COND_MONOLITHIC_1="#"
39980 if test "x$MONOLITHIC" = "x1" ; then
39981 COND_MONOLITHIC_1=""
39982 fi
39983
39984 COND_MONOLITHIC_1_SHARED_0="#"
39985 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
39986 COND_MONOLITHIC_1_SHARED_0=""
39987 fi
39988
39989 COND_MONOLITHIC_1_SHARED_1="#"
39990 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
39991 COND_MONOLITHIC_1_SHARED_1=""
39992 fi
39993
39994 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
39995 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
39996 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
39997 fi
39998
39999 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
40000 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40001 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
40002 fi
40003
40004 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
40005 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40006 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
40007 fi
40008
40009 COND_PLATFORM_MACOSX_1="#"
40010 if test "x$PLATFORM_MACOSX" = "x1" ; then
40011 COND_PLATFORM_MACOSX_1=""
40012 fi
40013
40014 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
40015 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
40016 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
40017 fi
40018
40019 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
40020 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
40021 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
40022 fi
40023
40024 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
40025 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
40026 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
40027 fi
40028
40029 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
40030 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
40031 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
40032 fi
40033
40034 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
40035 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
40036 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
40037 fi
40038
40039 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
40040 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
40041 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
40042 fi
40043
40044 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
40045 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40046 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
40047 fi
40048
40049 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
40050 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40051 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
40052 fi
40053
40054 COND_PLATFORM_MAC_1="#"
40055 if test "x$PLATFORM_MAC" = "x1" ; then
40056 COND_PLATFORM_MAC_1=""
40057 fi
40058
40059 COND_PLATFORM_OS2_1="#"
40060 if test "x$PLATFORM_OS2" = "x1" ; then
40061 COND_PLATFORM_OS2_1=""
40062 fi
40063
40064 COND_PLATFORM_UNIX_0="#"
40065 if test "x$PLATFORM_UNIX" = "x0" ; then
40066 COND_PLATFORM_UNIX_0=""
40067 fi
40068
40069 COND_PLATFORM_UNIX_1="#"
40070 if test "x$PLATFORM_UNIX" = "x1" ; then
40071 COND_PLATFORM_UNIX_1=""
40072 fi
40073
40074 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
40075 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40076 COND_PLATFORM_UNIX_1_USE_GUI_1=""
40077 fi
40078
40079 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
40080 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40081 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
40082 fi
40083
40084 COND_PLATFORM_WIN32_0="#"
40085 if test "x$PLATFORM_WIN32" = "x0" ; then
40086 COND_PLATFORM_WIN32_0=""
40087 fi
40088
40089 COND_PLATFORM_WIN32_1="#"
40090 if test "x$PLATFORM_WIN32" = "x1" ; then
40091 COND_PLATFORM_WIN32_1=""
40092 fi
40093
40094 COND_SHARED_0="#"
40095 if test "x$SHARED" = "x0" ; then
40096 COND_SHARED_0=""
40097 fi
40098
40099 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
40100 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40101 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
40102 fi
40103
40104 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
40105 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40106 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
40107 fi
40108
40109 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
40110 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40111 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
40112 fi
40113
40114 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
40115 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40116 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
40117 fi
40118
40119 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
40120 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40121 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
40122 fi
40123
40124 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
40125 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40126 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
40127 fi
40128
40129 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
40130 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40131 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
40132 fi
40133
40134 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
40135 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40136 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
40137 fi
40138
40139 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
40140 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
40141 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
40142 fi
40143
40144 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
40145 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40146 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
40147 fi
40148
40149 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
40150 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40151 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
40152 fi
40153
40154 COND_SHARED_1="#"
40155 if test "x$SHARED" = "x1" ; then
40156 COND_SHARED_1=""
40157 fi
40158
40159 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
40160 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40161 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
40162 fi
40163
40164 COND_TOOLKIT_="#"
40165 if test "x$TOOLKIT" = "x" ; then
40166 COND_TOOLKIT_=""
40167 fi
40168
40169 COND_TOOLKIT_COCOA="#"
40170 if test "x$TOOLKIT" = "xCOCOA" ; then
40171 COND_TOOLKIT_COCOA=""
40172 fi
40173
40174 COND_TOOLKIT_COCOA_USE_GUI_1="#"
40175 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40176 COND_TOOLKIT_COCOA_USE_GUI_1=""
40177 fi
40178
40179 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
40180 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40181 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
40182 fi
40183
40184 COND_TOOLKIT_GTK="#"
40185 if test "x$TOOLKIT" = "xGTK" ; then
40186 COND_TOOLKIT_GTK=""
40187 fi
40188
40189 COND_TOOLKIT_GTK_USE_GUI_1="#"
40190 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40191 COND_TOOLKIT_GTK_USE_GUI_1=""
40192 fi
40193
40194 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
40195 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40196 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
40197 fi
40198
40199 COND_TOOLKIT_MAC="#"
40200 if test "x$TOOLKIT" = "xMAC" ; then
40201 COND_TOOLKIT_MAC=""
40202 fi
40203
40204 COND_TOOLKIT_MAC_USE_GUI_1="#"
40205 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40206 COND_TOOLKIT_MAC_USE_GUI_1=""
40207 fi
40208
40209 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
40210 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40211 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
40212 fi
40213
40214 COND_TOOLKIT_MGL="#"
40215 if test "x$TOOLKIT" = "xMGL" ; then
40216 COND_TOOLKIT_MGL=""
40217 fi
40218
40219 COND_TOOLKIT_MGL_USE_GUI_1="#"
40220 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
40221 COND_TOOLKIT_MGL_USE_GUI_1=""
40222 fi
40223
40224 COND_TOOLKIT_MOTIF="#"
40225 if test "x$TOOLKIT" = "xMOTIF" ; then
40226 COND_TOOLKIT_MOTIF=""
40227 fi
40228
40229 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
40230 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40231 COND_TOOLKIT_MOTIF_USE_GUI_1=""
40232 fi
40233
40234 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
40235 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40236 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
40237 fi
40238
40239 COND_TOOLKIT_MSW="#"
40240 if test "x$TOOLKIT" = "xMSW" ; then
40241 COND_TOOLKIT_MSW=""
40242 fi
40243
40244 COND_TOOLKIT_MSW_USE_GUI_1="#"
40245 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40246 COND_TOOLKIT_MSW_USE_GUI_1=""
40247 fi
40248
40249 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
40250 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40251 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
40252 fi
40253
40254 COND_TOOLKIT_PM="#"
40255 if test "x$TOOLKIT" = "xPM" ; then
40256 COND_TOOLKIT_PM=""
40257 fi
40258
40259 COND_TOOLKIT_PM_USE_GUI_1="#"
40260 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40261 COND_TOOLKIT_PM_USE_GUI_1=""
40262 fi
40263
40264 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
40265 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40266 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
40267 fi
40268
40269 COND_TOOLKIT_WINCE="#"
40270 if test "x$TOOLKIT" = "xWINCE" ; then
40271 COND_TOOLKIT_WINCE=""
40272 fi
40273
40274 COND_TOOLKIT_WINCE_USE_GUI_1="#"
40275 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40276 COND_TOOLKIT_WINCE_USE_GUI_1=""
40277 fi
40278
40279 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
40280 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40281 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
40282 fi
40283
40284 COND_TOOLKIT_X11="#"
40285 if test "x$TOOLKIT" = "xX11" ; then
40286 COND_TOOLKIT_X11=""
40287 fi
40288
40289 COND_TOOLKIT_X11_USE_GUI_1="#"
40290 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40291 COND_TOOLKIT_X11_USE_GUI_1=""
40292 fi
40293
40294 COND_UNICODE_1="#"
40295 if test "x$UNICODE" = "x1" ; then
40296 COND_UNICODE_1=""
40297 fi
40298
40299 COND_USE_EXCEPTIONS_0="#"
40300 if test "x$USE_EXCEPTIONS" = "x0" ; then
40301 COND_USE_EXCEPTIONS_0=""
40302 fi
40303
40304 COND_USE_EXCEPTIONS_1="#"
40305 if test "x$USE_EXCEPTIONS" = "x1" ; then
40306 COND_USE_EXCEPTIONS_1=""
40307 fi
40308
40309 COND_USE_GUI_0="#"
40310 if test "x$USE_GUI" = "x0" ; then
40311 COND_USE_GUI_0=""
40312 fi
40313
40314 COND_USE_GUI_1="#"
40315 if test "x$USE_GUI" = "x1" ; then
40316 COND_USE_GUI_1=""
40317 fi
40318
40319 COND_USE_GUI_1_WXUNIV_0="#"
40320 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40321 COND_USE_GUI_1_WXUNIV_0=""
40322 fi
40323
40324 COND_USE_GUI_1_WXUNIV_1="#"
40325 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40326 COND_USE_GUI_1_WXUNIV_1=""
40327 fi
40328
40329 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
40330 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40331 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
40332 fi
40333
40334 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
40335 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40336 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
40337 fi
40338
40339 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
40340 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40341 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
40342 fi
40343
40344 COND_USE_ODBC_1="#"
40345 if test "x$USE_ODBC" = "x1" ; then
40346 COND_USE_ODBC_1=""
40347 fi
40348
40349 COND_USE_OPENGL_1="#"
40350 if test "x$USE_OPENGL" = "x1" ; then
40351 COND_USE_OPENGL_1=""
40352 fi
40353
40354 COND_USE_PLUGINS_0="#"
40355 if test "x$USE_PLUGINS" = "x0" ; then
40356 COND_USE_PLUGINS_0=""
40357 fi
40358
40359 COND_USE_SOSYMLINKS_1="#"
40360 if test "x$USE_SOSYMLINKS" = "x1" ; then
40361 COND_USE_SOSYMLINKS_1=""
40362 fi
40363
40364 COND_USE_SOVERLINUX_1="#"
40365 if test "x$USE_SOVERLINUX" = "x1" ; then
40366 COND_USE_SOVERLINUX_1=""
40367 fi
40368
40369 COND_USE_SOVERSION_0="#"
40370 if test "x$USE_SOVERSION" = "x0" ; then
40371 COND_USE_SOVERSION_0=""
40372 fi
40373
40374 COND_USE_SOVERSOLARIS_1="#"
40375 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40376 COND_USE_SOVERSOLARIS_1=""
40377 fi
40378
40379 COND_USE_XRC_1="#"
40380 if test "x$USE_XRC" = "x1" ; then
40381 COND_USE_XRC_1=""
40382 fi
40383
40384 COND_WITH_PLUGIN_SDL_1="#"
40385 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40386 COND_WITH_PLUGIN_SDL_1=""
40387 fi
40388
40389 COND_WXUNIV_1="#"
40390 if test "x$WXUNIV" = "x1" ; then
40391 COND_WXUNIV_1=""
40392 fi
40393
40394 COND_WXUSE_EXPAT_BUILTIN="#"
40395 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40396 COND_WXUSE_EXPAT_BUILTIN=""
40397 fi
40398
40399 COND_WXUSE_LIBJPEG_BUILTIN="#"
40400 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40401 COND_WXUSE_LIBJPEG_BUILTIN=""
40402 fi
40403
40404 COND_WXUSE_LIBPNG_BUILTIN="#"
40405 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40406 COND_WXUSE_LIBPNG_BUILTIN=""
40407 fi
40408
40409 COND_WXUSE_LIBTIFF_BUILTIN="#"
40410 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40411 COND_WXUSE_LIBTIFF_BUILTIN=""
40412 fi
40413
40414 COND_WXUSE_ODBC_BUILTIN="#"
40415 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
40416 COND_WXUSE_ODBC_BUILTIN=""
40417 fi
40418
40419 COND_WXUSE_REGEX_BUILTIN="#"
40420 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40421 COND_WXUSE_REGEX_BUILTIN=""
40422 fi
40423
40424 COND_WXUSE_ZLIB_BUILTIN="#"
40425 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40426 COND_WXUSE_ZLIB_BUILTIN=""
40427 fi
40428
40429 COND_BUILD_DEBUG="#"
40430 if test "x$BUILD" = "xdebug" ; then
40431 COND_BUILD_DEBUG=""
40432 fi
40433
40434 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
40435 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40436 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
40437 fi
40438
40439 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
40440 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40441 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
40442 fi
40443
40444 COND_BUILD_DEBUG_UNICODE_0="#"
40445 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40446 COND_BUILD_DEBUG_UNICODE_0=""
40447 fi
40448
40449 COND_BUILD_DEBUG_UNICODE_1="#"
40450 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40451 COND_BUILD_DEBUG_UNICODE_1=""
40452 fi
40453
40454 COND_BUILD_RELEASE="#"
40455 if test "x$BUILD" = "xrelease" ; then
40456 COND_BUILD_RELEASE=""
40457 fi
40458
40459 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
40460 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40461 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
40462 fi
40463
40464 COND_BUILD_RELEASE_UNICODE_0="#"
40465 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40466 COND_BUILD_RELEASE_UNICODE_0=""
40467 fi
40468
40469 COND_BUILD_RELEASE_UNICODE_1="#"
40470 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40471 COND_BUILD_RELEASE_UNICODE_1=""
40472 fi
40473
40474 COND_DEBUG_FLAG_1="#"
40475 if test "x$DEBUG_FLAG" = "x1" ; then
40476 COND_DEBUG_FLAG_1=""
40477 fi
40478
40479 COND_DEBUG_INFO_0="#"
40480 if test "x$DEBUG_INFO" = "x0" ; then
40481 COND_DEBUG_INFO_0=""
40482 fi
40483
40484 COND_DEBUG_INFO_1="#"
40485 if test "x$DEBUG_INFO" = "x1" ; then
40486 COND_DEBUG_INFO_1=""
40487 fi
40488
40489 COND_DEPS_TRACKING_0="#"
40490 if test "x$DEPS_TRACKING" = "x0" ; then
40491 COND_DEPS_TRACKING_0=""
40492 fi
40493
40494 COND_DEPS_TRACKING_1="#"
40495 if test "x$DEPS_TRACKING" = "x1" ; then
40496 COND_DEPS_TRACKING_1=""
40497 fi
40498
40499 COND_GCC_PCH_1="#"
40500 if test "x$GCC_PCH" = "x1" ; then
40501 COND_GCC_PCH_1=""
40502 fi
40503
40504 COND_MONOLITHIC_0="#"
40505 if test "x$MONOLITHIC" = "x0" ; then
40506 COND_MONOLITHIC_0=""
40507 fi
40508
40509 COND_MONOLITHIC_0_SHARED_0="#"
40510 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40511 COND_MONOLITHIC_0_SHARED_0=""
40512 fi
40513
40514 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
40515 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40516 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
40517 fi
40518
40519 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
40520 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40521 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
40522 fi
40523
40524 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
40525 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
40526 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
40527 fi
40528
40529 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
40530 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
40531 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
40532 fi
40533
40534 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
40535 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40536 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
40537 fi
40538
40539 COND_MONOLITHIC_0_SHARED_1="#"
40540 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40541 COND_MONOLITHIC_0_SHARED_1=""
40542 fi
40543
40544 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
40545 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40546 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
40547 fi
40548
40549 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
40550 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40551 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
40552 fi
40553
40554 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
40555 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
40556 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
40557 fi
40558
40559 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
40560 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
40561 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
40562 fi
40563
40564 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
40565 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40566 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
40567 fi
40568
40569 COND_MONOLITHIC_0_USE_ODBC_1="#"
40570 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
40571 COND_MONOLITHIC_0_USE_ODBC_1=""
40572 fi
40573
40574 COND_MONOLITHIC_1="#"
40575 if test "x$MONOLITHIC" = "x1" ; then
40576 COND_MONOLITHIC_1=""
40577 fi
40578
40579 COND_MONOLITHIC_1_SHARED_0="#"
40580 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40581 COND_MONOLITHIC_1_SHARED_0=""
40582 fi
40583
40584 COND_MONOLITHIC_1_SHARED_1="#"
40585 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40586 COND_MONOLITHIC_1_SHARED_1=""
40587 fi
40588
40589 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
40590 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40591 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
40592 fi
40593
40594 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
40595 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40596 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
40597 fi
40598
40599 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
40600 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40601 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
40602 fi
40603
40604 COND_PLATFORM_MACOSX_1="#"
40605 if test "x$PLATFORM_MACOSX" = "x1" ; then
40606 COND_PLATFORM_MACOSX_1=""
40607 fi
40608
40609 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
40610 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
40611 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
40612 fi
40613
40614 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
40615 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
40616 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
40617 fi
40618
40619 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
40620 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
40621 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
40622 fi
40623
40624 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
40625 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
40626 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
40627 fi
40628
40629 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
40630 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
40631 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
40632 fi
40633
40634 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
40635 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40636 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
40637 fi
40638
40639 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
40640 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40641 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
40642 fi
40643
40644 COND_PLATFORM_MAC_1="#"
40645 if test "x$PLATFORM_MAC" = "x1" ; then
40646 COND_PLATFORM_MAC_1=""
40647 fi
40648
40649 COND_PLATFORM_OS2_1="#"
40650 if test "x$PLATFORM_OS2" = "x1" ; then
40651 COND_PLATFORM_OS2_1=""
40652 fi
40653
40654 COND_PLATFORM_UNIX_0="#"
40655 if test "x$PLATFORM_UNIX" = "x0" ; then
40656 COND_PLATFORM_UNIX_0=""
40657 fi
40658
40659 COND_PLATFORM_UNIX_1="#"
40660 if test "x$PLATFORM_UNIX" = "x1" ; then
40661 COND_PLATFORM_UNIX_1=""
40662 fi
40663
40664 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
40665 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40666 COND_PLATFORM_UNIX_1_USE_GUI_1=""
40667 fi
40668
40669 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
40670 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40671 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
40672 fi
40673
40674 COND_PLATFORM_WIN32_0="#"
40675 if test "x$PLATFORM_WIN32" = "x0" ; then
40676 COND_PLATFORM_WIN32_0=""
40677 fi
40678
40679 COND_PLATFORM_WIN32_1="#"
40680 if test "x$PLATFORM_WIN32" = "x1" ; then
40681 COND_PLATFORM_WIN32_1=""
40682 fi
40683
40684 COND_SHARED_0="#"
40685 if test "x$SHARED" = "x0" ; then
40686 COND_SHARED_0=""
40687 fi
40688
40689 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
40690 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40691 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
40692 fi
40693
40694 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
40695 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40696 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
40697 fi
40698
40699 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
40700 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40701 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
40702 fi
40703
40704 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
40705 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40706 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
40707 fi
40708
40709 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
40710 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40711 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
40712 fi
40713
40714 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
40715 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
40716 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
40717 fi
40718
40719 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
40720 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40721 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
40722 fi
40723
40724 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
40725 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40726 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
40727 fi
40728
40729 COND_SHARED_1="#"
40730 if test "x$SHARED" = "x1" ; then
40731 COND_SHARED_1=""
40732 fi
40733
40734 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
40735 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40736 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
40737 fi
40738
40739 COND_TOOLKIT_COCOA="#"
40740 if test "x$TOOLKIT" = "xCOCOA" ; then
40741 COND_TOOLKIT_COCOA=""
40742 fi
40743
40744 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
40745 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40746 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
40747 fi
40748
40749 COND_TOOLKIT_GTK="#"
40750 if test "x$TOOLKIT" = "xGTK" ; then
40751 COND_TOOLKIT_GTK=""
40752 fi
40753
40754 COND_TOOLKIT_GTK_USE_GUI_1="#"
40755 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40756 COND_TOOLKIT_GTK_USE_GUI_1=""
40757 fi
40758
40759 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
40760 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40761 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
40762 fi
40763
40764 COND_TOOLKIT_MAC="#"
40765 if test "x$TOOLKIT" = "xMAC" ; then
40766 COND_TOOLKIT_MAC=""
40767 fi
40768
40769 COND_TOOLKIT_MAC_USE_GUI_1="#"
40770 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40771 COND_TOOLKIT_MAC_USE_GUI_1=""
40772 fi
40773
40774 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
40775 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40776 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
40777 fi
40778
40779 COND_TOOLKIT_MAC_WXUNIV_0="#"
40780 if test "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40781 COND_TOOLKIT_MAC_WXUNIV_0=""
40782 fi
40783
40784 COND_TOOLKIT_MGL="#"
40785 if test "x$TOOLKIT" = "xMGL" ; then
40786 COND_TOOLKIT_MGL=""
40787 fi
40788
40789 COND_TOOLKIT_MGL_USE_GUI_1="#"
40790 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
40791 COND_TOOLKIT_MGL_USE_GUI_1=""
40792 fi
40793
40794 COND_TOOLKIT_MOTIF="#"
40795 if test "x$TOOLKIT" = "xMOTIF" ; then
40796 COND_TOOLKIT_MOTIF=""
40797 fi
40798
40799 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
40800 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40801 COND_TOOLKIT_MOTIF_USE_GUI_1=""
40802 fi
40803
40804 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
40805 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40806 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
40807 fi
40808
40809 COND_TOOLKIT_MSW="#"
40810 if test "x$TOOLKIT" = "xMSW" ; then
40811 COND_TOOLKIT_MSW=""
40812 fi
40813
40814 COND_TOOLKIT_MSW_USE_GUI_1="#"
40815 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40816 COND_TOOLKIT_MSW_USE_GUI_1=""
40817 fi
40818
40819 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
40820 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40821 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
40822 fi
40823
40824 COND_TOOLKIT_MSW_WXUNIV_0="#"
40825 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40826 COND_TOOLKIT_MSW_WXUNIV_0=""
40827 fi
40828
40829 COND_TOOLKIT_PM="#"
40830 if test "x$TOOLKIT" = "xPM" ; then
40831 COND_TOOLKIT_PM=""
40832 fi
40833
40834 COND_TOOLKIT_PM_USE_GUI_1="#"
40835 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40836 COND_TOOLKIT_PM_USE_GUI_1=""
40837 fi
40838
40839 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
40840 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40841 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
40842 fi
40843
40844 COND_TOOLKIT_PM_WXUNIV_0="#"
40845 if test "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40846 COND_TOOLKIT_PM_WXUNIV_0=""
40847 fi
40848
40849 COND_TOOLKIT_WINCE="#"
40850 if test "x$TOOLKIT" = "xWINCE" ; then
40851 COND_TOOLKIT_WINCE=""
40852 fi
40853
40854 COND_TOOLKIT_WINCE_USE_GUI_1="#"
40855 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40856 COND_TOOLKIT_WINCE_USE_GUI_1=""
40857 fi
40858
40859 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
40860 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40861 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
40862 fi
40863
40864 COND_TOOLKIT_X11="#"
40865 if test "x$TOOLKIT" = "xX11" ; then
40866 COND_TOOLKIT_X11=""
40867 fi
40868
40869 COND_TOOLKIT_X11_USE_GUI_1="#"
40870 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40871 COND_TOOLKIT_X11_USE_GUI_1=""
40872 fi
40873
40874 COND_UNICODE_1="#"
40875 if test "x$UNICODE" = "x1" ; then
40876 COND_UNICODE_1=""
40877 fi
40878
40879 COND_USE_EXCEPTIONS_0="#"
40880 if test "x$USE_EXCEPTIONS" = "x0" ; then
40881 COND_USE_EXCEPTIONS_0=""
40882 fi
40883
40884 COND_USE_EXCEPTIONS_1="#"
40885 if test "x$USE_EXCEPTIONS" = "x1" ; then
40886 COND_USE_EXCEPTIONS_1=""
40887 fi
40888
40889 COND_USE_GUI_0="#"
40890 if test "x$USE_GUI" = "x0" ; then
40891 COND_USE_GUI_0=""
40892 fi
40893
40894 COND_USE_GUI_1="#"
40895 if test "x$USE_GUI" = "x1" ; then
40896 COND_USE_GUI_1=""
40897 fi
40898
40899 COND_USE_GUI_1_WXUNIV_0="#"
40900 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40901 COND_USE_GUI_1_WXUNIV_0=""
40902 fi
40903
40904 COND_USE_GUI_1_WXUNIV_1="#"
40905 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40906 COND_USE_GUI_1_WXUNIV_1=""
40907 fi
40908
40909 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
40910 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40911 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
40912 fi
40913
40914 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
40915 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40916 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
40917 fi
40918
40919 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
40920 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40921 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
40922 fi
40923
40924 COND_USE_ODBC_1="#"
40925 if test "x$USE_ODBC" = "x1" ; then
40926 COND_USE_ODBC_1=""
40927 fi
40928
40929 COND_USE_PLUGINS_0="#"
40930 if test "x$USE_PLUGINS" = "x0" ; then
40931 COND_USE_PLUGINS_0=""
40932 fi
40933
40934 COND_USE_SOSYMLINKS_1="#"
40935 if test "x$USE_SOSYMLINKS" = "x1" ; then
40936 COND_USE_SOSYMLINKS_1=""
40937 fi
40938
40939 COND_USE_SOVERLINUX_1="#"
40940 if test "x$USE_SOVERLINUX" = "x1" ; then
40941 COND_USE_SOVERLINUX_1=""
40942 fi
40943
40944 COND_USE_SOVERSION_0="#"
40945 if test "x$USE_SOVERSION" = "x0" ; then
40946 COND_USE_SOVERSION_0=""
40947 fi
40948
40949 COND_USE_SOVERSOLARIS_1="#"
40950 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40951 COND_USE_SOVERSOLARIS_1=""
40952 fi
40953
40954 COND_WITH_PLUGIN_SDL_1="#"
40955 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40956 COND_WITH_PLUGIN_SDL_1=""
40957 fi
40958
40959 COND_WXUNIV_1="#"
40960 if test "x$WXUNIV" = "x1" ; then
40961 COND_WXUNIV_1=""
40962 fi
40963
40964 COND_WXUSE_EXPAT_BUILTIN="#"
40965 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40966 COND_WXUSE_EXPAT_BUILTIN=""
40967 fi
40968
40969 COND_WXUSE_LIBJPEG_BUILTIN="#"
40970 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40971 COND_WXUSE_LIBJPEG_BUILTIN=""
40972 fi
40973
40974 COND_WXUSE_LIBPNG_BUILTIN="#"
40975 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40976 COND_WXUSE_LIBPNG_BUILTIN=""
40977 fi
40978
40979 COND_WXUSE_LIBTIFF_BUILTIN="#"
40980 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40981 COND_WXUSE_LIBTIFF_BUILTIN=""
40982 fi
40983
40984 COND_WXUSE_ODBC_BUILTIN="#"
40985 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
40986 COND_WXUSE_ODBC_BUILTIN=""
40987 fi
40988
40989 COND_WXUSE_REGEX_BUILTIN="#"
40990 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40991 COND_WXUSE_REGEX_BUILTIN=""
40992 fi
40993
40994 COND_WXUSE_ZLIB_BUILTIN="#"
40995 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40996 COND_WXUSE_ZLIB_BUILTIN=""
40997 fi
40998
40999
41000
41001 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
41002 { { echo "$as_me:$LINENO: error: Versions of Bakefile used to generate makefiles ($BAKEFILE_AUTOCONF_INC_M4_VERSION) and configure ($BAKEFILE_BAKEFILE_M4_VERSION) do not match." >&5
41003 echo "$as_me: error: Versions of Bakefile used to generate makefiles ($BAKEFILE_AUTOCONF_INC_M4_VERSION) and configure ($BAKEFILE_BAKEFILE_M4_VERSION) do not match." >&2;}
41004 { (exit 1); exit 1; }; }
41005 fi
41006
41007
41008 if test "$wxUSE_SHARED" = "yes"; then
41009
41010 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
41011 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
41012
41013 else
41014
41015 EXE_LINKER="$CXX -o"
41016
41017 fi
41018
41019 GCC_PRAGMA_FLAGS=""
41020 if test $GCC_PCH = 1 ; then
41021 GCC_PRAGMA_FLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA"
41022 else
41023 case "${host}" in
41024 powerpc-*-darwin* )
41025 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
41026 ;;
41027 *-*-mingw32* )
41028 if test "$wxUSE_STL" = "yes" -o \
41029 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
41030 "$wxUSE_NO_RTTI" != "yes"; then
41031 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
41032 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
41033 cat >conftest.$ac_ext <<_ACEOF
41034 /* confdefs.h. */
41035 _ACEOF
41036 cat confdefs.h >>conftest.$ac_ext
41037 cat >>conftest.$ac_ext <<_ACEOF
41038 /* end confdefs.h. */
41039
41040 int
41041 main ()
41042 {
41043 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
41044 #error "Not GCC 3.2 or greater"
41045 #endif
41046
41047 ;
41048 return 0;
41049 }
41050 _ACEOF
41051 rm -f conftest.$ac_objext
41052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41053 (eval $ac_compile) 2>conftest.er1
41054 ac_status=$?
41055 grep -v '^ *+' conftest.er1 >conftest.err
41056 rm -f conftest.er1
41057 cat conftest.err >&5
41058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41059 (exit $ac_status); } &&
41060 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41062 (eval $ac_try) 2>&5
41063 ac_status=$?
41064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41065 (exit $ac_status); }; } &&
41066 { ac_try='test -s conftest.$ac_objext'
41067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41068 (eval $ac_try) 2>&5
41069 ac_status=$?
41070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41071 (exit $ac_status); }; }; then
41072 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
41073 echo "$as_me:$LINENO: result: yes" >&5
41074 echo "${ECHO_T}yes" >&6
41075 else
41076 echo "$as_me: failed program was:" >&5
41077 sed 's/^/| /' conftest.$ac_ext >&5
41078
41079 echo "$as_me:$LINENO: result: no" >&5
41080 echo "${ECHO_T}no" >&6
41081 fi
41082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41083 fi
41084 ;;
41085 esac
41086 fi
41087 CPPFLAGS="$GCC_PRAGMA_FLAGS $CPPFLAGS"
41088
41089
41090 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41091
41092
41093
41094
41095
41096
41097
41098
41099
41100
41101
41102
41103
41104
41105
41106
41107
41108
41109
41110
41111
41112
41113
41114
41115
41116
41117
41118
41119
41120
41121
41122
41123
41124
41125
41126
41127
41128
41129
41130
41131
41132
41133
41134
41135
41136
41137
41138
41139
41140
41141
41142
41143
41144
41145
41146
41147
41148
41149
41150
41151
41152
41153
41154 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41155 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
41156 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
41157 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
41158 echo $ECHO_N "(cached) $ECHO_C" >&6
41159 else
41160 cat >conftest.make <<\_ACEOF
41161 all:
41162 @echo 'ac_maketemp="$(MAKE)"'
41163 _ACEOF
41164 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
41165 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
41166 if test -n "$ac_maketemp"; then
41167 eval ac_cv_prog_make_${ac_make}_set=yes
41168 else
41169 eval ac_cv_prog_make_${ac_make}_set=no
41170 fi
41171 rm -f conftest.make
41172 fi
41173 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
41174 echo "$as_me:$LINENO: result: yes" >&5
41175 echo "${ECHO_T}yes" >&6
41176 SET_MAKE=
41177 else
41178 echo "$as_me:$LINENO: result: no" >&5
41179 echo "${ECHO_T}no" >&6
41180 SET_MAKE="MAKE=${MAKE-make}"
41181 fi
41182
41183
41184
41185 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
41186
41187
41188 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
41189
41190
41191 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
41192
41193
41194 ac_config_files="$ac_config_files version-script Makefile"
41195
41196
41197 ac_config_commands="$ac_config_commands wx-config
41198 "
41199
41200
41201
41202
41203 if test "$wxUSE_GUI" = "yes"; then
41204 SUBDIRS="samples demos utils contrib"
41205 else SUBDIRS="samples utils"
41206 fi
41207
41208
41209
41210 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
41211 if test "${with_cppunit_prefix+set}" = set; then
41212 withval="$with_cppunit_prefix"
41213 cppunit_config_prefix="$withval"
41214 else
41215 cppunit_config_prefix=""
41216 fi;
41217
41218 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
41219 if test "${with_cppunit_exec_prefix+set}" = set; then
41220 withval="$with_cppunit_exec_prefix"
41221 cppunit_config_exec_prefix="$withval"
41222 else
41223 cppunit_config_exec_prefix=""
41224 fi;
41225
41226 if test x$cppunit_config_exec_prefix != x ; then
41227 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41228 if test x${CPPUNIT_CONFIG+set} != xset ; then
41229 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
41230 fi
41231 fi
41232 if test x$cppunit_config_prefix != x ; then
41233 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
41234 if test x${CPPUNIT_CONFIG+set} != xset ; then
41235 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
41236 fi
41237 fi
41238
41239 # Extract the first word of "cppunit-config", so it can be a program name with args.
41240 set dummy cppunit-config; ac_word=$2
41241 echo "$as_me:$LINENO: checking for $ac_word" >&5
41242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41243 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
41244 echo $ECHO_N "(cached) $ECHO_C" >&6
41245 else
41246 case $CPPUNIT_CONFIG in
41247 [\\/]* | ?:[\\/]*)
41248 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41249 ;;
41250 *)
41251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41252 for as_dir in $PATH
41253 do
41254 IFS=$as_save_IFS
41255 test -z "$as_dir" && as_dir=.
41256 for ac_exec_ext in '' $ac_executable_extensions; do
41257 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41258 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41260 break 2
41261 fi
41262 done
41263 done
41264
41265 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
41266 ;;
41267 esac
41268 fi
41269 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
41270
41271 if test -n "$CPPUNIT_CONFIG"; then
41272 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
41273 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
41274 else
41275 echo "$as_me:$LINENO: result: no" >&5
41276 echo "${ECHO_T}no" >&6
41277 fi
41278
41279 cppunit_version_min=1.8.0
41280
41281 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
41282 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
41283 no_cppunit=""
41284 if test "$CPPUNIT_CONFIG" = "no" ; then
41285 no_cppunit=yes
41286 else
41287 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
41288 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
41289 cppunit_version=`$CPPUNIT_CONFIG --version`
41290
41291 cppunit_major_version=`echo $cppunit_version | \
41292 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41293 cppunit_minor_version=`echo $cppunit_version | \
41294 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41295 cppunit_micro_version=`echo $cppunit_version | \
41296 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41297
41298 cppunit_major_min=`echo $cppunit_version_min | \
41299 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41300 cppunit_minor_min=`echo $cppunit_version_min | \
41301 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41302 cppunit_micro_min=`echo $cppunit_version_min | \
41303 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41304
41305 cppunit_version_proper=`expr \
41306 $cppunit_major_version \> $cppunit_major_min \| \
41307 $cppunit_major_version \= $cppunit_major_min \& \
41308 $cppunit_minor_version \> $cppunit_minor_min \| \
41309 $cppunit_major_version \= $cppunit_major_min \& \
41310 $cppunit_minor_version \= $cppunit_minor_min \& \
41311 $cppunit_micro_version \>= $cppunit_micro_min `
41312
41313 if test "$cppunit_version_proper" = "1" ; then
41314 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41315 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
41316 else
41317 echo "$as_me:$LINENO: result: no" >&5
41318 echo "${ECHO_T}no" >&6
41319 no_cppunit=yes
41320 fi
41321 fi
41322
41323 if test "x$no_cppunit" = x ; then
41324 SUBDIRS="$SUBDIRS tests"
41325 else
41326 CPPUNIT_CFLAGS=""
41327 CPPUNIT_LIBS=""
41328 :
41329 fi
41330
41331
41332
41333
41334
41335 for subdir in `echo $SUBDIRS`; do
41336 if test -d ${srcdir}/${subdir} ; then
41337 if test "$wxUSE_GUI" = "yes"; then
41338 if test ${subdir} = "samples"; then
41339 makefiles="samples/Makefile.in $makefiles"
41340 for sample in `echo $SAMPLES_SUBDIRS`; do
41341 if test -d $srcdir/samples/$sample; then
41342 makefiles="samples/$sample/Makefile.in $makefiles"
41343 fi
41344 done
41345 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
41346 fi
41347 else if test ${subdir} = "samples"; then
41348 makefiles="samples/Makefile.in samples/console/Makefile.in"
41349 elif test ${subdir} = "utils"; then
41350 makefiles=""
41351 for util in HelpGen tex2rtf ; do
41352 if test -d $srcdir/utils/$util ; then
41353 makefiles="utils/$util/Makefile.in \
41354 utils/$util/src/Makefile.in \
41355 $makefiles"
41356 fi
41357 done
41358 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
41359 fi
41360 fi
41361
41362 for mkin in $makefiles ; do
41363 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41364 ac_config_files="$ac_config_files $mk"
41365
41366 done
41367 fi
41368 done
41369
41370
41371 cat >confcache <<\_ACEOF
41372 # This file is a shell script that caches the results of configure
41373 # tests run on this system so they can be shared between configure
41374 # scripts and configure runs, see configure's option --config-cache.
41375 # It is not useful on other systems. If it contains results you don't
41376 # want to keep, you may remove or edit it.
41377 #
41378 # config.status only pays attention to the cache file if you give it
41379 # the --recheck option to rerun configure.
41380 #
41381 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41382 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41383 # following values.
41384
41385 _ACEOF
41386
41387 # The following way of writing the cache mishandles newlines in values,
41388 # but we know of no workaround that is simple, portable, and efficient.
41389 # So, don't put newlines in cache variables' values.
41390 # Ultrix sh set writes to stderr and can't be redirected directly,
41391 # and sets the high bit in the cache file unless we assign to the vars.
41392 {
41393 (set) 2>&1 |
41394 case `(ac_space=' '; set | grep ac_space) 2>&1` in
41395 *ac_space=\ *)
41396 # `set' does not quote correctly, so add quotes (double-quote
41397 # substitution turns \\\\ into \\, and sed turns \\ into \).
41398 sed -n \
41399 "s/'/'\\\\''/g;
41400 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41401 ;;
41402 *)
41403 # `set' quotes correctly as required by POSIX, so do not add quotes.
41404 sed -n \
41405 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
41406 ;;
41407 esac;
41408 } |
41409 sed '
41410 t clear
41411 : clear
41412 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41413 t end
41414 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41415 : end' >>confcache
41416 if diff $cache_file confcache >/dev/null 2>&1; then :; else
41417 if test -w $cache_file; then
41418 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
41419 cat confcache >$cache_file
41420 else
41421 echo "not updating unwritable cache $cache_file"
41422 fi
41423 fi
41424 rm -f confcache
41425
41426 test "x$prefix" = xNONE && prefix=$ac_default_prefix
41427 # Let make expand exec_prefix.
41428 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
41429
41430 # VPATH may cause trouble with some makes, so we remove $(srcdir),
41431 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
41432 # trailing colons and then remove the whole line if VPATH becomes empty
41433 # (actually we leave an empty line to preserve line numbers).
41434 if test "x$srcdir" = x.; then
41435 ac_vpsub='/^[ ]*VPATH[ ]*=/{
41436 s/:*\$(srcdir):*/:/;
41437 s/:*\${srcdir}:*/:/;
41438 s/:*@srcdir@:*/:/;
41439 s/^\([^=]*=[ ]*\):*/\1/;
41440 s/:*$//;
41441 s/^[^=]*=[ ]*$//;
41442 }'
41443 fi
41444
41445 DEFS=-DHAVE_CONFIG_H
41446
41447 ac_libobjs=
41448 ac_ltlibobjs=
41449 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
41450 # 1. Remove the extension, and $U if already installed.
41451 ac_i=`echo "$ac_i" |
41452 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
41453 # 2. Add them.
41454 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
41455 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
41456 done
41457 LIBOBJS=$ac_libobjs
41458
41459 LTLIBOBJS=$ac_ltlibobjs
41460
41461
41462
41463 : ${CONFIG_STATUS=./config.status}
41464 ac_clean_files_save=$ac_clean_files
41465 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
41466 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
41467 echo "$as_me: creating $CONFIG_STATUS" >&6;}
41468 cat >$CONFIG_STATUS <<_ACEOF
41469 #! $SHELL
41470 # Generated by $as_me.
41471 # Run this file to recreate the current configuration.
41472 # Compiler output produced by configure, useful for debugging
41473 # configure, is in config.log if it exists.
41474
41475 debug=false
41476 ac_cs_recheck=false
41477 ac_cs_silent=false
41478 SHELL=\${CONFIG_SHELL-$SHELL}
41479 _ACEOF
41480
41481 cat >>$CONFIG_STATUS <<\_ACEOF
41482 ## --------------------- ##
41483 ## M4sh Initialization. ##
41484 ## --------------------- ##
41485
41486 # Be Bourne compatible
41487 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
41488 emulate sh
41489 NULLCMD=:
41490 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
41491 # is contrary to our usage. Disable this feature.
41492 alias -g '${1+"$@"}'='"$@"'
41493 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
41494 set -o posix
41495 fi
41496 DUALCASE=1; export DUALCASE # for MKS sh
41497
41498 # Support unset when possible.
41499 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
41500 as_unset=unset
41501 else
41502 as_unset=false
41503 fi
41504
41505
41506 # Work around bugs in pre-3.0 UWIN ksh.
41507 $as_unset ENV MAIL MAILPATH
41508 PS1='$ '
41509 PS2='> '
41510 PS4='+ '
41511
41512 # NLS nuisances.
41513 for as_var in \
41514 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41515 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
41516 LC_TELEPHONE LC_TIME
41517 do
41518 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
41519 eval $as_var=C; export $as_var
41520 else
41521 $as_unset $as_var
41522 fi
41523 done
41524
41525 # Required to use basename.
41526 if expr a : '\(a\)' >/dev/null 2>&1; then
41527 as_expr=expr
41528 else
41529 as_expr=false
41530 fi
41531
41532 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
41533 as_basename=basename
41534 else
41535 as_basename=false
41536 fi
41537
41538
41539 # Name of the executable.
41540 as_me=`$as_basename "$0" ||
41541 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41542 X"$0" : 'X\(//\)$' \| \
41543 X"$0" : 'X\(/\)$' \| \
41544 . : '\(.\)' 2>/dev/null ||
41545 echo X/"$0" |
41546 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
41547 /^X\/\(\/\/\)$/{ s//\1/; q; }
41548 /^X\/\(\/\).*/{ s//\1/; q; }
41549 s/.*/./; q'`
41550
41551
41552 # PATH needs CR, and LINENO needs CR and PATH.
41553 # Avoid depending upon Character Ranges.
41554 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
41555 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41556 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
41557 as_cr_digits='0123456789'
41558 as_cr_alnum=$as_cr_Letters$as_cr_digits
41559
41560 # The user is always right.
41561 if test "${PATH_SEPARATOR+set}" != set; then
41562 echo "#! /bin/sh" >conf$$.sh
41563 echo "exit 0" >>conf$$.sh
41564 chmod +x conf$$.sh
41565 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
41566 PATH_SEPARATOR=';'
41567 else
41568 PATH_SEPARATOR=:
41569 fi
41570 rm -f conf$$.sh
41571 fi
41572
41573
41574 as_lineno_1=$LINENO
41575 as_lineno_2=$LINENO
41576 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
41577 test "x$as_lineno_1" != "x$as_lineno_2" &&
41578 test "x$as_lineno_3" = "x$as_lineno_2" || {
41579 # Find who we are. Look in the path if we contain no path at all
41580 # relative or not.
41581 case $0 in
41582 *[\\/]* ) as_myself=$0 ;;
41583 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41584 for as_dir in $PATH
41585 do
41586 IFS=$as_save_IFS
41587 test -z "$as_dir" && as_dir=.
41588 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
41589 done
41590
41591 ;;
41592 esac
41593 # We did not find ourselves, most probably we were run as `sh COMMAND'
41594 # in which case we are not to be found in the path.
41595 if test "x$as_myself" = x; then
41596 as_myself=$0
41597 fi
41598 if test ! -f "$as_myself"; then
41599 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
41600 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
41601 { (exit 1); exit 1; }; }
41602 fi
41603 case $CONFIG_SHELL in
41604 '')
41605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41606 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
41607 do
41608 IFS=$as_save_IFS
41609 test -z "$as_dir" && as_dir=.
41610 for as_base in sh bash ksh sh5; do
41611 case $as_dir in
41612 /*)
41613 if ("$as_dir/$as_base" -c '
41614 as_lineno_1=$LINENO
41615 as_lineno_2=$LINENO
41616 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
41617 test "x$as_lineno_1" != "x$as_lineno_2" &&
41618 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
41619 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
41620 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
41621 CONFIG_SHELL=$as_dir/$as_base
41622 export CONFIG_SHELL
41623 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
41624 fi;;
41625 esac
41626 done
41627 done
41628 ;;
41629 esac
41630
41631 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
41632 # uniformly replaced by the line number. The first 'sed' inserts a
41633 # line-number line before each line; the second 'sed' does the real
41634 # work. The second script uses 'N' to pair each line-number line
41635 # with the numbered line, and appends trailing '-' during
41636 # substitution so that $LINENO is not a special case at line end.
41637 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
41638 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
41639 sed '=' <$as_myself |
41640 sed '
41641 N
41642 s,$,-,
41643 : loop
41644 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
41645 t loop
41646 s,-$,,
41647 s,^['$as_cr_digits']*\n,,
41648 ' >$as_me.lineno &&
41649 chmod +x $as_me.lineno ||
41650 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
41651 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
41652 { (exit 1); exit 1; }; }
41653
41654 # Don't try to exec as it changes $[0], causing all sort of problems
41655 # (the dirname of $[0] is not the place where we might find the
41656 # original and so on. Autoconf is especially sensible to this).
41657 . ./$as_me.lineno
41658 # Exit status is that of the last command.
41659 exit
41660 }
41661
41662
41663 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
41664 *c*,-n*) ECHO_N= ECHO_C='
41665 ' ECHO_T=' ' ;;
41666 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
41667 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
41668 esac
41669
41670 if expr a : '\(a\)' >/dev/null 2>&1; then
41671 as_expr=expr
41672 else
41673 as_expr=false
41674 fi
41675
41676 rm -f conf$$ conf$$.exe conf$$.file
41677 echo >conf$$.file
41678 if ln -s conf$$.file conf$$ 2>/dev/null; then
41679 # We could just check for DJGPP; but this test a) works b) is more generic
41680 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
41681 if test -f conf$$.exe; then
41682 # Don't use ln at all; we don't have any links
41683 as_ln_s='cp -p'
41684 else
41685 as_ln_s='ln -s'
41686 fi
41687 elif ln conf$$.file conf$$ 2>/dev/null; then
41688 as_ln_s=ln
41689 else
41690 as_ln_s='cp -p'
41691 fi
41692 rm -f conf$$ conf$$.exe conf$$.file
41693
41694 if mkdir -p . 2>/dev/null; then
41695 as_mkdir_p=:
41696 else
41697 test -d ./-p && rmdir ./-p
41698 as_mkdir_p=false
41699 fi
41700
41701 as_executable_p="test -f"
41702
41703 # Sed expression to map a string onto a valid CPP name.
41704 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
41705
41706 # Sed expression to map a string onto a valid variable name.
41707 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
41708
41709
41710 # IFS
41711 # We need space, tab and new line, in precisely that order.
41712 as_nl='
41713 '
41714 IFS=" $as_nl"
41715
41716 # CDPATH.
41717 $as_unset CDPATH
41718
41719 exec 6>&1
41720
41721 # Open the log real soon, to keep \$[0] and so on meaningful, and to
41722 # report actual input values of CONFIG_FILES etc. instead of their
41723 # values after options handling. Logging --version etc. is OK.
41724 exec 5>>config.log
41725 {
41726 echo
41727 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
41728 ## Running $as_me. ##
41729 _ASBOX
41730 } >&5
41731 cat >&5 <<_CSEOF
41732
41733 This file was extended by wxWidgets $as_me 2.5.3, which was
41734 generated by GNU Autoconf 2.59. Invocation command line was
41735
41736 CONFIG_FILES = $CONFIG_FILES
41737 CONFIG_HEADERS = $CONFIG_HEADERS
41738 CONFIG_LINKS = $CONFIG_LINKS
41739 CONFIG_COMMANDS = $CONFIG_COMMANDS
41740 $ $0 $@
41741
41742 _CSEOF
41743 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
41744 echo >&5
41745 _ACEOF
41746
41747 # Files that config.status was made for.
41748 if test -n "$ac_config_files"; then
41749 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
41750 fi
41751
41752 if test -n "$ac_config_headers"; then
41753 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
41754 fi
41755
41756 if test -n "$ac_config_links"; then
41757 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
41758 fi
41759
41760 if test -n "$ac_config_commands"; then
41761 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
41762 fi
41763
41764 cat >>$CONFIG_STATUS <<\_ACEOF
41765
41766 ac_cs_usage="\
41767 \`$as_me' instantiates files from templates according to the
41768 current configuration.
41769
41770 Usage: $0 [OPTIONS] [FILE]...
41771
41772 -h, --help print this help, then exit
41773 -V, --version print version number, then exit
41774 -q, --quiet do not print progress messages
41775 -d, --debug don't remove temporary files
41776 --recheck update $as_me by reconfiguring in the same conditions
41777 --file=FILE[:TEMPLATE]
41778 instantiate the configuration file FILE
41779 --header=FILE[:TEMPLATE]
41780 instantiate the configuration header FILE
41781
41782 Configuration files:
41783 $config_files
41784
41785 Configuration headers:
41786 $config_headers
41787
41788 Configuration commands:
41789 $config_commands
41790
41791 Report bugs to <bug-autoconf@gnu.org>."
41792 _ACEOF
41793
41794 cat >>$CONFIG_STATUS <<_ACEOF
41795 ac_cs_version="\\
41796 wxWidgets config.status 2.5.3
41797 configured by $0, generated by GNU Autoconf 2.59,
41798 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
41799
41800 Copyright (C) 2003 Free Software Foundation, Inc.
41801 This config.status script is free software; the Free Software Foundation
41802 gives unlimited permission to copy, distribute and modify it."
41803 srcdir=$srcdir
41804 INSTALL="$INSTALL"
41805 _ACEOF
41806
41807 cat >>$CONFIG_STATUS <<\_ACEOF
41808 # If no file are specified by the user, then we need to provide default
41809 # value. By we need to know if files were specified by the user.
41810 ac_need_defaults=:
41811 while test $# != 0
41812 do
41813 case $1 in
41814 --*=*)
41815 ac_option=`expr "x$1" : 'x\([^=]*\)='`
41816 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
41817 ac_shift=:
41818 ;;
41819 -*)
41820 ac_option=$1
41821 ac_optarg=$2
41822 ac_shift=shift
41823 ;;
41824 *) # This is not an option, so the user has probably given explicit
41825 # arguments.
41826 ac_option=$1
41827 ac_need_defaults=false;;
41828 esac
41829
41830 case $ac_option in
41831 # Handling of the options.
41832 _ACEOF
41833 cat >>$CONFIG_STATUS <<\_ACEOF
41834 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
41835 ac_cs_recheck=: ;;
41836 --version | --vers* | -V )
41837 echo "$ac_cs_version"; exit 0 ;;
41838 --he | --h)
41839 # Conflict between --help and --header
41840 { { echo "$as_me:$LINENO: error: ambiguous option: $1
41841 Try \`$0 --help' for more information." >&5
41842 echo "$as_me: error: ambiguous option: $1
41843 Try \`$0 --help' for more information." >&2;}
41844 { (exit 1); exit 1; }; };;
41845 --help | --hel | -h )
41846 echo "$ac_cs_usage"; exit 0 ;;
41847 --debug | --d* | -d )
41848 debug=: ;;
41849 --file | --fil | --fi | --f )
41850 $ac_shift
41851 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
41852 ac_need_defaults=false;;
41853 --header | --heade | --head | --hea )
41854 $ac_shift
41855 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
41856 ac_need_defaults=false;;
41857 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
41858 | -silent | --silent | --silen | --sile | --sil | --si | --s)
41859 ac_cs_silent=: ;;
41860
41861 # This is an error.
41862 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
41863 Try \`$0 --help' for more information." >&5
41864 echo "$as_me: error: unrecognized option: $1
41865 Try \`$0 --help' for more information." >&2;}
41866 { (exit 1); exit 1; }; } ;;
41867
41868 *) ac_config_targets="$ac_config_targets $1" ;;
41869
41870 esac
41871 shift
41872 done
41873
41874 ac_configure_extra_args=
41875
41876 if $ac_cs_silent; then
41877 exec 6>/dev/null
41878 ac_configure_extra_args="$ac_configure_extra_args --silent"
41879 fi
41880
41881 _ACEOF
41882 cat >>$CONFIG_STATUS <<_ACEOF
41883 if \$ac_cs_recheck; then
41884 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
41885 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
41886 fi
41887
41888 _ACEOF
41889
41890 cat >>$CONFIG_STATUS <<_ACEOF
41891 #
41892 # INIT-COMMANDS section.
41893 #
41894
41895 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41896 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41897 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41898 LN_S="${LN_S}"
41899
41900
41901 _ACEOF
41902
41903
41904
41905 cat >>$CONFIG_STATUS <<\_ACEOF
41906 for ac_config_target in $ac_config_targets
41907 do
41908 case "$ac_config_target" in
41909 # Handling of arguments.
41910 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
41911 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
41912 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
41913 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
41914 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
41915 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
41916 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
41917 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
41918 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
41919 { (exit 1); exit 1; }; };;
41920 esac
41921 done
41922
41923 # If the user did not use the arguments to specify the items to instantiate,
41924 # then the envvar interface is used. Set only those that are not.
41925 # We use the long form for the default assignment because of an extremely
41926 # bizarre bug on SunOS 4.1.3.
41927 if $ac_need_defaults; then
41928 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
41929 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
41930 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
41931 fi
41932
41933 # Have a temporary directory for convenience. Make it in the build tree
41934 # simply because there is no reason to put it here, and in addition,
41935 # creating and moving files from /tmp can sometimes cause problems.
41936 # Create a temporary directory, and hook for its removal unless debugging.
41937 $debug ||
41938 {
41939 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
41940 trap '{ (exit 1); exit 1; }' 1 2 13 15
41941 }
41942
41943 # Create a (secure) tmp directory for tmp files.
41944
41945 {
41946 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
41947 test -n "$tmp" && test -d "$tmp"
41948 } ||
41949 {
41950 tmp=./confstat$$-$RANDOM
41951 (umask 077 && mkdir $tmp)
41952 } ||
41953 {
41954 echo "$me: cannot create a temporary directory in ." >&2
41955 { (exit 1); exit 1; }
41956 }
41957
41958 _ACEOF
41959
41960 cat >>$CONFIG_STATUS <<_ACEOF
41961
41962 #
41963 # CONFIG_FILES section.
41964 #
41965
41966 # No need to generate the scripts if there are no CONFIG_FILES.
41967 # This happens for instance when ./config.status config.h
41968 if test -n "\$CONFIG_FILES"; then
41969 # Protect against being on the right side of a sed subst in config.status.
41970 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
41971 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
41972 s,@SHELL@,$SHELL,;t t
41973 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
41974 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
41975 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
41976 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
41977 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
41978 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
41979 s,@exec_prefix@,$exec_prefix,;t t
41980 s,@prefix@,$prefix,;t t
41981 s,@program_transform_name@,$program_transform_name,;t t
41982 s,@bindir@,$bindir,;t t
41983 s,@sbindir@,$sbindir,;t t
41984 s,@libexecdir@,$libexecdir,;t t
41985 s,@datadir@,$datadir,;t t
41986 s,@sysconfdir@,$sysconfdir,;t t
41987 s,@sharedstatedir@,$sharedstatedir,;t t
41988 s,@localstatedir@,$localstatedir,;t t
41989 s,@libdir@,$libdir,;t t
41990 s,@includedir@,$includedir,;t t
41991 s,@oldincludedir@,$oldincludedir,;t t
41992 s,@infodir@,$infodir,;t t
41993 s,@mandir@,$mandir,;t t
41994 s,@build_alias@,$build_alias,;t t
41995 s,@host_alias@,$host_alias,;t t
41996 s,@target_alias@,$target_alias,;t t
41997 s,@DEFS@,$DEFS,;t t
41998 s,@ECHO_C@,$ECHO_C,;t t
41999 s,@ECHO_N@,$ECHO_N,;t t
42000 s,@ECHO_T@,$ECHO_T,;t t
42001 s,@LIBS@,$LIBS,;t t
42002 s,@build@,$build,;t t
42003 s,@build_cpu@,$build_cpu,;t t
42004 s,@build_vendor@,$build_vendor,;t t
42005 s,@build_os@,$build_os,;t t
42006 s,@host@,$host,;t t
42007 s,@host_cpu@,$host_cpu,;t t
42008 s,@host_vendor@,$host_vendor,;t t
42009 s,@host_os@,$host_os,;t t
42010 s,@target@,$target,;t t
42011 s,@target_cpu@,$target_cpu,;t t
42012 s,@target_vendor@,$target_vendor,;t t
42013 s,@target_os@,$target_os,;t t
42014 s,@CC@,$CC,;t t
42015 s,@CFLAGS@,$CFLAGS,;t t
42016 s,@LDFLAGS@,$LDFLAGS,;t t
42017 s,@CPPFLAGS@,$CPPFLAGS,;t t
42018 s,@ac_ct_CC@,$ac_ct_CC,;t t
42019 s,@EXEEXT@,$EXEEXT,;t t
42020 s,@OBJEXT@,$OBJEXT,;t t
42021 s,@CPP@,$CPP,;t t
42022 s,@EGREP@,$EGREP,;t t
42023 s,@CXX@,$CXX,;t t
42024 s,@CXXFLAGS@,$CXXFLAGS,;t t
42025 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
42026 s,@RANLIB@,$RANLIB,;t t
42027 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
42028 s,@AR@,$AR,;t t
42029 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
42030 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
42031 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
42032 s,@STRIP@,$STRIP,;t t
42033 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
42034 s,@LN_S@,$LN_S,;t t
42035 s,@CXXCPP@,$CXXCPP,;t t
42036 s,@subdirs@,$subdirs,;t t
42037 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
42038 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
42039 s,@GTK_LIBS@,$GTK_LIBS,;t t
42040 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
42041 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
42042 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
42043 s,@X_CFLAGS@,$X_CFLAGS,;t t
42044 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
42045 s,@X_LIBS@,$X_LIBS,;t t
42046 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
42047 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
42048 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
42049 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
42050 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
42051 s,@RESCOMP@,$RESCOMP,;t t
42052 s,@DEREZ@,$DEREZ,;t t
42053 s,@SETFILE@,$SETFILE,;t t
42054 s,@LIBICONV@,$LIBICONV,;t t
42055 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
42056 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
42057 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
42058 s,@SDL_LIBS@,$SDL_LIBS,;t t
42059 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
42060 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
42061 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
42062 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
42063 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
42064 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
42065 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
42066 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
42067 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
42068 s,@VENDOR@,$VENDOR,;t t
42069 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
42070 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
42071 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
42072 s,@WXUNIV@,$WXUNIV,;t t
42073 s,@MONOLITHIC@,$MONOLITHIC,;t t
42074 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
42075 s,@EXTRALIBS@,$EXTRALIBS,;t t
42076 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
42077 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
42078 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
42079 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
42080 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
42081 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
42082 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
42083 s,@UNICODE@,$UNICODE,;t t
42084 s,@BUILD@,$BUILD,;t t
42085 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
42086 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
42087 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
42088 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
42089 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
42090 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
42091 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
42092 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
42093 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
42094 s,@SET_MAKE@,$SET_MAKE,;t t
42095 s,@MAKE_SET@,$MAKE_SET,;t t
42096 s,@ac_ct_AR@,$ac_ct_AR,;t t
42097 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
42098 s,@NM@,$NM,;t t
42099 s,@ac_ct_NM@,$ac_ct_NM,;t t
42100 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
42101 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
42102 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
42103 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
42104 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
42105 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
42106 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
42107 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
42108 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
42109 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
42110 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
42111 s,@LIBPREFIX@,$LIBPREFIX,;t t
42112 s,@LIBEXT@,$LIBEXT,;t t
42113 s,@DLLPREFIX@,$DLLPREFIX,;t t
42114 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
42115 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
42116 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
42117 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
42118 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
42119 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
42120 s,@PIC_FLAG@,$PIC_FLAG,;t t
42121 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
42122 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
42123 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
42124 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
42125 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
42126 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
42127 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
42128 s,@GCC_PCH@,$GCC_PCH,;t t
42129 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
42130 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
42131 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
42132 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
42133 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
42134 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
42135 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
42136 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
42137 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
42138 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
42139 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
42140 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
42141 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
42142 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
42143 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
42144 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
42145 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
42146 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
42147 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
42148 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
42149 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
42150 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
42151 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
42152 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
42153 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
42154 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
42155 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
42156 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
42157 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
42158 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
42159 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
42160 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
42161 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
42162 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
42163 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
42164 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
42165 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
42166 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
42167 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
42168 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
42169 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
42170 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
42171 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
42172 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
42173 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
42174 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
42175 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
42176 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
42177 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
42178 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
42179 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
42180 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
42181 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
42182 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
42183 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
42184 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
42185 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
42186 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42187 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42188 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42189 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
42190 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
42191 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
42192 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
42193 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
42194 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
42195 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
42196 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
42197 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
42198 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
42199 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
42200 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
42201 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
42202 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
42203 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
42204 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
42205 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
42206 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
42207 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
42208 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
42209 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
42210 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
42211 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
42212 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
42213 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
42214 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
42215 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
42216 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
42217 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
42218 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
42219 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
42220 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
42221 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
42222 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
42223 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
42224 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
42225 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
42226 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
42227 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
42228 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42229 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42230 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42231 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
42232 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
42233 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
42234 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
42235 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
42236 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
42237 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
42238 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
42239 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
42240 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
42241 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
42242 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
42243 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
42244 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
42245 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
42246 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
42247 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
42248 s,@COND_TOOLKIT_MAC_WXUNIV_0@,$COND_TOOLKIT_MAC_WXUNIV_0,;t t
42249 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
42250 s,@COND_TOOLKIT_PM_WXUNIV_0@,$COND_TOOLKIT_PM_WXUNIV_0,;t t
42251 s,@SHARED@,$SHARED,;t t
42252 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
42253 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
42254 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
42255 s,@USE_GUI@,$USE_GUI,;t t
42256 s,@AFMINSTALL@,$AFMINSTALL,;t t
42257 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
42258 s,@TOOLKIT@,$TOOLKIT,;t t
42259 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
42260 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
42261 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
42262 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
42263 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
42264 s,@cross_compiling@,$cross_compiling,;t t
42265 s,@WIDGET_SET@,$WIDGET_SET,;t t
42266 s,@WX_RELEASE@,$WX_RELEASE,;t t
42267 s,@WX_VERSION@,$WX_VERSION,;t t
42268 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
42269 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
42270 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
42271 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
42272 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
42273 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
42274 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
42275 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
42276 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
42277 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
42278 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
42279 s,@EXE_LINKER@,$EXE_LINKER,;t t
42280 s,@GUIDIST@,$GUIDIST,;t t
42281 s,@DISTDIR@,$DISTDIR,;t t
42282 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
42283 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
42284 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
42285 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
42286 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
42287 s,@RESFLAGS@,$RESFLAGS,;t t
42288 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
42289 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
42290 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
42291 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
42292 s,@MACRESCOMP@,$MACRESCOMP,;t t
42293 s,@MACSETFILE@,$MACSETFILE,;t t
42294 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
42295 s,@GCC@,$GCC,;t t
42296 s,@DLLTOOL@,$DLLTOOL,;t t
42297 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
42298 s,@LIBOBJS@,$LIBOBJS,;t t
42299 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
42300 CEOF
42301
42302 _ACEOF
42303
42304 cat >>$CONFIG_STATUS <<\_ACEOF
42305 # Split the substitutions into bite-sized pieces for seds with
42306 # small command number limits, like on Digital OSF/1 and HP-UX.
42307 ac_max_sed_lines=48
42308 ac_sed_frag=1 # Number of current file.
42309 ac_beg=1 # First line for current file.
42310 ac_end=$ac_max_sed_lines # Line after last line for current file.
42311 ac_more_lines=:
42312 ac_sed_cmds=
42313 while $ac_more_lines; do
42314 if test $ac_beg -gt 1; then
42315 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
42316 else
42317 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
42318 fi
42319 if test ! -s $tmp/subs.frag; then
42320 ac_more_lines=false
42321 else
42322 # The purpose of the label and of the branching condition is to
42323 # speed up the sed processing (if there are no `@' at all, there
42324 # is no need to browse any of the substitutions).
42325 # These are the two extra sed commands mentioned above.
42326 (echo ':t
42327 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
42328 if test -z "$ac_sed_cmds"; then
42329 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
42330 else
42331 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
42332 fi
42333 ac_sed_frag=`expr $ac_sed_frag + 1`
42334 ac_beg=$ac_end
42335 ac_end=`expr $ac_end + $ac_max_sed_lines`
42336 fi
42337 done
42338 if test -z "$ac_sed_cmds"; then
42339 ac_sed_cmds=cat
42340 fi
42341 fi # test -n "$CONFIG_FILES"
42342
42343 _ACEOF
42344 cat >>$CONFIG_STATUS <<\_ACEOF
42345 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
42346 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42347 case $ac_file in
42348 - | *:- | *:-:* ) # input from stdin
42349 cat >$tmp/stdin
42350 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
42351 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
42352 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
42353 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
42354 * ) ac_file_in=$ac_file.in ;;
42355 esac
42356
42357 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
42358 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
42359 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42360 X"$ac_file" : 'X\(//\)[^/]' \| \
42361 X"$ac_file" : 'X\(//\)$' \| \
42362 X"$ac_file" : 'X\(/\)' \| \
42363 . : '\(.\)' 2>/dev/null ||
42364 echo X"$ac_file" |
42365 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42366 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42367 /^X\(\/\/\)$/{ s//\1/; q; }
42368 /^X\(\/\).*/{ s//\1/; q; }
42369 s/.*/./; q'`
42370 { if $as_mkdir_p; then
42371 mkdir -p "$ac_dir"
42372 else
42373 as_dir="$ac_dir"
42374 as_dirs=
42375 while test ! -d "$as_dir"; do
42376 as_dirs="$as_dir $as_dirs"
42377 as_dir=`(dirname "$as_dir") 2>/dev/null ||
42378 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42379 X"$as_dir" : 'X\(//\)[^/]' \| \
42380 X"$as_dir" : 'X\(//\)$' \| \
42381 X"$as_dir" : 'X\(/\)' \| \
42382 . : '\(.\)' 2>/dev/null ||
42383 echo X"$as_dir" |
42384 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42385 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42386 /^X\(\/\/\)$/{ s//\1/; q; }
42387 /^X\(\/\).*/{ s//\1/; q; }
42388 s/.*/./; q'`
42389 done
42390 test ! -n "$as_dirs" || mkdir $as_dirs
42391 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42392 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42393 { (exit 1); exit 1; }; }; }
42394
42395 ac_builddir=.
42396
42397 if test "$ac_dir" != .; then
42398 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42399 # A "../" for each directory in $ac_dir_suffix.
42400 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42401 else
42402 ac_dir_suffix= ac_top_builddir=
42403 fi
42404
42405 case $srcdir in
42406 .) # No --srcdir option. We are building in place.
42407 ac_srcdir=.
42408 if test -z "$ac_top_builddir"; then
42409 ac_top_srcdir=.
42410 else
42411 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
42412 fi ;;
42413 [\\/]* | ?:[\\/]* ) # Absolute path.
42414 ac_srcdir=$srcdir$ac_dir_suffix;
42415 ac_top_srcdir=$srcdir ;;
42416 *) # Relative path.
42417 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
42418 ac_top_srcdir=$ac_top_builddir$srcdir ;;
42419 esac
42420
42421 # Do not use `cd foo && pwd` to compute absolute paths, because
42422 # the directories may not exist.
42423 case `pwd` in
42424 .) ac_abs_builddir="$ac_dir";;
42425 *)
42426 case "$ac_dir" in
42427 .) ac_abs_builddir=`pwd`;;
42428 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
42429 *) ac_abs_builddir=`pwd`/"$ac_dir";;
42430 esac;;
42431 esac
42432 case $ac_abs_builddir in
42433 .) ac_abs_top_builddir=${ac_top_builddir}.;;
42434 *)
42435 case ${ac_top_builddir}. in
42436 .) ac_abs_top_builddir=$ac_abs_builddir;;
42437 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
42438 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
42439 esac;;
42440 esac
42441 case $ac_abs_builddir in
42442 .) ac_abs_srcdir=$ac_srcdir;;
42443 *)
42444 case $ac_srcdir in
42445 .) ac_abs_srcdir=$ac_abs_builddir;;
42446 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
42447 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
42448 esac;;
42449 esac
42450 case $ac_abs_builddir in
42451 .) ac_abs_top_srcdir=$ac_top_srcdir;;
42452 *)
42453 case $ac_top_srcdir in
42454 .) ac_abs_top_srcdir=$ac_abs_builddir;;
42455 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
42456 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
42457 esac;;
42458 esac
42459
42460
42461 case $INSTALL in
42462 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
42463 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
42464 esac
42465
42466 # Let's still pretend it is `configure' which instantiates (i.e., don't
42467 # use $as_me), people would be surprised to read:
42468 # /* config.h. Generated by config.status. */
42469 if test x"$ac_file" = x-; then
42470 configure_input=
42471 else
42472 configure_input="$ac_file. "
42473 fi
42474 configure_input=$configure_input"Generated from `echo $ac_file_in |
42475 sed 's,.*/,,'` by configure."
42476
42477 # First look for the input files in the build tree, otherwise in the
42478 # src tree.
42479 ac_file_inputs=`IFS=:
42480 for f in $ac_file_in; do
42481 case $f in
42482 -) echo $tmp/stdin ;;
42483 [\\/$]*)
42484 # Absolute (can't be DOS-style, as IFS=:)
42485 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42486 echo "$as_me: error: cannot find input file: $f" >&2;}
42487 { (exit 1); exit 1; }; }
42488 echo "$f";;
42489 *) # Relative
42490 if test -f "$f"; then
42491 # Build tree
42492 echo "$f"
42493 elif test -f "$srcdir/$f"; then
42494 # Source tree
42495 echo "$srcdir/$f"
42496 else
42497 # /dev/null tree
42498 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42499 echo "$as_me: error: cannot find input file: $f" >&2;}
42500 { (exit 1); exit 1; }; }
42501 fi;;
42502 esac
42503 done` || { (exit 1); exit 1; }
42504
42505 if test x"$ac_file" != x-; then
42506 { echo "$as_me:$LINENO: creating $ac_file" >&5
42507 echo "$as_me: creating $ac_file" >&6;}
42508 rm -f "$ac_file"
42509 fi
42510 _ACEOF
42511 cat >>$CONFIG_STATUS <<_ACEOF
42512 sed "$ac_vpsub
42513 $extrasub
42514 _ACEOF
42515 cat >>$CONFIG_STATUS <<\_ACEOF
42516 :t
42517 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
42518 s,@configure_input@,$configure_input,;t t
42519 s,@srcdir@,$ac_srcdir,;t t
42520 s,@abs_srcdir@,$ac_abs_srcdir,;t t
42521 s,@top_srcdir@,$ac_top_srcdir,;t t
42522 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
42523 s,@builddir@,$ac_builddir,;t t
42524 s,@abs_builddir@,$ac_abs_builddir,;t t
42525 s,@top_builddir@,$ac_top_builddir,;t t
42526 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
42527 s,@INSTALL@,$ac_INSTALL,;t t
42528 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
42529 rm -f $tmp/stdin
42530 if test x"$ac_file" != x-; then
42531 mv $tmp/out $ac_file
42532 else
42533 cat $tmp/out
42534 rm -f $tmp/out
42535 fi
42536
42537 # Run the commands associated with the file.
42538 case $ac_file in
42539 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
42540 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
42541 esac
42542 done
42543 _ACEOF
42544 cat >>$CONFIG_STATUS <<\_ACEOF
42545
42546 #
42547 # CONFIG_HEADER section.
42548 #
42549
42550 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
42551 # NAME is the cpp macro being defined and VALUE is the value it is being given.
42552 #
42553 # ac_d sets the value in "#define NAME VALUE" lines.
42554 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
42555 ac_dB='[ ].*$,\1#\2'
42556 ac_dC=' '
42557 ac_dD=',;t'
42558 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
42559 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
42560 ac_uB='$,\1#\2define\3'
42561 ac_uC=' '
42562 ac_uD=',;t'
42563
42564 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
42565 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42566 case $ac_file in
42567 - | *:- | *:-:* ) # input from stdin
42568 cat >$tmp/stdin
42569 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
42570 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
42571 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
42572 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
42573 * ) ac_file_in=$ac_file.in ;;
42574 esac
42575
42576 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
42577 echo "$as_me: creating $ac_file" >&6;}
42578
42579 # First look for the input files in the build tree, otherwise in the
42580 # src tree.
42581 ac_file_inputs=`IFS=:
42582 for f in $ac_file_in; do
42583 case $f in
42584 -) echo $tmp/stdin ;;
42585 [\\/$]*)
42586 # Absolute (can't be DOS-style, as IFS=:)
42587 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42588 echo "$as_me: error: cannot find input file: $f" >&2;}
42589 { (exit 1); exit 1; }; }
42590 # Do quote $f, to prevent DOS paths from being IFS'd.
42591 echo "$f";;
42592 *) # Relative
42593 if test -f "$f"; then
42594 # Build tree
42595 echo "$f"
42596 elif test -f "$srcdir/$f"; then
42597 # Source tree
42598 echo "$srcdir/$f"
42599 else
42600 # /dev/null tree
42601 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42602 echo "$as_me: error: cannot find input file: $f" >&2;}
42603 { (exit 1); exit 1; }; }
42604 fi;;
42605 esac
42606 done` || { (exit 1); exit 1; }
42607 # Remove the trailing spaces.
42608 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
42609
42610 _ACEOF
42611
42612 # Transform confdefs.h into two sed scripts, `conftest.defines' and
42613 # `conftest.undefs', that substitutes the proper values into
42614 # config.h.in to produce config.h. The first handles `#define'
42615 # templates, and the second `#undef' templates.
42616 # And first: Protect against being on the right side of a sed subst in
42617 # config.status. Protect against being in an unquoted here document
42618 # in config.status.
42619 rm -f conftest.defines conftest.undefs
42620 # Using a here document instead of a string reduces the quoting nightmare.
42621 # Putting comments in sed scripts is not portable.
42622 #
42623 # `end' is used to avoid that the second main sed command (meant for
42624 # 0-ary CPP macros) applies to n-ary macro definitions.
42625 # See the Autoconf documentation for `clear'.
42626 cat >confdef2sed.sed <<\_ACEOF
42627 s/[\\&,]/\\&/g
42628 s,[\\$`],\\&,g
42629 t clear
42630 : clear
42631 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
42632 t end
42633 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
42634 : end
42635 _ACEOF
42636 # If some macros were called several times there might be several times
42637 # the same #defines, which is useless. Nevertheless, we may not want to
42638 # sort them, since we want the *last* AC-DEFINE to be honored.
42639 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
42640 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
42641 rm -f confdef2sed.sed
42642
42643 # This sed command replaces #undef with comments. This is necessary, for
42644 # example, in the case of _POSIX_SOURCE, which is predefined and required
42645 # on some systems where configure will not decide to define it.
42646 cat >>conftest.undefs <<\_ACEOF
42647 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
42648 _ACEOF
42649
42650 # Break up conftest.defines because some shells have a limit on the size
42651 # of here documents, and old seds have small limits too (100 cmds).
42652 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
42653 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
42654 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
42655 echo ' :' >>$CONFIG_STATUS
42656 rm -f conftest.tail
42657 while grep . conftest.defines >/dev/null
42658 do
42659 # Write a limited-size here document to $tmp/defines.sed.
42660 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
42661 # Speed up: don't consider the non `#define' lines.
42662 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
42663 # Work around the forget-to-reset-the-flag bug.
42664 echo 't clr' >>$CONFIG_STATUS
42665 echo ': clr' >>$CONFIG_STATUS
42666 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
42667 echo 'CEOF
42668 sed -f $tmp/defines.sed $tmp/in >$tmp/out
42669 rm -f $tmp/in
42670 mv $tmp/out $tmp/in
42671 ' >>$CONFIG_STATUS
42672 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
42673 rm -f conftest.defines
42674 mv conftest.tail conftest.defines
42675 done
42676 rm -f conftest.defines
42677 echo ' fi # grep' >>$CONFIG_STATUS
42678 echo >>$CONFIG_STATUS
42679
42680 # Break up conftest.undefs because some shells have a limit on the size
42681 # of here documents, and old seds have small limits too (100 cmds).
42682 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
42683 rm -f conftest.tail
42684 while grep . conftest.undefs >/dev/null
42685 do
42686 # Write a limited-size here document to $tmp/undefs.sed.
42687 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
42688 # Speed up: don't consider the non `#undef'
42689 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
42690 # Work around the forget-to-reset-the-flag bug.
42691 echo 't clr' >>$CONFIG_STATUS
42692 echo ': clr' >>$CONFIG_STATUS
42693 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
42694 echo 'CEOF
42695 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
42696 rm -f $tmp/in
42697 mv $tmp/out $tmp/in
42698 ' >>$CONFIG_STATUS
42699 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
42700 rm -f conftest.undefs
42701 mv conftest.tail conftest.undefs
42702 done
42703 rm -f conftest.undefs
42704
42705 cat >>$CONFIG_STATUS <<\_ACEOF
42706 # Let's still pretend it is `configure' which instantiates (i.e., don't
42707 # use $as_me), people would be surprised to read:
42708 # /* config.h. Generated by config.status. */
42709 if test x"$ac_file" = x-; then
42710 echo "/* Generated by configure. */" >$tmp/config.h
42711 else
42712 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
42713 fi
42714 cat $tmp/in >>$tmp/config.h
42715 rm -f $tmp/in
42716 if test x"$ac_file" != x-; then
42717 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
42718 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
42719 echo "$as_me: $ac_file is unchanged" >&6;}
42720 else
42721 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
42722 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42723 X"$ac_file" : 'X\(//\)[^/]' \| \
42724 X"$ac_file" : 'X\(//\)$' \| \
42725 X"$ac_file" : 'X\(/\)' \| \
42726 . : '\(.\)' 2>/dev/null ||
42727 echo X"$ac_file" |
42728 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42729 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42730 /^X\(\/\/\)$/{ s//\1/; q; }
42731 /^X\(\/\).*/{ s//\1/; q; }
42732 s/.*/./; q'`
42733 { if $as_mkdir_p; then
42734 mkdir -p "$ac_dir"
42735 else
42736 as_dir="$ac_dir"
42737 as_dirs=
42738 while test ! -d "$as_dir"; do
42739 as_dirs="$as_dir $as_dirs"
42740 as_dir=`(dirname "$as_dir") 2>/dev/null ||
42741 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42742 X"$as_dir" : 'X\(//\)[^/]' \| \
42743 X"$as_dir" : 'X\(//\)$' \| \
42744 X"$as_dir" : 'X\(/\)' \| \
42745 . : '\(.\)' 2>/dev/null ||
42746 echo X"$as_dir" |
42747 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42748 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42749 /^X\(\/\/\)$/{ s//\1/; q; }
42750 /^X\(\/\).*/{ s//\1/; q; }
42751 s/.*/./; q'`
42752 done
42753 test ! -n "$as_dirs" || mkdir $as_dirs
42754 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42755 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42756 { (exit 1); exit 1; }; }; }
42757
42758 rm -f $ac_file
42759 mv $tmp/config.h $ac_file
42760 fi
42761 else
42762 cat $tmp/config.h
42763 rm -f $tmp/config.h
42764 fi
42765 done
42766 _ACEOF
42767 cat >>$CONFIG_STATUS <<\_ACEOF
42768
42769 #
42770 # CONFIG_COMMANDS section.
42771 #
42772 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
42773 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
42774 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
42775 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
42776 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42777 X"$ac_dest" : 'X\(//\)[^/]' \| \
42778 X"$ac_dest" : 'X\(//\)$' \| \
42779 X"$ac_dest" : 'X\(/\)' \| \
42780 . : '\(.\)' 2>/dev/null ||
42781 echo X"$ac_dest" |
42782 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42783 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42784 /^X\(\/\/\)$/{ s//\1/; q; }
42785 /^X\(\/\).*/{ s//\1/; q; }
42786 s/.*/./; q'`
42787 { if $as_mkdir_p; then
42788 mkdir -p "$ac_dir"
42789 else
42790 as_dir="$ac_dir"
42791 as_dirs=
42792 while test ! -d "$as_dir"; do
42793 as_dirs="$as_dir $as_dirs"
42794 as_dir=`(dirname "$as_dir") 2>/dev/null ||
42795 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42796 X"$as_dir" : 'X\(//\)[^/]' \| \
42797 X"$as_dir" : 'X\(//\)$' \| \
42798 X"$as_dir" : 'X\(/\)' \| \
42799 . : '\(.\)' 2>/dev/null ||
42800 echo X"$as_dir" |
42801 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42802 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42803 /^X\(\/\/\)$/{ s//\1/; q; }
42804 /^X\(\/\).*/{ s//\1/; q; }
42805 s/.*/./; q'`
42806 done
42807 test ! -n "$as_dirs" || mkdir $as_dirs
42808 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42809 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42810 { (exit 1); exit 1; }; }; }
42811
42812 ac_builddir=.
42813
42814 if test "$ac_dir" != .; then
42815 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42816 # A "../" for each directory in $ac_dir_suffix.
42817 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42818 else
42819 ac_dir_suffix= ac_top_builddir=
42820 fi
42821
42822 case $srcdir in
42823 .) # No --srcdir option. We are building in place.
42824 ac_srcdir=.
42825 if test -z "$ac_top_builddir"; then
42826 ac_top_srcdir=.
42827 else
42828 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
42829 fi ;;
42830 [\\/]* | ?:[\\/]* ) # Absolute path.
42831 ac_srcdir=$srcdir$ac_dir_suffix;
42832 ac_top_srcdir=$srcdir ;;
42833 *) # Relative path.
42834 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
42835 ac_top_srcdir=$ac_top_builddir$srcdir ;;
42836 esac
42837
42838 # Do not use `cd foo && pwd` to compute absolute paths, because
42839 # the directories may not exist.
42840 case `pwd` in
42841 .) ac_abs_builddir="$ac_dir";;
42842 *)
42843 case "$ac_dir" in
42844 .) ac_abs_builddir=`pwd`;;
42845 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
42846 *) ac_abs_builddir=`pwd`/"$ac_dir";;
42847 esac;;
42848 esac
42849 case $ac_abs_builddir in
42850 .) ac_abs_top_builddir=${ac_top_builddir}.;;
42851 *)
42852 case ${ac_top_builddir}. in
42853 .) ac_abs_top_builddir=$ac_abs_builddir;;
42854 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
42855 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
42856 esac;;
42857 esac
42858 case $ac_abs_builddir in
42859 .) ac_abs_srcdir=$ac_srcdir;;
42860 *)
42861 case $ac_srcdir in
42862 .) ac_abs_srcdir=$ac_abs_builddir;;
42863 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
42864 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
42865 esac;;
42866 esac
42867 case $ac_abs_builddir in
42868 .) ac_abs_top_srcdir=$ac_top_srcdir;;
42869 *)
42870 case $ac_top_srcdir in
42871 .) ac_abs_top_srcdir=$ac_abs_builddir;;
42872 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
42873 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
42874 esac;;
42875 esac
42876
42877
42878 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
42879 echo "$as_me: executing $ac_dest commands" >&6;}
42880 case $ac_dest in
42881 wx-config ) rm -f wx-config
42882 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
42883 ;;
42884 esac
42885 done
42886 _ACEOF
42887
42888 cat >>$CONFIG_STATUS <<\_ACEOF
42889
42890 { (exit 0); exit 0; }
42891 _ACEOF
42892 chmod +x $CONFIG_STATUS
42893 ac_clean_files=$ac_clean_files_save
42894
42895
42896 # configure is writing to config.log, and then calls config.status.
42897 # config.status does its own redirection, appending to config.log.
42898 # Unfortunately, on DOS this fails, as config.log is still kept open
42899 # by configure, so config.status won't be able to write to it; its
42900 # output is simply discarded. So we exec the FD to /dev/null,
42901 # effectively closing config.log, so it can be properly (re)opened and
42902 # appended to by config.status. When coming back to configure, we
42903 # need to make the FD available again.
42904 if test "$no_create" != yes; then
42905 ac_cs_success=:
42906 ac_config_status_args=
42907 test "$silent" = yes &&
42908 ac_config_status_args="$ac_config_status_args --quiet"
42909 exec 5>/dev/null
42910 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
42911 exec 5>>config.log
42912 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42913 # would make configure fail if this is the last instruction.
42914 $ac_cs_success || { (exit 1); exit 1; }
42915 fi
42916
42917 #
42918 # CONFIG_SUBDIRS section.
42919 #
42920 if test "$no_recursion" != yes; then
42921
42922 # Remove --cache-file and --srcdir arguments so they do not pile up.
42923 ac_sub_configure_args=
42924 ac_prev=
42925 for ac_arg in $ac_configure_args; do
42926 if test -n "$ac_prev"; then
42927 ac_prev=
42928 continue
42929 fi
42930 case $ac_arg in
42931 -cache-file | --cache-file | --cache-fil | --cache-fi \
42932 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42933 ac_prev=cache_file ;;
42934 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42935 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
42936 | --c=*)
42937 ;;
42938 --config-cache | -C)
42939 ;;
42940 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
42941 ac_prev=srcdir ;;
42942 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
42943 ;;
42944 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
42945 ac_prev=prefix ;;
42946 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
42947 ;;
42948 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
42949 esac
42950 done
42951
42952 # Always prepend --prefix to ensure using the same prefix
42953 # in subdir configurations.
42954 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
42955
42956 ac_popdir=`pwd`
42957 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
42958
42959 # Do not complain, so a configure script can configure whichever
42960 # parts of a large source tree are present.
42961 test -d $srcdir/$ac_dir || continue
42962
42963 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
42964 echo "$as_me: configuring in $ac_dir" >&6;}
42965 { if $as_mkdir_p; then
42966 mkdir -p "$ac_dir"
42967 else
42968 as_dir="$ac_dir"
42969 as_dirs=
42970 while test ! -d "$as_dir"; do
42971 as_dirs="$as_dir $as_dirs"
42972 as_dir=`(dirname "$as_dir") 2>/dev/null ||
42973 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42974 X"$as_dir" : 'X\(//\)[^/]' \| \
42975 X"$as_dir" : 'X\(//\)$' \| \
42976 X"$as_dir" : 'X\(/\)' \| \
42977 . : '\(.\)' 2>/dev/null ||
42978 echo X"$as_dir" |
42979 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42980 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42981 /^X\(\/\/\)$/{ s//\1/; q; }
42982 /^X\(\/\).*/{ s//\1/; q; }
42983 s/.*/./; q'`
42984 done
42985 test ! -n "$as_dirs" || mkdir $as_dirs
42986 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42987 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42988 { (exit 1); exit 1; }; }; }
42989
42990 ac_builddir=.
42991
42992 if test "$ac_dir" != .; then
42993 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42994 # A "../" for each directory in $ac_dir_suffix.
42995 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42996 else
42997 ac_dir_suffix= ac_top_builddir=
42998 fi
42999
43000 case $srcdir in
43001 .) # No --srcdir option. We are building in place.
43002 ac_srcdir=.
43003 if test -z "$ac_top_builddir"; then
43004 ac_top_srcdir=.
43005 else
43006 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
43007 fi ;;
43008 [\\/]* | ?:[\\/]* ) # Absolute path.
43009 ac_srcdir=$srcdir$ac_dir_suffix;
43010 ac_top_srcdir=$srcdir ;;
43011 *) # Relative path.
43012 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
43013 ac_top_srcdir=$ac_top_builddir$srcdir ;;
43014 esac
43015
43016 # Do not use `cd foo && pwd` to compute absolute paths, because
43017 # the directories may not exist.
43018 case `pwd` in
43019 .) ac_abs_builddir="$ac_dir";;
43020 *)
43021 case "$ac_dir" in
43022 .) ac_abs_builddir=`pwd`;;
43023 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
43024 *) ac_abs_builddir=`pwd`/"$ac_dir";;
43025 esac;;
43026 esac
43027 case $ac_abs_builddir in
43028 .) ac_abs_top_builddir=${ac_top_builddir}.;;
43029 *)
43030 case ${ac_top_builddir}. in
43031 .) ac_abs_top_builddir=$ac_abs_builddir;;
43032 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
43033 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
43034 esac;;
43035 esac
43036 case $ac_abs_builddir in
43037 .) ac_abs_srcdir=$ac_srcdir;;
43038 *)
43039 case $ac_srcdir in
43040 .) ac_abs_srcdir=$ac_abs_builddir;;
43041 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
43042 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
43043 esac;;
43044 esac
43045 case $ac_abs_builddir in
43046 .) ac_abs_top_srcdir=$ac_top_srcdir;;
43047 *)
43048 case $ac_top_srcdir in
43049 .) ac_abs_top_srcdir=$ac_abs_builddir;;
43050 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
43051 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
43052 esac;;
43053 esac
43054
43055
43056 cd $ac_dir
43057
43058 # Check for guested configure; otherwise get Cygnus style configure.
43059 if test -f $ac_srcdir/configure.gnu; then
43060 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
43061 elif test -f $ac_srcdir/configure; then
43062 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
43063 elif test -f $ac_srcdir/configure.in; then
43064 ac_sub_configure=$ac_configure
43065 else
43066 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
43067 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
43068 ac_sub_configure=
43069 fi
43070
43071 # The recursion is here.
43072 if test -n "$ac_sub_configure"; then
43073 # Make the cache file name correct relative to the subdirectory.
43074 case $cache_file in
43075 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
43076 *) # Relative path.
43077 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
43078 esac
43079
43080 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
43081 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
43082 # The eval makes quoting arguments work.
43083 eval $ac_sub_configure $ac_sub_configure_args \
43084 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
43085 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
43086 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
43087 { (exit 1); exit 1; }; }
43088 fi
43089
43090 cd "$ac_popdir"
43091 done
43092 fi
43093
43094
43095 echo
43096 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
43097 echo ""
43098 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
43099 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
43100
43101 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
43102 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
43103 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
43104
43105 echo " What level of wxWidgets compatibility should be enabled?"
43106 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
43107 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
43108
43109 echo " Which libraries should wxWidgets use?"
43110 echo " jpeg ${wxUSE_LIBJPEG-none}"
43111 echo " png ${wxUSE_LIBPNG-none}"
43112 echo " regex ${wxUSE_REGEX}"
43113 echo " tiff ${wxUSE_LIBTIFF-none}"
43114 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
43115 echo " xpm ${wxUSE_LIBXPM-none}"
43116 fi
43117 echo " zlib ${wxUSE_ZLIB}"
43118 echo " odbc ${wxUSE_ODBC}"
43119 echo " expat ${wxUSE_EXPAT}"
43120 echo " libmspack ${wxUSE_LIBMSPACK}"
43121 echo " sdl ${wxUSE_LIBSDL}"
43122
43123 echo ""
43124