]> git.saurik.com Git - wxWidgets.git/blob - configure
some setup.h changes for wxMovieCtrl
[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_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PLUGINS_0 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_XRC_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_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"
10864 || test ! -s conftest.err'
10865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10866 (eval $ac_try) 2>&5
10867 ac_status=$?
10868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10869 (exit $ac_status); }; } &&
10870 { ac_try='test -s conftest.$ac_objext'
10871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10872 (eval $ac_try) 2>&5
10873 ac_status=$?
10874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10875 (exit $ac_status); }; }; then
10876 ac_compiler_gnu=yes
10877 else
10878 echo "$as_me: failed program was:" >&5
10879 sed 's/^/| /' conftest.$ac_ext >&5
10880
10881 ac_compiler_gnu=no
10882 fi
10883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10884 ac_cv_c_compiler_gnu=$ac_compiler_gnu
10885
10886 fi
10887 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10888 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10889 GCC=`test $ac_compiler_gnu = yes && echo yes`
10890 ac_test_CFLAGS=${CFLAGS+set}
10891 ac_save_CFLAGS=$CFLAGS
10892 CFLAGS="-g"
10893 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10894 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10895 if test "${ac_cv_prog_cc_g+set}" = set; then
10896 echo $ECHO_N "(cached) $ECHO_C" >&6
10897 else
10898 cat >conftest.$ac_ext <<_ACEOF
10899 /* confdefs.h. */
10900 _ACEOF
10901 cat confdefs.h >>conftest.$ac_ext
10902 cat >>conftest.$ac_ext <<_ACEOF
10903 /* end confdefs.h. */
10904
10905 int
10906 main ()
10907 {
10908
10909 ;
10910 return 0;
10911 }
10912 _ACEOF
10913 rm -f conftest.$ac_objext
10914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10915 (eval $ac_compile) 2>conftest.er1
10916 ac_status=$?
10917 grep -v '^ *+' conftest.er1 >conftest.err
10918 rm -f conftest.er1
10919 cat conftest.err >&5
10920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10921 (exit $ac_status); } &&
10922 { ac_try='test -z "$ac_c_werror_flag"
10923 || test ! -s conftest.err'
10924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10925 (eval $ac_try) 2>&5
10926 ac_status=$?
10927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10928 (exit $ac_status); }; } &&
10929 { ac_try='test -s conftest.$ac_objext'
10930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10931 (eval $ac_try) 2>&5
10932 ac_status=$?
10933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10934 (exit $ac_status); }; }; then
10935 ac_cv_prog_cc_g=yes
10936 else
10937 echo "$as_me: failed program was:" >&5
10938 sed 's/^/| /' conftest.$ac_ext >&5
10939
10940 ac_cv_prog_cc_g=no
10941 fi
10942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10943 fi
10944 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10945 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10946 if test "$ac_test_CFLAGS" = set; then
10947 CFLAGS=$ac_save_CFLAGS
10948 elif test $ac_cv_prog_cc_g = yes; then
10949 if test "$GCC" = yes; then
10950 CFLAGS="-g -O2"
10951 else
10952 CFLAGS="-g"
10953 fi
10954 else
10955 if test "$GCC" = yes; then
10956 CFLAGS="-O2"
10957 else
10958 CFLAGS=
10959 fi
10960 fi
10961 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10962 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10963 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10964 echo $ECHO_N "(cached) $ECHO_C" >&6
10965 else
10966 ac_cv_prog_cc_stdc=no
10967 ac_save_CC=$CC
10968 cat >conftest.$ac_ext <<_ACEOF
10969 /* confdefs.h. */
10970 _ACEOF
10971 cat confdefs.h >>conftest.$ac_ext
10972 cat >>conftest.$ac_ext <<_ACEOF
10973 /* end confdefs.h. */
10974 #include <stdarg.h>
10975 #include <stdio.h>
10976 #include <sys/types.h>
10977 #include <sys/stat.h>
10978 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10979 struct buf { int x; };
10980 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10981 static char *e (p, i)
10982 char **p;
10983 int i;
10984 {
10985 return p[i];
10986 }
10987 static char *f (char * (*g) (char **, int), char **p, ...)
10988 {
10989 char *s;
10990 va_list v;
10991 va_start (v,p);
10992 s = g (p, va_arg (v,int));
10993 va_end (v);
10994 return s;
10995 }
10996
10997 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10998 function prototypes and stuff, but not '\xHH' hex character constants.
10999 These don't provoke an error unfortunately, instead are silently treated
11000 as 'x'. The following induces an error, until -std1 is added to get
11001 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11002 array size at least. It's necessary to write '\x00'==0 to get something
11003 that's true only with -std1. */
11004 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11005
11006 int test (int i, double x);
11007 struct s1 {int (*f) (int a);};
11008 struct s2 {int (*f) (double a);};
11009 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11010 int argc;
11011 char **argv;
11012 int
11013 main ()
11014 {
11015 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11016 ;
11017 return 0;
11018 }
11019 _ACEOF
11020 # Don't try gcc -ansi; that turns off useful extensions and
11021 # breaks some systems' header files.
11022 # AIX -qlanglvl=ansi
11023 # Ultrix and OSF/1 -std1
11024 # HP-UX 10.20 and later -Ae
11025 # HP-UX older versions -Aa -D_HPUX_SOURCE
11026 # SVR4 -Xc -D__EXTENSIONS__
11027 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11028 do
11029 CC="$ac_save_CC $ac_arg"
11030 rm -f conftest.$ac_objext
11031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11032 (eval $ac_compile) 2>conftest.er1
11033 ac_status=$?
11034 grep -v '^ *+' conftest.er1 >conftest.err
11035 rm -f conftest.er1
11036 cat conftest.err >&5
11037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11038 (exit $ac_status); } &&
11039 { ac_try='test -z "$ac_c_werror_flag"
11040 || test ! -s conftest.err'
11041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11042 (eval $ac_try) 2>&5
11043 ac_status=$?
11044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11045 (exit $ac_status); }; } &&
11046 { ac_try='test -s conftest.$ac_objext'
11047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11048 (eval $ac_try) 2>&5
11049 ac_status=$?
11050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11051 (exit $ac_status); }; }; then
11052 ac_cv_prog_cc_stdc=$ac_arg
11053 break
11054 else
11055 echo "$as_me: failed program was:" >&5
11056 sed 's/^/| /' conftest.$ac_ext >&5
11057
11058 fi
11059 rm -f conftest.err conftest.$ac_objext
11060 done
11061 rm -f conftest.$ac_ext conftest.$ac_objext
11062 CC=$ac_save_CC
11063
11064 fi
11065
11066 case "x$ac_cv_prog_cc_stdc" in
11067 x|xno)
11068 echo "$as_me:$LINENO: result: none needed" >&5
11069 echo "${ECHO_T}none needed" >&6 ;;
11070 *)
11071 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11072 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11073 CC="$CC $ac_cv_prog_cc_stdc" ;;
11074 esac
11075
11076 # Some people use a C++ compiler to compile C. Since we use `exit',
11077 # in C++ we need to declare it. In case someone uses the same compiler
11078 # for both compiling C and C++ we need to have the C++ compiler decide
11079 # the declaration of exit, since it's the most demanding environment.
11080 cat >conftest.$ac_ext <<_ACEOF
11081 #ifndef __cplusplus
11082 choke me
11083 #endif
11084 _ACEOF
11085 rm -f conftest.$ac_objext
11086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11087 (eval $ac_compile) 2>conftest.er1
11088 ac_status=$?
11089 grep -v '^ *+' conftest.er1 >conftest.err
11090 rm -f conftest.er1
11091 cat conftest.err >&5
11092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11093 (exit $ac_status); } &&
11094 { ac_try='test -z "$ac_c_werror_flag"
11095 || test ! -s conftest.err'
11096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11097 (eval $ac_try) 2>&5
11098 ac_status=$?
11099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11100 (exit $ac_status); }; } &&
11101 { ac_try='test -s conftest.$ac_objext'
11102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11103 (eval $ac_try) 2>&5
11104 ac_status=$?
11105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11106 (exit $ac_status); }; }; then
11107 for ac_declaration in \
11108 '' \
11109 'extern "C" void std::exit (int) throw (); using std::exit;' \
11110 'extern "C" void std::exit (int); using std::exit;' \
11111 'extern "C" void exit (int) throw ();' \
11112 'extern "C" void exit (int);' \
11113 'void exit (int);'
11114 do
11115 cat >conftest.$ac_ext <<_ACEOF
11116 /* confdefs.h. */
11117 _ACEOF
11118 cat confdefs.h >>conftest.$ac_ext
11119 cat >>conftest.$ac_ext <<_ACEOF
11120 /* end confdefs.h. */
11121 $ac_declaration
11122 #include <stdlib.h>
11123 int
11124 main ()
11125 {
11126 exit (42);
11127 ;
11128 return 0;
11129 }
11130 _ACEOF
11131 rm -f conftest.$ac_objext
11132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11133 (eval $ac_compile) 2>conftest.er1
11134 ac_status=$?
11135 grep -v '^ *+' conftest.er1 >conftest.err
11136 rm -f conftest.er1
11137 cat conftest.err >&5
11138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11139 (exit $ac_status); } &&
11140 { ac_try='test -z "$ac_c_werror_flag"
11141 || test ! -s conftest.err'
11142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11143 (eval $ac_try) 2>&5
11144 ac_status=$?
11145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11146 (exit $ac_status); }; } &&
11147 { ac_try='test -s conftest.$ac_objext'
11148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11149 (eval $ac_try) 2>&5
11150 ac_status=$?
11151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11152 (exit $ac_status); }; }; then
11153 :
11154 else
11155 echo "$as_me: failed program was:" >&5
11156 sed 's/^/| /' conftest.$ac_ext >&5
11157
11158 continue
11159 fi
11160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11161 cat >conftest.$ac_ext <<_ACEOF
11162 /* confdefs.h. */
11163 _ACEOF
11164 cat confdefs.h >>conftest.$ac_ext
11165 cat >>conftest.$ac_ext <<_ACEOF
11166 /* end confdefs.h. */
11167 $ac_declaration
11168 int
11169 main ()
11170 {
11171 exit (42);
11172 ;
11173 return 0;
11174 }
11175 _ACEOF
11176 rm -f conftest.$ac_objext
11177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11178 (eval $ac_compile) 2>conftest.er1
11179 ac_status=$?
11180 grep -v '^ *+' conftest.er1 >conftest.err
11181 rm -f conftest.er1
11182 cat conftest.err >&5
11183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11184 (exit $ac_status); } &&
11185 { ac_try='test -z "$ac_c_werror_flag"
11186 || test ! -s conftest.err'
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); }; } &&
11192 { ac_try='test -s conftest.$ac_objext'
11193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11194 (eval $ac_try) 2>&5
11195 ac_status=$?
11196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11197 (exit $ac_status); }; }; then
11198 break
11199 else
11200 echo "$as_me: failed program was:" >&5
11201 sed 's/^/| /' conftest.$ac_ext >&5
11202
11203 fi
11204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11205 done
11206 rm -f conftest*
11207 if test -n "$ac_declaration"; then
11208 echo '#ifdef __cplusplus' >>confdefs.h
11209 echo $ac_declaration >>confdefs.h
11210 echo '#endif' >>confdefs.h
11211 fi
11212
11213 else
11214 echo "$as_me: failed program was:" >&5
11215 sed 's/^/| /' conftest.$ac_ext >&5
11216
11217 fi
11218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11219 ac_ext=c
11220 ac_cpp='$CPP $CPPFLAGS'
11221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11224
11225
11226
11227 ac_ext=c
11228 ac_cpp='$CPP $CPPFLAGS'
11229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11232 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11233 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11234 # On Suns, sometimes $CPP names a directory.
11235 if test -n "$CPP" && test -d "$CPP"; then
11236 CPP=
11237 fi
11238 if test -z "$CPP"; then
11239 if test "${ac_cv_prog_CPP+set}" = set; then
11240 echo $ECHO_N "(cached) $ECHO_C" >&6
11241 else
11242 # Double quotes because CPP needs to be expanded
11243 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11244 do
11245 ac_preproc_ok=false
11246 for ac_c_preproc_warn_flag in '' yes
11247 do
11248 # Use a header file that comes with gcc, so configuring glibc
11249 # with a fresh cross-compiler works.
11250 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11251 # <limits.h> exists even on freestanding compilers.
11252 # On the NeXT, cc -E runs the code through the compiler's parser,
11253 # not just through cpp. "Syntax error" is here to catch this case.
11254 cat >conftest.$ac_ext <<_ACEOF
11255 /* confdefs.h. */
11256 _ACEOF
11257 cat confdefs.h >>conftest.$ac_ext
11258 cat >>conftest.$ac_ext <<_ACEOF
11259 /* end confdefs.h. */
11260 #ifdef __STDC__
11261 # include <limits.h>
11262 #else
11263 # include <assert.h>
11264 #endif
11265 Syntax error
11266 _ACEOF
11267 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11268 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11269 ac_status=$?
11270 grep -v '^ *+' conftest.er1 >conftest.err
11271 rm -f conftest.er1
11272 cat conftest.err >&5
11273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11274 (exit $ac_status); } >/dev/null; then
11275 if test -s conftest.err; then
11276 ac_cpp_err=$ac_c_preproc_warn_flag
11277 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11278 else
11279 ac_cpp_err=
11280 fi
11281 else
11282 ac_cpp_err=yes
11283 fi
11284 if test -z "$ac_cpp_err"; then
11285 :
11286 else
11287 echo "$as_me: failed program was:" >&5
11288 sed 's/^/| /' conftest.$ac_ext >&5
11289
11290 # Broken: fails on valid input.
11291 continue
11292 fi
11293 rm -f conftest.err conftest.$ac_ext
11294
11295 # OK, works on sane cases. Now check whether non-existent headers
11296 # can be detected and how.
11297 cat >conftest.$ac_ext <<_ACEOF
11298 /* confdefs.h. */
11299 _ACEOF
11300 cat confdefs.h >>conftest.$ac_ext
11301 cat >>conftest.$ac_ext <<_ACEOF
11302 /* end confdefs.h. */
11303 #include <ac_nonexistent.h>
11304 _ACEOF
11305 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11306 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11307 ac_status=$?
11308 grep -v '^ *+' conftest.er1 >conftest.err
11309 rm -f conftest.er1
11310 cat conftest.err >&5
11311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11312 (exit $ac_status); } >/dev/null; then
11313 if test -s conftest.err; then
11314 ac_cpp_err=$ac_c_preproc_warn_flag
11315 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11316 else
11317 ac_cpp_err=
11318 fi
11319 else
11320 ac_cpp_err=yes
11321 fi
11322 if test -z "$ac_cpp_err"; then
11323 # Broken: success on invalid input.
11324 continue
11325 else
11326 echo "$as_me: failed program was:" >&5
11327 sed 's/^/| /' conftest.$ac_ext >&5
11328
11329 # Passes both tests.
11330 ac_preproc_ok=:
11331 break
11332 fi
11333 rm -f conftest.err conftest.$ac_ext
11334
11335 done
11336 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11337 rm -f conftest.err conftest.$ac_ext
11338 if $ac_preproc_ok; then
11339 break
11340 fi
11341
11342 done
11343 ac_cv_prog_CPP=$CPP
11344
11345 fi
11346 CPP=$ac_cv_prog_CPP
11347 else
11348 ac_cv_prog_CPP=$CPP
11349 fi
11350 echo "$as_me:$LINENO: result: $CPP" >&5
11351 echo "${ECHO_T}$CPP" >&6
11352 ac_preproc_ok=false
11353 for ac_c_preproc_warn_flag in '' yes
11354 do
11355 # Use a header file that comes with gcc, so configuring glibc
11356 # with a fresh cross-compiler works.
11357 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11358 # <limits.h> exists even on freestanding compilers.
11359 # On the NeXT, cc -E runs the code through the compiler's parser,
11360 # not just through cpp. "Syntax error" is here to catch this case.
11361 cat >conftest.$ac_ext <<_ACEOF
11362 /* confdefs.h. */
11363 _ACEOF
11364 cat confdefs.h >>conftest.$ac_ext
11365 cat >>conftest.$ac_ext <<_ACEOF
11366 /* end confdefs.h. */
11367 #ifdef __STDC__
11368 # include <limits.h>
11369 #else
11370 # include <assert.h>
11371 #endif
11372 Syntax error
11373 _ACEOF
11374 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11375 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11376 ac_status=$?
11377 grep -v '^ *+' conftest.er1 >conftest.err
11378 rm -f conftest.er1
11379 cat conftest.err >&5
11380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11381 (exit $ac_status); } >/dev/null; then
11382 if test -s conftest.err; then
11383 ac_cpp_err=$ac_c_preproc_warn_flag
11384 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11385 else
11386 ac_cpp_err=
11387 fi
11388 else
11389 ac_cpp_err=yes
11390 fi
11391 if test -z "$ac_cpp_err"; then
11392 :
11393 else
11394 echo "$as_me: failed program was:" >&5
11395 sed 's/^/| /' conftest.$ac_ext >&5
11396
11397 # Broken: fails on valid input.
11398 continue
11399 fi
11400 rm -f conftest.err conftest.$ac_ext
11401
11402 # OK, works on sane cases. Now check whether non-existent headers
11403 # can be detected and how.
11404 cat >conftest.$ac_ext <<_ACEOF
11405 /* confdefs.h. */
11406 _ACEOF
11407 cat confdefs.h >>conftest.$ac_ext
11408 cat >>conftest.$ac_ext <<_ACEOF
11409 /* end confdefs.h. */
11410 #include <ac_nonexistent.h>
11411 _ACEOF
11412 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11413 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11414 ac_status=$?
11415 grep -v '^ *+' conftest.er1 >conftest.err
11416 rm -f conftest.er1
11417 cat conftest.err >&5
11418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11419 (exit $ac_status); } >/dev/null; then
11420 if test -s conftest.err; then
11421 ac_cpp_err=$ac_c_preproc_warn_flag
11422 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11423 else
11424 ac_cpp_err=
11425 fi
11426 else
11427 ac_cpp_err=yes
11428 fi
11429 if test -z "$ac_cpp_err"; then
11430 # Broken: success on invalid input.
11431 continue
11432 else
11433 echo "$as_me: failed program was:" >&5
11434 sed 's/^/| /' conftest.$ac_ext >&5
11435
11436 # Passes both tests.
11437 ac_preproc_ok=:
11438 break
11439 fi
11440 rm -f conftest.err conftest.$ac_ext
11441
11442 done
11443 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11444 rm -f conftest.err conftest.$ac_ext
11445 if $ac_preproc_ok; then
11446 :
11447 else
11448 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11449 See \`config.log' for more details." >&5
11450 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11451 See \`config.log' for more details." >&2;}
11452 { (exit 1); exit 1; }; }
11453 fi
11454
11455 ac_ext=c
11456 ac_cpp='$CPP $CPPFLAGS'
11457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11460
11461
11462 echo "$as_me:$LINENO: checking for egrep" >&5
11463 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11464 if test "${ac_cv_prog_egrep+set}" = set; then
11465 echo $ECHO_N "(cached) $ECHO_C" >&6
11466 else
11467 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
11468 then ac_cv_prog_egrep='grep -E'
11469 else ac_cv_prog_egrep='egrep'
11470 fi
11471 fi
11472 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11473 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11474 EGREP=$ac_cv_prog_egrep
11475
11476
11477 if test $ac_cv_c_compiler_gnu = yes; then
11478 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11479 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11480 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11481 echo $ECHO_N "(cached) $ECHO_C" >&6
11482 else
11483 ac_pattern="Autoconf.*'x'"
11484 cat >conftest.$ac_ext <<_ACEOF
11485 /* confdefs.h. */
11486 _ACEOF
11487 cat confdefs.h >>conftest.$ac_ext
11488 cat >>conftest.$ac_ext <<_ACEOF
11489 /* end confdefs.h. */
11490 #include <sgtty.h>
11491 Autoconf TIOCGETP
11492 _ACEOF
11493 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11494 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11495 ac_cv_prog_gcc_traditional=yes
11496 else
11497 ac_cv_prog_gcc_traditional=no
11498 fi
11499 rm -f conftest*
11500
11501
11502 if test $ac_cv_prog_gcc_traditional = no; then
11503 cat >conftest.$ac_ext <<_ACEOF
11504 /* confdefs.h. */
11505 _ACEOF
11506 cat confdefs.h >>conftest.$ac_ext
11507 cat >>conftest.$ac_ext <<_ACEOF
11508 /* end confdefs.h. */
11509 #include <termio.h>
11510 Autoconf TCGETA
11511 _ACEOF
11512 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11513 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11514 ac_cv_prog_gcc_traditional=yes
11515 fi
11516 rm -f conftest*
11517
11518 fi
11519 fi
11520 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11521 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11522 if test $ac_cv_prog_gcc_traditional = yes; then
11523 CC="$CC -traditional"
11524 fi
11525 fi
11526
11527
11528
11529
11530 ac_ext=cc
11531 ac_cpp='$CXXCPP $CPPFLAGS'
11532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11535
11536
11537 CXXFLAGS=${CXXFLAGS:=}
11538 ac_ext=cc
11539 ac_cpp='$CXXCPP $CPPFLAGS'
11540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11543 if test -n "$ac_tool_prefix"; then
11544 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11545 do
11546 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11547 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11548 echo "$as_me:$LINENO: checking for $ac_word" >&5
11549 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11550 if test "${ac_cv_prog_CXX+set}" = set; then
11551 echo $ECHO_N "(cached) $ECHO_C" >&6
11552 else
11553 if test -n "$CXX"; then
11554 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11555 else
11556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11557 for as_dir in $PATH
11558 do
11559 IFS=$as_save_IFS
11560 test -z "$as_dir" && as_dir=.
11561 for ac_exec_ext in '' $ac_executable_extensions; do
11562 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11563 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11564 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11565 break 2
11566 fi
11567 done
11568 done
11569
11570 fi
11571 fi
11572 CXX=$ac_cv_prog_CXX
11573 if test -n "$CXX"; then
11574 echo "$as_me:$LINENO: result: $CXX" >&5
11575 echo "${ECHO_T}$CXX" >&6
11576 else
11577 echo "$as_me:$LINENO: result: no" >&5
11578 echo "${ECHO_T}no" >&6
11579 fi
11580
11581 test -n "$CXX" && break
11582 done
11583 fi
11584 if test -z "$CXX"; then
11585 ac_ct_CXX=$CXX
11586 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11587 do
11588 # Extract the first word of "$ac_prog", so it can be a program name with args.
11589 set dummy $ac_prog; ac_word=$2
11590 echo "$as_me:$LINENO: checking for $ac_word" >&5
11591 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11592 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11593 echo $ECHO_N "(cached) $ECHO_C" >&6
11594 else
11595 if test -n "$ac_ct_CXX"; then
11596 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11597 else
11598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11599 for as_dir in $PATH
11600 do
11601 IFS=$as_save_IFS
11602 test -z "$as_dir" && as_dir=.
11603 for ac_exec_ext in '' $ac_executable_extensions; do
11604 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11605 ac_cv_prog_ac_ct_CXX="$ac_prog"
11606 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11607 break 2
11608 fi
11609 done
11610 done
11611
11612 fi
11613 fi
11614 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11615 if test -n "$ac_ct_CXX"; then
11616 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11617 echo "${ECHO_T}$ac_ct_CXX" >&6
11618 else
11619 echo "$as_me:$LINENO: result: no" >&5
11620 echo "${ECHO_T}no" >&6
11621 fi
11622
11623 test -n "$ac_ct_CXX" && break
11624 done
11625 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
11626
11627 CXX=$ac_ct_CXX
11628 fi
11629
11630
11631 # Provide some information about the compiler.
11632 echo "$as_me:$LINENO:" \
11633 "checking for C++ compiler version" >&5
11634 ac_compiler=`set X $ac_compile; echo $2`
11635 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11636 (eval $ac_compiler --version </dev/null >&5) 2>&5
11637 ac_status=$?
11638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11639 (exit $ac_status); }
11640 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11641 (eval $ac_compiler -v </dev/null >&5) 2>&5
11642 ac_status=$?
11643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11644 (exit $ac_status); }
11645 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11646 (eval $ac_compiler -V </dev/null >&5) 2>&5
11647 ac_status=$?
11648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11649 (exit $ac_status); }
11650
11651 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11652 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11653 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11654 echo $ECHO_N "(cached) $ECHO_C" >&6
11655 else
11656 cat >conftest.$ac_ext <<_ACEOF
11657 /* confdefs.h. */
11658 _ACEOF
11659 cat confdefs.h >>conftest.$ac_ext
11660 cat >>conftest.$ac_ext <<_ACEOF
11661 /* end confdefs.h. */
11662
11663 int
11664 main ()
11665 {
11666 #ifndef __GNUC__
11667 choke me
11668 #endif
11669
11670 ;
11671 return 0;
11672 }
11673 _ACEOF
11674 rm -f conftest.$ac_objext
11675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11676 (eval $ac_compile) 2>conftest.er1
11677 ac_status=$?
11678 grep -v '^ *+' conftest.er1 >conftest.err
11679 rm -f conftest.er1
11680 cat conftest.err >&5
11681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11682 (exit $ac_status); } &&
11683 { ac_try='test -z "$ac_cxx_werror_flag"
11684 || test ! -s conftest.err'
11685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11686 (eval $ac_try) 2>&5
11687 ac_status=$?
11688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11689 (exit $ac_status); }; } &&
11690 { ac_try='test -s conftest.$ac_objext'
11691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11692 (eval $ac_try) 2>&5
11693 ac_status=$?
11694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11695 (exit $ac_status); }; }; then
11696 ac_compiler_gnu=yes
11697 else
11698 echo "$as_me: failed program was:" >&5
11699 sed 's/^/| /' conftest.$ac_ext >&5
11700
11701 ac_compiler_gnu=no
11702 fi
11703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11704 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11705
11706 fi
11707 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11708 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11709 GXX=`test $ac_compiler_gnu = yes && echo yes`
11710 ac_test_CXXFLAGS=${CXXFLAGS+set}
11711 ac_save_CXXFLAGS=$CXXFLAGS
11712 CXXFLAGS="-g"
11713 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11714 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11715 if test "${ac_cv_prog_cxx_g+set}" = set; then
11716 echo $ECHO_N "(cached) $ECHO_C" >&6
11717 else
11718 cat >conftest.$ac_ext <<_ACEOF
11719 /* confdefs.h. */
11720 _ACEOF
11721 cat confdefs.h >>conftest.$ac_ext
11722 cat >>conftest.$ac_ext <<_ACEOF
11723 /* end confdefs.h. */
11724
11725 int
11726 main ()
11727 {
11728
11729 ;
11730 return 0;
11731 }
11732 _ACEOF
11733 rm -f conftest.$ac_objext
11734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11735 (eval $ac_compile) 2>conftest.er1
11736 ac_status=$?
11737 grep -v '^ *+' conftest.er1 >conftest.err
11738 rm -f conftest.er1
11739 cat conftest.err >&5
11740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11741 (exit $ac_status); } &&
11742 { ac_try='test -z "$ac_cxx_werror_flag"
11743 || test ! -s conftest.err'
11744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11745 (eval $ac_try) 2>&5
11746 ac_status=$?
11747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11748 (exit $ac_status); }; } &&
11749 { ac_try='test -s conftest.$ac_objext'
11750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11751 (eval $ac_try) 2>&5
11752 ac_status=$?
11753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11754 (exit $ac_status); }; }; then
11755 ac_cv_prog_cxx_g=yes
11756 else
11757 echo "$as_me: failed program was:" >&5
11758 sed 's/^/| /' conftest.$ac_ext >&5
11759
11760 ac_cv_prog_cxx_g=no
11761 fi
11762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11763 fi
11764 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11765 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11766 if test "$ac_test_CXXFLAGS" = set; then
11767 CXXFLAGS=$ac_save_CXXFLAGS
11768 elif test $ac_cv_prog_cxx_g = yes; then
11769 if test "$GXX" = yes; then
11770 CXXFLAGS="-g -O2"
11771 else
11772 CXXFLAGS="-g"
11773 fi
11774 else
11775 if test "$GXX" = yes; then
11776 CXXFLAGS="-O2"
11777 else
11778 CXXFLAGS=
11779 fi
11780 fi
11781 for ac_declaration in \
11782 '' \
11783 'extern "C" void std::exit (int) throw (); using std::exit;' \
11784 'extern "C" void std::exit (int); using std::exit;' \
11785 'extern "C" void exit (int) throw ();' \
11786 'extern "C" void exit (int);' \
11787 'void exit (int);'
11788 do
11789 cat >conftest.$ac_ext <<_ACEOF
11790 /* confdefs.h. */
11791 _ACEOF
11792 cat confdefs.h >>conftest.$ac_ext
11793 cat >>conftest.$ac_ext <<_ACEOF
11794 /* end confdefs.h. */
11795 $ac_declaration
11796 #include <stdlib.h>
11797 int
11798 main ()
11799 {
11800 exit (42);
11801 ;
11802 return 0;
11803 }
11804 _ACEOF
11805 rm -f conftest.$ac_objext
11806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11807 (eval $ac_compile) 2>conftest.er1
11808 ac_status=$?
11809 grep -v '^ *+' conftest.er1 >conftest.err
11810 rm -f conftest.er1
11811 cat conftest.err >&5
11812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11813 (exit $ac_status); } &&
11814 { ac_try='test -z "$ac_cxx_werror_flag"
11815 || test ! -s conftest.err'
11816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11817 (eval $ac_try) 2>&5
11818 ac_status=$?
11819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11820 (exit $ac_status); }; } &&
11821 { ac_try='test -s conftest.$ac_objext'
11822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11823 (eval $ac_try) 2>&5
11824 ac_status=$?
11825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11826 (exit $ac_status); }; }; then
11827 :
11828 else
11829 echo "$as_me: failed program was:" >&5
11830 sed 's/^/| /' conftest.$ac_ext >&5
11831
11832 continue
11833 fi
11834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11835 cat >conftest.$ac_ext <<_ACEOF
11836 /* confdefs.h. */
11837 _ACEOF
11838 cat confdefs.h >>conftest.$ac_ext
11839 cat >>conftest.$ac_ext <<_ACEOF
11840 /* end confdefs.h. */
11841 $ac_declaration
11842 int
11843 main ()
11844 {
11845 exit (42);
11846 ;
11847 return 0;
11848 }
11849 _ACEOF
11850 rm -f conftest.$ac_objext
11851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11852 (eval $ac_compile) 2>conftest.er1
11853 ac_status=$?
11854 grep -v '^ *+' conftest.er1 >conftest.err
11855 rm -f conftest.er1
11856 cat conftest.err >&5
11857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11858 (exit $ac_status); } &&
11859 { ac_try='test -z "$ac_cxx_werror_flag"
11860 || test ! -s conftest.err'
11861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11862 (eval $ac_try) 2>&5
11863 ac_status=$?
11864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11865 (exit $ac_status); }; } &&
11866 { ac_try='test -s conftest.$ac_objext'
11867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11868 (eval $ac_try) 2>&5
11869 ac_status=$?
11870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11871 (exit $ac_status); }; }; then
11872 break
11873 else
11874 echo "$as_me: failed program was:" >&5
11875 sed 's/^/| /' conftest.$ac_ext >&5
11876
11877 fi
11878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11879 done
11880 rm -f conftest*
11881 if test -n "$ac_declaration"; then
11882 echo '#ifdef __cplusplus' >>confdefs.h
11883 echo $ac_declaration >>confdefs.h
11884 echo '#endif' >>confdefs.h
11885 fi
11886
11887 ac_ext=cc
11888 ac_cpp='$CXXCPP $CPPFLAGS'
11889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11892
11893
11894 ac_ext=c
11895 ac_cpp='$CPP $CPPFLAGS'
11896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11899
11900
11901 if test -n "$ac_tool_prefix"; then
11902 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11903 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11904 echo "$as_me:$LINENO: checking for $ac_word" >&5
11905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11906 if test "${ac_cv_prog_RANLIB+set}" = set; then
11907 echo $ECHO_N "(cached) $ECHO_C" >&6
11908 else
11909 if test -n "$RANLIB"; then
11910 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11911 else
11912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11913 for as_dir in $PATH
11914 do
11915 IFS=$as_save_IFS
11916 test -z "$as_dir" && as_dir=.
11917 for ac_exec_ext in '' $ac_executable_extensions; do
11918 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11919 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11921 break 2
11922 fi
11923 done
11924 done
11925
11926 fi
11927 fi
11928 RANLIB=$ac_cv_prog_RANLIB
11929 if test -n "$RANLIB"; then
11930 echo "$as_me:$LINENO: result: $RANLIB" >&5
11931 echo "${ECHO_T}$RANLIB" >&6
11932 else
11933 echo "$as_me:$LINENO: result: no" >&5
11934 echo "${ECHO_T}no" >&6
11935 fi
11936
11937 fi
11938 if test -z "$ac_cv_prog_RANLIB"; then
11939 ac_ct_RANLIB=$RANLIB
11940 # Extract the first word of "ranlib", so it can be a program name with args.
11941 set dummy ranlib; ac_word=$2
11942 echo "$as_me:$LINENO: checking for $ac_word" >&5
11943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11944 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11945 echo $ECHO_N "(cached) $ECHO_C" >&6
11946 else
11947 if test -n "$ac_ct_RANLIB"; then
11948 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11949 else
11950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11951 for as_dir in $PATH
11952 do
11953 IFS=$as_save_IFS
11954 test -z "$as_dir" && as_dir=.
11955 for ac_exec_ext in '' $ac_executable_extensions; do
11956 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11957 ac_cv_prog_ac_ct_RANLIB="ranlib"
11958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11959 break 2
11960 fi
11961 done
11962 done
11963
11964 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11965 fi
11966 fi
11967 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11968 if test -n "$ac_ct_RANLIB"; then
11969 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11970 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11971 else
11972 echo "$as_me:$LINENO: result: no" >&5
11973 echo "${ECHO_T}no" >&6
11974 fi
11975
11976 RANLIB=$ac_ct_RANLIB
11977 else
11978 RANLIB="$ac_cv_prog_RANLIB"
11979 fi
11980
11981
11982 # Extract the first word of "ar", so it can be a program name with args.
11983 set dummy ar; ac_word=$2
11984 echo "$as_me:$LINENO: checking for $ac_word" >&5
11985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11986 if test "${ac_cv_prog_AR+set}" = set; then
11987 echo $ECHO_N "(cached) $ECHO_C" >&6
11988 else
11989 if test -n "$AR"; then
11990 ac_cv_prog_AR="$AR" # Let the user override the test.
11991 else
11992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11993 for as_dir in $PATH
11994 do
11995 IFS=$as_save_IFS
11996 test -z "$as_dir" && as_dir=.
11997 for ac_exec_ext in '' $ac_executable_extensions; do
11998 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11999 ac_cv_prog_AR="ar"
12000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12001 break 2
12002 fi
12003 done
12004 done
12005
12006 fi
12007 fi
12008 AR=$ac_cv_prog_AR
12009 if test -n "$AR"; then
12010 echo "$as_me:$LINENO: result: $AR" >&5
12011 echo "${ECHO_T}$AR" >&6
12012 else
12013 echo "$as_me:$LINENO: result: no" >&5
12014 echo "${ECHO_T}no" >&6
12015 fi
12016
12017 if test "x$AR" = "x" ; then
12018 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
12019 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
12020 { (exit 1); exit 1; }; }
12021 fi
12022
12023 # Find a good install program. We prefer a C program (faster),
12024 # so one script is as good as another. But avoid the broken or
12025 # incompatible versions:
12026 # SysV /etc/install, /usr/sbin/install
12027 # SunOS /usr/etc/install
12028 # IRIX /sbin/install
12029 # AIX /bin/install
12030 # AmigaOS /C/install, which installs bootblocks on floppy discs
12031 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12032 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
12033 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12034 # OS/2's system install, which has a completely different semantic
12035 # ./install, which can be erroneously created by make from ./install.sh.
12036 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12037 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12038 if test -z "$INSTALL"; then
12039 if test "${ac_cv_path_install+set}" = set; then
12040 echo $ECHO_N "(cached) $ECHO_C" >&6
12041 else
12042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12043 for as_dir in $PATH
12044 do
12045 IFS=$as_save_IFS
12046 test -z "$as_dir" && as_dir=.
12047 # Account for people who put trailing slashes in PATH elements.
12048 case $as_dir/ in
12049 ./ | .// | /cC/* | \
12050 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
12051 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
12052 /usr/ucb/* ) ;;
12053 *)
12054 # OSF1 and SCO ODT 3.0 have their own names for install.
12055 # Don't use installbsd from OSF since it installs stuff as root
12056 # by default.
12057 for ac_prog in ginstall scoinst install; do
12058 for ac_exec_ext in '' $ac_executable_extensions; do
12059 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12060 if test $ac_prog = install &&
12061 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
12062 # AIX install. It has an incompatible calling convention.
12063 :
12064 elif test $ac_prog = install &&
12065 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
12066 # program-specific install script used by HP pwplus--don't use.
12067 :
12068 else
12069 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
12070 break 3
12071 fi
12072 fi
12073 done
12074 done
12075 ;;
12076 esac
12077 done
12078
12079
12080 fi
12081 if test "${ac_cv_path_install+set}" = set; then
12082 INSTALL=$ac_cv_path_install
12083 else
12084 # As a last resort, use the slow shell script. We don't cache a
12085 # path for INSTALL within a source directory, because that will
12086 # break other packages using the cache if that directory is
12087 # removed, or if the path is relative.
12088 INSTALL=$ac_install_sh
12089 fi
12090 fi
12091 echo "$as_me:$LINENO: result: $INSTALL" >&5
12092 echo "${ECHO_T}$INSTALL" >&6
12093
12094 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12095 # It thinks the first close brace ends the variable substitution.
12096 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
12097
12098 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
12099
12100 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
12101
12102
12103 case ${INSTALL} in
12104 /* ) # Absolute
12105 ;;
12106 ?:* ) # Drive letter, considered as absolute.
12107 ;;
12108 *)
12109 INSTALL=`pwd`/${INSTALL} ;;
12110 esac
12111
12112
12113 case "${host}" in
12114
12115 powerpc-*-darwin* )
12116 INSTALL_PROGRAM="cp -fp"
12117 INSTALL_DATA="cp -fp"
12118 ;;
12119 *)
12120 ;;
12121 esac
12122
12123 # Extract the first word of "strip", so it can be a program name with args.
12124 set dummy strip; ac_word=$2
12125 echo "$as_me:$LINENO: checking for $ac_word" >&5
12126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12127 if test "${ac_cv_prog_STRIP+set}" = set; then
12128 echo $ECHO_N "(cached) $ECHO_C" >&6
12129 else
12130 if test -n "$STRIP"; then
12131 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
12132 else
12133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12134 for as_dir in $PATH
12135 do
12136 IFS=$as_save_IFS
12137 test -z "$as_dir" && as_dir=.
12138 for ac_exec_ext in '' $ac_executable_extensions; do
12139 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12140 ac_cv_prog_STRIP="strip"
12141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12142 break 2
12143 fi
12144 done
12145 done
12146
12147 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
12148 fi
12149 fi
12150 STRIP=$ac_cv_prog_STRIP
12151 if test -n "$STRIP"; then
12152 echo "$as_me:$LINENO: result: $STRIP" >&5
12153 echo "${ECHO_T}$STRIP" >&6
12154 else
12155 echo "$as_me:$LINENO: result: no" >&5
12156 echo "${ECHO_T}no" >&6
12157 fi
12158
12159
12160 echo "$as_me:$LINENO: checking if make is GNU make" >&5
12161 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12162 if test "${wx_cv_prog_makeisgnu+set}" = set; then
12163 echo $ECHO_N "(cached) $ECHO_C" >&6
12164 else
12165
12166 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
12167 egrep -s GNU > /dev/null); then
12168 wx_cv_prog_makeisgnu="yes"
12169 else
12170 wx_cv_prog_makeisgnu="no"
12171 fi
12172
12173 fi
12174 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12175 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12176
12177 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12178 IF_GNU_MAKE=""
12179 else
12180 IF_GNU_MAKE="#"
12181 fi
12182
12183
12184
12185 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12186 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12187 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12188 if test "${wx_cv_prog_makevpath+set}" = set; then
12189 echo $ECHO_N "(cached) $ECHO_C" >&6
12190 else
12191
12192 cat - << EOF > confMake
12193 check : file
12194 cp \$? \$@
12195 cp \$? final_file
12196 EOF
12197
12198 if test ! -d sub ; then
12199 mkdir sub
12200 fi
12201 echo dummy > sub/file
12202 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
12203 RESULT=$?
12204 rm -f sub/file check final_file confMake
12205 rmdir sub
12206 if test "$RESULT" = 0; then
12207 wx_cv_prog_makevpath="yes"
12208 else
12209 wx_cv_prog_makevpath="no"
12210 fi
12211
12212 fi
12213 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12214 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12215
12216 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12217 { { echo "$as_me:$LINENO: error:
12218 You need a make-utility that is able to use the variable
12219 VPATH correctly.
12220 If your version of make does not support VPATH correctly,
12221 please install GNU-make (possibly as gmake), and start
12222 configure with the following command:
12223 export MAKE=gmake; ./configure for sh-type shells
12224 setenv MAKE gmake; ./configure for csh-type shells
12225 Also please do remember to use gmake in this case every time
12226 you are trying to compile.
12227 " >&5
12228 echo "$as_me: error:
12229 You need a make-utility that is able to use the variable
12230 VPATH correctly.
12231 If your version of make does not support VPATH correctly,
12232 please install GNU-make (possibly as gmake), and start
12233 configure with the following command:
12234 export MAKE=gmake; ./configure for sh-type shells
12235 setenv MAKE gmake; ./configure for csh-type shells
12236 Also please do remember to use gmake in this case every time
12237 you are trying to compile.
12238 " >&2;}
12239 { (exit 1); exit 1; }; }
12240 fi fi
12241 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12242 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12243 LN_S=$as_ln_s
12244 if test "$LN_S" = "ln -s"; then
12245 echo "$as_me:$LINENO: result: yes" >&5
12246 echo "${ECHO_T}yes" >&6
12247 else
12248 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12249 echo "${ECHO_T}no, using $LN_S" >&6
12250 fi
12251
12252
12253
12254 case "${host}" in
12255 *-pc-os2_emx | *-pc-os2-emx )
12256 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12257 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12258 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12259 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12260 echo $ECHO_N "(cached) $ECHO_C" >&6
12261 else
12262 ac_check_lib_save_LIBS=$LIBS
12263 LIBS="-lcExt $LIBS"
12264 cat >conftest.$ac_ext <<_ACEOF
12265 /* confdefs.h. */
12266 _ACEOF
12267 cat confdefs.h >>conftest.$ac_ext
12268 cat >>conftest.$ac_ext <<_ACEOF
12269 /* end confdefs.h. */
12270
12271 /* Override any gcc2 internal prototype to avoid an error. */
12272 #ifdef __cplusplus
12273 extern "C"
12274 #endif
12275 /* We use char because int might match the return type of a gcc2
12276 builtin and then its argument prototype would still apply. */
12277 char drand48 ();
12278 int
12279 main ()
12280 {
12281 drand48 ();
12282 ;
12283 return 0;
12284 }
12285 _ACEOF
12286 rm -f conftest.$ac_objext conftest$ac_exeext
12287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12288 (eval $ac_link) 2>conftest.er1
12289 ac_status=$?
12290 grep -v '^ *+' conftest.er1 >conftest.err
12291 rm -f conftest.er1
12292 cat conftest.err >&5
12293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12294 (exit $ac_status); } &&
12295 { ac_try='test -z "$ac_c_werror_flag"
12296 || test ! -s conftest.err'
12297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12298 (eval $ac_try) 2>&5
12299 ac_status=$?
12300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12301 (exit $ac_status); }; } &&
12302 { ac_try='test -s conftest$ac_exeext'
12303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12304 (eval $ac_try) 2>&5
12305 ac_status=$?
12306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12307 (exit $ac_status); }; }; then
12308 ac_cv_lib_cExt_drand48=yes
12309 else
12310 echo "$as_me: failed program was:" >&5
12311 sed 's/^/| /' conftest.$ac_ext >&5
12312
12313 ac_cv_lib_cExt_drand48=no
12314 fi
12315 rm -f conftest.err conftest.$ac_objext \
12316 conftest$ac_exeext conftest.$ac_ext
12317 LIBS=$ac_check_lib_save_LIBS
12318 fi
12319 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12320 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12321 if test $ac_cv_lib_cExt_drand48 = yes; then
12322 LIBS="$LIBS -lcExt"
12323 fi
12324
12325 else
12326 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
12327 fi
12328 echo "$as_me:$LINENO: checking for gcc version" >&5
12329 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12330 if test "${wx_cv_gccversion+set}" = set; then
12331 echo $ECHO_N "(cached) $ECHO_C" >&6
12332 else
12333
12334 cat >conftest.$ac_ext <<_ACEOF
12335 /* confdefs.h. */
12336 _ACEOF
12337 cat confdefs.h >>conftest.$ac_ext
12338 cat >>conftest.$ac_ext <<_ACEOF
12339 /* end confdefs.h. */
12340
12341 int
12342 main ()
12343 {
12344
12345 #if (__GNUC__ < 3)
12346 #error old gcc
12347 #endif
12348
12349 ;
12350 return 0;
12351 }
12352 _ACEOF
12353 rm -f conftest.$ac_objext
12354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12355 (eval $ac_compile) 2>conftest.er1
12356 ac_status=$?
12357 grep -v '^ *+' conftest.er1 >conftest.err
12358 rm -f conftest.er1
12359 cat conftest.err >&5
12360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12361 (exit $ac_status); } &&
12362 { ac_try='test -z "$ac_c_werror_flag"
12363 || test ! -s conftest.err'
12364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12365 (eval $ac_try) 2>&5
12366 ac_status=$?
12367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12368 (exit $ac_status); }; } &&
12369 { ac_try='test -s conftest.$ac_objext'
12370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12371 (eval $ac_try) 2>&5
12372 ac_status=$?
12373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12374 (exit $ac_status); }; }; then
12375
12376 cat >conftest.$ac_ext <<_ACEOF
12377 /* confdefs.h. */
12378 _ACEOF
12379 cat confdefs.h >>conftest.$ac_ext
12380 cat >>conftest.$ac_ext <<_ACEOF
12381 /* end confdefs.h. */
12382
12383 int
12384 main ()
12385 {
12386
12387 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12388 #error intermediate gcc
12389 #endif
12390
12391 ;
12392 return 0;
12393 }
12394 _ACEOF
12395 rm -f conftest.$ac_objext
12396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12397 (eval $ac_compile) 2>conftest.er1
12398 ac_status=$?
12399 grep -v '^ *+' conftest.er1 >conftest.err
12400 rm -f conftest.er1
12401 cat conftest.err >&5
12402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12403 (exit $ac_status); } &&
12404 { ac_try='test -z "$ac_c_werror_flag"
12405 || test ! -s conftest.err'
12406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12407 (eval $ac_try) 2>&5
12408 ac_status=$?
12409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12410 (exit $ac_status); }; } &&
12411 { ac_try='test -s conftest.$ac_objext'
12412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12413 (eval $ac_try) 2>&5
12414 ac_status=$?
12415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12416 (exit $ac_status); }; }; then
12417
12418 wx_cv_gccversion=Innotek
12419
12420 else
12421 echo "$as_me: failed program was:" >&5
12422 sed 's/^/| /' conftest.$ac_ext >&5
12423
12424
12425 wx_cv_gccversion=3
12426
12427
12428 fi
12429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12430
12431 else
12432 echo "$as_me: failed program was:" >&5
12433 sed 's/^/| /' conftest.$ac_ext >&5
12434
12435
12436 wx_cv_gccversion=2
12437
12438
12439 fi
12440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12441
12442 fi
12443 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12444 echo "${ECHO_T}$wx_cv_gccversion" >&6
12445 if test "$wx_cv_gccversion" = "2"; then
12446 LIBS="$LIBS -lstdcpp"
12447 LDFLAGS="$LDFLAGS -Zsysv-signals"
12448 else
12449 if test "$wx_cv_gccversion" = "3"; then
12450 LIBS="$LIBS -lstdcxx"
12451 LDFLAGS="$LDFLAGS -Zsysv-signals"
12452 else
12453 LIBS="$LIBS -lstdc++"
12454 fi
12455 fi
12456 if test "$wxUSE_OMF" = "yes"; then
12457 LDFLAGS="$LDFLAGS -Zomf -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12458 fi
12459 ;;
12460 *)
12461
12462
12463
12464 ac_ext=cc
12465 ac_cpp='$CXXCPP $CPPFLAGS'
12466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12469
12470
12471
12472 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12473 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12474 if test "${ac_cv_string_strcasecmp+set}" = set; then
12475 echo $ECHO_N "(cached) $ECHO_C" >&6
12476 else
12477
12478 cat >conftest.$ac_ext <<_ACEOF
12479 /* confdefs.h. */
12480 _ACEOF
12481 cat confdefs.h >>conftest.$ac_ext
12482 cat >>conftest.$ac_ext <<_ACEOF
12483 /* end confdefs.h. */
12484
12485 #include <string.h>
12486
12487 int
12488 main ()
12489 {
12490
12491 strcasecmp("foo", "bar");
12492
12493 ;
12494 return 0;
12495 }
12496 _ACEOF
12497 rm -f conftest.$ac_objext conftest$ac_exeext
12498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12499 (eval $ac_link) 2>conftest.er1
12500 ac_status=$?
12501 grep -v '^ *+' conftest.er1 >conftest.err
12502 rm -f conftest.er1
12503 cat conftest.err >&5
12504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12505 (exit $ac_status); } &&
12506 { ac_try='test -z "$ac_cxx_werror_flag"
12507 || test ! -s conftest.err'
12508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12509 (eval $ac_try) 2>&5
12510 ac_status=$?
12511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12512 (exit $ac_status); }; } &&
12513 { ac_try='test -s conftest$ac_exeext'
12514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12515 (eval $ac_try) 2>&5
12516 ac_status=$?
12517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12518 (exit $ac_status); }; }; then
12519 ac_cv_string_strcasecmp=yes
12520 else
12521 echo "$as_me: failed program was:" >&5
12522 sed 's/^/| /' conftest.$ac_ext >&5
12523
12524 ac_cv_string_strcasecmp=no
12525
12526 fi
12527 rm -f conftest.err conftest.$ac_objext \
12528 conftest$ac_exeext conftest.$ac_ext
12529
12530 fi
12531 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12532 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12533
12534 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
12535 cat >>confdefs.h <<\_ACEOF
12536 #define HAVE_STRCASECMP_IN_STRING_H 1
12537 _ACEOF
12538
12539 else
12540 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12541 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12542 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12543 echo $ECHO_N "(cached) $ECHO_C" >&6
12544 else
12545
12546 cat >conftest.$ac_ext <<_ACEOF
12547 /* confdefs.h. */
12548 _ACEOF
12549 cat confdefs.h >>conftest.$ac_ext
12550 cat >>conftest.$ac_ext <<_ACEOF
12551 /* end confdefs.h. */
12552
12553 #include <strings.h>
12554
12555 int
12556 main ()
12557 {
12558
12559 strcasecmp("foo", "bar");
12560
12561 ;
12562 return 0;
12563 }
12564 _ACEOF
12565 rm -f conftest.$ac_objext conftest$ac_exeext
12566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12567 (eval $ac_link) 2>conftest.er1
12568 ac_status=$?
12569 grep -v '^ *+' conftest.er1 >conftest.err
12570 rm -f conftest.er1
12571 cat conftest.err >&5
12572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12573 (exit $ac_status); } &&
12574 { ac_try='test -z "$ac_cxx_werror_flag"
12575 || test ! -s conftest.err'
12576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12577 (eval $ac_try) 2>&5
12578 ac_status=$?
12579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12580 (exit $ac_status); }; } &&
12581 { ac_try='test -s conftest$ac_exeext'
12582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12583 (eval $ac_try) 2>&5
12584 ac_status=$?
12585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12586 (exit $ac_status); }; }; then
12587 ac_cv_strings_strcasecmp=yes
12588 else
12589 echo "$as_me: failed program was:" >&5
12590 sed 's/^/| /' conftest.$ac_ext >&5
12591
12592 ac_cv_strings_strcasecmp=no
12593
12594 fi
12595 rm -f conftest.err conftest.$ac_objext \
12596 conftest$ac_exeext conftest.$ac_ext
12597
12598 fi
12599 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12600 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12601
12602 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
12603 cat >>confdefs.h <<\_ACEOF
12604 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12605 _ACEOF
12606
12607 else
12608 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12609 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12610 { (exit 1); exit 1; }; }
12611 fi
12612 fi
12613
12614 ac_ext=c
12615 ac_cpp='$CPP $CPPFLAGS'
12616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12619
12620 ;;
12621 esac
12622
12623
12624 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12625 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12626 if test "${ac_cv_header_stdc+set}" = set; then
12627 echo $ECHO_N "(cached) $ECHO_C" >&6
12628 else
12629 cat >conftest.$ac_ext <<_ACEOF
12630 /* confdefs.h. */
12631 _ACEOF
12632 cat confdefs.h >>conftest.$ac_ext
12633 cat >>conftest.$ac_ext <<_ACEOF
12634 /* end confdefs.h. */
12635 #include <stdlib.h>
12636 #include <stdarg.h>
12637 #include <string.h>
12638 #include <float.h>
12639
12640 int
12641 main ()
12642 {
12643
12644 ;
12645 return 0;
12646 }
12647 _ACEOF
12648 rm -f conftest.$ac_objext
12649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12650 (eval $ac_compile) 2>conftest.er1
12651 ac_status=$?
12652 grep -v '^ *+' conftest.er1 >conftest.err
12653 rm -f conftest.er1
12654 cat conftest.err >&5
12655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12656 (exit $ac_status); } &&
12657 { ac_try='test -z "$ac_c_werror_flag"
12658 || test ! -s conftest.err'
12659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12660 (eval $ac_try) 2>&5
12661 ac_status=$?
12662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12663 (exit $ac_status); }; } &&
12664 { ac_try='test -s conftest.$ac_objext'
12665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12666 (eval $ac_try) 2>&5
12667 ac_status=$?
12668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12669 (exit $ac_status); }; }; then
12670 ac_cv_header_stdc=yes
12671 else
12672 echo "$as_me: failed program was:" >&5
12673 sed 's/^/| /' conftest.$ac_ext >&5
12674
12675 ac_cv_header_stdc=no
12676 fi
12677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12678
12679 if test $ac_cv_header_stdc = yes; then
12680 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12681 cat >conftest.$ac_ext <<_ACEOF
12682 /* confdefs.h. */
12683 _ACEOF
12684 cat confdefs.h >>conftest.$ac_ext
12685 cat >>conftest.$ac_ext <<_ACEOF
12686 /* end confdefs.h. */
12687 #include <string.h>
12688
12689 _ACEOF
12690 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12691 $EGREP "memchr" >/dev/null 2>&1; then
12692 :
12693 else
12694 ac_cv_header_stdc=no
12695 fi
12696 rm -f conftest*
12697
12698 fi
12699
12700 if test $ac_cv_header_stdc = yes; then
12701 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12702 cat >conftest.$ac_ext <<_ACEOF
12703 /* confdefs.h. */
12704 _ACEOF
12705 cat confdefs.h >>conftest.$ac_ext
12706 cat >>conftest.$ac_ext <<_ACEOF
12707 /* end confdefs.h. */
12708 #include <stdlib.h>
12709
12710 _ACEOF
12711 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12712 $EGREP "free" >/dev/null 2>&1; then
12713 :
12714 else
12715 ac_cv_header_stdc=no
12716 fi
12717 rm -f conftest*
12718
12719 fi
12720
12721 if test $ac_cv_header_stdc = yes; then
12722 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12723 if test "$cross_compiling" = yes; then
12724 :
12725 else
12726 cat >conftest.$ac_ext <<_ACEOF
12727 /* confdefs.h. */
12728 _ACEOF
12729 cat confdefs.h >>conftest.$ac_ext
12730 cat >>conftest.$ac_ext <<_ACEOF
12731 /* end confdefs.h. */
12732 #include <ctype.h>
12733 #if ((' ' & 0x0FF) == 0x020)
12734 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12735 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12736 #else
12737 # define ISLOWER(c) \
12738 (('a' <= (c) && (c) <= 'i') \
12739 || ('j' <= (c) && (c) <= 'r') \
12740 || ('s' <= (c) && (c) <= 'z'))
12741 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12742 #endif
12743
12744 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12745 int
12746 main ()
12747 {
12748 int i;
12749 for (i = 0; i < 256; i++)
12750 if (XOR (islower (i), ISLOWER (i))
12751 || toupper (i) != TOUPPER (i))
12752 exit(2);
12753 exit (0);
12754 }
12755 _ACEOF
12756 rm -f conftest$ac_exeext
12757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12758 (eval $ac_link) 2>&5
12759 ac_status=$?
12760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12761 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12763 (eval $ac_try) 2>&5
12764 ac_status=$?
12765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12766 (exit $ac_status); }; }; then
12767 :
12768 else
12769 echo "$as_me: program exited with status $ac_status" >&5
12770 echo "$as_me: failed program was:" >&5
12771 sed 's/^/| /' conftest.$ac_ext >&5
12772
12773 ( exit $ac_status )
12774 ac_cv_header_stdc=no
12775 fi
12776 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12777 fi
12778 fi
12779 fi
12780 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12781 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12782 if test $ac_cv_header_stdc = yes; then
12783
12784 cat >>confdefs.h <<\_ACEOF
12785 #define STDC_HEADERS 1
12786 _ACEOF
12787
12788 fi
12789
12790 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12801 inttypes.h stdint.h unistd.h
12802 do
12803 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12804 echo "$as_me:$LINENO: checking for $ac_header" >&5
12805 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12806 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12807 echo $ECHO_N "(cached) $ECHO_C" >&6
12808 else
12809 cat >conftest.$ac_ext <<_ACEOF
12810 /* confdefs.h. */
12811 _ACEOF
12812 cat confdefs.h >>conftest.$ac_ext
12813 cat >>conftest.$ac_ext <<_ACEOF
12814 /* end confdefs.h. */
12815 $ac_includes_default
12816
12817 #include <$ac_header>
12818 _ACEOF
12819 rm -f conftest.$ac_objext
12820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12821 (eval $ac_compile) 2>conftest.er1
12822 ac_status=$?
12823 grep -v '^ *+' conftest.er1 >conftest.err
12824 rm -f conftest.er1
12825 cat conftest.err >&5
12826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12827 (exit $ac_status); } &&
12828 { ac_try='test -z "$ac_c_werror_flag"
12829 || test ! -s conftest.err'
12830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12831 (eval $ac_try) 2>&5
12832 ac_status=$?
12833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12834 (exit $ac_status); }; } &&
12835 { ac_try='test -s conftest.$ac_objext'
12836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12837 (eval $ac_try) 2>&5
12838 ac_status=$?
12839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12840 (exit $ac_status); }; }; then
12841 eval "$as_ac_Header=yes"
12842 else
12843 echo "$as_me: failed program was:" >&5
12844 sed 's/^/| /' conftest.$ac_ext >&5
12845
12846 eval "$as_ac_Header=no"
12847 fi
12848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12849 fi
12850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12851 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12852 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12853 cat >>confdefs.h <<_ACEOF
12854 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12855 _ACEOF
12856
12857 fi
12858
12859 done
12860
12861
12862
12863 for ac_header in stdlib.h
12864 do
12865 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12866 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12867 echo "$as_me:$LINENO: checking for $ac_header" >&5
12868 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12869 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12870 echo $ECHO_N "(cached) $ECHO_C" >&6
12871 fi
12872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12873 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12874 else
12875 # Is the header compilable?
12876 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12877 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12878 cat >conftest.$ac_ext <<_ACEOF
12879 /* confdefs.h. */
12880 _ACEOF
12881 cat confdefs.h >>conftest.$ac_ext
12882 cat >>conftest.$ac_ext <<_ACEOF
12883 /* end confdefs.h. */
12884 $ac_includes_default
12885 #include <$ac_header>
12886 _ACEOF
12887 rm -f conftest.$ac_objext
12888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12889 (eval $ac_compile) 2>conftest.er1
12890 ac_status=$?
12891 grep -v '^ *+' conftest.er1 >conftest.err
12892 rm -f conftest.er1
12893 cat conftest.err >&5
12894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12895 (exit $ac_status); } &&
12896 { ac_try='test -z "$ac_c_werror_flag"
12897 || test ! -s conftest.err'
12898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12899 (eval $ac_try) 2>&5
12900 ac_status=$?
12901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12902 (exit $ac_status); }; } &&
12903 { ac_try='test -s conftest.$ac_objext'
12904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12905 (eval $ac_try) 2>&5
12906 ac_status=$?
12907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12908 (exit $ac_status); }; }; then
12909 ac_header_compiler=yes
12910 else
12911 echo "$as_me: failed program was:" >&5
12912 sed 's/^/| /' conftest.$ac_ext >&5
12913
12914 ac_header_compiler=no
12915 fi
12916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12917 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12918 echo "${ECHO_T}$ac_header_compiler" >&6
12919
12920 # Is the header present?
12921 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12922 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12923 cat >conftest.$ac_ext <<_ACEOF
12924 /* confdefs.h. */
12925 _ACEOF
12926 cat confdefs.h >>conftest.$ac_ext
12927 cat >>conftest.$ac_ext <<_ACEOF
12928 /* end confdefs.h. */
12929 #include <$ac_header>
12930 _ACEOF
12931 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12932 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12933 ac_status=$?
12934 grep -v '^ *+' conftest.er1 >conftest.err
12935 rm -f conftest.er1
12936 cat conftest.err >&5
12937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12938 (exit $ac_status); } >/dev/null; then
12939 if test -s conftest.err; then
12940 ac_cpp_err=$ac_c_preproc_warn_flag
12941 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12942 else
12943 ac_cpp_err=
12944 fi
12945 else
12946 ac_cpp_err=yes
12947 fi
12948 if test -z "$ac_cpp_err"; then
12949 ac_header_preproc=yes
12950 else
12951 echo "$as_me: failed program was:" >&5
12952 sed 's/^/| /' conftest.$ac_ext >&5
12953
12954 ac_header_preproc=no
12955 fi
12956 rm -f conftest.err conftest.$ac_ext
12957 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12958 echo "${ECHO_T}$ac_header_preproc" >&6
12959
12960 # So? What about this header?
12961 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12962 yes:no: )
12963 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12964 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12965 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12966 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12967 ac_header_preproc=yes
12968 ;;
12969 no:yes:* )
12970 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12971 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12972 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12973 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12974 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12975 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12976 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12977 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12978 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12979 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12980 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12981 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12982 (
12983 cat <<\_ASBOX
12984 ## ----------------------------------------- ##
12985 ## Report this to wx-dev@lists.wxwidgets.org ##
12986 ## ----------------------------------------- ##
12987 _ASBOX
12988 ) |
12989 sed "s/^/$as_me: WARNING: /" >&2
12990 ;;
12991 esac
12992 echo "$as_me:$LINENO: checking for $ac_header" >&5
12993 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12994 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12995 echo $ECHO_N "(cached) $ECHO_C" >&6
12996 else
12997 eval "$as_ac_Header=\$ac_header_preproc"
12998 fi
12999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13000 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13001
13002 fi
13003 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13004 cat >>confdefs.h <<_ACEOF
13005 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13006 _ACEOF
13007
13008 fi
13009
13010 done
13011
13012
13013 for ac_header in malloc.h
13014 do
13015 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13016 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13017 echo "$as_me:$LINENO: checking for $ac_header" >&5
13018 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13019 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13020 echo $ECHO_N "(cached) $ECHO_C" >&6
13021 fi
13022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13023 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13024 else
13025 # Is the header compilable?
13026 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13027 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13028 cat >conftest.$ac_ext <<_ACEOF
13029 /* confdefs.h. */
13030 _ACEOF
13031 cat confdefs.h >>conftest.$ac_ext
13032 cat >>conftest.$ac_ext <<_ACEOF
13033 /* end confdefs.h. */
13034 $ac_includes_default
13035 #include <$ac_header>
13036 _ACEOF
13037 rm -f conftest.$ac_objext
13038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13039 (eval $ac_compile) 2>conftest.er1
13040 ac_status=$?
13041 grep -v '^ *+' conftest.er1 >conftest.err
13042 rm -f conftest.er1
13043 cat conftest.err >&5
13044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13045 (exit $ac_status); } &&
13046 { ac_try='test -z "$ac_c_werror_flag"
13047 || test ! -s conftest.err'
13048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13049 (eval $ac_try) 2>&5
13050 ac_status=$?
13051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13052 (exit $ac_status); }; } &&
13053 { ac_try='test -s conftest.$ac_objext'
13054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13055 (eval $ac_try) 2>&5
13056 ac_status=$?
13057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13058 (exit $ac_status); }; }; then
13059 ac_header_compiler=yes
13060 else
13061 echo "$as_me: failed program was:" >&5
13062 sed 's/^/| /' conftest.$ac_ext >&5
13063
13064 ac_header_compiler=no
13065 fi
13066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13067 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13068 echo "${ECHO_T}$ac_header_compiler" >&6
13069
13070 # Is the header present?
13071 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13072 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13073 cat >conftest.$ac_ext <<_ACEOF
13074 /* confdefs.h. */
13075 _ACEOF
13076 cat confdefs.h >>conftest.$ac_ext
13077 cat >>conftest.$ac_ext <<_ACEOF
13078 /* end confdefs.h. */
13079 #include <$ac_header>
13080 _ACEOF
13081 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13082 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13083 ac_status=$?
13084 grep -v '^ *+' conftest.er1 >conftest.err
13085 rm -f conftest.er1
13086 cat conftest.err >&5
13087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13088 (exit $ac_status); } >/dev/null; then
13089 if test -s conftest.err; then
13090 ac_cpp_err=$ac_c_preproc_warn_flag
13091 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13092 else
13093 ac_cpp_err=
13094 fi
13095 else
13096 ac_cpp_err=yes
13097 fi
13098 if test -z "$ac_cpp_err"; then
13099 ac_header_preproc=yes
13100 else
13101 echo "$as_me: failed program was:" >&5
13102 sed 's/^/| /' conftest.$ac_ext >&5
13103
13104 ac_header_preproc=no
13105 fi
13106 rm -f conftest.err conftest.$ac_ext
13107 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13108 echo "${ECHO_T}$ac_header_preproc" >&6
13109
13110 # So? What about this header?
13111 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13112 yes:no: )
13113 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13114 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13115 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13116 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13117 ac_header_preproc=yes
13118 ;;
13119 no:yes:* )
13120 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13121 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13122 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13123 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13124 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13125 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13126 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13127 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13128 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13129 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13130 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13131 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13132 (
13133 cat <<\_ASBOX
13134 ## ----------------------------------------- ##
13135 ## Report this to wx-dev@lists.wxwidgets.org ##
13136 ## ----------------------------------------- ##
13137 _ASBOX
13138 ) |
13139 sed "s/^/$as_me: WARNING: /" >&2
13140 ;;
13141 esac
13142 echo "$as_me:$LINENO: checking for $ac_header" >&5
13143 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13144 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13145 echo $ECHO_N "(cached) $ECHO_C" >&6
13146 else
13147 eval "$as_ac_Header=\$ac_header_preproc"
13148 fi
13149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13150 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13151
13152 fi
13153 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13154 cat >>confdefs.h <<_ACEOF
13155 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13156 _ACEOF
13157
13158 fi
13159
13160 done
13161
13162
13163 for ac_header in unistd.h
13164 do
13165 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13166 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13167 echo "$as_me:$LINENO: checking for $ac_header" >&5
13168 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13169 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13170 echo $ECHO_N "(cached) $ECHO_C" >&6
13171 fi
13172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13173 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13174 else
13175 # Is the header compilable?
13176 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13177 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13178 cat >conftest.$ac_ext <<_ACEOF
13179 /* confdefs.h. */
13180 _ACEOF
13181 cat confdefs.h >>conftest.$ac_ext
13182 cat >>conftest.$ac_ext <<_ACEOF
13183 /* end confdefs.h. */
13184 $ac_includes_default
13185 #include <$ac_header>
13186 _ACEOF
13187 rm -f conftest.$ac_objext
13188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13189 (eval $ac_compile) 2>conftest.er1
13190 ac_status=$?
13191 grep -v '^ *+' conftest.er1 >conftest.err
13192 rm -f conftest.er1
13193 cat conftest.err >&5
13194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13195 (exit $ac_status); } &&
13196 { ac_try='test -z "$ac_c_werror_flag"
13197 || test ! -s conftest.err'
13198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13199 (eval $ac_try) 2>&5
13200 ac_status=$?
13201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13202 (exit $ac_status); }; } &&
13203 { ac_try='test -s conftest.$ac_objext'
13204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13205 (eval $ac_try) 2>&5
13206 ac_status=$?
13207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13208 (exit $ac_status); }; }; then
13209 ac_header_compiler=yes
13210 else
13211 echo "$as_me: failed program was:" >&5
13212 sed 's/^/| /' conftest.$ac_ext >&5
13213
13214 ac_header_compiler=no
13215 fi
13216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13217 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13218 echo "${ECHO_T}$ac_header_compiler" >&6
13219
13220 # Is the header present?
13221 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13222 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13223 cat >conftest.$ac_ext <<_ACEOF
13224 /* confdefs.h. */
13225 _ACEOF
13226 cat confdefs.h >>conftest.$ac_ext
13227 cat >>conftest.$ac_ext <<_ACEOF
13228 /* end confdefs.h. */
13229 #include <$ac_header>
13230 _ACEOF
13231 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13232 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13233 ac_status=$?
13234 grep -v '^ *+' conftest.er1 >conftest.err
13235 rm -f conftest.er1
13236 cat conftest.err >&5
13237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13238 (exit $ac_status); } >/dev/null; then
13239 if test -s conftest.err; then
13240 ac_cpp_err=$ac_c_preproc_warn_flag
13241 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13242 else
13243 ac_cpp_err=
13244 fi
13245 else
13246 ac_cpp_err=yes
13247 fi
13248 if test -z "$ac_cpp_err"; then
13249 ac_header_preproc=yes
13250 else
13251 echo "$as_me: failed program was:" >&5
13252 sed 's/^/| /' conftest.$ac_ext >&5
13253
13254 ac_header_preproc=no
13255 fi
13256 rm -f conftest.err conftest.$ac_ext
13257 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13258 echo "${ECHO_T}$ac_header_preproc" >&6
13259
13260 # So? What about this header?
13261 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13262 yes:no: )
13263 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13264 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13265 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13266 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13267 ac_header_preproc=yes
13268 ;;
13269 no:yes:* )
13270 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13271 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13272 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13273 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13274 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13275 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13276 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13277 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13278 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13279 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13280 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13281 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13282 (
13283 cat <<\_ASBOX
13284 ## ----------------------------------------- ##
13285 ## Report this to wx-dev@lists.wxwidgets.org ##
13286 ## ----------------------------------------- ##
13287 _ASBOX
13288 ) |
13289 sed "s/^/$as_me: WARNING: /" >&2
13290 ;;
13291 esac
13292 echo "$as_me:$LINENO: checking for $ac_header" >&5
13293 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13294 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13295 echo $ECHO_N "(cached) $ECHO_C" >&6
13296 else
13297 eval "$as_ac_Header=\$ac_header_preproc"
13298 fi
13299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13300 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13301
13302 fi
13303 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13304 cat >>confdefs.h <<_ACEOF
13305 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13306 _ACEOF
13307
13308 fi
13309
13310 done
13311
13312
13313 for ac_header in wchar.h
13314 do
13315 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13316 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13317 echo "$as_me:$LINENO: checking for $ac_header" >&5
13318 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13319 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13320 echo $ECHO_N "(cached) $ECHO_C" >&6
13321 fi
13322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13323 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13324 else
13325 # Is the header compilable?
13326 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13327 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13328 cat >conftest.$ac_ext <<_ACEOF
13329 /* confdefs.h. */
13330 _ACEOF
13331 cat confdefs.h >>conftest.$ac_ext
13332 cat >>conftest.$ac_ext <<_ACEOF
13333 /* end confdefs.h. */
13334 $ac_includes_default
13335 #include <$ac_header>
13336 _ACEOF
13337 rm -f conftest.$ac_objext
13338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13339 (eval $ac_compile) 2>conftest.er1
13340 ac_status=$?
13341 grep -v '^ *+' conftest.er1 >conftest.err
13342 rm -f conftest.er1
13343 cat conftest.err >&5
13344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13345 (exit $ac_status); } &&
13346 { ac_try='test -z "$ac_c_werror_flag"
13347 || test ! -s conftest.err'
13348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13349 (eval $ac_try) 2>&5
13350 ac_status=$?
13351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13352 (exit $ac_status); }; } &&
13353 { ac_try='test -s conftest.$ac_objext'
13354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13355 (eval $ac_try) 2>&5
13356 ac_status=$?
13357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13358 (exit $ac_status); }; }; then
13359 ac_header_compiler=yes
13360 else
13361 echo "$as_me: failed program was:" >&5
13362 sed 's/^/| /' conftest.$ac_ext >&5
13363
13364 ac_header_compiler=no
13365 fi
13366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13367 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13368 echo "${ECHO_T}$ac_header_compiler" >&6
13369
13370 # Is the header present?
13371 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13372 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13373 cat >conftest.$ac_ext <<_ACEOF
13374 /* confdefs.h. */
13375 _ACEOF
13376 cat confdefs.h >>conftest.$ac_ext
13377 cat >>conftest.$ac_ext <<_ACEOF
13378 /* end confdefs.h. */
13379 #include <$ac_header>
13380 _ACEOF
13381 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13382 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13383 ac_status=$?
13384 grep -v '^ *+' conftest.er1 >conftest.err
13385 rm -f conftest.er1
13386 cat conftest.err >&5
13387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13388 (exit $ac_status); } >/dev/null; then
13389 if test -s conftest.err; then
13390 ac_cpp_err=$ac_c_preproc_warn_flag
13391 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13392 else
13393 ac_cpp_err=
13394 fi
13395 else
13396 ac_cpp_err=yes
13397 fi
13398 if test -z "$ac_cpp_err"; then
13399 ac_header_preproc=yes
13400 else
13401 echo "$as_me: failed program was:" >&5
13402 sed 's/^/| /' conftest.$ac_ext >&5
13403
13404 ac_header_preproc=no
13405 fi
13406 rm -f conftest.err conftest.$ac_ext
13407 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13408 echo "${ECHO_T}$ac_header_preproc" >&6
13409
13410 # So? What about this header?
13411 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13412 yes:no: )
13413 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13414 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13415 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13416 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13417 ac_header_preproc=yes
13418 ;;
13419 no:yes:* )
13420 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13421 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13422 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13423 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13424 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13425 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13426 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13427 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13428 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13429 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13430 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13431 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13432 (
13433 cat <<\_ASBOX
13434 ## ----------------------------------------- ##
13435 ## Report this to wx-dev@lists.wxwidgets.org ##
13436 ## ----------------------------------------- ##
13437 _ASBOX
13438 ) |
13439 sed "s/^/$as_me: WARNING: /" >&2
13440 ;;
13441 esac
13442 echo "$as_me:$LINENO: checking for $ac_header" >&5
13443 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13444 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13445 echo $ECHO_N "(cached) $ECHO_C" >&6
13446 else
13447 eval "$as_ac_Header=\$ac_header_preproc"
13448 fi
13449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13450 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13451
13452 fi
13453 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13454 cat >>confdefs.h <<_ACEOF
13455 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13456 _ACEOF
13457
13458 fi
13459
13460 done
13461
13462
13463 if test "$ac_cv_header_wchar_h" != "yes"; then
13464
13465 for ac_header in wcstr.h
13466 do
13467 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13468 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13469 echo "$as_me:$LINENO: checking for $ac_header" >&5
13470 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13471 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13472 echo $ECHO_N "(cached) $ECHO_C" >&6
13473 fi
13474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13475 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13476 else
13477 # Is the header compilable?
13478 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13479 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13480 cat >conftest.$ac_ext <<_ACEOF
13481 /* confdefs.h. */
13482 _ACEOF
13483 cat confdefs.h >>conftest.$ac_ext
13484 cat >>conftest.$ac_ext <<_ACEOF
13485 /* end confdefs.h. */
13486 $ac_includes_default
13487 #include <$ac_header>
13488 _ACEOF
13489 rm -f conftest.$ac_objext
13490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13491 (eval $ac_compile) 2>conftest.er1
13492 ac_status=$?
13493 grep -v '^ *+' conftest.er1 >conftest.err
13494 rm -f conftest.er1
13495 cat conftest.err >&5
13496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13497 (exit $ac_status); } &&
13498 { ac_try='test -z "$ac_c_werror_flag"
13499 || test ! -s conftest.err'
13500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13501 (eval $ac_try) 2>&5
13502 ac_status=$?
13503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13504 (exit $ac_status); }; } &&
13505 { ac_try='test -s conftest.$ac_objext'
13506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13507 (eval $ac_try) 2>&5
13508 ac_status=$?
13509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13510 (exit $ac_status); }; }; then
13511 ac_header_compiler=yes
13512 else
13513 echo "$as_me: failed program was:" >&5
13514 sed 's/^/| /' conftest.$ac_ext >&5
13515
13516 ac_header_compiler=no
13517 fi
13518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13519 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13520 echo "${ECHO_T}$ac_header_compiler" >&6
13521
13522 # Is the header present?
13523 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13524 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13525 cat >conftest.$ac_ext <<_ACEOF
13526 /* confdefs.h. */
13527 _ACEOF
13528 cat confdefs.h >>conftest.$ac_ext
13529 cat >>conftest.$ac_ext <<_ACEOF
13530 /* end confdefs.h. */
13531 #include <$ac_header>
13532 _ACEOF
13533 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13534 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13535 ac_status=$?
13536 grep -v '^ *+' conftest.er1 >conftest.err
13537 rm -f conftest.er1
13538 cat conftest.err >&5
13539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13540 (exit $ac_status); } >/dev/null; then
13541 if test -s conftest.err; then
13542 ac_cpp_err=$ac_c_preproc_warn_flag
13543 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13544 else
13545 ac_cpp_err=
13546 fi
13547 else
13548 ac_cpp_err=yes
13549 fi
13550 if test -z "$ac_cpp_err"; then
13551 ac_header_preproc=yes
13552 else
13553 echo "$as_me: failed program was:" >&5
13554 sed 's/^/| /' conftest.$ac_ext >&5
13555
13556 ac_header_preproc=no
13557 fi
13558 rm -f conftest.err conftest.$ac_ext
13559 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13560 echo "${ECHO_T}$ac_header_preproc" >&6
13561
13562 # So? What about this header?
13563 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13564 yes:no: )
13565 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13566 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13567 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13568 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13569 ac_header_preproc=yes
13570 ;;
13571 no:yes:* )
13572 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13573 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13574 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13575 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13576 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13577 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13578 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13579 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13580 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13581 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13582 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13583 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13584 (
13585 cat <<\_ASBOX
13586 ## ----------------------------------------- ##
13587 ## Report this to wx-dev@lists.wxwidgets.org ##
13588 ## ----------------------------------------- ##
13589 _ASBOX
13590 ) |
13591 sed "s/^/$as_me: WARNING: /" >&2
13592 ;;
13593 esac
13594 echo "$as_me:$LINENO: checking for $ac_header" >&5
13595 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13596 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13597 echo $ECHO_N "(cached) $ECHO_C" >&6
13598 else
13599 eval "$as_ac_Header=\$ac_header_preproc"
13600 fi
13601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13602 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13603
13604 fi
13605 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13606 cat >>confdefs.h <<_ACEOF
13607 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13608 _ACEOF
13609
13610 fi
13611
13612 done
13613
13614 fi
13615
13616
13617 for ac_header in fnmatch.h
13618 do
13619 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13620 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13621 echo "$as_me:$LINENO: checking for $ac_header" >&5
13622 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13623 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13624 echo $ECHO_N "(cached) $ECHO_C" >&6
13625 fi
13626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13627 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13628 else
13629 # Is the header compilable?
13630 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13631 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13632 cat >conftest.$ac_ext <<_ACEOF
13633 /* confdefs.h. */
13634 _ACEOF
13635 cat confdefs.h >>conftest.$ac_ext
13636 cat >>conftest.$ac_ext <<_ACEOF
13637 /* end confdefs.h. */
13638 $ac_includes_default
13639 #include <$ac_header>
13640 _ACEOF
13641 rm -f conftest.$ac_objext
13642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13643 (eval $ac_compile) 2>conftest.er1
13644 ac_status=$?
13645 grep -v '^ *+' conftest.er1 >conftest.err
13646 rm -f conftest.er1
13647 cat conftest.err >&5
13648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13649 (exit $ac_status); } &&
13650 { ac_try='test -z "$ac_c_werror_flag"
13651 || test ! -s conftest.err'
13652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13653 (eval $ac_try) 2>&5
13654 ac_status=$?
13655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13656 (exit $ac_status); }; } &&
13657 { ac_try='test -s conftest.$ac_objext'
13658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13659 (eval $ac_try) 2>&5
13660 ac_status=$?
13661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13662 (exit $ac_status); }; }; then
13663 ac_header_compiler=yes
13664 else
13665 echo "$as_me: failed program was:" >&5
13666 sed 's/^/| /' conftest.$ac_ext >&5
13667
13668 ac_header_compiler=no
13669 fi
13670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13671 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13672 echo "${ECHO_T}$ac_header_compiler" >&6
13673
13674 # Is the header present?
13675 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13676 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13677 cat >conftest.$ac_ext <<_ACEOF
13678 /* confdefs.h. */
13679 _ACEOF
13680 cat confdefs.h >>conftest.$ac_ext
13681 cat >>conftest.$ac_ext <<_ACEOF
13682 /* end confdefs.h. */
13683 #include <$ac_header>
13684 _ACEOF
13685 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13686 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13687 ac_status=$?
13688 grep -v '^ *+' conftest.er1 >conftest.err
13689 rm -f conftest.er1
13690 cat conftest.err >&5
13691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13692 (exit $ac_status); } >/dev/null; then
13693 if test -s conftest.err; then
13694 ac_cpp_err=$ac_c_preproc_warn_flag
13695 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13696 else
13697 ac_cpp_err=
13698 fi
13699 else
13700 ac_cpp_err=yes
13701 fi
13702 if test -z "$ac_cpp_err"; then
13703 ac_header_preproc=yes
13704 else
13705 echo "$as_me: failed program was:" >&5
13706 sed 's/^/| /' conftest.$ac_ext >&5
13707
13708 ac_header_preproc=no
13709 fi
13710 rm -f conftest.err conftest.$ac_ext
13711 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13712 echo "${ECHO_T}$ac_header_preproc" >&6
13713
13714 # So? What about this header?
13715 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13716 yes:no: )
13717 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13718 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13719 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13720 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13721 ac_header_preproc=yes
13722 ;;
13723 no:yes:* )
13724 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13725 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13726 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13727 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13728 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13729 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13730 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13731 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13732 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13733 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13734 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13735 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13736 (
13737 cat <<\_ASBOX
13738 ## ----------------------------------------- ##
13739 ## Report this to wx-dev@lists.wxwidgets.org ##
13740 ## ----------------------------------------- ##
13741 _ASBOX
13742 ) |
13743 sed "s/^/$as_me: WARNING: /" >&2
13744 ;;
13745 esac
13746 echo "$as_me:$LINENO: checking for $ac_header" >&5
13747 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13748 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13749 echo $ECHO_N "(cached) $ECHO_C" >&6
13750 else
13751 eval "$as_ac_Header=\$ac_header_preproc"
13752 fi
13753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13754 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13755
13756 fi
13757 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13758 cat >>confdefs.h <<_ACEOF
13759 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13760 _ACEOF
13761
13762 fi
13763
13764 done
13765
13766
13767 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13768
13769 for ac_func in fnmatch
13770 do
13771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13772 echo "$as_me:$LINENO: checking for $ac_func" >&5
13773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13774 if eval "test \"\${$as_ac_var+set}\" = set"; then
13775 echo $ECHO_N "(cached) $ECHO_C" >&6
13776 else
13777 cat >conftest.$ac_ext <<_ACEOF
13778 /* confdefs.h. */
13779 _ACEOF
13780 cat confdefs.h >>conftest.$ac_ext
13781 cat >>conftest.$ac_ext <<_ACEOF
13782 /* end confdefs.h. */
13783 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13784 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13785 #define $ac_func innocuous_$ac_func
13786
13787 /* System header to define __stub macros and hopefully few prototypes,
13788 which can conflict with char $ac_func (); below.
13789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13790 <limits.h> exists even on freestanding compilers. */
13791
13792 #ifdef __STDC__
13793 # include <limits.h>
13794 #else
13795 # include <assert.h>
13796 #endif
13797
13798 #undef $ac_func
13799
13800 /* Override any gcc2 internal prototype to avoid an error. */
13801 #ifdef __cplusplus
13802 extern "C"
13803 {
13804 #endif
13805 /* We use char because int might match the return type of a gcc2
13806 builtin and then its argument prototype would still apply. */
13807 char $ac_func ();
13808 /* The GNU C library defines this for functions which it implements
13809 to always fail with ENOSYS. Some functions are actually named
13810 something starting with __ and the normal name is an alias. */
13811 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13812 choke me
13813 #else
13814 char (*f) () = $ac_func;
13815 #endif
13816 #ifdef __cplusplus
13817 }
13818 #endif
13819
13820 int
13821 main ()
13822 {
13823 return f != $ac_func;
13824 ;
13825 return 0;
13826 }
13827 _ACEOF
13828 rm -f conftest.$ac_objext conftest$ac_exeext
13829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13830 (eval $ac_link) 2>conftest.er1
13831 ac_status=$?
13832 grep -v '^ *+' conftest.er1 >conftest.err
13833 rm -f conftest.er1
13834 cat conftest.err >&5
13835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13836 (exit $ac_status); } &&
13837 { ac_try='test -z "$ac_c_werror_flag"
13838 || test ! -s conftest.err'
13839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13840 (eval $ac_try) 2>&5
13841 ac_status=$?
13842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13843 (exit $ac_status); }; } &&
13844 { ac_try='test -s conftest$ac_exeext'
13845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13846 (eval $ac_try) 2>&5
13847 ac_status=$?
13848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13849 (exit $ac_status); }; }; then
13850 eval "$as_ac_var=yes"
13851 else
13852 echo "$as_me: failed program was:" >&5
13853 sed 's/^/| /' conftest.$ac_ext >&5
13854
13855 eval "$as_ac_var=no"
13856 fi
13857 rm -f conftest.err conftest.$ac_objext \
13858 conftest$ac_exeext conftest.$ac_ext
13859 fi
13860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13861 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13862 if test `eval echo '${'$as_ac_var'}'` = yes; then
13863 cat >>confdefs.h <<_ACEOF
13864 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13865 _ACEOF
13866
13867 fi
13868 done
13869
13870 fi
13871
13872
13873 for ac_header in langinfo.h
13874 do
13875 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13876 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13877 echo "$as_me:$LINENO: checking for $ac_header" >&5
13878 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13879 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13880 echo $ECHO_N "(cached) $ECHO_C" >&6
13881 fi
13882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13883 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13884 else
13885 # Is the header compilable?
13886 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13887 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13888 cat >conftest.$ac_ext <<_ACEOF
13889 /* confdefs.h. */
13890 _ACEOF
13891 cat confdefs.h >>conftest.$ac_ext
13892 cat >>conftest.$ac_ext <<_ACEOF
13893 /* end confdefs.h. */
13894 $ac_includes_default
13895 #include <$ac_header>
13896 _ACEOF
13897 rm -f conftest.$ac_objext
13898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13899 (eval $ac_compile) 2>conftest.er1
13900 ac_status=$?
13901 grep -v '^ *+' conftest.er1 >conftest.err
13902 rm -f conftest.er1
13903 cat conftest.err >&5
13904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13905 (exit $ac_status); } &&
13906 { ac_try='test -z "$ac_c_werror_flag"
13907 || test ! -s conftest.err'
13908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13909 (eval $ac_try) 2>&5
13910 ac_status=$?
13911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13912 (exit $ac_status); }; } &&
13913 { ac_try='test -s conftest.$ac_objext'
13914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13915 (eval $ac_try) 2>&5
13916 ac_status=$?
13917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13918 (exit $ac_status); }; }; then
13919 ac_header_compiler=yes
13920 else
13921 echo "$as_me: failed program was:" >&5
13922 sed 's/^/| /' conftest.$ac_ext >&5
13923
13924 ac_header_compiler=no
13925 fi
13926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13927 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13928 echo "${ECHO_T}$ac_header_compiler" >&6
13929
13930 # Is the header present?
13931 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13932 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13933 cat >conftest.$ac_ext <<_ACEOF
13934 /* confdefs.h. */
13935 _ACEOF
13936 cat confdefs.h >>conftest.$ac_ext
13937 cat >>conftest.$ac_ext <<_ACEOF
13938 /* end confdefs.h. */
13939 #include <$ac_header>
13940 _ACEOF
13941 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13942 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13943 ac_status=$?
13944 grep -v '^ *+' conftest.er1 >conftest.err
13945 rm -f conftest.er1
13946 cat conftest.err >&5
13947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13948 (exit $ac_status); } >/dev/null; then
13949 if test -s conftest.err; then
13950 ac_cpp_err=$ac_c_preproc_warn_flag
13951 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13952 else
13953 ac_cpp_err=
13954 fi
13955 else
13956 ac_cpp_err=yes
13957 fi
13958 if test -z "$ac_cpp_err"; then
13959 ac_header_preproc=yes
13960 else
13961 echo "$as_me: failed program was:" >&5
13962 sed 's/^/| /' conftest.$ac_ext >&5
13963
13964 ac_header_preproc=no
13965 fi
13966 rm -f conftest.err conftest.$ac_ext
13967 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13968 echo "${ECHO_T}$ac_header_preproc" >&6
13969
13970 # So? What about this header?
13971 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13972 yes:no: )
13973 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13974 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13975 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13976 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13977 ac_header_preproc=yes
13978 ;;
13979 no:yes:* )
13980 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13981 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13982 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13983 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13984 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13985 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13986 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13987 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13988 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13989 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13990 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13991 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13992 (
13993 cat <<\_ASBOX
13994 ## ----------------------------------------- ##
13995 ## Report this to wx-dev@lists.wxwidgets.org ##
13996 ## ----------------------------------------- ##
13997 _ASBOX
13998 ) |
13999 sed "s/^/$as_me: WARNING: /" >&2
14000 ;;
14001 esac
14002 echo "$as_me:$LINENO: checking for $ac_header" >&5
14003 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14004 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14005 echo $ECHO_N "(cached) $ECHO_C" >&6
14006 else
14007 eval "$as_ac_Header=\$ac_header_preproc"
14008 fi
14009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14010 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14011
14012 fi
14013 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14014 cat >>confdefs.h <<_ACEOF
14015 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14016 _ACEOF
14017
14018 fi
14019
14020 done
14021
14022
14023 case "${host}" in
14024 *-pc-os2_emx | *-pc-os2-emx )
14025 if test $ac_cv_header_langinfo_h = "yes"; then
14026 LIBS="$LIBS -lintl"
14027 fi
14028 ;;
14029 esac
14030
14031 if test "$wxUSE_GUI" = "yes"; then
14032 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
14033
14034 for ac_header in X11/Xlib.h
14035 do
14036 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14037 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14038 echo "$as_me:$LINENO: checking for $ac_header" >&5
14039 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14040 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14041 echo $ECHO_N "(cached) $ECHO_C" >&6
14042 fi
14043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14044 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14045 else
14046 # Is the header compilable?
14047 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14048 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14049 cat >conftest.$ac_ext <<_ACEOF
14050 /* confdefs.h. */
14051 _ACEOF
14052 cat confdefs.h >>conftest.$ac_ext
14053 cat >>conftest.$ac_ext <<_ACEOF
14054 /* end confdefs.h. */
14055 $ac_includes_default
14056 #include <$ac_header>
14057 _ACEOF
14058 rm -f conftest.$ac_objext
14059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14060 (eval $ac_compile) 2>conftest.er1
14061 ac_status=$?
14062 grep -v '^ *+' conftest.er1 >conftest.err
14063 rm -f conftest.er1
14064 cat conftest.err >&5
14065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14066 (exit $ac_status); } &&
14067 { ac_try='test -z "$ac_c_werror_flag"
14068 || test ! -s conftest.err'
14069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14070 (eval $ac_try) 2>&5
14071 ac_status=$?
14072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14073 (exit $ac_status); }; } &&
14074 { ac_try='test -s conftest.$ac_objext'
14075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14076 (eval $ac_try) 2>&5
14077 ac_status=$?
14078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14079 (exit $ac_status); }; }; then
14080 ac_header_compiler=yes
14081 else
14082 echo "$as_me: failed program was:" >&5
14083 sed 's/^/| /' conftest.$ac_ext >&5
14084
14085 ac_header_compiler=no
14086 fi
14087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14088 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14089 echo "${ECHO_T}$ac_header_compiler" >&6
14090
14091 # Is the header present?
14092 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14093 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14094 cat >conftest.$ac_ext <<_ACEOF
14095 /* confdefs.h. */
14096 _ACEOF
14097 cat confdefs.h >>conftest.$ac_ext
14098 cat >>conftest.$ac_ext <<_ACEOF
14099 /* end confdefs.h. */
14100 #include <$ac_header>
14101 _ACEOF
14102 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14103 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14104 ac_status=$?
14105 grep -v '^ *+' conftest.er1 >conftest.err
14106 rm -f conftest.er1
14107 cat conftest.err >&5
14108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14109 (exit $ac_status); } >/dev/null; then
14110 if test -s conftest.err; then
14111 ac_cpp_err=$ac_c_preproc_warn_flag
14112 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14113 else
14114 ac_cpp_err=
14115 fi
14116 else
14117 ac_cpp_err=yes
14118 fi
14119 if test -z "$ac_cpp_err"; then
14120 ac_header_preproc=yes
14121 else
14122 echo "$as_me: failed program was:" >&5
14123 sed 's/^/| /' conftest.$ac_ext >&5
14124
14125 ac_header_preproc=no
14126 fi
14127 rm -f conftest.err conftest.$ac_ext
14128 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14129 echo "${ECHO_T}$ac_header_preproc" >&6
14130
14131 # So? What about this header?
14132 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14133 yes:no: )
14134 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14135 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14136 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14137 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14138 ac_header_preproc=yes
14139 ;;
14140 no:yes:* )
14141 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14142 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14143 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14144 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14145 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14146 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14147 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14148 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14149 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14150 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14151 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14152 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14153 (
14154 cat <<\_ASBOX
14155 ## ----------------------------------------- ##
14156 ## Report this to wx-dev@lists.wxwidgets.org ##
14157 ## ----------------------------------------- ##
14158 _ASBOX
14159 ) |
14160 sed "s/^/$as_me: WARNING: /" >&2
14161 ;;
14162 esac
14163 echo "$as_me:$LINENO: checking for $ac_header" >&5
14164 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14165 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14166 echo $ECHO_N "(cached) $ECHO_C" >&6
14167 else
14168 eval "$as_ac_Header=\$ac_header_preproc"
14169 fi
14170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14171 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14172
14173 fi
14174 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14175 cat >>confdefs.h <<_ACEOF
14176 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14177 _ACEOF
14178
14179 fi
14180
14181 done
14182
14183
14184 for ac_header in X11/XKBlib.h
14185 do
14186 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14187 echo "$as_me:$LINENO: checking for $ac_header" >&5
14188 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14189 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14190 echo $ECHO_N "(cached) $ECHO_C" >&6
14191 else
14192 cat >conftest.$ac_ext <<_ACEOF
14193 /* confdefs.h. */
14194 _ACEOF
14195 cat confdefs.h >>conftest.$ac_ext
14196 cat >>conftest.$ac_ext <<_ACEOF
14197 /* end confdefs.h. */
14198
14199 #if HAVE_X11_XLIB_H
14200 #include <X11/Xlib.h>
14201 #endif
14202
14203
14204 #include <$ac_header>
14205 _ACEOF
14206 rm -f conftest.$ac_objext
14207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14208 (eval $ac_compile) 2>conftest.er1
14209 ac_status=$?
14210 grep -v '^ *+' conftest.er1 >conftest.err
14211 rm -f conftest.er1
14212 cat conftest.err >&5
14213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14214 (exit $ac_status); } &&
14215 { ac_try='test -z "$ac_c_werror_flag"
14216 || test ! -s conftest.err'
14217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14218 (eval $ac_try) 2>&5
14219 ac_status=$?
14220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14221 (exit $ac_status); }; } &&
14222 { ac_try='test -s conftest.$ac_objext'
14223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14224 (eval $ac_try) 2>&5
14225 ac_status=$?
14226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14227 (exit $ac_status); }; }; then
14228 eval "$as_ac_Header=yes"
14229 else
14230 echo "$as_me: failed program was:" >&5
14231 sed 's/^/| /' conftest.$ac_ext >&5
14232
14233 eval "$as_ac_Header=no"
14234 fi
14235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14236 fi
14237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14238 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14239 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14240 cat >>confdefs.h <<_ACEOF
14241 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14242 _ACEOF
14243
14244 fi
14245
14246 done
14247
14248 fi
14249 fi
14250
14251
14252 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14253 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14254 if test "${ac_cv_c_const+set}" = set; then
14255 echo $ECHO_N "(cached) $ECHO_C" >&6
14256 else
14257 cat >conftest.$ac_ext <<_ACEOF
14258 /* confdefs.h. */
14259 _ACEOF
14260 cat confdefs.h >>conftest.$ac_ext
14261 cat >>conftest.$ac_ext <<_ACEOF
14262 /* end confdefs.h. */
14263
14264 int
14265 main ()
14266 {
14267 /* FIXME: Include the comments suggested by Paul. */
14268 #ifndef __cplusplus
14269 /* Ultrix mips cc rejects this. */
14270 typedef int charset[2];
14271 const charset x;
14272 /* SunOS 4.1.1 cc rejects this. */
14273 char const *const *ccp;
14274 char **p;
14275 /* NEC SVR4.0.2 mips cc rejects this. */
14276 struct point {int x, y;};
14277 static struct point const zero = {0,0};
14278 /* AIX XL C 1.02.0.0 rejects this.
14279 It does not let you subtract one const X* pointer from another in
14280 an arm of an if-expression whose if-part is not a constant
14281 expression */
14282 const char *g = "string";
14283 ccp = &g + (g ? g-g : 0);
14284 /* HPUX 7.0 cc rejects these. */
14285 ++ccp;
14286 p = (char**) ccp;
14287 ccp = (char const *const *) p;
14288 { /* SCO 3.2v4 cc rejects this. */
14289 char *t;
14290 char const *s = 0 ? (char *) 0 : (char const *) 0;
14291
14292 *t++ = 0;
14293 }
14294 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14295 int x[] = {25, 17};
14296 const int *foo = &x[0];
14297 ++foo;
14298 }
14299 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14300 typedef const int *iptr;
14301 iptr p = 0;
14302 ++p;
14303 }
14304 { /* AIX XL C 1.02.0.0 rejects this saying
14305 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14306 struct s { int j; const int *ap[3]; };
14307 struct s *b; b->j = 5;
14308 }
14309 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14310 const int foo = 10;
14311 }
14312 #endif
14313
14314 ;
14315 return 0;
14316 }
14317 _ACEOF
14318 rm -f conftest.$ac_objext
14319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14320 (eval $ac_compile) 2>conftest.er1
14321 ac_status=$?
14322 grep -v '^ *+' conftest.er1 >conftest.err
14323 rm -f conftest.er1
14324 cat conftest.err >&5
14325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14326 (exit $ac_status); } &&
14327 { ac_try='test -z "$ac_c_werror_flag"
14328 || test ! -s conftest.err'
14329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14330 (eval $ac_try) 2>&5
14331 ac_status=$?
14332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14333 (exit $ac_status); }; } &&
14334 { ac_try='test -s conftest.$ac_objext'
14335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14336 (eval $ac_try) 2>&5
14337 ac_status=$?
14338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14339 (exit $ac_status); }; }; then
14340 ac_cv_c_const=yes
14341 else
14342 echo "$as_me: failed program was:" >&5
14343 sed 's/^/| /' conftest.$ac_ext >&5
14344
14345 ac_cv_c_const=no
14346 fi
14347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14348 fi
14349 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14350 echo "${ECHO_T}$ac_cv_c_const" >&6
14351 if test $ac_cv_c_const = no; then
14352
14353 cat >>confdefs.h <<\_ACEOF
14354 #define const
14355 _ACEOF
14356
14357 fi
14358
14359 echo "$as_me:$LINENO: checking for inline" >&5
14360 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14361 if test "${ac_cv_c_inline+set}" = set; then
14362 echo $ECHO_N "(cached) $ECHO_C" >&6
14363 else
14364 ac_cv_c_inline=no
14365 for ac_kw in inline __inline__ __inline; do
14366 cat >conftest.$ac_ext <<_ACEOF
14367 /* confdefs.h. */
14368 _ACEOF
14369 cat confdefs.h >>conftest.$ac_ext
14370 cat >>conftest.$ac_ext <<_ACEOF
14371 /* end confdefs.h. */
14372 #ifndef __cplusplus
14373 typedef int foo_t;
14374 static $ac_kw foo_t static_foo () {return 0; }
14375 $ac_kw foo_t foo () {return 0; }
14376 #endif
14377
14378 _ACEOF
14379 rm -f conftest.$ac_objext
14380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14381 (eval $ac_compile) 2>conftest.er1
14382 ac_status=$?
14383 grep -v '^ *+' conftest.er1 >conftest.err
14384 rm -f conftest.er1
14385 cat conftest.err >&5
14386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14387 (exit $ac_status); } &&
14388 { ac_try='test -z "$ac_c_werror_flag"
14389 || test ! -s conftest.err'
14390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14391 (eval $ac_try) 2>&5
14392 ac_status=$?
14393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14394 (exit $ac_status); }; } &&
14395 { ac_try='test -s conftest.$ac_objext'
14396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14397 (eval $ac_try) 2>&5
14398 ac_status=$?
14399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14400 (exit $ac_status); }; }; then
14401 ac_cv_c_inline=$ac_kw; break
14402 else
14403 echo "$as_me: failed program was:" >&5
14404 sed 's/^/| /' conftest.$ac_ext >&5
14405
14406 fi
14407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14408 done
14409
14410 fi
14411 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14412 echo "${ECHO_T}$ac_cv_c_inline" >&6
14413
14414
14415 case $ac_cv_c_inline in
14416 inline | yes) ;;
14417 *)
14418 case $ac_cv_c_inline in
14419 no) ac_val=;;
14420 *) ac_val=$ac_cv_c_inline;;
14421 esac
14422 cat >>confdefs.h <<_ACEOF
14423 #ifndef __cplusplus
14424 #define inline $ac_val
14425 #endif
14426 _ACEOF
14427 ;;
14428 esac
14429
14430
14431 echo "$as_me:$LINENO: checking for char" >&5
14432 echo $ECHO_N "checking for char... $ECHO_C" >&6
14433 if test "${ac_cv_type_char+set}" = set; then
14434 echo $ECHO_N "(cached) $ECHO_C" >&6
14435 else
14436 cat >conftest.$ac_ext <<_ACEOF
14437 /* confdefs.h. */
14438 _ACEOF
14439 cat confdefs.h >>conftest.$ac_ext
14440 cat >>conftest.$ac_ext <<_ACEOF
14441 /* end confdefs.h. */
14442 $ac_includes_default
14443 int
14444 main ()
14445 {
14446 if ((char *) 0)
14447 return 0;
14448 if (sizeof (char))
14449 return 0;
14450 ;
14451 return 0;
14452 }
14453 _ACEOF
14454 rm -f conftest.$ac_objext
14455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14456 (eval $ac_compile) 2>conftest.er1
14457 ac_status=$?
14458 grep -v '^ *+' conftest.er1 >conftest.err
14459 rm -f conftest.er1
14460 cat conftest.err >&5
14461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14462 (exit $ac_status); } &&
14463 { ac_try='test -z "$ac_c_werror_flag"
14464 || test ! -s conftest.err'
14465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14466 (eval $ac_try) 2>&5
14467 ac_status=$?
14468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14469 (exit $ac_status); }; } &&
14470 { ac_try='test -s conftest.$ac_objext'
14471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14472 (eval $ac_try) 2>&5
14473 ac_status=$?
14474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14475 (exit $ac_status); }; }; then
14476 ac_cv_type_char=yes
14477 else
14478 echo "$as_me: failed program was:" >&5
14479 sed 's/^/| /' conftest.$ac_ext >&5
14480
14481 ac_cv_type_char=no
14482 fi
14483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14484 fi
14485 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14486 echo "${ECHO_T}$ac_cv_type_char" >&6
14487
14488 echo "$as_me:$LINENO: checking size of char" >&5
14489 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14490 if test "${ac_cv_sizeof_char+set}" = set; then
14491 echo $ECHO_N "(cached) $ECHO_C" >&6
14492 else
14493 if test "$ac_cv_type_char" = yes; then
14494 # The cast to unsigned long works around a bug in the HP C Compiler
14495 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14496 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14497 # This bug is HP SR number 8606223364.
14498 if test "$cross_compiling" = yes; then
14499 # Depending upon the size, compute the lo and hi bounds.
14500 cat >conftest.$ac_ext <<_ACEOF
14501 /* confdefs.h. */
14502 _ACEOF
14503 cat confdefs.h >>conftest.$ac_ext
14504 cat >>conftest.$ac_ext <<_ACEOF
14505 /* end confdefs.h. */
14506 $ac_includes_default
14507 int
14508 main ()
14509 {
14510 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14511 test_array [0] = 0
14512
14513 ;
14514 return 0;
14515 }
14516 _ACEOF
14517 rm -f conftest.$ac_objext
14518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14519 (eval $ac_compile) 2>conftest.er1
14520 ac_status=$?
14521 grep -v '^ *+' conftest.er1 >conftest.err
14522 rm -f conftest.er1
14523 cat conftest.err >&5
14524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14525 (exit $ac_status); } &&
14526 { ac_try='test -z "$ac_c_werror_flag"
14527 || test ! -s conftest.err'
14528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14529 (eval $ac_try) 2>&5
14530 ac_status=$?
14531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14532 (exit $ac_status); }; } &&
14533 { ac_try='test -s conftest.$ac_objext'
14534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14535 (eval $ac_try) 2>&5
14536 ac_status=$?
14537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14538 (exit $ac_status); }; }; then
14539 ac_lo=0 ac_mid=0
14540 while :; do
14541 cat >conftest.$ac_ext <<_ACEOF
14542 /* confdefs.h. */
14543 _ACEOF
14544 cat confdefs.h >>conftest.$ac_ext
14545 cat >>conftest.$ac_ext <<_ACEOF
14546 /* end confdefs.h. */
14547 $ac_includes_default
14548 int
14549 main ()
14550 {
14551 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14552 test_array [0] = 0
14553
14554 ;
14555 return 0;
14556 }
14557 _ACEOF
14558 rm -f conftest.$ac_objext
14559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14560 (eval $ac_compile) 2>conftest.er1
14561 ac_status=$?
14562 grep -v '^ *+' conftest.er1 >conftest.err
14563 rm -f conftest.er1
14564 cat conftest.err >&5
14565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14566 (exit $ac_status); } &&
14567 { ac_try='test -z "$ac_c_werror_flag"
14568 || test ! -s conftest.err'
14569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14570 (eval $ac_try) 2>&5
14571 ac_status=$?
14572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14573 (exit $ac_status); }; } &&
14574 { ac_try='test -s conftest.$ac_objext'
14575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14576 (eval $ac_try) 2>&5
14577 ac_status=$?
14578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14579 (exit $ac_status); }; }; then
14580 ac_hi=$ac_mid; break
14581 else
14582 echo "$as_me: failed program was:" >&5
14583 sed 's/^/| /' conftest.$ac_ext >&5
14584
14585 ac_lo=`expr $ac_mid + 1`
14586 if test $ac_lo -le $ac_mid; then
14587 ac_lo= ac_hi=
14588 break
14589 fi
14590 ac_mid=`expr 2 '*' $ac_mid + 1`
14591 fi
14592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14593 done
14594 else
14595 echo "$as_me: failed program was:" >&5
14596 sed 's/^/| /' conftest.$ac_ext >&5
14597
14598 cat >conftest.$ac_ext <<_ACEOF
14599 /* confdefs.h. */
14600 _ACEOF
14601 cat confdefs.h >>conftest.$ac_ext
14602 cat >>conftest.$ac_ext <<_ACEOF
14603 /* end confdefs.h. */
14604 $ac_includes_default
14605 int
14606 main ()
14607 {
14608 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14609 test_array [0] = 0
14610
14611 ;
14612 return 0;
14613 }
14614 _ACEOF
14615 rm -f conftest.$ac_objext
14616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14617 (eval $ac_compile) 2>conftest.er1
14618 ac_status=$?
14619 grep -v '^ *+' conftest.er1 >conftest.err
14620 rm -f conftest.er1
14621 cat conftest.err >&5
14622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14623 (exit $ac_status); } &&
14624 { ac_try='test -z "$ac_c_werror_flag"
14625 || test ! -s conftest.err'
14626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14627 (eval $ac_try) 2>&5
14628 ac_status=$?
14629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14630 (exit $ac_status); }; } &&
14631 { ac_try='test -s conftest.$ac_objext'
14632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14633 (eval $ac_try) 2>&5
14634 ac_status=$?
14635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14636 (exit $ac_status); }; }; then
14637 ac_hi=-1 ac_mid=-1
14638 while :; do
14639 cat >conftest.$ac_ext <<_ACEOF
14640 /* confdefs.h. */
14641 _ACEOF
14642 cat confdefs.h >>conftest.$ac_ext
14643 cat >>conftest.$ac_ext <<_ACEOF
14644 /* end confdefs.h. */
14645 $ac_includes_default
14646 int
14647 main ()
14648 {
14649 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14650 test_array [0] = 0
14651
14652 ;
14653 return 0;
14654 }
14655 _ACEOF
14656 rm -f conftest.$ac_objext
14657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14658 (eval $ac_compile) 2>conftest.er1
14659 ac_status=$?
14660 grep -v '^ *+' conftest.er1 >conftest.err
14661 rm -f conftest.er1
14662 cat conftest.err >&5
14663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14664 (exit $ac_status); } &&
14665 { ac_try='test -z "$ac_c_werror_flag"
14666 || test ! -s conftest.err'
14667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14668 (eval $ac_try) 2>&5
14669 ac_status=$?
14670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14671 (exit $ac_status); }; } &&
14672 { ac_try='test -s conftest.$ac_objext'
14673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14674 (eval $ac_try) 2>&5
14675 ac_status=$?
14676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14677 (exit $ac_status); }; }; then
14678 ac_lo=$ac_mid; break
14679 else
14680 echo "$as_me: failed program was:" >&5
14681 sed 's/^/| /' conftest.$ac_ext >&5
14682
14683 ac_hi=`expr '(' $ac_mid ')' - 1`
14684 if test $ac_mid -le $ac_hi; then
14685 ac_lo= ac_hi=
14686 break
14687 fi
14688 ac_mid=`expr 2 '*' $ac_mid`
14689 fi
14690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14691 done
14692 else
14693 echo "$as_me: failed program was:" >&5
14694 sed 's/^/| /' conftest.$ac_ext >&5
14695
14696 ac_lo= ac_hi=
14697 fi
14698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14699 fi
14700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14701 # Binary search between lo and hi bounds.
14702 while test "x$ac_lo" != "x$ac_hi"; do
14703 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14704 cat >conftest.$ac_ext <<_ACEOF
14705 /* confdefs.h. */
14706 _ACEOF
14707 cat confdefs.h >>conftest.$ac_ext
14708 cat >>conftest.$ac_ext <<_ACEOF
14709 /* end confdefs.h. */
14710 $ac_includes_default
14711 int
14712 main ()
14713 {
14714 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14715 test_array [0] = 0
14716
14717 ;
14718 return 0;
14719 }
14720 _ACEOF
14721 rm -f conftest.$ac_objext
14722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14723 (eval $ac_compile) 2>conftest.er1
14724 ac_status=$?
14725 grep -v '^ *+' conftest.er1 >conftest.err
14726 rm -f conftest.er1
14727 cat conftest.err >&5
14728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14729 (exit $ac_status); } &&
14730 { ac_try='test -z "$ac_c_werror_flag"
14731 || test ! -s conftest.err'
14732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14733 (eval $ac_try) 2>&5
14734 ac_status=$?
14735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14736 (exit $ac_status); }; } &&
14737 { ac_try='test -s conftest.$ac_objext'
14738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14739 (eval $ac_try) 2>&5
14740 ac_status=$?
14741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14742 (exit $ac_status); }; }; then
14743 ac_hi=$ac_mid
14744 else
14745 echo "$as_me: failed program was:" >&5
14746 sed 's/^/| /' conftest.$ac_ext >&5
14747
14748 ac_lo=`expr '(' $ac_mid ')' + 1`
14749 fi
14750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14751 done
14752 case $ac_lo in
14753 ?*) ac_cv_sizeof_char=$ac_lo;;
14754 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14755 See \`config.log' for more details." >&5
14756 echo "$as_me: error: cannot compute sizeof (char), 77
14757 See \`config.log' for more details." >&2;}
14758 { (exit 1); exit 1; }; } ;;
14759 esac
14760 else
14761 if test "$cross_compiling" = yes; then
14762 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14763 See \`config.log' for more details." >&5
14764 echo "$as_me: error: cannot run test program while cross compiling
14765 See \`config.log' for more details." >&2;}
14766 { (exit 1); exit 1; }; }
14767 else
14768 cat >conftest.$ac_ext <<_ACEOF
14769 /* confdefs.h. */
14770 _ACEOF
14771 cat confdefs.h >>conftest.$ac_ext
14772 cat >>conftest.$ac_ext <<_ACEOF
14773 /* end confdefs.h. */
14774 $ac_includes_default
14775 long longval () { return (long) (sizeof (char)); }
14776 unsigned long ulongval () { return (long) (sizeof (char)); }
14777 #include <stdio.h>
14778 #include <stdlib.h>
14779 int
14780 main ()
14781 {
14782
14783 FILE *f = fopen ("conftest.val", "w");
14784 if (! f)
14785 exit (1);
14786 if (((long) (sizeof (char))) < 0)
14787 {
14788 long i = longval ();
14789 if (i != ((long) (sizeof (char))))
14790 exit (1);
14791 fprintf (f, "%ld\n", i);
14792 }
14793 else
14794 {
14795 unsigned long i = ulongval ();
14796 if (i != ((long) (sizeof (char))))
14797 exit (1);
14798 fprintf (f, "%lu\n", i);
14799 }
14800 exit (ferror (f) || fclose (f) != 0);
14801
14802 ;
14803 return 0;
14804 }
14805 _ACEOF
14806 rm -f conftest$ac_exeext
14807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14808 (eval $ac_link) 2>&5
14809 ac_status=$?
14810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14811 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14813 (eval $ac_try) 2>&5
14814 ac_status=$?
14815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14816 (exit $ac_status); }; }; then
14817 ac_cv_sizeof_char=`cat conftest.val`
14818 else
14819 echo "$as_me: program exited with status $ac_status" >&5
14820 echo "$as_me: failed program was:" >&5
14821 sed 's/^/| /' conftest.$ac_ext >&5
14822
14823 ( exit $ac_status )
14824 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14825 See \`config.log' for more details." >&5
14826 echo "$as_me: error: cannot compute sizeof (char), 77
14827 See \`config.log' for more details." >&2;}
14828 { (exit 1); exit 1; }; }
14829 fi
14830 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14831 fi
14832 fi
14833 rm -f conftest.val
14834 else
14835 ac_cv_sizeof_char=0
14836 fi
14837 fi
14838 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14839 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14840 cat >>confdefs.h <<_ACEOF
14841 #define SIZEOF_CHAR $ac_cv_sizeof_char
14842 _ACEOF
14843
14844
14845 echo "$as_me:$LINENO: checking for short" >&5
14846 echo $ECHO_N "checking for short... $ECHO_C" >&6
14847 if test "${ac_cv_type_short+set}" = set; then
14848 echo $ECHO_N "(cached) $ECHO_C" >&6
14849 else
14850 cat >conftest.$ac_ext <<_ACEOF
14851 /* confdefs.h. */
14852 _ACEOF
14853 cat confdefs.h >>conftest.$ac_ext
14854 cat >>conftest.$ac_ext <<_ACEOF
14855 /* end confdefs.h. */
14856 $ac_includes_default
14857 int
14858 main ()
14859 {
14860 if ((short *) 0)
14861 return 0;
14862 if (sizeof (short))
14863 return 0;
14864 ;
14865 return 0;
14866 }
14867 _ACEOF
14868 rm -f conftest.$ac_objext
14869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14870 (eval $ac_compile) 2>conftest.er1
14871 ac_status=$?
14872 grep -v '^ *+' conftest.er1 >conftest.err
14873 rm -f conftest.er1
14874 cat conftest.err >&5
14875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14876 (exit $ac_status); } &&
14877 { ac_try='test -z "$ac_c_werror_flag"
14878 || test ! -s conftest.err'
14879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14880 (eval $ac_try) 2>&5
14881 ac_status=$?
14882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14883 (exit $ac_status); }; } &&
14884 { ac_try='test -s conftest.$ac_objext'
14885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14886 (eval $ac_try) 2>&5
14887 ac_status=$?
14888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14889 (exit $ac_status); }; }; then
14890 ac_cv_type_short=yes
14891 else
14892 echo "$as_me: failed program was:" >&5
14893 sed 's/^/| /' conftest.$ac_ext >&5
14894
14895 ac_cv_type_short=no
14896 fi
14897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14898 fi
14899 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14900 echo "${ECHO_T}$ac_cv_type_short" >&6
14901
14902 echo "$as_me:$LINENO: checking size of short" >&5
14903 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14904 if test "${ac_cv_sizeof_short+set}" = set; then
14905 echo $ECHO_N "(cached) $ECHO_C" >&6
14906 else
14907 if test "$ac_cv_type_short" = yes; then
14908 # The cast to unsigned long works around a bug in the HP C Compiler
14909 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14910 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14911 # This bug is HP SR number 8606223364.
14912 if test "$cross_compiling" = yes; then
14913 # Depending upon the size, compute the lo and hi bounds.
14914 cat >conftest.$ac_ext <<_ACEOF
14915 /* confdefs.h. */
14916 _ACEOF
14917 cat confdefs.h >>conftest.$ac_ext
14918 cat >>conftest.$ac_ext <<_ACEOF
14919 /* end confdefs.h. */
14920 $ac_includes_default
14921 int
14922 main ()
14923 {
14924 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14925 test_array [0] = 0
14926
14927 ;
14928 return 0;
14929 }
14930 _ACEOF
14931 rm -f conftest.$ac_objext
14932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14933 (eval $ac_compile) 2>conftest.er1
14934 ac_status=$?
14935 grep -v '^ *+' conftest.er1 >conftest.err
14936 rm -f conftest.er1
14937 cat conftest.err >&5
14938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14939 (exit $ac_status); } &&
14940 { ac_try='test -z "$ac_c_werror_flag"
14941 || test ! -s conftest.err'
14942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14943 (eval $ac_try) 2>&5
14944 ac_status=$?
14945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14946 (exit $ac_status); }; } &&
14947 { ac_try='test -s conftest.$ac_objext'
14948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14949 (eval $ac_try) 2>&5
14950 ac_status=$?
14951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14952 (exit $ac_status); }; }; then
14953 ac_lo=0 ac_mid=0
14954 while :; do
14955 cat >conftest.$ac_ext <<_ACEOF
14956 /* confdefs.h. */
14957 _ACEOF
14958 cat confdefs.h >>conftest.$ac_ext
14959 cat >>conftest.$ac_ext <<_ACEOF
14960 /* end confdefs.h. */
14961 $ac_includes_default
14962 int
14963 main ()
14964 {
14965 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14966 test_array [0] = 0
14967
14968 ;
14969 return 0;
14970 }
14971 _ACEOF
14972 rm -f conftest.$ac_objext
14973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14974 (eval $ac_compile) 2>conftest.er1
14975 ac_status=$?
14976 grep -v '^ *+' conftest.er1 >conftest.err
14977 rm -f conftest.er1
14978 cat conftest.err >&5
14979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14980 (exit $ac_status); } &&
14981 { ac_try='test -z "$ac_c_werror_flag"
14982 || test ! -s conftest.err'
14983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14984 (eval $ac_try) 2>&5
14985 ac_status=$?
14986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14987 (exit $ac_status); }; } &&
14988 { ac_try='test -s conftest.$ac_objext'
14989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14990 (eval $ac_try) 2>&5
14991 ac_status=$?
14992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14993 (exit $ac_status); }; }; then
14994 ac_hi=$ac_mid; break
14995 else
14996 echo "$as_me: failed program was:" >&5
14997 sed 's/^/| /' conftest.$ac_ext >&5
14998
14999 ac_lo=`expr $ac_mid + 1`
15000 if test $ac_lo -le $ac_mid; then
15001 ac_lo= ac_hi=
15002 break
15003 fi
15004 ac_mid=`expr 2 '*' $ac_mid + 1`
15005 fi
15006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15007 done
15008 else
15009 echo "$as_me: failed program was:" >&5
15010 sed 's/^/| /' conftest.$ac_ext >&5
15011
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))) < 0)];
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"
15039 || test ! -s conftest.err'
15040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15041 (eval $ac_try) 2>&5
15042 ac_status=$?
15043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15044 (exit $ac_status); }; } &&
15045 { ac_try='test -s conftest.$ac_objext'
15046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15047 (eval $ac_try) 2>&5
15048 ac_status=$?
15049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15050 (exit $ac_status); }; }; then
15051 ac_hi=-1 ac_mid=-1
15052 while :; do
15053 cat >conftest.$ac_ext <<_ACEOF
15054 /* confdefs.h. */
15055 _ACEOF
15056 cat confdefs.h >>conftest.$ac_ext
15057 cat >>conftest.$ac_ext <<_ACEOF
15058 /* end confdefs.h. */
15059 $ac_includes_default
15060 int
15061 main ()
15062 {
15063 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
15064 test_array [0] = 0
15065
15066 ;
15067 return 0;
15068 }
15069 _ACEOF
15070 rm -f conftest.$ac_objext
15071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15072 (eval $ac_compile) 2>conftest.er1
15073 ac_status=$?
15074 grep -v '^ *+' conftest.er1 >conftest.err
15075 rm -f conftest.er1
15076 cat conftest.err >&5
15077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15078 (exit $ac_status); } &&
15079 { ac_try='test -z "$ac_c_werror_flag"
15080 || test ! -s conftest.err'
15081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15082 (eval $ac_try) 2>&5
15083 ac_status=$?
15084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15085 (exit $ac_status); }; } &&
15086 { ac_try='test -s conftest.$ac_objext'
15087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15088 (eval $ac_try) 2>&5
15089 ac_status=$?
15090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15091 (exit $ac_status); }; }; then
15092 ac_lo=$ac_mid; break
15093 else
15094 echo "$as_me: failed program was:" >&5
15095 sed 's/^/| /' conftest.$ac_ext >&5
15096
15097 ac_hi=`expr '(' $ac_mid ')' - 1`
15098 if test $ac_mid -le $ac_hi; then
15099 ac_lo= ac_hi=
15100 break
15101 fi
15102 ac_mid=`expr 2 '*' $ac_mid`
15103 fi
15104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15105 done
15106 else
15107 echo "$as_me: failed program was:" >&5
15108 sed 's/^/| /' conftest.$ac_ext >&5
15109
15110 ac_lo= ac_hi=
15111 fi
15112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15113 fi
15114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15115 # Binary search between lo and hi bounds.
15116 while test "x$ac_lo" != "x$ac_hi"; do
15117 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15118 cat >conftest.$ac_ext <<_ACEOF
15119 /* confdefs.h. */
15120 _ACEOF
15121 cat confdefs.h >>conftest.$ac_ext
15122 cat >>conftest.$ac_ext <<_ACEOF
15123 /* end confdefs.h. */
15124 $ac_includes_default
15125 int
15126 main ()
15127 {
15128 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15129 test_array [0] = 0
15130
15131 ;
15132 return 0;
15133 }
15134 _ACEOF
15135 rm -f conftest.$ac_objext
15136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15137 (eval $ac_compile) 2>conftest.er1
15138 ac_status=$?
15139 grep -v '^ *+' conftest.er1 >conftest.err
15140 rm -f conftest.er1
15141 cat conftest.err >&5
15142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15143 (exit $ac_status); } &&
15144 { ac_try='test -z "$ac_c_werror_flag"
15145 || test ! -s conftest.err'
15146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15147 (eval $ac_try) 2>&5
15148 ac_status=$?
15149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15150 (exit $ac_status); }; } &&
15151 { ac_try='test -s conftest.$ac_objext'
15152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15153 (eval $ac_try) 2>&5
15154 ac_status=$?
15155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15156 (exit $ac_status); }; }; then
15157 ac_hi=$ac_mid
15158 else
15159 echo "$as_me: failed program was:" >&5
15160 sed 's/^/| /' conftest.$ac_ext >&5
15161
15162 ac_lo=`expr '(' $ac_mid ')' + 1`
15163 fi
15164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15165 done
15166 case $ac_lo in
15167 ?*) ac_cv_sizeof_short=$ac_lo;;
15168 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15169 See \`config.log' for more details." >&5
15170 echo "$as_me: error: cannot compute sizeof (short), 77
15171 See \`config.log' for more details." >&2;}
15172 { (exit 1); exit 1; }; } ;;
15173 esac
15174 else
15175 if test "$cross_compiling" = yes; then
15176 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15177 See \`config.log' for more details." >&5
15178 echo "$as_me: error: cannot run test program while cross compiling
15179 See \`config.log' for more details." >&2;}
15180 { (exit 1); exit 1; }; }
15181 else
15182 cat >conftest.$ac_ext <<_ACEOF
15183 /* confdefs.h. */
15184 _ACEOF
15185 cat confdefs.h >>conftest.$ac_ext
15186 cat >>conftest.$ac_ext <<_ACEOF
15187 /* end confdefs.h. */
15188 $ac_includes_default
15189 long longval () { return (long) (sizeof (short)); }
15190 unsigned long ulongval () { return (long) (sizeof (short)); }
15191 #include <stdio.h>
15192 #include <stdlib.h>
15193 int
15194 main ()
15195 {
15196
15197 FILE *f = fopen ("conftest.val", "w");
15198 if (! f)
15199 exit (1);
15200 if (((long) (sizeof (short))) < 0)
15201 {
15202 long i = longval ();
15203 if (i != ((long) (sizeof (short))))
15204 exit (1);
15205 fprintf (f, "%ld\n", i);
15206 }
15207 else
15208 {
15209 unsigned long i = ulongval ();
15210 if (i != ((long) (sizeof (short))))
15211 exit (1);
15212 fprintf (f, "%lu\n", i);
15213 }
15214 exit (ferror (f) || fclose (f) != 0);
15215
15216 ;
15217 return 0;
15218 }
15219 _ACEOF
15220 rm -f conftest$ac_exeext
15221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15222 (eval $ac_link) 2>&5
15223 ac_status=$?
15224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15225 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15227 (eval $ac_try) 2>&5
15228 ac_status=$?
15229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15230 (exit $ac_status); }; }; then
15231 ac_cv_sizeof_short=`cat conftest.val`
15232 else
15233 echo "$as_me: program exited with status $ac_status" >&5
15234 echo "$as_me: failed program was:" >&5
15235 sed 's/^/| /' conftest.$ac_ext >&5
15236
15237 ( exit $ac_status )
15238 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15239 See \`config.log' for more details." >&5
15240 echo "$as_me: error: cannot compute sizeof (short), 77
15241 See \`config.log' for more details." >&2;}
15242 { (exit 1); exit 1; }; }
15243 fi
15244 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15245 fi
15246 fi
15247 rm -f conftest.val
15248 else
15249 ac_cv_sizeof_short=0
15250 fi
15251 fi
15252 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15253 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15254 cat >>confdefs.h <<_ACEOF
15255 #define SIZEOF_SHORT $ac_cv_sizeof_short
15256 _ACEOF
15257
15258
15259 echo "$as_me:$LINENO: checking for void *" >&5
15260 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15261 if test "${ac_cv_type_void_p+set}" = set; then
15262 echo $ECHO_N "(cached) $ECHO_C" >&6
15263 else
15264 cat >conftest.$ac_ext <<_ACEOF
15265 /* confdefs.h. */
15266 _ACEOF
15267 cat confdefs.h >>conftest.$ac_ext
15268 cat >>conftest.$ac_ext <<_ACEOF
15269 /* end confdefs.h. */
15270 $ac_includes_default
15271 int
15272 main ()
15273 {
15274 if ((void * *) 0)
15275 return 0;
15276 if (sizeof (void *))
15277 return 0;
15278 ;
15279 return 0;
15280 }
15281 _ACEOF
15282 rm -f conftest.$ac_objext
15283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15284 (eval $ac_compile) 2>conftest.er1
15285 ac_status=$?
15286 grep -v '^ *+' conftest.er1 >conftest.err
15287 rm -f conftest.er1
15288 cat conftest.err >&5
15289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15290 (exit $ac_status); } &&
15291 { ac_try='test -z "$ac_c_werror_flag"
15292 || test ! -s conftest.err'
15293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15294 (eval $ac_try) 2>&5
15295 ac_status=$?
15296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15297 (exit $ac_status); }; } &&
15298 { ac_try='test -s conftest.$ac_objext'
15299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15300 (eval $ac_try) 2>&5
15301 ac_status=$?
15302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15303 (exit $ac_status); }; }; then
15304 ac_cv_type_void_p=yes
15305 else
15306 echo "$as_me: failed program was:" >&5
15307 sed 's/^/| /' conftest.$ac_ext >&5
15308
15309 ac_cv_type_void_p=no
15310 fi
15311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15312 fi
15313 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15314 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15315
15316 echo "$as_me:$LINENO: checking size of void *" >&5
15317 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15318 if test "${ac_cv_sizeof_void_p+set}" = set; then
15319 echo $ECHO_N "(cached) $ECHO_C" >&6
15320 else
15321 if test "$ac_cv_type_void_p" = yes; then
15322 # The cast to unsigned long works around a bug in the HP C Compiler
15323 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15324 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15325 # This bug is HP SR number 8606223364.
15326 if test "$cross_compiling" = yes; then
15327 # Depending upon the size, compute the lo and hi bounds.
15328 cat >conftest.$ac_ext <<_ACEOF
15329 /* confdefs.h. */
15330 _ACEOF
15331 cat confdefs.h >>conftest.$ac_ext
15332 cat >>conftest.$ac_ext <<_ACEOF
15333 /* end confdefs.h. */
15334 $ac_includes_default
15335 int
15336 main ()
15337 {
15338 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15339 test_array [0] = 0
15340
15341 ;
15342 return 0;
15343 }
15344 _ACEOF
15345 rm -f conftest.$ac_objext
15346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15347 (eval $ac_compile) 2>conftest.er1
15348 ac_status=$?
15349 grep -v '^ *+' conftest.er1 >conftest.err
15350 rm -f conftest.er1
15351 cat conftest.err >&5
15352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15353 (exit $ac_status); } &&
15354 { ac_try='test -z "$ac_c_werror_flag"
15355 || test ! -s conftest.err'
15356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15357 (eval $ac_try) 2>&5
15358 ac_status=$?
15359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15360 (exit $ac_status); }; } &&
15361 { ac_try='test -s conftest.$ac_objext'
15362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15363 (eval $ac_try) 2>&5
15364 ac_status=$?
15365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15366 (exit $ac_status); }; }; then
15367 ac_lo=0 ac_mid=0
15368 while :; do
15369 cat >conftest.$ac_ext <<_ACEOF
15370 /* confdefs.h. */
15371 _ACEOF
15372 cat confdefs.h >>conftest.$ac_ext
15373 cat >>conftest.$ac_ext <<_ACEOF
15374 /* end confdefs.h. */
15375 $ac_includes_default
15376 int
15377 main ()
15378 {
15379 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15380 test_array [0] = 0
15381
15382 ;
15383 return 0;
15384 }
15385 _ACEOF
15386 rm -f conftest.$ac_objext
15387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15388 (eval $ac_compile) 2>conftest.er1
15389 ac_status=$?
15390 grep -v '^ *+' conftest.er1 >conftest.err
15391 rm -f conftest.er1
15392 cat conftest.err >&5
15393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15394 (exit $ac_status); } &&
15395 { ac_try='test -z "$ac_c_werror_flag"
15396 || test ! -s conftest.err'
15397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15398 (eval $ac_try) 2>&5
15399 ac_status=$?
15400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15401 (exit $ac_status); }; } &&
15402 { ac_try='test -s conftest.$ac_objext'
15403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15404 (eval $ac_try) 2>&5
15405 ac_status=$?
15406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15407 (exit $ac_status); }; }; then
15408 ac_hi=$ac_mid; break
15409 else
15410 echo "$as_me: failed program was:" >&5
15411 sed 's/^/| /' conftest.$ac_ext >&5
15412
15413 ac_lo=`expr $ac_mid + 1`
15414 if test $ac_lo -le $ac_mid; then
15415 ac_lo= ac_hi=
15416 break
15417 fi
15418 ac_mid=`expr 2 '*' $ac_mid + 1`
15419 fi
15420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15421 done
15422 else
15423 echo "$as_me: failed program was:" >&5
15424 sed 's/^/| /' conftest.$ac_ext >&5
15425
15426 cat >conftest.$ac_ext <<_ACEOF
15427 /* confdefs.h. */
15428 _ACEOF
15429 cat confdefs.h >>conftest.$ac_ext
15430 cat >>conftest.$ac_ext <<_ACEOF
15431 /* end confdefs.h. */
15432 $ac_includes_default
15433 int
15434 main ()
15435 {
15436 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15437 test_array [0] = 0
15438
15439 ;
15440 return 0;
15441 }
15442 _ACEOF
15443 rm -f conftest.$ac_objext
15444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15445 (eval $ac_compile) 2>conftest.er1
15446 ac_status=$?
15447 grep -v '^ *+' conftest.er1 >conftest.err
15448 rm -f conftest.er1
15449 cat conftest.err >&5
15450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15451 (exit $ac_status); } &&
15452 { ac_try='test -z "$ac_c_werror_flag"
15453 || test ! -s conftest.err'
15454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15455 (eval $ac_try) 2>&5
15456 ac_status=$?
15457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15458 (exit $ac_status); }; } &&
15459 { ac_try='test -s conftest.$ac_objext'
15460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15461 (eval $ac_try) 2>&5
15462 ac_status=$?
15463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15464 (exit $ac_status); }; }; then
15465 ac_hi=-1 ac_mid=-1
15466 while :; do
15467 cat >conftest.$ac_ext <<_ACEOF
15468 /* confdefs.h. */
15469 _ACEOF
15470 cat confdefs.h >>conftest.$ac_ext
15471 cat >>conftest.$ac_ext <<_ACEOF
15472 /* end confdefs.h. */
15473 $ac_includes_default
15474 int
15475 main ()
15476 {
15477 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15478 test_array [0] = 0
15479
15480 ;
15481 return 0;
15482 }
15483 _ACEOF
15484 rm -f conftest.$ac_objext
15485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15486 (eval $ac_compile) 2>conftest.er1
15487 ac_status=$?
15488 grep -v '^ *+' conftest.er1 >conftest.err
15489 rm -f conftest.er1
15490 cat conftest.err >&5
15491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15492 (exit $ac_status); } &&
15493 { ac_try='test -z "$ac_c_werror_flag"
15494 || test ! -s conftest.err'
15495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15496 (eval $ac_try) 2>&5
15497 ac_status=$?
15498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15499 (exit $ac_status); }; } &&
15500 { ac_try='test -s conftest.$ac_objext'
15501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15502 (eval $ac_try) 2>&5
15503 ac_status=$?
15504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15505 (exit $ac_status); }; }; then
15506 ac_lo=$ac_mid; break
15507 else
15508 echo "$as_me: failed program was:" >&5
15509 sed 's/^/| /' conftest.$ac_ext >&5
15510
15511 ac_hi=`expr '(' $ac_mid ')' - 1`
15512 if test $ac_mid -le $ac_hi; then
15513 ac_lo= ac_hi=
15514 break
15515 fi
15516 ac_mid=`expr 2 '*' $ac_mid`
15517 fi
15518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15519 done
15520 else
15521 echo "$as_me: failed program was:" >&5
15522 sed 's/^/| /' conftest.$ac_ext >&5
15523
15524 ac_lo= ac_hi=
15525 fi
15526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15527 fi
15528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15529 # Binary search between lo and hi bounds.
15530 while test "x$ac_lo" != "x$ac_hi"; do
15531 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15532 cat >conftest.$ac_ext <<_ACEOF
15533 /* confdefs.h. */
15534 _ACEOF
15535 cat confdefs.h >>conftest.$ac_ext
15536 cat >>conftest.$ac_ext <<_ACEOF
15537 /* end confdefs.h. */
15538 $ac_includes_default
15539 int
15540 main ()
15541 {
15542 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15543 test_array [0] = 0
15544
15545 ;
15546 return 0;
15547 }
15548 _ACEOF
15549 rm -f conftest.$ac_objext
15550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15551 (eval $ac_compile) 2>conftest.er1
15552 ac_status=$?
15553 grep -v '^ *+' conftest.er1 >conftest.err
15554 rm -f conftest.er1
15555 cat conftest.err >&5
15556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15557 (exit $ac_status); } &&
15558 { ac_try='test -z "$ac_c_werror_flag"
15559 || test ! -s conftest.err'
15560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15561 (eval $ac_try) 2>&5
15562 ac_status=$?
15563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15564 (exit $ac_status); }; } &&
15565 { ac_try='test -s conftest.$ac_objext'
15566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15567 (eval $ac_try) 2>&5
15568 ac_status=$?
15569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15570 (exit $ac_status); }; }; then
15571 ac_hi=$ac_mid
15572 else
15573 echo "$as_me: failed program was:" >&5
15574 sed 's/^/| /' conftest.$ac_ext >&5
15575
15576 ac_lo=`expr '(' $ac_mid ')' + 1`
15577 fi
15578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15579 done
15580 case $ac_lo in
15581 ?*) ac_cv_sizeof_void_p=$ac_lo;;
15582 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15583 See \`config.log' for more details." >&5
15584 echo "$as_me: error: cannot compute sizeof (void *), 77
15585 See \`config.log' for more details." >&2;}
15586 { (exit 1); exit 1; }; } ;;
15587 esac
15588 else
15589 if test "$cross_compiling" = yes; then
15590 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15591 See \`config.log' for more details." >&5
15592 echo "$as_me: error: cannot run test program while cross compiling
15593 See \`config.log' for more details." >&2;}
15594 { (exit 1); exit 1; }; }
15595 else
15596 cat >conftest.$ac_ext <<_ACEOF
15597 /* confdefs.h. */
15598 _ACEOF
15599 cat confdefs.h >>conftest.$ac_ext
15600 cat >>conftest.$ac_ext <<_ACEOF
15601 /* end confdefs.h. */
15602 $ac_includes_default
15603 long longval () { return (long) (sizeof (void *)); }
15604 unsigned long ulongval () { return (long) (sizeof (void *)); }
15605 #include <stdio.h>
15606 #include <stdlib.h>
15607 int
15608 main ()
15609 {
15610
15611 FILE *f = fopen ("conftest.val", "w");
15612 if (! f)
15613 exit (1);
15614 if (((long) (sizeof (void *))) < 0)
15615 {
15616 long i = longval ();
15617 if (i != ((long) (sizeof (void *))))
15618 exit (1);
15619 fprintf (f, "%ld\n", i);
15620 }
15621 else
15622 {
15623 unsigned long i = ulongval ();
15624 if (i != ((long) (sizeof (void *))))
15625 exit (1);
15626 fprintf (f, "%lu\n", i);
15627 }
15628 exit (ferror (f) || fclose (f) != 0);
15629
15630 ;
15631 return 0;
15632 }
15633 _ACEOF
15634 rm -f conftest$ac_exeext
15635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15636 (eval $ac_link) 2>&5
15637 ac_status=$?
15638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15639 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15641 (eval $ac_try) 2>&5
15642 ac_status=$?
15643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15644 (exit $ac_status); }; }; then
15645 ac_cv_sizeof_void_p=`cat conftest.val`
15646 else
15647 echo "$as_me: program exited with status $ac_status" >&5
15648 echo "$as_me: failed program was:" >&5
15649 sed 's/^/| /' conftest.$ac_ext >&5
15650
15651 ( exit $ac_status )
15652 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15653 See \`config.log' for more details." >&5
15654 echo "$as_me: error: cannot compute sizeof (void *), 77
15655 See \`config.log' for more details." >&2;}
15656 { (exit 1); exit 1; }; }
15657 fi
15658 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15659 fi
15660 fi
15661 rm -f conftest.val
15662 else
15663 ac_cv_sizeof_void_p=0
15664 fi
15665 fi
15666 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15667 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15668 cat >>confdefs.h <<_ACEOF
15669 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15670 _ACEOF
15671
15672
15673 echo "$as_me:$LINENO: checking for int" >&5
15674 echo $ECHO_N "checking for int... $ECHO_C" >&6
15675 if test "${ac_cv_type_int+set}" = set; then
15676 echo $ECHO_N "(cached) $ECHO_C" >&6
15677 else
15678 cat >conftest.$ac_ext <<_ACEOF
15679 /* confdefs.h. */
15680 _ACEOF
15681 cat confdefs.h >>conftest.$ac_ext
15682 cat >>conftest.$ac_ext <<_ACEOF
15683 /* end confdefs.h. */
15684 $ac_includes_default
15685 int
15686 main ()
15687 {
15688 if ((int *) 0)
15689 return 0;
15690 if (sizeof (int))
15691 return 0;
15692 ;
15693 return 0;
15694 }
15695 _ACEOF
15696 rm -f conftest.$ac_objext
15697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15698 (eval $ac_compile) 2>conftest.er1
15699 ac_status=$?
15700 grep -v '^ *+' conftest.er1 >conftest.err
15701 rm -f conftest.er1
15702 cat conftest.err >&5
15703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15704 (exit $ac_status); } &&
15705 { ac_try='test -z "$ac_c_werror_flag"
15706 || test ! -s conftest.err'
15707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15708 (eval $ac_try) 2>&5
15709 ac_status=$?
15710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15711 (exit $ac_status); }; } &&
15712 { ac_try='test -s conftest.$ac_objext'
15713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15714 (eval $ac_try) 2>&5
15715 ac_status=$?
15716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15717 (exit $ac_status); }; }; then
15718 ac_cv_type_int=yes
15719 else
15720 echo "$as_me: failed program was:" >&5
15721 sed 's/^/| /' conftest.$ac_ext >&5
15722
15723 ac_cv_type_int=no
15724 fi
15725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15726 fi
15727 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15728 echo "${ECHO_T}$ac_cv_type_int" >&6
15729
15730 echo "$as_me:$LINENO: checking size of int" >&5
15731 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15732 if test "${ac_cv_sizeof_int+set}" = set; then
15733 echo $ECHO_N "(cached) $ECHO_C" >&6
15734 else
15735 if test "$ac_cv_type_int" = yes; then
15736 # The cast to unsigned long works around a bug in the HP C Compiler
15737 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15738 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15739 # This bug is HP SR number 8606223364.
15740 if test "$cross_compiling" = yes; then
15741 # Depending upon the size, compute the lo and hi bounds.
15742 cat >conftest.$ac_ext <<_ACEOF
15743 /* confdefs.h. */
15744 _ACEOF
15745 cat confdefs.h >>conftest.$ac_ext
15746 cat >>conftest.$ac_ext <<_ACEOF
15747 /* end confdefs.h. */
15748 $ac_includes_default
15749 int
15750 main ()
15751 {
15752 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15753 test_array [0] = 0
15754
15755 ;
15756 return 0;
15757 }
15758 _ACEOF
15759 rm -f conftest.$ac_objext
15760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15761 (eval $ac_compile) 2>conftest.er1
15762 ac_status=$?
15763 grep -v '^ *+' conftest.er1 >conftest.err
15764 rm -f conftest.er1
15765 cat conftest.err >&5
15766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15767 (exit $ac_status); } &&
15768 { ac_try='test -z "$ac_c_werror_flag"
15769 || test ! -s conftest.err'
15770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15771 (eval $ac_try) 2>&5
15772 ac_status=$?
15773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15774 (exit $ac_status); }; } &&
15775 { ac_try='test -s conftest.$ac_objext'
15776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15777 (eval $ac_try) 2>&5
15778 ac_status=$?
15779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15780 (exit $ac_status); }; }; then
15781 ac_lo=0 ac_mid=0
15782 while :; do
15783 cat >conftest.$ac_ext <<_ACEOF
15784 /* confdefs.h. */
15785 _ACEOF
15786 cat confdefs.h >>conftest.$ac_ext
15787 cat >>conftest.$ac_ext <<_ACEOF
15788 /* end confdefs.h. */
15789 $ac_includes_default
15790 int
15791 main ()
15792 {
15793 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15794 test_array [0] = 0
15795
15796 ;
15797 return 0;
15798 }
15799 _ACEOF
15800 rm -f conftest.$ac_objext
15801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15802 (eval $ac_compile) 2>conftest.er1
15803 ac_status=$?
15804 grep -v '^ *+' conftest.er1 >conftest.err
15805 rm -f conftest.er1
15806 cat conftest.err >&5
15807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15808 (exit $ac_status); } &&
15809 { ac_try='test -z "$ac_c_werror_flag"
15810 || 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=$ac_mid; break
15823 else
15824 echo "$as_me: failed program was:" >&5
15825 sed 's/^/| /' conftest.$ac_ext >&5
15826
15827 ac_lo=`expr $ac_mid + 1`
15828 if test $ac_lo -le $ac_mid; then
15829 ac_lo= ac_hi=
15830 break
15831 fi
15832 ac_mid=`expr 2 '*' $ac_mid + 1`
15833 fi
15834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15835 done
15836 else
15837 echo "$as_me: failed program was:" >&5
15838 sed 's/^/| /' conftest.$ac_ext >&5
15839
15840 cat >conftest.$ac_ext <<_ACEOF
15841 /* confdefs.h. */
15842 _ACEOF
15843 cat confdefs.h >>conftest.$ac_ext
15844 cat >>conftest.$ac_ext <<_ACEOF
15845 /* end confdefs.h. */
15846 $ac_includes_default
15847 int
15848 main ()
15849 {
15850 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15851 test_array [0] = 0
15852
15853 ;
15854 return 0;
15855 }
15856 _ACEOF
15857 rm -f conftest.$ac_objext
15858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15859 (eval $ac_compile) 2>conftest.er1
15860 ac_status=$?
15861 grep -v '^ *+' conftest.er1 >conftest.err
15862 rm -f conftest.er1
15863 cat conftest.err >&5
15864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15865 (exit $ac_status); } &&
15866 { ac_try='test -z "$ac_c_werror_flag"
15867 || test ! -s conftest.err'
15868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15869 (eval $ac_try) 2>&5
15870 ac_status=$?
15871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15872 (exit $ac_status); }; } &&
15873 { ac_try='test -s conftest.$ac_objext'
15874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15875 (eval $ac_try) 2>&5
15876 ac_status=$?
15877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15878 (exit $ac_status); }; }; then
15879 ac_hi=-1 ac_mid=-1
15880 while :; do
15881 cat >conftest.$ac_ext <<_ACEOF
15882 /* confdefs.h. */
15883 _ACEOF
15884 cat confdefs.h >>conftest.$ac_ext
15885 cat >>conftest.$ac_ext <<_ACEOF
15886 /* end confdefs.h. */
15887 $ac_includes_default
15888 int
15889 main ()
15890 {
15891 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15892 test_array [0] = 0
15893
15894 ;
15895 return 0;
15896 }
15897 _ACEOF
15898 rm -f conftest.$ac_objext
15899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15900 (eval $ac_compile) 2>conftest.er1
15901 ac_status=$?
15902 grep -v '^ *+' conftest.er1 >conftest.err
15903 rm -f conftest.er1
15904 cat conftest.err >&5
15905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15906 (exit $ac_status); } &&
15907 { ac_try='test -z "$ac_c_werror_flag"
15908 || test ! -s conftest.err'
15909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15910 (eval $ac_try) 2>&5
15911 ac_status=$?
15912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15913 (exit $ac_status); }; } &&
15914 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
15920 ac_lo=$ac_mid; break
15921 else
15922 echo "$as_me: failed program was:" >&5
15923 sed 's/^/| /' conftest.$ac_ext >&5
15924
15925 ac_hi=`expr '(' $ac_mid ')' - 1`
15926 if test $ac_mid -le $ac_hi; then
15927 ac_lo= ac_hi=
15928 break
15929 fi
15930 ac_mid=`expr 2 '*' $ac_mid`
15931 fi
15932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15933 done
15934 else
15935 echo "$as_me: failed program was:" >&5
15936 sed 's/^/| /' conftest.$ac_ext >&5
15937
15938 ac_lo= ac_hi=
15939 fi
15940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15941 fi
15942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15943 # Binary search between lo and hi bounds.
15944 while test "x$ac_lo" != "x$ac_hi"; do
15945 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15946 cat >conftest.$ac_ext <<_ACEOF
15947 /* confdefs.h. */
15948 _ACEOF
15949 cat confdefs.h >>conftest.$ac_ext
15950 cat >>conftest.$ac_ext <<_ACEOF
15951 /* end confdefs.h. */
15952 $ac_includes_default
15953 int
15954 main ()
15955 {
15956 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15957 test_array [0] = 0
15958
15959 ;
15960 return 0;
15961 }
15962 _ACEOF
15963 rm -f conftest.$ac_objext
15964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15965 (eval $ac_compile) 2>conftest.er1
15966 ac_status=$?
15967 grep -v '^ *+' conftest.er1 >conftest.err
15968 rm -f conftest.er1
15969 cat conftest.err >&5
15970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15971 (exit $ac_status); } &&
15972 { ac_try='test -z "$ac_c_werror_flag"
15973 || test ! -s conftest.err'
15974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15975 (eval $ac_try) 2>&5
15976 ac_status=$?
15977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15978 (exit $ac_status); }; } &&
15979 { ac_try='test -s conftest.$ac_objext'
15980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15981 (eval $ac_try) 2>&5
15982 ac_status=$?
15983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15984 (exit $ac_status); }; }; then
15985 ac_hi=$ac_mid
15986 else
15987 echo "$as_me: failed program was:" >&5
15988 sed 's/^/| /' conftest.$ac_ext >&5
15989
15990 ac_lo=`expr '(' $ac_mid ')' + 1`
15991 fi
15992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15993 done
15994 case $ac_lo in
15995 ?*) ac_cv_sizeof_int=$ac_lo;;
15996 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15997 See \`config.log' for more details." >&5
15998 echo "$as_me: error: cannot compute sizeof (int), 77
15999 See \`config.log' for more details." >&2;}
16000 { (exit 1); exit 1; }; } ;;
16001 esac
16002 else
16003 if test "$cross_compiling" = yes; then
16004 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16005 See \`config.log' for more details." >&5
16006 echo "$as_me: error: cannot run test program while cross compiling
16007 See \`config.log' for more details." >&2;}
16008 { (exit 1); exit 1; }; }
16009 else
16010 cat >conftest.$ac_ext <<_ACEOF
16011 /* confdefs.h. */
16012 _ACEOF
16013 cat confdefs.h >>conftest.$ac_ext
16014 cat >>conftest.$ac_ext <<_ACEOF
16015 /* end confdefs.h. */
16016 $ac_includes_default
16017 long longval () { return (long) (sizeof (int)); }
16018 unsigned long ulongval () { return (long) (sizeof (int)); }
16019 #include <stdio.h>
16020 #include <stdlib.h>
16021 int
16022 main ()
16023 {
16024
16025 FILE *f = fopen ("conftest.val", "w");
16026 if (! f)
16027 exit (1);
16028 if (((long) (sizeof (int))) < 0)
16029 {
16030 long i = longval ();
16031 if (i != ((long) (sizeof (int))))
16032 exit (1);
16033 fprintf (f, "%ld\n", i);
16034 }
16035 else
16036 {
16037 unsigned long i = ulongval ();
16038 if (i != ((long) (sizeof (int))))
16039 exit (1);
16040 fprintf (f, "%lu\n", i);
16041 }
16042 exit (ferror (f) || fclose (f) != 0);
16043
16044 ;
16045 return 0;
16046 }
16047 _ACEOF
16048 rm -f conftest$ac_exeext
16049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16050 (eval $ac_link) 2>&5
16051 ac_status=$?
16052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16053 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16055 (eval $ac_try) 2>&5
16056 ac_status=$?
16057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16058 (exit $ac_status); }; }; then
16059 ac_cv_sizeof_int=`cat conftest.val`
16060 else
16061 echo "$as_me: program exited with status $ac_status" >&5
16062 echo "$as_me: failed program was:" >&5
16063 sed 's/^/| /' conftest.$ac_ext >&5
16064
16065 ( exit $ac_status )
16066 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16067 See \`config.log' for more details." >&5
16068 echo "$as_me: error: cannot compute sizeof (int), 77
16069 See \`config.log' for more details." >&2;}
16070 { (exit 1); exit 1; }; }
16071 fi
16072 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16073 fi
16074 fi
16075 rm -f conftest.val
16076 else
16077 ac_cv_sizeof_int=0
16078 fi
16079 fi
16080 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16081 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16082 cat >>confdefs.h <<_ACEOF
16083 #define SIZEOF_INT $ac_cv_sizeof_int
16084 _ACEOF
16085
16086
16087 echo "$as_me:$LINENO: checking for long" >&5
16088 echo $ECHO_N "checking for long... $ECHO_C" >&6
16089 if test "${ac_cv_type_long+set}" = set; then
16090 echo $ECHO_N "(cached) $ECHO_C" >&6
16091 else
16092 cat >conftest.$ac_ext <<_ACEOF
16093 /* confdefs.h. */
16094 _ACEOF
16095 cat confdefs.h >>conftest.$ac_ext
16096 cat >>conftest.$ac_ext <<_ACEOF
16097 /* end confdefs.h. */
16098 $ac_includes_default
16099 int
16100 main ()
16101 {
16102 if ((long *) 0)
16103 return 0;
16104 if (sizeof (long))
16105 return 0;
16106 ;
16107 return 0;
16108 }
16109 _ACEOF
16110 rm -f conftest.$ac_objext
16111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16112 (eval $ac_compile) 2>conftest.er1
16113 ac_status=$?
16114 grep -v '^ *+' conftest.er1 >conftest.err
16115 rm -f conftest.er1
16116 cat conftest.err >&5
16117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16118 (exit $ac_status); } &&
16119 { ac_try='test -z "$ac_c_werror_flag"
16120 || 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_cv_type_long=yes
16133 else
16134 echo "$as_me: failed program was:" >&5
16135 sed 's/^/| /' conftest.$ac_ext >&5
16136
16137 ac_cv_type_long=no
16138 fi
16139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16140 fi
16141 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16142 echo "${ECHO_T}$ac_cv_type_long" >&6
16143
16144 echo "$as_me:$LINENO: checking size of long" >&5
16145 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16146 if test "${ac_cv_sizeof_long+set}" = set; then
16147 echo $ECHO_N "(cached) $ECHO_C" >&6
16148 else
16149 if test "$ac_cv_type_long" = yes; then
16150 # The cast to unsigned long works around a bug in the HP C Compiler
16151 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16152 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16153 # This bug is HP SR number 8606223364.
16154 if test "$cross_compiling" = yes; then
16155 # Depending upon the size, compute the lo and hi bounds.
16156 cat >conftest.$ac_ext <<_ACEOF
16157 /* confdefs.h. */
16158 _ACEOF
16159 cat confdefs.h >>conftest.$ac_ext
16160 cat >>conftest.$ac_ext <<_ACEOF
16161 /* end confdefs.h. */
16162 $ac_includes_default
16163 int
16164 main ()
16165 {
16166 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16167 test_array [0] = 0
16168
16169 ;
16170 return 0;
16171 }
16172 _ACEOF
16173 rm -f conftest.$ac_objext
16174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16175 (eval $ac_compile) 2>conftest.er1
16176 ac_status=$?
16177 grep -v '^ *+' conftest.er1 >conftest.err
16178 rm -f conftest.er1
16179 cat conftest.err >&5
16180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16181 (exit $ac_status); } &&
16182 { ac_try='test -z "$ac_c_werror_flag"
16183 || test ! -s conftest.err'
16184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16185 (eval $ac_try) 2>&5
16186 ac_status=$?
16187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16188 (exit $ac_status); }; } &&
16189 { ac_try='test -s conftest.$ac_objext'
16190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16191 (eval $ac_try) 2>&5
16192 ac_status=$?
16193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16194 (exit $ac_status); }; }; then
16195 ac_lo=0 ac_mid=0
16196 while :; do
16197 cat >conftest.$ac_ext <<_ACEOF
16198 /* confdefs.h. */
16199 _ACEOF
16200 cat confdefs.h >>conftest.$ac_ext
16201 cat >>conftest.$ac_ext <<_ACEOF
16202 /* end confdefs.h. */
16203 $ac_includes_default
16204 int
16205 main ()
16206 {
16207 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16208 test_array [0] = 0
16209
16210 ;
16211 return 0;
16212 }
16213 _ACEOF
16214 rm -f conftest.$ac_objext
16215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16216 (eval $ac_compile) 2>conftest.er1
16217 ac_status=$?
16218 grep -v '^ *+' conftest.er1 >conftest.err
16219 rm -f conftest.er1
16220 cat conftest.err >&5
16221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16222 (exit $ac_status); } &&
16223 { ac_try='test -z "$ac_c_werror_flag"
16224 || test ! -s conftest.err'
16225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16226 (eval $ac_try) 2>&5
16227 ac_status=$?
16228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16229 (exit $ac_status); }; } &&
16230 { ac_try='test -s conftest.$ac_objext'
16231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16232 (eval $ac_try) 2>&5
16233 ac_status=$?
16234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16235 (exit $ac_status); }; }; then
16236 ac_hi=$ac_mid; break
16237 else
16238 echo "$as_me: failed program was:" >&5
16239 sed 's/^/| /' conftest.$ac_ext >&5
16240
16241 ac_lo=`expr $ac_mid + 1`
16242 if test $ac_lo -le $ac_mid; then
16243 ac_lo= ac_hi=
16244 break
16245 fi
16246 ac_mid=`expr 2 '*' $ac_mid + 1`
16247 fi
16248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16249 done
16250 else
16251 echo "$as_me: failed program was:" >&5
16252 sed 's/^/| /' conftest.$ac_ext >&5
16253
16254 cat >conftest.$ac_ext <<_ACEOF
16255 /* confdefs.h. */
16256 _ACEOF
16257 cat confdefs.h >>conftest.$ac_ext
16258 cat >>conftest.$ac_ext <<_ACEOF
16259 /* end confdefs.h. */
16260 $ac_includes_default
16261 int
16262 main ()
16263 {
16264 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16265 test_array [0] = 0
16266
16267 ;
16268 return 0;
16269 }
16270 _ACEOF
16271 rm -f conftest.$ac_objext
16272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16273 (eval $ac_compile) 2>conftest.er1
16274 ac_status=$?
16275 grep -v '^ *+' conftest.er1 >conftest.err
16276 rm -f conftest.er1
16277 cat conftest.err >&5
16278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16279 (exit $ac_status); } &&
16280 { ac_try='test -z "$ac_c_werror_flag"
16281 || test ! -s conftest.err'
16282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16283 (eval $ac_try) 2>&5
16284 ac_status=$?
16285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16286 (exit $ac_status); }; } &&
16287 { ac_try='test -s conftest.$ac_objext'
16288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16289 (eval $ac_try) 2>&5
16290 ac_status=$?
16291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16292 (exit $ac_status); }; }; then
16293 ac_hi=-1 ac_mid=-1
16294 while :; do
16295 cat >conftest.$ac_ext <<_ACEOF
16296 /* confdefs.h. */
16297 _ACEOF
16298 cat confdefs.h >>conftest.$ac_ext
16299 cat >>conftest.$ac_ext <<_ACEOF
16300 /* end confdefs.h. */
16301 $ac_includes_default
16302 int
16303 main ()
16304 {
16305 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16306 test_array [0] = 0
16307
16308 ;
16309 return 0;
16310 }
16311 _ACEOF
16312 rm -f conftest.$ac_objext
16313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16314 (eval $ac_compile) 2>conftest.er1
16315 ac_status=$?
16316 grep -v '^ *+' conftest.er1 >conftest.err
16317 rm -f conftest.er1
16318 cat conftest.err >&5
16319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16320 (exit $ac_status); } &&
16321 { ac_try='test -z "$ac_c_werror_flag"
16322 || test ! -s conftest.err'
16323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16324 (eval $ac_try) 2>&5
16325 ac_status=$?
16326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16327 (exit $ac_status); }; } &&
16328 { ac_try='test -s conftest.$ac_objext'
16329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16330 (eval $ac_try) 2>&5
16331 ac_status=$?
16332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16333 (exit $ac_status); }; }; then
16334 ac_lo=$ac_mid; break
16335 else
16336 echo "$as_me: failed program was:" >&5
16337 sed 's/^/| /' conftest.$ac_ext >&5
16338
16339 ac_hi=`expr '(' $ac_mid ')' - 1`
16340 if test $ac_mid -le $ac_hi; then
16341 ac_lo= ac_hi=
16342 break
16343 fi
16344 ac_mid=`expr 2 '*' $ac_mid`
16345 fi
16346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16347 done
16348 else
16349 echo "$as_me: failed program was:" >&5
16350 sed 's/^/| /' conftest.$ac_ext >&5
16351
16352 ac_lo= ac_hi=
16353 fi
16354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16355 fi
16356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16357 # Binary search between lo and hi bounds.
16358 while test "x$ac_lo" != "x$ac_hi"; do
16359 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16360 cat >conftest.$ac_ext <<_ACEOF
16361 /* confdefs.h. */
16362 _ACEOF
16363 cat confdefs.h >>conftest.$ac_ext
16364 cat >>conftest.$ac_ext <<_ACEOF
16365 /* end confdefs.h. */
16366 $ac_includes_default
16367 int
16368 main ()
16369 {
16370 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16371 test_array [0] = 0
16372
16373 ;
16374 return 0;
16375 }
16376 _ACEOF
16377 rm -f conftest.$ac_objext
16378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16379 (eval $ac_compile) 2>conftest.er1
16380 ac_status=$?
16381 grep -v '^ *+' conftest.er1 >conftest.err
16382 rm -f conftest.er1
16383 cat conftest.err >&5
16384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16385 (exit $ac_status); } &&
16386 { ac_try='test -z "$ac_c_werror_flag"
16387 || test ! -s conftest.err'
16388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16389 (eval $ac_try) 2>&5
16390 ac_status=$?
16391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16392 (exit $ac_status); }; } &&
16393 { ac_try='test -s conftest.$ac_objext'
16394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16395 (eval $ac_try) 2>&5
16396 ac_status=$?
16397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16398 (exit $ac_status); }; }; then
16399 ac_hi=$ac_mid
16400 else
16401 echo "$as_me: failed program was:" >&5
16402 sed 's/^/| /' conftest.$ac_ext >&5
16403
16404 ac_lo=`expr '(' $ac_mid ')' + 1`
16405 fi
16406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16407 done
16408 case $ac_lo in
16409 ?*) ac_cv_sizeof_long=$ac_lo;;
16410 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16411 See \`config.log' for more details." >&5
16412 echo "$as_me: error: cannot compute sizeof (long), 77
16413 See \`config.log' for more details." >&2;}
16414 { (exit 1); exit 1; }; } ;;
16415 esac
16416 else
16417 if test "$cross_compiling" = yes; then
16418 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16419 See \`config.log' for more details." >&5
16420 echo "$as_me: error: cannot run test program while cross compiling
16421 See \`config.log' for more details." >&2;}
16422 { (exit 1); exit 1; }; }
16423 else
16424 cat >conftest.$ac_ext <<_ACEOF
16425 /* confdefs.h. */
16426 _ACEOF
16427 cat confdefs.h >>conftest.$ac_ext
16428 cat >>conftest.$ac_ext <<_ACEOF
16429 /* end confdefs.h. */
16430 $ac_includes_default
16431 long longval () { return (long) (sizeof (long)); }
16432 unsigned long ulongval () { return (long) (sizeof (long)); }
16433 #include <stdio.h>
16434 #include <stdlib.h>
16435 int
16436 main ()
16437 {
16438
16439 FILE *f = fopen ("conftest.val", "w");
16440 if (! f)
16441 exit (1);
16442 if (((long) (sizeof (long))) < 0)
16443 {
16444 long i = longval ();
16445 if (i != ((long) (sizeof (long))))
16446 exit (1);
16447 fprintf (f, "%ld\n", i);
16448 }
16449 else
16450 {
16451 unsigned long i = ulongval ();
16452 if (i != ((long) (sizeof (long))))
16453 exit (1);
16454 fprintf (f, "%lu\n", i);
16455 }
16456 exit (ferror (f) || fclose (f) != 0);
16457
16458 ;
16459 return 0;
16460 }
16461 _ACEOF
16462 rm -f conftest$ac_exeext
16463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16464 (eval $ac_link) 2>&5
16465 ac_status=$?
16466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16467 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16469 (eval $ac_try) 2>&5
16470 ac_status=$?
16471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16472 (exit $ac_status); }; }; then
16473 ac_cv_sizeof_long=`cat conftest.val`
16474 else
16475 echo "$as_me: program exited with status $ac_status" >&5
16476 echo "$as_me: failed program was:" >&5
16477 sed 's/^/| /' conftest.$ac_ext >&5
16478
16479 ( exit $ac_status )
16480 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16481 See \`config.log' for more details." >&5
16482 echo "$as_me: error: cannot compute sizeof (long), 77
16483 See \`config.log' for more details." >&2;}
16484 { (exit 1); exit 1; }; }
16485 fi
16486 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16487 fi
16488 fi
16489 rm -f conftest.val
16490 else
16491 ac_cv_sizeof_long=0
16492 fi
16493 fi
16494 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16495 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16496 cat >>confdefs.h <<_ACEOF
16497 #define SIZEOF_LONG $ac_cv_sizeof_long
16498 _ACEOF
16499
16500
16501 echo "$as_me:$LINENO: checking for size_t" >&5
16502 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16503 if test "${ac_cv_type_size_t+set}" = set; then
16504 echo $ECHO_N "(cached) $ECHO_C" >&6
16505 else
16506 cat >conftest.$ac_ext <<_ACEOF
16507 /* confdefs.h. */
16508 _ACEOF
16509 cat confdefs.h >>conftest.$ac_ext
16510 cat >>conftest.$ac_ext <<_ACEOF
16511 /* end confdefs.h. */
16512 $ac_includes_default
16513 int
16514 main ()
16515 {
16516 if ((size_t *) 0)
16517 return 0;
16518 if (sizeof (size_t))
16519 return 0;
16520 ;
16521 return 0;
16522 }
16523 _ACEOF
16524 rm -f conftest.$ac_objext
16525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16526 (eval $ac_compile) 2>conftest.er1
16527 ac_status=$?
16528 grep -v '^ *+' conftest.er1 >conftest.err
16529 rm -f conftest.er1
16530 cat conftest.err >&5
16531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16532 (exit $ac_status); } &&
16533 { ac_try='test -z "$ac_c_werror_flag"
16534 || test ! -s conftest.err'
16535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16536 (eval $ac_try) 2>&5
16537 ac_status=$?
16538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16539 (exit $ac_status); }; } &&
16540 { ac_try='test -s conftest.$ac_objext'
16541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16542 (eval $ac_try) 2>&5
16543 ac_status=$?
16544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16545 (exit $ac_status); }; }; then
16546 ac_cv_type_size_t=yes
16547 else
16548 echo "$as_me: failed program was:" >&5
16549 sed 's/^/| /' conftest.$ac_ext >&5
16550
16551 ac_cv_type_size_t=no
16552 fi
16553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16554 fi
16555 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16556 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16557
16558 echo "$as_me:$LINENO: checking size of size_t" >&5
16559 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16560 if test "${ac_cv_sizeof_size_t+set}" = set; then
16561 echo $ECHO_N "(cached) $ECHO_C" >&6
16562 else
16563 if test "$ac_cv_type_size_t" = yes; then
16564 # The cast to unsigned long works around a bug in the HP C Compiler
16565 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16566 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16567 # This bug is HP SR number 8606223364.
16568 if test "$cross_compiling" = yes; then
16569 # Depending upon the size, compute the lo and hi bounds.
16570 cat >conftest.$ac_ext <<_ACEOF
16571 /* confdefs.h. */
16572 _ACEOF
16573 cat confdefs.h >>conftest.$ac_ext
16574 cat >>conftest.$ac_ext <<_ACEOF
16575 /* end confdefs.h. */
16576 $ac_includes_default
16577 int
16578 main ()
16579 {
16580 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16581 test_array [0] = 0
16582
16583 ;
16584 return 0;
16585 }
16586 _ACEOF
16587 rm -f conftest.$ac_objext
16588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16589 (eval $ac_compile) 2>conftest.er1
16590 ac_status=$?
16591 grep -v '^ *+' conftest.er1 >conftest.err
16592 rm -f conftest.er1
16593 cat conftest.err >&5
16594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16595 (exit $ac_status); } &&
16596 { ac_try='test -z "$ac_c_werror_flag"
16597 || test ! -s conftest.err'
16598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16599 (eval $ac_try) 2>&5
16600 ac_status=$?
16601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16602 (exit $ac_status); }; } &&
16603 { ac_try='test -s conftest.$ac_objext'
16604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16605 (eval $ac_try) 2>&5
16606 ac_status=$?
16607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16608 (exit $ac_status); }; }; then
16609 ac_lo=0 ac_mid=0
16610 while :; do
16611 cat >conftest.$ac_ext <<_ACEOF
16612 /* confdefs.h. */
16613 _ACEOF
16614 cat confdefs.h >>conftest.$ac_ext
16615 cat >>conftest.$ac_ext <<_ACEOF
16616 /* end confdefs.h. */
16617 $ac_includes_default
16618 int
16619 main ()
16620 {
16621 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16622 test_array [0] = 0
16623
16624 ;
16625 return 0;
16626 }
16627 _ACEOF
16628 rm -f conftest.$ac_objext
16629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16630 (eval $ac_compile) 2>conftest.er1
16631 ac_status=$?
16632 grep -v '^ *+' conftest.er1 >conftest.err
16633 rm -f conftest.er1
16634 cat conftest.err >&5
16635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16636 (exit $ac_status); } &&
16637 { ac_try='test -z "$ac_c_werror_flag"
16638 || test ! -s conftest.err'
16639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16640 (eval $ac_try) 2>&5
16641 ac_status=$?
16642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16643 (exit $ac_status); }; } &&
16644 { ac_try='test -s conftest.$ac_objext'
16645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16646 (eval $ac_try) 2>&5
16647 ac_status=$?
16648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16649 (exit $ac_status); }; }; then
16650 ac_hi=$ac_mid; break
16651 else
16652 echo "$as_me: failed program was:" >&5
16653 sed 's/^/| /' conftest.$ac_ext >&5
16654
16655 ac_lo=`expr $ac_mid + 1`
16656 if test $ac_lo -le $ac_mid; then
16657 ac_lo= ac_hi=
16658 break
16659 fi
16660 ac_mid=`expr 2 '*' $ac_mid + 1`
16661 fi
16662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16663 done
16664 else
16665 echo "$as_me: failed program was:" >&5
16666 sed 's/^/| /' conftest.$ac_ext >&5
16667
16668 cat >conftest.$ac_ext <<_ACEOF
16669 /* confdefs.h. */
16670 _ACEOF
16671 cat confdefs.h >>conftest.$ac_ext
16672 cat >>conftest.$ac_ext <<_ACEOF
16673 /* end confdefs.h. */
16674 $ac_includes_default
16675 int
16676 main ()
16677 {
16678 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16679 test_array [0] = 0
16680
16681 ;
16682 return 0;
16683 }
16684 _ACEOF
16685 rm -f conftest.$ac_objext
16686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16687 (eval $ac_compile) 2>conftest.er1
16688 ac_status=$?
16689 grep -v '^ *+' conftest.er1 >conftest.err
16690 rm -f conftest.er1
16691 cat conftest.err >&5
16692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16693 (exit $ac_status); } &&
16694 { ac_try='test -z "$ac_c_werror_flag"
16695 || test ! -s conftest.err'
16696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16697 (eval $ac_try) 2>&5
16698 ac_status=$?
16699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16700 (exit $ac_status); }; } &&
16701 { ac_try='test -s conftest.$ac_objext'
16702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16703 (eval $ac_try) 2>&5
16704 ac_status=$?
16705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16706 (exit $ac_status); }; }; then
16707 ac_hi=-1 ac_mid=-1
16708 while :; do
16709 cat >conftest.$ac_ext <<_ACEOF
16710 /* confdefs.h. */
16711 _ACEOF
16712 cat confdefs.h >>conftest.$ac_ext
16713 cat >>conftest.$ac_ext <<_ACEOF
16714 /* end confdefs.h. */
16715 $ac_includes_default
16716 int
16717 main ()
16718 {
16719 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16720 test_array [0] = 0
16721
16722 ;
16723 return 0;
16724 }
16725 _ACEOF
16726 rm -f conftest.$ac_objext
16727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16728 (eval $ac_compile) 2>conftest.er1
16729 ac_status=$?
16730 grep -v '^ *+' conftest.er1 >conftest.err
16731 rm -f conftest.er1
16732 cat conftest.err >&5
16733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16734 (exit $ac_status); } &&
16735 { ac_try='test -z "$ac_c_werror_flag"
16736 || test ! -s conftest.err'
16737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16738 (eval $ac_try) 2>&5
16739 ac_status=$?
16740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16741 (exit $ac_status); }; } &&
16742 { ac_try='test -s conftest.$ac_objext'
16743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16744 (eval $ac_try) 2>&5
16745 ac_status=$?
16746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16747 (exit $ac_status); }; }; then
16748 ac_lo=$ac_mid; break
16749 else
16750 echo "$as_me: failed program was:" >&5
16751 sed 's/^/| /' conftest.$ac_ext >&5
16752
16753 ac_hi=`expr '(' $ac_mid ')' - 1`
16754 if test $ac_mid -le $ac_hi; then
16755 ac_lo= ac_hi=
16756 break
16757 fi
16758 ac_mid=`expr 2 '*' $ac_mid`
16759 fi
16760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16761 done
16762 else
16763 echo "$as_me: failed program was:" >&5
16764 sed 's/^/| /' conftest.$ac_ext >&5
16765
16766 ac_lo= ac_hi=
16767 fi
16768 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16769 fi
16770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16771 # Binary search between lo and hi bounds.
16772 while test "x$ac_lo" != "x$ac_hi"; do
16773 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16774 cat >conftest.$ac_ext <<_ACEOF
16775 /* confdefs.h. */
16776 _ACEOF
16777 cat confdefs.h >>conftest.$ac_ext
16778 cat >>conftest.$ac_ext <<_ACEOF
16779 /* end confdefs.h. */
16780 $ac_includes_default
16781 int
16782 main ()
16783 {
16784 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16785 test_array [0] = 0
16786
16787 ;
16788 return 0;
16789 }
16790 _ACEOF
16791 rm -f conftest.$ac_objext
16792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16793 (eval $ac_compile) 2>conftest.er1
16794 ac_status=$?
16795 grep -v '^ *+' conftest.er1 >conftest.err
16796 rm -f conftest.er1
16797 cat conftest.err >&5
16798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16799 (exit $ac_status); } &&
16800 { ac_try='test -z "$ac_c_werror_flag"
16801 || test ! -s conftest.err'
16802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16803 (eval $ac_try) 2>&5
16804 ac_status=$?
16805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16806 (exit $ac_status); }; } &&
16807 { ac_try='test -s conftest.$ac_objext'
16808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16809 (eval $ac_try) 2>&5
16810 ac_status=$?
16811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16812 (exit $ac_status); }; }; then
16813 ac_hi=$ac_mid
16814 else
16815 echo "$as_me: failed program was:" >&5
16816 sed 's/^/| /' conftest.$ac_ext >&5
16817
16818 ac_lo=`expr '(' $ac_mid ')' + 1`
16819 fi
16820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16821 done
16822 case $ac_lo in
16823 ?*) ac_cv_sizeof_size_t=$ac_lo;;
16824 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16825 See \`config.log' for more details." >&5
16826 echo "$as_me: error: cannot compute sizeof (size_t), 77
16827 See \`config.log' for more details." >&2;}
16828 { (exit 1); exit 1; }; } ;;
16829 esac
16830 else
16831 if test "$cross_compiling" = yes; then
16832 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16833 See \`config.log' for more details." >&5
16834 echo "$as_me: error: cannot run test program while cross compiling
16835 See \`config.log' for more details." >&2;}
16836 { (exit 1); exit 1; }; }
16837 else
16838 cat >conftest.$ac_ext <<_ACEOF
16839 /* confdefs.h. */
16840 _ACEOF
16841 cat confdefs.h >>conftest.$ac_ext
16842 cat >>conftest.$ac_ext <<_ACEOF
16843 /* end confdefs.h. */
16844 $ac_includes_default
16845 long longval () { return (long) (sizeof (size_t)); }
16846 unsigned long ulongval () { return (long) (sizeof (size_t)); }
16847 #include <stdio.h>
16848 #include <stdlib.h>
16849 int
16850 main ()
16851 {
16852
16853 FILE *f = fopen ("conftest.val", "w");
16854 if (! f)
16855 exit (1);
16856 if (((long) (sizeof (size_t))) < 0)
16857 {
16858 long i = longval ();
16859 if (i != ((long) (sizeof (size_t))))
16860 exit (1);
16861 fprintf (f, "%ld\n", i);
16862 }
16863 else
16864 {
16865 unsigned long i = ulongval ();
16866 if (i != ((long) (sizeof (size_t))))
16867 exit (1);
16868 fprintf (f, "%lu\n", i);
16869 }
16870 exit (ferror (f) || fclose (f) != 0);
16871
16872 ;
16873 return 0;
16874 }
16875 _ACEOF
16876 rm -f conftest$ac_exeext
16877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16878 (eval $ac_link) 2>&5
16879 ac_status=$?
16880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16881 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16883 (eval $ac_try) 2>&5
16884 ac_status=$?
16885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16886 (exit $ac_status); }; }; then
16887 ac_cv_sizeof_size_t=`cat conftest.val`
16888 else
16889 echo "$as_me: program exited with status $ac_status" >&5
16890 echo "$as_me: failed program was:" >&5
16891 sed 's/^/| /' conftest.$ac_ext >&5
16892
16893 ( exit $ac_status )
16894 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16895 See \`config.log' for more details." >&5
16896 echo "$as_me: error: cannot compute sizeof (size_t), 77
16897 See \`config.log' for more details." >&2;}
16898 { (exit 1); exit 1; }; }
16899 fi
16900 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16901 fi
16902 fi
16903 rm -f conftest.val
16904 else
16905 ac_cv_sizeof_size_t=0
16906 fi
16907 fi
16908 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
16909 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
16910 cat >>confdefs.h <<_ACEOF
16911 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16912 _ACEOF
16913
16914
16915
16916 case "${host}" in
16917 arm-*-linux* )
16918 echo "$as_me:$LINENO: checking for long long" >&5
16919 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16920 if test "${ac_cv_type_long_long+set}" = set; then
16921 echo $ECHO_N "(cached) $ECHO_C" >&6
16922 else
16923 cat >conftest.$ac_ext <<_ACEOF
16924 /* confdefs.h. */
16925 _ACEOF
16926 cat confdefs.h >>conftest.$ac_ext
16927 cat >>conftest.$ac_ext <<_ACEOF
16928 /* end confdefs.h. */
16929 $ac_includes_default
16930 int
16931 main ()
16932 {
16933 if ((long long *) 0)
16934 return 0;
16935 if (sizeof (long long))
16936 return 0;
16937 ;
16938 return 0;
16939 }
16940 _ACEOF
16941 rm -f conftest.$ac_objext
16942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16943 (eval $ac_compile) 2>conftest.er1
16944 ac_status=$?
16945 grep -v '^ *+' conftest.er1 >conftest.err
16946 rm -f conftest.er1
16947 cat conftest.err >&5
16948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16949 (exit $ac_status); } &&
16950 { ac_try='test -z "$ac_c_werror_flag"
16951 || test ! -s conftest.err'
16952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16953 (eval $ac_try) 2>&5
16954 ac_status=$?
16955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16956 (exit $ac_status); }; } &&
16957 { ac_try='test -s conftest.$ac_objext'
16958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16959 (eval $ac_try) 2>&5
16960 ac_status=$?
16961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16962 (exit $ac_status); }; }; then
16963 ac_cv_type_long_long=yes
16964 else
16965 echo "$as_me: failed program was:" >&5
16966 sed 's/^/| /' conftest.$ac_ext >&5
16967
16968 ac_cv_type_long_long=no
16969 fi
16970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16971 fi
16972 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16973 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16974
16975 echo "$as_me:$LINENO: checking size of long long" >&5
16976 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16977 if test "${ac_cv_sizeof_long_long+set}" = set; then
16978 echo $ECHO_N "(cached) $ECHO_C" >&6
16979 else
16980 if test "$ac_cv_type_long_long" = yes; then
16981 # The cast to unsigned long works around a bug in the HP C Compiler
16982 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16983 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16984 # This bug is HP SR number 8606223364.
16985 if test "$cross_compiling" = yes; then
16986 # Depending upon the size, compute the lo and hi bounds.
16987 cat >conftest.$ac_ext <<_ACEOF
16988 /* confdefs.h. */
16989 _ACEOF
16990 cat confdefs.h >>conftest.$ac_ext
16991 cat >>conftest.$ac_ext <<_ACEOF
16992 /* end confdefs.h. */
16993 $ac_includes_default
16994 int
16995 main ()
16996 {
16997 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16998 test_array [0] = 0
16999
17000 ;
17001 return 0;
17002 }
17003 _ACEOF
17004 rm -f conftest.$ac_objext
17005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17006 (eval $ac_compile) 2>conftest.er1
17007 ac_status=$?
17008 grep -v '^ *+' conftest.er1 >conftest.err
17009 rm -f conftest.er1
17010 cat conftest.err >&5
17011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17012 (exit $ac_status); } &&
17013 { ac_try='test -z "$ac_c_werror_flag"
17014 || test ! -s conftest.err'
17015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17016 (eval $ac_try) 2>&5
17017 ac_status=$?
17018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17019 (exit $ac_status); }; } &&
17020 { ac_try='test -s conftest.$ac_objext'
17021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17022 (eval $ac_try) 2>&5
17023 ac_status=$?
17024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17025 (exit $ac_status); }; }; then
17026 ac_lo=0 ac_mid=0
17027 while :; do
17028 cat >conftest.$ac_ext <<_ACEOF
17029 /* confdefs.h. */
17030 _ACEOF
17031 cat confdefs.h >>conftest.$ac_ext
17032 cat >>conftest.$ac_ext <<_ACEOF
17033 /* end confdefs.h. */
17034 $ac_includes_default
17035 int
17036 main ()
17037 {
17038 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17039 test_array [0] = 0
17040
17041 ;
17042 return 0;
17043 }
17044 _ACEOF
17045 rm -f conftest.$ac_objext
17046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17047 (eval $ac_compile) 2>conftest.er1
17048 ac_status=$?
17049 grep -v '^ *+' conftest.er1 >conftest.err
17050 rm -f conftest.er1
17051 cat conftest.err >&5
17052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17053 (exit $ac_status); } &&
17054 { ac_try='test -z "$ac_c_werror_flag"
17055 || test ! -s conftest.err'
17056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17057 (eval $ac_try) 2>&5
17058 ac_status=$?
17059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17060 (exit $ac_status); }; } &&
17061 { ac_try='test -s conftest.$ac_objext'
17062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17063 (eval $ac_try) 2>&5
17064 ac_status=$?
17065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17066 (exit $ac_status); }; }; then
17067 ac_hi=$ac_mid; break
17068 else
17069 echo "$as_me: failed program was:" >&5
17070 sed 's/^/| /' conftest.$ac_ext >&5
17071
17072 ac_lo=`expr $ac_mid + 1`
17073 if test $ac_lo -le $ac_mid; then
17074 ac_lo= ac_hi=
17075 break
17076 fi
17077 ac_mid=`expr 2 '*' $ac_mid + 1`
17078 fi
17079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17080 done
17081 else
17082 echo "$as_me: failed program was:" >&5
17083 sed 's/^/| /' conftest.$ac_ext >&5
17084
17085 cat >conftest.$ac_ext <<_ACEOF
17086 /* confdefs.h. */
17087 _ACEOF
17088 cat confdefs.h >>conftest.$ac_ext
17089 cat >>conftest.$ac_ext <<_ACEOF
17090 /* end confdefs.h. */
17091 $ac_includes_default
17092 int
17093 main ()
17094 {
17095 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17096 test_array [0] = 0
17097
17098 ;
17099 return 0;
17100 }
17101 _ACEOF
17102 rm -f conftest.$ac_objext
17103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17104 (eval $ac_compile) 2>conftest.er1
17105 ac_status=$?
17106 grep -v '^ *+' conftest.er1 >conftest.err
17107 rm -f conftest.er1
17108 cat conftest.err >&5
17109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17110 (exit $ac_status); } &&
17111 { ac_try='test -z "$ac_c_werror_flag"
17112 || test ! -s conftest.err'
17113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17114 (eval $ac_try) 2>&5
17115 ac_status=$?
17116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17117 (exit $ac_status); }; } &&
17118 { ac_try='test -s conftest.$ac_objext'
17119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17120 (eval $ac_try) 2>&5
17121 ac_status=$?
17122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17123 (exit $ac_status); }; }; then
17124 ac_hi=-1 ac_mid=-1
17125 while :; do
17126 cat >conftest.$ac_ext <<_ACEOF
17127 /* confdefs.h. */
17128 _ACEOF
17129 cat confdefs.h >>conftest.$ac_ext
17130 cat >>conftest.$ac_ext <<_ACEOF
17131 /* end confdefs.h. */
17132 $ac_includes_default
17133 int
17134 main ()
17135 {
17136 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17137 test_array [0] = 0
17138
17139 ;
17140 return 0;
17141 }
17142 _ACEOF
17143 rm -f conftest.$ac_objext
17144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17145 (eval $ac_compile) 2>conftest.er1
17146 ac_status=$?
17147 grep -v '^ *+' conftest.er1 >conftest.err
17148 rm -f conftest.er1
17149 cat conftest.err >&5
17150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17151 (exit $ac_status); } &&
17152 { ac_try='test -z "$ac_c_werror_flag"
17153 || test ! -s conftest.err'
17154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17155 (eval $ac_try) 2>&5
17156 ac_status=$?
17157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17158 (exit $ac_status); }; } &&
17159 { ac_try='test -s conftest.$ac_objext'
17160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17161 (eval $ac_try) 2>&5
17162 ac_status=$?
17163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17164 (exit $ac_status); }; }; then
17165 ac_lo=$ac_mid; break
17166 else
17167 echo "$as_me: failed program was:" >&5
17168 sed 's/^/| /' conftest.$ac_ext >&5
17169
17170 ac_hi=`expr '(' $ac_mid ')' - 1`
17171 if test $ac_mid -le $ac_hi; then
17172 ac_lo= ac_hi=
17173 break
17174 fi
17175 ac_mid=`expr 2 '*' $ac_mid`
17176 fi
17177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17178 done
17179 else
17180 echo "$as_me: failed program was:" >&5
17181 sed 's/^/| /' conftest.$ac_ext >&5
17182
17183 ac_lo= ac_hi=
17184 fi
17185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17186 fi
17187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17188 # Binary search between lo and hi bounds.
17189 while test "x$ac_lo" != "x$ac_hi"; do
17190 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17191 cat >conftest.$ac_ext <<_ACEOF
17192 /* confdefs.h. */
17193 _ACEOF
17194 cat confdefs.h >>conftest.$ac_ext
17195 cat >>conftest.$ac_ext <<_ACEOF
17196 /* end confdefs.h. */
17197 $ac_includes_default
17198 int
17199 main ()
17200 {
17201 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17202 test_array [0] = 0
17203
17204 ;
17205 return 0;
17206 }
17207 _ACEOF
17208 rm -f conftest.$ac_objext
17209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17210 (eval $ac_compile) 2>conftest.er1
17211 ac_status=$?
17212 grep -v '^ *+' conftest.er1 >conftest.err
17213 rm -f conftest.er1
17214 cat conftest.err >&5
17215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17216 (exit $ac_status); } &&
17217 { ac_try='test -z "$ac_c_werror_flag"
17218 || test ! -s conftest.err'
17219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17220 (eval $ac_try) 2>&5
17221 ac_status=$?
17222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17223 (exit $ac_status); }; } &&
17224 { ac_try='test -s conftest.$ac_objext'
17225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17226 (eval $ac_try) 2>&5
17227 ac_status=$?
17228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17229 (exit $ac_status); }; }; then
17230 ac_hi=$ac_mid
17231 else
17232 echo "$as_me: failed program was:" >&5
17233 sed 's/^/| /' conftest.$ac_ext >&5
17234
17235 ac_lo=`expr '(' $ac_mid ')' + 1`
17236 fi
17237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17238 done
17239 case $ac_lo in
17240 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17241 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17242 See \`config.log' for more details." >&5
17243 echo "$as_me: error: cannot compute sizeof (long long), 77
17244 See \`config.log' for more details." >&2;}
17245 { (exit 1); exit 1; }; } ;;
17246 esac
17247 else
17248 if test "$cross_compiling" = yes; then
17249 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17250 See \`config.log' for more details." >&5
17251 echo "$as_me: error: cannot run test program while cross compiling
17252 See \`config.log' for more details." >&2;}
17253 { (exit 1); exit 1; }; }
17254 else
17255 cat >conftest.$ac_ext <<_ACEOF
17256 /* confdefs.h. */
17257 _ACEOF
17258 cat confdefs.h >>conftest.$ac_ext
17259 cat >>conftest.$ac_ext <<_ACEOF
17260 /* end confdefs.h. */
17261 $ac_includes_default
17262 long longval () { return (long) (sizeof (long long)); }
17263 unsigned long ulongval () { return (long) (sizeof (long long)); }
17264 #include <stdio.h>
17265 #include <stdlib.h>
17266 int
17267 main ()
17268 {
17269
17270 FILE *f = fopen ("conftest.val", "w");
17271 if (! f)
17272 exit (1);
17273 if (((long) (sizeof (long long))) < 0)
17274 {
17275 long i = longval ();
17276 if (i != ((long) (sizeof (long long))))
17277 exit (1);
17278 fprintf (f, "%ld\n", i);
17279 }
17280 else
17281 {
17282 unsigned long i = ulongval ();
17283 if (i != ((long) (sizeof (long long))))
17284 exit (1);
17285 fprintf (f, "%lu\n", i);
17286 }
17287 exit (ferror (f) || fclose (f) != 0);
17288
17289 ;
17290 return 0;
17291 }
17292 _ACEOF
17293 rm -f conftest$ac_exeext
17294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17295 (eval $ac_link) 2>&5
17296 ac_status=$?
17297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17298 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17300 (eval $ac_try) 2>&5
17301 ac_status=$?
17302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17303 (exit $ac_status); }; }; then
17304 ac_cv_sizeof_long_long=`cat conftest.val`
17305 else
17306 echo "$as_me: program exited with status $ac_status" >&5
17307 echo "$as_me: failed program was:" >&5
17308 sed 's/^/| /' conftest.$ac_ext >&5
17309
17310 ( exit $ac_status )
17311 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17312 See \`config.log' for more details." >&5
17313 echo "$as_me: error: cannot compute sizeof (long long), 77
17314 See \`config.log' for more details." >&2;}
17315 { (exit 1); exit 1; }; }
17316 fi
17317 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17318 fi
17319 fi
17320 rm -f conftest.val
17321 else
17322 ac_cv_sizeof_long_long=0
17323 fi
17324 fi
17325 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17326 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17327 cat >>confdefs.h <<_ACEOF
17328 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17329 _ACEOF
17330
17331
17332 ;;
17333 *-hp-hpux* )
17334 echo "$as_me:$LINENO: checking for long long" >&5
17335 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17336 if test "${ac_cv_type_long_long+set}" = set; then
17337 echo $ECHO_N "(cached) $ECHO_C" >&6
17338 else
17339 cat >conftest.$ac_ext <<_ACEOF
17340 /* confdefs.h. */
17341 _ACEOF
17342 cat confdefs.h >>conftest.$ac_ext
17343 cat >>conftest.$ac_ext <<_ACEOF
17344 /* end confdefs.h. */
17345 $ac_includes_default
17346 int
17347 main ()
17348 {
17349 if ((long long *) 0)
17350 return 0;
17351 if (sizeof (long long))
17352 return 0;
17353 ;
17354 return 0;
17355 }
17356 _ACEOF
17357 rm -f conftest.$ac_objext
17358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17359 (eval $ac_compile) 2>conftest.er1
17360 ac_status=$?
17361 grep -v '^ *+' conftest.er1 >conftest.err
17362 rm -f conftest.er1
17363 cat conftest.err >&5
17364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17365 (exit $ac_status); } &&
17366 { ac_try='test -z "$ac_c_werror_flag"
17367 || test ! -s conftest.err'
17368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17369 (eval $ac_try) 2>&5
17370 ac_status=$?
17371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17372 (exit $ac_status); }; } &&
17373 { ac_try='test -s conftest.$ac_objext'
17374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17375 (eval $ac_try) 2>&5
17376 ac_status=$?
17377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17378 (exit $ac_status); }; }; then
17379 ac_cv_type_long_long=yes
17380 else
17381 echo "$as_me: failed program was:" >&5
17382 sed 's/^/| /' conftest.$ac_ext >&5
17383
17384 ac_cv_type_long_long=no
17385 fi
17386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17387 fi
17388 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17389 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17390
17391 echo "$as_me:$LINENO: checking size of long long" >&5
17392 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17393 if test "${ac_cv_sizeof_long_long+set}" = set; then
17394 echo $ECHO_N "(cached) $ECHO_C" >&6
17395 else
17396 if test "$ac_cv_type_long_long" = yes; then
17397 # The cast to unsigned long works around a bug in the HP C Compiler
17398 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17399 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17400 # This bug is HP SR number 8606223364.
17401 if test "$cross_compiling" = yes; then
17402 # Depending upon the size, compute the lo and hi bounds.
17403 cat >conftest.$ac_ext <<_ACEOF
17404 /* confdefs.h. */
17405 _ACEOF
17406 cat confdefs.h >>conftest.$ac_ext
17407 cat >>conftest.$ac_ext <<_ACEOF
17408 /* end confdefs.h. */
17409 $ac_includes_default
17410 int
17411 main ()
17412 {
17413 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17414 test_array [0] = 0
17415
17416 ;
17417 return 0;
17418 }
17419 _ACEOF
17420 rm -f conftest.$ac_objext
17421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17422 (eval $ac_compile) 2>conftest.er1
17423 ac_status=$?
17424 grep -v '^ *+' conftest.er1 >conftest.err
17425 rm -f conftest.er1
17426 cat conftest.err >&5
17427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17428 (exit $ac_status); } &&
17429 { ac_try='test -z "$ac_c_werror_flag"
17430 || test ! -s conftest.err'
17431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17432 (eval $ac_try) 2>&5
17433 ac_status=$?
17434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17435 (exit $ac_status); }; } &&
17436 { ac_try='test -s conftest.$ac_objext'
17437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17438 (eval $ac_try) 2>&5
17439 ac_status=$?
17440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17441 (exit $ac_status); }; }; then
17442 ac_lo=0 ac_mid=0
17443 while :; do
17444 cat >conftest.$ac_ext <<_ACEOF
17445 /* confdefs.h. */
17446 _ACEOF
17447 cat confdefs.h >>conftest.$ac_ext
17448 cat >>conftest.$ac_ext <<_ACEOF
17449 /* end confdefs.h. */
17450 $ac_includes_default
17451 int
17452 main ()
17453 {
17454 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17455 test_array [0] = 0
17456
17457 ;
17458 return 0;
17459 }
17460 _ACEOF
17461 rm -f conftest.$ac_objext
17462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17463 (eval $ac_compile) 2>conftest.er1
17464 ac_status=$?
17465 grep -v '^ *+' conftest.er1 >conftest.err
17466 rm -f conftest.er1
17467 cat conftest.err >&5
17468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17469 (exit $ac_status); } &&
17470 { ac_try='test -z "$ac_c_werror_flag"
17471 || test ! -s conftest.err'
17472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17473 (eval $ac_try) 2>&5
17474 ac_status=$?
17475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17476 (exit $ac_status); }; } &&
17477 { ac_try='test -s conftest.$ac_objext'
17478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17479 (eval $ac_try) 2>&5
17480 ac_status=$?
17481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17482 (exit $ac_status); }; }; then
17483 ac_hi=$ac_mid; break
17484 else
17485 echo "$as_me: failed program was:" >&5
17486 sed 's/^/| /' conftest.$ac_ext >&5
17487
17488 ac_lo=`expr $ac_mid + 1`
17489 if test $ac_lo -le $ac_mid; then
17490 ac_lo= ac_hi=
17491 break
17492 fi
17493 ac_mid=`expr 2 '*' $ac_mid + 1`
17494 fi
17495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17496 done
17497 else
17498 echo "$as_me: failed program was:" >&5
17499 sed 's/^/| /' conftest.$ac_ext >&5
17500
17501 cat >conftest.$ac_ext <<_ACEOF
17502 /* confdefs.h. */
17503 _ACEOF
17504 cat confdefs.h >>conftest.$ac_ext
17505 cat >>conftest.$ac_ext <<_ACEOF
17506 /* end confdefs.h. */
17507 $ac_includes_default
17508 int
17509 main ()
17510 {
17511 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17512 test_array [0] = 0
17513
17514 ;
17515 return 0;
17516 }
17517 _ACEOF
17518 rm -f conftest.$ac_objext
17519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17520 (eval $ac_compile) 2>conftest.er1
17521 ac_status=$?
17522 grep -v '^ *+' conftest.er1 >conftest.err
17523 rm -f conftest.er1
17524 cat conftest.err >&5
17525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17526 (exit $ac_status); } &&
17527 { ac_try='test -z "$ac_c_werror_flag"
17528 || test ! -s conftest.err'
17529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17530 (eval $ac_try) 2>&5
17531 ac_status=$?
17532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17533 (exit $ac_status); }; } &&
17534 { ac_try='test -s conftest.$ac_objext'
17535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17536 (eval $ac_try) 2>&5
17537 ac_status=$?
17538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17539 (exit $ac_status); }; }; then
17540 ac_hi=-1 ac_mid=-1
17541 while :; do
17542 cat >conftest.$ac_ext <<_ACEOF
17543 /* confdefs.h. */
17544 _ACEOF
17545 cat confdefs.h >>conftest.$ac_ext
17546 cat >>conftest.$ac_ext <<_ACEOF
17547 /* end confdefs.h. */
17548 $ac_includes_default
17549 int
17550 main ()
17551 {
17552 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17553 test_array [0] = 0
17554
17555 ;
17556 return 0;
17557 }
17558 _ACEOF
17559 rm -f conftest.$ac_objext
17560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17561 (eval $ac_compile) 2>conftest.er1
17562 ac_status=$?
17563 grep -v '^ *+' conftest.er1 >conftest.err
17564 rm -f conftest.er1
17565 cat conftest.err >&5
17566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17567 (exit $ac_status); } &&
17568 { ac_try='test -z "$ac_c_werror_flag"
17569 || test ! -s conftest.err'
17570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17571 (eval $ac_try) 2>&5
17572 ac_status=$?
17573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17574 (exit $ac_status); }; } &&
17575 { ac_try='test -s conftest.$ac_objext'
17576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17577 (eval $ac_try) 2>&5
17578 ac_status=$?
17579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17580 (exit $ac_status); }; }; then
17581 ac_lo=$ac_mid; break
17582 else
17583 echo "$as_me: failed program was:" >&5
17584 sed 's/^/| /' conftest.$ac_ext >&5
17585
17586 ac_hi=`expr '(' $ac_mid ')' - 1`
17587 if test $ac_mid -le $ac_hi; then
17588 ac_lo= ac_hi=
17589 break
17590 fi
17591 ac_mid=`expr 2 '*' $ac_mid`
17592 fi
17593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17594 done
17595 else
17596 echo "$as_me: failed program was:" >&5
17597 sed 's/^/| /' conftest.$ac_ext >&5
17598
17599 ac_lo= ac_hi=
17600 fi
17601 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17602 fi
17603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17604 # Binary search between lo and hi bounds.
17605 while test "x$ac_lo" != "x$ac_hi"; do
17606 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17607 cat >conftest.$ac_ext <<_ACEOF
17608 /* confdefs.h. */
17609 _ACEOF
17610 cat confdefs.h >>conftest.$ac_ext
17611 cat >>conftest.$ac_ext <<_ACEOF
17612 /* end confdefs.h. */
17613 $ac_includes_default
17614 int
17615 main ()
17616 {
17617 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17618 test_array [0] = 0
17619
17620 ;
17621 return 0;
17622 }
17623 _ACEOF
17624 rm -f conftest.$ac_objext
17625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17626 (eval $ac_compile) 2>conftest.er1
17627 ac_status=$?
17628 grep -v '^ *+' conftest.er1 >conftest.err
17629 rm -f conftest.er1
17630 cat conftest.err >&5
17631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17632 (exit $ac_status); } &&
17633 { ac_try='test -z "$ac_c_werror_flag"
17634 || test ! -s conftest.err'
17635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17636 (eval $ac_try) 2>&5
17637 ac_status=$?
17638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17639 (exit $ac_status); }; } &&
17640 { ac_try='test -s conftest.$ac_objext'
17641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17642 (eval $ac_try) 2>&5
17643 ac_status=$?
17644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17645 (exit $ac_status); }; }; then
17646 ac_hi=$ac_mid
17647 else
17648 echo "$as_me: failed program was:" >&5
17649 sed 's/^/| /' conftest.$ac_ext >&5
17650
17651 ac_lo=`expr '(' $ac_mid ')' + 1`
17652 fi
17653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17654 done
17655 case $ac_lo in
17656 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17657 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17658 See \`config.log' for more details." >&5
17659 echo "$as_me: error: cannot compute sizeof (long long), 77
17660 See \`config.log' for more details." >&2;}
17661 { (exit 1); exit 1; }; } ;;
17662 esac
17663 else
17664 if test "$cross_compiling" = yes; then
17665 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17666 See \`config.log' for more details." >&5
17667 echo "$as_me: error: cannot run test program while cross compiling
17668 See \`config.log' for more details." >&2;}
17669 { (exit 1); exit 1; }; }
17670 else
17671 cat >conftest.$ac_ext <<_ACEOF
17672 /* confdefs.h. */
17673 _ACEOF
17674 cat confdefs.h >>conftest.$ac_ext
17675 cat >>conftest.$ac_ext <<_ACEOF
17676 /* end confdefs.h. */
17677 $ac_includes_default
17678 long longval () { return (long) (sizeof (long long)); }
17679 unsigned long ulongval () { return (long) (sizeof (long long)); }
17680 #include <stdio.h>
17681 #include <stdlib.h>
17682 int
17683 main ()
17684 {
17685
17686 FILE *f = fopen ("conftest.val", "w");
17687 if (! f)
17688 exit (1);
17689 if (((long) (sizeof (long long))) < 0)
17690 {
17691 long i = longval ();
17692 if (i != ((long) (sizeof (long long))))
17693 exit (1);
17694 fprintf (f, "%ld\n", i);
17695 }
17696 else
17697 {
17698 unsigned long i = ulongval ();
17699 if (i != ((long) (sizeof (long long))))
17700 exit (1);
17701 fprintf (f, "%lu\n", i);
17702 }
17703 exit (ferror (f) || fclose (f) != 0);
17704
17705 ;
17706 return 0;
17707 }
17708 _ACEOF
17709 rm -f conftest$ac_exeext
17710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17711 (eval $ac_link) 2>&5
17712 ac_status=$?
17713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17714 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17716 (eval $ac_try) 2>&5
17717 ac_status=$?
17718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17719 (exit $ac_status); }; }; then
17720 ac_cv_sizeof_long_long=`cat conftest.val`
17721 else
17722 echo "$as_me: program exited with status $ac_status" >&5
17723 echo "$as_me: failed program was:" >&5
17724 sed 's/^/| /' conftest.$ac_ext >&5
17725
17726 ( exit $ac_status )
17727 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17728 See \`config.log' for more details." >&5
17729 echo "$as_me: error: cannot compute sizeof (long long), 77
17730 See \`config.log' for more details." >&2;}
17731 { (exit 1); exit 1; }; }
17732 fi
17733 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17734 fi
17735 fi
17736 rm -f conftest.val
17737 else
17738 ac_cv_sizeof_long_long=0
17739 fi
17740 fi
17741 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17742 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17743 cat >>confdefs.h <<_ACEOF
17744 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17745 _ACEOF
17746
17747
17748 if test "$ac_cv_sizeof_long_long" != "0"; then
17749 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
17750 fi
17751 ;;
17752 * )
17753 echo "$as_me:$LINENO: checking for long long" >&5
17754 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17755 if test "${ac_cv_type_long_long+set}" = set; then
17756 echo $ECHO_N "(cached) $ECHO_C" >&6
17757 else
17758 cat >conftest.$ac_ext <<_ACEOF
17759 /* confdefs.h. */
17760 _ACEOF
17761 cat confdefs.h >>conftest.$ac_ext
17762 cat >>conftest.$ac_ext <<_ACEOF
17763 /* end confdefs.h. */
17764 $ac_includes_default
17765 int
17766 main ()
17767 {
17768 if ((long long *) 0)
17769 return 0;
17770 if (sizeof (long long))
17771 return 0;
17772 ;
17773 return 0;
17774 }
17775 _ACEOF
17776 rm -f conftest.$ac_objext
17777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17778 (eval $ac_compile) 2>conftest.er1
17779 ac_status=$?
17780 grep -v '^ *+' conftest.er1 >conftest.err
17781 rm -f conftest.er1
17782 cat conftest.err >&5
17783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17784 (exit $ac_status); } &&
17785 { ac_try='test -z "$ac_c_werror_flag"
17786 || test ! -s conftest.err'
17787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17788 (eval $ac_try) 2>&5
17789 ac_status=$?
17790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17791 (exit $ac_status); }; } &&
17792 { ac_try='test -s conftest.$ac_objext'
17793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17794 (eval $ac_try) 2>&5
17795 ac_status=$?
17796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17797 (exit $ac_status); }; }; then
17798 ac_cv_type_long_long=yes
17799 else
17800 echo "$as_me: failed program was:" >&5
17801 sed 's/^/| /' conftest.$ac_ext >&5
17802
17803 ac_cv_type_long_long=no
17804 fi
17805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17806 fi
17807 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17808 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17809
17810 echo "$as_me:$LINENO: checking size of long long" >&5
17811 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17812 if test "${ac_cv_sizeof_long_long+set}" = set; then
17813 echo $ECHO_N "(cached) $ECHO_C" >&6
17814 else
17815 if test "$ac_cv_type_long_long" = yes; then
17816 # The cast to unsigned long works around a bug in the HP C Compiler
17817 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17818 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17819 # This bug is HP SR number 8606223364.
17820 if test "$cross_compiling" = yes; then
17821 # Depending upon the size, compute the lo and hi bounds.
17822 cat >conftest.$ac_ext <<_ACEOF
17823 /* confdefs.h. */
17824 _ACEOF
17825 cat confdefs.h >>conftest.$ac_ext
17826 cat >>conftest.$ac_ext <<_ACEOF
17827 /* end confdefs.h. */
17828 $ac_includes_default
17829 int
17830 main ()
17831 {
17832 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17833 test_array [0] = 0
17834
17835 ;
17836 return 0;
17837 }
17838 _ACEOF
17839 rm -f conftest.$ac_objext
17840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17841 (eval $ac_compile) 2>conftest.er1
17842 ac_status=$?
17843 grep -v '^ *+' conftest.er1 >conftest.err
17844 rm -f conftest.er1
17845 cat conftest.err >&5
17846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17847 (exit $ac_status); } &&
17848 { ac_try='test -z "$ac_c_werror_flag"
17849 || test ! -s conftest.err'
17850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17851 (eval $ac_try) 2>&5
17852 ac_status=$?
17853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17854 (exit $ac_status); }; } &&
17855 { ac_try='test -s conftest.$ac_objext'
17856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17857 (eval $ac_try) 2>&5
17858 ac_status=$?
17859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17860 (exit $ac_status); }; }; then
17861 ac_lo=0 ac_mid=0
17862 while :; do
17863 cat >conftest.$ac_ext <<_ACEOF
17864 /* confdefs.h. */
17865 _ACEOF
17866 cat confdefs.h >>conftest.$ac_ext
17867 cat >>conftest.$ac_ext <<_ACEOF
17868 /* end confdefs.h. */
17869 $ac_includes_default
17870 int
17871 main ()
17872 {
17873 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17874 test_array [0] = 0
17875
17876 ;
17877 return 0;
17878 }
17879 _ACEOF
17880 rm -f conftest.$ac_objext
17881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17882 (eval $ac_compile) 2>conftest.er1
17883 ac_status=$?
17884 grep -v '^ *+' conftest.er1 >conftest.err
17885 rm -f conftest.er1
17886 cat conftest.err >&5
17887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17888 (exit $ac_status); } &&
17889 { ac_try='test -z "$ac_c_werror_flag"
17890 || 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_hi=$ac_mid; break
17903 else
17904 echo "$as_me: failed program was:" >&5
17905 sed 's/^/| /' conftest.$ac_ext >&5
17906
17907 ac_lo=`expr $ac_mid + 1`
17908 if test $ac_lo -le $ac_mid; then
17909 ac_lo= ac_hi=
17910 break
17911 fi
17912 ac_mid=`expr 2 '*' $ac_mid + 1`
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 cat >conftest.$ac_ext <<_ACEOF
17921 /* confdefs.h. */
17922 _ACEOF
17923 cat confdefs.h >>conftest.$ac_ext
17924 cat >>conftest.$ac_ext <<_ACEOF
17925 /* end confdefs.h. */
17926 $ac_includes_default
17927 int
17928 main ()
17929 {
17930 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17931 test_array [0] = 0
17932
17933 ;
17934 return 0;
17935 }
17936 _ACEOF
17937 rm -f conftest.$ac_objext
17938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17939 (eval $ac_compile) 2>conftest.er1
17940 ac_status=$?
17941 grep -v '^ *+' conftest.er1 >conftest.err
17942 rm -f conftest.er1
17943 cat conftest.err >&5
17944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17945 (exit $ac_status); } &&
17946 { ac_try='test -z "$ac_c_werror_flag"
17947 || test ! -s conftest.err'
17948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17949 (eval $ac_try) 2>&5
17950 ac_status=$?
17951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17952 (exit $ac_status); }; } &&
17953 { ac_try='test -s conftest.$ac_objext'
17954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17955 (eval $ac_try) 2>&5
17956 ac_status=$?
17957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17958 (exit $ac_status); }; }; then
17959 ac_hi=-1 ac_mid=-1
17960 while :; do
17961 cat >conftest.$ac_ext <<_ACEOF
17962 /* confdefs.h. */
17963 _ACEOF
17964 cat confdefs.h >>conftest.$ac_ext
17965 cat >>conftest.$ac_ext <<_ACEOF
17966 /* end confdefs.h. */
17967 $ac_includes_default
17968 int
17969 main ()
17970 {
17971 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17972 test_array [0] = 0
17973
17974 ;
17975 return 0;
17976 }
17977 _ACEOF
17978 rm -f conftest.$ac_objext
17979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17980 (eval $ac_compile) 2>conftest.er1
17981 ac_status=$?
17982 grep -v '^ *+' conftest.er1 >conftest.err
17983 rm -f conftest.er1
17984 cat conftest.err >&5
17985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17986 (exit $ac_status); } &&
17987 { ac_try='test -z "$ac_c_werror_flag"
17988 || test ! -s conftest.err'
17989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17990 (eval $ac_try) 2>&5
17991 ac_status=$?
17992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17993 (exit $ac_status); }; } &&
17994 { ac_try='test -s conftest.$ac_objext'
17995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17996 (eval $ac_try) 2>&5
17997 ac_status=$?
17998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17999 (exit $ac_status); }; }; then
18000 ac_lo=$ac_mid; break
18001 else
18002 echo "$as_me: failed program was:" >&5
18003 sed 's/^/| /' conftest.$ac_ext >&5
18004
18005 ac_hi=`expr '(' $ac_mid ')' - 1`
18006 if test $ac_mid -le $ac_hi; then
18007 ac_lo= ac_hi=
18008 break
18009 fi
18010 ac_mid=`expr 2 '*' $ac_mid`
18011 fi
18012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18013 done
18014 else
18015 echo "$as_me: failed program was:" >&5
18016 sed 's/^/| /' conftest.$ac_ext >&5
18017
18018 ac_lo= ac_hi=
18019 fi
18020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18021 fi
18022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18023 # Binary search between lo and hi bounds.
18024 while test "x$ac_lo" != "x$ac_hi"; do
18025 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18026 cat >conftest.$ac_ext <<_ACEOF
18027 /* confdefs.h. */
18028 _ACEOF
18029 cat confdefs.h >>conftest.$ac_ext
18030 cat >>conftest.$ac_ext <<_ACEOF
18031 /* end confdefs.h. */
18032 $ac_includes_default
18033 int
18034 main ()
18035 {
18036 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18037 test_array [0] = 0
18038
18039 ;
18040 return 0;
18041 }
18042 _ACEOF
18043 rm -f conftest.$ac_objext
18044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18045 (eval $ac_compile) 2>conftest.er1
18046 ac_status=$?
18047 grep -v '^ *+' conftest.er1 >conftest.err
18048 rm -f conftest.er1
18049 cat conftest.err >&5
18050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18051 (exit $ac_status); } &&
18052 { ac_try='test -z "$ac_c_werror_flag"
18053 || test ! -s conftest.err'
18054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18055 (eval $ac_try) 2>&5
18056 ac_status=$?
18057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18058 (exit $ac_status); }; } &&
18059 { ac_try='test -s conftest.$ac_objext'
18060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18061 (eval $ac_try) 2>&5
18062 ac_status=$?
18063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18064 (exit $ac_status); }; }; then
18065 ac_hi=$ac_mid
18066 else
18067 echo "$as_me: failed program was:" >&5
18068 sed 's/^/| /' conftest.$ac_ext >&5
18069
18070 ac_lo=`expr '(' $ac_mid ')' + 1`
18071 fi
18072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18073 done
18074 case $ac_lo in
18075 ?*) ac_cv_sizeof_long_long=$ac_lo;;
18076 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18077 See \`config.log' for more details." >&5
18078 echo "$as_me: error: cannot compute sizeof (long long), 77
18079 See \`config.log' for more details." >&2;}
18080 { (exit 1); exit 1; }; } ;;
18081 esac
18082 else
18083 if test "$cross_compiling" = yes; then
18084 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18085 See \`config.log' for more details." >&5
18086 echo "$as_me: error: cannot run test program while cross compiling
18087 See \`config.log' for more details." >&2;}
18088 { (exit 1); exit 1; }; }
18089 else
18090 cat >conftest.$ac_ext <<_ACEOF
18091 /* confdefs.h. */
18092 _ACEOF
18093 cat confdefs.h >>conftest.$ac_ext
18094 cat >>conftest.$ac_ext <<_ACEOF
18095 /* end confdefs.h. */
18096 $ac_includes_default
18097 long longval () { return (long) (sizeof (long long)); }
18098 unsigned long ulongval () { return (long) (sizeof (long long)); }
18099 #include <stdio.h>
18100 #include <stdlib.h>
18101 int
18102 main ()
18103 {
18104
18105 FILE *f = fopen ("conftest.val", "w");
18106 if (! f)
18107 exit (1);
18108 if (((long) (sizeof (long long))) < 0)
18109 {
18110 long i = longval ();
18111 if (i != ((long) (sizeof (long long))))
18112 exit (1);
18113 fprintf (f, "%ld\n", i);
18114 }
18115 else
18116 {
18117 unsigned long i = ulongval ();
18118 if (i != ((long) (sizeof (long long))))
18119 exit (1);
18120 fprintf (f, "%lu\n", i);
18121 }
18122 exit (ferror (f) || fclose (f) != 0);
18123
18124 ;
18125 return 0;
18126 }
18127 _ACEOF
18128 rm -f conftest$ac_exeext
18129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18130 (eval $ac_link) 2>&5
18131 ac_status=$?
18132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18133 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18135 (eval $ac_try) 2>&5
18136 ac_status=$?
18137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18138 (exit $ac_status); }; }; then
18139 ac_cv_sizeof_long_long=`cat conftest.val`
18140 else
18141 echo "$as_me: program exited with status $ac_status" >&5
18142 echo "$as_me: failed program was:" >&5
18143 sed 's/^/| /' conftest.$ac_ext >&5
18144
18145 ( exit $ac_status )
18146 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18147 See \`config.log' for more details." >&5
18148 echo "$as_me: error: cannot compute sizeof (long long), 77
18149 See \`config.log' for more details." >&2;}
18150 { (exit 1); exit 1; }; }
18151 fi
18152 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18153 fi
18154 fi
18155 rm -f conftest.val
18156 else
18157 ac_cv_sizeof_long_long=0
18158 fi
18159 fi
18160 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18161 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18162 cat >>confdefs.h <<_ACEOF
18163 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18164 _ACEOF
18165
18166
18167 esac
18168
18169 echo "$as_me:$LINENO: checking size of wchar_t" >&5
18170 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
18171 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
18172 echo $ECHO_N "(cached) $ECHO_C" >&6
18173 else
18174
18175 if test "$cross_compiling" = yes; then
18176
18177 case "${host}" in
18178 *-pc-msdosdjgpp )
18179 wx_cv_sizeof_wchar_t=0
18180 ;;
18181 * )
18182 wx_cv_sizeof_wchar_t=4
18183 ;;
18184 esac
18185
18186
18187 else
18188 cat >conftest.$ac_ext <<_ACEOF
18189 /* confdefs.h. */
18190 _ACEOF
18191 cat confdefs.h >>conftest.$ac_ext
18192 cat >>conftest.$ac_ext <<_ACEOF
18193 /* end confdefs.h. */
18194
18195 /* DJGPP only has fake wchar_t: */
18196 #ifdef __DJGPP__
18197 # error "fake wchar_t"
18198 #endif
18199 #ifdef HAVE_WCHAR_H
18200 # ifdef __CYGWIN__
18201 # include <stddef.h>
18202 # endif
18203 # include <wchar.h>
18204 #endif
18205 #ifdef HAVE_STDLIB_H
18206 # include <stdlib.h>
18207 #endif
18208 #include <stdio.h>
18209 int main()
18210 {
18211 FILE *f=fopen("conftestval", "w");
18212 if (!f) exit(1);
18213 fprintf(f, "%i", sizeof(wchar_t));
18214 exit(0);
18215 }
18216
18217 _ACEOF
18218 rm -f conftest$ac_exeext
18219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18220 (eval $ac_link) 2>&5
18221 ac_status=$?
18222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18223 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18225 (eval $ac_try) 2>&5
18226 ac_status=$?
18227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18228 (exit $ac_status); }; }; then
18229 wx_cv_sizeof_wchar_t=`cat conftestval`
18230 else
18231 echo "$as_me: program exited with status $ac_status" >&5
18232 echo "$as_me: failed program was:" >&5
18233 sed 's/^/| /' conftest.$ac_ext >&5
18234
18235 ( exit $ac_status )
18236 wx_cv_sizeof_wchar_t=0
18237 fi
18238 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18239 fi
18240
18241 fi
18242 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18243 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18244
18245 cat >>confdefs.h <<_ACEOF
18246 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18247 _ACEOF
18248
18249
18250 echo "$as_me:$LINENO: checking for va_copy" >&5
18251 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
18252 if test "${wx_cv_func_va_copy+set}" = set; then
18253 echo $ECHO_N "(cached) $ECHO_C" >&6
18254 else
18255
18256 cat >conftest.$ac_ext <<_ACEOF
18257
18258 #include <stdarg.h>
18259 void foo(char *f, ...)
18260 {
18261 va_list ap1, ap2;
18262 va_start(ap1, f);
18263 va_copy(ap2, ap1);
18264 va_end(ap2);
18265 va_end(ap1);
18266 }
18267 _ACEOF
18268 rm -f conftest.$ac_objext conftest$ac_exeext
18269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18270 (eval $ac_link) 2>conftest.er1
18271 ac_status=$?
18272 grep -v '^ *+' conftest.er1 >conftest.err
18273 rm -f conftest.er1
18274 cat conftest.err >&5
18275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18276 (exit $ac_status); } &&
18277 { ac_try='test -z "$ac_c_werror_flag"
18278 || test ! -s conftest.err'
18279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18280 (eval $ac_try) 2>&5
18281 ac_status=$?
18282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18283 (exit $ac_status); }; } &&
18284 { ac_try='test -s conftest$ac_exeext'
18285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18286 (eval $ac_try) 2>&5
18287 ac_status=$?
18288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18289 (exit $ac_status); }; }; then
18290 wx_cv_func_va_copy=yes
18291 else
18292 echo "$as_me: failed program was:" >&5
18293 sed 's/^/| /' conftest.$ac_ext >&5
18294
18295 wx_cv_func_va_copy=no
18296
18297 fi
18298 rm -f conftest.err conftest.$ac_objext \
18299 conftest$ac_exeext conftest.$ac_ext
18300
18301
18302 fi
18303 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
18304 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
18305
18306 if test $wx_cv_func_va_copy = "yes"; then
18307 cat >>confdefs.h <<\_ACEOF
18308 #define HAVE_VA_COPY 1
18309 _ACEOF
18310
18311 else
18312 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
18313 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
18314 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
18315 echo $ECHO_N "(cached) $ECHO_C" >&6
18316 else
18317
18318 if test "$cross_compiling" = yes; then
18319 wx_cv_type_va_list_lvalue=yes
18320
18321 else
18322 cat >conftest.$ac_ext <<_ACEOF
18323
18324 #include <stdarg.h>
18325 int foo(char *f, ...)
18326 {
18327 va_list ap1, ap2;
18328 va_start(ap1, f);
18329 ap2 = ap1;
18330 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
18331 return 1;
18332 va_end(ap2);
18333 va_end(ap1);
18334 return 0;
18335 }
18336 int main()
18337 {
18338 return foo("hi", 17);
18339 }
18340 _ACEOF
18341 rm -f conftest$ac_exeext
18342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18343 (eval $ac_link) 2>&5
18344 ac_status=$?
18345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18346 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18348 (eval $ac_try) 2>&5
18349 ac_status=$?
18350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18351 (exit $ac_status); }; }; then
18352 wx_cv_type_va_list_lvalue=yes
18353 else
18354 echo "$as_me: program exited with status $ac_status" >&5
18355 echo "$as_me: failed program was:" >&5
18356 sed 's/^/| /' conftest.$ac_ext >&5
18357
18358 ( exit $ac_status )
18359 wx_cv_type_va_list_lvalue=no
18360 fi
18361 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18362 fi
18363
18364
18365 fi
18366 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
18367 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
18368
18369 if test $wx_cv_type_va_list_lvalue != "yes"; then
18370 cat >>confdefs.h <<\_ACEOF
18371 #define VA_LIST_IS_ARRAY 1
18372 _ACEOF
18373
18374 fi
18375 fi
18376
18377 # Check whether --enable-largefile or --disable-largefile was given.
18378 if test "${enable_largefile+set}" = set; then
18379 enableval="$enable_largefile"
18380
18381 fi;
18382 if test "$enable_largefile" != no; then
18383 wx_largefile=no
18384
18385 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18386 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18387 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18388 echo $ECHO_N "(cached) $ECHO_C" >&6
18389 else
18390
18391 cat >conftest.$ac_ext <<_ACEOF
18392 /* confdefs.h. */
18393 _ACEOF
18394 cat confdefs.h >>conftest.$ac_ext
18395 cat >>conftest.$ac_ext <<_ACEOF
18396 /* end confdefs.h. */
18397 #define _FILE_OFFSET_BITS 64
18398 #include <sys/types.h>
18399 int
18400 main ()
18401 {
18402 typedef struct {
18403 unsigned int field: sizeof(off_t) == 8;
18404 } wxlf;
18405
18406 ;
18407 return 0;
18408 }
18409 _ACEOF
18410 rm -f conftest.$ac_objext
18411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18412 (eval $ac_compile) 2>conftest.er1
18413 ac_status=$?
18414 grep -v '^ *+' conftest.er1 >conftest.err
18415 rm -f conftest.er1
18416 cat conftest.err >&5
18417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18418 (exit $ac_status); } &&
18419 { ac_try='test -z "$ac_c_werror_flag"
18420 || test ! -s conftest.err'
18421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18422 (eval $ac_try) 2>&5
18423 ac_status=$?
18424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18425 (exit $ac_status); }; } &&
18426 { ac_try='test -s conftest.$ac_objext'
18427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18428 (eval $ac_try) 2>&5
18429 ac_status=$?
18430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18431 (exit $ac_status); }; }; then
18432 ac_cv_sys_file_offset_bits=64
18433 else
18434 echo "$as_me: failed program was:" >&5
18435 sed 's/^/| /' conftest.$ac_ext >&5
18436
18437 ac_cv_sys_file_offset_bits=no
18438 fi
18439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18440
18441
18442 fi
18443 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18444 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18445
18446 if test "$ac_cv_sys_file_offset_bits" != no; then
18447 wx_largefile=yes
18448 cat >>confdefs.h <<_ACEOF
18449 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18450 _ACEOF
18451
18452 fi
18453
18454 if test "x$wx_largefile" != "xyes"; then
18455
18456 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18457 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18458 if test "${ac_cv_sys_large_files+set}" = set; then
18459 echo $ECHO_N "(cached) $ECHO_C" >&6
18460 else
18461
18462 cat >conftest.$ac_ext <<_ACEOF
18463 /* confdefs.h. */
18464 _ACEOF
18465 cat confdefs.h >>conftest.$ac_ext
18466 cat >>conftest.$ac_ext <<_ACEOF
18467 /* end confdefs.h. */
18468 #define _LARGE_FILES 1
18469 #include <sys/types.h>
18470 int
18471 main ()
18472 {
18473 typedef struct {
18474 unsigned int field: sizeof(off_t) == 8;
18475 } wxlf;
18476
18477 ;
18478 return 0;
18479 }
18480 _ACEOF
18481 rm -f conftest.$ac_objext
18482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18483 (eval $ac_compile) 2>conftest.er1
18484 ac_status=$?
18485 grep -v '^ *+' conftest.er1 >conftest.err
18486 rm -f conftest.er1
18487 cat conftest.err >&5
18488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18489 (exit $ac_status); } &&
18490 { ac_try='test -z "$ac_c_werror_flag"
18491 || test ! -s conftest.err'
18492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18493 (eval $ac_try) 2>&5
18494 ac_status=$?
18495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18496 (exit $ac_status); }; } &&
18497 { ac_try='test -s conftest.$ac_objext'
18498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18499 (eval $ac_try) 2>&5
18500 ac_status=$?
18501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18502 (exit $ac_status); }; }; then
18503 ac_cv_sys_large_files=1
18504 else
18505 echo "$as_me: failed program was:" >&5
18506 sed 's/^/| /' conftest.$ac_ext >&5
18507
18508 ac_cv_sys_large_files=no
18509 fi
18510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18511
18512
18513 fi
18514 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18515 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18516
18517 if test "$ac_cv_sys_large_files" != no; then
18518 wx_largefile=yes
18519 cat >>confdefs.h <<_ACEOF
18520 #define _LARGE_FILES $ac_cv_sys_large_files
18521 _ACEOF
18522
18523 fi
18524
18525 fi
18526
18527 echo "$as_me:$LINENO: checking if large file support is available" >&5
18528 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18529 if test "x$wx_largefile" = "xyes"; then
18530 cat >>confdefs.h <<\_ACEOF
18531 #define HAVE_LARGEFILE_SUPPORT 1
18532 _ACEOF
18533
18534 fi
18535 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18536 echo "${ECHO_T}$wx_largefile" >&6
18537 fi
18538
18539
18540 if test "x$wx_largefile" = "xyes"; then
18541 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18542 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18543 else
18544 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
18545 fi
18546 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18547 fi
18548
18549 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18550 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18551 if test "${ac_cv_c_bigendian+set}" = set; then
18552 echo $ECHO_N "(cached) $ECHO_C" >&6
18553 else
18554 ac_cv_c_bigendian=unknown
18555 # See if sys/param.h defines the BYTE_ORDER macro.
18556 cat >conftest.$ac_ext <<_ACEOF
18557 /* confdefs.h. */
18558 _ACEOF
18559 cat confdefs.h >>conftest.$ac_ext
18560 cat >>conftest.$ac_ext <<_ACEOF
18561 /* end confdefs.h. */
18562 #include <sys/types.h>
18563 #include <sys/param.h>
18564 int
18565 main ()
18566 {
18567
18568 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18569 bogus endian macros
18570 #endif
18571 ;
18572 return 0;
18573 }
18574 _ACEOF
18575 rm -f conftest.$ac_objext
18576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18577 (eval $ac_compile) 2>conftest.er1
18578 ac_status=$?
18579 grep -v '^ *+' conftest.er1 >conftest.err
18580 rm -f conftest.er1
18581 cat conftest.err >&5
18582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18583 (exit $ac_status); } &&
18584 { ac_try='test -z "$ac_c_werror_flag"
18585 || test ! -s conftest.err'
18586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18587 (eval $ac_try) 2>&5
18588 ac_status=$?
18589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18590 (exit $ac_status); }; } &&
18591 { ac_try='test -s conftest.$ac_objext'
18592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18593 (eval $ac_try) 2>&5
18594 ac_status=$?
18595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18596 (exit $ac_status); }; }; then
18597 # It does; now see whether it defined to BIG_ENDIAN or not.
18598 cat >conftest.$ac_ext <<_ACEOF
18599 /* confdefs.h. */
18600 _ACEOF
18601 cat confdefs.h >>conftest.$ac_ext
18602 cat >>conftest.$ac_ext <<_ACEOF
18603 /* end confdefs.h. */
18604 #include <sys/types.h>
18605 #include <sys/param.h>
18606 int
18607 main ()
18608 {
18609
18610 #if BYTE_ORDER != BIG_ENDIAN
18611 not big endian
18612 #endif
18613 ;
18614 return 0;
18615 }
18616 _ACEOF
18617 rm -f conftest.$ac_objext
18618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18619 (eval $ac_compile) 2>conftest.er1
18620 ac_status=$?
18621 grep -v '^ *+' conftest.er1 >conftest.err
18622 rm -f conftest.er1
18623 cat conftest.err >&5
18624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18625 (exit $ac_status); } &&
18626 { ac_try='test -z "$ac_c_werror_flag"
18627 || test ! -s conftest.err'
18628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18629 (eval $ac_try) 2>&5
18630 ac_status=$?
18631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18632 (exit $ac_status); }; } &&
18633 { ac_try='test -s conftest.$ac_objext'
18634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18635 (eval $ac_try) 2>&5
18636 ac_status=$?
18637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18638 (exit $ac_status); }; }; then
18639 ac_cv_c_bigendian=yes
18640 else
18641 echo "$as_me: failed program was:" >&5
18642 sed 's/^/| /' conftest.$ac_ext >&5
18643
18644 ac_cv_c_bigendian=no
18645 fi
18646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18647 else
18648 echo "$as_me: failed program was:" >&5
18649 sed 's/^/| /' conftest.$ac_ext >&5
18650
18651 fi
18652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18653 if test $ac_cv_c_bigendian = unknown; then
18654 if test "$cross_compiling" = yes; then
18655 ac_cv_c_bigendian=unknown
18656 else
18657 cat >conftest.$ac_ext <<_ACEOF
18658 /* confdefs.h. */
18659 _ACEOF
18660 cat confdefs.h >>conftest.$ac_ext
18661 cat >>conftest.$ac_ext <<_ACEOF
18662 /* end confdefs.h. */
18663 main () {
18664 /* Are we little or big endian? From Harbison&Steele. */
18665 union
18666 {
18667 long l;
18668 char c[sizeof (long)];
18669 } u;
18670 u.l = 1;
18671 exit (u.c[sizeof (long) - 1] == 1);
18672 }
18673 _ACEOF
18674 rm -f conftest$ac_exeext
18675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18676 (eval $ac_link) 2>&5
18677 ac_status=$?
18678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18679 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18681 (eval $ac_try) 2>&5
18682 ac_status=$?
18683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18684 (exit $ac_status); }; }; then
18685 ac_cv_c_bigendian=no
18686 else
18687 echo "$as_me: program exited with status $ac_status" >&5
18688 echo "$as_me: failed program was:" >&5
18689 sed 's/^/| /' conftest.$ac_ext >&5
18690
18691 ( exit $ac_status )
18692 ac_cv_c_bigendian=yes
18693 fi
18694 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18695 fi
18696 fi
18697 fi
18698 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18699 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
18700 if test $ac_cv_c_bigendian = unknown; then
18701 { 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
18702 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;}
18703 fi
18704 if test $ac_cv_c_bigendian = yes; then
18705 cat >>confdefs.h <<\_ACEOF
18706 #define WORDS_BIGENDIAN 1
18707 _ACEOF
18708
18709 fi
18710
18711
18712 ac_ext=cc
18713 ac_cpp='$CXXCPP $CPPFLAGS'
18714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18717 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
18718 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
18719 if test -z "$CXXCPP"; then
18720 if test "${ac_cv_prog_CXXCPP+set}" = set; then
18721 echo $ECHO_N "(cached) $ECHO_C" >&6
18722 else
18723 # Double quotes because CXXCPP needs to be expanded
18724 for CXXCPP in "$CXX -E" "/lib/cpp"
18725 do
18726 ac_preproc_ok=false
18727 for ac_cxx_preproc_warn_flag in '' yes
18728 do
18729 # Use a header file that comes with gcc, so configuring glibc
18730 # with a fresh cross-compiler works.
18731 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18732 # <limits.h> exists even on freestanding compilers.
18733 # On the NeXT, cc -E runs the code through the compiler's parser,
18734 # not just through cpp. "Syntax error" is here to catch this case.
18735 cat >conftest.$ac_ext <<_ACEOF
18736 /* confdefs.h. */
18737 _ACEOF
18738 cat confdefs.h >>conftest.$ac_ext
18739 cat >>conftest.$ac_ext <<_ACEOF
18740 /* end confdefs.h. */
18741 #ifdef __STDC__
18742 # include <limits.h>
18743 #else
18744 # include <assert.h>
18745 #endif
18746 Syntax error
18747 _ACEOF
18748 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18749 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18750 ac_status=$?
18751 grep -v '^ *+' conftest.er1 >conftest.err
18752 rm -f conftest.er1
18753 cat conftest.err >&5
18754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18755 (exit $ac_status); } >/dev/null; then
18756 if test -s conftest.err; then
18757 ac_cpp_err=$ac_cxx_preproc_warn_flag
18758 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18759 else
18760 ac_cpp_err=
18761 fi
18762 else
18763 ac_cpp_err=yes
18764 fi
18765 if test -z "$ac_cpp_err"; then
18766 :
18767 else
18768 echo "$as_me: failed program was:" >&5
18769 sed 's/^/| /' conftest.$ac_ext >&5
18770
18771 # Broken: fails on valid input.
18772 continue
18773 fi
18774 rm -f conftest.err conftest.$ac_ext
18775
18776 # OK, works on sane cases. Now check whether non-existent headers
18777 # can be detected and how.
18778 cat >conftest.$ac_ext <<_ACEOF
18779 /* confdefs.h. */
18780 _ACEOF
18781 cat confdefs.h >>conftest.$ac_ext
18782 cat >>conftest.$ac_ext <<_ACEOF
18783 /* end confdefs.h. */
18784 #include <ac_nonexistent.h>
18785 _ACEOF
18786 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18787 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18788 ac_status=$?
18789 grep -v '^ *+' conftest.er1 >conftest.err
18790 rm -f conftest.er1
18791 cat conftest.err >&5
18792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18793 (exit $ac_status); } >/dev/null; then
18794 if test -s conftest.err; then
18795 ac_cpp_err=$ac_cxx_preproc_warn_flag
18796 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18797 else
18798 ac_cpp_err=
18799 fi
18800 else
18801 ac_cpp_err=yes
18802 fi
18803 if test -z "$ac_cpp_err"; then
18804 # Broken: success on invalid input.
18805 continue
18806 else
18807 echo "$as_me: failed program was:" >&5
18808 sed 's/^/| /' conftest.$ac_ext >&5
18809
18810 # Passes both tests.
18811 ac_preproc_ok=:
18812 break
18813 fi
18814 rm -f conftest.err conftest.$ac_ext
18815
18816 done
18817 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18818 rm -f conftest.err conftest.$ac_ext
18819 if $ac_preproc_ok; then
18820 break
18821 fi
18822
18823 done
18824 ac_cv_prog_CXXCPP=$CXXCPP
18825
18826 fi
18827 CXXCPP=$ac_cv_prog_CXXCPP
18828 else
18829 ac_cv_prog_CXXCPP=$CXXCPP
18830 fi
18831 echo "$as_me:$LINENO: result: $CXXCPP" >&5
18832 echo "${ECHO_T}$CXXCPP" >&6
18833 ac_preproc_ok=false
18834 for ac_cxx_preproc_warn_flag in '' yes
18835 do
18836 # Use a header file that comes with gcc, so configuring glibc
18837 # with a fresh cross-compiler works.
18838 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18839 # <limits.h> exists even on freestanding compilers.
18840 # On the NeXT, cc -E runs the code through the compiler's parser,
18841 # not just through cpp. "Syntax error" is here to catch this case.
18842 cat >conftest.$ac_ext <<_ACEOF
18843 /* confdefs.h. */
18844 _ACEOF
18845 cat confdefs.h >>conftest.$ac_ext
18846 cat >>conftest.$ac_ext <<_ACEOF
18847 /* end confdefs.h. */
18848 #ifdef __STDC__
18849 # include <limits.h>
18850 #else
18851 # include <assert.h>
18852 #endif
18853 Syntax error
18854 _ACEOF
18855 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18856 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18857 ac_status=$?
18858 grep -v '^ *+' conftest.er1 >conftest.err
18859 rm -f conftest.er1
18860 cat conftest.err >&5
18861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18862 (exit $ac_status); } >/dev/null; then
18863 if test -s conftest.err; then
18864 ac_cpp_err=$ac_cxx_preproc_warn_flag
18865 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18866 else
18867 ac_cpp_err=
18868 fi
18869 else
18870 ac_cpp_err=yes
18871 fi
18872 if test -z "$ac_cpp_err"; then
18873 :
18874 else
18875 echo "$as_me: failed program was:" >&5
18876 sed 's/^/| /' conftest.$ac_ext >&5
18877
18878 # Broken: fails on valid input.
18879 continue
18880 fi
18881 rm -f conftest.err conftest.$ac_ext
18882
18883 # OK, works on sane cases. Now check whether non-existent headers
18884 # can be detected and how.
18885 cat >conftest.$ac_ext <<_ACEOF
18886 /* confdefs.h. */
18887 _ACEOF
18888 cat confdefs.h >>conftest.$ac_ext
18889 cat >>conftest.$ac_ext <<_ACEOF
18890 /* end confdefs.h. */
18891 #include <ac_nonexistent.h>
18892 _ACEOF
18893 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18894 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18895 ac_status=$?
18896 grep -v '^ *+' conftest.er1 >conftest.err
18897 rm -f conftest.er1
18898 cat conftest.err >&5
18899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18900 (exit $ac_status); } >/dev/null; then
18901 if test -s conftest.err; then
18902 ac_cpp_err=$ac_cxx_preproc_warn_flag
18903 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18904 else
18905 ac_cpp_err=
18906 fi
18907 else
18908 ac_cpp_err=yes
18909 fi
18910 if test -z "$ac_cpp_err"; then
18911 # Broken: success on invalid input.
18912 continue
18913 else
18914 echo "$as_me: failed program was:" >&5
18915 sed 's/^/| /' conftest.$ac_ext >&5
18916
18917 # Passes both tests.
18918 ac_preproc_ok=:
18919 break
18920 fi
18921 rm -f conftest.err conftest.$ac_ext
18922
18923 done
18924 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18925 rm -f conftest.err conftest.$ac_ext
18926 if $ac_preproc_ok; then
18927 :
18928 else
18929 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18930 See \`config.log' for more details." >&5
18931 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18932 See \`config.log' for more details." >&2;}
18933 { (exit 1); exit 1; }; }
18934 fi
18935
18936 ac_ext=cc
18937 ac_cpp='$CXXCPP $CPPFLAGS'
18938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18941
18942
18943
18944
18945
18946 ac_ext=cc
18947 ac_cpp='$CXXCPP $CPPFLAGS'
18948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18951
18952
18953
18954 for ac_header in iostream
18955 do
18956 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18957 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18958 echo "$as_me:$LINENO: checking for $ac_header" >&5
18959 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18960 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18961 echo $ECHO_N "(cached) $ECHO_C" >&6
18962 fi
18963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18964 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18965 else
18966 # Is the header compilable?
18967 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18968 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18969 cat >conftest.$ac_ext <<_ACEOF
18970 /* confdefs.h. */
18971 _ACEOF
18972 cat confdefs.h >>conftest.$ac_ext
18973 cat >>conftest.$ac_ext <<_ACEOF
18974 /* end confdefs.h. */
18975 $ac_includes_default
18976 #include <$ac_header>
18977 _ACEOF
18978 rm -f conftest.$ac_objext
18979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18980 (eval $ac_compile) 2>conftest.er1
18981 ac_status=$?
18982 grep -v '^ *+' conftest.er1 >conftest.err
18983 rm -f conftest.er1
18984 cat conftest.err >&5
18985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18986 (exit $ac_status); } &&
18987 { ac_try='test -z "$ac_cxx_werror_flag"
18988 || test ! -s conftest.err'
18989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18990 (eval $ac_try) 2>&5
18991 ac_status=$?
18992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18993 (exit $ac_status); }; } &&
18994 { ac_try='test -s conftest.$ac_objext'
18995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18996 (eval $ac_try) 2>&5
18997 ac_status=$?
18998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18999 (exit $ac_status); }; }; then
19000 ac_header_compiler=yes
19001 else
19002 echo "$as_me: failed program was:" >&5
19003 sed 's/^/| /' conftest.$ac_ext >&5
19004
19005 ac_header_compiler=no
19006 fi
19007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19008 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19009 echo "${ECHO_T}$ac_header_compiler" >&6
19010
19011 # Is the header present?
19012 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19013 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19014 cat >conftest.$ac_ext <<_ACEOF
19015 /* confdefs.h. */
19016 _ACEOF
19017 cat confdefs.h >>conftest.$ac_ext
19018 cat >>conftest.$ac_ext <<_ACEOF
19019 /* end confdefs.h. */
19020 #include <$ac_header>
19021 _ACEOF
19022 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19023 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19024 ac_status=$?
19025 grep -v '^ *+' conftest.er1 >conftest.err
19026 rm -f conftest.er1
19027 cat conftest.err >&5
19028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19029 (exit $ac_status); } >/dev/null; then
19030 if test -s conftest.err; then
19031 ac_cpp_err=$ac_cxx_preproc_warn_flag
19032 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19033 else
19034 ac_cpp_err=
19035 fi
19036 else
19037 ac_cpp_err=yes
19038 fi
19039 if test -z "$ac_cpp_err"; then
19040 ac_header_preproc=yes
19041 else
19042 echo "$as_me: failed program was:" >&5
19043 sed 's/^/| /' conftest.$ac_ext >&5
19044
19045 ac_header_preproc=no
19046 fi
19047 rm -f conftest.err conftest.$ac_ext
19048 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19049 echo "${ECHO_T}$ac_header_preproc" >&6
19050
19051 # So? What about this header?
19052 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19053 yes:no: )
19054 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19055 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19056 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19057 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19058 ac_header_preproc=yes
19059 ;;
19060 no:yes:* )
19061 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19062 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19063 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19064 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19065 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19066 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19067 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19068 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19069 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19070 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19071 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19072 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19073 (
19074 cat <<\_ASBOX
19075 ## ----------------------------------------- ##
19076 ## Report this to wx-dev@lists.wxwidgets.org ##
19077 ## ----------------------------------------- ##
19078 _ASBOX
19079 ) |
19080 sed "s/^/$as_me: WARNING: /" >&2
19081 ;;
19082 esac
19083 echo "$as_me:$LINENO: checking for $ac_header" >&5
19084 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19085 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19086 echo $ECHO_N "(cached) $ECHO_C" >&6
19087 else
19088 eval "$as_ac_Header=\$ac_header_preproc"
19089 fi
19090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19091 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19092
19093 fi
19094 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19095 cat >>confdefs.h <<_ACEOF
19096 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19097 _ACEOF
19098
19099 fi
19100
19101 done
19102
19103
19104 if test "$ac_cv_header_iostream" = "yes" ; then
19105 :
19106 else
19107 cat >>confdefs.h <<\_ACEOF
19108 #define wxUSE_IOSTREAMH 1
19109 _ACEOF
19110
19111 fi
19112
19113 ac_ext=c
19114 ac_cpp='$CPP $CPPFLAGS'
19115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19118
19119
19120
19121
19122 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
19123 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
19124 if test "${wx_cv_cpp_bool+set}" = set; then
19125 echo $ECHO_N "(cached) $ECHO_C" >&6
19126 else
19127
19128
19129
19130 ac_ext=cc
19131 ac_cpp='$CXXCPP $CPPFLAGS'
19132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19135
19136
19137 cat >conftest.$ac_ext <<_ACEOF
19138 /* confdefs.h. */
19139 _ACEOF
19140 cat confdefs.h >>conftest.$ac_ext
19141 cat >>conftest.$ac_ext <<_ACEOF
19142 /* end confdefs.h. */
19143
19144
19145 int
19146 main ()
19147 {
19148
19149 bool b = true;
19150
19151 return 0;
19152
19153 ;
19154 return 0;
19155 }
19156 _ACEOF
19157 rm -f conftest.$ac_objext
19158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19159 (eval $ac_compile) 2>conftest.er1
19160 ac_status=$?
19161 grep -v '^ *+' conftest.er1 >conftest.err
19162 rm -f conftest.er1
19163 cat conftest.err >&5
19164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19165 (exit $ac_status); } &&
19166 { ac_try='test -z "$ac_cxx_werror_flag"
19167 || test ! -s conftest.err'
19168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19169 (eval $ac_try) 2>&5
19170 ac_status=$?
19171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19172 (exit $ac_status); }; } &&
19173 { ac_try='test -s conftest.$ac_objext'
19174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19175 (eval $ac_try) 2>&5
19176 ac_status=$?
19177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19178 (exit $ac_status); }; }; then
19179
19180 wx_cv_cpp_bool=yes
19181
19182 else
19183 echo "$as_me: failed program was:" >&5
19184 sed 's/^/| /' conftest.$ac_ext >&5
19185
19186
19187 wx_cv_cpp_bool=no
19188
19189
19190 fi
19191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19192
19193 ac_ext=c
19194 ac_cpp='$CPP $CPPFLAGS'
19195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19198
19199
19200 fi
19201 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
19202 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
19203
19204 if test "$wx_cv_cpp_bool" = "yes"; then
19205 cat >>confdefs.h <<\_ACEOF
19206 #define HAVE_BOOL 1
19207 _ACEOF
19208
19209 fi
19210
19211
19212
19213 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
19214 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
19215 if test "${wx_cv_explicit+set}" = set; then
19216 echo $ECHO_N "(cached) $ECHO_C" >&6
19217 else
19218
19219
19220
19221 ac_ext=cc
19222 ac_cpp='$CXXCPP $CPPFLAGS'
19223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19226
19227
19228 cat >conftest.$ac_ext <<_ACEOF
19229 /* confdefs.h. */
19230 _ACEOF
19231 cat confdefs.h >>conftest.$ac_ext
19232 cat >>conftest.$ac_ext <<_ACEOF
19233 /* end confdefs.h. */
19234
19235 class Foo { public: explicit Foo(int) {} };
19236
19237 int
19238 main ()
19239 {
19240
19241 return 0;
19242
19243 ;
19244 return 0;
19245 }
19246 _ACEOF
19247 rm -f conftest.$ac_objext
19248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19249 (eval $ac_compile) 2>conftest.er1
19250 ac_status=$?
19251 grep -v '^ *+' conftest.er1 >conftest.err
19252 rm -f conftest.er1
19253 cat conftest.err >&5
19254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19255 (exit $ac_status); } &&
19256 { ac_try='test -z "$ac_cxx_werror_flag"
19257 || test ! -s conftest.err'
19258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19259 (eval $ac_try) 2>&5
19260 ac_status=$?
19261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19262 (exit $ac_status); }; } &&
19263 { ac_try='test -s conftest.$ac_objext'
19264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19265 (eval $ac_try) 2>&5
19266 ac_status=$?
19267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19268 (exit $ac_status); }; }; then
19269
19270 cat >conftest.$ac_ext <<_ACEOF
19271 /* confdefs.h. */
19272 _ACEOF
19273 cat confdefs.h >>conftest.$ac_ext
19274 cat >>conftest.$ac_ext <<_ACEOF
19275 /* end confdefs.h. */
19276
19277 class Foo { public: explicit Foo(int) {} };
19278 static void TakeFoo(const Foo& foo) { }
19279
19280 int
19281 main ()
19282 {
19283
19284 TakeFoo(17);
19285 return 0;
19286
19287 ;
19288 return 0;
19289 }
19290 _ACEOF
19291 rm -f conftest.$ac_objext
19292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19293 (eval $ac_compile) 2>conftest.er1
19294 ac_status=$?
19295 grep -v '^ *+' conftest.er1 >conftest.err
19296 rm -f conftest.er1
19297 cat conftest.err >&5
19298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19299 (exit $ac_status); } &&
19300 { ac_try='test -z "$ac_cxx_werror_flag"
19301 || test ! -s conftest.err'
19302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19303 (eval $ac_try) 2>&5
19304 ac_status=$?
19305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19306 (exit $ac_status); }; } &&
19307 { ac_try='test -s conftest.$ac_objext'
19308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19309 (eval $ac_try) 2>&5
19310 ac_status=$?
19311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19312 (exit $ac_status); }; }; then
19313 wx_cv_explicit=no
19314 else
19315 echo "$as_me: failed program was:" >&5
19316 sed 's/^/| /' conftest.$ac_ext >&5
19317
19318 wx_cv_explicit=yes
19319
19320 fi
19321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19322
19323 else
19324 echo "$as_me: failed program was:" >&5
19325 sed 's/^/| /' conftest.$ac_ext >&5
19326
19327 wx_cv_explicit=no
19328
19329 fi
19330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19331
19332 ac_ext=c
19333 ac_cpp='$CPP $CPPFLAGS'
19334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19337
19338
19339 fi
19340 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
19341 echo "${ECHO_T}$wx_cv_explicit" >&6
19342
19343 if test "$wx_cv_explicit" = "yes"; then
19344 cat >>confdefs.h <<\_ACEOF
19345 #define HAVE_EXPLICIT 1
19346 _ACEOF
19347
19348 fi
19349
19350
19351 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
19352 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
19353 if test "${ac_cv_cxx_const_cast+set}" = set; then
19354 echo $ECHO_N "(cached) $ECHO_C" >&6
19355 else
19356
19357
19358 ac_ext=cc
19359 ac_cpp='$CXXCPP $CPPFLAGS'
19360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19363
19364 cat >conftest.$ac_ext <<_ACEOF
19365 /* confdefs.h. */
19366 _ACEOF
19367 cat confdefs.h >>conftest.$ac_ext
19368 cat >>conftest.$ac_ext <<_ACEOF
19369 /* end confdefs.h. */
19370
19371 int
19372 main ()
19373 {
19374 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19375 ;
19376 return 0;
19377 }
19378 _ACEOF
19379 rm -f conftest.$ac_objext
19380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19381 (eval $ac_compile) 2>conftest.er1
19382 ac_status=$?
19383 grep -v '^ *+' conftest.er1 >conftest.err
19384 rm -f conftest.er1
19385 cat conftest.err >&5
19386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19387 (exit $ac_status); } &&
19388 { ac_try='test -z "$ac_cxx_werror_flag"
19389 || test ! -s conftest.err'
19390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19391 (eval $ac_try) 2>&5
19392 ac_status=$?
19393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19394 (exit $ac_status); }; } &&
19395 { ac_try='test -s conftest.$ac_objext'
19396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19397 (eval $ac_try) 2>&5
19398 ac_status=$?
19399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19400 (exit $ac_status); }; }; then
19401 ac_cv_cxx_const_cast=yes
19402 else
19403 echo "$as_me: failed program was:" >&5
19404 sed 's/^/| /' conftest.$ac_ext >&5
19405
19406 ac_cv_cxx_const_cast=no
19407 fi
19408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19409 ac_ext=c
19410 ac_cpp='$CPP $CPPFLAGS'
19411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19414
19415
19416 fi
19417 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19418 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19419 if test "$ac_cv_cxx_const_cast" = yes; then
19420
19421 cat >>confdefs.h <<\_ACEOF
19422 #define HAVE_CONST_CAST
19423 _ACEOF
19424
19425 fi
19426
19427 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
19428 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
19429 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
19430 echo $ECHO_N "(cached) $ECHO_C" >&6
19431 else
19432
19433
19434 ac_ext=cc
19435 ac_cpp='$CXXCPP $CPPFLAGS'
19436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19439
19440 cat >conftest.$ac_ext <<_ACEOF
19441 /* confdefs.h. */
19442 _ACEOF
19443 cat confdefs.h >>conftest.$ac_ext
19444 cat >>conftest.$ac_ext <<_ACEOF
19445 /* end confdefs.h. */
19446 #include <typeinfo>
19447 class Base { public : Base () {} virtual void f () = 0;};
19448 class Derived : public Base { public : Derived () {} virtual void f () {} };
19449 class Unrelated { public : Unrelated () {} };
19450 int g (Unrelated&) { return 0; }
19451 int
19452 main ()
19453 {
19454
19455 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
19456 ;
19457 return 0;
19458 }
19459 _ACEOF
19460 rm -f conftest.$ac_objext
19461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19462 (eval $ac_compile) 2>conftest.er1
19463 ac_status=$?
19464 grep -v '^ *+' conftest.er1 >conftest.err
19465 rm -f conftest.er1
19466 cat conftest.err >&5
19467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19468 (exit $ac_status); } &&
19469 { ac_try='test -z "$ac_cxx_werror_flag"
19470 || test ! -s conftest.err'
19471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19472 (eval $ac_try) 2>&5
19473 ac_status=$?
19474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19475 (exit $ac_status); }; } &&
19476 { ac_try='test -s conftest.$ac_objext'
19477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19478 (eval $ac_try) 2>&5
19479 ac_status=$?
19480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19481 (exit $ac_status); }; }; then
19482 ac_cv_cxx_reinterpret_cast=yes
19483 else
19484 echo "$as_me: failed program was:" >&5
19485 sed 's/^/| /' conftest.$ac_ext >&5
19486
19487 ac_cv_cxx_reinterpret_cast=no
19488 fi
19489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19490 ac_ext=c
19491 ac_cpp='$CPP $CPPFLAGS'
19492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19495
19496
19497 fi
19498 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
19499 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
19500 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
19501
19502 cat >>confdefs.h <<\_ACEOF
19503 #define HAVE_REINTERPRET_CAST
19504 _ACEOF
19505
19506 fi
19507
19508 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19509 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19510 if test "${ac_cv_cxx_static_cast+set}" = set; then
19511 echo $ECHO_N "(cached) $ECHO_C" >&6
19512 else
19513
19514
19515 ac_ext=cc
19516 ac_cpp='$CXXCPP $CPPFLAGS'
19517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19520
19521 cat >conftest.$ac_ext <<_ACEOF
19522 /* confdefs.h. */
19523 _ACEOF
19524 cat confdefs.h >>conftest.$ac_ext
19525 cat >>conftest.$ac_ext <<_ACEOF
19526 /* end confdefs.h. */
19527 #include <typeinfo>
19528 class Base { public : Base () {} virtual void f () = 0; };
19529 class Derived : public Base { public : Derived () {} virtual void f () {} };
19530 int g (Derived&) { return 0; }
19531 int
19532 main ()
19533 {
19534
19535 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19536 ;
19537 return 0;
19538 }
19539 _ACEOF
19540 rm -f conftest.$ac_objext
19541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19542 (eval $ac_compile) 2>conftest.er1
19543 ac_status=$?
19544 grep -v '^ *+' conftest.er1 >conftest.err
19545 rm -f conftest.er1
19546 cat conftest.err >&5
19547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19548 (exit $ac_status); } &&
19549 { ac_try='test -z "$ac_cxx_werror_flag"
19550 || test ! -s conftest.err'
19551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19552 (eval $ac_try) 2>&5
19553 ac_status=$?
19554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19555 (exit $ac_status); }; } &&
19556 { ac_try='test -s conftest.$ac_objext'
19557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19558 (eval $ac_try) 2>&5
19559 ac_status=$?
19560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19561 (exit $ac_status); }; }; then
19562 ac_cv_cxx_static_cast=yes
19563 else
19564 echo "$as_me: failed program was:" >&5
19565 sed 's/^/| /' conftest.$ac_ext >&5
19566
19567 ac_cv_cxx_static_cast=no
19568 fi
19569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19570 ac_ext=c
19571 ac_cpp='$CPP $CPPFLAGS'
19572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19575
19576
19577 fi
19578 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19579 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19580 if test "$ac_cv_cxx_static_cast" = yes; then
19581
19582 cat >>confdefs.h <<\_ACEOF
19583 #define HAVE_STATIC_CAST
19584 _ACEOF
19585
19586 fi
19587
19588
19589 if test "$wxUSE_STL" = "yes"; then
19590 ac_ext=cc
19591 ac_cpp='$CXXCPP $CPPFLAGS'
19592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19595
19596
19597 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19598 echo $ECHO_N "checking for basic STL functionality... $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 #include <functional>
19607 #include <algorithm>
19608 #include <vector>
19609 #include <list>
19610 int
19611 main ()
19612 {
19613 std::vector<int> moo;
19614 std::list<int> foo;
19615 std::vector<int>::iterator it =
19616 std::find_if(moo.begin(), moo.end(),
19617 std::bind2nd(std::less<int>(), 3));
19618 ;
19619 return 0;
19620 }
19621 _ACEOF
19622 rm -f conftest.$ac_objext
19623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19624 (eval $ac_compile) 2>conftest.er1
19625 ac_status=$?
19626 grep -v '^ *+' conftest.er1 >conftest.err
19627 rm -f conftest.er1
19628 cat conftest.err >&5
19629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19630 (exit $ac_status); } &&
19631 { ac_try='test -z "$ac_cxx_werror_flag"
19632 || test ! -s conftest.err'
19633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19634 (eval $ac_try) 2>&5
19635 ac_status=$?
19636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19637 (exit $ac_status); }; } &&
19638 { ac_try='test -s conftest.$ac_objext'
19639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19640 (eval $ac_try) 2>&5
19641 ac_status=$?
19642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19643 (exit $ac_status); }; }; then
19644 echo "$as_me:$LINENO: result: yes" >&5
19645 echo "${ECHO_T}yes" >&6
19646 else
19647 echo "$as_me: failed program was:" >&5
19648 sed 's/^/| /' conftest.$ac_ext >&5
19649
19650 echo "$as_me:$LINENO: result: no" >&5
19651 echo "${ECHO_T}no" >&6
19652 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
19653 echo "$as_me: error: Basic STL functionality missing" >&2;}
19654 { (exit 1); exit 1; }; }
19655 fi
19656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19657
19658 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
19659 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
19660 cat >conftest.$ac_ext <<_ACEOF
19661 /* confdefs.h. */
19662 _ACEOF
19663 cat confdefs.h >>conftest.$ac_ext
19664 cat >>conftest.$ac_ext <<_ACEOF
19665 /* end confdefs.h. */
19666 #include <string>
19667 int
19668 main ()
19669 {
19670 std::wstring foo;
19671 ;
19672 return 0;
19673 }
19674 _ACEOF
19675 rm -f conftest.$ac_objext
19676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19677 (eval $ac_compile) 2>conftest.er1
19678 ac_status=$?
19679 grep -v '^ *+' conftest.er1 >conftest.err
19680 rm -f conftest.er1
19681 cat conftest.err >&5
19682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19683 (exit $ac_status); } &&
19684 { ac_try='test -z "$ac_cxx_werror_flag"
19685 || test ! -s conftest.err'
19686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19687 (eval $ac_try) 2>&5
19688 ac_status=$?
19689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19690 (exit $ac_status); }; } &&
19691 { ac_try='test -s conftest.$ac_objext'
19692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19693 (eval $ac_try) 2>&5
19694 ac_status=$?
19695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19696 (exit $ac_status); }; }; then
19697 echo "$as_me:$LINENO: result: yes" >&5
19698 echo "${ECHO_T}yes" >&6
19699 cat >>confdefs.h <<\_ACEOF
19700 #define HAVE_STD_WSTRING 1
19701 _ACEOF
19702
19703 else
19704 echo "$as_me: failed program was:" >&5
19705 sed 's/^/| /' conftest.$ac_ext >&5
19706
19707 echo "$as_me:$LINENO: result: no" >&5
19708 echo "${ECHO_T}no" >&6
19709 fi
19710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19711
19712 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
19713 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
19714 cat >conftest.$ac_ext <<_ACEOF
19715 /* confdefs.h. */
19716 _ACEOF
19717 cat confdefs.h >>conftest.$ac_ext
19718 cat >>conftest.$ac_ext <<_ACEOF
19719 /* end confdefs.h. */
19720 #include <string>
19721 int
19722 main ()
19723 {
19724 std::string foo, bar;
19725 foo.compare(bar);
19726 foo.compare(1, 1, bar);
19727 foo.compare(1, 1, bar, 1, 1);
19728 foo.compare("");
19729 foo.compare(1, 1, "");
19730 foo.compare(1, 1, "", 2);
19731 ;
19732 return 0;
19733 }
19734 _ACEOF
19735 rm -f conftest.$ac_objext
19736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19737 (eval $ac_compile) 2>conftest.er1
19738 ac_status=$?
19739 grep -v '^ *+' conftest.er1 >conftest.err
19740 rm -f conftest.er1
19741 cat conftest.err >&5
19742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19743 (exit $ac_status); } &&
19744 { ac_try='test -z "$ac_cxx_werror_flag"
19745 || test ! -s conftest.err'
19746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19747 (eval $ac_try) 2>&5
19748 ac_status=$?
19749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19750 (exit $ac_status); }; } &&
19751 { ac_try='test -s conftest.$ac_objext'
19752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19753 (eval $ac_try) 2>&5
19754 ac_status=$?
19755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19756 (exit $ac_status); }; }; then
19757 echo "$as_me:$LINENO: result: yes" >&5
19758 echo "${ECHO_T}yes" >&6
19759 cat >>confdefs.h <<\_ACEOF
19760 #define HAVE_STD_STRING_COMPARE 1
19761 _ACEOF
19762
19763 else
19764 echo "$as_me: failed program was:" >&5
19765 sed 's/^/| /' conftest.$ac_ext >&5
19766
19767 echo "$as_me:$LINENO: result: no" >&5
19768 echo "${ECHO_T}no" >&6
19769 fi
19770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19771
19772 if test "${ac_cv_header_hash_map+set}" = set; then
19773 echo "$as_me:$LINENO: checking for hash_map" >&5
19774 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19775 if test "${ac_cv_header_hash_map+set}" = set; then
19776 echo $ECHO_N "(cached) $ECHO_C" >&6
19777 fi
19778 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19779 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19780 else
19781 # Is the header compilable?
19782 echo "$as_me:$LINENO: checking hash_map usability" >&5
19783 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
19784 cat >conftest.$ac_ext <<_ACEOF
19785 /* confdefs.h. */
19786 _ACEOF
19787 cat confdefs.h >>conftest.$ac_ext
19788 cat >>conftest.$ac_ext <<_ACEOF
19789 /* end confdefs.h. */
19790 $ac_includes_default
19791 #include <hash_map>
19792 _ACEOF
19793 rm -f conftest.$ac_objext
19794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19795 (eval $ac_compile) 2>conftest.er1
19796 ac_status=$?
19797 grep -v '^ *+' conftest.er1 >conftest.err
19798 rm -f conftest.er1
19799 cat conftest.err >&5
19800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19801 (exit $ac_status); } &&
19802 { ac_try='test -z "$ac_cxx_werror_flag"
19803 || test ! -s conftest.err'
19804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19805 (eval $ac_try) 2>&5
19806 ac_status=$?
19807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19808 (exit $ac_status); }; } &&
19809 { ac_try='test -s conftest.$ac_objext'
19810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19811 (eval $ac_try) 2>&5
19812 ac_status=$?
19813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19814 (exit $ac_status); }; }; then
19815 ac_header_compiler=yes
19816 else
19817 echo "$as_me: failed program was:" >&5
19818 sed 's/^/| /' conftest.$ac_ext >&5
19819
19820 ac_header_compiler=no
19821 fi
19822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19823 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19824 echo "${ECHO_T}$ac_header_compiler" >&6
19825
19826 # Is the header present?
19827 echo "$as_me:$LINENO: checking hash_map presence" >&5
19828 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
19829 cat >conftest.$ac_ext <<_ACEOF
19830 /* confdefs.h. */
19831 _ACEOF
19832 cat confdefs.h >>conftest.$ac_ext
19833 cat >>conftest.$ac_ext <<_ACEOF
19834 /* end confdefs.h. */
19835 #include <hash_map>
19836 _ACEOF
19837 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19838 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19839 ac_status=$?
19840 grep -v '^ *+' conftest.er1 >conftest.err
19841 rm -f conftest.er1
19842 cat conftest.err >&5
19843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19844 (exit $ac_status); } >/dev/null; then
19845 if test -s conftest.err; then
19846 ac_cpp_err=$ac_cxx_preproc_warn_flag
19847 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19848 else
19849 ac_cpp_err=
19850 fi
19851 else
19852 ac_cpp_err=yes
19853 fi
19854 if test -z "$ac_cpp_err"; then
19855 ac_header_preproc=yes
19856 else
19857 echo "$as_me: failed program was:" >&5
19858 sed 's/^/| /' conftest.$ac_ext >&5
19859
19860 ac_header_preproc=no
19861 fi
19862 rm -f conftest.err conftest.$ac_ext
19863 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19864 echo "${ECHO_T}$ac_header_preproc" >&6
19865
19866 # So? What about this header?
19867 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19868 yes:no: )
19869 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
19870 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
19871 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
19872 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
19873 ac_header_preproc=yes
19874 ;;
19875 no:yes:* )
19876 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
19877 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
19878 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
19879 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
19880 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
19881 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
19882 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
19883 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
19884 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
19885 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
19886 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
19887 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
19888 (
19889 cat <<\_ASBOX
19890 ## ----------------------------------------- ##
19891 ## Report this to wx-dev@lists.wxwidgets.org ##
19892 ## ----------------------------------------- ##
19893 _ASBOX
19894 ) |
19895 sed "s/^/$as_me: WARNING: /" >&2
19896 ;;
19897 esac
19898 echo "$as_me:$LINENO: checking for hash_map" >&5
19899 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19900 if test "${ac_cv_header_hash_map+set}" = set; then
19901 echo $ECHO_N "(cached) $ECHO_C" >&6
19902 else
19903 ac_cv_header_hash_map=$ac_header_preproc
19904 fi
19905 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19906 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19907
19908 fi
19909 if test $ac_cv_header_hash_map = yes; then
19910 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
19911 echo $ECHO_N "checking for hash_map and hash_set... $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 <hash_map>
19919 #include <hash_set>
19920 int
19921 main ()
19922 {
19923 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
19924 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
19925 ;
19926 return 0;
19927 }
19928 _ACEOF
19929 rm -f conftest.$ac_objext
19930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19931 (eval $ac_compile) 2>conftest.er1
19932 ac_status=$?
19933 grep -v '^ *+' conftest.er1 >conftest.err
19934 rm -f conftest.er1
19935 cat conftest.err >&5
19936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19937 (exit $ac_status); } &&
19938 { ac_try='test -z "$ac_cxx_werror_flag"
19939 || test ! -s conftest.err'
19940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19941 (eval $ac_try) 2>&5
19942 ac_status=$?
19943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19944 (exit $ac_status); }; } &&
19945 { ac_try='test -s conftest.$ac_objext'
19946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19947 (eval $ac_try) 2>&5
19948 ac_status=$?
19949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19950 (exit $ac_status); }; }; then
19951 echo "$as_me:$LINENO: result: yes" >&5
19952 echo "${ECHO_T}yes" >&6
19953 cat >>confdefs.h <<\_ACEOF
19954 #define HAVE_HASH_MAP 1
19955 _ACEOF
19956
19957 cat >>confdefs.h <<\_ACEOF
19958 #define HAVE_STD_HASH_MAP 1
19959 _ACEOF
19960
19961 else
19962 echo "$as_me: failed program was:" >&5
19963 sed 's/^/| /' conftest.$ac_ext >&5
19964
19965 echo "$as_me:$LINENO: result: no" >&5
19966 echo "${ECHO_T}no" >&6
19967 fi
19968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19969
19970 fi
19971
19972
19973
19974 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19975 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
19976 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
19977 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19978 echo $ECHO_N "(cached) $ECHO_C" >&6
19979 fi
19980 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
19981 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
19982 else
19983 # Is the header compilable?
19984 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
19985 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
19986 cat >conftest.$ac_ext <<_ACEOF
19987 /* confdefs.h. */
19988 _ACEOF
19989 cat confdefs.h >>conftest.$ac_ext
19990 cat >>conftest.$ac_ext <<_ACEOF
19991 /* end confdefs.h. */
19992 $ac_includes_default
19993 #include <ext/hash_map>
19994 _ACEOF
19995 rm -f conftest.$ac_objext
19996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19997 (eval $ac_compile) 2>conftest.er1
19998 ac_status=$?
19999 grep -v '^ *+' conftest.er1 >conftest.err
20000 rm -f conftest.er1
20001 cat conftest.err >&5
20002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20003 (exit $ac_status); } &&
20004 { ac_try='test -z "$ac_cxx_werror_flag"
20005 || test ! -s conftest.err'
20006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20007 (eval $ac_try) 2>&5
20008 ac_status=$?
20009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20010 (exit $ac_status); }; } &&
20011 { ac_try='test -s conftest.$ac_objext'
20012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20013 (eval $ac_try) 2>&5
20014 ac_status=$?
20015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20016 (exit $ac_status); }; }; then
20017 ac_header_compiler=yes
20018 else
20019 echo "$as_me: failed program was:" >&5
20020 sed 's/^/| /' conftest.$ac_ext >&5
20021
20022 ac_header_compiler=no
20023 fi
20024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20025 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20026 echo "${ECHO_T}$ac_header_compiler" >&6
20027
20028 # Is the header present?
20029 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
20030 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
20031 cat >conftest.$ac_ext <<_ACEOF
20032 /* confdefs.h. */
20033 _ACEOF
20034 cat confdefs.h >>conftest.$ac_ext
20035 cat >>conftest.$ac_ext <<_ACEOF
20036 /* end confdefs.h. */
20037 #include <ext/hash_map>
20038 _ACEOF
20039 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20040 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20041 ac_status=$?
20042 grep -v '^ *+' conftest.er1 >conftest.err
20043 rm -f conftest.er1
20044 cat conftest.err >&5
20045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20046 (exit $ac_status); } >/dev/null; then
20047 if test -s conftest.err; then
20048 ac_cpp_err=$ac_cxx_preproc_warn_flag
20049 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20050 else
20051 ac_cpp_err=
20052 fi
20053 else
20054 ac_cpp_err=yes
20055 fi
20056 if test -z "$ac_cpp_err"; then
20057 ac_header_preproc=yes
20058 else
20059 echo "$as_me: failed program was:" >&5
20060 sed 's/^/| /' conftest.$ac_ext >&5
20061
20062 ac_header_preproc=no
20063 fi
20064 rm -f conftest.err conftest.$ac_ext
20065 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20066 echo "${ECHO_T}$ac_header_preproc" >&6
20067
20068 # So? What about this header?
20069 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20070 yes:no: )
20071 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
20072 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
20073 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
20074 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
20075 ac_header_preproc=yes
20076 ;;
20077 no:yes:* )
20078 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
20079 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
20080 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
20081 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
20082 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
20083 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
20084 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
20085 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
20086 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
20087 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
20088 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
20089 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
20090 (
20091 cat <<\_ASBOX
20092 ## ----------------------------------------- ##
20093 ## Report this to wx-dev@lists.wxwidgets.org ##
20094 ## ----------------------------------------- ##
20095 _ASBOX
20096 ) |
20097 sed "s/^/$as_me: WARNING: /" >&2
20098 ;;
20099 esac
20100 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
20101 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
20102 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20103 echo $ECHO_N "(cached) $ECHO_C" >&6
20104 else
20105 ac_cv_header_ext_hash_map=$ac_header_preproc
20106 fi
20107 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
20108 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
20109
20110 fi
20111 if test $ac_cv_header_ext_hash_map = yes; then
20112 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
20113 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
20114 cat >conftest.$ac_ext <<_ACEOF
20115 /* confdefs.h. */
20116 _ACEOF
20117 cat confdefs.h >>conftest.$ac_ext
20118 cat >>conftest.$ac_ext <<_ACEOF
20119 /* end confdefs.h. */
20120 #include <ext/hash_map>
20121 #include <ext/hash_set>
20122 int
20123 main ()
20124 {
20125 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
20126 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
20127 ;
20128 return 0;
20129 }
20130 _ACEOF
20131 rm -f conftest.$ac_objext
20132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20133 (eval $ac_compile) 2>conftest.er1
20134 ac_status=$?
20135 grep -v '^ *+' conftest.er1 >conftest.err
20136 rm -f conftest.er1
20137 cat conftest.err >&5
20138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20139 (exit $ac_status); } &&
20140 { ac_try='test -z "$ac_cxx_werror_flag"
20141 || test ! -s conftest.err'
20142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20143 (eval $ac_try) 2>&5
20144 ac_status=$?
20145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20146 (exit $ac_status); }; } &&
20147 { ac_try='test -s conftest.$ac_objext'
20148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20149 (eval $ac_try) 2>&5
20150 ac_status=$?
20151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20152 (exit $ac_status); }; }; then
20153 echo "$as_me:$LINENO: result: yes" >&5
20154 echo "${ECHO_T}yes" >&6
20155 cat >>confdefs.h <<\_ACEOF
20156 #define HAVE_EXT_HASH_MAP 1
20157 _ACEOF
20158
20159 cat >>confdefs.h <<\_ACEOF
20160 #define HAVE_GNU_CXX_HASH_MAP 1
20161 _ACEOF
20162
20163 else
20164 echo "$as_me: failed program was:" >&5
20165 sed 's/^/| /' conftest.$ac_ext >&5
20166
20167 echo "$as_me:$LINENO: result: no" >&5
20168 echo "${ECHO_T}no" >&6
20169 fi
20170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20171
20172 fi
20173
20174
20175
20176 ac_ext=c
20177 ac_cpp='$CPP $CPPFLAGS'
20178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20181
20182 fi
20183
20184
20185 SEARCH_INCLUDE="\
20186 /usr/local/include \
20187 \
20188 /usr/Motif-2.1/include \
20189 /usr/Motif-1.2/include \
20190 /usr/include/Motif1.2 \
20191 /opt/xpm/include/X11 \
20192 /opt/GBxpm/include/ \
20193 /opt/GBxpm/X11/include/ \
20194 \
20195 /usr/dt/include \
20196 /usr/openwin/include \
20197 \
20198 /usr/include/Xm \
20199 \
20200 /usr/X11R6/include \
20201 /usr/X11R6.4/include \
20202 /usr/X11R5/include \
20203 /usr/X11R4/include \
20204 \
20205 /usr/include/X11R6 \
20206 /usr/include/X11R5 \
20207 /usr/include/X11R4 \
20208 \
20209 /usr/local/X11R6/include \
20210 /usr/local/X11R5/include \
20211 /usr/local/X11R4/include \
20212 \
20213 /usr/local/include/X11R6 \
20214 /usr/local/include/X11R5 \
20215 /usr/local/include/X11R4 \
20216 \
20217 /usr/X11/include \
20218 /usr/include/X11 \
20219 /usr/local/X11/include \
20220 /usr/local/include/X11 \
20221 \
20222 /usr/X386/include \
20223 /usr/x386/include \
20224 /usr/XFree86/include/X11 \
20225 \
20226 X:/XFree86/include \
20227 X:/XFree86/include/X11 \
20228 \
20229 /usr/include/gtk \
20230 /usr/local/include/gtk \
20231 /usr/include/glib \
20232 /usr/local/include/glib \
20233 \
20234 /usr/include/qt \
20235 /usr/local/include/qt \
20236 \
20237 /usr/local/arm/3.3.2/include \
20238 \
20239 /usr/include/windows \
20240 /usr/include/wine \
20241 /usr/local/include/wine \
20242 \
20243 /usr/unsupported/include \
20244 /usr/athena/include \
20245 /usr/local/x11r5/include \
20246 /usr/lpp/Xamples/include \
20247 \
20248 /usr/openwin/share/include"
20249
20250 SEARCH_LIB="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
20251
20252
20253 cat >confcache <<\_ACEOF
20254 # This file is a shell script that caches the results of configure
20255 # tests run on this system so they can be shared between configure
20256 # scripts and configure runs, see configure's option --config-cache.
20257 # It is not useful on other systems. If it contains results you don't
20258 # want to keep, you may remove or edit it.
20259 #
20260 # config.status only pays attention to the cache file if you give it
20261 # the --recheck option to rerun configure.
20262 #
20263 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20264 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20265 # following values.
20266
20267 _ACEOF
20268
20269 # The following way of writing the cache mishandles newlines in values,
20270 # but we know of no workaround that is simple, portable, and efficient.
20271 # So, don't put newlines in cache variables' values.
20272 # Ultrix sh set writes to stderr and can't be redirected directly,
20273 # and sets the high bit in the cache file unless we assign to the vars.
20274 {
20275 (set) 2>&1 |
20276 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20277 *ac_space=\ *)
20278 # `set' does not quote correctly, so add quotes (double-quote
20279 # substitution turns \\\\ into \\, and sed turns \\ into \).
20280 sed -n \
20281 "s/'/'\\\\''/g;
20282 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20283 ;;
20284 *)
20285 # `set' quotes correctly as required by POSIX, so do not add quotes.
20286 sed -n \
20287 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20288 ;;
20289 esac;
20290 } |
20291 sed '
20292 t clear
20293 : clear
20294 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20295 t end
20296 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20297 : end' >>confcache
20298 if diff $cache_file confcache >/dev/null 2>&1; then :; else
20299 if test -w $cache_file; then
20300 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20301 cat confcache >$cache_file
20302 else
20303 echo "not updating unwritable cache $cache_file"
20304 fi
20305 fi
20306 rm -f confcache
20307
20308 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
20309 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
20310 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
20311 if test "${wx_cv_lib_glibc21+set}" = set; then
20312 echo $ECHO_N "(cached) $ECHO_C" >&6
20313 else
20314
20315 cat >conftest.$ac_ext <<_ACEOF
20316 /* confdefs.h. */
20317 _ACEOF
20318 cat confdefs.h >>conftest.$ac_ext
20319 cat >>conftest.$ac_ext <<_ACEOF
20320 /* end confdefs.h. */
20321 #include <features.h>
20322 int
20323 main ()
20324 {
20325
20326 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
20327 #error not glibc2.1
20328 #endif
20329
20330 ;
20331 return 0;
20332 }
20333 _ACEOF
20334 rm -f conftest.$ac_objext
20335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20336 (eval $ac_compile) 2>conftest.er1
20337 ac_status=$?
20338 grep -v '^ *+' conftest.er1 >conftest.err
20339 rm -f conftest.er1
20340 cat conftest.err >&5
20341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20342 (exit $ac_status); } &&
20343 { ac_try='test -z "$ac_c_werror_flag"
20344 || test ! -s conftest.err'
20345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20346 (eval $ac_try) 2>&5
20347 ac_status=$?
20348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20349 (exit $ac_status); }; } &&
20350 { ac_try='test -s conftest.$ac_objext'
20351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20352 (eval $ac_try) 2>&5
20353 ac_status=$?
20354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20355 (exit $ac_status); }; }; then
20356
20357 wx_cv_lib_glibc21=yes
20358
20359 else
20360 echo "$as_me: failed program was:" >&5
20361 sed 's/^/| /' conftest.$ac_ext >&5
20362
20363
20364 wx_cv_lib_glibc21=no
20365
20366
20367 fi
20368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20369
20370 fi
20371 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
20372 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
20373 if test "$wx_cv_lib_glibc21" = "yes"; then
20374 cat >>confdefs.h <<\_ACEOF
20375 #define wxHAVE_GLIBC2 1
20376 _ACEOF
20377
20378 fi
20379 fi
20380
20381 if test "x$wx_cv_lib_glibc21" = "xyes"; then
20382 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
20383 cat >>confdefs.h <<\_ACEOF
20384 #define _GNU_SOURCE 1
20385 _ACEOF
20386
20387 fi
20388 fi
20389
20390
20391
20392 if test "$wxUSE_REGEX" != "no"; then
20393 cat >>confdefs.h <<\_ACEOF
20394 #define wxUSE_REGEX 1
20395 _ACEOF
20396
20397
20398 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
20399 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
20400 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
20401 wxUSE_REGEX=builtin
20402 fi
20403
20404 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
20405 if test "${ac_cv_header_regex_h+set}" = set; then
20406 echo "$as_me:$LINENO: checking for regex.h" >&5
20407 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20408 if test "${ac_cv_header_regex_h+set}" = set; then
20409 echo $ECHO_N "(cached) $ECHO_C" >&6
20410 fi
20411 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20412 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20413 else
20414 # Is the header compilable?
20415 echo "$as_me:$LINENO: checking regex.h usability" >&5
20416 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
20417 cat >conftest.$ac_ext <<_ACEOF
20418 /* confdefs.h. */
20419 _ACEOF
20420 cat confdefs.h >>conftest.$ac_ext
20421 cat >>conftest.$ac_ext <<_ACEOF
20422 /* end confdefs.h. */
20423 $ac_includes_default
20424 #include <regex.h>
20425 _ACEOF
20426 rm -f conftest.$ac_objext
20427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20428 (eval $ac_compile) 2>conftest.er1
20429 ac_status=$?
20430 grep -v '^ *+' conftest.er1 >conftest.err
20431 rm -f conftest.er1
20432 cat conftest.err >&5
20433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20434 (exit $ac_status); } &&
20435 { ac_try='test -z "$ac_c_werror_flag"
20436 || test ! -s conftest.err'
20437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20438 (eval $ac_try) 2>&5
20439 ac_status=$?
20440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20441 (exit $ac_status); }; } &&
20442 { ac_try='test -s conftest.$ac_objext'
20443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20444 (eval $ac_try) 2>&5
20445 ac_status=$?
20446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20447 (exit $ac_status); }; }; then
20448 ac_header_compiler=yes
20449 else
20450 echo "$as_me: failed program was:" >&5
20451 sed 's/^/| /' conftest.$ac_ext >&5
20452
20453 ac_header_compiler=no
20454 fi
20455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20456 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20457 echo "${ECHO_T}$ac_header_compiler" >&6
20458
20459 # Is the header present?
20460 echo "$as_me:$LINENO: checking regex.h presence" >&5
20461 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
20462 cat >conftest.$ac_ext <<_ACEOF
20463 /* confdefs.h. */
20464 _ACEOF
20465 cat confdefs.h >>conftest.$ac_ext
20466 cat >>conftest.$ac_ext <<_ACEOF
20467 /* end confdefs.h. */
20468 #include <regex.h>
20469 _ACEOF
20470 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20471 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20472 ac_status=$?
20473 grep -v '^ *+' conftest.er1 >conftest.err
20474 rm -f conftest.er1
20475 cat conftest.err >&5
20476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20477 (exit $ac_status); } >/dev/null; then
20478 if test -s conftest.err; then
20479 ac_cpp_err=$ac_c_preproc_warn_flag
20480 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20481 else
20482 ac_cpp_err=
20483 fi
20484 else
20485 ac_cpp_err=yes
20486 fi
20487 if test -z "$ac_cpp_err"; then
20488 ac_header_preproc=yes
20489 else
20490 echo "$as_me: failed program was:" >&5
20491 sed 's/^/| /' conftest.$ac_ext >&5
20492
20493 ac_header_preproc=no
20494 fi
20495 rm -f conftest.err conftest.$ac_ext
20496 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20497 echo "${ECHO_T}$ac_header_preproc" >&6
20498
20499 # So? What about this header?
20500 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20501 yes:no: )
20502 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
20503 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20504 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
20505 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
20506 ac_header_preproc=yes
20507 ;;
20508 no:yes:* )
20509 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
20510 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
20511 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
20512 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
20513 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
20514 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
20515 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
20516 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
20517 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
20518 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
20519 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
20520 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
20521 (
20522 cat <<\_ASBOX
20523 ## ----------------------------------------- ##
20524 ## Report this to wx-dev@lists.wxwidgets.org ##
20525 ## ----------------------------------------- ##
20526 _ASBOX
20527 ) |
20528 sed "s/^/$as_me: WARNING: /" >&2
20529 ;;
20530 esac
20531 echo "$as_me:$LINENO: checking for regex.h" >&5
20532 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20533 if test "${ac_cv_header_regex_h+set}" = set; then
20534 echo $ECHO_N "(cached) $ECHO_C" >&6
20535 else
20536 ac_cv_header_regex_h=$ac_header_preproc
20537 fi
20538 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20539 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20540
20541 fi
20542 if test $ac_cv_header_regex_h = yes; then
20543
20544 for ac_func in regcomp
20545 do
20546 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20547 echo "$as_me:$LINENO: checking for $ac_func" >&5
20548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20549 if eval "test \"\${$as_ac_var+set}\" = set"; then
20550 echo $ECHO_N "(cached) $ECHO_C" >&6
20551 else
20552 cat >conftest.$ac_ext <<_ACEOF
20553 /* confdefs.h. */
20554 _ACEOF
20555 cat confdefs.h >>conftest.$ac_ext
20556 cat >>conftest.$ac_ext <<_ACEOF
20557 /* end confdefs.h. */
20558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20560 #define $ac_func innocuous_$ac_func
20561
20562 /* System header to define __stub macros and hopefully few prototypes,
20563 which can conflict with char $ac_func (); below.
20564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20565 <limits.h> exists even on freestanding compilers. */
20566
20567 #ifdef __STDC__
20568 # include <limits.h>
20569 #else
20570 # include <assert.h>
20571 #endif
20572
20573 #undef $ac_func
20574
20575 /* Override any gcc2 internal prototype to avoid an error. */
20576 #ifdef __cplusplus
20577 extern "C"
20578 {
20579 #endif
20580 /* We use char because int might match the return type of a gcc2
20581 builtin and then its argument prototype would still apply. */
20582 char $ac_func ();
20583 /* The GNU C library defines this for functions which it implements
20584 to always fail with ENOSYS. Some functions are actually named
20585 something starting with __ and the normal name is an alias. */
20586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20587 choke me
20588 #else
20589 char (*f) () = $ac_func;
20590 #endif
20591 #ifdef __cplusplus
20592 }
20593 #endif
20594
20595 int
20596 main ()
20597 {
20598 return f != $ac_func;
20599 ;
20600 return 0;
20601 }
20602 _ACEOF
20603 rm -f conftest.$ac_objext conftest$ac_exeext
20604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20605 (eval $ac_link) 2>conftest.er1
20606 ac_status=$?
20607 grep -v '^ *+' conftest.er1 >conftest.err
20608 rm -f conftest.er1
20609 cat conftest.err >&5
20610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20611 (exit $ac_status); } &&
20612 { ac_try='test -z "$ac_c_werror_flag"
20613 || test ! -s conftest.err'
20614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20615 (eval $ac_try) 2>&5
20616 ac_status=$?
20617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20618 (exit $ac_status); }; } &&
20619 { ac_try='test -s conftest$ac_exeext'
20620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20621 (eval $ac_try) 2>&5
20622 ac_status=$?
20623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20624 (exit $ac_status); }; }; then
20625 eval "$as_ac_var=yes"
20626 else
20627 echo "$as_me: failed program was:" >&5
20628 sed 's/^/| /' conftest.$ac_ext >&5
20629
20630 eval "$as_ac_var=no"
20631 fi
20632 rm -f conftest.err conftest.$ac_objext \
20633 conftest$ac_exeext conftest.$ac_ext
20634 fi
20635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20637 if test `eval echo '${'$as_ac_var'}'` = yes; then
20638 cat >>confdefs.h <<_ACEOF
20639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20640 _ACEOF
20641
20642 fi
20643 done
20644
20645 fi
20646
20647
20648
20649 if test "x$ac_cv_func_regcomp" != "xyes"; then
20650 if test "$wxUSE_REGEX" = "sys" ; then
20651 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
20652 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
20653 { (exit 1); exit 1; }; }
20654 else
20655 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
20656 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
20657 wxUSE_REGEX=builtin
20658 fi
20659 else
20660 wxUSE_REGEX=sys
20661 cat >>confdefs.h <<\_ACEOF
20662 #define WX_NO_REGEX_ADVANCED 1
20663 _ACEOF
20664
20665 fi
20666 fi
20667 fi
20668
20669
20670 ZLIB_LINK=
20671 if test "$wxUSE_ZLIB" != "no" ; then
20672 cat >>confdefs.h <<\_ACEOF
20673 #define wxUSE_ZLIB 1
20674 _ACEOF
20675
20676
20677 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
20678 if test "$USE_DARWIN" = 1; then
20679 system_zlib_h_ok="yes"
20680 else
20681 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
20682 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
20683 if test "${ac_cv_header_zlib_h+set}" = set; then
20684 echo $ECHO_N "(cached) $ECHO_C" >&6
20685 else
20686 if test "$cross_compiling" = yes; then
20687 unset ac_cv_header_zlib_h
20688
20689 else
20690 cat >conftest.$ac_ext <<_ACEOF
20691 /* confdefs.h. */
20692 _ACEOF
20693 cat confdefs.h >>conftest.$ac_ext
20694 cat >>conftest.$ac_ext <<_ACEOF
20695 /* end confdefs.h. */
20696
20697 #include <zlib.h>
20698 #include <stdio.h>
20699
20700 int main()
20701 {
20702 FILE *f=fopen("conftestval", "w");
20703 if (!f) exit(1);
20704 fprintf(f, "%s",
20705 ZLIB_VERSION[0] == '1' &&
20706 (ZLIB_VERSION[2] > '1' ||
20707 (ZLIB_VERSION[2] == '1' &&
20708 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
20709 exit(0);
20710 }
20711
20712 _ACEOF
20713 rm -f conftest$ac_exeext
20714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20715 (eval $ac_link) 2>&5
20716 ac_status=$?
20717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20718 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20720 (eval $ac_try) 2>&5
20721 ac_status=$?
20722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20723 (exit $ac_status); }; }; then
20724 ac_cv_header_zlib_h=`cat conftestval`
20725 else
20726 echo "$as_me: program exited with status $ac_status" >&5
20727 echo "$as_me: failed program was:" >&5
20728 sed 's/^/| /' conftest.$ac_ext >&5
20729
20730 ( exit $ac_status )
20731 ac_cv_header_zlib_h=no
20732 fi
20733 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20734 fi
20735
20736 fi
20737 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20738 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20739 if test "${ac_cv_header_zlib_h+set}" = set; then
20740 echo "$as_me:$LINENO: checking for zlib.h" >&5
20741 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20742 if test "${ac_cv_header_zlib_h+set}" = set; then
20743 echo $ECHO_N "(cached) $ECHO_C" >&6
20744 fi
20745 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20746 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20747 else
20748 # Is the header compilable?
20749 echo "$as_me:$LINENO: checking zlib.h usability" >&5
20750 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
20751 cat >conftest.$ac_ext <<_ACEOF
20752 /* confdefs.h. */
20753 _ACEOF
20754 cat confdefs.h >>conftest.$ac_ext
20755 cat >>conftest.$ac_ext <<_ACEOF
20756 /* end confdefs.h. */
20757 $ac_includes_default
20758 #include <zlib.h>
20759 _ACEOF
20760 rm -f conftest.$ac_objext
20761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20762 (eval $ac_compile) 2>conftest.er1
20763 ac_status=$?
20764 grep -v '^ *+' conftest.er1 >conftest.err
20765 rm -f conftest.er1
20766 cat conftest.err >&5
20767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20768 (exit $ac_status); } &&
20769 { ac_try='test -z "$ac_c_werror_flag"
20770 || test ! -s conftest.err'
20771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20772 (eval $ac_try) 2>&5
20773 ac_status=$?
20774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20775 (exit $ac_status); }; } &&
20776 { ac_try='test -s conftest.$ac_objext'
20777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20778 (eval $ac_try) 2>&5
20779 ac_status=$?
20780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20781 (exit $ac_status); }; }; then
20782 ac_header_compiler=yes
20783 else
20784 echo "$as_me: failed program was:" >&5
20785 sed 's/^/| /' conftest.$ac_ext >&5
20786
20787 ac_header_compiler=no
20788 fi
20789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20790 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20791 echo "${ECHO_T}$ac_header_compiler" >&6
20792
20793 # Is the header present?
20794 echo "$as_me:$LINENO: checking zlib.h presence" >&5
20795 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
20796 cat >conftest.$ac_ext <<_ACEOF
20797 /* confdefs.h. */
20798 _ACEOF
20799 cat confdefs.h >>conftest.$ac_ext
20800 cat >>conftest.$ac_ext <<_ACEOF
20801 /* end confdefs.h. */
20802 #include <zlib.h>
20803 _ACEOF
20804 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20805 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20806 ac_status=$?
20807 grep -v '^ *+' conftest.er1 >conftest.err
20808 rm -f conftest.er1
20809 cat conftest.err >&5
20810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20811 (exit $ac_status); } >/dev/null; then
20812 if test -s conftest.err; then
20813 ac_cpp_err=$ac_c_preproc_warn_flag
20814 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20815 else
20816 ac_cpp_err=
20817 fi
20818 else
20819 ac_cpp_err=yes
20820 fi
20821 if test -z "$ac_cpp_err"; then
20822 ac_header_preproc=yes
20823 else
20824 echo "$as_me: failed program was:" >&5
20825 sed 's/^/| /' conftest.$ac_ext >&5
20826
20827 ac_header_preproc=no
20828 fi
20829 rm -f conftest.err conftest.$ac_ext
20830 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20831 echo "${ECHO_T}$ac_header_preproc" >&6
20832
20833 # So? What about this header?
20834 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20835 yes:no: )
20836 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
20837 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20838 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
20839 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
20840 ac_header_preproc=yes
20841 ;;
20842 no:yes:* )
20843 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
20844 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
20845 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
20846 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
20847 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
20848 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
20849 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
20850 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
20851 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
20852 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
20853 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
20854 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
20855 (
20856 cat <<\_ASBOX
20857 ## ----------------------------------------- ##
20858 ## Report this to wx-dev@lists.wxwidgets.org ##
20859 ## ----------------------------------------- ##
20860 _ASBOX
20861 ) |
20862 sed "s/^/$as_me: WARNING: /" >&2
20863 ;;
20864 esac
20865 echo "$as_me:$LINENO: checking for zlib.h" >&5
20866 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20867 if test "${ac_cv_header_zlib_h+set}" = set; then
20868 echo $ECHO_N "(cached) $ECHO_C" >&6
20869 else
20870 ac_cv_header_zlib_h=$ac_header_preproc
20871 fi
20872 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20873 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20874
20875 fi
20876
20877
20878
20879 system_zlib_h_ok=$ac_cv_header_zlib_h
20880 fi
20881
20882 if test "$system_zlib_h_ok" = "yes"; then
20883 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
20884 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
20885 if test "${ac_cv_lib_z_deflate+set}" = set; then
20886 echo $ECHO_N "(cached) $ECHO_C" >&6
20887 else
20888 ac_check_lib_save_LIBS=$LIBS
20889 LIBS="-lz $LIBS"
20890 cat >conftest.$ac_ext <<_ACEOF
20891 /* confdefs.h. */
20892 _ACEOF
20893 cat confdefs.h >>conftest.$ac_ext
20894 cat >>conftest.$ac_ext <<_ACEOF
20895 /* end confdefs.h. */
20896
20897 /* Override any gcc2 internal prototype to avoid an error. */
20898 #ifdef __cplusplus
20899 extern "C"
20900 #endif
20901 /* We use char because int might match the return type of a gcc2
20902 builtin and then its argument prototype would still apply. */
20903 char deflate ();
20904 int
20905 main ()
20906 {
20907 deflate ();
20908 ;
20909 return 0;
20910 }
20911 _ACEOF
20912 rm -f conftest.$ac_objext conftest$ac_exeext
20913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20914 (eval $ac_link) 2>conftest.er1
20915 ac_status=$?
20916 grep -v '^ *+' conftest.er1 >conftest.err
20917 rm -f conftest.er1
20918 cat conftest.err >&5
20919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20920 (exit $ac_status); } &&
20921 { ac_try='test -z "$ac_c_werror_flag"
20922 || test ! -s conftest.err'
20923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20924 (eval $ac_try) 2>&5
20925 ac_status=$?
20926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20927 (exit $ac_status); }; } &&
20928 { ac_try='test -s conftest$ac_exeext'
20929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20930 (eval $ac_try) 2>&5
20931 ac_status=$?
20932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20933 (exit $ac_status); }; }; then
20934 ac_cv_lib_z_deflate=yes
20935 else
20936 echo "$as_me: failed program was:" >&5
20937 sed 's/^/| /' conftest.$ac_ext >&5
20938
20939 ac_cv_lib_z_deflate=no
20940 fi
20941 rm -f conftest.err conftest.$ac_objext \
20942 conftest$ac_exeext conftest.$ac_ext
20943 LIBS=$ac_check_lib_save_LIBS
20944 fi
20945 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
20946 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
20947 if test $ac_cv_lib_z_deflate = yes; then
20948 ZLIB_LINK=" -lz"
20949 fi
20950
20951 fi
20952
20953 if test "x$ZLIB_LINK" = "x" ; then
20954 if test "$wxUSE_ZLIB" = "sys" ; then
20955 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
20956 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
20957 { (exit 1); exit 1; }; }
20958 else
20959 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
20960 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
20961 wxUSE_ZLIB=builtin
20962 fi
20963 else
20964 wxUSE_ZLIB=sys
20965 fi
20966 fi
20967 fi
20968
20969
20970 PNG_LINK=
20971 if test "$wxUSE_LIBPNG" != "no" ; then
20972 cat >>confdefs.h <<\_ACEOF
20973 #define wxUSE_LIBPNG 1
20974 _ACEOF
20975
20976
20977 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
20978 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
20979 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
20980 wxUSE_LIBPNG=sys
20981 fi
20982
20983 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
20984 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
20985 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
20986 wxUSE_LIBPNG=builtin
20987 fi
20988
20989 if test "$wxUSE_MGL" != 1 ; then
20990 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
20991 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
20992 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
20993 if test "${ac_cv_header_png_h+set}" = set; then
20994 echo $ECHO_N "(cached) $ECHO_C" >&6
20995 else
20996 if test "$cross_compiling" = yes; then
20997 unset ac_cv_header_png_h
20998
20999 else
21000 cat >conftest.$ac_ext <<_ACEOF
21001 /* confdefs.h. */
21002 _ACEOF
21003 cat confdefs.h >>conftest.$ac_ext
21004 cat >>conftest.$ac_ext <<_ACEOF
21005 /* end confdefs.h. */
21006
21007 #include <png.h>
21008 #include <stdio.h>
21009
21010 int main()
21011 {
21012 FILE *f=fopen("conftestval", "w");
21013 if (!f) exit(1);
21014 fprintf(f, "%s",
21015 PNG_LIBPNG_VER > 90 ? "yes" : "no");
21016 exit(0);
21017 }
21018
21019 _ACEOF
21020 rm -f conftest$ac_exeext
21021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21022 (eval $ac_link) 2>&5
21023 ac_status=$?
21024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21025 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21027 (eval $ac_try) 2>&5
21028 ac_status=$?
21029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21030 (exit $ac_status); }; }; then
21031 ac_cv_header_png_h=`cat conftestval`
21032 else
21033 echo "$as_me: program exited with status $ac_status" >&5
21034 echo "$as_me: failed program was:" >&5
21035 sed 's/^/| /' conftest.$ac_ext >&5
21036
21037 ( exit $ac_status )
21038 ac_cv_header_png_h=no
21039 fi
21040 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21041 fi
21042
21043 fi
21044 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21045 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21046 if test "${ac_cv_header_png_h+set}" = set; then
21047 echo "$as_me:$LINENO: checking for png.h" >&5
21048 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21049 if test "${ac_cv_header_png_h+set}" = set; then
21050 echo $ECHO_N "(cached) $ECHO_C" >&6
21051 fi
21052 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21053 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21054 else
21055 # Is the header compilable?
21056 echo "$as_me:$LINENO: checking png.h usability" >&5
21057 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
21058 cat >conftest.$ac_ext <<_ACEOF
21059 /* confdefs.h. */
21060 _ACEOF
21061 cat confdefs.h >>conftest.$ac_ext
21062 cat >>conftest.$ac_ext <<_ACEOF
21063 /* end confdefs.h. */
21064 $ac_includes_default
21065 #include <png.h>
21066 _ACEOF
21067 rm -f conftest.$ac_objext
21068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21069 (eval $ac_compile) 2>conftest.er1
21070 ac_status=$?
21071 grep -v '^ *+' conftest.er1 >conftest.err
21072 rm -f conftest.er1
21073 cat conftest.err >&5
21074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21075 (exit $ac_status); } &&
21076 { ac_try='test -z "$ac_c_werror_flag"
21077 || test ! -s conftest.err'
21078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21079 (eval $ac_try) 2>&5
21080 ac_status=$?
21081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21082 (exit $ac_status); }; } &&
21083 { ac_try='test -s conftest.$ac_objext'
21084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21085 (eval $ac_try) 2>&5
21086 ac_status=$?
21087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21088 (exit $ac_status); }; }; then
21089 ac_header_compiler=yes
21090 else
21091 echo "$as_me: failed program was:" >&5
21092 sed 's/^/| /' conftest.$ac_ext >&5
21093
21094 ac_header_compiler=no
21095 fi
21096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21097 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21098 echo "${ECHO_T}$ac_header_compiler" >&6
21099
21100 # Is the header present?
21101 echo "$as_me:$LINENO: checking png.h presence" >&5
21102 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
21103 cat >conftest.$ac_ext <<_ACEOF
21104 /* confdefs.h. */
21105 _ACEOF
21106 cat confdefs.h >>conftest.$ac_ext
21107 cat >>conftest.$ac_ext <<_ACEOF
21108 /* end confdefs.h. */
21109 #include <png.h>
21110 _ACEOF
21111 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21112 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21113 ac_status=$?
21114 grep -v '^ *+' conftest.er1 >conftest.err
21115 rm -f conftest.er1
21116 cat conftest.err >&5
21117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21118 (exit $ac_status); } >/dev/null; then
21119 if test -s conftest.err; then
21120 ac_cpp_err=$ac_c_preproc_warn_flag
21121 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21122 else
21123 ac_cpp_err=
21124 fi
21125 else
21126 ac_cpp_err=yes
21127 fi
21128 if test -z "$ac_cpp_err"; then
21129 ac_header_preproc=yes
21130 else
21131 echo "$as_me: failed program was:" >&5
21132 sed 's/^/| /' conftest.$ac_ext >&5
21133
21134 ac_header_preproc=no
21135 fi
21136 rm -f conftest.err conftest.$ac_ext
21137 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21138 echo "${ECHO_T}$ac_header_preproc" >&6
21139
21140 # So? What about this header?
21141 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21142 yes:no: )
21143 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
21144 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21145 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
21146 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
21147 ac_header_preproc=yes
21148 ;;
21149 no:yes:* )
21150 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
21151 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
21152 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
21153 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
21154 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
21155 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
21156 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
21157 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
21158 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
21159 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
21160 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
21161 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
21162 (
21163 cat <<\_ASBOX
21164 ## ----------------------------------------- ##
21165 ## Report this to wx-dev@lists.wxwidgets.org ##
21166 ## ----------------------------------------- ##
21167 _ASBOX
21168 ) |
21169 sed "s/^/$as_me: WARNING: /" >&2
21170 ;;
21171 esac
21172 echo "$as_me:$LINENO: checking for png.h" >&5
21173 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21174 if test "${ac_cv_header_png_h+set}" = set; then
21175 echo $ECHO_N "(cached) $ECHO_C" >&6
21176 else
21177 ac_cv_header_png_h=$ac_header_preproc
21178 fi
21179 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21180 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21181
21182 fi
21183
21184
21185
21186 if test "$ac_cv_header_png_h" = "yes"; then
21187 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
21188 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
21189 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
21190 echo $ECHO_N "(cached) $ECHO_C" >&6
21191 else
21192 ac_check_lib_save_LIBS=$LIBS
21193 LIBS="-lpng -lz -lm $LIBS"
21194 cat >conftest.$ac_ext <<_ACEOF
21195 /* confdefs.h. */
21196 _ACEOF
21197 cat confdefs.h >>conftest.$ac_ext
21198 cat >>conftest.$ac_ext <<_ACEOF
21199 /* end confdefs.h. */
21200
21201 /* Override any gcc2 internal prototype to avoid an error. */
21202 #ifdef __cplusplus
21203 extern "C"
21204 #endif
21205 /* We use char because int might match the return type of a gcc2
21206 builtin and then its argument prototype would still apply. */
21207 char png_check_sig ();
21208 int
21209 main ()
21210 {
21211 png_check_sig ();
21212 ;
21213 return 0;
21214 }
21215 _ACEOF
21216 rm -f conftest.$ac_objext conftest$ac_exeext
21217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21218 (eval $ac_link) 2>conftest.er1
21219 ac_status=$?
21220 grep -v '^ *+' conftest.er1 >conftest.err
21221 rm -f conftest.er1
21222 cat conftest.err >&5
21223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21224 (exit $ac_status); } &&
21225 { ac_try='test -z "$ac_c_werror_flag"
21226 || test ! -s conftest.err'
21227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21228 (eval $ac_try) 2>&5
21229 ac_status=$?
21230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21231 (exit $ac_status); }; } &&
21232 { ac_try='test -s conftest$ac_exeext'
21233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21234 (eval $ac_try) 2>&5
21235 ac_status=$?
21236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21237 (exit $ac_status); }; }; then
21238 ac_cv_lib_png_png_check_sig=yes
21239 else
21240 echo "$as_me: failed program was:" >&5
21241 sed 's/^/| /' conftest.$ac_ext >&5
21242
21243 ac_cv_lib_png_png_check_sig=no
21244 fi
21245 rm -f conftest.err conftest.$ac_objext \
21246 conftest$ac_exeext conftest.$ac_ext
21247 LIBS=$ac_check_lib_save_LIBS
21248 fi
21249 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
21250 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
21251 if test $ac_cv_lib_png_png_check_sig = yes; then
21252 PNG_LINK=" -lpng -lz"
21253 fi
21254
21255 fi
21256
21257 if test "x$PNG_LINK" = "x" ; then
21258 if test "$wxUSE_LIBPNG" = "sys" ; then
21259 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
21260 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
21261 { (exit 1); exit 1; }; }
21262 else
21263 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
21264 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
21265 wxUSE_LIBPNG=builtin
21266 fi
21267 else
21268 wxUSE_LIBPNG=sys
21269 fi
21270 fi
21271 fi
21272
21273 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
21274 fi
21275
21276
21277 JPEG_LINK=
21278 if test "$wxUSE_LIBJPEG" != "no" ; then
21279 cat >>confdefs.h <<\_ACEOF
21280 #define wxUSE_LIBJPEG 1
21281 _ACEOF
21282
21283
21284 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
21285 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
21286 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
21287 wxUSE_LIBJPEG=sys
21288 fi
21289
21290 if test "$wxUSE_MGL" != 1 ; then
21291 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
21292 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
21293 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
21294 if test "${ac_cv_header_jpeglib_h+set}" = set; then
21295 echo $ECHO_N "(cached) $ECHO_C" >&6
21296 else
21297 cat >conftest.$ac_ext <<_ACEOF
21298 /* confdefs.h. */
21299 _ACEOF
21300 cat confdefs.h >>conftest.$ac_ext
21301 cat >>conftest.$ac_ext <<_ACEOF
21302 /* end confdefs.h. */
21303
21304 #undef HAVE_STDLIB_H
21305 #include <stdio.h>
21306 #include <jpeglib.h>
21307
21308 int
21309 main ()
21310 {
21311
21312
21313 ;
21314 return 0;
21315 }
21316 _ACEOF
21317 rm -f conftest.$ac_objext
21318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21319 (eval $ac_compile) 2>conftest.er1
21320 ac_status=$?
21321 grep -v '^ *+' conftest.er1 >conftest.err
21322 rm -f conftest.er1
21323 cat conftest.err >&5
21324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21325 (exit $ac_status); } &&
21326 { ac_try='test -z "$ac_c_werror_flag"
21327 || test ! -s conftest.err'
21328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21329 (eval $ac_try) 2>&5
21330 ac_status=$?
21331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21332 (exit $ac_status); }; } &&
21333 { ac_try='test -s conftest.$ac_objext'
21334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21335 (eval $ac_try) 2>&5
21336 ac_status=$?
21337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21338 (exit $ac_status); }; }; then
21339 ac_cv_header_jpeglib_h=yes
21340 else
21341 echo "$as_me: failed program was:" >&5
21342 sed 's/^/| /' conftest.$ac_ext >&5
21343
21344 ac_cv_header_jpeglib_h=no
21345
21346 fi
21347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21348
21349 fi
21350
21351 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
21352 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
21353
21354 if test "$ac_cv_header_jpeglib_h" = "yes"; then
21355 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
21356 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
21357 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
21358 echo $ECHO_N "(cached) $ECHO_C" >&6
21359 else
21360 ac_check_lib_save_LIBS=$LIBS
21361 LIBS="-ljpeg $LIBS"
21362 cat >conftest.$ac_ext <<_ACEOF
21363 /* confdefs.h. */
21364 _ACEOF
21365 cat confdefs.h >>conftest.$ac_ext
21366 cat >>conftest.$ac_ext <<_ACEOF
21367 /* end confdefs.h. */
21368
21369 /* Override any gcc2 internal prototype to avoid an error. */
21370 #ifdef __cplusplus
21371 extern "C"
21372 #endif
21373 /* We use char because int might match the return type of a gcc2
21374 builtin and then its argument prototype would still apply. */
21375 char jpeg_read_header ();
21376 int
21377 main ()
21378 {
21379 jpeg_read_header ();
21380 ;
21381 return 0;
21382 }
21383 _ACEOF
21384 rm -f conftest.$ac_objext conftest$ac_exeext
21385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21386 (eval $ac_link) 2>conftest.er1
21387 ac_status=$?
21388 grep -v '^ *+' conftest.er1 >conftest.err
21389 rm -f conftest.er1
21390 cat conftest.err >&5
21391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21392 (exit $ac_status); } &&
21393 { ac_try='test -z "$ac_c_werror_flag"
21394 || test ! -s conftest.err'
21395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21396 (eval $ac_try) 2>&5
21397 ac_status=$?
21398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21399 (exit $ac_status); }; } &&
21400 { ac_try='test -s conftest$ac_exeext'
21401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21402 (eval $ac_try) 2>&5
21403 ac_status=$?
21404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21405 (exit $ac_status); }; }; then
21406 ac_cv_lib_jpeg_jpeg_read_header=yes
21407 else
21408 echo "$as_me: failed program was:" >&5
21409 sed 's/^/| /' conftest.$ac_ext >&5
21410
21411 ac_cv_lib_jpeg_jpeg_read_header=no
21412 fi
21413 rm -f conftest.err conftest.$ac_objext \
21414 conftest$ac_exeext conftest.$ac_ext
21415 LIBS=$ac_check_lib_save_LIBS
21416 fi
21417 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
21418 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
21419 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
21420 JPEG_LINK=" -ljpeg"
21421 fi
21422
21423 fi
21424
21425 if test "x$JPEG_LINK" = "x" ; then
21426 if test "$wxUSE_LIBJPEG" = "sys" ; then
21427 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
21428 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
21429 { (exit 1); exit 1; }; }
21430 else
21431 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
21432 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
21433 wxUSE_LIBJPEG=builtin
21434 fi
21435 else
21436 wxUSE_LIBJPEG=sys
21437 fi
21438 fi
21439 fi
21440 fi
21441
21442
21443 TIFF_LINK=
21444 TIFF_PREREQ_LINKS=-lm
21445 if test "$wxUSE_LIBTIFF" != "no" ; then
21446 cat >>confdefs.h <<\_ACEOF
21447 #define wxUSE_LIBTIFF 1
21448 _ACEOF
21449
21450
21451 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
21452 if test "$wxUSE_LIBJPEG" = "sys"; then
21453 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
21454 fi
21455 if test "$wxUSE_ZLIB" = "sys"; then
21456 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
21457 fi
21458 if test "${ac_cv_header_tiffio_h+set}" = set; then
21459 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21460 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21461 if test "${ac_cv_header_tiffio_h+set}" = set; then
21462 echo $ECHO_N "(cached) $ECHO_C" >&6
21463 fi
21464 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21465 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21466 else
21467 # Is the header compilable?
21468 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
21469 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
21470 cat >conftest.$ac_ext <<_ACEOF
21471 /* confdefs.h. */
21472 _ACEOF
21473 cat confdefs.h >>conftest.$ac_ext
21474 cat >>conftest.$ac_ext <<_ACEOF
21475 /* end confdefs.h. */
21476 $ac_includes_default
21477 #include <tiffio.h>
21478 _ACEOF
21479 rm -f conftest.$ac_objext
21480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21481 (eval $ac_compile) 2>conftest.er1
21482 ac_status=$?
21483 grep -v '^ *+' conftest.er1 >conftest.err
21484 rm -f conftest.er1
21485 cat conftest.err >&5
21486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21487 (exit $ac_status); } &&
21488 { ac_try='test -z "$ac_c_werror_flag"
21489 || test ! -s conftest.err'
21490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21491 (eval $ac_try) 2>&5
21492 ac_status=$?
21493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21494 (exit $ac_status); }; } &&
21495 { ac_try='test -s conftest.$ac_objext'
21496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21497 (eval $ac_try) 2>&5
21498 ac_status=$?
21499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21500 (exit $ac_status); }; }; then
21501 ac_header_compiler=yes
21502 else
21503 echo "$as_me: failed program was:" >&5
21504 sed 's/^/| /' conftest.$ac_ext >&5
21505
21506 ac_header_compiler=no
21507 fi
21508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21509 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21510 echo "${ECHO_T}$ac_header_compiler" >&6
21511
21512 # Is the header present?
21513 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
21514 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
21515 cat >conftest.$ac_ext <<_ACEOF
21516 /* confdefs.h. */
21517 _ACEOF
21518 cat confdefs.h >>conftest.$ac_ext
21519 cat >>conftest.$ac_ext <<_ACEOF
21520 /* end confdefs.h. */
21521 #include <tiffio.h>
21522 _ACEOF
21523 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21524 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21525 ac_status=$?
21526 grep -v '^ *+' conftest.er1 >conftest.err
21527 rm -f conftest.er1
21528 cat conftest.err >&5
21529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21530 (exit $ac_status); } >/dev/null; then
21531 if test -s conftest.err; then
21532 ac_cpp_err=$ac_c_preproc_warn_flag
21533 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21534 else
21535 ac_cpp_err=
21536 fi
21537 else
21538 ac_cpp_err=yes
21539 fi
21540 if test -z "$ac_cpp_err"; then
21541 ac_header_preproc=yes
21542 else
21543 echo "$as_me: failed program was:" >&5
21544 sed 's/^/| /' conftest.$ac_ext >&5
21545
21546 ac_header_preproc=no
21547 fi
21548 rm -f conftest.err conftest.$ac_ext
21549 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21550 echo "${ECHO_T}$ac_header_preproc" >&6
21551
21552 # So? What about this header?
21553 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21554 yes:no: )
21555 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
21556 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21557 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
21558 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
21559 ac_header_preproc=yes
21560 ;;
21561 no:yes:* )
21562 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
21563 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
21564 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
21565 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
21566 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
21567 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
21568 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
21569 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
21570 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
21571 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
21572 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
21573 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
21574 (
21575 cat <<\_ASBOX
21576 ## ----------------------------------------- ##
21577 ## Report this to wx-dev@lists.wxwidgets.org ##
21578 ## ----------------------------------------- ##
21579 _ASBOX
21580 ) |
21581 sed "s/^/$as_me: WARNING: /" >&2
21582 ;;
21583 esac
21584 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21585 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21586 if test "${ac_cv_header_tiffio_h+set}" = set; then
21587 echo $ECHO_N "(cached) $ECHO_C" >&6
21588 else
21589 ac_cv_header_tiffio_h=$ac_header_preproc
21590 fi
21591 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21592 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21593
21594 fi
21595 if test $ac_cv_header_tiffio_h = yes; then
21596
21597 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
21598 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
21599 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
21600 echo $ECHO_N "(cached) $ECHO_C" >&6
21601 else
21602 ac_check_lib_save_LIBS=$LIBS
21603 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
21604 cat >conftest.$ac_ext <<_ACEOF
21605 /* confdefs.h. */
21606 _ACEOF
21607 cat confdefs.h >>conftest.$ac_ext
21608 cat >>conftest.$ac_ext <<_ACEOF
21609 /* end confdefs.h. */
21610
21611 /* Override any gcc2 internal prototype to avoid an error. */
21612 #ifdef __cplusplus
21613 extern "C"
21614 #endif
21615 /* We use char because int might match the return type of a gcc2
21616 builtin and then its argument prototype would still apply. */
21617 char TIFFError ();
21618 int
21619 main ()
21620 {
21621 TIFFError ();
21622 ;
21623 return 0;
21624 }
21625 _ACEOF
21626 rm -f conftest.$ac_objext conftest$ac_exeext
21627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21628 (eval $ac_link) 2>conftest.er1
21629 ac_status=$?
21630 grep -v '^ *+' conftest.er1 >conftest.err
21631 rm -f conftest.er1
21632 cat conftest.err >&5
21633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21634 (exit $ac_status); } &&
21635 { ac_try='test -z "$ac_c_werror_flag"
21636 || test ! -s conftest.err'
21637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21638 (eval $ac_try) 2>&5
21639 ac_status=$?
21640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21641 (exit $ac_status); }; } &&
21642 { ac_try='test -s conftest$ac_exeext'
21643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21644 (eval $ac_try) 2>&5
21645 ac_status=$?
21646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21647 (exit $ac_status); }; }; then
21648 ac_cv_lib_tiff_TIFFError=yes
21649 else
21650 echo "$as_me: failed program was:" >&5
21651 sed 's/^/| /' conftest.$ac_ext >&5
21652
21653 ac_cv_lib_tiff_TIFFError=no
21654 fi
21655 rm -f conftest.err conftest.$ac_objext \
21656 conftest$ac_exeext conftest.$ac_ext
21657 LIBS=$ac_check_lib_save_LIBS
21658 fi
21659 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
21660 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
21661 if test $ac_cv_lib_tiff_TIFFError = yes; then
21662 TIFF_LINK=" -ltiff"
21663 fi
21664
21665
21666
21667 fi
21668
21669
21670
21671 if test "x$TIFF_LINK" = "x" ; then
21672 if test "$wxUSE_LIBTIFF" = "sys" ; then
21673 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
21674 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
21675 { (exit 1); exit 1; }; }
21676 else
21677 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
21678 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
21679 wxUSE_LIBTIFF=builtin
21680 fi
21681 else
21682 wxUSE_LIBTIFF=sys
21683 fi
21684 fi
21685 fi
21686
21687
21688 if test "$wxUSE_EXPAT" != "no"; then
21689 wxUSE_XML=yes
21690 cat >>confdefs.h <<\_ACEOF
21691 #define wxUSE_EXPAT 1
21692 _ACEOF
21693
21694 cat >>confdefs.h <<\_ACEOF
21695 #define wxUSE_XML 1
21696 _ACEOF
21697
21698
21699 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
21700 if test "${ac_cv_header_expat_h+set}" = set; then
21701 echo "$as_me:$LINENO: checking for expat.h" >&5
21702 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21703 if test "${ac_cv_header_expat_h+set}" = set; then
21704 echo $ECHO_N "(cached) $ECHO_C" >&6
21705 fi
21706 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21707 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21708 else
21709 # Is the header compilable?
21710 echo "$as_me:$LINENO: checking expat.h usability" >&5
21711 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
21712 cat >conftest.$ac_ext <<_ACEOF
21713 /* confdefs.h. */
21714 _ACEOF
21715 cat confdefs.h >>conftest.$ac_ext
21716 cat >>conftest.$ac_ext <<_ACEOF
21717 /* end confdefs.h. */
21718 $ac_includes_default
21719 #include <expat.h>
21720 _ACEOF
21721 rm -f conftest.$ac_objext
21722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21723 (eval $ac_compile) 2>conftest.er1
21724 ac_status=$?
21725 grep -v '^ *+' conftest.er1 >conftest.err
21726 rm -f conftest.er1
21727 cat conftest.err >&5
21728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21729 (exit $ac_status); } &&
21730 { ac_try='test -z "$ac_c_werror_flag"
21731 || test ! -s conftest.err'
21732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21733 (eval $ac_try) 2>&5
21734 ac_status=$?
21735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21736 (exit $ac_status); }; } &&
21737 { ac_try='test -s conftest.$ac_objext'
21738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21739 (eval $ac_try) 2>&5
21740 ac_status=$?
21741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21742 (exit $ac_status); }; }; then
21743 ac_header_compiler=yes
21744 else
21745 echo "$as_me: failed program was:" >&5
21746 sed 's/^/| /' conftest.$ac_ext >&5
21747
21748 ac_header_compiler=no
21749 fi
21750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21751 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21752 echo "${ECHO_T}$ac_header_compiler" >&6
21753
21754 # Is the header present?
21755 echo "$as_me:$LINENO: checking expat.h presence" >&5
21756 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
21757 cat >conftest.$ac_ext <<_ACEOF
21758 /* confdefs.h. */
21759 _ACEOF
21760 cat confdefs.h >>conftest.$ac_ext
21761 cat >>conftest.$ac_ext <<_ACEOF
21762 /* end confdefs.h. */
21763 #include <expat.h>
21764 _ACEOF
21765 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21766 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21767 ac_status=$?
21768 grep -v '^ *+' conftest.er1 >conftest.err
21769 rm -f conftest.er1
21770 cat conftest.err >&5
21771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21772 (exit $ac_status); } >/dev/null; then
21773 if test -s conftest.err; then
21774 ac_cpp_err=$ac_c_preproc_warn_flag
21775 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21776 else
21777 ac_cpp_err=
21778 fi
21779 else
21780 ac_cpp_err=yes
21781 fi
21782 if test -z "$ac_cpp_err"; then
21783 ac_header_preproc=yes
21784 else
21785 echo "$as_me: failed program was:" >&5
21786 sed 's/^/| /' conftest.$ac_ext >&5
21787
21788 ac_header_preproc=no
21789 fi
21790 rm -f conftest.err conftest.$ac_ext
21791 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21792 echo "${ECHO_T}$ac_header_preproc" >&6
21793
21794 # So? What about this header?
21795 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21796 yes:no: )
21797 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
21798 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21799 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
21800 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
21801 ac_header_preproc=yes
21802 ;;
21803 no:yes:* )
21804 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
21805 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
21806 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
21807 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
21808 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
21809 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
21810 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
21811 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
21812 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
21813 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
21814 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
21815 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
21816 (
21817 cat <<\_ASBOX
21818 ## ----------------------------------------- ##
21819 ## Report this to wx-dev@lists.wxwidgets.org ##
21820 ## ----------------------------------------- ##
21821 _ASBOX
21822 ) |
21823 sed "s/^/$as_me: WARNING: /" >&2
21824 ;;
21825 esac
21826 echo "$as_me:$LINENO: checking for expat.h" >&5
21827 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21828 if test "${ac_cv_header_expat_h+set}" = set; then
21829 echo $ECHO_N "(cached) $ECHO_C" >&6
21830 else
21831 ac_cv_header_expat_h=$ac_header_preproc
21832 fi
21833 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21834 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21835
21836 fi
21837 if test $ac_cv_header_expat_h = yes; then
21838 found_expat_h=1
21839 fi
21840
21841
21842 if test "x$found_expat_h" = "x1"; then
21843 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
21844 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
21845 if test "${wx_cv_expat_is_not_broken+set}" = set; then
21846 echo $ECHO_N "(cached) $ECHO_C" >&6
21847 else
21848
21849
21850
21851 ac_ext=cc
21852 ac_cpp='$CXXCPP $CPPFLAGS'
21853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21856
21857 cat >conftest.$ac_ext <<_ACEOF
21858 /* confdefs.h. */
21859 _ACEOF
21860 cat confdefs.h >>conftest.$ac_ext
21861 cat >>conftest.$ac_ext <<_ACEOF
21862 /* end confdefs.h. */
21863 #include <expat.h>
21864 int
21865 main ()
21866 {
21867
21868 ;
21869 return 0;
21870 }
21871 _ACEOF
21872 rm -f conftest.$ac_objext
21873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21874 (eval $ac_compile) 2>conftest.er1
21875 ac_status=$?
21876 grep -v '^ *+' conftest.er1 >conftest.err
21877 rm -f conftest.er1
21878 cat conftest.err >&5
21879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21880 (exit $ac_status); } &&
21881 { ac_try='test -z "$ac_cxx_werror_flag"
21882 || test ! -s conftest.err'
21883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21884 (eval $ac_try) 2>&5
21885 ac_status=$?
21886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21887 (exit $ac_status); }; } &&
21888 { ac_try='test -s conftest.$ac_objext'
21889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21890 (eval $ac_try) 2>&5
21891 ac_status=$?
21892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21893 (exit $ac_status); }; }; then
21894 wx_cv_expat_is_not_broken=yes
21895 else
21896 echo "$as_me: failed program was:" >&5
21897 sed 's/^/| /' conftest.$ac_ext >&5
21898
21899 wx_cv_expat_is_not_broken=no
21900
21901 fi
21902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21903 ac_ext=c
21904 ac_cpp='$CPP $CPPFLAGS'
21905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21908
21909
21910
21911 fi
21912 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
21913 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
21914 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
21915 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
21916 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
21917 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
21918 echo $ECHO_N "(cached) $ECHO_C" >&6
21919 else
21920 ac_check_lib_save_LIBS=$LIBS
21921 LIBS="-lexpat $LIBS"
21922 cat >conftest.$ac_ext <<_ACEOF
21923 /* confdefs.h. */
21924 _ACEOF
21925 cat confdefs.h >>conftest.$ac_ext
21926 cat >>conftest.$ac_ext <<_ACEOF
21927 /* end confdefs.h. */
21928
21929 /* Override any gcc2 internal prototype to avoid an error. */
21930 #ifdef __cplusplus
21931 extern "C"
21932 #endif
21933 /* We use char because int might match the return type of a gcc2
21934 builtin and then its argument prototype would still apply. */
21935 char XML_ParserCreate ();
21936 int
21937 main ()
21938 {
21939 XML_ParserCreate ();
21940 ;
21941 return 0;
21942 }
21943 _ACEOF
21944 rm -f conftest.$ac_objext conftest$ac_exeext
21945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21946 (eval $ac_link) 2>conftest.er1
21947 ac_status=$?
21948 grep -v '^ *+' conftest.er1 >conftest.err
21949 rm -f conftest.er1
21950 cat conftest.err >&5
21951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21952 (exit $ac_status); } &&
21953 { ac_try='test -z "$ac_c_werror_flag"
21954 || test ! -s conftest.err'
21955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21956 (eval $ac_try) 2>&5
21957 ac_status=$?
21958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21959 (exit $ac_status); }; } &&
21960 { ac_try='test -s conftest$ac_exeext'
21961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21962 (eval $ac_try) 2>&5
21963 ac_status=$?
21964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21965 (exit $ac_status); }; }; then
21966 ac_cv_lib_expat_XML_ParserCreate=yes
21967 else
21968 echo "$as_me: failed program was:" >&5
21969 sed 's/^/| /' conftest.$ac_ext >&5
21970
21971 ac_cv_lib_expat_XML_ParserCreate=no
21972 fi
21973 rm -f conftest.err conftest.$ac_objext \
21974 conftest$ac_exeext conftest.$ac_ext
21975 LIBS=$ac_check_lib_save_LIBS
21976 fi
21977 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
21978 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
21979 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
21980 EXPAT_LINK=" -lexpat"
21981 fi
21982
21983 fi
21984 fi
21985 if test "x$EXPAT_LINK" = "x" ; then
21986 if test "$wxUSE_EXPAT" = "sys" ; then
21987 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
21988 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
21989 { (exit 1); exit 1; }; }
21990 else
21991 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
21992 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
21993 wxUSE_EXPAT=builtin
21994 fi
21995 else
21996 wxUSE_EXPAT=sys
21997 fi
21998 fi
21999 if test "$wxUSE_EXPAT" = "builtin" ; then
22000
22001
22002 subdirs="$subdirs src/expat"
22003
22004 fi
22005 fi
22006
22007
22008
22009 if test "$wxUSE_LIBMSPACK" != "no"; then
22010
22011 if test "${ac_cv_header_mspack_h+set}" = set; then
22012 echo "$as_me:$LINENO: checking for mspack.h" >&5
22013 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
22014 if test "${ac_cv_header_mspack_h+set}" = set; then
22015 echo $ECHO_N "(cached) $ECHO_C" >&6
22016 fi
22017 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
22018 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
22019 else
22020 # Is the header compilable?
22021 echo "$as_me:$LINENO: checking mspack.h usability" >&5
22022 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
22023 cat >conftest.$ac_ext <<_ACEOF
22024 /* confdefs.h. */
22025 _ACEOF
22026 cat confdefs.h >>conftest.$ac_ext
22027 cat >>conftest.$ac_ext <<_ACEOF
22028 /* end confdefs.h. */
22029 $ac_includes_default
22030 #include <mspack.h>
22031 _ACEOF
22032 rm -f conftest.$ac_objext
22033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22034 (eval $ac_compile) 2>conftest.er1
22035 ac_status=$?
22036 grep -v '^ *+' conftest.er1 >conftest.err
22037 rm -f conftest.er1
22038 cat conftest.err >&5
22039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22040 (exit $ac_status); } &&
22041 { ac_try='test -z "$ac_c_werror_flag"
22042 || test ! -s conftest.err'
22043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22044 (eval $ac_try) 2>&5
22045 ac_status=$?
22046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22047 (exit $ac_status); }; } &&
22048 { ac_try='test -s conftest.$ac_objext'
22049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22050 (eval $ac_try) 2>&5
22051 ac_status=$?
22052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22053 (exit $ac_status); }; }; then
22054 ac_header_compiler=yes
22055 else
22056 echo "$as_me: failed program was:" >&5
22057 sed 's/^/| /' conftest.$ac_ext >&5
22058
22059 ac_header_compiler=no
22060 fi
22061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22062 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22063 echo "${ECHO_T}$ac_header_compiler" >&6
22064
22065 # Is the header present?
22066 echo "$as_me:$LINENO: checking mspack.h presence" >&5
22067 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
22068 cat >conftest.$ac_ext <<_ACEOF
22069 /* confdefs.h. */
22070 _ACEOF
22071 cat confdefs.h >>conftest.$ac_ext
22072 cat >>conftest.$ac_ext <<_ACEOF
22073 /* end confdefs.h. */
22074 #include <mspack.h>
22075 _ACEOF
22076 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22077 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22078 ac_status=$?
22079 grep -v '^ *+' conftest.er1 >conftest.err
22080 rm -f conftest.er1
22081 cat conftest.err >&5
22082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22083 (exit $ac_status); } >/dev/null; then
22084 if test -s conftest.err; then
22085 ac_cpp_err=$ac_c_preproc_warn_flag
22086 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22087 else
22088 ac_cpp_err=
22089 fi
22090 else
22091 ac_cpp_err=yes
22092 fi
22093 if test -z "$ac_cpp_err"; then
22094 ac_header_preproc=yes
22095 else
22096 echo "$as_me: failed program was:" >&5
22097 sed 's/^/| /' conftest.$ac_ext >&5
22098
22099 ac_header_preproc=no
22100 fi
22101 rm -f conftest.err conftest.$ac_ext
22102 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22103 echo "${ECHO_T}$ac_header_preproc" >&6
22104
22105 # So? What about this header?
22106 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22107 yes:no: )
22108 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
22109 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22110 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
22111 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
22112 ac_header_preproc=yes
22113 ;;
22114 no:yes:* )
22115 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
22116 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
22117 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
22118 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
22119 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
22120 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
22121 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
22122 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
22123 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
22124 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
22125 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
22126 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
22127 (
22128 cat <<\_ASBOX
22129 ## ----------------------------------------- ##
22130 ## Report this to wx-dev@lists.wxwidgets.org ##
22131 ## ----------------------------------------- ##
22132 _ASBOX
22133 ) |
22134 sed "s/^/$as_me: WARNING: /" >&2
22135 ;;
22136 esac
22137 echo "$as_me:$LINENO: checking for mspack.h" >&5
22138 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
22139 if test "${ac_cv_header_mspack_h+set}" = set; then
22140 echo $ECHO_N "(cached) $ECHO_C" >&6
22141 else
22142 ac_cv_header_mspack_h=$ac_header_preproc
22143 fi
22144 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
22145 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
22146
22147 fi
22148 if test $ac_cv_header_mspack_h = yes; then
22149 found_mspack_h=1
22150 fi
22151
22152
22153 if test "x$found_mspack_h" = "x1"; then
22154 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
22155 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
22156 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
22157 echo $ECHO_N "(cached) $ECHO_C" >&6
22158 else
22159 ac_check_lib_save_LIBS=$LIBS
22160 LIBS="-lmspack $LIBS"
22161 cat >conftest.$ac_ext <<_ACEOF
22162 /* confdefs.h. */
22163 _ACEOF
22164 cat confdefs.h >>conftest.$ac_ext
22165 cat >>conftest.$ac_ext <<_ACEOF
22166 /* end confdefs.h. */
22167
22168 /* Override any gcc2 internal prototype to avoid an error. */
22169 #ifdef __cplusplus
22170 extern "C"
22171 #endif
22172 /* We use char because int might match the return type of a gcc2
22173 builtin and then its argument prototype would still apply. */
22174 char mspack_create_chm_decompressor ();
22175 int
22176 main ()
22177 {
22178 mspack_create_chm_decompressor ();
22179 ;
22180 return 0;
22181 }
22182 _ACEOF
22183 rm -f conftest.$ac_objext conftest$ac_exeext
22184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22185 (eval $ac_link) 2>conftest.er1
22186 ac_status=$?
22187 grep -v '^ *+' conftest.er1 >conftest.err
22188 rm -f conftest.er1
22189 cat conftest.err >&5
22190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22191 (exit $ac_status); } &&
22192 { ac_try='test -z "$ac_c_werror_flag"
22193 || test ! -s conftest.err'
22194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22195 (eval $ac_try) 2>&5
22196 ac_status=$?
22197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22198 (exit $ac_status); }; } &&
22199 { ac_try='test -s conftest$ac_exeext'
22200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22201 (eval $ac_try) 2>&5
22202 ac_status=$?
22203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22204 (exit $ac_status); }; }; then
22205 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
22206 else
22207 echo "$as_me: failed program was:" >&5
22208 sed 's/^/| /' conftest.$ac_ext >&5
22209
22210 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
22211 fi
22212 rm -f conftest.err conftest.$ac_objext \
22213 conftest$ac_exeext conftest.$ac_ext
22214 LIBS=$ac_check_lib_save_LIBS
22215 fi
22216 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
22217 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
22218 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
22219 MSPACK_LINK=" -lmspack"
22220 fi
22221
22222 fi
22223 if test "x$MSPACK_LINK" = "x" ; then
22224 wxUSE_LIBMSPACK=no
22225 else
22226 cat >>confdefs.h <<\_ACEOF
22227 #define wxUSE_LIBMSPACK 1
22228 _ACEOF
22229
22230 fi
22231 fi
22232
22233
22234
22235 AFMINSTALL=
22236 WIN32INSTALL=
22237
22238 TOOLKIT=
22239 TOOLKIT_INCLUDE=
22240 WIDGET_SET=
22241
22242 if test "$USE_WIN32" = 1 ; then
22243
22244 for ac_header in w32api.h
22245 do
22246 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22247 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22248 echo "$as_me:$LINENO: checking for $ac_header" >&5
22249 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22250 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22251 echo $ECHO_N "(cached) $ECHO_C" >&6
22252 fi
22253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22254 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22255 else
22256 # Is the header compilable?
22257 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22258 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22259 cat >conftest.$ac_ext <<_ACEOF
22260 /* confdefs.h. */
22261 _ACEOF
22262 cat confdefs.h >>conftest.$ac_ext
22263 cat >>conftest.$ac_ext <<_ACEOF
22264 /* end confdefs.h. */
22265 $ac_includes_default
22266 #include <$ac_header>
22267 _ACEOF
22268 rm -f conftest.$ac_objext
22269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22270 (eval $ac_compile) 2>conftest.er1
22271 ac_status=$?
22272 grep -v '^ *+' conftest.er1 >conftest.err
22273 rm -f conftest.er1
22274 cat conftest.err >&5
22275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22276 (exit $ac_status); } &&
22277 { ac_try='test -z "$ac_c_werror_flag"
22278 || test ! -s conftest.err'
22279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22280 (eval $ac_try) 2>&5
22281 ac_status=$?
22282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22283 (exit $ac_status); }; } &&
22284 { ac_try='test -s conftest.$ac_objext'
22285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22286 (eval $ac_try) 2>&5
22287 ac_status=$?
22288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22289 (exit $ac_status); }; }; then
22290 ac_header_compiler=yes
22291 else
22292 echo "$as_me: failed program was:" >&5
22293 sed 's/^/| /' conftest.$ac_ext >&5
22294
22295 ac_header_compiler=no
22296 fi
22297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22298 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22299 echo "${ECHO_T}$ac_header_compiler" >&6
22300
22301 # Is the header present?
22302 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22303 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22304 cat >conftest.$ac_ext <<_ACEOF
22305 /* confdefs.h. */
22306 _ACEOF
22307 cat confdefs.h >>conftest.$ac_ext
22308 cat >>conftest.$ac_ext <<_ACEOF
22309 /* end confdefs.h. */
22310 #include <$ac_header>
22311 _ACEOF
22312 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22313 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22314 ac_status=$?
22315 grep -v '^ *+' conftest.er1 >conftest.err
22316 rm -f conftest.er1
22317 cat conftest.err >&5
22318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22319 (exit $ac_status); } >/dev/null; then
22320 if test -s conftest.err; then
22321 ac_cpp_err=$ac_c_preproc_warn_flag
22322 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22323 else
22324 ac_cpp_err=
22325 fi
22326 else
22327 ac_cpp_err=yes
22328 fi
22329 if test -z "$ac_cpp_err"; then
22330 ac_header_preproc=yes
22331 else
22332 echo "$as_me: failed program was:" >&5
22333 sed 's/^/| /' conftest.$ac_ext >&5
22334
22335 ac_header_preproc=no
22336 fi
22337 rm -f conftest.err conftest.$ac_ext
22338 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22339 echo "${ECHO_T}$ac_header_preproc" >&6
22340
22341 # So? What about this header?
22342 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22343 yes:no: )
22344 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22345 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22346 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22347 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22348 ac_header_preproc=yes
22349 ;;
22350 no:yes:* )
22351 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22352 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22353 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22354 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22355 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22356 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22357 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22358 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22359 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22360 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22361 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22362 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22363 (
22364 cat <<\_ASBOX
22365 ## ----------------------------------------- ##
22366 ## Report this to wx-dev@lists.wxwidgets.org ##
22367 ## ----------------------------------------- ##
22368 _ASBOX
22369 ) |
22370 sed "s/^/$as_me: WARNING: /" >&2
22371 ;;
22372 esac
22373 echo "$as_me:$LINENO: checking for $ac_header" >&5
22374 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22375 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22376 echo $ECHO_N "(cached) $ECHO_C" >&6
22377 else
22378 eval "$as_ac_Header=\$ac_header_preproc"
22379 fi
22380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22381 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22382
22383 fi
22384 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22385 cat >>confdefs.h <<_ACEOF
22386 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22387 _ACEOF
22388
22389 fi
22390
22391 done
22392
22393 if test "${ac_cv_header_windows_h+set}" = set; then
22394 echo "$as_me:$LINENO: checking for windows.h" >&5
22395 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22396 if test "${ac_cv_header_windows_h+set}" = set; then
22397 echo $ECHO_N "(cached) $ECHO_C" >&6
22398 fi
22399 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22400 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22401 else
22402 # Is the header compilable?
22403 echo "$as_me:$LINENO: checking windows.h usability" >&5
22404 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
22405 cat >conftest.$ac_ext <<_ACEOF
22406 /* confdefs.h. */
22407 _ACEOF
22408 cat confdefs.h >>conftest.$ac_ext
22409 cat >>conftest.$ac_ext <<_ACEOF
22410 /* end confdefs.h. */
22411 $ac_includes_default
22412 #include <windows.h>
22413 _ACEOF
22414 rm -f conftest.$ac_objext
22415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22416 (eval $ac_compile) 2>conftest.er1
22417 ac_status=$?
22418 grep -v '^ *+' conftest.er1 >conftest.err
22419 rm -f conftest.er1
22420 cat conftest.err >&5
22421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22422 (exit $ac_status); } &&
22423 { ac_try='test -z "$ac_c_werror_flag"
22424 || test ! -s conftest.err'
22425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22426 (eval $ac_try) 2>&5
22427 ac_status=$?
22428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22429 (exit $ac_status); }; } &&
22430 { ac_try='test -s conftest.$ac_objext'
22431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22432 (eval $ac_try) 2>&5
22433 ac_status=$?
22434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22435 (exit $ac_status); }; }; then
22436 ac_header_compiler=yes
22437 else
22438 echo "$as_me: failed program was:" >&5
22439 sed 's/^/| /' conftest.$ac_ext >&5
22440
22441 ac_header_compiler=no
22442 fi
22443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22444 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22445 echo "${ECHO_T}$ac_header_compiler" >&6
22446
22447 # Is the header present?
22448 echo "$as_me:$LINENO: checking windows.h presence" >&5
22449 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
22450 cat >conftest.$ac_ext <<_ACEOF
22451 /* confdefs.h. */
22452 _ACEOF
22453 cat confdefs.h >>conftest.$ac_ext
22454 cat >>conftest.$ac_ext <<_ACEOF
22455 /* end confdefs.h. */
22456 #include <windows.h>
22457 _ACEOF
22458 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22459 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22460 ac_status=$?
22461 grep -v '^ *+' conftest.er1 >conftest.err
22462 rm -f conftest.er1
22463 cat conftest.err >&5
22464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22465 (exit $ac_status); } >/dev/null; then
22466 if test -s conftest.err; then
22467 ac_cpp_err=$ac_c_preproc_warn_flag
22468 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22469 else
22470 ac_cpp_err=
22471 fi
22472 else
22473 ac_cpp_err=yes
22474 fi
22475 if test -z "$ac_cpp_err"; then
22476 ac_header_preproc=yes
22477 else
22478 echo "$as_me: failed program was:" >&5
22479 sed 's/^/| /' conftest.$ac_ext >&5
22480
22481 ac_header_preproc=no
22482 fi
22483 rm -f conftest.err conftest.$ac_ext
22484 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22485 echo "${ECHO_T}$ac_header_preproc" >&6
22486
22487 # So? What about this header?
22488 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22489 yes:no: )
22490 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
22491 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22492 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
22493 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
22494 ac_header_preproc=yes
22495 ;;
22496 no:yes:* )
22497 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
22498 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
22499 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
22500 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
22501 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
22502 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
22503 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
22504 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
22505 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
22506 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
22507 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
22508 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
22509 (
22510 cat <<\_ASBOX
22511 ## ----------------------------------------- ##
22512 ## Report this to wx-dev@lists.wxwidgets.org ##
22513 ## ----------------------------------------- ##
22514 _ASBOX
22515 ) |
22516 sed "s/^/$as_me: WARNING: /" >&2
22517 ;;
22518 esac
22519 echo "$as_me:$LINENO: checking for windows.h" >&5
22520 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22521 if test "${ac_cv_header_windows_h+set}" = set; then
22522 echo $ECHO_N "(cached) $ECHO_C" >&6
22523 else
22524 ac_cv_header_windows_h=$ac_header_preproc
22525 fi
22526 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22527 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22528
22529 fi
22530 if test $ac_cv_header_windows_h = yes; then
22531 :
22532 else
22533
22534 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
22535 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
22536 { (exit 1); exit 1; }; }
22537
22538 fi
22539
22540
22541
22542 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
22543
22544 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
22545 LIBS="$LIBS -loleacc"
22546 fi
22547
22548 case "${host}" in
22549 *-*-cygwin* )
22550 LIBS="$LIBS -lkernel32 -luser32"
22551 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
22552 esac
22553
22554 if test "$wxUSE_ODBC" = "sys" ; then
22555 wxUSE_ODBC = "yes"
22556 fi
22557 if test "$wxUSE_ODBC" = "yes" ; then
22558 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
22559 cat >>confdefs.h <<\_ACEOF
22560 #define wxUSE_ODBC 1
22561 _ACEOF
22562
22563 fi
22564
22565 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
22566 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
22567
22568 WIN32INSTALL=win32install
22569 fi
22570
22571 if test "$wxUSE_GUI" = "yes"; then
22572 USE_GUI=1
22573
22574 GUI_TK_LIBRARY=
22575
22576 WXGTK12=
22577 WXGTK127=
22578 WXGTK20=
22579 WXGPE=
22580
22581 if test "$wxUSE_COCOA" = 1 ; then
22582 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
22583 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
22584 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
22585 wxUSE_PRINTING_ARCHITECTURE=no
22586 fi
22587 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
22588 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
22589 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
22590 wxUSE_DRAG_AND_DROP=no
22591 fi
22592 if test "$wxUSE_DRAGIMAGE" = "yes"; then
22593 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
22594 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
22595 wxUSE_DRAGIMAGE=no
22596 fi
22597 fi
22598
22599 if test "$wxUSE_MSW" = 1 ; then
22600 TOOLKIT=MSW
22601 GUIDIST=MSW_DIST
22602
22603 case "${host}" in
22604 *-*-mingw32* )
22605 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
22606 esac
22607 fi
22608
22609 if test "$wxUSE_GTK" = 1; then
22610 echo "$as_me:$LINENO: checking for GTK+ version" >&5
22611 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
22612
22613 gtk_version_cached=1
22614 if test "${wx_cv_lib_gtk+set}" = set; then
22615 echo $ECHO_N "(cached) $ECHO_C" >&6
22616 else
22617
22618 gtk_version_cached=0
22619 echo "$as_me:$LINENO: result: " >&5
22620 echo "${ECHO_T}" >&6
22621
22622 GTK_MODULES=
22623 if test "$wxUSE_THREADS" = "yes"; then
22624 GTK_MODULES=gthread
22625 fi
22626
22627 wx_cv_lib_gtk=
22628 if test "x$wxUSE_GTK2" = "xyes"; then
22629 # Check whether --enable-gtktest or --disable-gtktest was given.
22630 if test "${enable_gtktest+set}" = set; then
22631 enableval="$enable_gtktest"
22632
22633 else
22634 enable_gtktest=yes
22635 fi;
22636
22637 pkg_config_args=gtk+-2.0
22638 for module in . $GTK_MODULES
22639 do
22640 case "$module" in
22641 gthread)
22642 pkg_config_args="$pkg_config_args gthread-2.0"
22643 ;;
22644 esac
22645 done
22646
22647 no_gtk=""
22648
22649 # Extract the first word of "pkg-config", so it can be a program name with args.
22650 set dummy pkg-config; ac_word=$2
22651 echo "$as_me:$LINENO: checking for $ac_word" >&5
22652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22653 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22654 echo $ECHO_N "(cached) $ECHO_C" >&6
22655 else
22656 case $PKG_CONFIG in
22657 [\\/]* | ?:[\\/]*)
22658 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22659 ;;
22660 *)
22661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22662 for as_dir in $PATH
22663 do
22664 IFS=$as_save_IFS
22665 test -z "$as_dir" && as_dir=.
22666 for ac_exec_ext in '' $ac_executable_extensions; do
22667 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22668 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22670 break 2
22671 fi
22672 done
22673 done
22674
22675 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22676 ;;
22677 esac
22678 fi
22679 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22680
22681 if test -n "$PKG_CONFIG"; then
22682 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22683 echo "${ECHO_T}$PKG_CONFIG" >&6
22684 else
22685 echo "$as_me:$LINENO: result: no" >&5
22686 echo "${ECHO_T}no" >&6
22687 fi
22688
22689
22690 if test x$PKG_CONFIG != xno ; then
22691 if pkg-config --atleast-pkgconfig-version 0.7 ; then
22692 :
22693 else
22694 echo "*** pkg-config too old; version 0.7 or better required."
22695 no_gtk=yes
22696 PKG_CONFIG=no
22697 fi
22698 else
22699 no_gtk=yes
22700 fi
22701
22702 min_gtk_version=2.0.0
22703 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
22704 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
22705
22706 if test x$PKG_CONFIG != xno ; then
22707 ## don't try to run the test against uninstalled libtool libs
22708 if $PKG_CONFIG --uninstalled $pkg_config_args; then
22709 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
22710 enable_gtktest=no
22711 fi
22712
22713 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
22714 :
22715 else
22716 no_gtk=yes
22717 fi
22718 fi
22719
22720 if test x"$no_gtk" = x ; then
22721 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
22722 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
22723 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
22724 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22725 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
22726 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22727 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
22728 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22729 if test "x$enable_gtktest" = "xyes" ; then
22730 ac_save_CFLAGS="$CFLAGS"
22731 ac_save_LIBS="$LIBS"
22732 CFLAGS="$CFLAGS $GTK_CFLAGS"
22733 LIBS="$GTK_LIBS $LIBS"
22734 rm -f conf.gtktest
22735 if test "$cross_compiling" = yes; then
22736 echo $ac_n "cross compiling; assumed OK... $ac_c"
22737 else
22738 cat >conftest.$ac_ext <<_ACEOF
22739 /* confdefs.h. */
22740 _ACEOF
22741 cat confdefs.h >>conftest.$ac_ext
22742 cat >>conftest.$ac_ext <<_ACEOF
22743 /* end confdefs.h. */
22744
22745 #include <gtk/gtk.h>
22746 #include <stdio.h>
22747 #include <stdlib.h>
22748
22749 int
22750 main ()
22751 {
22752 int major, minor, micro;
22753 char *tmp_version;
22754
22755 system ("touch conf.gtktest");
22756
22757 /* HP/UX 9 (%@#!) writes to sscanf strings */
22758 tmp_version = g_strdup("$min_gtk_version");
22759 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
22760 printf("%s, bad version string\n", "$min_gtk_version");
22761 exit(1);
22762 }
22763
22764 if ((gtk_major_version != $gtk_config_major_version) ||
22765 (gtk_minor_version != $gtk_config_minor_version) ||
22766 (gtk_micro_version != $gtk_config_micro_version))
22767 {
22768 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22769 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22770 gtk_major_version, gtk_minor_version, gtk_micro_version);
22771 printf ("*** was found! If pkg-config was correct, then it is best\n");
22772 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22773 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22774 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22775 printf("*** required on your system.\n");
22776 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
22777 printf("*** to point to the correct configuration files\n");
22778 }
22779 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22780 (gtk_minor_version != GTK_MINOR_VERSION) ||
22781 (gtk_micro_version != GTK_MICRO_VERSION))
22782 {
22783 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22784 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22785 printf("*** library (version %d.%d.%d)\n",
22786 gtk_major_version, gtk_minor_version, gtk_micro_version);
22787 }
22788 else
22789 {
22790 if ((gtk_major_version > major) ||
22791 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22792 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22793 {
22794 return 0;
22795 }
22796 else
22797 {
22798 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22799 gtk_major_version, gtk_minor_version, gtk_micro_version);
22800 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22801 major, minor, micro);
22802 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22803 printf("***\n");
22804 printf("*** If you have already installed a sufficiently new version, this error\n");
22805 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
22806 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22807 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
22808 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
22809 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22810 printf("*** so that the correct libraries are found at run-time))\n");
22811 }
22812 }
22813 return 1;
22814 }
22815
22816 _ACEOF
22817 rm -f conftest$ac_exeext
22818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22819 (eval $ac_link) 2>&5
22820 ac_status=$?
22821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22822 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22824 (eval $ac_try) 2>&5
22825 ac_status=$?
22826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22827 (exit $ac_status); }; }; then
22828 :
22829 else
22830 echo "$as_me: program exited with status $ac_status" >&5
22831 echo "$as_me: failed program was:" >&5
22832 sed 's/^/| /' conftest.$ac_ext >&5
22833
22834 ( exit $ac_status )
22835 no_gtk=yes
22836 fi
22837 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22838 fi
22839 CFLAGS="$ac_save_CFLAGS"
22840 LIBS="$ac_save_LIBS"
22841 fi
22842 fi
22843 if test "x$no_gtk" = x ; then
22844 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
22845 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
22846 wx_cv_lib_gtk=2.0
22847 else
22848 echo "$as_me:$LINENO: result: no" >&5
22849 echo "${ECHO_T}no" >&6
22850 if test "$PKG_CONFIG" = "no" ; then
22851 echo "*** A new enough version of pkg-config was not found."
22852 echo "*** See http://pkgconfig.sourceforge.net"
22853 else
22854 if test -f conf.gtktest ; then
22855 :
22856 else
22857 echo "*** Could not run GTK+ test program, checking why..."
22858 ac_save_CFLAGS="$CFLAGS"
22859 ac_save_LIBS="$LIBS"
22860 CFLAGS="$CFLAGS $GTK_CFLAGS"
22861 LIBS="$LIBS $GTK_LIBS"
22862 cat >conftest.$ac_ext <<_ACEOF
22863 /* confdefs.h. */
22864 _ACEOF
22865 cat confdefs.h >>conftest.$ac_ext
22866 cat >>conftest.$ac_ext <<_ACEOF
22867 /* end confdefs.h. */
22868
22869 #include <gtk/gtk.h>
22870 #include <stdio.h>
22871
22872 int
22873 main ()
22874 {
22875 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22876 ;
22877 return 0;
22878 }
22879 _ACEOF
22880 rm -f conftest.$ac_objext conftest$ac_exeext
22881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22882 (eval $ac_link) 2>conftest.er1
22883 ac_status=$?
22884 grep -v '^ *+' conftest.er1 >conftest.err
22885 rm -f conftest.er1
22886 cat conftest.err >&5
22887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22888 (exit $ac_status); } &&
22889 { ac_try='test -z "$ac_c_werror_flag"
22890 || test ! -s conftest.err'
22891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22892 (eval $ac_try) 2>&5
22893 ac_status=$?
22894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22895 (exit $ac_status); }; } &&
22896 { ac_try='test -s conftest$ac_exeext'
22897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22898 (eval $ac_try) 2>&5
22899 ac_status=$?
22900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22901 (exit $ac_status); }; }; then
22902 echo "*** The test program compiled, but did not run. This usually means"
22903 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
22904 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
22905 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22906 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22907 echo "*** is required on your system"
22908 echo "***"
22909 echo "*** If you have an old version installed, it is best to remove it, although"
22910 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22911 else
22912 echo "$as_me: failed program was:" >&5
22913 sed 's/^/| /' conftest.$ac_ext >&5
22914
22915 echo "*** The test program failed to compile or link. See the file config.log for the"
22916 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
22917 fi
22918 rm -f conftest.err conftest.$ac_objext \
22919 conftest$ac_exeext conftest.$ac_ext
22920 CFLAGS="$ac_save_CFLAGS"
22921 LIBS="$ac_save_LIBS"
22922 fi
22923 fi
22924 GTK_CFLAGS=""
22925 GTK_LIBS=""
22926 :
22927 fi
22928
22929
22930 rm -f conf.gtktest
22931
22932 else
22933
22934 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22935 if test "${with_gtk_prefix+set}" = set; then
22936 withval="$with_gtk_prefix"
22937 gtk_config_prefix="$withval"
22938 else
22939 gtk_config_prefix=""
22940 fi;
22941
22942 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22943 if test "${with_gtk_exec_prefix+set}" = set; then
22944 withval="$with_gtk_exec_prefix"
22945 gtk_config_exec_prefix="$withval"
22946 else
22947 gtk_config_exec_prefix=""
22948 fi;
22949 # Check whether --enable-gtktest or --disable-gtktest was given.
22950 if test "${enable_gtktest+set}" = set; then
22951 enableval="$enable_gtktest"
22952
22953 else
22954 enable_gtktest=yes
22955 fi;
22956
22957 for module in . $GTK_MODULES
22958 do
22959 case "$module" in
22960 gthread)
22961 gtk_config_args="$gtk_config_args gthread"
22962 ;;
22963 esac
22964 done
22965
22966 if test x$gtk_config_exec_prefix != x ; then
22967 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22968 if test x${GTK_CONFIG+set} != xset ; then
22969 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
22970 fi
22971 fi
22972 if test x$gtk_config_prefix != x ; then
22973 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
22974 if test x${GTK_CONFIG+set} != xset ; then
22975 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
22976 fi
22977 fi
22978
22979 # Extract the first word of "gtk-config", so it can be a program name with args.
22980 set dummy gtk-config; ac_word=$2
22981 echo "$as_me:$LINENO: checking for $ac_word" >&5
22982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22983 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22984 echo $ECHO_N "(cached) $ECHO_C" >&6
22985 else
22986 case $GTK_CONFIG in
22987 [\\/]* | ?:[\\/]*)
22988 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
22989 ;;
22990 *)
22991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22992 for as_dir in $PATH
22993 do
22994 IFS=$as_save_IFS
22995 test -z "$as_dir" && as_dir=.
22996 for ac_exec_ext in '' $ac_executable_extensions; do
22997 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22998 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23000 break 2
23001 fi
23002 done
23003 done
23004
23005 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
23006 ;;
23007 esac
23008 fi
23009 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
23010
23011 if test -n "$GTK_CONFIG"; then
23012 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23013 echo "${ECHO_T}$GTK_CONFIG" >&6
23014 else
23015 echo "$as_me:$LINENO: result: no" >&5
23016 echo "${ECHO_T}no" >&6
23017 fi
23018
23019 min_gtk_version=1.2.7
23020 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23021 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23022 no_gtk=""
23023 if test "$GTK_CONFIG" = "no" ; then
23024 no_gtk=yes
23025 else
23026 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
23027 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
23028 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
23029 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23030 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
23031 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23032 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
23033 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23034 if test "x$enable_gtktest" = "xyes" ; then
23035 ac_save_CFLAGS="$CFLAGS"
23036 ac_save_LIBS="$LIBS"
23037 CFLAGS="$CFLAGS $GTK_CFLAGS"
23038 LIBS="$GTK_LIBS $LIBS"
23039 rm -f conf.gtktest
23040 if test "$cross_compiling" = yes; then
23041 echo $ac_n "cross compiling; assumed OK... $ac_c"
23042 else
23043 cat >conftest.$ac_ext <<_ACEOF
23044 /* confdefs.h. */
23045 _ACEOF
23046 cat confdefs.h >>conftest.$ac_ext
23047 cat >>conftest.$ac_ext <<_ACEOF
23048 /* end confdefs.h. */
23049
23050 #include <gtk/gtk.h>
23051 #include <stdio.h>
23052 #include <stdlib.h>
23053
23054 int
23055 main ()
23056 {
23057 int major, minor, micro;
23058 char *tmp_version;
23059
23060 system ("touch conf.gtktest");
23061
23062 /* HP/UX 9 (%@#!) writes to sscanf strings */
23063 tmp_version = g_strdup("$min_gtk_version");
23064 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23065 printf("%s, bad version string\n", "$min_gtk_version");
23066 exit(1);
23067 }
23068
23069 if ((gtk_major_version != $gtk_config_major_version) ||
23070 (gtk_minor_version != $gtk_config_minor_version) ||
23071 (gtk_micro_version != $gtk_config_micro_version))
23072 {
23073 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23074 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23075 gtk_major_version, gtk_minor_version, gtk_micro_version);
23076 printf ("*** was found! If gtk-config was correct, then it is best\n");
23077 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23078 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23079 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23080 printf("*** required on your system.\n");
23081 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23082 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23083 printf("*** before re-running configure\n");
23084 }
23085 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23086 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23087 (gtk_minor_version != GTK_MINOR_VERSION) ||
23088 (gtk_micro_version != GTK_MICRO_VERSION))
23089 {
23090 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23091 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23092 printf("*** library (version %d.%d.%d)\n",
23093 gtk_major_version, gtk_minor_version, gtk_micro_version);
23094 }
23095 #endif /* defined (GTK_MAJOR_VERSION) ... */
23096 else
23097 {
23098 if ((gtk_major_version > major) ||
23099 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23100 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23101 {
23102 return 0;
23103 }
23104 else
23105 {
23106 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23107 gtk_major_version, gtk_minor_version, gtk_micro_version);
23108 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23109 major, minor, micro);
23110 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23111 printf("***\n");
23112 printf("*** If you have already installed a sufficiently new version, this error\n");
23113 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23114 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23115 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23116 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23117 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23118 printf("*** so that the correct libraries are found at run-time))\n");
23119 }
23120 }
23121 return 1;
23122 }
23123
23124 _ACEOF
23125 rm -f conftest$ac_exeext
23126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23127 (eval $ac_link) 2>&5
23128 ac_status=$?
23129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23130 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23132 (eval $ac_try) 2>&5
23133 ac_status=$?
23134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23135 (exit $ac_status); }; }; then
23136 :
23137 else
23138 echo "$as_me: program exited with status $ac_status" >&5
23139 echo "$as_me: failed program was:" >&5
23140 sed 's/^/| /' conftest.$ac_ext >&5
23141
23142 ( exit $ac_status )
23143 no_gtk=yes
23144 fi
23145 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23146 fi
23147 CFLAGS="$ac_save_CFLAGS"
23148 LIBS="$ac_save_LIBS"
23149 fi
23150 fi
23151 if test "x$no_gtk" = x ; then
23152 echo "$as_me:$LINENO: result: yes" >&5
23153 echo "${ECHO_T}yes" >&6
23154 wx_cv_lib_gtk=1.2.7
23155 else
23156 echo "$as_me:$LINENO: result: no" >&5
23157 echo "${ECHO_T}no" >&6
23158 if test "$GTK_CONFIG" = "no" ; then
23159 echo "*** The gtk-config script installed by GTK could not be found"
23160 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23161 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23162 echo "*** full path to gtk-config."
23163 else
23164 if test -f conf.gtktest ; then
23165 :
23166 else
23167 echo "*** Could not run GTK test program, checking why..."
23168 CFLAGS="$CFLAGS $GTK_CFLAGS"
23169 LIBS="$LIBS $GTK_LIBS"
23170 cat >conftest.$ac_ext <<_ACEOF
23171 /* confdefs.h. */
23172 _ACEOF
23173 cat confdefs.h >>conftest.$ac_ext
23174 cat >>conftest.$ac_ext <<_ACEOF
23175 /* end confdefs.h. */
23176
23177 #include <gtk/gtk.h>
23178 #include <stdio.h>
23179
23180 int
23181 main ()
23182 {
23183 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23184 ;
23185 return 0;
23186 }
23187 _ACEOF
23188 rm -f conftest.$ac_objext conftest$ac_exeext
23189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23190 (eval $ac_link) 2>conftest.er1
23191 ac_status=$?
23192 grep -v '^ *+' conftest.er1 >conftest.err
23193 rm -f conftest.er1
23194 cat conftest.err >&5
23195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23196 (exit $ac_status); } &&
23197 { ac_try='test -z "$ac_c_werror_flag"
23198 || test ! -s conftest.err'
23199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23200 (eval $ac_try) 2>&5
23201 ac_status=$?
23202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23203 (exit $ac_status); }; } &&
23204 { ac_try='test -s conftest$ac_exeext'
23205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23206 (eval $ac_try) 2>&5
23207 ac_status=$?
23208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23209 (exit $ac_status); }; }; then
23210 echo "*** The test program compiled, but did not run. This usually means"
23211 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23212 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23213 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23214 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23215 echo "*** is required on your system"
23216 echo "***"
23217 echo "*** If you have an old version installed, it is best to remove it, although"
23218 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23219 echo "***"
23220 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23221 echo "*** came with the system with the command"
23222 echo "***"
23223 echo "*** rpm --erase --nodeps gtk gtk-devel"
23224 else
23225 echo "$as_me: failed program was:" >&5
23226 sed 's/^/| /' conftest.$ac_ext >&5
23227
23228 echo "*** The test program failed to compile or link. See the file config.log for the"
23229 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23230 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23231 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23232 fi
23233 rm -f conftest.err conftest.$ac_objext \
23234 conftest$ac_exeext conftest.$ac_ext
23235 CFLAGS="$ac_save_CFLAGS"
23236 LIBS="$ac_save_LIBS"
23237 fi
23238 fi
23239 GTK_CFLAGS=""
23240 GTK_LIBS=""
23241 :
23242 fi
23243
23244
23245 rm -f conf.gtktest
23246
23247
23248 if test -z "$wx_cv_lib_gtk"; then
23249
23250 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
23251 if test "${with_gtk_prefix+set}" = set; then
23252 withval="$with_gtk_prefix"
23253 gtk_config_prefix="$withval"
23254 else
23255 gtk_config_prefix=""
23256 fi;
23257
23258 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
23259 if test "${with_gtk_exec_prefix+set}" = set; then
23260 withval="$with_gtk_exec_prefix"
23261 gtk_config_exec_prefix="$withval"
23262 else
23263 gtk_config_exec_prefix=""
23264 fi;
23265 # Check whether --enable-gtktest or --disable-gtktest was given.
23266 if test "${enable_gtktest+set}" = set; then
23267 enableval="$enable_gtktest"
23268
23269 else
23270 enable_gtktest=yes
23271 fi;
23272
23273 for module in . $GTK_MODULES
23274 do
23275 case "$module" in
23276 gthread)
23277 gtk_config_args="$gtk_config_args gthread"
23278 ;;
23279 esac
23280 done
23281
23282 if test x$gtk_config_exec_prefix != x ; then
23283 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23284 if test x${GTK_CONFIG+set} != xset ; then
23285 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23286 fi
23287 fi
23288 if test x$gtk_config_prefix != x ; then
23289 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23290 if test x${GTK_CONFIG+set} != xset ; then
23291 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23292 fi
23293 fi
23294
23295 # Extract the first word of "gtk-config", so it can be a program name with args.
23296 set dummy gtk-config; ac_word=$2
23297 echo "$as_me:$LINENO: checking for $ac_word" >&5
23298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23299 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
23300 echo $ECHO_N "(cached) $ECHO_C" >&6
23301 else
23302 case $GTK_CONFIG in
23303 [\\/]* | ?:[\\/]*)
23304 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23305 ;;
23306 *)
23307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23308 for as_dir in $PATH
23309 do
23310 IFS=$as_save_IFS
23311 test -z "$as_dir" && as_dir=.
23312 for ac_exec_ext in '' $ac_executable_extensions; do
23313 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23314 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23316 break 2
23317 fi
23318 done
23319 done
23320
23321 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
23322 ;;
23323 esac
23324 fi
23325 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
23326
23327 if test -n "$GTK_CONFIG"; then
23328 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23329 echo "${ECHO_T}$GTK_CONFIG" >&6
23330 else
23331 echo "$as_me:$LINENO: result: no" >&5
23332 echo "${ECHO_T}no" >&6
23333 fi
23334
23335 min_gtk_version=1.2.3
23336 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23337 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23338 no_gtk=""
23339 if test "$GTK_CONFIG" = "no" ; then
23340 no_gtk=yes
23341 else
23342 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
23343 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
23344 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
23345 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23346 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
23347 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23348 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
23349 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23350 if test "x$enable_gtktest" = "xyes" ; then
23351 ac_save_CFLAGS="$CFLAGS"
23352 ac_save_LIBS="$LIBS"
23353 CFLAGS="$CFLAGS $GTK_CFLAGS"
23354 LIBS="$GTK_LIBS $LIBS"
23355 rm -f conf.gtktest
23356 if test "$cross_compiling" = yes; then
23357 echo $ac_n "cross compiling; assumed OK... $ac_c"
23358 else
23359 cat >conftest.$ac_ext <<_ACEOF
23360 /* confdefs.h. */
23361 _ACEOF
23362 cat confdefs.h >>conftest.$ac_ext
23363 cat >>conftest.$ac_ext <<_ACEOF
23364 /* end confdefs.h. */
23365
23366 #include <gtk/gtk.h>
23367 #include <stdio.h>
23368 #include <stdlib.h>
23369
23370 int
23371 main ()
23372 {
23373 int major, minor, micro;
23374 char *tmp_version;
23375
23376 system ("touch conf.gtktest");
23377
23378 /* HP/UX 9 (%@#!) writes to sscanf strings */
23379 tmp_version = g_strdup("$min_gtk_version");
23380 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23381 printf("%s, bad version string\n", "$min_gtk_version");
23382 exit(1);
23383 }
23384
23385 if ((gtk_major_version != $gtk_config_major_version) ||
23386 (gtk_minor_version != $gtk_config_minor_version) ||
23387 (gtk_micro_version != $gtk_config_micro_version))
23388 {
23389 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23390 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23391 gtk_major_version, gtk_minor_version, gtk_micro_version);
23392 printf ("*** was found! If gtk-config was correct, then it is best\n");
23393 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23394 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23395 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23396 printf("*** required on your system.\n");
23397 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23398 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23399 printf("*** before re-running configure\n");
23400 }
23401 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23402 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23403 (gtk_minor_version != GTK_MINOR_VERSION) ||
23404 (gtk_micro_version != GTK_MICRO_VERSION))
23405 {
23406 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23407 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23408 printf("*** library (version %d.%d.%d)\n",
23409 gtk_major_version, gtk_minor_version, gtk_micro_version);
23410 }
23411 #endif /* defined (GTK_MAJOR_VERSION) ... */
23412 else
23413 {
23414 if ((gtk_major_version > major) ||
23415 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23416 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23417 {
23418 return 0;
23419 }
23420 else
23421 {
23422 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23423 gtk_major_version, gtk_minor_version, gtk_micro_version);
23424 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23425 major, minor, micro);
23426 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23427 printf("***\n");
23428 printf("*** If you have already installed a sufficiently new version, this error\n");
23429 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23430 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23431 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23432 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23433 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23434 printf("*** so that the correct libraries are found at run-time))\n");
23435 }
23436 }
23437 return 1;
23438 }
23439
23440 _ACEOF
23441 rm -f conftest$ac_exeext
23442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23443 (eval $ac_link) 2>&5
23444 ac_status=$?
23445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23446 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23448 (eval $ac_try) 2>&5
23449 ac_status=$?
23450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23451 (exit $ac_status); }; }; then
23452 :
23453 else
23454 echo "$as_me: program exited with status $ac_status" >&5
23455 echo "$as_me: failed program was:" >&5
23456 sed 's/^/| /' conftest.$ac_ext >&5
23457
23458 ( exit $ac_status )
23459 no_gtk=yes
23460 fi
23461 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23462 fi
23463 CFLAGS="$ac_save_CFLAGS"
23464 LIBS="$ac_save_LIBS"
23465 fi
23466 fi
23467 if test "x$no_gtk" = x ; then
23468 echo "$as_me:$LINENO: result: yes" >&5
23469 echo "${ECHO_T}yes" >&6
23470 wx_cv_lib_gtk=1.2.3
23471 else
23472 echo "$as_me:$LINENO: result: no" >&5
23473 echo "${ECHO_T}no" >&6
23474 if test "$GTK_CONFIG" = "no" ; then
23475 echo "*** The gtk-config script installed by GTK could not be found"
23476 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23477 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23478 echo "*** full path to gtk-config."
23479 else
23480 if test -f conf.gtktest ; then
23481 :
23482 else
23483 echo "*** Could not run GTK test program, checking why..."
23484 CFLAGS="$CFLAGS $GTK_CFLAGS"
23485 LIBS="$LIBS $GTK_LIBS"
23486 cat >conftest.$ac_ext <<_ACEOF
23487 /* confdefs.h. */
23488 _ACEOF
23489 cat confdefs.h >>conftest.$ac_ext
23490 cat >>conftest.$ac_ext <<_ACEOF
23491 /* end confdefs.h. */
23492
23493 #include <gtk/gtk.h>
23494 #include <stdio.h>
23495
23496 int
23497 main ()
23498 {
23499 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23500 ;
23501 return 0;
23502 }
23503 _ACEOF
23504 rm -f conftest.$ac_objext conftest$ac_exeext
23505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23506 (eval $ac_link) 2>conftest.er1
23507 ac_status=$?
23508 grep -v '^ *+' conftest.er1 >conftest.err
23509 rm -f conftest.er1
23510 cat conftest.err >&5
23511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23512 (exit $ac_status); } &&
23513 { ac_try='test -z "$ac_c_werror_flag"
23514 || test ! -s conftest.err'
23515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23516 (eval $ac_try) 2>&5
23517 ac_status=$?
23518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23519 (exit $ac_status); }; } &&
23520 { ac_try='test -s conftest$ac_exeext'
23521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23522 (eval $ac_try) 2>&5
23523 ac_status=$?
23524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23525 (exit $ac_status); }; }; then
23526 echo "*** The test program compiled, but did not run. This usually means"
23527 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23528 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23529 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23530 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23531 echo "*** is required on your system"
23532 echo "***"
23533 echo "*** If you have an old version installed, it is best to remove it, although"
23534 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23535 echo "***"
23536 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23537 echo "*** came with the system with the command"
23538 echo "***"
23539 echo "*** rpm --erase --nodeps gtk gtk-devel"
23540 else
23541 echo "$as_me: failed program was:" >&5
23542 sed 's/^/| /' conftest.$ac_ext >&5
23543
23544 echo "*** The test program failed to compile or link. See the file config.log for the"
23545 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23546 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23547 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23548 fi
23549 rm -f conftest.err conftest.$ac_objext \
23550 conftest$ac_exeext conftest.$ac_ext
23551 CFLAGS="$ac_save_CFLAGS"
23552 LIBS="$ac_save_LIBS"
23553 fi
23554 fi
23555 GTK_CFLAGS=""
23556 GTK_LIBS=""
23557 :
23558 fi
23559
23560
23561 rm -f conf.gtktest
23562
23563 fi
23564 fi
23565
23566 if test -z "$wx_cv_lib_gtk"; then
23567 wx_cv_lib_gtk=none
23568 else
23569 wx_cv_cflags_gtk=$GTK_CFLAGS
23570 wx_cv_libs_gtk=$GTK_LIBS
23571 fi
23572
23573
23574 fi
23575
23576
23577 if test "$gtk_version_cached" = 1; then
23578 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
23579 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
23580 fi
23581
23582 case "$wx_cv_lib_gtk" in
23583 2.0) WXGTK20=1
23584 TOOLKIT_VERSION=2
23585 ;;
23586 1.2.7) WXGTK127=1
23587 WXGTK12=1
23588 ;;
23589 1.2.3) WXGTK12=1
23590 ;;
23591 *) { { echo "$as_me:$LINENO: error:
23592 Please check that gtk-config is in path, the directory
23593 where GTK+ libraries are installed (returned by
23594 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23595 equivalent variable and GTK+ is version 1.2.3 or above.
23596 " >&5
23597 echo "$as_me: error:
23598 Please check that gtk-config is in path, the directory
23599 where GTK+ libraries are installed (returned by
23600 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23601 equivalent variable and GTK+ is version 1.2.3 or above.
23602 " >&2;}
23603 { (exit 1); exit 1; }; }
23604 ;;
23605 esac
23606
23607 if test "$WXGTK20" = 1; then
23608 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
23609
23610 succeeded=no
23611
23612 if test -z "$PKG_CONFIG"; then
23613 # Extract the first word of "pkg-config", so it can be a program name with args.
23614 set dummy pkg-config; ac_word=$2
23615 echo "$as_me:$LINENO: checking for $ac_word" >&5
23616 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23617 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23618 echo $ECHO_N "(cached) $ECHO_C" >&6
23619 else
23620 case $PKG_CONFIG in
23621 [\\/]* | ?:[\\/]*)
23622 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23623 ;;
23624 *)
23625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23626 for as_dir in $PATH
23627 do
23628 IFS=$as_save_IFS
23629 test -z "$as_dir" && as_dir=.
23630 for ac_exec_ext in '' $ac_executable_extensions; do
23631 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23632 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23634 break 2
23635 fi
23636 done
23637 done
23638
23639 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23640 ;;
23641 esac
23642 fi
23643 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23644
23645 if test -n "$PKG_CONFIG"; then
23646 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23647 echo "${ECHO_T}$PKG_CONFIG" >&6
23648 else
23649 echo "$as_me:$LINENO: result: no" >&5
23650 echo "${ECHO_T}no" >&6
23651 fi
23652
23653 fi
23654
23655 if test "$PKG_CONFIG" = "no" ; then
23656 echo "*** The pkg-config script could not be found. Make sure it is"
23657 echo "*** in your path, or set the PKG_CONFIG environment variable"
23658 echo "*** to the full path to pkg-config."
23659 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23660 else
23661 PKG_CONFIG_MIN_VERSION=0.9.0
23662 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23663 echo "$as_me:$LINENO: checking for pangoft2" >&5
23664 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
23665
23666 if $PKG_CONFIG --exists "pangoft2" ; then
23667 echo "$as_me:$LINENO: result: yes" >&5
23668 echo "${ECHO_T}yes" >&6
23669 succeeded=yes
23670
23671 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
23672 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
23673 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
23674 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
23675 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
23676
23677 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
23678 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
23679 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
23680 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
23681 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
23682 else
23683 PANGOFT2_CFLAGS=""
23684 PANGOFT2_LIBS=""
23685 ## If we have a custom action on failure, don't print errors, but
23686 ## do set a variable so people can do so.
23687 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
23688
23689 fi
23690
23691
23692
23693 else
23694 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23695 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23696 fi
23697 fi
23698
23699 if test $succeeded = yes; then
23700
23701 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
23702 # FIXME: GTK_LIBS already has a lot of what this is
23703 # about to add, but we go ahead and just add
23704 # it all again anyway.
23705 # This is not a good way to manage things. And simply
23706 # uniq'ing the list later is hardly better.
23707 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
23708
23709 else
23710
23711 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
23712 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
23713 wxUSE_PRINTING_ARCHITECTURE="no"
23714
23715
23716 fi
23717
23718 fi
23719
23720 save_CFLAGS="$CFLAGS"
23721 save_LIBS="$LIBS"
23722 CFLAGS="$CFLAGS $GTK_CFLAGS"
23723 LIBS="$LIBS $GTK_LIBS"
23724
23725 for ac_func in pango_font_family_is_monospace
23726 do
23727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23728 echo "$as_me:$LINENO: checking for $ac_func" >&5
23729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23730 if eval "test \"\${$as_ac_var+set}\" = set"; then
23731 echo $ECHO_N "(cached) $ECHO_C" >&6
23732 else
23733 cat >conftest.$ac_ext <<_ACEOF
23734 /* confdefs.h. */
23735 _ACEOF
23736 cat confdefs.h >>conftest.$ac_ext
23737 cat >>conftest.$ac_ext <<_ACEOF
23738 /* end confdefs.h. */
23739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23741 #define $ac_func innocuous_$ac_func
23742
23743 /* System header to define __stub macros and hopefully few prototypes,
23744 which can conflict with char $ac_func (); below.
23745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23746 <limits.h> exists even on freestanding compilers. */
23747
23748 #ifdef __STDC__
23749 # include <limits.h>
23750 #else
23751 # include <assert.h>
23752 #endif
23753
23754 #undef $ac_func
23755
23756 /* Override any gcc2 internal prototype to avoid an error. */
23757 #ifdef __cplusplus
23758 extern "C"
23759 {
23760 #endif
23761 /* We use char because int might match the return type of a gcc2
23762 builtin and then its argument prototype would still apply. */
23763 char $ac_func ();
23764 /* The GNU C library defines this for functions which it implements
23765 to always fail with ENOSYS. Some functions are actually named
23766 something starting with __ and the normal name is an alias. */
23767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23768 choke me
23769 #else
23770 char (*f) () = $ac_func;
23771 #endif
23772 #ifdef __cplusplus
23773 }
23774 #endif
23775
23776 int
23777 main ()
23778 {
23779 return f != $ac_func;
23780 ;
23781 return 0;
23782 }
23783 _ACEOF
23784 rm -f conftest.$ac_objext conftest$ac_exeext
23785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23786 (eval $ac_link) 2>conftest.er1
23787 ac_status=$?
23788 grep -v '^ *+' conftest.er1 >conftest.err
23789 rm -f conftest.er1
23790 cat conftest.err >&5
23791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23792 (exit $ac_status); } &&
23793 { ac_try='test -z "$ac_c_werror_flag"
23794 || test ! -s conftest.err'
23795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23796 (eval $ac_try) 2>&5
23797 ac_status=$?
23798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23799 (exit $ac_status); }; } &&
23800 { ac_try='test -s conftest$ac_exeext'
23801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23802 (eval $ac_try) 2>&5
23803 ac_status=$?
23804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23805 (exit $ac_status); }; }; then
23806 eval "$as_ac_var=yes"
23807 else
23808 echo "$as_me: failed program was:" >&5
23809 sed 's/^/| /' conftest.$ac_ext >&5
23810
23811 eval "$as_ac_var=no"
23812 fi
23813 rm -f conftest.err conftest.$ac_objext \
23814 conftest$ac_exeext conftest.$ac_ext
23815 fi
23816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23817 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23818 if test `eval echo '${'$as_ac_var'}'` = yes; then
23819 cat >>confdefs.h <<_ACEOF
23820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23821 _ACEOF
23822
23823 fi
23824 done
23825
23826 CFLAGS="$save_CFLAGS"
23827 LIBS="$save_LIBS"
23828 else
23829 if test "$wxUSE_UNICODE" = "yes"; then
23830 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
23831 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
23832 wxUSE_UNICODE=no
23833 fi
23834 fi
23835
23836 if test "$USE_DARWIN" != 1; then
23837
23838 for ac_func in poll
23839 do
23840 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23841 echo "$as_me:$LINENO: checking for $ac_func" >&5
23842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23843 if eval "test \"\${$as_ac_var+set}\" = set"; then
23844 echo $ECHO_N "(cached) $ECHO_C" >&6
23845 else
23846 cat >conftest.$ac_ext <<_ACEOF
23847 /* confdefs.h. */
23848 _ACEOF
23849 cat confdefs.h >>conftest.$ac_ext
23850 cat >>conftest.$ac_ext <<_ACEOF
23851 /* end confdefs.h. */
23852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23854 #define $ac_func innocuous_$ac_func
23855
23856 /* System header to define __stub macros and hopefully few prototypes,
23857 which can conflict with char $ac_func (); below.
23858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23859 <limits.h> exists even on freestanding compilers. */
23860
23861 #ifdef __STDC__
23862 # include <limits.h>
23863 #else
23864 # include <assert.h>
23865 #endif
23866
23867 #undef $ac_func
23868
23869 /* Override any gcc2 internal prototype to avoid an error. */
23870 #ifdef __cplusplus
23871 extern "C"
23872 {
23873 #endif
23874 /* We use char because int might match the return type of a gcc2
23875 builtin and then its argument prototype would still apply. */
23876 char $ac_func ();
23877 /* The GNU C library defines this for functions which it implements
23878 to always fail with ENOSYS. Some functions are actually named
23879 something starting with __ and the normal name is an alias. */
23880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23881 choke me
23882 #else
23883 char (*f) () = $ac_func;
23884 #endif
23885 #ifdef __cplusplus
23886 }
23887 #endif
23888
23889 int
23890 main ()
23891 {
23892 return f != $ac_func;
23893 ;
23894 return 0;
23895 }
23896 _ACEOF
23897 rm -f conftest.$ac_objext conftest$ac_exeext
23898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23899 (eval $ac_link) 2>conftest.er1
23900 ac_status=$?
23901 grep -v '^ *+' conftest.er1 >conftest.err
23902 rm -f conftest.er1
23903 cat conftest.err >&5
23904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23905 (exit $ac_status); } &&
23906 { ac_try='test -z "$ac_c_werror_flag"
23907 || test ! -s conftest.err'
23908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23909 (eval $ac_try) 2>&5
23910 ac_status=$?
23911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23912 (exit $ac_status); }; } &&
23913 { ac_try='test -s conftest$ac_exeext'
23914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23915 (eval $ac_try) 2>&5
23916 ac_status=$?
23917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23918 (exit $ac_status); }; }; then
23919 eval "$as_ac_var=yes"
23920 else
23921 echo "$as_me: failed program was:" >&5
23922 sed 's/^/| /' conftest.$ac_ext >&5
23923
23924 eval "$as_ac_var=no"
23925 fi
23926 rm -f conftest.err conftest.$ac_objext \
23927 conftest$ac_exeext conftest.$ac_ext
23928 fi
23929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23931 if test `eval echo '${'$as_ac_var'}'` = yes; then
23932 cat >>confdefs.h <<_ACEOF
23933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23934 _ACEOF
23935
23936 fi
23937 done
23938
23939 fi
23940
23941 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
23942 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
23943
23944 AFMINSTALL=afminstall
23945 TOOLKIT=GTK
23946 GUIDIST=GTK_DIST
23947
23948 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
23949 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
23950 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
23951 echo $ECHO_N "(cached) $ECHO_C" >&6
23952 else
23953 ac_check_lib_save_LIBS=$LIBS
23954 LIBS="-lgdk $LIBS"
23955 cat >conftest.$ac_ext <<_ACEOF
23956 /* confdefs.h. */
23957 _ACEOF
23958 cat confdefs.h >>conftest.$ac_ext
23959 cat >>conftest.$ac_ext <<_ACEOF
23960 /* end confdefs.h. */
23961
23962 /* Override any gcc2 internal prototype to avoid an error. */
23963 #ifdef __cplusplus
23964 extern "C"
23965 #endif
23966 /* We use char because int might match the return type of a gcc2
23967 builtin and then its argument prototype would still apply. */
23968 char gdk_im_open ();
23969 int
23970 main ()
23971 {
23972 gdk_im_open ();
23973 ;
23974 return 0;
23975 }
23976 _ACEOF
23977 rm -f conftest.$ac_objext conftest$ac_exeext
23978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23979 (eval $ac_link) 2>conftest.er1
23980 ac_status=$?
23981 grep -v '^ *+' conftest.er1 >conftest.err
23982 rm -f conftest.er1
23983 cat conftest.err >&5
23984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23985 (exit $ac_status); } &&
23986 { ac_try='test -z "$ac_c_werror_flag"
23987 || test ! -s conftest.err'
23988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23989 (eval $ac_try) 2>&5
23990 ac_status=$?
23991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23992 (exit $ac_status); }; } &&
23993 { ac_try='test -s conftest$ac_exeext'
23994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23995 (eval $ac_try) 2>&5
23996 ac_status=$?
23997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23998 (exit $ac_status); }; }; then
23999 ac_cv_lib_gdk_gdk_im_open=yes
24000 else
24001 echo "$as_me: failed program was:" >&5
24002 sed 's/^/| /' conftest.$ac_ext >&5
24003
24004 ac_cv_lib_gdk_gdk_im_open=no
24005 fi
24006 rm -f conftest.err conftest.$ac_objext \
24007 conftest$ac_exeext conftest.$ac_ext
24008 LIBS=$ac_check_lib_save_LIBS
24009 fi
24010 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24011 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
24012 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
24013 cat >>confdefs.h <<\_ACEOF
24014 #define HAVE_XIM 1
24015 _ACEOF
24016
24017 fi
24018
24019
24020
24021 if test "$wxUSE_GPE" = "yes"; then
24022 echo "$as_me:$LINENO: checking for gpewidget library" >&5
24023 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
24024
24025 ac_find_libraries=
24026 for ac_dir in $SEARCH_LIB /usr/lib;
24027 do
24028 for ac_extension in a so sl dylib; do
24029 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24030 ac_find_libraries=$ac_dir
24031 break 2
24032 fi
24033 done
24034 done
24035
24036 if test "$ac_find_libraries" != "" ; then
24037
24038 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24039 result=$?
24040 if test $result = 0; then
24041 ac_path_to_link=""
24042 else
24043 ac_path_to_link=" -L$ac_find_libraries"
24044 fi
24045
24046 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24047 WXGPE=1
24048 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24049 echo "${ECHO_T}found at $ac_find_libraries" >&6
24050 else
24051 echo "$as_me:$LINENO: result: not found" >&5
24052 echo "${ECHO_T}not found" >&6
24053 fi
24054
24055 fi
24056 fi
24057
24058 if test "$wxUSE_MGL" = 1; then
24059 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
24060 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
24061 if test "x$MGL_ROOT" = x ; then
24062 echo "$as_me:$LINENO: result: not found" >&5
24063 echo "${ECHO_T}not found" >&6
24064 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
24065 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
24066 { (exit 1); exit 1; }; }
24067 else
24068 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
24069 echo "${ECHO_T}$MGL_ROOT" >&6
24070 fi
24071
24072 echo "$as_me:$LINENO: checking for libmgl location" >&5
24073 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
24074 case "${host}" in
24075 *-*-linux* )
24076 if test "x$wxUSE_SHARED" = xyes ; then
24077 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
24078 else
24079 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
24080 fi
24081 ;;
24082 *-pc-msdosdjgpp )
24083 mgl_os_candidates="dos32/dj2"
24084 ;;
24085 *)
24086 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
24087 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
24088 { (exit 1); exit 1; }; }
24089 esac
24090
24091 mgl_lib_type=""
24092 mgl_os=""
24093
24094 for mgl_os_i in $mgl_os_candidates ; do
24095 if test "x$mgl_os" = x ; then
24096 if test "$wxUSE_DEBUG_FLAG" = yes ; then
24097 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
24098 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
24099 mgl_lib_type=debug
24100 mgl_os=$mgl_os_i
24101 fi
24102 fi
24103 if test "x$mgl_lib_type" = x ; then
24104 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
24105 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
24106 mgl_lib_type=release
24107 mgl_os=$mgl_os_i
24108 fi
24109 fi
24110 fi
24111 done
24112
24113 if test "x$mgl_os" = x ; then
24114 echo "$as_me:$LINENO: result: not found" >&5
24115 echo "${ECHO_T}not found" >&6
24116 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
24117 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
24118 { (exit 1); exit 1; }; }
24119 fi
24120 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
24121 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
24122
24123 wxUSE_UNIVERSAL="yes"
24124
24125 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
24126 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
24127
24128 AFMINSTALL=afminstall
24129 TOOLKIT=MGL
24130 GUIDIST=MGL_DIST
24131 fi
24132
24133 if test "$wxUSE_MICROWIN" = 1; then
24134 echo "$as_me:$LINENO: checking for MicroWindows" >&5
24135 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
24136 if test "x$MICROWINDOWS" = x ; then
24137 echo "$as_me:$LINENO: result: not found" >&5
24138 echo "${ECHO_T}not found" >&6
24139 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
24140 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
24141 { (exit 1); exit 1; }; }
24142 else
24143 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
24144 echo "${ECHO_T}$MICROWINDOWS" >&6
24145 fi
24146
24147 if test -f $MICROWINDOWS/lib/libmwin.a; then
24148 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
24149 echo "${ECHO_T}MicroWindows' libraries found." >&6
24150 else
24151 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
24152 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
24153 { (exit 1); exit 1; }; }
24154 fi
24155
24156 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
24157 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24158
24159 wxUSE_UNIVERSAL="yes"
24160
24161 AFMINSTALL=afminstall
24162 TOOLKIT=MICROWIN
24163 GUIDIST=MICROWIN_DIST
24164
24165 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24166 fi
24167
24168 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24169 echo "$as_me:$LINENO: checking for X" >&5
24170 echo $ECHO_N "checking for X... $ECHO_C" >&6
24171
24172
24173 # Check whether --with-x or --without-x was given.
24174 if test "${with_x+set}" = set; then
24175 withval="$with_x"
24176
24177 fi;
24178 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24179 if test "x$with_x" = xno; then
24180 # The user explicitly disabled X.
24181 have_x=disabled
24182 else
24183 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
24184 # Both variables are already set.
24185 have_x=yes
24186 else
24187 if test "${ac_cv_have_x+set}" = set; then
24188 echo $ECHO_N "(cached) $ECHO_C" >&6
24189 else
24190 # One or both of the vars are not set, and there is no cached value.
24191 ac_x_includes=no ac_x_libraries=no
24192 rm -fr conftest.dir
24193 if mkdir conftest.dir; then
24194 cd conftest.dir
24195 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
24196 cat >Imakefile <<'_ACEOF'
24197 acfindx:
24198 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
24199 _ACEOF
24200 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
24201 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
24202 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
24203 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24204 for ac_extension in a so sl; do
24205 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
24206 test -f $ac_im_libdir/libX11.$ac_extension; then
24207 ac_im_usrlibdir=$ac_im_libdir; break
24208 fi
24209 done
24210 # Screen out bogus values from the imake configuration. They are
24211 # bogus both because they are the default anyway, and because
24212 # using them would break gcc on systems where it needs fixed includes.
24213 case $ac_im_incroot in
24214 /usr/include) ;;
24215 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
24216 esac
24217 case $ac_im_usrlibdir in
24218 /usr/lib | /lib) ;;
24219 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
24220 esac
24221 fi
24222 cd ..
24223 rm -fr conftest.dir
24224 fi
24225
24226 # Standard set of common directories for X headers.
24227 # Check X11 before X11Rn because it is often a symlink to the current release.
24228 ac_x_header_dirs='
24229 /usr/X11/include
24230 /usr/X11R6/include
24231 /usr/X11R5/include
24232 /usr/X11R4/include
24233
24234 /usr/include/X11
24235 /usr/include/X11R6
24236 /usr/include/X11R5
24237 /usr/include/X11R4
24238
24239 /usr/local/X11/include
24240 /usr/local/X11R6/include
24241 /usr/local/X11R5/include
24242 /usr/local/X11R4/include
24243
24244 /usr/local/include/X11
24245 /usr/local/include/X11R6
24246 /usr/local/include/X11R5
24247 /usr/local/include/X11R4
24248
24249 /usr/X386/include
24250 /usr/x386/include
24251 /usr/XFree86/include/X11
24252
24253 /usr/include
24254 /usr/local/include
24255 /usr/unsupported/include
24256 /usr/athena/include
24257 /usr/local/x11r5/include
24258 /usr/lpp/Xamples/include
24259
24260 /usr/openwin/include
24261 /usr/openwin/share/include'
24262
24263 if test "$ac_x_includes" = no; then
24264 # Guess where to find include files, by looking for Intrinsic.h.
24265 # First, try using that file with no special directory specified.
24266 cat >conftest.$ac_ext <<_ACEOF
24267 /* confdefs.h. */
24268 _ACEOF
24269 cat confdefs.h >>conftest.$ac_ext
24270 cat >>conftest.$ac_ext <<_ACEOF
24271 /* end confdefs.h. */
24272 #include <X11/Intrinsic.h>
24273 _ACEOF
24274 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24275 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24276 ac_status=$?
24277 grep -v '^ *+' conftest.er1 >conftest.err
24278 rm -f conftest.er1
24279 cat conftest.err >&5
24280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24281 (exit $ac_status); } >/dev/null; then
24282 if test -s conftest.err; then
24283 ac_cpp_err=$ac_c_preproc_warn_flag
24284 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24285 else
24286 ac_cpp_err=
24287 fi
24288 else
24289 ac_cpp_err=yes
24290 fi
24291 if test -z "$ac_cpp_err"; then
24292 # We can compile using X headers with no special include directory.
24293 ac_x_includes=
24294 else
24295 echo "$as_me: failed program was:" >&5
24296 sed 's/^/| /' conftest.$ac_ext >&5
24297
24298 for ac_dir in $ac_x_header_dirs; do
24299 if test -r "$ac_dir/X11/Intrinsic.h"; then
24300 ac_x_includes=$ac_dir
24301 break
24302 fi
24303 done
24304 fi
24305 rm -f conftest.err conftest.$ac_ext
24306 fi # $ac_x_includes = no
24307
24308 if test "$ac_x_libraries" = no; then
24309 # Check for the libraries.
24310 # See if we find them without any special options.
24311 # Don't add to $LIBS permanently.
24312 ac_save_LIBS=$LIBS
24313 LIBS="-lXt $LIBS"
24314 cat >conftest.$ac_ext <<_ACEOF
24315 /* confdefs.h. */
24316 _ACEOF
24317 cat confdefs.h >>conftest.$ac_ext
24318 cat >>conftest.$ac_ext <<_ACEOF
24319 /* end confdefs.h. */
24320 #include <X11/Intrinsic.h>
24321 int
24322 main ()
24323 {
24324 XtMalloc (0)
24325 ;
24326 return 0;
24327 }
24328 _ACEOF
24329 rm -f conftest.$ac_objext conftest$ac_exeext
24330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24331 (eval $ac_link) 2>conftest.er1
24332 ac_status=$?
24333 grep -v '^ *+' conftest.er1 >conftest.err
24334 rm -f conftest.er1
24335 cat conftest.err >&5
24336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24337 (exit $ac_status); } &&
24338 { ac_try='test -z "$ac_c_werror_flag"
24339 || test ! -s conftest.err'
24340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24341 (eval $ac_try) 2>&5
24342 ac_status=$?
24343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24344 (exit $ac_status); }; } &&
24345 { ac_try='test -s conftest$ac_exeext'
24346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24347 (eval $ac_try) 2>&5
24348 ac_status=$?
24349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24350 (exit $ac_status); }; }; then
24351 LIBS=$ac_save_LIBS
24352 # We can link X programs with no special library path.
24353 ac_x_libraries=
24354 else
24355 echo "$as_me: failed program was:" >&5
24356 sed 's/^/| /' conftest.$ac_ext >&5
24357
24358 LIBS=$ac_save_LIBS
24359 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24360 do
24361 # Don't even attempt the hair of trying to link an X program!
24362 for ac_extension in a so sl; do
24363 if test -r $ac_dir/libXt.$ac_extension; then
24364 ac_x_libraries=$ac_dir
24365 break 2
24366 fi
24367 done
24368 done
24369 fi
24370 rm -f conftest.err conftest.$ac_objext \
24371 conftest$ac_exeext conftest.$ac_ext
24372 fi # $ac_x_libraries = no
24373
24374 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
24375 # Didn't find X anywhere. Cache the known absence of X.
24376 ac_cv_have_x="have_x=no"
24377 else
24378 # Record where we found X for the cache.
24379 ac_cv_have_x="have_x=yes \
24380 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
24381 fi
24382 fi
24383
24384 fi
24385 eval "$ac_cv_have_x"
24386 fi # $with_x != no
24387
24388 if test "$have_x" != yes; then
24389 echo "$as_me:$LINENO: result: $have_x" >&5
24390 echo "${ECHO_T}$have_x" >&6
24391 no_x=yes
24392 else
24393 # If each of the values was on the command line, it overrides each guess.
24394 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
24395 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
24396 # Update the cache value to reflect the command line values.
24397 ac_cv_have_x="have_x=yes \
24398 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
24399 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
24400 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
24401 fi
24402
24403 if test "$no_x" = yes; then
24404 # Not all programs may use this symbol, but it does not hurt to define it.
24405
24406 cat >>confdefs.h <<\_ACEOF
24407 #define X_DISPLAY_MISSING 1
24408 _ACEOF
24409
24410 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
24411 else
24412 if test -n "$x_includes"; then
24413 X_CFLAGS="$X_CFLAGS -I$x_includes"
24414 fi
24415
24416 # It would also be nice to do this for all -L options, not just this one.
24417 if test -n "$x_libraries"; then
24418 X_LIBS="$X_LIBS -L$x_libraries"
24419 # For Solaris; some versions of Sun CC require a space after -R and
24420 # others require no space. Words are not sufficient . . . .
24421 case `(uname -sr) 2>/dev/null` in
24422 "SunOS 5"*)
24423 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24424 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24425 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
24426 cat >conftest.$ac_ext <<_ACEOF
24427 /* confdefs.h. */
24428 _ACEOF
24429 cat confdefs.h >>conftest.$ac_ext
24430 cat >>conftest.$ac_ext <<_ACEOF
24431 /* end confdefs.h. */
24432
24433 int
24434 main ()
24435 {
24436
24437 ;
24438 return 0;
24439 }
24440 _ACEOF
24441 rm -f conftest.$ac_objext conftest$ac_exeext
24442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24443 (eval $ac_link) 2>conftest.er1
24444 ac_status=$?
24445 grep -v '^ *+' conftest.er1 >conftest.err
24446 rm -f conftest.er1
24447 cat conftest.err >&5
24448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24449 (exit $ac_status); } &&
24450 { ac_try='test -z "$ac_c_werror_flag"
24451 || test ! -s conftest.err'
24452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24453 (eval $ac_try) 2>&5
24454 ac_status=$?
24455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24456 (exit $ac_status); }; } &&
24457 { ac_try='test -s conftest$ac_exeext'
24458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24459 (eval $ac_try) 2>&5
24460 ac_status=$?
24461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24462 (exit $ac_status); }; }; then
24463 ac_R_nospace=yes
24464 else
24465 echo "$as_me: failed program was:" >&5
24466 sed 's/^/| /' conftest.$ac_ext >&5
24467
24468 ac_R_nospace=no
24469 fi
24470 rm -f conftest.err conftest.$ac_objext \
24471 conftest$ac_exeext conftest.$ac_ext
24472 if test $ac_R_nospace = yes; then
24473 echo "$as_me:$LINENO: result: no" >&5
24474 echo "${ECHO_T}no" >&6
24475 X_LIBS="$X_LIBS -R$x_libraries"
24476 else
24477 LIBS="$ac_xsave_LIBS -R $x_libraries"
24478 cat >conftest.$ac_ext <<_ACEOF
24479 /* confdefs.h. */
24480 _ACEOF
24481 cat confdefs.h >>conftest.$ac_ext
24482 cat >>conftest.$ac_ext <<_ACEOF
24483 /* end confdefs.h. */
24484
24485 int
24486 main ()
24487 {
24488
24489 ;
24490 return 0;
24491 }
24492 _ACEOF
24493 rm -f conftest.$ac_objext conftest$ac_exeext
24494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24495 (eval $ac_link) 2>conftest.er1
24496 ac_status=$?
24497 grep -v '^ *+' conftest.er1 >conftest.err
24498 rm -f conftest.er1
24499 cat conftest.err >&5
24500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24501 (exit $ac_status); } &&
24502 { ac_try='test -z "$ac_c_werror_flag"
24503 || test ! -s conftest.err'
24504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24505 (eval $ac_try) 2>&5
24506 ac_status=$?
24507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24508 (exit $ac_status); }; } &&
24509 { ac_try='test -s conftest$ac_exeext'
24510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24511 (eval $ac_try) 2>&5
24512 ac_status=$?
24513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24514 (exit $ac_status); }; }; then
24515 ac_R_space=yes
24516 else
24517 echo "$as_me: failed program was:" >&5
24518 sed 's/^/| /' conftest.$ac_ext >&5
24519
24520 ac_R_space=no
24521 fi
24522 rm -f conftest.err conftest.$ac_objext \
24523 conftest$ac_exeext conftest.$ac_ext
24524 if test $ac_R_space = yes; then
24525 echo "$as_me:$LINENO: result: yes" >&5
24526 echo "${ECHO_T}yes" >&6
24527 X_LIBS="$X_LIBS -R $x_libraries"
24528 else
24529 echo "$as_me:$LINENO: result: neither works" >&5
24530 echo "${ECHO_T}neither works" >&6
24531 fi
24532 fi
24533 LIBS=$ac_xsave_LIBS
24534 esac
24535 fi
24536
24537 # Check for system-dependent libraries X programs must link with.
24538 # Do this before checking for the system-independent R6 libraries
24539 # (-lICE), since we may need -lsocket or whatever for X linking.
24540
24541 if test "$ISC" = yes; then
24542 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
24543 else
24544 # Martyn Johnson says this is needed for Ultrix, if the X
24545 # libraries were built with DECnet support. And Karl Berry says
24546 # the Alpha needs dnet_stub (dnet does not exist).
24547 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
24548 cat >conftest.$ac_ext <<_ACEOF
24549 /* confdefs.h. */
24550 _ACEOF
24551 cat confdefs.h >>conftest.$ac_ext
24552 cat >>conftest.$ac_ext <<_ACEOF
24553 /* end confdefs.h. */
24554
24555 /* Override any gcc2 internal prototype to avoid an error. */
24556 #ifdef __cplusplus
24557 extern "C"
24558 #endif
24559 /* We use char because int might match the return type of a gcc2
24560 builtin and then its argument prototype would still apply. */
24561 char XOpenDisplay ();
24562 int
24563 main ()
24564 {
24565 XOpenDisplay ();
24566 ;
24567 return 0;
24568 }
24569 _ACEOF
24570 rm -f conftest.$ac_objext conftest$ac_exeext
24571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24572 (eval $ac_link) 2>conftest.er1
24573 ac_status=$?
24574 grep -v '^ *+' conftest.er1 >conftest.err
24575 rm -f conftest.er1
24576 cat conftest.err >&5
24577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24578 (exit $ac_status); } &&
24579 { ac_try='test -z "$ac_c_werror_flag"
24580 || test ! -s conftest.err'
24581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24582 (eval $ac_try) 2>&5
24583 ac_status=$?
24584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24585 (exit $ac_status); }; } &&
24586 { ac_try='test -s conftest$ac_exeext'
24587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24588 (eval $ac_try) 2>&5
24589 ac_status=$?
24590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24591 (exit $ac_status); }; }; then
24592 :
24593 else
24594 echo "$as_me: failed program was:" >&5
24595 sed 's/^/| /' conftest.$ac_ext >&5
24596
24597 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
24598 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
24599 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
24600 echo $ECHO_N "(cached) $ECHO_C" >&6
24601 else
24602 ac_check_lib_save_LIBS=$LIBS
24603 LIBS="-ldnet $LIBS"
24604 cat >conftest.$ac_ext <<_ACEOF
24605 /* confdefs.h. */
24606 _ACEOF
24607 cat confdefs.h >>conftest.$ac_ext
24608 cat >>conftest.$ac_ext <<_ACEOF
24609 /* end confdefs.h. */
24610
24611 /* Override any gcc2 internal prototype to avoid an error. */
24612 #ifdef __cplusplus
24613 extern "C"
24614 #endif
24615 /* We use char because int might match the return type of a gcc2
24616 builtin and then its argument prototype would still apply. */
24617 char dnet_ntoa ();
24618 int
24619 main ()
24620 {
24621 dnet_ntoa ();
24622 ;
24623 return 0;
24624 }
24625 _ACEOF
24626 rm -f conftest.$ac_objext conftest$ac_exeext
24627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24628 (eval $ac_link) 2>conftest.er1
24629 ac_status=$?
24630 grep -v '^ *+' conftest.er1 >conftest.err
24631 rm -f conftest.er1
24632 cat conftest.err >&5
24633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24634 (exit $ac_status); } &&
24635 { ac_try='test -z "$ac_c_werror_flag"
24636 || test ! -s conftest.err'
24637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24638 (eval $ac_try) 2>&5
24639 ac_status=$?
24640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24641 (exit $ac_status); }; } &&
24642 { ac_try='test -s conftest$ac_exeext'
24643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24644 (eval $ac_try) 2>&5
24645 ac_status=$?
24646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24647 (exit $ac_status); }; }; then
24648 ac_cv_lib_dnet_dnet_ntoa=yes
24649 else
24650 echo "$as_me: failed program was:" >&5
24651 sed 's/^/| /' conftest.$ac_ext >&5
24652
24653 ac_cv_lib_dnet_dnet_ntoa=no
24654 fi
24655 rm -f conftest.err conftest.$ac_objext \
24656 conftest$ac_exeext conftest.$ac_ext
24657 LIBS=$ac_check_lib_save_LIBS
24658 fi
24659 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24660 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
24661 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
24662 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
24663 fi
24664
24665 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
24666 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
24667 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
24668 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
24669 echo $ECHO_N "(cached) $ECHO_C" >&6
24670 else
24671 ac_check_lib_save_LIBS=$LIBS
24672 LIBS="-ldnet_stub $LIBS"
24673 cat >conftest.$ac_ext <<_ACEOF
24674 /* confdefs.h. */
24675 _ACEOF
24676 cat confdefs.h >>conftest.$ac_ext
24677 cat >>conftest.$ac_ext <<_ACEOF
24678 /* end confdefs.h. */
24679
24680 /* Override any gcc2 internal prototype to avoid an error. */
24681 #ifdef __cplusplus
24682 extern "C"
24683 #endif
24684 /* We use char because int might match the return type of a gcc2
24685 builtin and then its argument prototype would still apply. */
24686 char dnet_ntoa ();
24687 int
24688 main ()
24689 {
24690 dnet_ntoa ();
24691 ;
24692 return 0;
24693 }
24694 _ACEOF
24695 rm -f conftest.$ac_objext conftest$ac_exeext
24696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24697 (eval $ac_link) 2>conftest.er1
24698 ac_status=$?
24699 grep -v '^ *+' conftest.er1 >conftest.err
24700 rm -f conftest.er1
24701 cat conftest.err >&5
24702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24703 (exit $ac_status); } &&
24704 { ac_try='test -z "$ac_c_werror_flag"
24705 || test ! -s conftest.err'
24706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24707 (eval $ac_try) 2>&5
24708 ac_status=$?
24709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24710 (exit $ac_status); }; } &&
24711 { ac_try='test -s conftest$ac_exeext'
24712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24713 (eval $ac_try) 2>&5
24714 ac_status=$?
24715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24716 (exit $ac_status); }; }; then
24717 ac_cv_lib_dnet_stub_dnet_ntoa=yes
24718 else
24719 echo "$as_me: failed program was:" >&5
24720 sed 's/^/| /' conftest.$ac_ext >&5
24721
24722 ac_cv_lib_dnet_stub_dnet_ntoa=no
24723 fi
24724 rm -f conftest.err conftest.$ac_objext \
24725 conftest$ac_exeext conftest.$ac_ext
24726 LIBS=$ac_check_lib_save_LIBS
24727 fi
24728 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24729 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
24730 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
24731 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
24732 fi
24733
24734 fi
24735 fi
24736 rm -f conftest.err conftest.$ac_objext \
24737 conftest$ac_exeext conftest.$ac_ext
24738 LIBS="$ac_xsave_LIBS"
24739
24740 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24741 # to get the SysV transport functions.
24742 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24743 # needs -lnsl.
24744 # The nsl library prevents programs from opening the X display
24745 # on Irix 5.2, according to T.E. Dickey.
24746 # The functions gethostbyname, getservbyname, and inet_addr are
24747 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24748 echo "$as_me:$LINENO: checking for gethostbyname" >&5
24749 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
24750 if test "${ac_cv_func_gethostbyname+set}" = set; then
24751 echo $ECHO_N "(cached) $ECHO_C" >&6
24752 else
24753 cat >conftest.$ac_ext <<_ACEOF
24754 /* confdefs.h. */
24755 _ACEOF
24756 cat confdefs.h >>conftest.$ac_ext
24757 cat >>conftest.$ac_ext <<_ACEOF
24758 /* end confdefs.h. */
24759 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
24760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24761 #define gethostbyname innocuous_gethostbyname
24762
24763 /* System header to define __stub macros and hopefully few prototypes,
24764 which can conflict with char gethostbyname (); below.
24765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24766 <limits.h> exists even on freestanding compilers. */
24767
24768 #ifdef __STDC__
24769 # include <limits.h>
24770 #else
24771 # include <assert.h>
24772 #endif
24773
24774 #undef gethostbyname
24775
24776 /* Override any gcc2 internal prototype to avoid an error. */
24777 #ifdef __cplusplus
24778 extern "C"
24779 {
24780 #endif
24781 /* We use char because int might match the return type of a gcc2
24782 builtin and then its argument prototype would still apply. */
24783 char gethostbyname ();
24784 /* The GNU C library defines this for functions which it implements
24785 to always fail with ENOSYS. Some functions are actually named
24786 something starting with __ and the normal name is an alias. */
24787 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
24788 choke me
24789 #else
24790 char (*f) () = gethostbyname;
24791 #endif
24792 #ifdef __cplusplus
24793 }
24794 #endif
24795
24796 int
24797 main ()
24798 {
24799 return f != gethostbyname;
24800 ;
24801 return 0;
24802 }
24803 _ACEOF
24804 rm -f conftest.$ac_objext conftest$ac_exeext
24805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24806 (eval $ac_link) 2>conftest.er1
24807 ac_status=$?
24808 grep -v '^ *+' conftest.er1 >conftest.err
24809 rm -f conftest.er1
24810 cat conftest.err >&5
24811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24812 (exit $ac_status); } &&
24813 { ac_try='test -z "$ac_c_werror_flag"
24814 || test ! -s conftest.err'
24815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24816 (eval $ac_try) 2>&5
24817 ac_status=$?
24818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24819 (exit $ac_status); }; } &&
24820 { ac_try='test -s conftest$ac_exeext'
24821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24822 (eval $ac_try) 2>&5
24823 ac_status=$?
24824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24825 (exit $ac_status); }; }; then
24826 ac_cv_func_gethostbyname=yes
24827 else
24828 echo "$as_me: failed program was:" >&5
24829 sed 's/^/| /' conftest.$ac_ext >&5
24830
24831 ac_cv_func_gethostbyname=no
24832 fi
24833 rm -f conftest.err conftest.$ac_objext \
24834 conftest$ac_exeext conftest.$ac_ext
24835 fi
24836 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24837 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
24838
24839 if test $ac_cv_func_gethostbyname = no; then
24840 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
24841 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
24842 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
24843 echo $ECHO_N "(cached) $ECHO_C" >&6
24844 else
24845 ac_check_lib_save_LIBS=$LIBS
24846 LIBS="-lnsl $LIBS"
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
24854 /* Override any gcc2 internal prototype to avoid an error. */
24855 #ifdef __cplusplus
24856 extern "C"
24857 #endif
24858 /* We use char because int might match the return type of a gcc2
24859 builtin and then its argument prototype would still apply. */
24860 char gethostbyname ();
24861 int
24862 main ()
24863 {
24864 gethostbyname ();
24865 ;
24866 return 0;
24867 }
24868 _ACEOF
24869 rm -f conftest.$ac_objext conftest$ac_exeext
24870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24871 (eval $ac_link) 2>conftest.er1
24872 ac_status=$?
24873 grep -v '^ *+' conftest.er1 >conftest.err
24874 rm -f conftest.er1
24875 cat conftest.err >&5
24876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24877 (exit $ac_status); } &&
24878 { ac_try='test -z "$ac_c_werror_flag"
24879 || test ! -s conftest.err'
24880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24881 (eval $ac_try) 2>&5
24882 ac_status=$?
24883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24884 (exit $ac_status); }; } &&
24885 { ac_try='test -s conftest$ac_exeext'
24886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24887 (eval $ac_try) 2>&5
24888 ac_status=$?
24889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24890 (exit $ac_status); }; }; then
24891 ac_cv_lib_nsl_gethostbyname=yes
24892 else
24893 echo "$as_me: failed program was:" >&5
24894 sed 's/^/| /' conftest.$ac_ext >&5
24895
24896 ac_cv_lib_nsl_gethostbyname=no
24897 fi
24898 rm -f conftest.err conftest.$ac_objext \
24899 conftest$ac_exeext conftest.$ac_ext
24900 LIBS=$ac_check_lib_save_LIBS
24901 fi
24902 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
24903 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
24904 if test $ac_cv_lib_nsl_gethostbyname = yes; then
24905 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
24906 fi
24907
24908 if test $ac_cv_lib_nsl_gethostbyname = no; then
24909 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
24910 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
24911 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
24912 echo $ECHO_N "(cached) $ECHO_C" >&6
24913 else
24914 ac_check_lib_save_LIBS=$LIBS
24915 LIBS="-lbsd $LIBS"
24916 cat >conftest.$ac_ext <<_ACEOF
24917 /* confdefs.h. */
24918 _ACEOF
24919 cat confdefs.h >>conftest.$ac_ext
24920 cat >>conftest.$ac_ext <<_ACEOF
24921 /* end confdefs.h. */
24922
24923 /* Override any gcc2 internal prototype to avoid an error. */
24924 #ifdef __cplusplus
24925 extern "C"
24926 #endif
24927 /* We use char because int might match the return type of a gcc2
24928 builtin and then its argument prototype would still apply. */
24929 char gethostbyname ();
24930 int
24931 main ()
24932 {
24933 gethostbyname ();
24934 ;
24935 return 0;
24936 }
24937 _ACEOF
24938 rm -f conftest.$ac_objext conftest$ac_exeext
24939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24940 (eval $ac_link) 2>conftest.er1
24941 ac_status=$?
24942 grep -v '^ *+' conftest.er1 >conftest.err
24943 rm -f conftest.er1
24944 cat conftest.err >&5
24945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24946 (exit $ac_status); } &&
24947 { ac_try='test -z "$ac_c_werror_flag"
24948 || test ! -s conftest.err'
24949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24950 (eval $ac_try) 2>&5
24951 ac_status=$?
24952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24953 (exit $ac_status); }; } &&
24954 { ac_try='test -s conftest$ac_exeext'
24955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24956 (eval $ac_try) 2>&5
24957 ac_status=$?
24958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24959 (exit $ac_status); }; }; then
24960 ac_cv_lib_bsd_gethostbyname=yes
24961 else
24962 echo "$as_me: failed program was:" >&5
24963 sed 's/^/| /' conftest.$ac_ext >&5
24964
24965 ac_cv_lib_bsd_gethostbyname=no
24966 fi
24967 rm -f conftest.err conftest.$ac_objext \
24968 conftest$ac_exeext conftest.$ac_ext
24969 LIBS=$ac_check_lib_save_LIBS
24970 fi
24971 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24972 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
24973 if test $ac_cv_lib_bsd_gethostbyname = yes; then
24974 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
24975 fi
24976
24977 fi
24978 fi
24979
24980 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24981 # socket/setsockopt and other routines are undefined under SCO ODT
24982 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24983 # on later versions), says Simon Leinen: it contains gethostby*
24984 # variants that don't use the name server (or something). -lsocket
24985 # must be given before -lnsl if both are needed. We assume that
24986 # if connect needs -lnsl, so does gethostbyname.
24987 echo "$as_me:$LINENO: checking for connect" >&5
24988 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24989 if test "${ac_cv_func_connect+set}" = set; then
24990 echo $ECHO_N "(cached) $ECHO_C" >&6
24991 else
24992 cat >conftest.$ac_ext <<_ACEOF
24993 /* confdefs.h. */
24994 _ACEOF
24995 cat confdefs.h >>conftest.$ac_ext
24996 cat >>conftest.$ac_ext <<_ACEOF
24997 /* end confdefs.h. */
24998 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
24999 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25000 #define connect innocuous_connect
25001
25002 /* System header to define __stub macros and hopefully few prototypes,
25003 which can conflict with char connect (); below.
25004 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25005 <limits.h> exists even on freestanding compilers. */
25006
25007 #ifdef __STDC__
25008 # include <limits.h>
25009 #else
25010 # include <assert.h>
25011 #endif
25012
25013 #undef connect
25014
25015 /* Override any gcc2 internal prototype to avoid an error. */
25016 #ifdef __cplusplus
25017 extern "C"
25018 {
25019 #endif
25020 /* We use char because int might match the return type of a gcc2
25021 builtin and then its argument prototype would still apply. */
25022 char connect ();
25023 /* The GNU C library defines this for functions which it implements
25024 to always fail with ENOSYS. Some functions are actually named
25025 something starting with __ and the normal name is an alias. */
25026 #if defined (__stub_connect) || defined (__stub___connect)
25027 choke me
25028 #else
25029 char (*f) () = connect;
25030 #endif
25031 #ifdef __cplusplus
25032 }
25033 #endif
25034
25035 int
25036 main ()
25037 {
25038 return f != connect;
25039 ;
25040 return 0;
25041 }
25042 _ACEOF
25043 rm -f conftest.$ac_objext conftest$ac_exeext
25044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25045 (eval $ac_link) 2>conftest.er1
25046 ac_status=$?
25047 grep -v '^ *+' conftest.er1 >conftest.err
25048 rm -f conftest.er1
25049 cat conftest.err >&5
25050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25051 (exit $ac_status); } &&
25052 { ac_try='test -z "$ac_c_werror_flag"
25053 || test ! -s conftest.err'
25054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25055 (eval $ac_try) 2>&5
25056 ac_status=$?
25057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25058 (exit $ac_status); }; } &&
25059 { ac_try='test -s conftest$ac_exeext'
25060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25061 (eval $ac_try) 2>&5
25062 ac_status=$?
25063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25064 (exit $ac_status); }; }; then
25065 ac_cv_func_connect=yes
25066 else
25067 echo "$as_me: failed program was:" >&5
25068 sed 's/^/| /' conftest.$ac_ext >&5
25069
25070 ac_cv_func_connect=no
25071 fi
25072 rm -f conftest.err conftest.$ac_objext \
25073 conftest$ac_exeext conftest.$ac_ext
25074 fi
25075 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
25076 echo "${ECHO_T}$ac_cv_func_connect" >&6
25077
25078 if test $ac_cv_func_connect = no; then
25079 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
25080 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
25081 if test "${ac_cv_lib_socket_connect+set}" = set; then
25082 echo $ECHO_N "(cached) $ECHO_C" >&6
25083 else
25084 ac_check_lib_save_LIBS=$LIBS
25085 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
25086 cat >conftest.$ac_ext <<_ACEOF
25087 /* confdefs.h. */
25088 _ACEOF
25089 cat confdefs.h >>conftest.$ac_ext
25090 cat >>conftest.$ac_ext <<_ACEOF
25091 /* end confdefs.h. */
25092
25093 /* Override any gcc2 internal prototype to avoid an error. */
25094 #ifdef __cplusplus
25095 extern "C"
25096 #endif
25097 /* We use char because int might match the return type of a gcc2
25098 builtin and then its argument prototype would still apply. */
25099 char connect ();
25100 int
25101 main ()
25102 {
25103 connect ();
25104 ;
25105 return 0;
25106 }
25107 _ACEOF
25108 rm -f conftest.$ac_objext conftest$ac_exeext
25109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25110 (eval $ac_link) 2>conftest.er1
25111 ac_status=$?
25112 grep -v '^ *+' conftest.er1 >conftest.err
25113 rm -f conftest.er1
25114 cat conftest.err >&5
25115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25116 (exit $ac_status); } &&
25117 { ac_try='test -z "$ac_c_werror_flag"
25118 || test ! -s conftest.err'
25119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25120 (eval $ac_try) 2>&5
25121 ac_status=$?
25122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25123 (exit $ac_status); }; } &&
25124 { ac_try='test -s conftest$ac_exeext'
25125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25126 (eval $ac_try) 2>&5
25127 ac_status=$?
25128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25129 (exit $ac_status); }; }; then
25130 ac_cv_lib_socket_connect=yes
25131 else
25132 echo "$as_me: failed program was:" >&5
25133 sed 's/^/| /' conftest.$ac_ext >&5
25134
25135 ac_cv_lib_socket_connect=no
25136 fi
25137 rm -f conftest.err conftest.$ac_objext \
25138 conftest$ac_exeext conftest.$ac_ext
25139 LIBS=$ac_check_lib_save_LIBS
25140 fi
25141 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
25142 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
25143 if test $ac_cv_lib_socket_connect = yes; then
25144 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
25145 fi
25146
25147 fi
25148
25149 # Guillermo Gomez says -lposix is necessary on A/UX.
25150 echo "$as_me:$LINENO: checking for remove" >&5
25151 echo $ECHO_N "checking for remove... $ECHO_C" >&6
25152 if test "${ac_cv_func_remove+set}" = set; then
25153 echo $ECHO_N "(cached) $ECHO_C" >&6
25154 else
25155 cat >conftest.$ac_ext <<_ACEOF
25156 /* confdefs.h. */
25157 _ACEOF
25158 cat confdefs.h >>conftest.$ac_ext
25159 cat >>conftest.$ac_ext <<_ACEOF
25160 /* end confdefs.h. */
25161 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
25162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25163 #define remove innocuous_remove
25164
25165 /* System header to define __stub macros and hopefully few prototypes,
25166 which can conflict with char remove (); below.
25167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25168 <limits.h> exists even on freestanding compilers. */
25169
25170 #ifdef __STDC__
25171 # include <limits.h>
25172 #else
25173 # include <assert.h>
25174 #endif
25175
25176 #undef remove
25177
25178 /* Override any gcc2 internal prototype to avoid an error. */
25179 #ifdef __cplusplus
25180 extern "C"
25181 {
25182 #endif
25183 /* We use char because int might match the return type of a gcc2
25184 builtin and then its argument prototype would still apply. */
25185 char remove ();
25186 /* The GNU C library defines this for functions which it implements
25187 to always fail with ENOSYS. Some functions are actually named
25188 something starting with __ and the normal name is an alias. */
25189 #if defined (__stub_remove) || defined (__stub___remove)
25190 choke me
25191 #else
25192 char (*f) () = remove;
25193 #endif
25194 #ifdef __cplusplus
25195 }
25196 #endif
25197
25198 int
25199 main ()
25200 {
25201 return f != remove;
25202 ;
25203 return 0;
25204 }
25205 _ACEOF
25206 rm -f conftest.$ac_objext conftest$ac_exeext
25207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25208 (eval $ac_link) 2>conftest.er1
25209 ac_status=$?
25210 grep -v '^ *+' conftest.er1 >conftest.err
25211 rm -f conftest.er1
25212 cat conftest.err >&5
25213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25214 (exit $ac_status); } &&
25215 { ac_try='test -z "$ac_c_werror_flag"
25216 || test ! -s conftest.err'
25217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25218 (eval $ac_try) 2>&5
25219 ac_status=$?
25220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25221 (exit $ac_status); }; } &&
25222 { ac_try='test -s conftest$ac_exeext'
25223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25224 (eval $ac_try) 2>&5
25225 ac_status=$?
25226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25227 (exit $ac_status); }; }; then
25228 ac_cv_func_remove=yes
25229 else
25230 echo "$as_me: failed program was:" >&5
25231 sed 's/^/| /' conftest.$ac_ext >&5
25232
25233 ac_cv_func_remove=no
25234 fi
25235 rm -f conftest.err conftest.$ac_objext \
25236 conftest$ac_exeext conftest.$ac_ext
25237 fi
25238 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
25239 echo "${ECHO_T}$ac_cv_func_remove" >&6
25240
25241 if test $ac_cv_func_remove = no; then
25242 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
25243 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
25244 if test "${ac_cv_lib_posix_remove+set}" = set; then
25245 echo $ECHO_N "(cached) $ECHO_C" >&6
25246 else
25247 ac_check_lib_save_LIBS=$LIBS
25248 LIBS="-lposix $LIBS"
25249 cat >conftest.$ac_ext <<_ACEOF
25250 /* confdefs.h. */
25251 _ACEOF
25252 cat confdefs.h >>conftest.$ac_ext
25253 cat >>conftest.$ac_ext <<_ACEOF
25254 /* end confdefs.h. */
25255
25256 /* Override any gcc2 internal prototype to avoid an error. */
25257 #ifdef __cplusplus
25258 extern "C"
25259 #endif
25260 /* We use char because int might match the return type of a gcc2
25261 builtin and then its argument prototype would still apply. */
25262 char remove ();
25263 int
25264 main ()
25265 {
25266 remove ();
25267 ;
25268 return 0;
25269 }
25270 _ACEOF
25271 rm -f conftest.$ac_objext conftest$ac_exeext
25272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25273 (eval $ac_link) 2>conftest.er1
25274 ac_status=$?
25275 grep -v '^ *+' conftest.er1 >conftest.err
25276 rm -f conftest.er1
25277 cat conftest.err >&5
25278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25279 (exit $ac_status); } &&
25280 { ac_try='test -z "$ac_c_werror_flag"
25281 || test ! -s conftest.err'
25282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25283 (eval $ac_try) 2>&5
25284 ac_status=$?
25285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25286 (exit $ac_status); }; } &&
25287 { ac_try='test -s conftest$ac_exeext'
25288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25289 (eval $ac_try) 2>&5
25290 ac_status=$?
25291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25292 (exit $ac_status); }; }; then
25293 ac_cv_lib_posix_remove=yes
25294 else
25295 echo "$as_me: failed program was:" >&5
25296 sed 's/^/| /' conftest.$ac_ext >&5
25297
25298 ac_cv_lib_posix_remove=no
25299 fi
25300 rm -f conftest.err conftest.$ac_objext \
25301 conftest$ac_exeext conftest.$ac_ext
25302 LIBS=$ac_check_lib_save_LIBS
25303 fi
25304 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
25305 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
25306 if test $ac_cv_lib_posix_remove = yes; then
25307 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25308 fi
25309
25310 fi
25311
25312 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25313 echo "$as_me:$LINENO: checking for shmat" >&5
25314 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
25315 if test "${ac_cv_func_shmat+set}" = set; then
25316 echo $ECHO_N "(cached) $ECHO_C" >&6
25317 else
25318 cat >conftest.$ac_ext <<_ACEOF
25319 /* confdefs.h. */
25320 _ACEOF
25321 cat confdefs.h >>conftest.$ac_ext
25322 cat >>conftest.$ac_ext <<_ACEOF
25323 /* end confdefs.h. */
25324 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25325 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25326 #define shmat innocuous_shmat
25327
25328 /* System header to define __stub macros and hopefully few prototypes,
25329 which can conflict with char shmat (); below.
25330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25331 <limits.h> exists even on freestanding compilers. */
25332
25333 #ifdef __STDC__
25334 # include <limits.h>
25335 #else
25336 # include <assert.h>
25337 #endif
25338
25339 #undef shmat
25340
25341 /* Override any gcc2 internal prototype to avoid an error. */
25342 #ifdef __cplusplus
25343 extern "C"
25344 {
25345 #endif
25346 /* We use char because int might match the return type of a gcc2
25347 builtin and then its argument prototype would still apply. */
25348 char shmat ();
25349 /* The GNU C library defines this for functions which it implements
25350 to always fail with ENOSYS. Some functions are actually named
25351 something starting with __ and the normal name is an alias. */
25352 #if defined (__stub_shmat) || defined (__stub___shmat)
25353 choke me
25354 #else
25355 char (*f) () = shmat;
25356 #endif
25357 #ifdef __cplusplus
25358 }
25359 #endif
25360
25361 int
25362 main ()
25363 {
25364 return f != shmat;
25365 ;
25366 return 0;
25367 }
25368 _ACEOF
25369 rm -f conftest.$ac_objext conftest$ac_exeext
25370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25371 (eval $ac_link) 2>conftest.er1
25372 ac_status=$?
25373 grep -v '^ *+' conftest.er1 >conftest.err
25374 rm -f conftest.er1
25375 cat conftest.err >&5
25376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25377 (exit $ac_status); } &&
25378 { ac_try='test -z "$ac_c_werror_flag"
25379 || test ! -s conftest.err'
25380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25381 (eval $ac_try) 2>&5
25382 ac_status=$?
25383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25384 (exit $ac_status); }; } &&
25385 { ac_try='test -s conftest$ac_exeext'
25386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25387 (eval $ac_try) 2>&5
25388 ac_status=$?
25389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25390 (exit $ac_status); }; }; then
25391 ac_cv_func_shmat=yes
25392 else
25393 echo "$as_me: failed program was:" >&5
25394 sed 's/^/| /' conftest.$ac_ext >&5
25395
25396 ac_cv_func_shmat=no
25397 fi
25398 rm -f conftest.err conftest.$ac_objext \
25399 conftest$ac_exeext conftest.$ac_ext
25400 fi
25401 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25402 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25403
25404 if test $ac_cv_func_shmat = no; then
25405 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25406 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25407 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25408 echo $ECHO_N "(cached) $ECHO_C" >&6
25409 else
25410 ac_check_lib_save_LIBS=$LIBS
25411 LIBS="-lipc $LIBS"
25412 cat >conftest.$ac_ext <<_ACEOF
25413 /* confdefs.h. */
25414 _ACEOF
25415 cat confdefs.h >>conftest.$ac_ext
25416 cat >>conftest.$ac_ext <<_ACEOF
25417 /* end confdefs.h. */
25418
25419 /* Override any gcc2 internal prototype to avoid an error. */
25420 #ifdef __cplusplus
25421 extern "C"
25422 #endif
25423 /* We use char because int might match the return type of a gcc2
25424 builtin and then its argument prototype would still apply. */
25425 char shmat ();
25426 int
25427 main ()
25428 {
25429 shmat ();
25430 ;
25431 return 0;
25432 }
25433 _ACEOF
25434 rm -f conftest.$ac_objext conftest$ac_exeext
25435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25436 (eval $ac_link) 2>conftest.er1
25437 ac_status=$?
25438 grep -v '^ *+' conftest.er1 >conftest.err
25439 rm -f conftest.er1
25440 cat conftest.err >&5
25441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25442 (exit $ac_status); } &&
25443 { ac_try='test -z "$ac_c_werror_flag"
25444 || test ! -s conftest.err'
25445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25446 (eval $ac_try) 2>&5
25447 ac_status=$?
25448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25449 (exit $ac_status); }; } &&
25450 { ac_try='test -s conftest$ac_exeext'
25451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25452 (eval $ac_try) 2>&5
25453 ac_status=$?
25454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25455 (exit $ac_status); }; }; then
25456 ac_cv_lib_ipc_shmat=yes
25457 else
25458 echo "$as_me: failed program was:" >&5
25459 sed 's/^/| /' conftest.$ac_ext >&5
25460
25461 ac_cv_lib_ipc_shmat=no
25462 fi
25463 rm -f conftest.err conftest.$ac_objext \
25464 conftest$ac_exeext conftest.$ac_ext
25465 LIBS=$ac_check_lib_save_LIBS
25466 fi
25467 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25468 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25469 if test $ac_cv_lib_ipc_shmat = yes; then
25470 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25471 fi
25472
25473 fi
25474 fi
25475
25476 # Check for libraries that X11R6 Xt/Xaw programs need.
25477 ac_save_LDFLAGS=$LDFLAGS
25478 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25479 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25480 # check for ICE first), but we must link in the order -lSM -lICE or
25481 # we get undefined symbols. So assume we have SM if we have ICE.
25482 # These have to be linked with before -lX11, unlike the other
25483 # libraries we check for below, so use a different variable.
25484 # John Interrante, Karl Berry
25485 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25486 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25487 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25488 echo $ECHO_N "(cached) $ECHO_C" >&6
25489 else
25490 ac_check_lib_save_LIBS=$LIBS
25491 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25492 cat >conftest.$ac_ext <<_ACEOF
25493 /* confdefs.h. */
25494 _ACEOF
25495 cat confdefs.h >>conftest.$ac_ext
25496 cat >>conftest.$ac_ext <<_ACEOF
25497 /* end confdefs.h. */
25498
25499 /* Override any gcc2 internal prototype to avoid an error. */
25500 #ifdef __cplusplus
25501 extern "C"
25502 #endif
25503 /* We use char because int might match the return type of a gcc2
25504 builtin and then its argument prototype would still apply. */
25505 char IceConnectionNumber ();
25506 int
25507 main ()
25508 {
25509 IceConnectionNumber ();
25510 ;
25511 return 0;
25512 }
25513 _ACEOF
25514 rm -f conftest.$ac_objext conftest$ac_exeext
25515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25516 (eval $ac_link) 2>conftest.er1
25517 ac_status=$?
25518 grep -v '^ *+' conftest.er1 >conftest.err
25519 rm -f conftest.er1
25520 cat conftest.err >&5
25521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25522 (exit $ac_status); } &&
25523 { ac_try='test -z "$ac_c_werror_flag"
25524 || test ! -s conftest.err'
25525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25526 (eval $ac_try) 2>&5
25527 ac_status=$?
25528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25529 (exit $ac_status); }; } &&
25530 { ac_try='test -s conftest$ac_exeext'
25531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25532 (eval $ac_try) 2>&5
25533 ac_status=$?
25534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25535 (exit $ac_status); }; }; then
25536 ac_cv_lib_ICE_IceConnectionNumber=yes
25537 else
25538 echo "$as_me: failed program was:" >&5
25539 sed 's/^/| /' conftest.$ac_ext >&5
25540
25541 ac_cv_lib_ICE_IceConnectionNumber=no
25542 fi
25543 rm -f conftest.err conftest.$ac_objext \
25544 conftest$ac_exeext conftest.$ac_ext
25545 LIBS=$ac_check_lib_save_LIBS
25546 fi
25547 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25548 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
25549 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
25550 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25551 fi
25552
25553 LDFLAGS=$ac_save_LDFLAGS
25554
25555 fi
25556
25557
25558 if test "$no_x" = "yes"; then
25559 { { echo "$as_me:$LINENO: error: X11 not found" >&5
25560 echo "$as_me: error: X11 not found" >&2;}
25561 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
25562 fi
25563
25564 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25565 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
25566 AFMINSTALL=afminstall
25567 COMPILED_X_PROGRAM=0
25568
25569 fi
25570
25571 if test "$wxUSE_X11" = 1; then
25572 if test "$wxUSE_NANOX" = "yes"; then
25573 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
25574 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
25575 if test "x$MICROWIN" = x ; then
25576 echo "$as_me:$LINENO: result: not found" >&5
25577 echo "${ECHO_T}not found" >&6
25578 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
25579 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
25580 { (exit 1); exit 1; }; }
25581 else
25582 echo "$as_me:$LINENO: result: $MICROWIN" >&5
25583 echo "${ECHO_T}$MICROWIN" >&6
25584 cat >>confdefs.h <<\_ACEOF
25585 #define wxUSE_NANOX 1
25586 _ACEOF
25587
25588 fi
25589 fi
25590
25591 if test "$wxUSE_UNICODE" = "yes"; then
25592
25593 succeeded=no
25594
25595 if test -z "$PKG_CONFIG"; then
25596 # Extract the first word of "pkg-config", so it can be a program name with args.
25597 set dummy pkg-config; ac_word=$2
25598 echo "$as_me:$LINENO: checking for $ac_word" >&5
25599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25600 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25601 echo $ECHO_N "(cached) $ECHO_C" >&6
25602 else
25603 case $PKG_CONFIG in
25604 [\\/]* | ?:[\\/]*)
25605 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25606 ;;
25607 *)
25608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25609 for as_dir in $PATH
25610 do
25611 IFS=$as_save_IFS
25612 test -z "$as_dir" && as_dir=.
25613 for ac_exec_ext in '' $ac_executable_extensions; do
25614 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25615 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25616 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25617 break 2
25618 fi
25619 done
25620 done
25621
25622 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
25623 ;;
25624 esac
25625 fi
25626 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25627
25628 if test -n "$PKG_CONFIG"; then
25629 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25630 echo "${ECHO_T}$PKG_CONFIG" >&6
25631 else
25632 echo "$as_me:$LINENO: result: no" >&5
25633 echo "${ECHO_T}no" >&6
25634 fi
25635
25636 fi
25637
25638 if test "$PKG_CONFIG" = "no" ; then
25639 echo "*** The pkg-config script could not be found. Make sure it is"
25640 echo "*** in your path, or set the PKG_CONFIG environment variable"
25641 echo "*** to the full path to pkg-config."
25642 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25643 else
25644 PKG_CONFIG_MIN_VERSION=0.9.0
25645 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25646 echo "$as_me:$LINENO: checking for pangox" >&5
25647 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
25648
25649 if $PKG_CONFIG --exists "pangox" ; then
25650 echo "$as_me:$LINENO: result: yes" >&5
25651 echo "${ECHO_T}yes" >&6
25652 succeeded=yes
25653
25654 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
25655 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
25656 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
25657 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
25658 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
25659
25660 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
25661 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
25662 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
25663 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
25664 echo "${ECHO_T}$PANGOX_LIBS" >&6
25665 else
25666 PANGOX_CFLAGS=""
25667 PANGOX_LIBS=""
25668 ## If we have a custom action on failure, don't print errors, but
25669 ## do set a variable so people can do so.
25670 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25671
25672 fi
25673
25674
25675
25676 else
25677 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25678 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25679 fi
25680 fi
25681
25682 if test $succeeded = yes; then
25683
25684 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
25685 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
25686
25687 else
25688
25689 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
25690 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
25691 { (exit 1); exit 1; }; }
25692
25693
25694 fi
25695
25696
25697 succeeded=no
25698
25699 if test -z "$PKG_CONFIG"; then
25700 # Extract the first word of "pkg-config", so it can be a program name with args.
25701 set dummy pkg-config; ac_word=$2
25702 echo "$as_me:$LINENO: checking for $ac_word" >&5
25703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25704 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25705 echo $ECHO_N "(cached) $ECHO_C" >&6
25706 else
25707 case $PKG_CONFIG in
25708 [\\/]* | ?:[\\/]*)
25709 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25710 ;;
25711 *)
25712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25713 for as_dir in $PATH
25714 do
25715 IFS=$as_save_IFS
25716 test -z "$as_dir" && as_dir=.
25717 for ac_exec_ext in '' $ac_executable_extensions; do
25718 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25719 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25721 break 2
25722 fi
25723 done
25724 done
25725
25726 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
25727 ;;
25728 esac
25729 fi
25730 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25731
25732 if test -n "$PKG_CONFIG"; then
25733 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25734 echo "${ECHO_T}$PKG_CONFIG" >&6
25735 else
25736 echo "$as_me:$LINENO: result: no" >&5
25737 echo "${ECHO_T}no" >&6
25738 fi
25739
25740 fi
25741
25742 if test "$PKG_CONFIG" = "no" ; then
25743 echo "*** The pkg-config script could not be found. Make sure it is"
25744 echo "*** in your path, or set the PKG_CONFIG environment variable"
25745 echo "*** to the full path to pkg-config."
25746 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25747 else
25748 PKG_CONFIG_MIN_VERSION=0.9.0
25749 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25750 echo "$as_me:$LINENO: checking for pangoft2" >&5
25751 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
25752
25753 if $PKG_CONFIG --exists "pangoft2" ; then
25754 echo "$as_me:$LINENO: result: yes" >&5
25755 echo "${ECHO_T}yes" >&6
25756 succeeded=yes
25757
25758 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
25759 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
25760 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
25761 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
25762 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
25763
25764 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
25765 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
25766 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
25767 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
25768 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
25769 else
25770 PANGOFT2_CFLAGS=""
25771 PANGOFT2_LIBS=""
25772 ## If we have a custom action on failure, don't print errors, but
25773 ## do set a variable so people can do so.
25774 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25775
25776 fi
25777
25778
25779
25780 else
25781 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25782 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25783 fi
25784 fi
25785
25786 if test $succeeded = yes; then
25787
25788 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
25789 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25790
25791 else
25792
25793 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25794 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25795 wxUSE_PRINTING_ARCHITECTURE="no"
25796
25797
25798 fi
25799
25800
25801 succeeded=no
25802
25803 if test -z "$PKG_CONFIG"; then
25804 # Extract the first word of "pkg-config", so it can be a program name with args.
25805 set dummy pkg-config; ac_word=$2
25806 echo "$as_me:$LINENO: checking for $ac_word" >&5
25807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25808 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25809 echo $ECHO_N "(cached) $ECHO_C" >&6
25810 else
25811 case $PKG_CONFIG in
25812 [\\/]* | ?:[\\/]*)
25813 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25814 ;;
25815 *)
25816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25817 for as_dir in $PATH
25818 do
25819 IFS=$as_save_IFS
25820 test -z "$as_dir" && as_dir=.
25821 for ac_exec_ext in '' $ac_executable_extensions; do
25822 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25823 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25824 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25825 break 2
25826 fi
25827 done
25828 done
25829
25830 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
25831 ;;
25832 esac
25833 fi
25834 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25835
25836 if test -n "$PKG_CONFIG"; then
25837 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25838 echo "${ECHO_T}$PKG_CONFIG" >&6
25839 else
25840 echo "$as_me:$LINENO: result: no" >&5
25841 echo "${ECHO_T}no" >&6
25842 fi
25843
25844 fi
25845
25846 if test "$PKG_CONFIG" = "no" ; then
25847 echo "*** The pkg-config script could not be found. Make sure it is"
25848 echo "*** in your path, or set the PKG_CONFIG environment variable"
25849 echo "*** to the full path to pkg-config."
25850 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25851 else
25852 PKG_CONFIG_MIN_VERSION=0.9.0
25853 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25854 echo "$as_me:$LINENO: checking for pangoxft" >&5
25855 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
25856
25857 if $PKG_CONFIG --exists "pangoxft" ; then
25858 echo "$as_me:$LINENO: result: yes" >&5
25859 echo "${ECHO_T}yes" >&6
25860 succeeded=yes
25861
25862 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
25863 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
25864 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
25865 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
25866 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
25867
25868 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
25869 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
25870 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
25871 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
25872 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
25873 else
25874 PANGOXFT_CFLAGS=""
25875 PANGOXFT_LIBS=""
25876 ## If we have a custom action on failure, don't print errors, but
25877 ## do set a variable so people can do so.
25878 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25879
25880 fi
25881
25882
25883
25884 else
25885 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25886 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25887 fi
25888 fi
25889
25890 if test $succeeded = yes; then
25891
25892 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
25893 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25894
25895 else
25896
25897 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25898 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25899
25900
25901 fi
25902
25903 save_CFLAGS="$CFLAGS"
25904 save_LIBS="$LIBS"
25905 CFLAGS="$CFLAGS $PANGOX_CFLAGS"
25906 LIBS="$LIBS $PANGOX_LIBS"
25907
25908 for ac_func in pango_font_family_is_monospace
25909 do
25910 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25911 echo "$as_me:$LINENO: checking for $ac_func" >&5
25912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25913 if eval "test \"\${$as_ac_var+set}\" = set"; then
25914 echo $ECHO_N "(cached) $ECHO_C" >&6
25915 else
25916 cat >conftest.$ac_ext <<_ACEOF
25917 /* confdefs.h. */
25918 _ACEOF
25919 cat confdefs.h >>conftest.$ac_ext
25920 cat >>conftest.$ac_ext <<_ACEOF
25921 /* end confdefs.h. */
25922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25924 #define $ac_func innocuous_$ac_func
25925
25926 /* System header to define __stub macros and hopefully few prototypes,
25927 which can conflict with char $ac_func (); below.
25928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25929 <limits.h> exists even on freestanding compilers. */
25930
25931 #ifdef __STDC__
25932 # include <limits.h>
25933 #else
25934 # include <assert.h>
25935 #endif
25936
25937 #undef $ac_func
25938
25939 /* Override any gcc2 internal prototype to avoid an error. */
25940 #ifdef __cplusplus
25941 extern "C"
25942 {
25943 #endif
25944 /* We use char because int might match the return type of a gcc2
25945 builtin and then its argument prototype would still apply. */
25946 char $ac_func ();
25947 /* The GNU C library defines this for functions which it implements
25948 to always fail with ENOSYS. Some functions are actually named
25949 something starting with __ and the normal name is an alias. */
25950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25951 choke me
25952 #else
25953 char (*f) () = $ac_func;
25954 #endif
25955 #ifdef __cplusplus
25956 }
25957 #endif
25958
25959 int
25960 main ()
25961 {
25962 return f != $ac_func;
25963 ;
25964 return 0;
25965 }
25966 _ACEOF
25967 rm -f conftest.$ac_objext conftest$ac_exeext
25968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25969 (eval $ac_link) 2>conftest.er1
25970 ac_status=$?
25971 grep -v '^ *+' conftest.er1 >conftest.err
25972 rm -f conftest.er1
25973 cat conftest.err >&5
25974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25975 (exit $ac_status); } &&
25976 { ac_try='test -z "$ac_c_werror_flag"
25977 || test ! -s conftest.err'
25978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25979 (eval $ac_try) 2>&5
25980 ac_status=$?
25981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25982 (exit $ac_status); }; } &&
25983 { ac_try='test -s conftest$ac_exeext'
25984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25985 (eval $ac_try) 2>&5
25986 ac_status=$?
25987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25988 (exit $ac_status); }; }; then
25989 eval "$as_ac_var=yes"
25990 else
25991 echo "$as_me: failed program was:" >&5
25992 sed 's/^/| /' conftest.$ac_ext >&5
25993
25994 eval "$as_ac_var=no"
25995 fi
25996 rm -f conftest.err conftest.$ac_objext \
25997 conftest$ac_exeext conftest.$ac_ext
25998 fi
25999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26001 if test `eval echo '${'$as_ac_var'}'` = yes; then
26002 cat >>confdefs.h <<_ACEOF
26003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26004 _ACEOF
26005
26006 fi
26007 done
26008
26009 CFLAGS="$save_CFLAGS"
26010 LIBS="$save_LIBS"
26011 fi
26012
26013 wxUSE_UNIVERSAL="yes"
26014
26015 if test "$wxUSE_NANOX" = "yes"; then
26016 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
26017 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"
26018 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
26019 else
26020 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
26021 fi
26022
26023 TOOLKIT=X11
26024 GUIDIST=X11_DIST
26025 fi
26026
26027 if test "$wxUSE_MOTIF" = 1; then
26028 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
26029 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
26030
26031 ac_find_includes=
26032 for ac_dir in $SEARCH_INCLUDE /usr/include;
26033 do
26034 if test -f "$ac_dir/Xm/Xm.h"; then
26035 ac_find_includes=$ac_dir
26036 break
26037 fi
26038 done
26039
26040 if test "$ac_find_includes" != "" ; then
26041 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
26042 echo "${ECHO_T}found in $ac_find_includes" >&6
26043
26044 if test "x$ac_find_includes" = "x/usr/include"; then
26045 ac_path_to_include=""
26046 else
26047 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
26048 result=$?
26049 if test $result = 0; then
26050 ac_path_to_include=""
26051 else
26052 ac_path_to_include=" -I$ac_find_includes"
26053 fi
26054 fi
26055
26056 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
26057 else
26058 cat >conftest.$ac_ext <<_ACEOF
26059 /* confdefs.h. */
26060 _ACEOF
26061 cat confdefs.h >>conftest.$ac_ext
26062 cat >>conftest.$ac_ext <<_ACEOF
26063 /* end confdefs.h. */
26064
26065 #include <Xm/Xm.h>
26066
26067 int
26068 main ()
26069 {
26070
26071 int version;
26072 version = xmUseVersion;
26073
26074 ;
26075 return 0;
26076 }
26077 _ACEOF
26078 rm -f conftest.$ac_objext
26079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26080 (eval $ac_compile) 2>conftest.er1
26081 ac_status=$?
26082 grep -v '^ *+' conftest.er1 >conftest.err
26083 rm -f conftest.er1
26084 cat conftest.err >&5
26085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26086 (exit $ac_status); } &&
26087 { ac_try='test -z "$ac_c_werror_flag"
26088 || test ! -s conftest.err'
26089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26090 (eval $ac_try) 2>&5
26091 ac_status=$?
26092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26093 (exit $ac_status); }; } &&
26094 { ac_try='test -s conftest.$ac_objext'
26095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26096 (eval $ac_try) 2>&5
26097 ac_status=$?
26098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26099 (exit $ac_status); }; }; then
26100
26101 echo "$as_me:$LINENO: result: found in default search path" >&5
26102 echo "${ECHO_T}found in default search path" >&6
26103 COMPILED_X_PROGRAM=1
26104
26105 else
26106 echo "$as_me: failed program was:" >&5
26107 sed 's/^/| /' conftest.$ac_ext >&5
26108
26109
26110 echo "$as_me:$LINENO: result: no" >&5
26111 echo "${ECHO_T}no" >&6
26112 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
26113 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
26114 { (exit 1); exit 1; }; }
26115
26116
26117 fi
26118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26119 fi
26120
26121 if test "$COMPILED_X_PROGRAM" = 0; then
26122 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
26123 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
26124
26125 ac_find_libraries=
26126 for ac_dir in $SEARCH_LIB /usr/lib;
26127 do
26128 for ac_extension in a so sl dylib; do
26129 if test -f "$ac_dir/libXm.$ac_extension"; then
26130 ac_find_libraries=$ac_dir
26131 break 2
26132 fi
26133 done
26134 done
26135
26136 if test "$ac_find_libraries" != "" ; then
26137 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26138 echo "${ECHO_T}found at $ac_find_libraries" >&6
26139
26140
26141 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26142 result=$?
26143 if test $result = 0; then
26144 ac_path_to_link=""
26145 else
26146 ac_path_to_link=" -L$ac_find_libraries"
26147 fi
26148
26149 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26150 else
26151 save_CFLAGS=$CFLAGS
26152 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26153
26154 cat >conftest.$ac_ext <<_ACEOF
26155 /* confdefs.h. */
26156 _ACEOF
26157 cat confdefs.h >>conftest.$ac_ext
26158 cat >>conftest.$ac_ext <<_ACEOF
26159 /* end confdefs.h. */
26160
26161 #include <Xm/Xm.h>
26162
26163 int
26164 main ()
26165 {
26166
26167 int version;
26168 version = xmUseVersion;
26169
26170 ;
26171 return 0;
26172 }
26173 _ACEOF
26174 rm -f conftest.$ac_objext
26175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26176 (eval $ac_compile) 2>conftest.er1
26177 ac_status=$?
26178 grep -v '^ *+' conftest.er1 >conftest.err
26179 rm -f conftest.er1
26180 cat conftest.err >&5
26181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26182 (exit $ac_status); } &&
26183 { ac_try='test -z "$ac_c_werror_flag"
26184 || test ! -s conftest.err'
26185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26186 (eval $ac_try) 2>&5
26187 ac_status=$?
26188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26189 (exit $ac_status); }; } &&
26190 { ac_try='test -s conftest.$ac_objext'
26191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26192 (eval $ac_try) 2>&5
26193 ac_status=$?
26194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26195 (exit $ac_status); }; }; then
26196
26197 echo "$as_me:$LINENO: result: found in default search path" >&5
26198 echo "${ECHO_T}found in default search path" >&6
26199 COMPILED_X_PROGRAM=1
26200
26201 else
26202 echo "$as_me: failed program was:" >&5
26203 sed 's/^/| /' conftest.$ac_ext >&5
26204
26205
26206 echo "$as_me:$LINENO: result: no" >&5
26207 echo "${ECHO_T}no" >&6
26208 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
26209 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
26210 { (exit 1); exit 1; }; }
26211
26212
26213 fi
26214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26215
26216 CFLAGS=$save_CFLAGS
26217 fi
26218 fi
26219
26220 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
26221 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
26222 libp_link=""
26223 libsm_ice_link=""
26224 libs_found=0
26225 for libp in "" " -lXp"; do
26226 if test "$libs_found" = "0"; then
26227 for libsm_ice in "" " -lSM -lICE"; do
26228 if test "$libs_found" = "0"; then
26229 save_LIBS="$LIBS"
26230 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26231 save_CFLAGS=$CFLAGS
26232 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26233
26234 cat >conftest.$ac_ext <<_ACEOF
26235 /* confdefs.h. */
26236 _ACEOF
26237 cat confdefs.h >>conftest.$ac_ext
26238 cat >>conftest.$ac_ext <<_ACEOF
26239 /* end confdefs.h. */
26240
26241 #include <Xm/Xm.h>
26242 #include <Xm/List.h>
26243
26244 int
26245 main ()
26246 {
26247
26248 XmString string = NULL;
26249 Widget w = NULL;
26250 int position = 0;
26251 XmListAddItem(w, string, position);
26252
26253 ;
26254 return 0;
26255 }
26256 _ACEOF
26257 rm -f conftest.$ac_objext conftest$ac_exeext
26258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26259 (eval $ac_link) 2>conftest.er1
26260 ac_status=$?
26261 grep -v '^ *+' conftest.er1 >conftest.err
26262 rm -f conftest.er1
26263 cat conftest.err >&5
26264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26265 (exit $ac_status); } &&
26266 { ac_try='test -z "$ac_c_werror_flag"
26267 || test ! -s conftest.err'
26268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26269 (eval $ac_try) 2>&5
26270 ac_status=$?
26271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26272 (exit $ac_status); }; } &&
26273 { ac_try='test -s conftest$ac_exeext'
26274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26275 (eval $ac_try) 2>&5
26276 ac_status=$?
26277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26278 (exit $ac_status); }; }; then
26279
26280 libp_link="$libp"
26281 libsm_ice_link="$libsm_ice"
26282 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
26283 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
26284 libs_found=1
26285
26286 else
26287 echo "$as_me: failed program was:" >&5
26288 sed 's/^/| /' conftest.$ac_ext >&5
26289
26290
26291
26292 fi
26293 rm -f conftest.err conftest.$ac_objext \
26294 conftest$ac_exeext conftest.$ac_ext
26295
26296 LIBS="$save_LIBS"
26297 CFLAGS=$save_CFLAGS
26298 fi
26299 done
26300 fi
26301 done
26302
26303 if test "$libs_found" = "0"; then
26304 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
26305 echo "${ECHO_T}can't find the right libraries" >&6
26306 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
26307 echo "$as_me: error: can't link a simple motif program" >&2;}
26308 { (exit 1); exit 1; }; }
26309 fi
26310
26311 save_CFLAGS=$CFLAGS
26312 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26313 echo "$as_me:$LINENO: checking for Motif 2" >&5
26314 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
26315 cat >conftest.$ac_ext <<_ACEOF
26316 /* confdefs.h. */
26317 _ACEOF
26318 cat confdefs.h >>conftest.$ac_ext
26319 cat >>conftest.$ac_ext <<_ACEOF
26320 /* end confdefs.h. */
26321
26322 #include <Xm/Xm.h>
26323
26324 int
26325 main ()
26326 {
26327
26328 #if XmVersion < 2000
26329 #error "Not Motif 2"
26330 #endif
26331
26332 ;
26333 return 0;
26334 }
26335 _ACEOF
26336 rm -f conftest.$ac_objext
26337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26338 (eval $ac_compile) 2>conftest.er1
26339 ac_status=$?
26340 grep -v '^ *+' conftest.er1 >conftest.err
26341 rm -f conftest.er1
26342 cat conftest.err >&5
26343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26344 (exit $ac_status); } &&
26345 { ac_try='test -z "$ac_c_werror_flag"
26346 || test ! -s conftest.err'
26347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26348 (eval $ac_try) 2>&5
26349 ac_status=$?
26350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26351 (exit $ac_status); }; } &&
26352 { ac_try='test -s conftest.$ac_objext'
26353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26354 (eval $ac_try) 2>&5
26355 ac_status=$?
26356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26357 (exit $ac_status); }; }; then
26358
26359 cat >>confdefs.h <<\_ACEOF
26360 #define __WXMOTIF20__ 1
26361 _ACEOF
26362
26363 echo "$as_me:$LINENO: result: found" >&5
26364 echo "${ECHO_T}found" >&6
26365
26366 else
26367 echo "$as_me: failed program was:" >&5
26368 sed 's/^/| /' conftest.$ac_ext >&5
26369
26370
26371 cat >>confdefs.h <<\_ACEOF
26372 #define __WXMOTIF20__ 0
26373 _ACEOF
26374
26375 echo "$as_me:$LINENO: result: not found" >&5
26376 echo "${ECHO_T}not found" >&6
26377
26378 fi
26379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26380 CFLAGS=$save_CFLAGS
26381
26382 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26383 TOOLKIT=MOTIF
26384 GUIDIST=MOTIF_DIST
26385 fi
26386
26387 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26388 if test "$wxUSE_LIBXPM" = "sys"; then
26389 echo "$as_me:$LINENO: checking for Xpm library" >&5
26390 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
26391
26392 ac_find_libraries=
26393 for ac_dir in $SEARCH_LIB /usr/lib;
26394 do
26395 for ac_extension in a so sl dylib; do
26396 if test -f "$ac_dir/libXpm.$ac_extension"; then
26397 ac_find_libraries=$ac_dir
26398 break 2
26399 fi
26400 done
26401 done
26402
26403 if test "$ac_find_libraries" != "" ; then
26404
26405 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26406 result=$?
26407 if test $result = 0; then
26408 ac_path_to_link=""
26409 else
26410 ac_path_to_link=" -L$ac_find_libraries"
26411 fi
26412
26413 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26414 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26415 echo "${ECHO_T}found at $ac_find_libraries" >&6
26416
26417 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
26418 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
26419 if test "${wx_cv_x11_xpm_h+set}" = set; then
26420 echo $ECHO_N "(cached) $ECHO_C" >&6
26421 else
26422
26423 save_CFLAGS=$CFLAGS
26424 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26425
26426 cat >conftest.$ac_ext <<_ACEOF
26427 /* confdefs.h. */
26428 _ACEOF
26429 cat confdefs.h >>conftest.$ac_ext
26430 cat >>conftest.$ac_ext <<_ACEOF
26431 /* end confdefs.h. */
26432
26433 #include <X11/xpm.h>
26434
26435 int
26436 main ()
26437 {
26438
26439 int version;
26440 version = XpmLibraryVersion();
26441
26442 ;
26443 return 0;
26444 }
26445 _ACEOF
26446 rm -f conftest.$ac_objext
26447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26448 (eval $ac_compile) 2>conftest.er1
26449 ac_status=$?
26450 grep -v '^ *+' conftest.er1 >conftest.err
26451 rm -f conftest.er1
26452 cat conftest.err >&5
26453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26454 (exit $ac_status); } &&
26455 { ac_try='test -z "$ac_c_werror_flag"
26456 || test ! -s conftest.err'
26457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26458 (eval $ac_try) 2>&5
26459 ac_status=$?
26460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26461 (exit $ac_status); }; } &&
26462 { ac_try='test -s conftest.$ac_objext'
26463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26464 (eval $ac_try) 2>&5
26465 ac_status=$?
26466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26467 (exit $ac_status); }; }; then
26468 wx_cv_x11_xpm_h=yes
26469 else
26470 echo "$as_me: failed program was:" >&5
26471 sed 's/^/| /' conftest.$ac_ext >&5
26472
26473 wx_cv_x11_xpm_h=no
26474
26475 fi
26476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26477
26478 CFLAGS=$save_CFLAGS
26479
26480
26481 fi
26482 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
26483 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
26484
26485 if test $wx_cv_x11_xpm_h = "yes"; then
26486 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
26487 cat >>confdefs.h <<\_ACEOF
26488 #define wxHAVE_LIB_XPM 1
26489 _ACEOF
26490
26491 else
26492 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
26493 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26494 fi
26495 fi
26496
26497 fi
26498
26499 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
26500 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
26501 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
26502 echo $ECHO_N "(cached) $ECHO_C" >&6
26503 else
26504 ac_check_lib_save_LIBS=$LIBS
26505 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26506 cat >conftest.$ac_ext <<_ACEOF
26507 /* confdefs.h. */
26508 _ACEOF
26509 cat confdefs.h >>conftest.$ac_ext
26510 cat >>conftest.$ac_ext <<_ACEOF
26511 /* end confdefs.h. */
26512
26513 /* Override any gcc2 internal prototype to avoid an error. */
26514 #ifdef __cplusplus
26515 extern "C"
26516 #endif
26517 /* We use char because int might match the return type of a gcc2
26518 builtin and then its argument prototype would still apply. */
26519 char XShapeQueryExtension ();
26520 int
26521 main ()
26522 {
26523 XShapeQueryExtension ();
26524 ;
26525 return 0;
26526 }
26527 _ACEOF
26528 rm -f conftest.$ac_objext conftest$ac_exeext
26529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26530 (eval $ac_link) 2>conftest.er1
26531 ac_status=$?
26532 grep -v '^ *+' conftest.er1 >conftest.err
26533 rm -f conftest.er1
26534 cat conftest.err >&5
26535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26536 (exit $ac_status); } &&
26537 { ac_try='test -z "$ac_c_werror_flag"
26538 || test ! -s conftest.err'
26539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26540 (eval $ac_try) 2>&5
26541 ac_status=$?
26542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26543 (exit $ac_status); }; } &&
26544 { ac_try='test -s conftest$ac_exeext'
26545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26546 (eval $ac_try) 2>&5
26547 ac_status=$?
26548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26549 (exit $ac_status); }; }; then
26550 ac_cv_lib_Xext_XShapeQueryExtension=yes
26551 else
26552 echo "$as_me: failed program was:" >&5
26553 sed 's/^/| /' conftest.$ac_ext >&5
26554
26555 ac_cv_lib_Xext_XShapeQueryExtension=no
26556 fi
26557 rm -f conftest.err conftest.$ac_objext \
26558 conftest$ac_exeext conftest.$ac_ext
26559 LIBS=$ac_check_lib_save_LIBS
26560 fi
26561 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26562 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
26563 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
26564
26565 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
26566 wxHAVE_XEXT_LIB=1
26567
26568 fi
26569
26570
26571 if test "$wxHAVE_XEXT_LIB" = 1; then
26572 save_CFLAGS="$CFLAGS"
26573 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26574
26575 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
26576 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
26577 cat >conftest.$ac_ext <<_ACEOF
26578 /* confdefs.h. */
26579 _ACEOF
26580 cat confdefs.h >>conftest.$ac_ext
26581 cat >>conftest.$ac_ext <<_ACEOF
26582 /* end confdefs.h. */
26583
26584 #include <X11/Xlib.h>
26585 #include <X11/extensions/shape.h>
26586
26587 int
26588 main ()
26589 {
26590
26591 int dummy1, dummy2;
26592 XShapeQueryExtension((Display*)NULL,
26593 (int*)NULL, (int*)NULL);
26594
26595 ;
26596 return 0;
26597 }
26598 _ACEOF
26599 rm -f conftest.$ac_objext
26600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26601 (eval $ac_compile) 2>conftest.er1
26602 ac_status=$?
26603 grep -v '^ *+' conftest.er1 >conftest.err
26604 rm -f conftest.er1
26605 cat conftest.err >&5
26606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26607 (exit $ac_status); } &&
26608 { ac_try='test -z "$ac_c_werror_flag"
26609 || test ! -s conftest.err'
26610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26611 (eval $ac_try) 2>&5
26612 ac_status=$?
26613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26614 (exit $ac_status); }; } &&
26615 { ac_try='test -s conftest.$ac_objext'
26616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26617 (eval $ac_try) 2>&5
26618 ac_status=$?
26619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26620 (exit $ac_status); }; }; then
26621
26622 cat >>confdefs.h <<\_ACEOF
26623 #define HAVE_XSHAPE 1
26624 _ACEOF
26625
26626 echo "$as_me:$LINENO: result: found" >&5
26627 echo "${ECHO_T}found" >&6
26628
26629 else
26630 echo "$as_me: failed program was:" >&5
26631 sed 's/^/| /' conftest.$ac_ext >&5
26632
26633
26634 echo "$as_me:$LINENO: result: not found" >&5
26635 echo "${ECHO_T}not found" >&6
26636
26637 fi
26638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26639 CFLAGS="$save_CFLAGS"
26640
26641 fi
26642 fi
26643
26644 if test "$wxUSE_MAC" = 1; then
26645 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26646 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26647 if test "$GCC" = yes; then
26648 echo "$as_me:$LINENO: result: gcc" >&5
26649 echo "${ECHO_T}gcc" >&6
26650 CPPFLAGS_PASCAL="-fpascal-strings"
26651 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26652 echo "$as_me:$LINENO: result: xlc" >&5
26653 echo "${ECHO_T}xlc" >&6
26654 CPPFLAGS_PASCAL="-qmacpstr"
26655 else
26656 echo "$as_me:$LINENO: result: none" >&5
26657 echo "${ECHO_T}none" >&6
26658 fi
26659
26660 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
26661
26662 TOOLKIT=MAC
26663 GUIDIST=MACX_DIST
26664 WXBASEPORT="_carbon"
26665 fi
26666
26667 if test "$wxUSE_COCOA" = 1; then
26668 TOOLKIT=COCOA
26669 GUIDIST=COCOA_DIST
26670 fi
26671
26672 if test "$wxUSE_PM" = 1; then
26673 TOOLKIT=PM
26674 GUIDIST=PM_DIST
26675 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
26676 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
26677 if test "${wx_cv_spbcdata+set}" = set; then
26678 echo $ECHO_N "(cached) $ECHO_C" >&6
26679 else
26680
26681 cat >conftest.$ac_ext <<_ACEOF
26682 /* confdefs.h. */
26683 _ACEOF
26684 cat confdefs.h >>conftest.$ac_ext
26685 cat >>conftest.$ac_ext <<_ACEOF
26686 /* end confdefs.h. */
26687
26688 #define INCL_PM
26689 #include <os2.h>
26690
26691 int
26692 main ()
26693 {
26694
26695 SPBCDATA test;
26696
26697 ;
26698 return 0;
26699 }
26700 _ACEOF
26701 rm -f conftest.$ac_objext
26702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26703 (eval $ac_compile) 2>conftest.er1
26704 ac_status=$?
26705 grep -v '^ *+' conftest.er1 >conftest.err
26706 rm -f conftest.er1
26707 cat conftest.err >&5
26708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26709 (exit $ac_status); } &&
26710 { ac_try='test -z "$ac_c_werror_flag"
26711 || test ! -s conftest.err'
26712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26713 (eval $ac_try) 2>&5
26714 ac_status=$?
26715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26716 (exit $ac_status); }; } &&
26717 { ac_try='test -s conftest.$ac_objext'
26718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26719 (eval $ac_try) 2>&5
26720 ac_status=$?
26721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26722 (exit $ac_status); }; }; then
26723 wx_cv_spbcdata=yes
26724 else
26725 echo "$as_me: failed program was:" >&5
26726 sed 's/^/| /' conftest.$ac_ext >&5
26727
26728 wx_cv_spbcdata=no
26729
26730 fi
26731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26732
26733
26734 fi
26735 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
26736 echo "${ECHO_T}$wx_cv_spbcdata" >&6
26737
26738 if test $wx_cv_spbcdata = "yes"; then
26739 cat >>confdefs.h <<\_ACEOF
26740 #define HAVE_SPBCDATA 1
26741 _ACEOF
26742
26743 fi
26744 fi
26745
26746 if test "$TOOLKIT" = "PM" ; then
26747 TOOLKIT_DIR="os2"
26748 else
26749 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
26750 fi
26751
26752 if test "$wxUSE_UNIVERSAL" = "yes"; then
26753 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26754 WIDGET_SET=univ
26755 fi
26756
26757 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26758 DISTDIR="wx\$(TOOLKIT)"
26759 else
26760 USE_GUI=0
26761
26762 TOOLKIT_DIR="base"
26763
26764 if test "$USE_WIN32" = 1 ; then
26765 TOOLKIT="MSW"
26766 fi
26767
26768 GUIDIST="BASE_DIST"
26769 DISTDIR="wxBase"
26770 fi
26771
26772
26773
26774
26775 IODBC_C_SRC=""
26776
26777
26778 if test "$TOOLKIT" != "MSW" ; then
26779
26780 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
26781
26782 if test "${ac_cv_header_sql_h+set}" = set; then
26783 echo "$as_me:$LINENO: checking for sql.h" >&5
26784 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26785 if test "${ac_cv_header_sql_h+set}" = set; then
26786 echo $ECHO_N "(cached) $ECHO_C" >&6
26787 fi
26788 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26789 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26790 else
26791 # Is the header compilable?
26792 echo "$as_me:$LINENO: checking sql.h usability" >&5
26793 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
26794 cat >conftest.$ac_ext <<_ACEOF
26795 /* confdefs.h. */
26796 _ACEOF
26797 cat confdefs.h >>conftest.$ac_ext
26798 cat >>conftest.$ac_ext <<_ACEOF
26799 /* end confdefs.h. */
26800 $ac_includes_default
26801 #include <sql.h>
26802 _ACEOF
26803 rm -f conftest.$ac_objext
26804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26805 (eval $ac_compile) 2>conftest.er1
26806 ac_status=$?
26807 grep -v '^ *+' conftest.er1 >conftest.err
26808 rm -f conftest.er1
26809 cat conftest.err >&5
26810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26811 (exit $ac_status); } &&
26812 { ac_try='test -z "$ac_c_werror_flag"
26813 || test ! -s conftest.err'
26814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26815 (eval $ac_try) 2>&5
26816 ac_status=$?
26817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26818 (exit $ac_status); }; } &&
26819 { ac_try='test -s conftest.$ac_objext'
26820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26821 (eval $ac_try) 2>&5
26822 ac_status=$?
26823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26824 (exit $ac_status); }; }; then
26825 ac_header_compiler=yes
26826 else
26827 echo "$as_me: failed program was:" >&5
26828 sed 's/^/| /' conftest.$ac_ext >&5
26829
26830 ac_header_compiler=no
26831 fi
26832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26833 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26834 echo "${ECHO_T}$ac_header_compiler" >&6
26835
26836 # Is the header present?
26837 echo "$as_me:$LINENO: checking sql.h presence" >&5
26838 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
26839 cat >conftest.$ac_ext <<_ACEOF
26840 /* confdefs.h. */
26841 _ACEOF
26842 cat confdefs.h >>conftest.$ac_ext
26843 cat >>conftest.$ac_ext <<_ACEOF
26844 /* end confdefs.h. */
26845 #include <sql.h>
26846 _ACEOF
26847 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26848 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26849 ac_status=$?
26850 grep -v '^ *+' conftest.er1 >conftest.err
26851 rm -f conftest.er1
26852 cat conftest.err >&5
26853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26854 (exit $ac_status); } >/dev/null; then
26855 if test -s conftest.err; then
26856 ac_cpp_err=$ac_c_preproc_warn_flag
26857 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26858 else
26859 ac_cpp_err=
26860 fi
26861 else
26862 ac_cpp_err=yes
26863 fi
26864 if test -z "$ac_cpp_err"; then
26865 ac_header_preproc=yes
26866 else
26867 echo "$as_me: failed program was:" >&5
26868 sed 's/^/| /' conftest.$ac_ext >&5
26869
26870 ac_header_preproc=no
26871 fi
26872 rm -f conftest.err conftest.$ac_ext
26873 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26874 echo "${ECHO_T}$ac_header_preproc" >&6
26875
26876 # So? What about this header?
26877 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26878 yes:no: )
26879 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
26880 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26881 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
26882 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
26883 ac_header_preproc=yes
26884 ;;
26885 no:yes:* )
26886 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
26887 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
26888 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
26889 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
26890 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
26891 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
26892 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
26893 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
26894 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
26895 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
26896 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
26897 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
26898 (
26899 cat <<\_ASBOX
26900 ## ----------------------------------------- ##
26901 ## Report this to wx-dev@lists.wxwidgets.org ##
26902 ## ----------------------------------------- ##
26903 _ASBOX
26904 ) |
26905 sed "s/^/$as_me: WARNING: /" >&2
26906 ;;
26907 esac
26908 echo "$as_me:$LINENO: checking for sql.h" >&5
26909 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26910 if test "${ac_cv_header_sql_h+set}" = set; then
26911 echo $ECHO_N "(cached) $ECHO_C" >&6
26912 else
26913 ac_cv_header_sql_h=$ac_header_preproc
26914 fi
26915 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26916 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26917
26918 fi
26919 if test $ac_cv_header_sql_h = yes; then
26920 found_sql_h=1
26921 fi
26922
26923
26924 if test "x$found_sql_h" = "x1" ; then
26925 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
26926 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
26927 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
26928 echo $ECHO_N "(cached) $ECHO_C" >&6
26929 else
26930 ac_check_lib_save_LIBS=$LIBS
26931 LIBS="-liodbc $LIBS"
26932 cat >conftest.$ac_ext <<_ACEOF
26933 /* confdefs.h. */
26934 _ACEOF
26935 cat confdefs.h >>conftest.$ac_ext
26936 cat >>conftest.$ac_ext <<_ACEOF
26937 /* end confdefs.h. */
26938
26939 /* Override any gcc2 internal prototype to avoid an error. */
26940 #ifdef __cplusplus
26941 extern "C"
26942 #endif
26943 /* We use char because int might match the return type of a gcc2
26944 builtin and then its argument prototype would still apply. */
26945 char SQLAllocEnv ();
26946 int
26947 main ()
26948 {
26949 SQLAllocEnv ();
26950 ;
26951 return 0;
26952 }
26953 _ACEOF
26954 rm -f conftest.$ac_objext conftest$ac_exeext
26955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26956 (eval $ac_link) 2>conftest.er1
26957 ac_status=$?
26958 grep -v '^ *+' conftest.er1 >conftest.err
26959 rm -f conftest.er1
26960 cat conftest.err >&5
26961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26962 (exit $ac_status); } &&
26963 { ac_try='test -z "$ac_c_werror_flag"
26964 || test ! -s conftest.err'
26965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26966 (eval $ac_try) 2>&5
26967 ac_status=$?
26968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26969 (exit $ac_status); }; } &&
26970 { ac_try='test -s conftest$ac_exeext'
26971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26972 (eval $ac_try) 2>&5
26973 ac_status=$?
26974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26975 (exit $ac_status); }; }; then
26976 ac_cv_lib_iodbc_SQLAllocEnv=yes
26977 else
26978 echo "$as_me: failed program was:" >&5
26979 sed 's/^/| /' conftest.$ac_ext >&5
26980
26981 ac_cv_lib_iodbc_SQLAllocEnv=no
26982 fi
26983 rm -f conftest.err conftest.$ac_objext \
26984 conftest$ac_exeext conftest.$ac_ext
26985 LIBS=$ac_check_lib_save_LIBS
26986 fi
26987 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
26988 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
26989 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
26990 ODBC_LINK=" -liodbc"
26991 else
26992
26993 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
26994 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
26995 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
26996 echo $ECHO_N "(cached) $ECHO_C" >&6
26997 else
26998 ac_check_lib_save_LIBS=$LIBS
26999 LIBS="-lunixodbc $LIBS"
27000 cat >conftest.$ac_ext <<_ACEOF
27001 /* confdefs.h. */
27002 _ACEOF
27003 cat confdefs.h >>conftest.$ac_ext
27004 cat >>conftest.$ac_ext <<_ACEOF
27005 /* end confdefs.h. */
27006
27007 /* Override any gcc2 internal prototype to avoid an error. */
27008 #ifdef __cplusplus
27009 extern "C"
27010 #endif
27011 /* We use char because int might match the return type of a gcc2
27012 builtin and then its argument prototype would still apply. */
27013 char SQLAllocEnv ();
27014 int
27015 main ()
27016 {
27017 SQLAllocEnv ();
27018 ;
27019 return 0;
27020 }
27021 _ACEOF
27022 rm -f conftest.$ac_objext conftest$ac_exeext
27023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27024 (eval $ac_link) 2>conftest.er1
27025 ac_status=$?
27026 grep -v '^ *+' conftest.er1 >conftest.err
27027 rm -f conftest.er1
27028 cat conftest.err >&5
27029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27030 (exit $ac_status); } &&
27031 { ac_try='test -z "$ac_c_werror_flag"
27032 || test ! -s conftest.err'
27033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27034 (eval $ac_try) 2>&5
27035 ac_status=$?
27036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27037 (exit $ac_status); }; } &&
27038 { ac_try='test -s conftest$ac_exeext'
27039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27040 (eval $ac_try) 2>&5
27041 ac_status=$?
27042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27043 (exit $ac_status); }; }; then
27044 ac_cv_lib_unixodbc_SQLAllocEnv=yes
27045 else
27046 echo "$as_me: failed program was:" >&5
27047 sed 's/^/| /' conftest.$ac_ext >&5
27048
27049 ac_cv_lib_unixodbc_SQLAllocEnv=no
27050 fi
27051 rm -f conftest.err conftest.$ac_objext \
27052 conftest$ac_exeext conftest.$ac_ext
27053 LIBS=$ac_check_lib_save_LIBS
27054 fi
27055 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
27056 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
27057 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
27058 ODBC_LINK=" -lunixodbc"
27059 else
27060
27061 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
27062 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
27063 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
27064 echo $ECHO_N "(cached) $ECHO_C" >&6
27065 else
27066 ac_check_lib_save_LIBS=$LIBS
27067 LIBS="-lodbc $LIBS"
27068 cat >conftest.$ac_ext <<_ACEOF
27069 /* confdefs.h. */
27070 _ACEOF
27071 cat confdefs.h >>conftest.$ac_ext
27072 cat >>conftest.$ac_ext <<_ACEOF
27073 /* end confdefs.h. */
27074
27075 /* Override any gcc2 internal prototype to avoid an error. */
27076 #ifdef __cplusplus
27077 extern "C"
27078 #endif
27079 /* We use char because int might match the return type of a gcc2
27080 builtin and then its argument prototype would still apply. */
27081 char SQLAllocEnv ();
27082 int
27083 main ()
27084 {
27085 SQLAllocEnv ();
27086 ;
27087 return 0;
27088 }
27089 _ACEOF
27090 rm -f conftest.$ac_objext conftest$ac_exeext
27091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27092 (eval $ac_link) 2>conftest.er1
27093 ac_status=$?
27094 grep -v '^ *+' conftest.er1 >conftest.err
27095 rm -f conftest.er1
27096 cat conftest.err >&5
27097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27098 (exit $ac_status); } &&
27099 { ac_try='test -z "$ac_c_werror_flag"
27100 || test ! -s conftest.err'
27101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27102 (eval $ac_try) 2>&5
27103 ac_status=$?
27104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27105 (exit $ac_status); }; } &&
27106 { ac_try='test -s conftest$ac_exeext'
27107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27108 (eval $ac_try) 2>&5
27109 ac_status=$?
27110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27111 (exit $ac_status); }; }; then
27112 ac_cv_lib_odbc_SQLAllocEnv=yes
27113 else
27114 echo "$as_me: failed program was:" >&5
27115 sed 's/^/| /' conftest.$ac_ext >&5
27116
27117 ac_cv_lib_odbc_SQLAllocEnv=no
27118 fi
27119 rm -f conftest.err conftest.$ac_objext \
27120 conftest$ac_exeext conftest.$ac_ext
27121 LIBS=$ac_check_lib_save_LIBS
27122 fi
27123 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
27124 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
27125 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
27126 ODBC_LINK=" -lodbc"
27127 fi
27128
27129
27130 fi
27131
27132
27133 fi
27134
27135 fi
27136 if test "x$ODBC_LINK" = "x" ; then
27137 if test "$wxUSE_ODBC" = "sys" ; then
27138 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
27139 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
27140 { (exit 1); exit 1; }; }
27141 else
27142 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
27143 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
27144 wxUSE_ODBC=builtin
27145 fi
27146 else
27147 wxUSE_ODBC=sys
27148 fi
27149 fi
27150 if test "$wxUSE_ODBC" != "no" ; then
27151 cat >>confdefs.h <<\_ACEOF
27152 #define wxUSE_ODBC 1
27153 _ACEOF
27154
27155 if test "$wxUSE_ODBC" = "builtin" ; then
27156 cat >>confdefs.h <<\_ACEOF
27157 #define wxUSE_BUILTIN_IODBC 1
27158 _ACEOF
27159
27160 fi
27161 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
27162
27163 WXODBCFLAG="-D_IODBC_"
27164 fi
27165 fi
27166
27167
27168
27169 if test "$wxUSE_DISPLAY" = "yes"; then
27170 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
27171 echo "$as_me:$LINENO: checking for Xinerama" >&5
27172 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
27173
27174 ac_find_libraries=
27175 for ac_dir in $SEARCH_LIB /usr/lib;
27176 do
27177 for ac_extension in a so sl dylib; do
27178 if test -f "$ac_dir/libXinerama.$ac_extension"; then
27179 ac_find_libraries=$ac_dir
27180 break 2
27181 fi
27182 done
27183 done
27184
27185 if test "$ac_find_libraries" != "" ; then
27186
27187 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27188 result=$?
27189 if test $result = 0; then
27190 ac_path_to_link=""
27191 else
27192 ac_path_to_link=" -L$ac_find_libraries"
27193 fi
27194
27195 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27196 LDFLAGS="$LDFLAGS $ac_path_to_link"
27197 fi
27198 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
27199 echo "$as_me:$LINENO: result: yes" >&5
27200 echo "${ECHO_T}yes" >&6
27201
27202 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
27203 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
27204
27205 ac_find_libraries=
27206 for ac_dir in $SEARCH_LIB /usr/lib;
27207 do
27208 for ac_extension in a so sl dylib; do
27209 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27210 ac_find_libraries=$ac_dir
27211 break 2
27212 fi
27213 done
27214 done
27215
27216 if test "$ac_find_libraries" != "" ; then
27217 echo "$as_me:$LINENO: result: yes" >&5
27218 echo "${ECHO_T}yes" >&6
27219
27220 for ac_header in X11/extensions/xf86vmode.h
27221 do
27222 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27223 echo "$as_me:$LINENO: checking for $ac_header" >&5
27224 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27225 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27226 echo $ECHO_N "(cached) $ECHO_C" >&6
27227 else
27228 cat >conftest.$ac_ext <<_ACEOF
27229 /* confdefs.h. */
27230 _ACEOF
27231 cat confdefs.h >>conftest.$ac_ext
27232 cat >>conftest.$ac_ext <<_ACEOF
27233 /* end confdefs.h. */
27234
27235 #if HAVE_X11_XLIB_H
27236 #include <X11/Xlib.h>
27237 #endif
27238
27239
27240 #include <$ac_header>
27241 _ACEOF
27242 rm -f conftest.$ac_objext
27243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27244 (eval $ac_compile) 2>conftest.er1
27245 ac_status=$?
27246 grep -v '^ *+' conftest.er1 >conftest.err
27247 rm -f conftest.er1
27248 cat conftest.err >&5
27249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27250 (exit $ac_status); } &&
27251 { ac_try='test -z "$ac_c_werror_flag"
27252 || test ! -s conftest.err'
27253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27254 (eval $ac_try) 2>&5
27255 ac_status=$?
27256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27257 (exit $ac_status); }; } &&
27258 { ac_try='test -s conftest.$ac_objext'
27259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27260 (eval $ac_try) 2>&5
27261 ac_status=$?
27262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27263 (exit $ac_status); }; }; then
27264 eval "$as_ac_Header=yes"
27265 else
27266 echo "$as_me: failed program was:" >&5
27267 sed 's/^/| /' conftest.$ac_ext >&5
27268
27269 eval "$as_ac_Header=no"
27270 fi
27271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27272 fi
27273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27274 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27275 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27276 cat >>confdefs.h <<_ACEOF
27277 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27278 _ACEOF
27279
27280 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
27281
27282 fi
27283
27284 done
27285
27286 else
27287 echo "$as_me:$LINENO: result: no" >&5
27288 echo "${ECHO_T}no" >&6
27289 fi
27290
27291 else
27292 echo "$as_me:$LINENO: result: no" >&5
27293 echo "${ECHO_T}no" >&6
27294 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
27295 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
27296 wxUSE_DISPLAY="no"
27297 fi
27298 elif test "$wxUSE_MSW" = 1; then
27299
27300
27301 for ac_header in multimon.h ddraw.h
27302 do
27303 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27304 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27305 echo "$as_me:$LINENO: checking for $ac_header" >&5
27306 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27307 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27308 echo $ECHO_N "(cached) $ECHO_C" >&6
27309 fi
27310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27311 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27312 else
27313 # Is the header compilable?
27314 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27315 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27316 cat >conftest.$ac_ext <<_ACEOF
27317 /* confdefs.h. */
27318 _ACEOF
27319 cat confdefs.h >>conftest.$ac_ext
27320 cat >>conftest.$ac_ext <<_ACEOF
27321 /* end confdefs.h. */
27322 $ac_includes_default
27323 #include <$ac_header>
27324 _ACEOF
27325 rm -f conftest.$ac_objext
27326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27327 (eval $ac_compile) 2>conftest.er1
27328 ac_status=$?
27329 grep -v '^ *+' conftest.er1 >conftest.err
27330 rm -f conftest.er1
27331 cat conftest.err >&5
27332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27333 (exit $ac_status); } &&
27334 { ac_try='test -z "$ac_c_werror_flag"
27335 || test ! -s conftest.err'
27336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27337 (eval $ac_try) 2>&5
27338 ac_status=$?
27339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27340 (exit $ac_status); }; } &&
27341 { ac_try='test -s conftest.$ac_objext'
27342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27343 (eval $ac_try) 2>&5
27344 ac_status=$?
27345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27346 (exit $ac_status); }; }; then
27347 ac_header_compiler=yes
27348 else
27349 echo "$as_me: failed program was:" >&5
27350 sed 's/^/| /' conftest.$ac_ext >&5
27351
27352 ac_header_compiler=no
27353 fi
27354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27355 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27356 echo "${ECHO_T}$ac_header_compiler" >&6
27357
27358 # Is the header present?
27359 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27360 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27361 cat >conftest.$ac_ext <<_ACEOF
27362 /* confdefs.h. */
27363 _ACEOF
27364 cat confdefs.h >>conftest.$ac_ext
27365 cat >>conftest.$ac_ext <<_ACEOF
27366 /* end confdefs.h. */
27367 #include <$ac_header>
27368 _ACEOF
27369 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27370 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27371 ac_status=$?
27372 grep -v '^ *+' conftest.er1 >conftest.err
27373 rm -f conftest.er1
27374 cat conftest.err >&5
27375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27376 (exit $ac_status); } >/dev/null; then
27377 if test -s conftest.err; then
27378 ac_cpp_err=$ac_c_preproc_warn_flag
27379 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27380 else
27381 ac_cpp_err=
27382 fi
27383 else
27384 ac_cpp_err=yes
27385 fi
27386 if test -z "$ac_cpp_err"; then
27387 ac_header_preproc=yes
27388 else
27389 echo "$as_me: failed program was:" >&5
27390 sed 's/^/| /' conftest.$ac_ext >&5
27391
27392 ac_header_preproc=no
27393 fi
27394 rm -f conftest.err conftest.$ac_ext
27395 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27396 echo "${ECHO_T}$ac_header_preproc" >&6
27397
27398 # So? What about this header?
27399 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27400 yes:no: )
27401 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27402 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27403 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27404 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27405 ac_header_preproc=yes
27406 ;;
27407 no:yes:* )
27408 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27409 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27410 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27411 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27412 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27413 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27414 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27415 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27416 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27417 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27418 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27419 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27420 (
27421 cat <<\_ASBOX
27422 ## ----------------------------------------- ##
27423 ## Report this to wx-dev@lists.wxwidgets.org ##
27424 ## ----------------------------------------- ##
27425 _ASBOX
27426 ) |
27427 sed "s/^/$as_me: WARNING: /" >&2
27428 ;;
27429 esac
27430 echo "$as_me:$LINENO: checking for $ac_header" >&5
27431 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27432 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27433 echo $ECHO_N "(cached) $ECHO_C" >&6
27434 else
27435 eval "$as_ac_Header=\$ac_header_preproc"
27436 fi
27437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27438 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27439
27440 fi
27441 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27442 cat >>confdefs.h <<_ACEOF
27443 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27444 _ACEOF
27445
27446 else
27447
27448 wxUSE_DISPLAY="no"
27449 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
27450 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
27451
27452 fi
27453
27454 done
27455
27456 fi
27457 fi
27458
27459
27460 USE_OPENGL=0
27461 if test "$wxUSE_OPENGL" = "yes"; then
27462 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27463 OPENGL_LIBS="-framework OpenGL -framework AGL"
27464 elif test "$wxUSE_MSW" = 1; then
27465 OPENGL_LIBS="-lopengl32 -lglu32"
27466 else
27467
27468
27469 ac_find_includes=
27470 for ac_dir in $SEARCH_INCLUDE /usr/include;
27471 do
27472 if test -f "$ac_dir/GL/gl.h"; then
27473 ac_find_includes=$ac_dir
27474 break
27475 fi
27476 done
27477
27478 if test "$ac_find_includes" != "" ; then
27479 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27480 echo "${ECHO_T}found in $ac_find_includes" >&6
27481
27482 if test "x$ac_find_includes" = "x/usr/include"; then
27483 ac_path_to_include=""
27484 else
27485 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
27486 result=$?
27487 if test $result = 0; then
27488 ac_path_to_include=""
27489 else
27490 ac_path_to_include=" -I$ac_find_includes"
27491 fi
27492 fi
27493
27494 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
27495 fi
27496
27497 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27498 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27499 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27500 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27501 echo $ECHO_N "(cached) $ECHO_C" >&6
27502 fi
27503 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27504 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27505 else
27506 # Is the header compilable?
27507 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
27508 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
27509 cat >conftest.$ac_ext <<_ACEOF
27510 /* confdefs.h. */
27511 _ACEOF
27512 cat confdefs.h >>conftest.$ac_ext
27513 cat >>conftest.$ac_ext <<_ACEOF
27514 /* end confdefs.h. */
27515 $ac_includes_default
27516 #include <GL/gl.h>
27517 _ACEOF
27518 rm -f conftest.$ac_objext
27519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27520 (eval $ac_compile) 2>conftest.er1
27521 ac_status=$?
27522 grep -v '^ *+' conftest.er1 >conftest.err
27523 rm -f conftest.er1
27524 cat conftest.err >&5
27525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27526 (exit $ac_status); } &&
27527 { ac_try='test -z "$ac_c_werror_flag"
27528 || test ! -s conftest.err'
27529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27530 (eval $ac_try) 2>&5
27531 ac_status=$?
27532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27533 (exit $ac_status); }; } &&
27534 { ac_try='test -s conftest.$ac_objext'
27535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27536 (eval $ac_try) 2>&5
27537 ac_status=$?
27538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27539 (exit $ac_status); }; }; then
27540 ac_header_compiler=yes
27541 else
27542 echo "$as_me: failed program was:" >&5
27543 sed 's/^/| /' conftest.$ac_ext >&5
27544
27545 ac_header_compiler=no
27546 fi
27547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27548 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27549 echo "${ECHO_T}$ac_header_compiler" >&6
27550
27551 # Is the header present?
27552 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
27553 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
27554 cat >conftest.$ac_ext <<_ACEOF
27555 /* confdefs.h. */
27556 _ACEOF
27557 cat confdefs.h >>conftest.$ac_ext
27558 cat >>conftest.$ac_ext <<_ACEOF
27559 /* end confdefs.h. */
27560 #include <GL/gl.h>
27561 _ACEOF
27562 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27563 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27564 ac_status=$?
27565 grep -v '^ *+' conftest.er1 >conftest.err
27566 rm -f conftest.er1
27567 cat conftest.err >&5
27568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27569 (exit $ac_status); } >/dev/null; then
27570 if test -s conftest.err; then
27571 ac_cpp_err=$ac_c_preproc_warn_flag
27572 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27573 else
27574 ac_cpp_err=
27575 fi
27576 else
27577 ac_cpp_err=yes
27578 fi
27579 if test -z "$ac_cpp_err"; then
27580 ac_header_preproc=yes
27581 else
27582 echo "$as_me: failed program was:" >&5
27583 sed 's/^/| /' conftest.$ac_ext >&5
27584
27585 ac_header_preproc=no
27586 fi
27587 rm -f conftest.err conftest.$ac_ext
27588 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27589 echo "${ECHO_T}$ac_header_preproc" >&6
27590
27591 # So? What about this header?
27592 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27593 yes:no: )
27594 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27595 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27596 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
27597 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
27598 ac_header_preproc=yes
27599 ;;
27600 no:yes:* )
27601 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
27602 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
27603 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
27604 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
27605 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
27606 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
27607 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
27608 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
27609 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
27610 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
27611 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
27612 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
27613 (
27614 cat <<\_ASBOX
27615 ## ----------------------------------------- ##
27616 ## Report this to wx-dev@lists.wxwidgets.org ##
27617 ## ----------------------------------------- ##
27618 _ASBOX
27619 ) |
27620 sed "s/^/$as_me: WARNING: /" >&2
27621 ;;
27622 esac
27623 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27624 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27625 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27626 echo $ECHO_N "(cached) $ECHO_C" >&6
27627 else
27628 ac_cv_header_GL_gl_h=$ac_header_preproc
27629 fi
27630 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27631 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27632
27633 fi
27634 if test $ac_cv_header_GL_gl_h = yes; then
27635
27636 found_gl=0
27637
27638 echo "$as_me:$LINENO: checking for -lGL" >&5
27639 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
27640
27641 ac_find_libraries=
27642 for ac_dir in $SEARCH_LIB /usr/lib;
27643 do
27644 for ac_extension in a so sl dylib; do
27645 if test -f "$ac_dir/libGL.$ac_extension"; then
27646 ac_find_libraries=$ac_dir
27647 break 2
27648 fi
27649 done
27650 done
27651
27652 if test "$ac_find_libraries" != "" ; then
27653
27654 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27655 result=$?
27656 if test $result = 0; then
27657 ac_path_to_link=""
27658 else
27659 ac_path_to_link=" -L$ac_find_libraries"
27660 fi
27661
27662 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27663 LDFLAGS_GL="$ac_path_to_link"
27664 fi
27665
27666
27667 ac_find_libraries=
27668 for ac_dir in $SEARCH_LIB /usr/lib;
27669 do
27670 for ac_extension in a so sl dylib; do
27671 if test -f "$ac_dir/libGLU.$ac_extension"; then
27672 ac_find_libraries=$ac_dir
27673 break 2
27674 fi
27675 done
27676 done
27677
27678 if test "$ac_find_libraries" != "" ; then
27679
27680 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27681 result=$?
27682 if test $result = 0; then
27683 ac_path_to_link=""
27684 else
27685 ac_path_to_link=" -L$ac_find_libraries"
27686 fi
27687
27688 if test "$ac_path_to_link" != " -L/usr/lib" -a \
27689 "$ac_path_to_link" != "$LDFLAGS_GL"; then
27690 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
27691 fi
27692
27693 found_gl=1
27694 OPENGL_LIBS="-lGL -lGLU"
27695 echo "$as_me:$LINENO: result: yes" >&5
27696 echo "${ECHO_T}yes" >&6
27697 fi
27698 fi
27699
27700 if test "$found_gl" != 1; then
27701 echo "$as_me:$LINENO: result: no" >&5
27702 echo "${ECHO_T}no" >&6
27703 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
27704 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
27705
27706 ac_find_libraries=
27707 for ac_dir in $SEARCH_LIB /usr/lib;
27708 do
27709 for ac_extension in a so sl dylib; do
27710 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
27711 ac_find_libraries=$ac_dir
27712 break 2
27713 fi
27714 done
27715 done
27716
27717 if test "$ac_find_libraries" != "" ; then
27718
27719 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27720 result=$?
27721 if test $result = 0; then
27722 ac_path_to_link=""
27723 else
27724 ac_path_to_link=" -L$ac_find_libraries"
27725 fi
27726
27727 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
27728 OPENGL_LIBS="-lMesaGL -lMesaGLU"
27729 echo "$as_me:$LINENO: result: yes" >&5
27730 echo "${ECHO_T}yes" >&6
27731 else
27732 echo "$as_me:$LINENO: result: no" >&5
27733 echo "${ECHO_T}no" >&6
27734 fi
27735 fi
27736
27737 fi
27738
27739
27740
27741 if test "x$OPENGL_LIBS" = "x"; then
27742 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
27743 echo "$as_me: error: OpenGL libraries not available" >&2;}
27744 { (exit 1); exit 1; }; }
27745 fi
27746 fi
27747
27748 if test "$wxUSE_OPENGL" = "yes"; then
27749 USE_OPENGL=1
27750 cat >>confdefs.h <<\_ACEOF
27751 #define wxUSE_OPENGL 1
27752 _ACEOF
27753
27754 cat >>confdefs.h <<\_ACEOF
27755 #define wxUSE_GLCANVAS 1
27756 _ACEOF
27757
27758 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
27759 fi
27760 fi
27761
27762
27763 if test -n "$TOOLKIT" ; then
27764 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
27765 fi
27766
27767
27768
27769 if test "$wxUSE_SHARED" = "yes"; then
27770 case "${host}" in
27771 *-pc-msdosdjgpp )
27772 wxUSE_SHARED=no
27773 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
27774 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
27775 ;;
27776 esac
27777 fi
27778
27779 if test "$wxUSE_SHARED" = "yes"; then
27780
27781
27782 found_versioning=no
27783
27784
27785 if test $found_versioning = no ; then
27786 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
27787 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
27788 if test "${wx_cv_version_script+set}" = set; then
27789 echo $ECHO_N "(cached) $ECHO_C" >&6
27790 else
27791
27792 echo "VER_1 { *; };" >conftest.sym
27793 echo "int main() { return 0; }" >conftest.cpp
27794
27795 if { ac_try='
27796 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
27797 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
27798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27799 (eval $ac_try) 2>&5
27800 ac_status=$?
27801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27802 (exit $ac_status); }; } ; then
27803 if test -s conftest.stderr ; then
27804 wx_cv_version_script=no
27805 else
27806 wx_cv_version_script=yes
27807 fi
27808 else
27809 wx_cv_version_script=no
27810 fi
27811 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
27812
27813 fi
27814 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
27815 echo "${ECHO_T}$wx_cv_version_script" >&6
27816 if test $wx_cv_version_script = yes ; then
27817 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
27818 fi
27819 fi
27820
27821
27822 case "${host}" in
27823 *-*-linux* | *-*-gnu* )
27824 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
27825 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
27826 ;;
27827
27828 *-*-solaris2* )
27829 if test "$GCC" = yes ; then
27830 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
27831
27832 saveLdflags="$LDFLAGS"
27833 LDFLAGS="$saveLdflags -Wl,-rpath,/"
27834 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
27835 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
27836 cat >conftest.$ac_ext <<_ACEOF
27837 /* confdefs.h. */
27838 _ACEOF
27839 cat confdefs.h >>conftest.$ac_ext
27840 cat >>conftest.$ac_ext <<_ACEOF
27841 /* end confdefs.h. */
27842
27843 int
27844 main ()
27845 {
27846
27847 ;
27848 return 0;
27849 }
27850 _ACEOF
27851 rm -f conftest.$ac_objext conftest$ac_exeext
27852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27853 (eval $ac_link) 2>conftest.er1
27854 ac_status=$?
27855 grep -v '^ *+' conftest.er1 >conftest.err
27856 rm -f conftest.er1
27857 cat conftest.err >&5
27858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27859 (exit $ac_status); } &&
27860 { ac_try='test -z "$ac_c_werror_flag"
27861 || test ! -s conftest.err'
27862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27863 (eval $ac_try) 2>&5
27864 ac_status=$?
27865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27866 (exit $ac_status); }; } &&
27867 { ac_try='test -s conftest$ac_exeext'
27868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27869 (eval $ac_try) 2>&5
27870 ac_status=$?
27871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27872 (exit $ac_status); }; }; then
27873
27874 echo "$as_me:$LINENO: result: yes" >&5
27875 echo "${ECHO_T}yes" >&6
27876 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
27877 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
27878
27879 else
27880 echo "$as_me: failed program was:" >&5
27881 sed 's/^/| /' conftest.$ac_ext >&5
27882
27883
27884 echo "$as_me:$LINENO: result: no" >&5
27885 echo "${ECHO_T}no" >&6
27886 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
27887 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
27888 LDFLAGS="$saveLdflags -Wl,-R,/"
27889 cat >conftest.$ac_ext <<_ACEOF
27890 /* confdefs.h. */
27891 _ACEOF
27892 cat confdefs.h >>conftest.$ac_ext
27893 cat >>conftest.$ac_ext <<_ACEOF
27894 /* end confdefs.h. */
27895
27896 int
27897 main ()
27898 {
27899
27900 ;
27901 return 0;
27902 }
27903 _ACEOF
27904 rm -f conftest.$ac_objext conftest$ac_exeext
27905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27906 (eval $ac_link) 2>conftest.er1
27907 ac_status=$?
27908 grep -v '^ *+' conftest.er1 >conftest.err
27909 rm -f conftest.er1
27910 cat conftest.err >&5
27911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27912 (exit $ac_status); } &&
27913 { ac_try='test -z "$ac_c_werror_flag"
27914 || test ! -s conftest.err'
27915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27916 (eval $ac_try) 2>&5
27917 ac_status=$?
27918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27919 (exit $ac_status); }; } &&
27920 { ac_try='test -s conftest$ac_exeext'
27921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27922 (eval $ac_try) 2>&5
27923 ac_status=$?
27924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27925 (exit $ac_status); }; }; then
27926
27927 echo "$as_me:$LINENO: result: yes" >&5
27928 echo "${ECHO_T}yes" >&6
27929 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
27930 WXCONFIG_RPATH="-Wl,-R,\$libdir"
27931
27932 else
27933 echo "$as_me: failed program was:" >&5
27934 sed 's/^/| /' conftest.$ac_ext >&5
27935
27936
27937 echo "$as_me:$LINENO: result: no" >&5
27938 echo "${ECHO_T}no" >&6
27939
27940 fi
27941 rm -f conftest.err conftest.$ac_objext \
27942 conftest$ac_exeext conftest.$ac_ext
27943
27944 fi
27945 rm -f conftest.err conftest.$ac_objext \
27946 conftest$ac_exeext conftest.$ac_ext
27947 LDFLAGS="$saveLdflags"
27948 else
27949 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
27950 WXCONFIG_RPATH="-R\$libdir"
27951 fi
27952 ;;
27953
27954 powerpc-*-darwin* )
27955 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
27956 cat <<EOF >change-install-names
27957 #!/bin/sh
27958 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
27959 inst_cmd="install_name_tool "
27960 for i in \${libnames} ; do
27961 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
27962 done
27963 \${inst_cmd} \${3}
27964 EOF
27965 chmod +x change-install-names
27966 ;;
27967
27968 *-*-cygwin* | *-*-mingw32* )
27969 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
27970 ;;
27971
27972 esac
27973
27974 if test $wxUSE_RPATH = "no"; then
27975 SAMPLES_RPATH_FLAG=''
27976 SAMPLES_RPATH_POSTLINK=''
27977 WXCONFIG_RPATH=''
27978 fi
27979
27980 SHARED=1
27981
27982 else
27983
27984 config_linkage_component="-static"
27985 SHARED=0
27986
27987 fi
27988
27989
27990 UNICODE=0
27991 lib_unicode_suffix=
27992 WX_CHARTYPE="ansi"
27993 if test "$wxUSE_UNICODE" = "yes"; then
27994 lib_unicode_suffix=u
27995 WX_CHARTYPE="unicode"
27996 UNICODE=1
27997 fi
27998
27999 lib_debug_suffix=
28000 WX_DEBUGTYPE="release"
28001 DEBUG_FLAG=0
28002 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
28003 lib_debug_suffix=d
28004 WX_DEBUGTYPE="debug"
28005 DEBUG_FLAG=1
28006 fi
28007
28008 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
28009 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
28010
28011 DEBUG_INFO=0
28012 if test "$wxUSE_DEBUG_INFO" = "yes"; then
28013 DEBUG_INFO=1
28014 fi
28015
28016 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
28017
28018 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
28019
28020 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
28021
28022 if test "$cross_compiling" = "yes"; then
28023 HOST_SUFFIX="-$host_alias"
28024 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
28025 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
28026 fi
28027
28028 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
28029 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
28030
28031
28032
28033 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
28034 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${WX_CURRENT}.r"
28035 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${WX_CURRENT}.rsrc"
28036
28037 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
28038
28039 # Extract the first word of "Rez", so it can be a program name with args.
28040 set dummy Rez; ac_word=$2
28041 echo "$as_me:$LINENO: checking for $ac_word" >&5
28042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28043 if test "${ac_cv_prog_RESCOMP+set}" = set; then
28044 echo $ECHO_N "(cached) $ECHO_C" >&6
28045 else
28046 if test -n "$RESCOMP"; then
28047 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
28048 else
28049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28050 for as_dir in $PATH
28051 do
28052 IFS=$as_save_IFS
28053 test -z "$as_dir" && as_dir=.
28054 for ac_exec_ext in '' $ac_executable_extensions; do
28055 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28056 ac_cv_prog_RESCOMP="Rez"
28057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28058 break 2
28059 fi
28060 done
28061 done
28062
28063 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
28064 fi
28065 fi
28066 RESCOMP=$ac_cv_prog_RESCOMP
28067 if test -n "$RESCOMP"; then
28068 echo "$as_me:$LINENO: result: $RESCOMP" >&5
28069 echo "${ECHO_T}$RESCOMP" >&6
28070 else
28071 echo "$as_me:$LINENO: result: no" >&5
28072 echo "${ECHO_T}no" >&6
28073 fi
28074
28075 # Extract the first word of "DeRez", so it can be a program name with args.
28076 set dummy DeRez; ac_word=$2
28077 echo "$as_me:$LINENO: checking for $ac_word" >&5
28078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28079 if test "${ac_cv_prog_DEREZ+set}" = set; then
28080 echo $ECHO_N "(cached) $ECHO_C" >&6
28081 else
28082 if test -n "$DEREZ"; then
28083 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
28084 else
28085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28086 for as_dir in $PATH
28087 do
28088 IFS=$as_save_IFS
28089 test -z "$as_dir" && as_dir=.
28090 for ac_exec_ext in '' $ac_executable_extensions; do
28091 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28092 ac_cv_prog_DEREZ="DeRez"
28093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28094 break 2
28095 fi
28096 done
28097 done
28098
28099 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
28100 fi
28101 fi
28102 DEREZ=$ac_cv_prog_DEREZ
28103 if test -n "$DEREZ"; then
28104 echo "$as_me:$LINENO: result: $DEREZ" >&5
28105 echo "${ECHO_T}$DEREZ" >&6
28106 else
28107 echo "$as_me:$LINENO: result: no" >&5
28108 echo "${ECHO_T}no" >&6
28109 fi
28110
28111 # Extract the first word of "SetFile", so it can be a program name with args.
28112 set dummy SetFile; ac_word=$2
28113 echo "$as_me:$LINENO: checking for $ac_word" >&5
28114 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28115 if test "${ac_cv_prog_SETFILE+set}" = set; then
28116 echo $ECHO_N "(cached) $ECHO_C" >&6
28117 else
28118 if test -n "$SETFILE"; then
28119 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
28120 else
28121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28122 for as_dir in $PATH
28123 do
28124 IFS=$as_save_IFS
28125 test -z "$as_dir" && as_dir=.
28126 for ac_exec_ext in '' $ac_executable_extensions; do
28127 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28128 ac_cv_prog_SETFILE="SetFile"
28129 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28130 break 2
28131 fi
28132 done
28133 done
28134
28135 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
28136 fi
28137 fi
28138 SETFILE=$ac_cv_prog_SETFILE
28139 if test -n "$SETFILE"; then
28140 echo "$as_me:$LINENO: result: $SETFILE" >&5
28141 echo "${ECHO_T}$SETFILE" >&6
28142 else
28143 echo "$as_me:$LINENO: result: no" >&5
28144 echo "${ECHO_T}no" >&6
28145 fi
28146
28147
28148 MACSETFILE="\$(SETFILE)"
28149
28150 if test "$wxUSE_MAC" = 1; then
28151 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
28152
28153 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28154 else
28155 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
28156 MACRESWXCONFIG="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28157 fi
28158 else
28159 MACSETFILE="@true"
28160 MACRESWXCONFIG="@true"
28161
28162 if test "$wxUSE_PM" = 1; then
28163 MACRESCOMP="emxbind -ep"
28164 else
28165 MACRESCOMP="@true"
28166 fi
28167 fi
28168
28169
28170
28171 echo "$as_me:$LINENO: checking for mode_t" >&5
28172 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
28173 if test "${ac_cv_type_mode_t+set}" = set; then
28174 echo $ECHO_N "(cached) $ECHO_C" >&6
28175 else
28176 cat >conftest.$ac_ext <<_ACEOF
28177 /* confdefs.h. */
28178 _ACEOF
28179 cat confdefs.h >>conftest.$ac_ext
28180 cat >>conftest.$ac_ext <<_ACEOF
28181 /* end confdefs.h. */
28182 $ac_includes_default
28183 int
28184 main ()
28185 {
28186 if ((mode_t *) 0)
28187 return 0;
28188 if (sizeof (mode_t))
28189 return 0;
28190 ;
28191 return 0;
28192 }
28193 _ACEOF
28194 rm -f conftest.$ac_objext
28195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28196 (eval $ac_compile) 2>conftest.er1
28197 ac_status=$?
28198 grep -v '^ *+' conftest.er1 >conftest.err
28199 rm -f conftest.er1
28200 cat conftest.err >&5
28201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28202 (exit $ac_status); } &&
28203 { ac_try='test -z "$ac_c_werror_flag"
28204 || test ! -s conftest.err'
28205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28206 (eval $ac_try) 2>&5
28207 ac_status=$?
28208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28209 (exit $ac_status); }; } &&
28210 { ac_try='test -s conftest.$ac_objext'
28211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28212 (eval $ac_try) 2>&5
28213 ac_status=$?
28214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28215 (exit $ac_status); }; }; then
28216 ac_cv_type_mode_t=yes
28217 else
28218 echo "$as_me: failed program was:" >&5
28219 sed 's/^/| /' conftest.$ac_ext >&5
28220
28221 ac_cv_type_mode_t=no
28222 fi
28223 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28224 fi
28225 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
28226 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
28227 if test $ac_cv_type_mode_t = yes; then
28228 :
28229 else
28230
28231 cat >>confdefs.h <<_ACEOF
28232 #define mode_t int
28233 _ACEOF
28234
28235 fi
28236
28237 echo "$as_me:$LINENO: checking for off_t" >&5
28238 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28239 if test "${ac_cv_type_off_t+set}" = set; then
28240 echo $ECHO_N "(cached) $ECHO_C" >&6
28241 else
28242 cat >conftest.$ac_ext <<_ACEOF
28243 /* confdefs.h. */
28244 _ACEOF
28245 cat confdefs.h >>conftest.$ac_ext
28246 cat >>conftest.$ac_ext <<_ACEOF
28247 /* end confdefs.h. */
28248 $ac_includes_default
28249 int
28250 main ()
28251 {
28252 if ((off_t *) 0)
28253 return 0;
28254 if (sizeof (off_t))
28255 return 0;
28256 ;
28257 return 0;
28258 }
28259 _ACEOF
28260 rm -f conftest.$ac_objext
28261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28262 (eval $ac_compile) 2>conftest.er1
28263 ac_status=$?
28264 grep -v '^ *+' conftest.er1 >conftest.err
28265 rm -f conftest.er1
28266 cat conftest.err >&5
28267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28268 (exit $ac_status); } &&
28269 { ac_try='test -z "$ac_c_werror_flag"
28270 || test ! -s conftest.err'
28271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28272 (eval $ac_try) 2>&5
28273 ac_status=$?
28274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28275 (exit $ac_status); }; } &&
28276 { ac_try='test -s conftest.$ac_objext'
28277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28278 (eval $ac_try) 2>&5
28279 ac_status=$?
28280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28281 (exit $ac_status); }; }; then
28282 ac_cv_type_off_t=yes
28283 else
28284 echo "$as_me: failed program was:" >&5
28285 sed 's/^/| /' conftest.$ac_ext >&5
28286
28287 ac_cv_type_off_t=no
28288 fi
28289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28290 fi
28291 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28292 echo "${ECHO_T}$ac_cv_type_off_t" >&6
28293 if test $ac_cv_type_off_t = yes; then
28294 :
28295 else
28296
28297 cat >>confdefs.h <<_ACEOF
28298 #define off_t long
28299 _ACEOF
28300
28301 fi
28302
28303 echo "$as_me:$LINENO: checking for pid_t" >&5
28304 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
28305 if test "${ac_cv_type_pid_t+set}" = set; then
28306 echo $ECHO_N "(cached) $ECHO_C" >&6
28307 else
28308 cat >conftest.$ac_ext <<_ACEOF
28309 /* confdefs.h. */
28310 _ACEOF
28311 cat confdefs.h >>conftest.$ac_ext
28312 cat >>conftest.$ac_ext <<_ACEOF
28313 /* end confdefs.h. */
28314 $ac_includes_default
28315 int
28316 main ()
28317 {
28318 if ((pid_t *) 0)
28319 return 0;
28320 if (sizeof (pid_t))
28321 return 0;
28322 ;
28323 return 0;
28324 }
28325 _ACEOF
28326 rm -f conftest.$ac_objext
28327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28328 (eval $ac_compile) 2>conftest.er1
28329 ac_status=$?
28330 grep -v '^ *+' conftest.er1 >conftest.err
28331 rm -f conftest.er1
28332 cat conftest.err >&5
28333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28334 (exit $ac_status); } &&
28335 { ac_try='test -z "$ac_c_werror_flag"
28336 || test ! -s conftest.err'
28337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28338 (eval $ac_try) 2>&5
28339 ac_status=$?
28340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28341 (exit $ac_status); }; } &&
28342 { ac_try='test -s conftest.$ac_objext'
28343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28344 (eval $ac_try) 2>&5
28345 ac_status=$?
28346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28347 (exit $ac_status); }; }; then
28348 ac_cv_type_pid_t=yes
28349 else
28350 echo "$as_me: failed program was:" >&5
28351 sed 's/^/| /' conftest.$ac_ext >&5
28352
28353 ac_cv_type_pid_t=no
28354 fi
28355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28356 fi
28357 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28358 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28359 if test $ac_cv_type_pid_t = yes; then
28360 :
28361 else
28362
28363 cat >>confdefs.h <<_ACEOF
28364 #define pid_t int
28365 _ACEOF
28366
28367 fi
28368
28369 echo "$as_me:$LINENO: checking for size_t" >&5
28370 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28371 if test "${ac_cv_type_size_t+set}" = set; then
28372 echo $ECHO_N "(cached) $ECHO_C" >&6
28373 else
28374 cat >conftest.$ac_ext <<_ACEOF
28375 /* confdefs.h. */
28376 _ACEOF
28377 cat confdefs.h >>conftest.$ac_ext
28378 cat >>conftest.$ac_ext <<_ACEOF
28379 /* end confdefs.h. */
28380 $ac_includes_default
28381 int
28382 main ()
28383 {
28384 if ((size_t *) 0)
28385 return 0;
28386 if (sizeof (size_t))
28387 return 0;
28388 ;
28389 return 0;
28390 }
28391 _ACEOF
28392 rm -f conftest.$ac_objext
28393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28394 (eval $ac_compile) 2>conftest.er1
28395 ac_status=$?
28396 grep -v '^ *+' conftest.er1 >conftest.err
28397 rm -f conftest.er1
28398 cat conftest.err >&5
28399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28400 (exit $ac_status); } &&
28401 { ac_try='test -z "$ac_c_werror_flag"
28402 || test ! -s conftest.err'
28403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28404 (eval $ac_try) 2>&5
28405 ac_status=$?
28406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28407 (exit $ac_status); }; } &&
28408 { ac_try='test -s conftest.$ac_objext'
28409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28410 (eval $ac_try) 2>&5
28411 ac_status=$?
28412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28413 (exit $ac_status); }; }; then
28414 ac_cv_type_size_t=yes
28415 else
28416 echo "$as_me: failed program was:" >&5
28417 sed 's/^/| /' conftest.$ac_ext >&5
28418
28419 ac_cv_type_size_t=no
28420 fi
28421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28422 fi
28423 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28424 echo "${ECHO_T}$ac_cv_type_size_t" >&6
28425 if test $ac_cv_type_size_t = yes; then
28426 :
28427 else
28428
28429 cat >>confdefs.h <<_ACEOF
28430 #define size_t unsigned
28431 _ACEOF
28432
28433 fi
28434
28435 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28436 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28437 if test "${ac_cv_type_uid_t+set}" = set; then
28438 echo $ECHO_N "(cached) $ECHO_C" >&6
28439 else
28440 cat >conftest.$ac_ext <<_ACEOF
28441 /* confdefs.h. */
28442 _ACEOF
28443 cat confdefs.h >>conftest.$ac_ext
28444 cat >>conftest.$ac_ext <<_ACEOF
28445 /* end confdefs.h. */
28446 #include <sys/types.h>
28447
28448 _ACEOF
28449 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28450 $EGREP "uid_t" >/dev/null 2>&1; then
28451 ac_cv_type_uid_t=yes
28452 else
28453 ac_cv_type_uid_t=no
28454 fi
28455 rm -f conftest*
28456
28457 fi
28458 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28459 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28460 if test $ac_cv_type_uid_t = no; then
28461
28462 cat >>confdefs.h <<\_ACEOF
28463 #define uid_t int
28464 _ACEOF
28465
28466
28467 cat >>confdefs.h <<\_ACEOF
28468 #define gid_t int
28469 _ACEOF
28470
28471 fi
28472
28473
28474
28475
28476 ac_ext=cc
28477 ac_cpp='$CXXCPP $CPPFLAGS'
28478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28481
28482 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
28483 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
28484 if test "${wx_cv_size_t_is_uint+set}" = set; then
28485 echo $ECHO_N "(cached) $ECHO_C" >&6
28486 else
28487
28488 cat >conftest.$ac_ext <<_ACEOF
28489 /* confdefs.h. */
28490 _ACEOF
28491 cat confdefs.h >>conftest.$ac_ext
28492 cat >>conftest.$ac_ext <<_ACEOF
28493 /* end confdefs.h. */
28494 #include <stddef.h>
28495 int
28496 main ()
28497 {
28498
28499 return 0; }
28500
28501 struct Foo { void foo(size_t); void foo(unsigned int); };
28502
28503 int bar() {
28504
28505 ;
28506 return 0;
28507 }
28508 _ACEOF
28509 rm -f conftest.$ac_objext
28510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28511 (eval $ac_compile) 2>conftest.er1
28512 ac_status=$?
28513 grep -v '^ *+' conftest.er1 >conftest.err
28514 rm -f conftest.er1
28515 cat conftest.err >&5
28516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28517 (exit $ac_status); } &&
28518 { ac_try='test -z "$ac_cxx_werror_flag"
28519 || test ! -s conftest.err'
28520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28521 (eval $ac_try) 2>&5
28522 ac_status=$?
28523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28524 (exit $ac_status); }; } &&
28525 { ac_try='test -s conftest.$ac_objext'
28526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28527 (eval $ac_try) 2>&5
28528 ac_status=$?
28529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28530 (exit $ac_status); }; }; then
28531 wx_cv_size_t_is_uint=no
28532 else
28533 echo "$as_me: failed program was:" >&5
28534 sed 's/^/| /' conftest.$ac_ext >&5
28535
28536 wx_cv_size_t_is_uint=yes
28537
28538 fi
28539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28540
28541
28542 fi
28543 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
28544 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
28545
28546 if test "$wx_cv_size_t_is_uint" = "yes"; then
28547 cat >>confdefs.h <<\_ACEOF
28548 #define wxSIZE_T_IS_UINT 1
28549 _ACEOF
28550
28551 else
28552 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
28553 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
28554 if test "${wx_cv_size_t_is_ulong+set}" = set; then
28555 echo $ECHO_N "(cached) $ECHO_C" >&6
28556 else
28557 cat >conftest.$ac_ext <<_ACEOF
28558 /* confdefs.h. */
28559 _ACEOF
28560 cat confdefs.h >>conftest.$ac_ext
28561 cat >>conftest.$ac_ext <<_ACEOF
28562 /* end confdefs.h. */
28563 #include <stddef.h>
28564 int
28565 main ()
28566 {
28567
28568 return 0; }
28569
28570 struct Foo { void foo(size_t); void foo(unsigned long); };
28571
28572 int bar() {
28573
28574 ;
28575 return 0;
28576 }
28577 _ACEOF
28578 rm -f conftest.$ac_objext
28579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28580 (eval $ac_compile) 2>conftest.er1
28581 ac_status=$?
28582 grep -v '^ *+' conftest.er1 >conftest.err
28583 rm -f conftest.er1
28584 cat conftest.err >&5
28585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28586 (exit $ac_status); } &&
28587 { ac_try='test -z "$ac_cxx_werror_flag"
28588 || test ! -s conftest.err'
28589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28590 (eval $ac_try) 2>&5
28591 ac_status=$?
28592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28593 (exit $ac_status); }; } &&
28594 { ac_try='test -s conftest.$ac_objext'
28595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28596 (eval $ac_try) 2>&5
28597 ac_status=$?
28598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28599 (exit $ac_status); }; }; then
28600 wx_cv_size_t_is_ulong=no
28601 else
28602 echo "$as_me: failed program was:" >&5
28603 sed 's/^/| /' conftest.$ac_ext >&5
28604
28605 wx_cv_size_t_is_ulong=yes
28606
28607 fi
28608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28609
28610 fi
28611 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
28612 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
28613
28614 if test "$wx_cv_size_t_is_ulong" = "yes"; then
28615 cat >>confdefs.h <<\_ACEOF
28616 #define wxSIZE_T_IS_ULONG 1
28617 _ACEOF
28618
28619 fi
28620 fi
28621
28622 ac_ext=c
28623 ac_cpp='$CPP $CPPFLAGS'
28624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28627
28628
28629
28630 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
28631 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
28632 if test "${wx_cv_struct_pw_gecos+set}" = set; then
28633 echo $ECHO_N "(cached) $ECHO_C" >&6
28634 else
28635
28636 cat >conftest.$ac_ext <<_ACEOF
28637 /* confdefs.h. */
28638 _ACEOF
28639 cat confdefs.h >>conftest.$ac_ext
28640 cat >>conftest.$ac_ext <<_ACEOF
28641 /* end confdefs.h. */
28642 #include <pwd.h>
28643 int
28644 main ()
28645 {
28646
28647 char *p;
28648 struct passwd *pw;
28649 p = pw->pw_gecos;
28650
28651 ;
28652 return 0;
28653 }
28654 _ACEOF
28655 rm -f conftest.$ac_objext
28656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28657 (eval $ac_compile) 2>conftest.er1
28658 ac_status=$?
28659 grep -v '^ *+' conftest.er1 >conftest.err
28660 rm -f conftest.er1
28661 cat conftest.err >&5
28662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28663 (exit $ac_status); } &&
28664 { ac_try='test -z "$ac_c_werror_flag"
28665 || test ! -s conftest.err'
28666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28667 (eval $ac_try) 2>&5
28668 ac_status=$?
28669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28670 (exit $ac_status); }; } &&
28671 { ac_try='test -s conftest.$ac_objext'
28672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28673 (eval $ac_try) 2>&5
28674 ac_status=$?
28675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28676 (exit $ac_status); }; }; then
28677
28678 wx_cv_struct_pw_gecos=yes
28679
28680 else
28681 echo "$as_me: failed program was:" >&5
28682 sed 's/^/| /' conftest.$ac_ext >&5
28683
28684
28685 wx_cv_struct_pw_gecos=no
28686
28687
28688 fi
28689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28690
28691
28692 fi
28693 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
28694 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
28695
28696 if test "$wx_cv_struct_pw_gecos" = "yes"; then
28697 cat >>confdefs.h <<\_ACEOF
28698 #define HAVE_PW_GECOS 1
28699 _ACEOF
28700
28701 fi
28702
28703
28704 if test "$wx_cv_sizeof_wchar_t" != "0"; then
28705 cat >>confdefs.h <<\_ACEOF
28706 #define wxUSE_WCHAR_T 1
28707 _ACEOF
28708
28709
28710 WCSLEN_FOUND=0
28711 WCHAR_LINK=
28712
28713 for ac_func in wcslen
28714 do
28715 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28716 echo "$as_me:$LINENO: checking for $ac_func" >&5
28717 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28718 if eval "test \"\${$as_ac_var+set}\" = set"; then
28719 echo $ECHO_N "(cached) $ECHO_C" >&6
28720 else
28721 cat >conftest.$ac_ext <<_ACEOF
28722 /* confdefs.h. */
28723 _ACEOF
28724 cat confdefs.h >>conftest.$ac_ext
28725 cat >>conftest.$ac_ext <<_ACEOF
28726 /* end confdefs.h. */
28727 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28728 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28729 #define $ac_func innocuous_$ac_func
28730
28731 /* System header to define __stub macros and hopefully few prototypes,
28732 which can conflict with char $ac_func (); below.
28733 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28734 <limits.h> exists even on freestanding compilers. */
28735
28736 #ifdef __STDC__
28737 # include <limits.h>
28738 #else
28739 # include <assert.h>
28740 #endif
28741
28742 #undef $ac_func
28743
28744 /* Override any gcc2 internal prototype to avoid an error. */
28745 #ifdef __cplusplus
28746 extern "C"
28747 {
28748 #endif
28749 /* We use char because int might match the return type of a gcc2
28750 builtin and then its argument prototype would still apply. */
28751 char $ac_func ();
28752 /* The GNU C library defines this for functions which it implements
28753 to always fail with ENOSYS. Some functions are actually named
28754 something starting with __ and the normal name is an alias. */
28755 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28756 choke me
28757 #else
28758 char (*f) () = $ac_func;
28759 #endif
28760 #ifdef __cplusplus
28761 }
28762 #endif
28763
28764 int
28765 main ()
28766 {
28767 return f != $ac_func;
28768 ;
28769 return 0;
28770 }
28771 _ACEOF
28772 rm -f conftest.$ac_objext conftest$ac_exeext
28773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28774 (eval $ac_link) 2>conftest.er1
28775 ac_status=$?
28776 grep -v '^ *+' conftest.er1 >conftest.err
28777 rm -f conftest.er1
28778 cat conftest.err >&5
28779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28780 (exit $ac_status); } &&
28781 { ac_try='test -z "$ac_c_werror_flag"
28782 || test ! -s conftest.err'
28783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28784 (eval $ac_try) 2>&5
28785 ac_status=$?
28786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28787 (exit $ac_status); }; } &&
28788 { ac_try='test -s conftest$ac_exeext'
28789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28790 (eval $ac_try) 2>&5
28791 ac_status=$?
28792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28793 (exit $ac_status); }; }; then
28794 eval "$as_ac_var=yes"
28795 else
28796 echo "$as_me: failed program was:" >&5
28797 sed 's/^/| /' conftest.$ac_ext >&5
28798
28799 eval "$as_ac_var=no"
28800 fi
28801 rm -f conftest.err conftest.$ac_objext \
28802 conftest$ac_exeext conftest.$ac_ext
28803 fi
28804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28805 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28806 if test `eval echo '${'$as_ac_var'}'` = yes; then
28807 cat >>confdefs.h <<_ACEOF
28808 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28809 _ACEOF
28810 WCSLEN_FOUND=1
28811 fi
28812 done
28813
28814
28815 if test "$WCSLEN_FOUND" = 0; then
28816 if test "$TOOLKIT" = "MSW"; then
28817 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
28818 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
28819 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
28820 echo $ECHO_N "(cached) $ECHO_C" >&6
28821 else
28822 ac_check_lib_save_LIBS=$LIBS
28823 LIBS="-lmsvcrt $LIBS"
28824 cat >conftest.$ac_ext <<_ACEOF
28825 /* confdefs.h. */
28826 _ACEOF
28827 cat confdefs.h >>conftest.$ac_ext
28828 cat >>conftest.$ac_ext <<_ACEOF
28829 /* end confdefs.h. */
28830
28831 /* Override any gcc2 internal prototype to avoid an error. */
28832 #ifdef __cplusplus
28833 extern "C"
28834 #endif
28835 /* We use char because int might match the return type of a gcc2
28836 builtin and then its argument prototype would still apply. */
28837 char wcslen ();
28838 int
28839 main ()
28840 {
28841 wcslen ();
28842 ;
28843 return 0;
28844 }
28845 _ACEOF
28846 rm -f conftest.$ac_objext conftest$ac_exeext
28847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28848 (eval $ac_link) 2>conftest.er1
28849 ac_status=$?
28850 grep -v '^ *+' conftest.er1 >conftest.err
28851 rm -f conftest.er1
28852 cat conftest.err >&5
28853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28854 (exit $ac_status); } &&
28855 { ac_try='test -z "$ac_c_werror_flag"
28856 || test ! -s conftest.err'
28857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28858 (eval $ac_try) 2>&5
28859 ac_status=$?
28860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28861 (exit $ac_status); }; } &&
28862 { ac_try='test -s conftest$ac_exeext'
28863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28864 (eval $ac_try) 2>&5
28865 ac_status=$?
28866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28867 (exit $ac_status); }; }; then
28868 ac_cv_lib_msvcrt_wcslen=yes
28869 else
28870 echo "$as_me: failed program was:" >&5
28871 sed 's/^/| /' conftest.$ac_ext >&5
28872
28873 ac_cv_lib_msvcrt_wcslen=no
28874 fi
28875 rm -f conftest.err conftest.$ac_objext \
28876 conftest$ac_exeext conftest.$ac_ext
28877 LIBS=$ac_check_lib_save_LIBS
28878 fi
28879 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
28880 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
28881 if test $ac_cv_lib_msvcrt_wcslen = yes; then
28882 WCHAR_OK=1
28883 fi
28884
28885 else
28886 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
28887 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
28888 if test "${ac_cv_lib_w_wcslen+set}" = set; then
28889 echo $ECHO_N "(cached) $ECHO_C" >&6
28890 else
28891 ac_check_lib_save_LIBS=$LIBS
28892 LIBS="-lw $LIBS"
28893 cat >conftest.$ac_ext <<_ACEOF
28894 /* confdefs.h. */
28895 _ACEOF
28896 cat confdefs.h >>conftest.$ac_ext
28897 cat >>conftest.$ac_ext <<_ACEOF
28898 /* end confdefs.h. */
28899
28900 /* Override any gcc2 internal prototype to avoid an error. */
28901 #ifdef __cplusplus
28902 extern "C"
28903 #endif
28904 /* We use char because int might match the return type of a gcc2
28905 builtin and then its argument prototype would still apply. */
28906 char wcslen ();
28907 int
28908 main ()
28909 {
28910 wcslen ();
28911 ;
28912 return 0;
28913 }
28914 _ACEOF
28915 rm -f conftest.$ac_objext conftest$ac_exeext
28916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28917 (eval $ac_link) 2>conftest.er1
28918 ac_status=$?
28919 grep -v '^ *+' conftest.er1 >conftest.err
28920 rm -f conftest.er1
28921 cat conftest.err >&5
28922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28923 (exit $ac_status); } &&
28924 { ac_try='test -z "$ac_c_werror_flag"
28925 || test ! -s conftest.err'
28926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28927 (eval $ac_try) 2>&5
28928 ac_status=$?
28929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28930 (exit $ac_status); }; } &&
28931 { ac_try='test -s conftest$ac_exeext'
28932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28933 (eval $ac_try) 2>&5
28934 ac_status=$?
28935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28936 (exit $ac_status); }; }; then
28937 ac_cv_lib_w_wcslen=yes
28938 else
28939 echo "$as_me: failed program was:" >&5
28940 sed 's/^/| /' conftest.$ac_ext >&5
28941
28942 ac_cv_lib_w_wcslen=no
28943 fi
28944 rm -f conftest.err conftest.$ac_objext \
28945 conftest$ac_exeext conftest.$ac_ext
28946 LIBS=$ac_check_lib_save_LIBS
28947 fi
28948 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
28949 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
28950 if test $ac_cv_lib_w_wcslen = yes; then
28951
28952 WCHAR_LINK=" -lw"
28953 WCSLEN_FOUND=1
28954
28955 fi
28956
28957 fi
28958 fi
28959
28960 if test "$WCSLEN_FOUND" = 1; then
28961 cat >>confdefs.h <<\_ACEOF
28962 #define HAVE_WCSLEN 1
28963 _ACEOF
28964
28965 fi
28966
28967 if test "$USE_HPUX" = 1 -a "x$GCC" != "xyes"; then
28968 CPPFLAGS="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
28969 fi
28970
28971
28972 for ac_func in wcsrtombs
28973 do
28974 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28975 echo "$as_me:$LINENO: checking for $ac_func" >&5
28976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28977 if eval "test \"\${$as_ac_var+set}\" = set"; then
28978 echo $ECHO_N "(cached) $ECHO_C" >&6
28979 else
28980 cat >conftest.$ac_ext <<_ACEOF
28981 /* confdefs.h. */
28982 _ACEOF
28983 cat confdefs.h >>conftest.$ac_ext
28984 cat >>conftest.$ac_ext <<_ACEOF
28985 /* end confdefs.h. */
28986 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28987 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28988 #define $ac_func innocuous_$ac_func
28989
28990 /* System header to define __stub macros and hopefully few prototypes,
28991 which can conflict with char $ac_func (); below.
28992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28993 <limits.h> exists even on freestanding compilers. */
28994
28995 #ifdef __STDC__
28996 # include <limits.h>
28997 #else
28998 # include <assert.h>
28999 #endif
29000
29001 #undef $ac_func
29002
29003 /* Override any gcc2 internal prototype to avoid an error. */
29004 #ifdef __cplusplus
29005 extern "C"
29006 {
29007 #endif
29008 /* We use char because int might match the return type of a gcc2
29009 builtin and then its argument prototype would still apply. */
29010 char $ac_func ();
29011 /* The GNU C library defines this for functions which it implements
29012 to always fail with ENOSYS. Some functions are actually named
29013 something starting with __ and the normal name is an alias. */
29014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29015 choke me
29016 #else
29017 char (*f) () = $ac_func;
29018 #endif
29019 #ifdef __cplusplus
29020 }
29021 #endif
29022
29023 int
29024 main ()
29025 {
29026 return f != $ac_func;
29027 ;
29028 return 0;
29029 }
29030 _ACEOF
29031 rm -f conftest.$ac_objext conftest$ac_exeext
29032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29033 (eval $ac_link) 2>conftest.er1
29034 ac_status=$?
29035 grep -v '^ *+' conftest.er1 >conftest.err
29036 rm -f conftest.er1
29037 cat conftest.err >&5
29038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29039 (exit $ac_status); } &&
29040 { ac_try='test -z "$ac_c_werror_flag"
29041 || test ! -s conftest.err'
29042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29043 (eval $ac_try) 2>&5
29044 ac_status=$?
29045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29046 (exit $ac_status); }; } &&
29047 { ac_try='test -s conftest$ac_exeext'
29048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29049 (eval $ac_try) 2>&5
29050 ac_status=$?
29051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29052 (exit $ac_status); }; }; then
29053 eval "$as_ac_var=yes"
29054 else
29055 echo "$as_me: failed program was:" >&5
29056 sed 's/^/| /' conftest.$ac_ext >&5
29057
29058 eval "$as_ac_var=no"
29059 fi
29060 rm -f conftest.err conftest.$ac_objext \
29061 conftest$ac_exeext conftest.$ac_ext
29062 fi
29063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29064 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29065 if test `eval echo '${'$as_ac_var'}'` = yes; then
29066 cat >>confdefs.h <<_ACEOF
29067 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29068 _ACEOF
29069
29070 fi
29071 done
29072
29073 else
29074 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
29075 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
29076 fi
29077
29078
29079
29080 ac_ext=cc
29081 ac_cpp='$CXXCPP $CPPFLAGS'
29082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29085
29086
29087
29088 for ac_func in vsnprintf
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"
29157 || test ! -s conftest.err'
29158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29159 (eval $ac_try) 2>&5
29160 ac_status=$?
29161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29162 (exit $ac_status); }; } &&
29163 { ac_try='test -s conftest$ac_exeext'
29164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29165 (eval $ac_try) 2>&5
29166 ac_status=$?
29167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29168 (exit $ac_status); }; }; then
29169 eval "$as_ac_var=yes"
29170 else
29171 echo "$as_me: failed program was:" >&5
29172 sed 's/^/| /' conftest.$ac_ext >&5
29173
29174 eval "$as_ac_var=no"
29175 fi
29176 rm -f conftest.err conftest.$ac_objext \
29177 conftest$ac_exeext conftest.$ac_ext
29178 fi
29179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29180 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29181 if test `eval echo '${'$as_ac_var'}'` = yes; then
29182 cat >>confdefs.h <<_ACEOF
29183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29184 _ACEOF
29185
29186 fi
29187 done
29188
29189
29190 if test "$ac_cv_func_vsnprintf" = "yes"; then
29191 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
29192 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
29193 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
29194 echo $ECHO_N "(cached) $ECHO_C" >&6
29195 else
29196
29197 cat >conftest.$ac_ext <<_ACEOF
29198 /* confdefs.h. */
29199 _ACEOF
29200 cat confdefs.h >>conftest.$ac_ext
29201 cat >>conftest.$ac_ext <<_ACEOF
29202 /* end confdefs.h. */
29203
29204 #include <stdio.h>
29205 #include <stdarg.h>
29206
29207 int
29208 main ()
29209 {
29210
29211 char *buf;
29212 va_list ap;
29213 vsnprintf(buf, 10u, "%s", ap);
29214
29215 ;
29216 return 0;
29217 }
29218 _ACEOF
29219 rm -f conftest.$ac_objext
29220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29221 (eval $ac_compile) 2>conftest.er1
29222 ac_status=$?
29223 grep -v '^ *+' conftest.er1 >conftest.err
29224 rm -f conftest.er1
29225 cat conftest.err >&5
29226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29227 (exit $ac_status); } &&
29228 { ac_try='test -z "$ac_cxx_werror_flag"
29229 || test ! -s conftest.err'
29230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29231 (eval $ac_try) 2>&5
29232 ac_status=$?
29233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29234 (exit $ac_status); }; } &&
29235 { ac_try='test -s conftest.$ac_objext'
29236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29237 (eval $ac_try) 2>&5
29238 ac_status=$?
29239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29240 (exit $ac_status); }; }; then
29241 wx_cv_func_vsnprintf_decl=yes
29242 else
29243 echo "$as_me: failed program was:" >&5
29244 sed 's/^/| /' conftest.$ac_ext >&5
29245
29246 wx_cv_func_vsnprintf_decl=no
29247
29248 fi
29249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29250
29251
29252 fi
29253 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
29254 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
29255
29256 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29257 cat >>confdefs.h <<\_ACEOF
29258 #define HAVE_VSNPRINTF_DECL 1
29259 _ACEOF
29260
29261 fi
29262 fi
29263
29264 if test "$wxUSE_UNICODE" = yes; then
29265
29266
29267
29268
29269
29270
29271 for ac_func in wputc wputchar putws fputws wprintf vswprintf
29272 do
29273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29274 echo "$as_me:$LINENO: checking for $ac_func" >&5
29275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29276 if eval "test \"\${$as_ac_var+set}\" = set"; then
29277 echo $ECHO_N "(cached) $ECHO_C" >&6
29278 else
29279 cat >conftest.$ac_ext <<_ACEOF
29280 /* confdefs.h. */
29281 _ACEOF
29282 cat confdefs.h >>conftest.$ac_ext
29283 cat >>conftest.$ac_ext <<_ACEOF
29284 /* end confdefs.h. */
29285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29287 #define $ac_func innocuous_$ac_func
29288
29289 /* System header to define __stub macros and hopefully few prototypes,
29290 which can conflict with char $ac_func (); below.
29291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29292 <limits.h> exists even on freestanding compilers. */
29293
29294 #ifdef __STDC__
29295 # include <limits.h>
29296 #else
29297 # include <assert.h>
29298 #endif
29299
29300 #undef $ac_func
29301
29302 /* Override any gcc2 internal prototype to avoid an error. */
29303 #ifdef __cplusplus
29304 extern "C"
29305 {
29306 #endif
29307 /* We use char because int might match the return type of a gcc2
29308 builtin and then its argument prototype would still apply. */
29309 char $ac_func ();
29310 /* The GNU C library defines this for functions which it implements
29311 to always fail with ENOSYS. Some functions are actually named
29312 something starting with __ and the normal name is an alias. */
29313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29314 choke me
29315 #else
29316 char (*f) () = $ac_func;
29317 #endif
29318 #ifdef __cplusplus
29319 }
29320 #endif
29321
29322 int
29323 main ()
29324 {
29325 return f != $ac_func;
29326 ;
29327 return 0;
29328 }
29329 _ACEOF
29330 rm -f conftest.$ac_objext conftest$ac_exeext
29331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29332 (eval $ac_link) 2>conftest.er1
29333 ac_status=$?
29334 grep -v '^ *+' conftest.er1 >conftest.err
29335 rm -f conftest.er1
29336 cat conftest.err >&5
29337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29338 (exit $ac_status); } &&
29339 { ac_try='test -z "$ac_cxx_werror_flag"
29340 || test ! -s conftest.err'
29341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29342 (eval $ac_try) 2>&5
29343 ac_status=$?
29344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29345 (exit $ac_status); }; } &&
29346 { ac_try='test -s conftest$ac_exeext'
29347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29348 (eval $ac_try) 2>&5
29349 ac_status=$?
29350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29351 (exit $ac_status); }; }; then
29352 eval "$as_ac_var=yes"
29353 else
29354 echo "$as_me: failed program was:" >&5
29355 sed 's/^/| /' conftest.$ac_ext >&5
29356
29357 eval "$as_ac_var=no"
29358 fi
29359 rm -f conftest.err conftest.$ac_objext \
29360 conftest$ac_exeext conftest.$ac_ext
29361 fi
29362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29364 if test `eval echo '${'$as_ac_var'}'` = yes; then
29365 cat >>confdefs.h <<_ACEOF
29366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29367 _ACEOF
29368
29369 fi
29370 done
29371
29372
29373 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
29374 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
29375 cat >conftest.$ac_ext <<_ACEOF
29376 /* confdefs.h. */
29377 _ACEOF
29378 cat confdefs.h >>conftest.$ac_ext
29379 cat >>conftest.$ac_ext <<_ACEOF
29380 /* end confdefs.h. */
29381 #include <wchar.h>
29382 int
29383 main ()
29384 {
29385 &_vsnwprintf;
29386 ;
29387 return 0;
29388 }
29389 _ACEOF
29390 rm -f conftest.$ac_objext
29391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29392 (eval $ac_compile) 2>conftest.er1
29393 ac_status=$?
29394 grep -v '^ *+' conftest.er1 >conftest.err
29395 rm -f conftest.er1
29396 cat conftest.err >&5
29397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29398 (exit $ac_status); } &&
29399 { ac_try='test -z "$ac_cxx_werror_flag"
29400 || test ! -s conftest.err'
29401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29402 (eval $ac_try) 2>&5
29403 ac_status=$?
29404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29405 (exit $ac_status); }; } &&
29406 { ac_try='test -s conftest.$ac_objext'
29407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29408 (eval $ac_try) 2>&5
29409 ac_status=$?
29410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29411 (exit $ac_status); }; }; then
29412 echo "$as_me:$LINENO: result: yes" >&5
29413 echo "${ECHO_T}yes" >&6
29414 cat >>confdefs.h <<\_ACEOF
29415 #define HAVE__VSNWPRINTF 1
29416 _ACEOF
29417
29418 else
29419 echo "$as_me: failed program was:" >&5
29420 sed 's/^/| /' conftest.$ac_ext >&5
29421
29422 echo "$as_me:$LINENO: result: no" >&5
29423 echo "${ECHO_T}no" >&6
29424 fi
29425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
29426 fi
29427
29428 ac_ext=c
29429 ac_cpp='$CPP $CPPFLAGS'
29430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29433
29434
29435
29436
29437 if test "$TOOLKIT" != "MSW"; then
29438
29439
29440
29441
29442 ac_ext=cc
29443 ac_cpp='$CXXCPP $CPPFLAGS'
29444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29447
29448
29449
29450
29451 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
29452 if test "${with_libiconv_prefix+set}" = set; then
29453 withval="$with_libiconv_prefix"
29454
29455 for dir in `echo "$withval" | tr : ' '`; do
29456 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
29457 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
29458 done
29459
29460 fi;
29461
29462 echo "$as_me:$LINENO: checking for iconv" >&5
29463 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
29464 if test "${am_cv_func_iconv+set}" = set; then
29465 echo $ECHO_N "(cached) $ECHO_C" >&6
29466 else
29467
29468 am_cv_func_iconv="no, consider installing GNU libiconv"
29469 am_cv_lib_iconv=no
29470 cat >conftest.$ac_ext <<_ACEOF
29471 /* confdefs.h. */
29472 _ACEOF
29473 cat confdefs.h >>conftest.$ac_ext
29474 cat >>conftest.$ac_ext <<_ACEOF
29475 /* end confdefs.h. */
29476 #include <stdlib.h>
29477 #include <iconv.h>
29478 int
29479 main ()
29480 {
29481 iconv_t cd = iconv_open("","");
29482 iconv(cd,NULL,NULL,NULL,NULL);
29483 iconv_close(cd);
29484 ;
29485 return 0;
29486 }
29487 _ACEOF
29488 rm -f conftest.$ac_objext conftest$ac_exeext
29489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29490 (eval $ac_link) 2>conftest.er1
29491 ac_status=$?
29492 grep -v '^ *+' conftest.er1 >conftest.err
29493 rm -f conftest.er1
29494 cat conftest.err >&5
29495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29496 (exit $ac_status); } &&
29497 { ac_try='test -z "$ac_cxx_werror_flag"
29498 || test ! -s conftest.err'
29499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29500 (eval $ac_try) 2>&5
29501 ac_status=$?
29502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29503 (exit $ac_status); }; } &&
29504 { ac_try='test -s conftest$ac_exeext'
29505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29506 (eval $ac_try) 2>&5
29507 ac_status=$?
29508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29509 (exit $ac_status); }; }; then
29510 am_cv_func_iconv=yes
29511 else
29512 echo "$as_me: failed program was:" >&5
29513 sed 's/^/| /' conftest.$ac_ext >&5
29514
29515 fi
29516 rm -f conftest.err conftest.$ac_objext \
29517 conftest$ac_exeext conftest.$ac_ext
29518 if test "$am_cv_func_iconv" != yes; then
29519 am_save_LIBS="$LIBS"
29520 LIBS="$LIBS -liconv"
29521 cat >conftest.$ac_ext <<_ACEOF
29522 /* confdefs.h. */
29523 _ACEOF
29524 cat confdefs.h >>conftest.$ac_ext
29525 cat >>conftest.$ac_ext <<_ACEOF
29526 /* end confdefs.h. */
29527 #include <stdlib.h>
29528 #include <iconv.h>
29529 int
29530 main ()
29531 {
29532 iconv_t cd = iconv_open("","");
29533 iconv(cd,NULL,NULL,NULL,NULL);
29534 iconv_close(cd);
29535 ;
29536 return 0;
29537 }
29538 _ACEOF
29539 rm -f conftest.$ac_objext conftest$ac_exeext
29540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29541 (eval $ac_link) 2>conftest.er1
29542 ac_status=$?
29543 grep -v '^ *+' conftest.er1 >conftest.err
29544 rm -f conftest.er1
29545 cat conftest.err >&5
29546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29547 (exit $ac_status); } &&
29548 { ac_try='test -z "$ac_cxx_werror_flag"
29549 || test ! -s conftest.err'
29550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29551 (eval $ac_try) 2>&5
29552 ac_status=$?
29553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29554 (exit $ac_status); }; } &&
29555 { ac_try='test -s conftest$ac_exeext'
29556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29557 (eval $ac_try) 2>&5
29558 ac_status=$?
29559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29560 (exit $ac_status); }; }; then
29561 am_cv_lib_iconv=yes
29562 am_cv_func_iconv=yes
29563 else
29564 echo "$as_me: failed program was:" >&5
29565 sed 's/^/| /' conftest.$ac_ext >&5
29566
29567 fi
29568 rm -f conftest.err conftest.$ac_objext \
29569 conftest$ac_exeext conftest.$ac_ext
29570 LIBS="$am_save_LIBS"
29571 fi
29572
29573 fi
29574 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
29575 echo "${ECHO_T}$am_cv_func_iconv" >&6
29576 if test "$am_cv_func_iconv" = yes; then
29577
29578 cat >>confdefs.h <<\_ACEOF
29579 #define HAVE_ICONV 1
29580 _ACEOF
29581
29582 echo "$as_me:$LINENO: checking if iconv needs const" >&5
29583 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
29584 if test "${wx_cv_func_iconv_const+set}" = set; then
29585 echo $ECHO_N "(cached) $ECHO_C" >&6
29586 else
29587 cat >conftest.$ac_ext <<_ACEOF
29588 /* confdefs.h. */
29589 _ACEOF
29590 cat confdefs.h >>conftest.$ac_ext
29591 cat >>conftest.$ac_ext <<_ACEOF
29592 /* end confdefs.h. */
29593
29594 #include <stdlib.h>
29595 #include <iconv.h>
29596 extern
29597 #ifdef __cplusplus
29598 "C"
29599 #endif
29600 #if defined(__STDC__) || defined(__cplusplus)
29601 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29602 #else
29603 size_t iconv();
29604 #endif
29605
29606 int
29607 main ()
29608 {
29609
29610 ;
29611 return 0;
29612 }
29613 _ACEOF
29614 rm -f conftest.$ac_objext
29615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29616 (eval $ac_compile) 2>conftest.er1
29617 ac_status=$?
29618 grep -v '^ *+' conftest.er1 >conftest.err
29619 rm -f conftest.er1
29620 cat conftest.err >&5
29621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29622 (exit $ac_status); } &&
29623 { ac_try='test -z "$ac_cxx_werror_flag"
29624 || test ! -s conftest.err'
29625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29626 (eval $ac_try) 2>&5
29627 ac_status=$?
29628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29629 (exit $ac_status); }; } &&
29630 { ac_try='test -s conftest.$ac_objext'
29631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29632 (eval $ac_try) 2>&5
29633 ac_status=$?
29634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29635 (exit $ac_status); }; }; then
29636 wx_cv_func_iconv_const="no"
29637 else
29638 echo "$as_me: failed program was:" >&5
29639 sed 's/^/| /' conftest.$ac_ext >&5
29640
29641 wx_cv_func_iconv_const="yes"
29642
29643 fi
29644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29645
29646 fi
29647 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
29648 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
29649
29650 iconv_const=
29651 if test "x$wx_cv_func_iconv_const" = "xyes"; then
29652 iconv_const="const"
29653 fi
29654
29655
29656 cat >>confdefs.h <<_ACEOF
29657 #define ICONV_CONST $iconv_const
29658 _ACEOF
29659
29660 fi
29661 LIBICONV=
29662 if test "$am_cv_lib_iconv" = yes; then
29663 LIBICONV="-liconv"
29664 fi
29665
29666
29667 LIBS="$LIBICONV $LIBS"
29668 ac_ext=c
29669 ac_cpp='$CPP $CPPFLAGS'
29670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29673
29674
29675 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
29676
29677 for ac_func in sigaction
29678 do
29679 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29680 echo "$as_me:$LINENO: checking for $ac_func" >&5
29681 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29682 if eval "test \"\${$as_ac_var+set}\" = set"; then
29683 echo $ECHO_N "(cached) $ECHO_C" >&6
29684 else
29685 cat >conftest.$ac_ext <<_ACEOF
29686 /* confdefs.h. */
29687 _ACEOF
29688 cat confdefs.h >>conftest.$ac_ext
29689 cat >>conftest.$ac_ext <<_ACEOF
29690 /* end confdefs.h. */
29691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29693 #define $ac_func innocuous_$ac_func
29694
29695 /* System header to define __stub macros and hopefully few prototypes,
29696 which can conflict with char $ac_func (); below.
29697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29698 <limits.h> exists even on freestanding compilers. */
29699
29700 #ifdef __STDC__
29701 # include <limits.h>
29702 #else
29703 # include <assert.h>
29704 #endif
29705
29706 #undef $ac_func
29707
29708 /* Override any gcc2 internal prototype to avoid an error. */
29709 #ifdef __cplusplus
29710 extern "C"
29711 {
29712 #endif
29713 /* We use char because int might match the return type of a gcc2
29714 builtin and then its argument prototype would still apply. */
29715 char $ac_func ();
29716 /* The GNU C library defines this for functions which it implements
29717 to always fail with ENOSYS. Some functions are actually named
29718 something starting with __ and the normal name is an alias. */
29719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29720 choke me
29721 #else
29722 char (*f) () = $ac_func;
29723 #endif
29724 #ifdef __cplusplus
29725 }
29726 #endif
29727
29728 int
29729 main ()
29730 {
29731 return f != $ac_func;
29732 ;
29733 return 0;
29734 }
29735 _ACEOF
29736 rm -f conftest.$ac_objext conftest$ac_exeext
29737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29738 (eval $ac_link) 2>conftest.er1
29739 ac_status=$?
29740 grep -v '^ *+' conftest.er1 >conftest.err
29741 rm -f conftest.er1
29742 cat conftest.err >&5
29743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29744 (exit $ac_status); } &&
29745 { ac_try='test -z "$ac_c_werror_flag"
29746 || test ! -s conftest.err'
29747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29748 (eval $ac_try) 2>&5
29749 ac_status=$?
29750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29751 (exit $ac_status); }; } &&
29752 { ac_try='test -s conftest$ac_exeext'
29753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29754 (eval $ac_try) 2>&5
29755 ac_status=$?
29756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29757 (exit $ac_status); }; }; then
29758 eval "$as_ac_var=yes"
29759 else
29760 echo "$as_me: failed program was:" >&5
29761 sed 's/^/| /' conftest.$ac_ext >&5
29762
29763 eval "$as_ac_var=no"
29764 fi
29765 rm -f conftest.err conftest.$ac_objext \
29766 conftest$ac_exeext conftest.$ac_ext
29767 fi
29768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29770 if test `eval echo '${'$as_ac_var'}'` = yes; then
29771 cat >>confdefs.h <<_ACEOF
29772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29773 _ACEOF
29774
29775 fi
29776 done
29777
29778
29779 if test "$ac_cv_func_sigaction" = "no"; then
29780 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
29781 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
29782 wxUSE_ON_FATAL_EXCEPTION=no
29783 fi
29784
29785 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
29786
29787
29788 ac_ext=cc
29789 ac_cpp='$CXXCPP $CPPFLAGS'
29790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29793
29794
29795 echo "$as_me:$LINENO: checking for sa_handler type" >&5
29796 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
29797 if test "${wx_cv_type_sa_handler+set}" = set; then
29798 echo $ECHO_N "(cached) $ECHO_C" >&6
29799 else
29800
29801 cat >conftest.$ac_ext <<_ACEOF
29802 /* confdefs.h. */
29803 _ACEOF
29804 cat confdefs.h >>conftest.$ac_ext
29805 cat >>conftest.$ac_ext <<_ACEOF
29806 /* end confdefs.h. */
29807 #include <signal.h>
29808 int
29809 main ()
29810 {
29811
29812 extern void testSigHandler(int);
29813
29814 struct sigaction sa;
29815 sa.sa_handler = testSigHandler;
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_cxx_werror_flag"
29831 || test ! -s conftest.err'
29832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29833 (eval $ac_try) 2>&5
29834 ac_status=$?
29835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29836 (exit $ac_status); }; } &&
29837 { ac_try='test -s conftest.$ac_objext'
29838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29839 (eval $ac_try) 2>&5
29840 ac_status=$?
29841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29842 (exit $ac_status); }; }; then
29843
29844 wx_cv_type_sa_handler=int
29845
29846 else
29847 echo "$as_me: failed program was:" >&5
29848 sed 's/^/| /' conftest.$ac_ext >&5
29849
29850
29851 wx_cv_type_sa_handler=void
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_type_sa_handler" >&5
29858 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
29859
29860 ac_ext=c
29861 ac_cpp='$CPP $CPPFLAGS'
29862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29865
29866
29867 cat >>confdefs.h <<_ACEOF
29868 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
29869 _ACEOF
29870
29871 fi
29872 fi
29873
29874
29875
29876 for ac_func in mkstemp mktemp
29877 do
29878 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29879 echo "$as_me:$LINENO: checking for $ac_func" >&5
29880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29881 if eval "test \"\${$as_ac_var+set}\" = set"; then
29882 echo $ECHO_N "(cached) $ECHO_C" >&6
29883 else
29884 cat >conftest.$ac_ext <<_ACEOF
29885 /* confdefs.h. */
29886 _ACEOF
29887 cat confdefs.h >>conftest.$ac_ext
29888 cat >>conftest.$ac_ext <<_ACEOF
29889 /* end confdefs.h. */
29890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29892 #define $ac_func innocuous_$ac_func
29893
29894 /* System header to define __stub macros and hopefully few prototypes,
29895 which can conflict with char $ac_func (); below.
29896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29897 <limits.h> exists even on freestanding compilers. */
29898
29899 #ifdef __STDC__
29900 # include <limits.h>
29901 #else
29902 # include <assert.h>
29903 #endif
29904
29905 #undef $ac_func
29906
29907 /* Override any gcc2 internal prototype to avoid an error. */
29908 #ifdef __cplusplus
29909 extern "C"
29910 {
29911 #endif
29912 /* We use char because int might match the return type of a gcc2
29913 builtin and then its argument prototype would still apply. */
29914 char $ac_func ();
29915 /* The GNU C library defines this for functions which it implements
29916 to always fail with ENOSYS. Some functions are actually named
29917 something starting with __ and the normal name is an alias. */
29918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29919 choke me
29920 #else
29921 char (*f) () = $ac_func;
29922 #endif
29923 #ifdef __cplusplus
29924 }
29925 #endif
29926
29927 int
29928 main ()
29929 {
29930 return f != $ac_func;
29931 ;
29932 return 0;
29933 }
29934 _ACEOF
29935 rm -f conftest.$ac_objext conftest$ac_exeext
29936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29937 (eval $ac_link) 2>conftest.er1
29938 ac_status=$?
29939 grep -v '^ *+' conftest.er1 >conftest.err
29940 rm -f conftest.er1
29941 cat conftest.err >&5
29942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29943 (exit $ac_status); } &&
29944 { ac_try='test -z "$ac_c_werror_flag"
29945 || test ! -s conftest.err'
29946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29947 (eval $ac_try) 2>&5
29948 ac_status=$?
29949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29950 (exit $ac_status); }; } &&
29951 { ac_try='test -s conftest$ac_exeext'
29952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29953 (eval $ac_try) 2>&5
29954 ac_status=$?
29955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29956 (exit $ac_status); }; }; then
29957 eval "$as_ac_var=yes"
29958 else
29959 echo "$as_me: failed program was:" >&5
29960 sed 's/^/| /' conftest.$ac_ext >&5
29961
29962 eval "$as_ac_var=no"
29963 fi
29964 rm -f conftest.err conftest.$ac_objext \
29965 conftest$ac_exeext conftest.$ac_ext
29966 fi
29967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29969 if test `eval echo '${'$as_ac_var'}'` = yes; then
29970 cat >>confdefs.h <<_ACEOF
29971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29972 _ACEOF
29973 break
29974 fi
29975 done
29976
29977
29978 echo "$as_me:$LINENO: checking for statfs" >&5
29979 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
29980 if test "${wx_cv_func_statfs+set}" = set; then
29981 echo $ECHO_N "(cached) $ECHO_C" >&6
29982 else
29983 cat >conftest.$ac_ext <<_ACEOF
29984 /* confdefs.h. */
29985 _ACEOF
29986 cat confdefs.h >>conftest.$ac_ext
29987 cat >>conftest.$ac_ext <<_ACEOF
29988 /* end confdefs.h. */
29989
29990 #if defined(__BSD__)
29991 #include <sys/param.h>
29992 #include <sys/mount.h>
29993 #else
29994 #include <sys/vfs.h>
29995 #endif
29996
29997 int
29998 main ()
29999 {
30000
30001 long l;
30002 struct statfs fs;
30003 statfs("/", &fs);
30004 l = fs.f_bsize;
30005 l += fs.f_blocks;
30006 l += fs.f_bavail;
30007
30008 ;
30009 return 0;
30010 }
30011 _ACEOF
30012 rm -f conftest.$ac_objext
30013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30014 (eval $ac_compile) 2>conftest.er1
30015 ac_status=$?
30016 grep -v '^ *+' conftest.er1 >conftest.err
30017 rm -f conftest.er1
30018 cat conftest.err >&5
30019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30020 (exit $ac_status); } &&
30021 { ac_try='test -z "$ac_c_werror_flag"
30022 || test ! -s conftest.err'
30023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30024 (eval $ac_try) 2>&5
30025 ac_status=$?
30026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30027 (exit $ac_status); }; } &&
30028 { ac_try='test -s conftest.$ac_objext'
30029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30030 (eval $ac_try) 2>&5
30031 ac_status=$?
30032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30033 (exit $ac_status); }; }; then
30034
30035 wx_cv_func_statfs=yes
30036
30037 else
30038 echo "$as_me: failed program was:" >&5
30039 sed 's/^/| /' conftest.$ac_ext >&5
30040
30041
30042 wx_cv_func_statfs=no
30043
30044
30045 fi
30046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30047
30048 fi
30049 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
30050 echo "${ECHO_T}$wx_cv_func_statfs" >&6
30051
30052 if test "$wx_cv_func_statfs" = "yes"; then
30053 wx_cv_type_statvfs_t="struct statfs"
30054 cat >>confdefs.h <<\_ACEOF
30055 #define HAVE_STATFS 1
30056 _ACEOF
30057
30058 else
30059 echo "$as_me:$LINENO: checking for statvfs" >&5
30060 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
30061 if test "${wx_cv_func_statvfs+set}" = set; then
30062 echo $ECHO_N "(cached) $ECHO_C" >&6
30063 else
30064 cat >conftest.$ac_ext <<_ACEOF
30065 /* confdefs.h. */
30066 _ACEOF
30067 cat confdefs.h >>conftest.$ac_ext
30068 cat >>conftest.$ac_ext <<_ACEOF
30069 /* end confdefs.h. */
30070
30071 #include <stddef.h>
30072 #include <sys/statvfs.h>
30073
30074 int
30075 main ()
30076 {
30077
30078 statvfs("/", NULL);
30079
30080 ;
30081 return 0;
30082 }
30083 _ACEOF
30084 rm -f conftest.$ac_objext
30085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30086 (eval $ac_compile) 2>conftest.er1
30087 ac_status=$?
30088 grep -v '^ *+' conftest.er1 >conftest.err
30089 rm -f conftest.er1
30090 cat conftest.err >&5
30091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30092 (exit $ac_status); } &&
30093 { ac_try='test -z "$ac_c_werror_flag"
30094 || test ! -s conftest.err'
30095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30096 (eval $ac_try) 2>&5
30097 ac_status=$?
30098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30099 (exit $ac_status); }; } &&
30100 { ac_try='test -s conftest.$ac_objext'
30101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30102 (eval $ac_try) 2>&5
30103 ac_status=$?
30104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30105 (exit $ac_status); }; }; then
30106 wx_cv_func_statvfs=yes
30107 else
30108 echo "$as_me: failed program was:" >&5
30109 sed 's/^/| /' conftest.$ac_ext >&5
30110
30111 wx_cv_func_statvfs=no
30112
30113 fi
30114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30115
30116 fi
30117 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
30118 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
30119
30120 if test "$wx_cv_func_statvfs" = "yes"; then
30121
30122
30123 ac_ext=cc
30124 ac_cpp='$CXXCPP $CPPFLAGS'
30125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30128
30129
30130 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
30131 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
30132 if test "${wx_cv_type_statvfs_t+set}" = set; then
30133 echo $ECHO_N "(cached) $ECHO_C" >&6
30134 else
30135 cat >conftest.$ac_ext <<_ACEOF
30136 /* confdefs.h. */
30137 _ACEOF
30138 cat confdefs.h >>conftest.$ac_ext
30139 cat >>conftest.$ac_ext <<_ACEOF
30140 /* end confdefs.h. */
30141
30142 #include <sys/statvfs.h>
30143
30144 int
30145 main ()
30146 {
30147
30148 long l;
30149 statvfs_t fs;
30150 statvfs("/", &fs);
30151 l = fs.f_bsize;
30152 l += fs.f_blocks;
30153 l += fs.f_bavail;
30154
30155 ;
30156 return 0;
30157 }
30158 _ACEOF
30159 rm -f conftest.$ac_objext
30160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30161 (eval $ac_compile) 2>conftest.er1
30162 ac_status=$?
30163 grep -v '^ *+' conftest.er1 >conftest.err
30164 rm -f conftest.er1
30165 cat conftest.err >&5
30166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30167 (exit $ac_status); } &&
30168 { ac_try='test -z "$ac_cxx_werror_flag"
30169 || test ! -s conftest.err'
30170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30171 (eval $ac_try) 2>&5
30172 ac_status=$?
30173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30174 (exit $ac_status); }; } &&
30175 { ac_try='test -s conftest.$ac_objext'
30176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30177 (eval $ac_try) 2>&5
30178 ac_status=$?
30179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30180 (exit $ac_status); }; }; then
30181 wx_cv_type_statvfs_t=statvfs_t
30182 else
30183 echo "$as_me: failed program was:" >&5
30184 sed 's/^/| /' conftest.$ac_ext >&5
30185
30186
30187 cat >conftest.$ac_ext <<_ACEOF
30188 /* confdefs.h. */
30189 _ACEOF
30190 cat confdefs.h >>conftest.$ac_ext
30191 cat >>conftest.$ac_ext <<_ACEOF
30192 /* end confdefs.h. */
30193
30194 #include <sys/statvfs.h>
30195
30196 int
30197 main ()
30198 {
30199
30200 long l;
30201 struct statvfs fs;
30202 statvfs("/", &fs);
30203 l = fs.f_bsize;
30204 l += fs.f_blocks;
30205 l += fs.f_bavail;
30206
30207 ;
30208 return 0;
30209 }
30210 _ACEOF
30211 rm -f conftest.$ac_objext
30212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30213 (eval $ac_compile) 2>conftest.er1
30214 ac_status=$?
30215 grep -v '^ *+' conftest.er1 >conftest.err
30216 rm -f conftest.er1
30217 cat conftest.err >&5
30218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30219 (exit $ac_status); } &&
30220 { ac_try='test -z "$ac_cxx_werror_flag"
30221 || test ! -s conftest.err'
30222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30223 (eval $ac_try) 2>&5
30224 ac_status=$?
30225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30226 (exit $ac_status); }; } &&
30227 { ac_try='test -s conftest.$ac_objext'
30228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30229 (eval $ac_try) 2>&5
30230 ac_status=$?
30231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30232 (exit $ac_status); }; }; then
30233 wx_cv_type_statvfs_t="struct statvfs"
30234 else
30235 echo "$as_me: failed program was:" >&5
30236 sed 's/^/| /' conftest.$ac_ext >&5
30237
30238 wx_cv_type_statvfs_t="unknown"
30239
30240 fi
30241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30242
30243
30244 fi
30245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30246
30247 fi
30248 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
30249 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
30250
30251 ac_ext=c
30252 ac_cpp='$CPP $CPPFLAGS'
30253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30256
30257
30258 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30259 cat >>confdefs.h <<\_ACEOF
30260 #define HAVE_STATVFS 1
30261 _ACEOF
30262
30263 fi
30264 else
30265 wx_cv_type_statvfs_t="unknown"
30266 fi
30267 fi
30268
30269 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30270 cat >>confdefs.h <<_ACEOF
30271 #define WX_STATFS_T $wx_cv_type_statvfs_t
30272 _ACEOF
30273
30274 else
30275 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30276 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30277 fi
30278
30279 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30280
30281
30282 for ac_func in fcntl flock
30283 do
30284 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30285 echo "$as_me:$LINENO: checking for $ac_func" >&5
30286 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30287 if eval "test \"\${$as_ac_var+set}\" = set"; then
30288 echo $ECHO_N "(cached) $ECHO_C" >&6
30289 else
30290 cat >conftest.$ac_ext <<_ACEOF
30291 /* confdefs.h. */
30292 _ACEOF
30293 cat confdefs.h >>conftest.$ac_ext
30294 cat >>conftest.$ac_ext <<_ACEOF
30295 /* end confdefs.h. */
30296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30298 #define $ac_func innocuous_$ac_func
30299
30300 /* System header to define __stub macros and hopefully few prototypes,
30301 which can conflict with char $ac_func (); below.
30302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30303 <limits.h> exists even on freestanding compilers. */
30304
30305 #ifdef __STDC__
30306 # include <limits.h>
30307 #else
30308 # include <assert.h>
30309 #endif
30310
30311 #undef $ac_func
30312
30313 /* Override any gcc2 internal prototype to avoid an error. */
30314 #ifdef __cplusplus
30315 extern "C"
30316 {
30317 #endif
30318 /* We use char because int might match the return type of a gcc2
30319 builtin and then its argument prototype would still apply. */
30320 char $ac_func ();
30321 /* The GNU C library defines this for functions which it implements
30322 to always fail with ENOSYS. Some functions are actually named
30323 something starting with __ and the normal name is an alias. */
30324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30325 choke me
30326 #else
30327 char (*f) () = $ac_func;
30328 #endif
30329 #ifdef __cplusplus
30330 }
30331 #endif
30332
30333 int
30334 main ()
30335 {
30336 return f != $ac_func;
30337 ;
30338 return 0;
30339 }
30340 _ACEOF
30341 rm -f conftest.$ac_objext conftest$ac_exeext
30342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30343 (eval $ac_link) 2>conftest.er1
30344 ac_status=$?
30345 grep -v '^ *+' conftest.er1 >conftest.err
30346 rm -f conftest.er1
30347 cat conftest.err >&5
30348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30349 (exit $ac_status); } &&
30350 { ac_try='test -z "$ac_c_werror_flag"
30351 || test ! -s conftest.err'
30352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30353 (eval $ac_try) 2>&5
30354 ac_status=$?
30355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30356 (exit $ac_status); }; } &&
30357 { ac_try='test -s conftest$ac_exeext'
30358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30359 (eval $ac_try) 2>&5
30360 ac_status=$?
30361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30362 (exit $ac_status); }; }; then
30363 eval "$as_ac_var=yes"
30364 else
30365 echo "$as_me: failed program was:" >&5
30366 sed 's/^/| /' conftest.$ac_ext >&5
30367
30368 eval "$as_ac_var=no"
30369 fi
30370 rm -f conftest.err conftest.$ac_objext \
30371 conftest$ac_exeext conftest.$ac_ext
30372 fi
30373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30375 if test `eval echo '${'$as_ac_var'}'` = yes; then
30376 cat >>confdefs.h <<_ACEOF
30377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30378 _ACEOF
30379 break
30380 fi
30381 done
30382
30383
30384 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30385 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
30386 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30387 wxUSE_SNGLINST_CHECKER=no
30388 fi
30389 fi
30390
30391
30392 for ac_func in timegm
30393 do
30394 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30395 echo "$as_me:$LINENO: checking for $ac_func" >&5
30396 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30397 if eval "test \"\${$as_ac_var+set}\" = set"; then
30398 echo $ECHO_N "(cached) $ECHO_C" >&6
30399 else
30400 cat >conftest.$ac_ext <<_ACEOF
30401 /* confdefs.h. */
30402 _ACEOF
30403 cat confdefs.h >>conftest.$ac_ext
30404 cat >>conftest.$ac_ext <<_ACEOF
30405 /* end confdefs.h. */
30406 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30407 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30408 #define $ac_func innocuous_$ac_func
30409
30410 /* System header to define __stub macros and hopefully few prototypes,
30411 which can conflict with char $ac_func (); below.
30412 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30413 <limits.h> exists even on freestanding compilers. */
30414
30415 #ifdef __STDC__
30416 # include <limits.h>
30417 #else
30418 # include <assert.h>
30419 #endif
30420
30421 #undef $ac_func
30422
30423 /* Override any gcc2 internal prototype to avoid an error. */
30424 #ifdef __cplusplus
30425 extern "C"
30426 {
30427 #endif
30428 /* We use char because int might match the return type of a gcc2
30429 builtin and then its argument prototype would still apply. */
30430 char $ac_func ();
30431 /* The GNU C library defines this for functions which it implements
30432 to always fail with ENOSYS. Some functions are actually named
30433 something starting with __ and the normal name is an alias. */
30434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30435 choke me
30436 #else
30437 char (*f) () = $ac_func;
30438 #endif
30439 #ifdef __cplusplus
30440 }
30441 #endif
30442
30443 int
30444 main ()
30445 {
30446 return f != $ac_func;
30447 ;
30448 return 0;
30449 }
30450 _ACEOF
30451 rm -f conftest.$ac_objext conftest$ac_exeext
30452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30453 (eval $ac_link) 2>conftest.er1
30454 ac_status=$?
30455 grep -v '^ *+' conftest.er1 >conftest.err
30456 rm -f conftest.er1
30457 cat conftest.err >&5
30458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30459 (exit $ac_status); } &&
30460 { ac_try='test -z "$ac_c_werror_flag"
30461 || test ! -s conftest.err'
30462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30463 (eval $ac_try) 2>&5
30464 ac_status=$?
30465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30466 (exit $ac_status); }; } &&
30467 { ac_try='test -s conftest$ac_exeext'
30468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30469 (eval $ac_try) 2>&5
30470 ac_status=$?
30471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30472 (exit $ac_status); }; }; then
30473 eval "$as_ac_var=yes"
30474 else
30475 echo "$as_me: failed program was:" >&5
30476 sed 's/^/| /' conftest.$ac_ext >&5
30477
30478 eval "$as_ac_var=no"
30479 fi
30480 rm -f conftest.err conftest.$ac_objext \
30481 conftest$ac_exeext conftest.$ac_ext
30482 fi
30483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30484 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30485 if test `eval echo '${'$as_ac_var'}'` = yes; then
30486 cat >>confdefs.h <<_ACEOF
30487 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30488 _ACEOF
30489
30490 fi
30491 done
30492
30493
30494
30495
30496 for ac_func in putenv setenv
30497 do
30498 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30499 echo "$as_me:$LINENO: checking for $ac_func" >&5
30500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30501 if eval "test \"\${$as_ac_var+set}\" = set"; then
30502 echo $ECHO_N "(cached) $ECHO_C" >&6
30503 else
30504 cat >conftest.$ac_ext <<_ACEOF
30505 /* confdefs.h. */
30506 _ACEOF
30507 cat confdefs.h >>conftest.$ac_ext
30508 cat >>conftest.$ac_ext <<_ACEOF
30509 /* end confdefs.h. */
30510 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30511 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30512 #define $ac_func innocuous_$ac_func
30513
30514 /* System header to define __stub macros and hopefully few prototypes,
30515 which can conflict with char $ac_func (); below.
30516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30517 <limits.h> exists even on freestanding compilers. */
30518
30519 #ifdef __STDC__
30520 # include <limits.h>
30521 #else
30522 # include <assert.h>
30523 #endif
30524
30525 #undef $ac_func
30526
30527 /* Override any gcc2 internal prototype to avoid an error. */
30528 #ifdef __cplusplus
30529 extern "C"
30530 {
30531 #endif
30532 /* We use char because int might match the return type of a gcc2
30533 builtin and then its argument prototype would still apply. */
30534 char $ac_func ();
30535 /* The GNU C library defines this for functions which it implements
30536 to always fail with ENOSYS. Some functions are actually named
30537 something starting with __ and the normal name is an alias. */
30538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30539 choke me
30540 #else
30541 char (*f) () = $ac_func;
30542 #endif
30543 #ifdef __cplusplus
30544 }
30545 #endif
30546
30547 int
30548 main ()
30549 {
30550 return f != $ac_func;
30551 ;
30552 return 0;
30553 }
30554 _ACEOF
30555 rm -f conftest.$ac_objext conftest$ac_exeext
30556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30557 (eval $ac_link) 2>conftest.er1
30558 ac_status=$?
30559 grep -v '^ *+' conftest.er1 >conftest.err
30560 rm -f conftest.er1
30561 cat conftest.err >&5
30562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30563 (exit $ac_status); } &&
30564 { ac_try='test -z "$ac_c_werror_flag"
30565 || test ! -s conftest.err'
30566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30567 (eval $ac_try) 2>&5
30568 ac_status=$?
30569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30570 (exit $ac_status); }; } &&
30571 { ac_try='test -s conftest$ac_exeext'
30572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30573 (eval $ac_try) 2>&5
30574 ac_status=$?
30575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30576 (exit $ac_status); }; }; then
30577 eval "$as_ac_var=yes"
30578 else
30579 echo "$as_me: failed program was:" >&5
30580 sed 's/^/| /' conftest.$ac_ext >&5
30581
30582 eval "$as_ac_var=no"
30583 fi
30584 rm -f conftest.err conftest.$ac_objext \
30585 conftest$ac_exeext conftest.$ac_ext
30586 fi
30587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30588 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30589 if test `eval echo '${'$as_ac_var'}'` = yes; then
30590 cat >>confdefs.h <<_ACEOF
30591 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30592 _ACEOF
30593 break
30594 fi
30595 done
30596
30597
30598 HAVE_SOME_SLEEP_FUNC=0
30599 if test "$USE_BEOS" = 1; then
30600 cat >>confdefs.h <<\_ACEOF
30601 #define HAVE_SLEEP 1
30602 _ACEOF
30603
30604 HAVE_SOME_SLEEP_FUNC=1
30605 fi
30606
30607 if test "$USE_DARWIN" = 1; then
30608 cat >>confdefs.h <<\_ACEOF
30609 #define HAVE_USLEEP 1
30610 _ACEOF
30611
30612 HAVE_SOME_SLEEP_FUNC=1
30613 fi
30614
30615 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30616 POSIX4_LINK=
30617
30618 for ac_func in nanosleep
30619 do
30620 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30621 echo "$as_me:$LINENO: checking for $ac_func" >&5
30622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30623 if eval "test \"\${$as_ac_var+set}\" = set"; then
30624 echo $ECHO_N "(cached) $ECHO_C" >&6
30625 else
30626 cat >conftest.$ac_ext <<_ACEOF
30627 /* confdefs.h. */
30628 _ACEOF
30629 cat confdefs.h >>conftest.$ac_ext
30630 cat >>conftest.$ac_ext <<_ACEOF
30631 /* end confdefs.h. */
30632 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30633 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30634 #define $ac_func innocuous_$ac_func
30635
30636 /* System header to define __stub macros and hopefully few prototypes,
30637 which can conflict with char $ac_func (); below.
30638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30639 <limits.h> exists even on freestanding compilers. */
30640
30641 #ifdef __STDC__
30642 # include <limits.h>
30643 #else
30644 # include <assert.h>
30645 #endif
30646
30647 #undef $ac_func
30648
30649 /* Override any gcc2 internal prototype to avoid an error. */
30650 #ifdef __cplusplus
30651 extern "C"
30652 {
30653 #endif
30654 /* We use char because int might match the return type of a gcc2
30655 builtin and then its argument prototype would still apply. */
30656 char $ac_func ();
30657 /* The GNU C library defines this for functions which it implements
30658 to always fail with ENOSYS. Some functions are actually named
30659 something starting with __ and the normal name is an alias. */
30660 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30661 choke me
30662 #else
30663 char (*f) () = $ac_func;
30664 #endif
30665 #ifdef __cplusplus
30666 }
30667 #endif
30668
30669 int
30670 main ()
30671 {
30672 return f != $ac_func;
30673 ;
30674 return 0;
30675 }
30676 _ACEOF
30677 rm -f conftest.$ac_objext conftest$ac_exeext
30678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30679 (eval $ac_link) 2>conftest.er1
30680 ac_status=$?
30681 grep -v '^ *+' conftest.er1 >conftest.err
30682 rm -f conftest.er1
30683 cat conftest.err >&5
30684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30685 (exit $ac_status); } &&
30686 { ac_try='test -z "$ac_c_werror_flag"
30687 || test ! -s conftest.err'
30688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30689 (eval $ac_try) 2>&5
30690 ac_status=$?
30691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30692 (exit $ac_status); }; } &&
30693 { ac_try='test -s conftest$ac_exeext'
30694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30695 (eval $ac_try) 2>&5
30696 ac_status=$?
30697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30698 (exit $ac_status); }; }; then
30699 eval "$as_ac_var=yes"
30700 else
30701 echo "$as_me: failed program was:" >&5
30702 sed 's/^/| /' conftest.$ac_ext >&5
30703
30704 eval "$as_ac_var=no"
30705 fi
30706 rm -f conftest.err conftest.$ac_objext \
30707 conftest$ac_exeext conftest.$ac_ext
30708 fi
30709 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30710 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30711 if test `eval echo '${'$as_ac_var'}'` = yes; then
30712 cat >>confdefs.h <<_ACEOF
30713 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30714 _ACEOF
30715 cat >>confdefs.h <<\_ACEOF
30716 #define HAVE_NANOSLEEP 1
30717 _ACEOF
30718
30719 else
30720
30721 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
30722 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
30723 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
30724 echo $ECHO_N "(cached) $ECHO_C" >&6
30725 else
30726 ac_check_lib_save_LIBS=$LIBS
30727 LIBS="-lposix4 $LIBS"
30728 cat >conftest.$ac_ext <<_ACEOF
30729 /* confdefs.h. */
30730 _ACEOF
30731 cat confdefs.h >>conftest.$ac_ext
30732 cat >>conftest.$ac_ext <<_ACEOF
30733 /* end confdefs.h. */
30734
30735 /* Override any gcc2 internal prototype to avoid an error. */
30736 #ifdef __cplusplus
30737 extern "C"
30738 #endif
30739 /* We use char because int might match the return type of a gcc2
30740 builtin and then its argument prototype would still apply. */
30741 char nanosleep ();
30742 int
30743 main ()
30744 {
30745 nanosleep ();
30746 ;
30747 return 0;
30748 }
30749 _ACEOF
30750 rm -f conftest.$ac_objext conftest$ac_exeext
30751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30752 (eval $ac_link) 2>conftest.er1
30753 ac_status=$?
30754 grep -v '^ *+' conftest.er1 >conftest.err
30755 rm -f conftest.er1
30756 cat conftest.err >&5
30757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30758 (exit $ac_status); } &&
30759 { ac_try='test -z "$ac_c_werror_flag"
30760 || test ! -s conftest.err'
30761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30762 (eval $ac_try) 2>&5
30763 ac_status=$?
30764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30765 (exit $ac_status); }; } &&
30766 { ac_try='test -s conftest$ac_exeext'
30767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30768 (eval $ac_try) 2>&5
30769 ac_status=$?
30770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30771 (exit $ac_status); }; }; then
30772 ac_cv_lib_posix4_nanosleep=yes
30773 else
30774 echo "$as_me: failed program was:" >&5
30775 sed 's/^/| /' conftest.$ac_ext >&5
30776
30777 ac_cv_lib_posix4_nanosleep=no
30778 fi
30779 rm -f conftest.err conftest.$ac_objext \
30780 conftest$ac_exeext conftest.$ac_ext
30781 LIBS=$ac_check_lib_save_LIBS
30782 fi
30783 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
30784 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
30785 if test $ac_cv_lib_posix4_nanosleep = yes; then
30786
30787 cat >>confdefs.h <<\_ACEOF
30788 #define HAVE_NANOSLEEP 1
30789 _ACEOF
30790
30791 POSIX4_LINK=" -lposix4"
30792
30793 else
30794
30795
30796 for ac_func in usleep
30797 do
30798 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30799 echo "$as_me:$LINENO: checking for $ac_func" >&5
30800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30801 if eval "test \"\${$as_ac_var+set}\" = set"; then
30802 echo $ECHO_N "(cached) $ECHO_C" >&6
30803 else
30804 cat >conftest.$ac_ext <<_ACEOF
30805 /* confdefs.h. */
30806 _ACEOF
30807 cat confdefs.h >>conftest.$ac_ext
30808 cat >>conftest.$ac_ext <<_ACEOF
30809 /* end confdefs.h. */
30810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30811 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30812 #define $ac_func innocuous_$ac_func
30813
30814 /* System header to define __stub macros and hopefully few prototypes,
30815 which can conflict with char $ac_func (); below.
30816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30817 <limits.h> exists even on freestanding compilers. */
30818
30819 #ifdef __STDC__
30820 # include <limits.h>
30821 #else
30822 # include <assert.h>
30823 #endif
30824
30825 #undef $ac_func
30826
30827 /* Override any gcc2 internal prototype to avoid an error. */
30828 #ifdef __cplusplus
30829 extern "C"
30830 {
30831 #endif
30832 /* We use char because int might match the return type of a gcc2
30833 builtin and then its argument prototype would still apply. */
30834 char $ac_func ();
30835 /* The GNU C library defines this for functions which it implements
30836 to always fail with ENOSYS. Some functions are actually named
30837 something starting with __ and the normal name is an alias. */
30838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30839 choke me
30840 #else
30841 char (*f) () = $ac_func;
30842 #endif
30843 #ifdef __cplusplus
30844 }
30845 #endif
30846
30847 int
30848 main ()
30849 {
30850 return f != $ac_func;
30851 ;
30852 return 0;
30853 }
30854 _ACEOF
30855 rm -f conftest.$ac_objext conftest$ac_exeext
30856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30857 (eval $ac_link) 2>conftest.er1
30858 ac_status=$?
30859 grep -v '^ *+' conftest.er1 >conftest.err
30860 rm -f conftest.er1
30861 cat conftest.err >&5
30862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30863 (exit $ac_status); } &&
30864 { ac_try='test -z "$ac_c_werror_flag"
30865 || test ! -s conftest.err'
30866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30867 (eval $ac_try) 2>&5
30868 ac_status=$?
30869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30870 (exit $ac_status); }; } &&
30871 { ac_try='test -s conftest$ac_exeext'
30872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30873 (eval $ac_try) 2>&5
30874 ac_status=$?
30875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30876 (exit $ac_status); }; }; then
30877 eval "$as_ac_var=yes"
30878 else
30879 echo "$as_me: failed program was:" >&5
30880 sed 's/^/| /' conftest.$ac_ext >&5
30881
30882 eval "$as_ac_var=no"
30883 fi
30884 rm -f conftest.err conftest.$ac_objext \
30885 conftest$ac_exeext conftest.$ac_ext
30886 fi
30887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30888 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30889 if test `eval echo '${'$as_ac_var'}'` = yes; then
30890 cat >>confdefs.h <<_ACEOF
30891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30892 _ACEOF
30893 cat >>confdefs.h <<\_ACEOF
30894 #define HAVE_USLEEP 1
30895 _ACEOF
30896
30897 else
30898 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
30899 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30900
30901 fi
30902 done
30903
30904
30905
30906 fi
30907
30908
30909
30910 fi
30911 done
30912
30913 fi
30914
30915
30916
30917 for ac_func in uname gethostname
30918 do
30919 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30920 echo "$as_me:$LINENO: checking for $ac_func" >&5
30921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30922 if eval "test \"\${$as_ac_var+set}\" = set"; then
30923 echo $ECHO_N "(cached) $ECHO_C" >&6
30924 else
30925 cat >conftest.$ac_ext <<_ACEOF
30926 /* confdefs.h. */
30927 _ACEOF
30928 cat confdefs.h >>conftest.$ac_ext
30929 cat >>conftest.$ac_ext <<_ACEOF
30930 /* end confdefs.h. */
30931 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30932 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30933 #define $ac_func innocuous_$ac_func
30934
30935 /* System header to define __stub macros and hopefully few prototypes,
30936 which can conflict with char $ac_func (); below.
30937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30938 <limits.h> exists even on freestanding compilers. */
30939
30940 #ifdef __STDC__
30941 # include <limits.h>
30942 #else
30943 # include <assert.h>
30944 #endif
30945
30946 #undef $ac_func
30947
30948 /* Override any gcc2 internal prototype to avoid an error. */
30949 #ifdef __cplusplus
30950 extern "C"
30951 {
30952 #endif
30953 /* We use char because int might match the return type of a gcc2
30954 builtin and then its argument prototype would still apply. */
30955 char $ac_func ();
30956 /* The GNU C library defines this for functions which it implements
30957 to always fail with ENOSYS. Some functions are actually named
30958 something starting with __ and the normal name is an alias. */
30959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30960 choke me
30961 #else
30962 char (*f) () = $ac_func;
30963 #endif
30964 #ifdef __cplusplus
30965 }
30966 #endif
30967
30968 int
30969 main ()
30970 {
30971 return f != $ac_func;
30972 ;
30973 return 0;
30974 }
30975 _ACEOF
30976 rm -f conftest.$ac_objext conftest$ac_exeext
30977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30978 (eval $ac_link) 2>conftest.er1
30979 ac_status=$?
30980 grep -v '^ *+' conftest.er1 >conftest.err
30981 rm -f conftest.er1
30982 cat conftest.err >&5
30983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30984 (exit $ac_status); } &&
30985 { ac_try='test -z "$ac_c_werror_flag"
30986 || test ! -s conftest.err'
30987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30988 (eval $ac_try) 2>&5
30989 ac_status=$?
30990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30991 (exit $ac_status); }; } &&
30992 { ac_try='test -s conftest$ac_exeext'
30993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30994 (eval $ac_try) 2>&5
30995 ac_status=$?
30996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30997 (exit $ac_status); }; }; then
30998 eval "$as_ac_var=yes"
30999 else
31000 echo "$as_me: failed program was:" >&5
31001 sed 's/^/| /' conftest.$ac_ext >&5
31002
31003 eval "$as_ac_var=no"
31004 fi
31005 rm -f conftest.err conftest.$ac_objext \
31006 conftest$ac_exeext conftest.$ac_ext
31007 fi
31008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31009 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31010 if test `eval echo '${'$as_ac_var'}'` = yes; then
31011 cat >>confdefs.h <<_ACEOF
31012 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31013 _ACEOF
31014 break
31015 fi
31016 done
31017
31018
31019
31020
31021 ac_ext=cc
31022 ac_cpp='$CXXCPP $CPPFLAGS'
31023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31026
31027
31028
31029 for ac_func in strtok_r
31030 do
31031 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31032 echo "$as_me:$LINENO: checking for $ac_func" >&5
31033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31034 if eval "test \"\${$as_ac_var+set}\" = set"; then
31035 echo $ECHO_N "(cached) $ECHO_C" >&6
31036 else
31037 cat >conftest.$ac_ext <<_ACEOF
31038 /* confdefs.h. */
31039 _ACEOF
31040 cat confdefs.h >>conftest.$ac_ext
31041 cat >>conftest.$ac_ext <<_ACEOF
31042 /* end confdefs.h. */
31043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31045 #define $ac_func innocuous_$ac_func
31046
31047 /* System header to define __stub macros and hopefully few prototypes,
31048 which can conflict with char $ac_func (); below.
31049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31050 <limits.h> exists even on freestanding compilers. */
31051
31052 #ifdef __STDC__
31053 # include <limits.h>
31054 #else
31055 # include <assert.h>
31056 #endif
31057
31058 #undef $ac_func
31059
31060 /* Override any gcc2 internal prototype to avoid an error. */
31061 #ifdef __cplusplus
31062 extern "C"
31063 {
31064 #endif
31065 /* We use char because int might match the return type of a gcc2
31066 builtin and then its argument prototype would still apply. */
31067 char $ac_func ();
31068 /* The GNU C library defines this for functions which it implements
31069 to always fail with ENOSYS. Some functions are actually named
31070 something starting with __ and the normal name is an alias. */
31071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31072 choke me
31073 #else
31074 char (*f) () = $ac_func;
31075 #endif
31076 #ifdef __cplusplus
31077 }
31078 #endif
31079
31080 int
31081 main ()
31082 {
31083 return f != $ac_func;
31084 ;
31085 return 0;
31086 }
31087 _ACEOF
31088 rm -f conftest.$ac_objext conftest$ac_exeext
31089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31090 (eval $ac_link) 2>conftest.er1
31091 ac_status=$?
31092 grep -v '^ *+' conftest.er1 >conftest.err
31093 rm -f conftest.er1
31094 cat conftest.err >&5
31095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31096 (exit $ac_status); } &&
31097 { ac_try='test -z "$ac_cxx_werror_flag"
31098 || test ! -s conftest.err'
31099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31100 (eval $ac_try) 2>&5
31101 ac_status=$?
31102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31103 (exit $ac_status); }; } &&
31104 { ac_try='test -s conftest$ac_exeext'
31105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31106 (eval $ac_try) 2>&5
31107 ac_status=$?
31108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31109 (exit $ac_status); }; }; then
31110 eval "$as_ac_var=yes"
31111 else
31112 echo "$as_me: failed program was:" >&5
31113 sed 's/^/| /' conftest.$ac_ext >&5
31114
31115 eval "$as_ac_var=no"
31116 fi
31117 rm -f conftest.err conftest.$ac_objext \
31118 conftest$ac_exeext conftest.$ac_ext
31119 fi
31120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31122 if test `eval echo '${'$as_ac_var'}'` = yes; then
31123 cat >>confdefs.h <<_ACEOF
31124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31125 _ACEOF
31126
31127 fi
31128 done
31129
31130
31131 ac_ext=c
31132 ac_cpp='$CPP $CPPFLAGS'
31133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31136
31137
31138 INET_LINK=
31139
31140 for ac_func in inet_addr
31141 do
31142 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31143 echo "$as_me:$LINENO: checking for $ac_func" >&5
31144 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31145 if eval "test \"\${$as_ac_var+set}\" = set"; then
31146 echo $ECHO_N "(cached) $ECHO_C" >&6
31147 else
31148 cat >conftest.$ac_ext <<_ACEOF
31149 /* confdefs.h. */
31150 _ACEOF
31151 cat confdefs.h >>conftest.$ac_ext
31152 cat >>conftest.$ac_ext <<_ACEOF
31153 /* end confdefs.h. */
31154 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31155 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31156 #define $ac_func innocuous_$ac_func
31157
31158 /* System header to define __stub macros and hopefully few prototypes,
31159 which can conflict with char $ac_func (); below.
31160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31161 <limits.h> exists even on freestanding compilers. */
31162
31163 #ifdef __STDC__
31164 # include <limits.h>
31165 #else
31166 # include <assert.h>
31167 #endif
31168
31169 #undef $ac_func
31170
31171 /* Override any gcc2 internal prototype to avoid an error. */
31172 #ifdef __cplusplus
31173 extern "C"
31174 {
31175 #endif
31176 /* We use char because int might match the return type of a gcc2
31177 builtin and then its argument prototype would still apply. */
31178 char $ac_func ();
31179 /* The GNU C library defines this for functions which it implements
31180 to always fail with ENOSYS. Some functions are actually named
31181 something starting with __ and the normal name is an alias. */
31182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31183 choke me
31184 #else
31185 char (*f) () = $ac_func;
31186 #endif
31187 #ifdef __cplusplus
31188 }
31189 #endif
31190
31191 int
31192 main ()
31193 {
31194 return f != $ac_func;
31195 ;
31196 return 0;
31197 }
31198 _ACEOF
31199 rm -f conftest.$ac_objext conftest$ac_exeext
31200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31201 (eval $ac_link) 2>conftest.er1
31202 ac_status=$?
31203 grep -v '^ *+' conftest.er1 >conftest.err
31204 rm -f conftest.er1
31205 cat conftest.err >&5
31206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31207 (exit $ac_status); } &&
31208 { ac_try='test -z "$ac_c_werror_flag"
31209 || test ! -s conftest.err'
31210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31211 (eval $ac_try) 2>&5
31212 ac_status=$?
31213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31214 (exit $ac_status); }; } &&
31215 { ac_try='test -s conftest$ac_exeext'
31216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31217 (eval $ac_try) 2>&5
31218 ac_status=$?
31219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31220 (exit $ac_status); }; }; then
31221 eval "$as_ac_var=yes"
31222 else
31223 echo "$as_me: failed program was:" >&5
31224 sed 's/^/| /' conftest.$ac_ext >&5
31225
31226 eval "$as_ac_var=no"
31227 fi
31228 rm -f conftest.err conftest.$ac_objext \
31229 conftest$ac_exeext conftest.$ac_ext
31230 fi
31231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31232 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31233 if test `eval echo '${'$as_ac_var'}'` = yes; then
31234 cat >>confdefs.h <<_ACEOF
31235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31236 _ACEOF
31237 cat >>confdefs.h <<\_ACEOF
31238 #define HAVE_INET_ADDR 1
31239 _ACEOF
31240
31241 else
31242
31243 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
31244 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
31245 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
31246 echo $ECHO_N "(cached) $ECHO_C" >&6
31247 else
31248 ac_check_lib_save_LIBS=$LIBS
31249 LIBS="-lnsl $LIBS"
31250 cat >conftest.$ac_ext <<_ACEOF
31251 /* confdefs.h. */
31252 _ACEOF
31253 cat confdefs.h >>conftest.$ac_ext
31254 cat >>conftest.$ac_ext <<_ACEOF
31255 /* end confdefs.h. */
31256
31257 /* Override any gcc2 internal prototype to avoid an error. */
31258 #ifdef __cplusplus
31259 extern "C"
31260 #endif
31261 /* We use char because int might match the return type of a gcc2
31262 builtin and then its argument prototype would still apply. */
31263 char inet_addr ();
31264 int
31265 main ()
31266 {
31267 inet_addr ();
31268 ;
31269 return 0;
31270 }
31271 _ACEOF
31272 rm -f conftest.$ac_objext conftest$ac_exeext
31273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31274 (eval $ac_link) 2>conftest.er1
31275 ac_status=$?
31276 grep -v '^ *+' conftest.er1 >conftest.err
31277 rm -f conftest.er1
31278 cat conftest.err >&5
31279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31280 (exit $ac_status); } &&
31281 { ac_try='test -z "$ac_c_werror_flag"
31282 || test ! -s conftest.err'
31283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31284 (eval $ac_try) 2>&5
31285 ac_status=$?
31286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31287 (exit $ac_status); }; } &&
31288 { ac_try='test -s conftest$ac_exeext'
31289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31290 (eval $ac_try) 2>&5
31291 ac_status=$?
31292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31293 (exit $ac_status); }; }; then
31294 ac_cv_lib_nsl_inet_addr=yes
31295 else
31296 echo "$as_me: failed program was:" >&5
31297 sed 's/^/| /' conftest.$ac_ext >&5
31298
31299 ac_cv_lib_nsl_inet_addr=no
31300 fi
31301 rm -f conftest.err conftest.$ac_objext \
31302 conftest$ac_exeext conftest.$ac_ext
31303 LIBS=$ac_check_lib_save_LIBS
31304 fi
31305 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
31306 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
31307 if test $ac_cv_lib_nsl_inet_addr = yes; then
31308 INET_LINK="nsl"
31309 else
31310
31311 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
31312 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
31313 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
31314 echo $ECHO_N "(cached) $ECHO_C" >&6
31315 else
31316 ac_check_lib_save_LIBS=$LIBS
31317 LIBS="-lresolv $LIBS"
31318 cat >conftest.$ac_ext <<_ACEOF
31319 /* confdefs.h. */
31320 _ACEOF
31321 cat confdefs.h >>conftest.$ac_ext
31322 cat >>conftest.$ac_ext <<_ACEOF
31323 /* end confdefs.h. */
31324
31325 /* Override any gcc2 internal prototype to avoid an error. */
31326 #ifdef __cplusplus
31327 extern "C"
31328 #endif
31329 /* We use char because int might match the return type of a gcc2
31330 builtin and then its argument prototype would still apply. */
31331 char inet_addr ();
31332 int
31333 main ()
31334 {
31335 inet_addr ();
31336 ;
31337 return 0;
31338 }
31339 _ACEOF
31340 rm -f conftest.$ac_objext conftest$ac_exeext
31341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31342 (eval $ac_link) 2>conftest.er1
31343 ac_status=$?
31344 grep -v '^ *+' conftest.er1 >conftest.err
31345 rm -f conftest.er1
31346 cat conftest.err >&5
31347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31348 (exit $ac_status); } &&
31349 { ac_try='test -z "$ac_c_werror_flag"
31350 || test ! -s conftest.err'
31351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31352 (eval $ac_try) 2>&5
31353 ac_status=$?
31354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31355 (exit $ac_status); }; } &&
31356 { ac_try='test -s conftest$ac_exeext'
31357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31358 (eval $ac_try) 2>&5
31359 ac_status=$?
31360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31361 (exit $ac_status); }; }; then
31362 ac_cv_lib_resolv_inet_addr=yes
31363 else
31364 echo "$as_me: failed program was:" >&5
31365 sed 's/^/| /' conftest.$ac_ext >&5
31366
31367 ac_cv_lib_resolv_inet_addr=no
31368 fi
31369 rm -f conftest.err conftest.$ac_objext \
31370 conftest$ac_exeext conftest.$ac_ext
31371 LIBS=$ac_check_lib_save_LIBS
31372 fi
31373 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
31374 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
31375 if test $ac_cv_lib_resolv_inet_addr = yes; then
31376 INET_LINK="resolv"
31377 else
31378
31379 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
31380 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
31381 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
31382 echo $ECHO_N "(cached) $ECHO_C" >&6
31383 else
31384 ac_check_lib_save_LIBS=$LIBS
31385 LIBS="-lsocket $LIBS"
31386 cat >conftest.$ac_ext <<_ACEOF
31387 /* confdefs.h. */
31388 _ACEOF
31389 cat confdefs.h >>conftest.$ac_ext
31390 cat >>conftest.$ac_ext <<_ACEOF
31391 /* end confdefs.h. */
31392
31393 /* Override any gcc2 internal prototype to avoid an error. */
31394 #ifdef __cplusplus
31395 extern "C"
31396 #endif
31397 /* We use char because int might match the return type of a gcc2
31398 builtin and then its argument prototype would still apply. */
31399 char inet_addr ();
31400 int
31401 main ()
31402 {
31403 inet_addr ();
31404 ;
31405 return 0;
31406 }
31407 _ACEOF
31408 rm -f conftest.$ac_objext conftest$ac_exeext
31409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31410 (eval $ac_link) 2>conftest.er1
31411 ac_status=$?
31412 grep -v '^ *+' conftest.er1 >conftest.err
31413 rm -f conftest.er1
31414 cat conftest.err >&5
31415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31416 (exit $ac_status); } &&
31417 { ac_try='test -z "$ac_c_werror_flag"
31418 || test ! -s conftest.err'
31419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31420 (eval $ac_try) 2>&5
31421 ac_status=$?
31422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31423 (exit $ac_status); }; } &&
31424 { ac_try='test -s conftest$ac_exeext'
31425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31426 (eval $ac_try) 2>&5
31427 ac_status=$?
31428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31429 (exit $ac_status); }; }; then
31430 ac_cv_lib_socket_inet_addr=yes
31431 else
31432 echo "$as_me: failed program was:" >&5
31433 sed 's/^/| /' conftest.$ac_ext >&5
31434
31435 ac_cv_lib_socket_inet_addr=no
31436 fi
31437 rm -f conftest.err conftest.$ac_objext \
31438 conftest$ac_exeext conftest.$ac_ext
31439 LIBS=$ac_check_lib_save_LIBS
31440 fi
31441 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
31442 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
31443 if test $ac_cv_lib_socket_inet_addr = yes; then
31444 INET_LINK="socket"
31445
31446 fi
31447
31448
31449
31450 fi
31451
31452
31453
31454 fi
31455
31456
31457
31458 fi
31459 done
31460
31461
31462
31463 for ac_func in inet_aton
31464 do
31465 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31466 echo "$as_me:$LINENO: checking for $ac_func" >&5
31467 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31468 if eval "test \"\${$as_ac_var+set}\" = set"; then
31469 echo $ECHO_N "(cached) $ECHO_C" >&6
31470 else
31471 cat >conftest.$ac_ext <<_ACEOF
31472 /* confdefs.h. */
31473 _ACEOF
31474 cat confdefs.h >>conftest.$ac_ext
31475 cat >>conftest.$ac_ext <<_ACEOF
31476 /* end confdefs.h. */
31477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31479 #define $ac_func innocuous_$ac_func
31480
31481 /* System header to define __stub macros and hopefully few prototypes,
31482 which can conflict with char $ac_func (); below.
31483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31484 <limits.h> exists even on freestanding compilers. */
31485
31486 #ifdef __STDC__
31487 # include <limits.h>
31488 #else
31489 # include <assert.h>
31490 #endif
31491
31492 #undef $ac_func
31493
31494 /* Override any gcc2 internal prototype to avoid an error. */
31495 #ifdef __cplusplus
31496 extern "C"
31497 {
31498 #endif
31499 /* We use char because int might match the return type of a gcc2
31500 builtin and then its argument prototype would still apply. */
31501 char $ac_func ();
31502 /* The GNU C library defines this for functions which it implements
31503 to always fail with ENOSYS. Some functions are actually named
31504 something starting with __ and the normal name is an alias. */
31505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31506 choke me
31507 #else
31508 char (*f) () = $ac_func;
31509 #endif
31510 #ifdef __cplusplus
31511 }
31512 #endif
31513
31514 int
31515 main ()
31516 {
31517 return f != $ac_func;
31518 ;
31519 return 0;
31520 }
31521 _ACEOF
31522 rm -f conftest.$ac_objext conftest$ac_exeext
31523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31524 (eval $ac_link) 2>conftest.er1
31525 ac_status=$?
31526 grep -v '^ *+' conftest.er1 >conftest.err
31527 rm -f conftest.er1
31528 cat conftest.err >&5
31529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31530 (exit $ac_status); } &&
31531 { ac_try='test -z "$ac_c_werror_flag"
31532 || test ! -s conftest.err'
31533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31534 (eval $ac_try) 2>&5
31535 ac_status=$?
31536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31537 (exit $ac_status); }; } &&
31538 { ac_try='test -s conftest$ac_exeext'
31539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31540 (eval $ac_try) 2>&5
31541 ac_status=$?
31542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31543 (exit $ac_status); }; }; then
31544 eval "$as_ac_var=yes"
31545 else
31546 echo "$as_me: failed program was:" >&5
31547 sed 's/^/| /' conftest.$ac_ext >&5
31548
31549 eval "$as_ac_var=no"
31550 fi
31551 rm -f conftest.err conftest.$ac_objext \
31552 conftest$ac_exeext conftest.$ac_ext
31553 fi
31554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31556 if test `eval echo '${'$as_ac_var'}'` = yes; then
31557 cat >>confdefs.h <<_ACEOF
31558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31559 _ACEOF
31560 cat >>confdefs.h <<\_ACEOF
31561 #define HAVE_INET_ATON 1
31562 _ACEOF
31563
31564 else
31565
31566 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31567 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
31568 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
31569 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
31570 echo $ECHO_N "(cached) $ECHO_C" >&6
31571 else
31572 ac_check_lib_save_LIBS=$LIBS
31573 LIBS="-l$INET_LINK $LIBS"
31574 cat >conftest.$ac_ext <<_ACEOF
31575 /* confdefs.h. */
31576 _ACEOF
31577 cat confdefs.h >>conftest.$ac_ext
31578 cat >>conftest.$ac_ext <<_ACEOF
31579 /* end confdefs.h. */
31580
31581 /* Override any gcc2 internal prototype to avoid an error. */
31582 #ifdef __cplusplus
31583 extern "C"
31584 #endif
31585 /* We use char because int might match the return type of a gcc2
31586 builtin and then its argument prototype would still apply. */
31587 char inet_aton ();
31588 int
31589 main ()
31590 {
31591 inet_aton ();
31592 ;
31593 return 0;
31594 }
31595 _ACEOF
31596 rm -f conftest.$ac_objext conftest$ac_exeext
31597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31598 (eval $ac_link) 2>conftest.er1
31599 ac_status=$?
31600 grep -v '^ *+' conftest.er1 >conftest.err
31601 rm -f conftest.er1
31602 cat conftest.err >&5
31603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31604 (exit $ac_status); } &&
31605 { ac_try='test -z "$ac_c_werror_flag"
31606 || test ! -s conftest.err'
31607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31608 (eval $ac_try) 2>&5
31609 ac_status=$?
31610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31611 (exit $ac_status); }; } &&
31612 { ac_try='test -s conftest$ac_exeext'
31613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31614 (eval $ac_try) 2>&5
31615 ac_status=$?
31616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31617 (exit $ac_status); }; }; then
31618 eval "$as_ac_Lib=yes"
31619 else
31620 echo "$as_me: failed program was:" >&5
31621 sed 's/^/| /' conftest.$ac_ext >&5
31622
31623 eval "$as_ac_Lib=no"
31624 fi
31625 rm -f conftest.err conftest.$ac_objext \
31626 conftest$ac_exeext conftest.$ac_ext
31627 LIBS=$ac_check_lib_save_LIBS
31628 fi
31629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
31630 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
31631 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
31632 cat >>confdefs.h <<\_ACEOF
31633 #define HAVE_INET_ATON 1
31634 _ACEOF
31635
31636 fi
31637
31638
31639 fi
31640 done
31641
31642
31643 if test "x$INET_LINK" != "x"; then
31644 cat >>confdefs.h <<\_ACEOF
31645 #define HAVE_INET_ADDR 1
31646 _ACEOF
31647
31648 INET_LINK=" -l$INET_LINK"
31649 fi
31650
31651 fi
31652
31653
31654
31655 EXTRALIBS_ESD=
31656 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
31657 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
31658 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
31659 echo $ECHO_N "(cached) $ECHO_C" >&6
31660 else
31661 ac_check_lib_save_LIBS=$LIBS
31662 LIBS="-lesd $LIBS"
31663 cat >conftest.$ac_ext <<_ACEOF
31664 /* confdefs.h. */
31665 _ACEOF
31666 cat confdefs.h >>conftest.$ac_ext
31667 cat >>conftest.$ac_ext <<_ACEOF
31668 /* end confdefs.h. */
31669
31670 /* Override any gcc2 internal prototype to avoid an error. */
31671 #ifdef __cplusplus
31672 extern "C"
31673 #endif
31674 /* We use char because int might match the return type of a gcc2
31675 builtin and then its argument prototype would still apply. */
31676 char esd_close ();
31677 int
31678 main ()
31679 {
31680 esd_close ();
31681 ;
31682 return 0;
31683 }
31684 _ACEOF
31685 rm -f conftest.$ac_objext conftest$ac_exeext
31686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31687 (eval $ac_link) 2>conftest.er1
31688 ac_status=$?
31689 grep -v '^ *+' conftest.er1 >conftest.err
31690 rm -f conftest.er1
31691 cat conftest.err >&5
31692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31693 (exit $ac_status); } &&
31694 { ac_try='test -z "$ac_c_werror_flag"
31695 || test ! -s conftest.err'
31696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31697 (eval $ac_try) 2>&5
31698 ac_status=$?
31699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31700 (exit $ac_status); }; } &&
31701 { ac_try='test -s conftest$ac_exeext'
31702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31703 (eval $ac_try) 2>&5
31704 ac_status=$?
31705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31706 (exit $ac_status); }; }; then
31707 ac_cv_lib_esd_esd_close=yes
31708 else
31709 echo "$as_me: failed program was:" >&5
31710 sed 's/^/| /' conftest.$ac_ext >&5
31711
31712 ac_cv_lib_esd_esd_close=no
31713 fi
31714 rm -f conftest.err conftest.$ac_objext \
31715 conftest$ac_exeext conftest.$ac_ext
31716 LIBS=$ac_check_lib_save_LIBS
31717 fi
31718 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
31719 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
31720 if test $ac_cv_lib_esd_esd_close = yes; then
31721
31722
31723 for ac_header in esd.h
31724 do
31725 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31726 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31727 echo "$as_me:$LINENO: checking for $ac_header" >&5
31728 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31729 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31730 echo $ECHO_N "(cached) $ECHO_C" >&6
31731 fi
31732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31733 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31734 else
31735 # Is the header compilable?
31736 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31737 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31738 cat >conftest.$ac_ext <<_ACEOF
31739 /* confdefs.h. */
31740 _ACEOF
31741 cat confdefs.h >>conftest.$ac_ext
31742 cat >>conftest.$ac_ext <<_ACEOF
31743 /* end confdefs.h. */
31744 $ac_includes_default
31745 #include <$ac_header>
31746 _ACEOF
31747 rm -f conftest.$ac_objext
31748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31749 (eval $ac_compile) 2>conftest.er1
31750 ac_status=$?
31751 grep -v '^ *+' conftest.er1 >conftest.err
31752 rm -f conftest.er1
31753 cat conftest.err >&5
31754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31755 (exit $ac_status); } &&
31756 { ac_try='test -z "$ac_c_werror_flag"
31757 || test ! -s conftest.err'
31758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31759 (eval $ac_try) 2>&5
31760 ac_status=$?
31761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31762 (exit $ac_status); }; } &&
31763 { ac_try='test -s conftest.$ac_objext'
31764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31765 (eval $ac_try) 2>&5
31766 ac_status=$?
31767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31768 (exit $ac_status); }; }; then
31769 ac_header_compiler=yes
31770 else
31771 echo "$as_me: failed program was:" >&5
31772 sed 's/^/| /' conftest.$ac_ext >&5
31773
31774 ac_header_compiler=no
31775 fi
31776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31777 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31778 echo "${ECHO_T}$ac_header_compiler" >&6
31779
31780 # Is the header present?
31781 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31782 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31783 cat >conftest.$ac_ext <<_ACEOF
31784 /* confdefs.h. */
31785 _ACEOF
31786 cat confdefs.h >>conftest.$ac_ext
31787 cat >>conftest.$ac_ext <<_ACEOF
31788 /* end confdefs.h. */
31789 #include <$ac_header>
31790 _ACEOF
31791 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31792 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31793 ac_status=$?
31794 grep -v '^ *+' conftest.er1 >conftest.err
31795 rm -f conftest.er1
31796 cat conftest.err >&5
31797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31798 (exit $ac_status); } >/dev/null; then
31799 if test -s conftest.err; then
31800 ac_cpp_err=$ac_c_preproc_warn_flag
31801 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31802 else
31803 ac_cpp_err=
31804 fi
31805 else
31806 ac_cpp_err=yes
31807 fi
31808 if test -z "$ac_cpp_err"; then
31809 ac_header_preproc=yes
31810 else
31811 echo "$as_me: failed program was:" >&5
31812 sed 's/^/| /' conftest.$ac_ext >&5
31813
31814 ac_header_preproc=no
31815 fi
31816 rm -f conftest.err conftest.$ac_ext
31817 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31818 echo "${ECHO_T}$ac_header_preproc" >&6
31819
31820 # So? What about this header?
31821 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31822 yes:no: )
31823 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31824 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31825 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31826 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31827 ac_header_preproc=yes
31828 ;;
31829 no:yes:* )
31830 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31831 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31832 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31833 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31834 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31835 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31836 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31837 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31838 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31839 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31840 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31841 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31842 (
31843 cat <<\_ASBOX
31844 ## ----------------------------------------- ##
31845 ## Report this to wx-dev@lists.wxwidgets.org ##
31846 ## ----------------------------------------- ##
31847 _ASBOX
31848 ) |
31849 sed "s/^/$as_me: WARNING: /" >&2
31850 ;;
31851 esac
31852 echo "$as_me:$LINENO: checking for $ac_header" >&5
31853 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31854 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31855 echo $ECHO_N "(cached) $ECHO_C" >&6
31856 else
31857 eval "$as_ac_Header=\$ac_header_preproc"
31858 fi
31859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31860 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31861
31862 fi
31863 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31864 cat >>confdefs.h <<_ACEOF
31865 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31866 _ACEOF
31867
31868 EXTRALIBS_ESD="-lesd"
31869
31870 fi
31871
31872 done
31873
31874
31875 fi
31876
31877
31878
31879 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
31880 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
31881 cat >conftest.$ac_ext <<_ACEOF
31882 /* confdefs.h. */
31883 _ACEOF
31884 cat confdefs.h >>conftest.$ac_ext
31885 cat >>conftest.$ac_ext <<_ACEOF
31886 /* end confdefs.h. */
31887 #ifdef __linux__
31888 #include <linux/cdrom.h>
31889 #else
31890 /* For Solaris */
31891 #include <sys/cdio.h>
31892 #endif
31893
31894 int
31895 main ()
31896 {
31897 struct cdrom_tocentry entry, old_entry;
31898 ;
31899 return 0;
31900 }
31901 _ACEOF
31902 rm -f conftest.$ac_objext
31903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31904 (eval $ac_compile) 2>conftest.er1
31905 ac_status=$?
31906 grep -v '^ *+' conftest.er1 >conftest.err
31907 rm -f conftest.er1
31908 cat conftest.err >&5
31909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31910 (exit $ac_status); } &&
31911 { ac_try='test -z "$ac_c_werror_flag"
31912 || test ! -s conftest.err'
31913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31914 (eval $ac_try) 2>&5
31915 ac_status=$?
31916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31917 (exit $ac_status); }; } &&
31918 { ac_try='test -s conftest.$ac_objext'
31919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31920 (eval $ac_try) 2>&5
31921 ac_status=$?
31922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31923 (exit $ac_status); }; }; then
31924 echo "$as_me:$LINENO: result: yes" >&5
31925 echo "${ECHO_T}yes" >&6
31926 cat >>confdefs.h <<\_ACEOF
31927 #define HAVE_KNOWN_CDROM_INTERFACE 1
31928 _ACEOF
31929
31930 else
31931 echo "$as_me: failed program was:" >&5
31932 sed 's/^/| /' conftest.$ac_ext >&5
31933
31934 echo "$as_me:$LINENO: result: no" >&5
31935 echo "${ECHO_T}no" >&6
31936 fi
31937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31938
31939
31940 cat >confcache <<\_ACEOF
31941 # This file is a shell script that caches the results of configure
31942 # tests run on this system so they can be shared between configure
31943 # scripts and configure runs, see configure's option --config-cache.
31944 # It is not useful on other systems. If it contains results you don't
31945 # want to keep, you may remove or edit it.
31946 #
31947 # config.status only pays attention to the cache file if you give it
31948 # the --recheck option to rerun configure.
31949 #
31950 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31951 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31952 # following values.
31953
31954 _ACEOF
31955
31956 # The following way of writing the cache mishandles newlines in values,
31957 # but we know of no workaround that is simple, portable, and efficient.
31958 # So, don't put newlines in cache variables' values.
31959 # Ultrix sh set writes to stderr and can't be redirected directly,
31960 # and sets the high bit in the cache file unless we assign to the vars.
31961 {
31962 (set) 2>&1 |
31963 case `(ac_space=' '; set | grep ac_space) 2>&1` in
31964 *ac_space=\ *)
31965 # `set' does not quote correctly, so add quotes (double-quote
31966 # substitution turns \\\\ into \\, and sed turns \\ into \).
31967 sed -n \
31968 "s/'/'\\\\''/g;
31969 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31970 ;;
31971 *)
31972 # `set' quotes correctly as required by POSIX, so do not add quotes.
31973 sed -n \
31974 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
31975 ;;
31976 esac;
31977 } |
31978 sed '
31979 t clear
31980 : clear
31981 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31982 t end
31983 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31984 : end' >>confcache
31985 if diff $cache_file confcache >/dev/null 2>&1; then :; else
31986 if test -w $cache_file; then
31987 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
31988 cat confcache >$cache_file
31989 else
31990 echo "not updating unwritable cache $cache_file"
31991 fi
31992 fi
31993 rm -f confcache
31994
31995
31996 CPP_MT_FLAG=
31997 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31998
31999
32000 THREADS_LINK=
32001 THREADS_CFLAGS=
32002
32003 if test "$wxUSE_THREADS" = "yes" ; then
32004 if test "$USE_BEOS" = 1; then
32005 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
32006 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
32007 wxUSE_THREADS="no"
32008 fi
32009 fi
32010
32011 if test "$wxUSE_THREADS" = "yes" ; then
32012
32013
32014 THREAD_OPTS="-pthread"
32015 case "${host}" in
32016 *-*-solaris2* | *-*-sunos4* )
32017 if test "x$GCC" = "xyes"; then
32018 THREAD_OPTS="-pthreads $THREAD_OPTS"
32019 else
32020 THREAD_OPTS="-mt $THREAD_OPTS"
32021 fi
32022 ;;
32023 *-*-freebsd*)
32024 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
32025 ;;
32026 *-*-darwin* | *-*-cygwin* )
32027 THREAD_OPTS=""
32028 ;;
32029 *-*-aix*)
32030 THREAD_OPTS="pthreads"
32031 ;;
32032 *-hp-hpux* )
32033 if test "x$GCC" != "xyes"; then
32034 THREAD_OPTS=""
32035 fi
32036 ;;
32037
32038 *-*-irix* )
32039 if test "x$GCC" = "xyes"; then
32040 THREAD_OPTS=""
32041 fi
32042 ;;
32043
32044 *-*-*UnixWare*)
32045 if test "x$GCC" != "xyes"; then
32046 THREAD_OPTS="-Ethread"
32047 fi
32048 ;;
32049 esac
32050
32051 THREAD_OPTS="$THREAD_OPTS pthread none"
32052
32053 THREADS_OK=no
32054 for flag in $THREAD_OPTS; do
32055 case $flag in
32056 none)
32057 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
32058 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
32059 ;;
32060
32061 -*)
32062 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
32063 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
32064 THREADS_CFLAGS="$flag"
32065 ;;
32066
32067 *)
32068 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
32069 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
32070 THREADS_LINK="-l$flag"
32071 ;;
32072 esac
32073
32074 save_LIBS="$LIBS"
32075 save_CFLAGS="$CFLAGS"
32076 LIBS="$THREADS_LINK $LIBS"
32077 CFLAGS="$THREADS_CFLAGS $CFLAGS"
32078
32079 cat >conftest.$ac_ext <<_ACEOF
32080 /* confdefs.h. */
32081 _ACEOF
32082 cat confdefs.h >>conftest.$ac_ext
32083 cat >>conftest.$ac_ext <<_ACEOF
32084 /* end confdefs.h. */
32085 #include <pthread.h>
32086 int
32087 main ()
32088 {
32089 pthread_create(0,0,0,0);
32090 ;
32091 return 0;
32092 }
32093 _ACEOF
32094 rm -f conftest.$ac_objext conftest$ac_exeext
32095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32096 (eval $ac_link) 2>conftest.er1
32097 ac_status=$?
32098 grep -v '^ *+' conftest.er1 >conftest.err
32099 rm -f conftest.er1
32100 cat conftest.err >&5
32101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32102 (exit $ac_status); } &&
32103 { ac_try='test -z "$ac_c_werror_flag"
32104 || test ! -s conftest.err'
32105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32106 (eval $ac_try) 2>&5
32107 ac_status=$?
32108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32109 (exit $ac_status); }; } &&
32110 { ac_try='test -s conftest$ac_exeext'
32111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32112 (eval $ac_try) 2>&5
32113 ac_status=$?
32114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32115 (exit $ac_status); }; }; then
32116 THREADS_OK=yes
32117 else
32118 echo "$as_me: failed program was:" >&5
32119 sed 's/^/| /' conftest.$ac_ext >&5
32120
32121 fi
32122 rm -f conftest.err conftest.$ac_objext \
32123 conftest$ac_exeext conftest.$ac_ext
32124
32125 LIBS="$save_LIBS"
32126 CFLAGS="$save_CFLAGS"
32127
32128 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
32129 echo "${ECHO_T}$THREADS_OK" >&6
32130 if test "x$THREADS_OK" = "xyes"; then
32131 break;
32132 fi
32133
32134 THREADS_LINK=""
32135 THREADS_CFLAGS=""
32136 done
32137
32138 if test "x$THREADS_OK" != "xyes"; then
32139 wxUSE_THREADS=no
32140 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
32141 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
32142 else
32143 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
32144 LIBS="$THREADS_LINK $LIBS"
32145
32146 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
32147 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
32148 flag=no
32149 case "${host}" in
32150 *-aix*)
32151 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
32152 flag="-D_THREAD_SAFE"
32153 ;;
32154 *-freebsd*)
32155 flag="-D_THREAD_SAFE"
32156 ;;
32157 *-hp-hpux* )
32158 flag="-D_REENTRANT"
32159 if test "x$GCC" != "xyes"; then
32160 flag="$flag -D_RWSTD_MULTI_THREAD"
32161
32162 LIBS="$LIBS -lcma"
32163 fi
32164 ;;
32165 *solaris* | alpha*-osf*)
32166 flag="-D_REENTRANT"
32167 ;;
32168 esac
32169 echo "$as_me:$LINENO: result: ${flag}" >&5
32170 echo "${ECHO_T}${flag}" >&6
32171 if test "x$flag" != xno; then
32172 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
32173 fi
32174
32175 if test "x$THREADS_CFLAGS" != "x"; then
32176 CFLAGS="$CFLAGS $THREADS_CFLAGS"
32177 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
32178 fi
32179 fi
32180 fi
32181
32182 if test "$wxUSE_THREADS" = "yes" ; then
32183
32184 for ac_func in thr_setconcurrency
32185 do
32186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32187 echo "$as_me:$LINENO: checking for $ac_func" >&5
32188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32189 if eval "test \"\${$as_ac_var+set}\" = set"; then
32190 echo $ECHO_N "(cached) $ECHO_C" >&6
32191 else
32192 cat >conftest.$ac_ext <<_ACEOF
32193 /* confdefs.h. */
32194 _ACEOF
32195 cat confdefs.h >>conftest.$ac_ext
32196 cat >>conftest.$ac_ext <<_ACEOF
32197 /* end confdefs.h. */
32198 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32199 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32200 #define $ac_func innocuous_$ac_func
32201
32202 /* System header to define __stub macros and hopefully few prototypes,
32203 which can conflict with char $ac_func (); below.
32204 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32205 <limits.h> exists even on freestanding compilers. */
32206
32207 #ifdef __STDC__
32208 # include <limits.h>
32209 #else
32210 # include <assert.h>
32211 #endif
32212
32213 #undef $ac_func
32214
32215 /* Override any gcc2 internal prototype to avoid an error. */
32216 #ifdef __cplusplus
32217 extern "C"
32218 {
32219 #endif
32220 /* We use char because int might match the return type of a gcc2
32221 builtin and then its argument prototype would still apply. */
32222 char $ac_func ();
32223 /* The GNU C library defines this for functions which it implements
32224 to always fail with ENOSYS. Some functions are actually named
32225 something starting with __ and the normal name is an alias. */
32226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32227 choke me
32228 #else
32229 char (*f) () = $ac_func;
32230 #endif
32231 #ifdef __cplusplus
32232 }
32233 #endif
32234
32235 int
32236 main ()
32237 {
32238 return f != $ac_func;
32239 ;
32240 return 0;
32241 }
32242 _ACEOF
32243 rm -f conftest.$ac_objext conftest$ac_exeext
32244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32245 (eval $ac_link) 2>conftest.er1
32246 ac_status=$?
32247 grep -v '^ *+' conftest.er1 >conftest.err
32248 rm -f conftest.er1
32249 cat conftest.err >&5
32250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32251 (exit $ac_status); } &&
32252 { ac_try='test -z "$ac_c_werror_flag"
32253 || test ! -s conftest.err'
32254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32255 (eval $ac_try) 2>&5
32256 ac_status=$?
32257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32258 (exit $ac_status); }; } &&
32259 { ac_try='test -s conftest$ac_exeext'
32260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32261 (eval $ac_try) 2>&5
32262 ac_status=$?
32263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32264 (exit $ac_status); }; }; then
32265 eval "$as_ac_var=yes"
32266 else
32267 echo "$as_me: failed program was:" >&5
32268 sed 's/^/| /' conftest.$ac_ext >&5
32269
32270 eval "$as_ac_var=no"
32271 fi
32272 rm -f conftest.err conftest.$ac_objext \
32273 conftest$ac_exeext conftest.$ac_ext
32274 fi
32275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32276 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32277 if test `eval echo '${'$as_ac_var'}'` = yes; then
32278 cat >>confdefs.h <<_ACEOF
32279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32280 _ACEOF
32281
32282 fi
32283 done
32284
32285
32286
32287 for ac_header in sched.h
32288 do
32289 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32290 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32291 echo "$as_me:$LINENO: checking for $ac_header" >&5
32292 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32293 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32294 echo $ECHO_N "(cached) $ECHO_C" >&6
32295 fi
32296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32297 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32298 else
32299 # Is the header compilable?
32300 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32301 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32302 cat >conftest.$ac_ext <<_ACEOF
32303 /* confdefs.h. */
32304 _ACEOF
32305 cat confdefs.h >>conftest.$ac_ext
32306 cat >>conftest.$ac_ext <<_ACEOF
32307 /* end confdefs.h. */
32308 $ac_includes_default
32309 #include <$ac_header>
32310 _ACEOF
32311 rm -f conftest.$ac_objext
32312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32313 (eval $ac_compile) 2>conftest.er1
32314 ac_status=$?
32315 grep -v '^ *+' conftest.er1 >conftest.err
32316 rm -f conftest.er1
32317 cat conftest.err >&5
32318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32319 (exit $ac_status); } &&
32320 { ac_try='test -z "$ac_c_werror_flag"
32321 || test ! -s conftest.err'
32322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32323 (eval $ac_try) 2>&5
32324 ac_status=$?
32325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32326 (exit $ac_status); }; } &&
32327 { ac_try='test -s conftest.$ac_objext'
32328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32329 (eval $ac_try) 2>&5
32330 ac_status=$?
32331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32332 (exit $ac_status); }; }; then
32333 ac_header_compiler=yes
32334 else
32335 echo "$as_me: failed program was:" >&5
32336 sed 's/^/| /' conftest.$ac_ext >&5
32337
32338 ac_header_compiler=no
32339 fi
32340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32341 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32342 echo "${ECHO_T}$ac_header_compiler" >&6
32343
32344 # Is the header present?
32345 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32346 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32347 cat >conftest.$ac_ext <<_ACEOF
32348 /* confdefs.h. */
32349 _ACEOF
32350 cat confdefs.h >>conftest.$ac_ext
32351 cat >>conftest.$ac_ext <<_ACEOF
32352 /* end confdefs.h. */
32353 #include <$ac_header>
32354 _ACEOF
32355 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32356 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32357 ac_status=$?
32358 grep -v '^ *+' conftest.er1 >conftest.err
32359 rm -f conftest.er1
32360 cat conftest.err >&5
32361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32362 (exit $ac_status); } >/dev/null; then
32363 if test -s conftest.err; then
32364 ac_cpp_err=$ac_c_preproc_warn_flag
32365 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32366 else
32367 ac_cpp_err=
32368 fi
32369 else
32370 ac_cpp_err=yes
32371 fi
32372 if test -z "$ac_cpp_err"; then
32373 ac_header_preproc=yes
32374 else
32375 echo "$as_me: failed program was:" >&5
32376 sed 's/^/| /' conftest.$ac_ext >&5
32377
32378 ac_header_preproc=no
32379 fi
32380 rm -f conftest.err conftest.$ac_ext
32381 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32382 echo "${ECHO_T}$ac_header_preproc" >&6
32383
32384 # So? What about this header?
32385 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32386 yes:no: )
32387 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32388 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32389 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32390 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32391 ac_header_preproc=yes
32392 ;;
32393 no:yes:* )
32394 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32395 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32396 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32397 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32398 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32399 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32400 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32401 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32402 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32403 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32404 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32405 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32406 (
32407 cat <<\_ASBOX
32408 ## ----------------------------------------- ##
32409 ## Report this to wx-dev@lists.wxwidgets.org ##
32410 ## ----------------------------------------- ##
32411 _ASBOX
32412 ) |
32413 sed "s/^/$as_me: WARNING: /" >&2
32414 ;;
32415 esac
32416 echo "$as_me:$LINENO: checking for $ac_header" >&5
32417 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32418 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32419 echo $ECHO_N "(cached) $ECHO_C" >&6
32420 else
32421 eval "$as_ac_Header=\$ac_header_preproc"
32422 fi
32423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32424 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32425
32426 fi
32427 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32428 cat >>confdefs.h <<_ACEOF
32429 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32430 _ACEOF
32431
32432 fi
32433
32434 done
32435
32436 if test "$ac_cv_header_sched_h" = "yes"; then
32437 echo "$as_me:$LINENO: checking for sched_yield" >&5
32438 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
32439 if test "${ac_cv_func_sched_yield+set}" = set; then
32440 echo $ECHO_N "(cached) $ECHO_C" >&6
32441 else
32442 cat >conftest.$ac_ext <<_ACEOF
32443 /* confdefs.h. */
32444 _ACEOF
32445 cat confdefs.h >>conftest.$ac_ext
32446 cat >>conftest.$ac_ext <<_ACEOF
32447 /* end confdefs.h. */
32448 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
32449 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32450 #define sched_yield innocuous_sched_yield
32451
32452 /* System header to define __stub macros and hopefully few prototypes,
32453 which can conflict with char sched_yield (); below.
32454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32455 <limits.h> exists even on freestanding compilers. */
32456
32457 #ifdef __STDC__
32458 # include <limits.h>
32459 #else
32460 # include <assert.h>
32461 #endif
32462
32463 #undef sched_yield
32464
32465 /* Override any gcc2 internal prototype to avoid an error. */
32466 #ifdef __cplusplus
32467 extern "C"
32468 {
32469 #endif
32470 /* We use char because int might match the return type of a gcc2
32471 builtin and then its argument prototype would still apply. */
32472 char sched_yield ();
32473 /* The GNU C library defines this for functions which it implements
32474 to always fail with ENOSYS. Some functions are actually named
32475 something starting with __ and the normal name is an alias. */
32476 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
32477 choke me
32478 #else
32479 char (*f) () = sched_yield;
32480 #endif
32481 #ifdef __cplusplus
32482 }
32483 #endif
32484
32485 int
32486 main ()
32487 {
32488 return f != sched_yield;
32489 ;
32490 return 0;
32491 }
32492 _ACEOF
32493 rm -f conftest.$ac_objext conftest$ac_exeext
32494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32495 (eval $ac_link) 2>conftest.er1
32496 ac_status=$?
32497 grep -v '^ *+' conftest.er1 >conftest.err
32498 rm -f conftest.er1
32499 cat conftest.err >&5
32500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32501 (exit $ac_status); } &&
32502 { ac_try='test -z "$ac_c_werror_flag"
32503 || test ! -s conftest.err'
32504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32505 (eval $ac_try) 2>&5
32506 ac_status=$?
32507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32508 (exit $ac_status); }; } &&
32509 { ac_try='test -s conftest$ac_exeext'
32510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32511 (eval $ac_try) 2>&5
32512 ac_status=$?
32513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32514 (exit $ac_status); }; }; then
32515 ac_cv_func_sched_yield=yes
32516 else
32517 echo "$as_me: failed program was:" >&5
32518 sed 's/^/| /' conftest.$ac_ext >&5
32519
32520 ac_cv_func_sched_yield=no
32521 fi
32522 rm -f conftest.err conftest.$ac_objext \
32523 conftest$ac_exeext conftest.$ac_ext
32524 fi
32525 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
32526 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
32527 if test $ac_cv_func_sched_yield = yes; then
32528 cat >>confdefs.h <<\_ACEOF
32529 #define HAVE_SCHED_YIELD 1
32530 _ACEOF
32531
32532 else
32533
32534 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
32535 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
32536 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
32537 echo $ECHO_N "(cached) $ECHO_C" >&6
32538 else
32539 ac_check_lib_save_LIBS=$LIBS
32540 LIBS="-lposix4 $LIBS"
32541 cat >conftest.$ac_ext <<_ACEOF
32542 /* confdefs.h. */
32543 _ACEOF
32544 cat confdefs.h >>conftest.$ac_ext
32545 cat >>conftest.$ac_ext <<_ACEOF
32546 /* end confdefs.h. */
32547
32548 /* Override any gcc2 internal prototype to avoid an error. */
32549 #ifdef __cplusplus
32550 extern "C"
32551 #endif
32552 /* We use char because int might match the return type of a gcc2
32553 builtin and then its argument prototype would still apply. */
32554 char sched_yield ();
32555 int
32556 main ()
32557 {
32558 sched_yield ();
32559 ;
32560 return 0;
32561 }
32562 _ACEOF
32563 rm -f conftest.$ac_objext conftest$ac_exeext
32564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32565 (eval $ac_link) 2>conftest.er1
32566 ac_status=$?
32567 grep -v '^ *+' conftest.er1 >conftest.err
32568 rm -f conftest.er1
32569 cat conftest.err >&5
32570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32571 (exit $ac_status); } &&
32572 { ac_try='test -z "$ac_c_werror_flag"
32573 || test ! -s conftest.err'
32574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32575 (eval $ac_try) 2>&5
32576 ac_status=$?
32577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32578 (exit $ac_status); }; } &&
32579 { ac_try='test -s conftest$ac_exeext'
32580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32581 (eval $ac_try) 2>&5
32582 ac_status=$?
32583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32584 (exit $ac_status); }; }; then
32585 ac_cv_lib_posix4_sched_yield=yes
32586 else
32587 echo "$as_me: failed program was:" >&5
32588 sed 's/^/| /' conftest.$ac_ext >&5
32589
32590 ac_cv_lib_posix4_sched_yield=no
32591 fi
32592 rm -f conftest.err conftest.$ac_objext \
32593 conftest$ac_exeext conftest.$ac_ext
32594 LIBS=$ac_check_lib_save_LIBS
32595 fi
32596 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
32597 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
32598 if test $ac_cv_lib_posix4_sched_yield = yes; then
32599 cat >>confdefs.h <<\_ACEOF
32600 #define HAVE_SCHED_YIELD 1
32601 _ACEOF
32602 POSIX4_LINK=" -lposix4"
32603 else
32604 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
32605 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32606
32607 fi
32608
32609
32610
32611 fi
32612
32613 fi
32614
32615 HAVE_PRIOR_FUNCS=0
32616 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
32617 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
32618 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
32619 echo $ECHO_N "(cached) $ECHO_C" >&6
32620 else
32621 cat >conftest.$ac_ext <<_ACEOF
32622 /* confdefs.h. */
32623 _ACEOF
32624 cat confdefs.h >>conftest.$ac_ext
32625 cat >>conftest.$ac_ext <<_ACEOF
32626 /* end confdefs.h. */
32627 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
32628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32629 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
32630
32631 /* System header to define __stub macros and hopefully few prototypes,
32632 which can conflict with char pthread_attr_getschedpolicy (); below.
32633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32634 <limits.h> exists even on freestanding compilers. */
32635
32636 #ifdef __STDC__
32637 # include <limits.h>
32638 #else
32639 # include <assert.h>
32640 #endif
32641
32642 #undef pthread_attr_getschedpolicy
32643
32644 /* Override any gcc2 internal prototype to avoid an error. */
32645 #ifdef __cplusplus
32646 extern "C"
32647 {
32648 #endif
32649 /* We use char because int might match the return type of a gcc2
32650 builtin and then its argument prototype would still apply. */
32651 char pthread_attr_getschedpolicy ();
32652 /* The GNU C library defines this for functions which it implements
32653 to always fail with ENOSYS. Some functions are actually named
32654 something starting with __ and the normal name is an alias. */
32655 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
32656 choke me
32657 #else
32658 char (*f) () = pthread_attr_getschedpolicy;
32659 #endif
32660 #ifdef __cplusplus
32661 }
32662 #endif
32663
32664 int
32665 main ()
32666 {
32667 return f != pthread_attr_getschedpolicy;
32668 ;
32669 return 0;
32670 }
32671 _ACEOF
32672 rm -f conftest.$ac_objext conftest$ac_exeext
32673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32674 (eval $ac_link) 2>conftest.er1
32675 ac_status=$?
32676 grep -v '^ *+' conftest.er1 >conftest.err
32677 rm -f conftest.er1
32678 cat conftest.err >&5
32679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32680 (exit $ac_status); } &&
32681 { ac_try='test -z "$ac_c_werror_flag"
32682 || test ! -s conftest.err'
32683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32684 (eval $ac_try) 2>&5
32685 ac_status=$?
32686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32687 (exit $ac_status); }; } &&
32688 { ac_try='test -s conftest$ac_exeext'
32689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32690 (eval $ac_try) 2>&5
32691 ac_status=$?
32692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32693 (exit $ac_status); }; }; then
32694 ac_cv_func_pthread_attr_getschedpolicy=yes
32695 else
32696 echo "$as_me: failed program was:" >&5
32697 sed 's/^/| /' conftest.$ac_ext >&5
32698
32699 ac_cv_func_pthread_attr_getschedpolicy=no
32700 fi
32701 rm -f conftest.err conftest.$ac_objext \
32702 conftest$ac_exeext conftest.$ac_ext
32703 fi
32704 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
32705 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
32706 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
32707 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
32708 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
32709 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
32710 echo $ECHO_N "(cached) $ECHO_C" >&6
32711 else
32712 cat >conftest.$ac_ext <<_ACEOF
32713 /* confdefs.h. */
32714 _ACEOF
32715 cat confdefs.h >>conftest.$ac_ext
32716 cat >>conftest.$ac_ext <<_ACEOF
32717 /* end confdefs.h. */
32718 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
32719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32720 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
32721
32722 /* System header to define __stub macros and hopefully few prototypes,
32723 which can conflict with char pthread_attr_setschedparam (); below.
32724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32725 <limits.h> exists even on freestanding compilers. */
32726
32727 #ifdef __STDC__
32728 # include <limits.h>
32729 #else
32730 # include <assert.h>
32731 #endif
32732
32733 #undef pthread_attr_setschedparam
32734
32735 /* Override any gcc2 internal prototype to avoid an error. */
32736 #ifdef __cplusplus
32737 extern "C"
32738 {
32739 #endif
32740 /* We use char because int might match the return type of a gcc2
32741 builtin and then its argument prototype would still apply. */
32742 char pthread_attr_setschedparam ();
32743 /* The GNU C library defines this for functions which it implements
32744 to always fail with ENOSYS. Some functions are actually named
32745 something starting with __ and the normal name is an alias. */
32746 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
32747 choke me
32748 #else
32749 char (*f) () = pthread_attr_setschedparam;
32750 #endif
32751 #ifdef __cplusplus
32752 }
32753 #endif
32754
32755 int
32756 main ()
32757 {
32758 return f != pthread_attr_setschedparam;
32759 ;
32760 return 0;
32761 }
32762 _ACEOF
32763 rm -f conftest.$ac_objext conftest$ac_exeext
32764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32765 (eval $ac_link) 2>conftest.er1
32766 ac_status=$?
32767 grep -v '^ *+' conftest.er1 >conftest.err
32768 rm -f conftest.er1
32769 cat conftest.err >&5
32770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32771 (exit $ac_status); } &&
32772 { ac_try='test -z "$ac_c_werror_flag"
32773 || test ! -s conftest.err'
32774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32775 (eval $ac_try) 2>&5
32776 ac_status=$?
32777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32778 (exit $ac_status); }; } &&
32779 { ac_try='test -s conftest$ac_exeext'
32780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32781 (eval $ac_try) 2>&5
32782 ac_status=$?
32783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32784 (exit $ac_status); }; }; then
32785 ac_cv_func_pthread_attr_setschedparam=yes
32786 else
32787 echo "$as_me: failed program was:" >&5
32788 sed 's/^/| /' conftest.$ac_ext >&5
32789
32790 ac_cv_func_pthread_attr_setschedparam=no
32791 fi
32792 rm -f conftest.err conftest.$ac_objext \
32793 conftest$ac_exeext conftest.$ac_ext
32794 fi
32795 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
32796 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
32797 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
32798 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
32799 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
32800 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
32801 echo $ECHO_N "(cached) $ECHO_C" >&6
32802 else
32803 cat >conftest.$ac_ext <<_ACEOF
32804 /* confdefs.h. */
32805 _ACEOF
32806 cat confdefs.h >>conftest.$ac_ext
32807 cat >>conftest.$ac_ext <<_ACEOF
32808 /* end confdefs.h. */
32809 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
32810 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32811 #define sched_get_priority_max innocuous_sched_get_priority_max
32812
32813 /* System header to define __stub macros and hopefully few prototypes,
32814 which can conflict with char sched_get_priority_max (); below.
32815 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32816 <limits.h> exists even on freestanding compilers. */
32817
32818 #ifdef __STDC__
32819 # include <limits.h>
32820 #else
32821 # include <assert.h>
32822 #endif
32823
32824 #undef sched_get_priority_max
32825
32826 /* Override any gcc2 internal prototype to avoid an error. */
32827 #ifdef __cplusplus
32828 extern "C"
32829 {
32830 #endif
32831 /* We use char because int might match the return type of a gcc2
32832 builtin and then its argument prototype would still apply. */
32833 char sched_get_priority_max ();
32834 /* The GNU C library defines this for functions which it implements
32835 to always fail with ENOSYS. Some functions are actually named
32836 something starting with __ and the normal name is an alias. */
32837 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
32838 choke me
32839 #else
32840 char (*f) () = sched_get_priority_max;
32841 #endif
32842 #ifdef __cplusplus
32843 }
32844 #endif
32845
32846 int
32847 main ()
32848 {
32849 return f != sched_get_priority_max;
32850 ;
32851 return 0;
32852 }
32853 _ACEOF
32854 rm -f conftest.$ac_objext conftest$ac_exeext
32855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32856 (eval $ac_link) 2>conftest.er1
32857 ac_status=$?
32858 grep -v '^ *+' conftest.er1 >conftest.err
32859 rm -f conftest.er1
32860 cat conftest.err >&5
32861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32862 (exit $ac_status); } &&
32863 { ac_try='test -z "$ac_c_werror_flag"
32864 || test ! -s conftest.err'
32865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32866 (eval $ac_try) 2>&5
32867 ac_status=$?
32868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32869 (exit $ac_status); }; } &&
32870 { ac_try='test -s conftest$ac_exeext'
32871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32872 (eval $ac_try) 2>&5
32873 ac_status=$?
32874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32875 (exit $ac_status); }; }; then
32876 ac_cv_func_sched_get_priority_max=yes
32877 else
32878 echo "$as_me: failed program was:" >&5
32879 sed 's/^/| /' conftest.$ac_ext >&5
32880
32881 ac_cv_func_sched_get_priority_max=no
32882 fi
32883 rm -f conftest.err conftest.$ac_objext \
32884 conftest$ac_exeext conftest.$ac_ext
32885 fi
32886 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
32887 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
32888 if test $ac_cv_func_sched_get_priority_max = yes; then
32889 HAVE_PRIOR_FUNCS=1
32890 else
32891 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
32892 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
32893 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
32894 echo $ECHO_N "(cached) $ECHO_C" >&6
32895 else
32896 ac_check_lib_save_LIBS=$LIBS
32897 LIBS="-lposix4 $LIBS"
32898 cat >conftest.$ac_ext <<_ACEOF
32899 /* confdefs.h. */
32900 _ACEOF
32901 cat confdefs.h >>conftest.$ac_ext
32902 cat >>conftest.$ac_ext <<_ACEOF
32903 /* end confdefs.h. */
32904
32905 /* Override any gcc2 internal prototype to avoid an error. */
32906 #ifdef __cplusplus
32907 extern "C"
32908 #endif
32909 /* We use char because int might match the return type of a gcc2
32910 builtin and then its argument prototype would still apply. */
32911 char sched_get_priority_max ();
32912 int
32913 main ()
32914 {
32915 sched_get_priority_max ();
32916 ;
32917 return 0;
32918 }
32919 _ACEOF
32920 rm -f conftest.$ac_objext conftest$ac_exeext
32921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32922 (eval $ac_link) 2>conftest.er1
32923 ac_status=$?
32924 grep -v '^ *+' conftest.er1 >conftest.err
32925 rm -f conftest.er1
32926 cat conftest.err >&5
32927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32928 (exit $ac_status); } &&
32929 { ac_try='test -z "$ac_c_werror_flag"
32930 || test ! -s conftest.err'
32931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32932 (eval $ac_try) 2>&5
32933 ac_status=$?
32934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32935 (exit $ac_status); }; } &&
32936 { ac_try='test -s conftest$ac_exeext'
32937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32938 (eval $ac_try) 2>&5
32939 ac_status=$?
32940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32941 (exit $ac_status); }; }; then
32942 ac_cv_lib_posix4_sched_get_priority_max=yes
32943 else
32944 echo "$as_me: failed program was:" >&5
32945 sed 's/^/| /' conftest.$ac_ext >&5
32946
32947 ac_cv_lib_posix4_sched_get_priority_max=no
32948 fi
32949 rm -f conftest.err conftest.$ac_objext \
32950 conftest$ac_exeext conftest.$ac_ext
32951 LIBS=$ac_check_lib_save_LIBS
32952 fi
32953 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32954 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
32955 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
32956
32957 HAVE_PRIOR_FUNCS=1
32958 POSIX4_LINK=" -lposix4"
32959
32960 fi
32961
32962
32963 fi
32964
32965
32966 fi
32967
32968
32969 fi
32970
32971
32972 if test "$HAVE_PRIOR_FUNCS" = 1; then
32973 cat >>confdefs.h <<\_ACEOF
32974 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
32975 _ACEOF
32976
32977 else
32978 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
32979 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32980 fi
32981
32982 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
32983 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
32984 if test "${ac_cv_func_pthread_cancel+set}" = set; then
32985 echo $ECHO_N "(cached) $ECHO_C" >&6
32986 else
32987 cat >conftest.$ac_ext <<_ACEOF
32988 /* confdefs.h. */
32989 _ACEOF
32990 cat confdefs.h >>conftest.$ac_ext
32991 cat >>conftest.$ac_ext <<_ACEOF
32992 /* end confdefs.h. */
32993 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
32994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32995 #define pthread_cancel innocuous_pthread_cancel
32996
32997 /* System header to define __stub macros and hopefully few prototypes,
32998 which can conflict with char pthread_cancel (); below.
32999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33000 <limits.h> exists even on freestanding compilers. */
33001
33002 #ifdef __STDC__
33003 # include <limits.h>
33004 #else
33005 # include <assert.h>
33006 #endif
33007
33008 #undef pthread_cancel
33009
33010 /* Override any gcc2 internal prototype to avoid an error. */
33011 #ifdef __cplusplus
33012 extern "C"
33013 {
33014 #endif
33015 /* We use char because int might match the return type of a gcc2
33016 builtin and then its argument prototype would still apply. */
33017 char pthread_cancel ();
33018 /* The GNU C library defines this for functions which it implements
33019 to always fail with ENOSYS. Some functions are actually named
33020 something starting with __ and the normal name is an alias. */
33021 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
33022 choke me
33023 #else
33024 char (*f) () = pthread_cancel;
33025 #endif
33026 #ifdef __cplusplus
33027 }
33028 #endif
33029
33030 int
33031 main ()
33032 {
33033 return f != pthread_cancel;
33034 ;
33035 return 0;
33036 }
33037 _ACEOF
33038 rm -f conftest.$ac_objext conftest$ac_exeext
33039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33040 (eval $ac_link) 2>conftest.er1
33041 ac_status=$?
33042 grep -v '^ *+' conftest.er1 >conftest.err
33043 rm -f conftest.er1
33044 cat conftest.err >&5
33045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33046 (exit $ac_status); } &&
33047 { ac_try='test -z "$ac_c_werror_flag"
33048 || test ! -s conftest.err'
33049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33050 (eval $ac_try) 2>&5
33051 ac_status=$?
33052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33053 (exit $ac_status); }; } &&
33054 { ac_try='test -s conftest$ac_exeext'
33055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33056 (eval $ac_try) 2>&5
33057 ac_status=$?
33058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33059 (exit $ac_status); }; }; then
33060 ac_cv_func_pthread_cancel=yes
33061 else
33062 echo "$as_me: failed program was:" >&5
33063 sed 's/^/| /' conftest.$ac_ext >&5
33064
33065 ac_cv_func_pthread_cancel=no
33066 fi
33067 rm -f conftest.err conftest.$ac_objext \
33068 conftest$ac_exeext conftest.$ac_ext
33069 fi
33070 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
33071 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
33072 if test $ac_cv_func_pthread_cancel = yes; then
33073 cat >>confdefs.h <<\_ACEOF
33074 #define HAVE_PTHREAD_CANCEL 1
33075 _ACEOF
33076
33077 else
33078 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
33079 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
33080 fi
33081
33082
33083
33084
33085 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
33086 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
33087 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
33088 echo $ECHO_N "(cached) $ECHO_C" >&6
33089 else
33090
33091 cat >conftest.$ac_ext <<_ACEOF
33092 /* confdefs.h. */
33093 _ACEOF
33094 cat confdefs.h >>conftest.$ac_ext
33095 cat >>conftest.$ac_ext <<_ACEOF
33096 /* end confdefs.h. */
33097 #include <pthread.h>
33098 int
33099 main ()
33100 {
33101
33102 pthread_mutexattr_t attr;
33103 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
33104
33105 ;
33106 return 0;
33107 }
33108 _ACEOF
33109 rm -f conftest.$ac_objext
33110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33111 (eval $ac_compile) 2>conftest.er1
33112 ac_status=$?
33113 grep -v '^ *+' conftest.er1 >conftest.err
33114 rm -f conftest.er1
33115 cat conftest.err >&5
33116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33117 (exit $ac_status); } &&
33118 { ac_try='test -z "$ac_c_werror_flag"
33119 || test ! -s conftest.err'
33120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33121 (eval $ac_try) 2>&5
33122 ac_status=$?
33123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33124 (exit $ac_status); }; } &&
33125 { ac_try='test -s conftest.$ac_objext'
33126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33127 (eval $ac_try) 2>&5
33128 ac_status=$?
33129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33130 (exit $ac_status); }; }; then
33131
33132 wx_cv_type_pthread_mutexattr_t=yes
33133
33134 else
33135 echo "$as_me: failed program was:" >&5
33136 sed 's/^/| /' conftest.$ac_ext >&5
33137
33138
33139 wx_cv_type_pthread_mutexattr_t=no
33140
33141
33142 fi
33143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33144
33145 fi
33146 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
33147 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
33148
33149 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
33150 cat >>confdefs.h <<\_ACEOF
33151 #define HAVE_PTHREAD_MUTEXATTR_T 1
33152 _ACEOF
33153
33154 else
33155 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
33156 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
33157 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
33158 echo $ECHO_N "(cached) $ECHO_C" >&6
33159 else
33160
33161 cat >conftest.$ac_ext <<_ACEOF
33162 /* confdefs.h. */
33163 _ACEOF
33164 cat confdefs.h >>conftest.$ac_ext
33165 cat >>conftest.$ac_ext <<_ACEOF
33166 /* end confdefs.h. */
33167 #include <pthread.h>
33168 int
33169 main ()
33170 {
33171
33172 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
33173
33174 ;
33175 return 0;
33176 }
33177 _ACEOF
33178 rm -f conftest.$ac_objext
33179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33180 (eval $ac_compile) 2>conftest.er1
33181 ac_status=$?
33182 grep -v '^ *+' conftest.er1 >conftest.err
33183 rm -f conftest.er1
33184 cat conftest.err >&5
33185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33186 (exit $ac_status); } &&
33187 { ac_try='test -z "$ac_c_werror_flag"
33188 || test ! -s conftest.err'
33189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33190 (eval $ac_try) 2>&5
33191 ac_status=$?
33192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33193 (exit $ac_status); }; } &&
33194 { ac_try='test -s conftest.$ac_objext'
33195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33196 (eval $ac_try) 2>&5
33197 ac_status=$?
33198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33199 (exit $ac_status); }; }; then
33200
33201 wx_cv_type_pthread_rec_mutex_init=yes
33202
33203 else
33204 echo "$as_me: failed program was:" >&5
33205 sed 's/^/| /' conftest.$ac_ext >&5
33206
33207
33208 wx_cv_type_pthread_rec_mutex_init=no
33209
33210
33211 fi
33212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33213
33214 fi
33215 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
33216 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
33217 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
33218 cat >>confdefs.h <<\_ACEOF
33219 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
33220 _ACEOF
33221
33222 else
33223 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
33224 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
33225 fi
33226 fi
33227 fi
33228
33229 else
33230 if test "$wxUSE_THREADS" = "yes" ; then
33231 case "${host}" in
33232 *-*-mingw32* )
33233 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
33234 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
33235 if test "${wx_cv_cflags_mthread+set}" = set; then
33236 echo $ECHO_N "(cached) $ECHO_C" >&6
33237 else
33238
33239 CFLAGS_OLD="$CFLAGS"
33240 CFLAGS="$CFLAGS -mthreads"
33241 cat >conftest.$ac_ext <<_ACEOF
33242 /* confdefs.h. */
33243 _ACEOF
33244 cat confdefs.h >>conftest.$ac_ext
33245 cat >>conftest.$ac_ext <<_ACEOF
33246 /* end confdefs.h. */
33247
33248 int
33249 main ()
33250 {
33251
33252 ;
33253 return 0;
33254 }
33255 _ACEOF
33256 rm -f conftest.$ac_objext
33257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33258 (eval $ac_compile) 2>conftest.er1
33259 ac_status=$?
33260 grep -v '^ *+' conftest.er1 >conftest.err
33261 rm -f conftest.er1
33262 cat conftest.err >&5
33263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33264 (exit $ac_status); } &&
33265 { ac_try='test -z "$ac_c_werror_flag"
33266 || test ! -s conftest.err'
33267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33268 (eval $ac_try) 2>&5
33269 ac_status=$?
33270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33271 (exit $ac_status); }; } &&
33272 { ac_try='test -s conftest.$ac_objext'
33273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33274 (eval $ac_try) 2>&5
33275 ac_status=$?
33276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33277 (exit $ac_status); }; }; then
33278 wx_cv_cflags_mthread=yes
33279 else
33280 echo "$as_me: failed program was:" >&5
33281 sed 's/^/| /' conftest.$ac_ext >&5
33282
33283 wx_cv_cflags_mthread=no
33284
33285 fi
33286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33287
33288
33289 fi
33290 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
33291 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
33292
33293 if test "$wx_cv_cflags_mthread" = "yes"; then
33294 CXXFLAGS="$CXXFLAGS -mthreads"
33295 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
33296 LDFLAGS="$LDFLAGS -mthreads"
33297 else
33298 CFLAGS="$CFLAGS_OLD"
33299 fi
33300 ;;
33301 *-pc-os2*emx )
33302 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
33303 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
33304 LDFLAGS="$LDFLAGS -Zmt"
33305 ;;
33306 esac
33307 fi
33308 fi
33309
33310 if test "$wxUSE_THREADS" = "yes"; then
33311 cat >>confdefs.h <<\_ACEOF
33312 #define wxUSE_THREADS 1
33313 _ACEOF
33314
33315
33316 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
33317 else
33318 if test "$ac_cv_func_strtok_r" = "yes"; then
33319 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
33320 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
33321 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33322 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
33323 echo "$as_me:$LINENO: result: yes" >&5
33324 echo "${ECHO_T}yes" >&6
33325 else
33326 echo "$as_me:$LINENO: result: no" >&5
33327 echo "${ECHO_T}no" >&6
33328 fi
33329 fi
33330 fi
33331
33332 if test "$WXGTK20" = 1 ; then
33333 cat >>confdefs.h <<_ACEOF
33334 #define __WXGTK20__ $WXGTK20
33335 _ACEOF
33336
33337 WXGTK12=1
33338 fi
33339
33340 if test "$WXGTK12" = 1 ; then
33341 cat >>confdefs.h <<_ACEOF
33342 #define __WXGTK12__ $WXGTK12
33343 _ACEOF
33344
33345 fi
33346
33347 if test "$WXGTK127" = 1 ; then
33348 cat >>confdefs.h <<_ACEOF
33349 #define __WXGTK127__ $WXGTK127
33350 _ACEOF
33351
33352 fi
33353
33354 if test "$WXGPE" = 1 ; then
33355 cat >>confdefs.h <<_ACEOF
33356 #define __WXGPE__ $WXGPE
33357 _ACEOF
33358
33359 fi
33360
33361 WXDEBUG=
33362
33363 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
33364 WXDEBUG="-g"
33365 wxUSE_OPTIMISE=no
33366 fi
33367
33368 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33369 wxUSE_DEBUG_INFO=yes
33370 WXDEBUG="-ggdb"
33371 fi
33372
33373 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
33374 cat >>confdefs.h <<\_ACEOF
33375 #define WXDEBUG 1
33376 _ACEOF
33377
33378 WXDEBUG_DEFINE="-D__WXDEBUG__"
33379 else
33380 if test "$wxUSE_GTK" = 1 ; then
33381 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
33382 fi
33383 fi
33384
33385 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33386 cat >>confdefs.h <<\_ACEOF
33387 #define wxUSE_MEMORY_TRACING 1
33388 _ACEOF
33389
33390 cat >>confdefs.h <<\_ACEOF
33391 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
33392 _ACEOF
33393
33394 cat >>confdefs.h <<\_ACEOF
33395 #define wxUSE_DEBUG_NEW_ALWAYS 1
33396 _ACEOF
33397
33398 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
33399 fi
33400
33401 if test "$wxUSE_DMALLOC" = "yes" ; then
33402 DMALLOC_LIBS="-ldmalloc"
33403 fi
33404
33405 PROFILE=
33406 if test "$wxUSE_PROFILE" = "yes" ; then
33407 PROFILE=" -pg"
33408 fi
33409
33410 CODE_GEN_FLAGS=
33411 CODE_GEN_FLAGS_CXX=
33412 if test "$GCC" = "yes" ; then
33413 if test "$wxUSE_NO_RTTI" = "yes" ; then
33414 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
33415 fi
33416 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33417 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
33418 fi
33419 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33420 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
33421 fi
33422
33423 case "${host}" in
33424 powerpc*-*-aix* )
33425 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
33426 ;;
33427 *-hppa* )
33428 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
33429 ;;
33430 esac
33431 fi
33432
33433 OPTIMISE=
33434 if test "$wxUSE_OPTIMISE" = "no" ; then
33435 if test "$GCC" = yes ; then
33436 OPTIMISE="-O0"
33437 fi
33438 else
33439 if test "$GCC" = yes ; then
33440 OPTIMISE="-O2"
33441
33442 case "${host}" in
33443 i586-*-*|i686-*-* )
33444 OPTIMISE="${OPTIMISE} "
33445 ;;
33446 esac
33447 else
33448 OPTIMISE="-O"
33449 fi
33450 fi
33451
33452
33453 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
33454 cat >>confdefs.h <<\_ACEOF
33455 #define WXWIN_COMPATIBILITY_2_2 1
33456 _ACEOF
33457
33458
33459 WXWIN_COMPATIBILITY_2_4="yes"
33460 fi
33461
33462 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
33463 cat >>confdefs.h <<\_ACEOF
33464 #define WXWIN_COMPATIBILITY_2_4 1
33465 _ACEOF
33466
33467 fi
33468
33469
33470 if test "$wxUSE_GUI" = "yes"; then
33471 cat >>confdefs.h <<\_ACEOF
33472 #define wxUSE_GUI 1
33473 _ACEOF
33474
33475
33476 else
33477 cat >>confdefs.h <<\_ACEOF
33478 #define wxUSE_NOGUI 1
33479 _ACEOF
33480
33481 fi
33482
33483
33484 if test "$wxUSE_UNIX" = "yes"; then
33485 cat >>confdefs.h <<\_ACEOF
33486 #define wxUSE_UNIX 1
33487 _ACEOF
33488
33489 fi
33490
33491
33492 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33493
33494 HAVE_DL_FUNCS=0
33495 HAVE_SHL_FUNCS=0
33496 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33497 if test "$USE_DARWIN" = 1; then
33498 HAVE_DL_FUNCS=1
33499 else
33500
33501 for ac_func in dlopen
33502 do
33503 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33504 echo "$as_me:$LINENO: checking for $ac_func" >&5
33505 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33506 if eval "test \"\${$as_ac_var+set}\" = set"; then
33507 echo $ECHO_N "(cached) $ECHO_C" >&6
33508 else
33509 cat >conftest.$ac_ext <<_ACEOF
33510 /* confdefs.h. */
33511 _ACEOF
33512 cat confdefs.h >>conftest.$ac_ext
33513 cat >>conftest.$ac_ext <<_ACEOF
33514 /* end confdefs.h. */
33515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33516 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33517 #define $ac_func innocuous_$ac_func
33518
33519 /* System header to define __stub macros and hopefully few prototypes,
33520 which can conflict with char $ac_func (); below.
33521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33522 <limits.h> exists even on freestanding compilers. */
33523
33524 #ifdef __STDC__
33525 # include <limits.h>
33526 #else
33527 # include <assert.h>
33528 #endif
33529
33530 #undef $ac_func
33531
33532 /* Override any gcc2 internal prototype to avoid an error. */
33533 #ifdef __cplusplus
33534 extern "C"
33535 {
33536 #endif
33537 /* We use char because int might match the return type of a gcc2
33538 builtin and then its argument prototype would still apply. */
33539 char $ac_func ();
33540 /* The GNU C library defines this for functions which it implements
33541 to always fail with ENOSYS. Some functions are actually named
33542 something starting with __ and the normal name is an alias. */
33543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33544 choke me
33545 #else
33546 char (*f) () = $ac_func;
33547 #endif
33548 #ifdef __cplusplus
33549 }
33550 #endif
33551
33552 int
33553 main ()
33554 {
33555 return f != $ac_func;
33556 ;
33557 return 0;
33558 }
33559 _ACEOF
33560 rm -f conftest.$ac_objext conftest$ac_exeext
33561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33562 (eval $ac_link) 2>conftest.er1
33563 ac_status=$?
33564 grep -v '^ *+' conftest.er1 >conftest.err
33565 rm -f conftest.er1
33566 cat conftest.err >&5
33567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33568 (exit $ac_status); } &&
33569 { ac_try='test -z "$ac_c_werror_flag"
33570 || test ! -s conftest.err'
33571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33572 (eval $ac_try) 2>&5
33573 ac_status=$?
33574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33575 (exit $ac_status); }; } &&
33576 { ac_try='test -s conftest$ac_exeext'
33577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33578 (eval $ac_try) 2>&5
33579 ac_status=$?
33580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33581 (exit $ac_status); }; }; then
33582 eval "$as_ac_var=yes"
33583 else
33584 echo "$as_me: failed program was:" >&5
33585 sed 's/^/| /' conftest.$ac_ext >&5
33586
33587 eval "$as_ac_var=no"
33588 fi
33589 rm -f conftest.err conftest.$ac_objext \
33590 conftest$ac_exeext conftest.$ac_ext
33591 fi
33592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33593 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33594 if test `eval echo '${'$as_ac_var'}'` = yes; then
33595 cat >>confdefs.h <<_ACEOF
33596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33597 _ACEOF
33598
33599 cat >>confdefs.h <<\_ACEOF
33600 #define HAVE_DLOPEN 1
33601 _ACEOF
33602
33603 HAVE_DL_FUNCS=1
33604
33605 else
33606
33607 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
33608 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
33609 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
33610 echo $ECHO_N "(cached) $ECHO_C" >&6
33611 else
33612 ac_check_lib_save_LIBS=$LIBS
33613 LIBS="-ldl $LIBS"
33614 cat >conftest.$ac_ext <<_ACEOF
33615 /* confdefs.h. */
33616 _ACEOF
33617 cat confdefs.h >>conftest.$ac_ext
33618 cat >>conftest.$ac_ext <<_ACEOF
33619 /* end confdefs.h. */
33620
33621 /* Override any gcc2 internal prototype to avoid an error. */
33622 #ifdef __cplusplus
33623 extern "C"
33624 #endif
33625 /* We use char because int might match the return type of a gcc2
33626 builtin and then its argument prototype would still apply. */
33627 char dlopen ();
33628 int
33629 main ()
33630 {
33631 dlopen ();
33632 ;
33633 return 0;
33634 }
33635 _ACEOF
33636 rm -f conftest.$ac_objext conftest$ac_exeext
33637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33638 (eval $ac_link) 2>conftest.er1
33639 ac_status=$?
33640 grep -v '^ *+' conftest.er1 >conftest.err
33641 rm -f conftest.er1
33642 cat conftest.err >&5
33643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33644 (exit $ac_status); } &&
33645 { ac_try='test -z "$ac_c_werror_flag"
33646 || test ! -s conftest.err'
33647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33648 (eval $ac_try) 2>&5
33649 ac_status=$?
33650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33651 (exit $ac_status); }; } &&
33652 { ac_try='test -s conftest$ac_exeext'
33653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33654 (eval $ac_try) 2>&5
33655 ac_status=$?
33656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33657 (exit $ac_status); }; }; then
33658 ac_cv_lib_dl_dlopen=yes
33659 else
33660 echo "$as_me: failed program was:" >&5
33661 sed 's/^/| /' conftest.$ac_ext >&5
33662
33663 ac_cv_lib_dl_dlopen=no
33664 fi
33665 rm -f conftest.err conftest.$ac_objext \
33666 conftest$ac_exeext conftest.$ac_ext
33667 LIBS=$ac_check_lib_save_LIBS
33668 fi
33669 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
33670 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
33671 if test $ac_cv_lib_dl_dlopen = yes; then
33672
33673 cat >>confdefs.h <<\_ACEOF
33674 #define HAVE_DLOPEN 1
33675 _ACEOF
33676
33677 HAVE_DL_FUNCS=1
33678 DL_LINK=" -ldl$DL_LINK"
33679
33680 else
33681
33682
33683 for ac_func in shl_load
33684 do
33685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33686 echo "$as_me:$LINENO: checking for $ac_func" >&5
33687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33688 if eval "test \"\${$as_ac_var+set}\" = set"; then
33689 echo $ECHO_N "(cached) $ECHO_C" >&6
33690 else
33691 cat >conftest.$ac_ext <<_ACEOF
33692 /* confdefs.h. */
33693 _ACEOF
33694 cat confdefs.h >>conftest.$ac_ext
33695 cat >>conftest.$ac_ext <<_ACEOF
33696 /* end confdefs.h. */
33697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33699 #define $ac_func innocuous_$ac_func
33700
33701 /* System header to define __stub macros and hopefully few prototypes,
33702 which can conflict with char $ac_func (); below.
33703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33704 <limits.h> exists even on freestanding compilers. */
33705
33706 #ifdef __STDC__
33707 # include <limits.h>
33708 #else
33709 # include <assert.h>
33710 #endif
33711
33712 #undef $ac_func
33713
33714 /* Override any gcc2 internal prototype to avoid an error. */
33715 #ifdef __cplusplus
33716 extern "C"
33717 {
33718 #endif
33719 /* We use char because int might match the return type of a gcc2
33720 builtin and then its argument prototype would still apply. */
33721 char $ac_func ();
33722 /* The GNU C library defines this for functions which it implements
33723 to always fail with ENOSYS. Some functions are actually named
33724 something starting with __ and the normal name is an alias. */
33725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33726 choke me
33727 #else
33728 char (*f) () = $ac_func;
33729 #endif
33730 #ifdef __cplusplus
33731 }
33732 #endif
33733
33734 int
33735 main ()
33736 {
33737 return f != $ac_func;
33738 ;
33739 return 0;
33740 }
33741 _ACEOF
33742 rm -f conftest.$ac_objext conftest$ac_exeext
33743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33744 (eval $ac_link) 2>conftest.er1
33745 ac_status=$?
33746 grep -v '^ *+' conftest.er1 >conftest.err
33747 rm -f conftest.er1
33748 cat conftest.err >&5
33749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33750 (exit $ac_status); } &&
33751 { ac_try='test -z "$ac_c_werror_flag"
33752 || test ! -s conftest.err'
33753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33754 (eval $ac_try) 2>&5
33755 ac_status=$?
33756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33757 (exit $ac_status); }; } &&
33758 { ac_try='test -s conftest$ac_exeext'
33759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33760 (eval $ac_try) 2>&5
33761 ac_status=$?
33762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33763 (exit $ac_status); }; }; then
33764 eval "$as_ac_var=yes"
33765 else
33766 echo "$as_me: failed program was:" >&5
33767 sed 's/^/| /' conftest.$ac_ext >&5
33768
33769 eval "$as_ac_var=no"
33770 fi
33771 rm -f conftest.err conftest.$ac_objext \
33772 conftest$ac_exeext conftest.$ac_ext
33773 fi
33774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33776 if test `eval echo '${'$as_ac_var'}'` = yes; then
33777 cat >>confdefs.h <<_ACEOF
33778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33779 _ACEOF
33780
33781 cat >>confdefs.h <<\_ACEOF
33782 #define HAVE_SHL_LOAD 1
33783 _ACEOF
33784
33785 HAVE_SHL_FUNCS=1
33786
33787 else
33788
33789 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
33790 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
33791 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
33792 echo $ECHO_N "(cached) $ECHO_C" >&6
33793 else
33794 ac_check_lib_save_LIBS=$LIBS
33795 LIBS="-lshl_load $LIBS"
33796 cat >conftest.$ac_ext <<_ACEOF
33797 /* confdefs.h. */
33798 _ACEOF
33799 cat confdefs.h >>conftest.$ac_ext
33800 cat >>conftest.$ac_ext <<_ACEOF
33801 /* end confdefs.h. */
33802
33803 /* Override any gcc2 internal prototype to avoid an error. */
33804 #ifdef __cplusplus
33805 extern "C"
33806 #endif
33807 /* We use char because int might match the return type of a gcc2
33808 builtin and then its argument prototype would still apply. */
33809 char dld ();
33810 int
33811 main ()
33812 {
33813 dld ();
33814 ;
33815 return 0;
33816 }
33817 _ACEOF
33818 rm -f conftest.$ac_objext conftest$ac_exeext
33819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33820 (eval $ac_link) 2>conftest.er1
33821 ac_status=$?
33822 grep -v '^ *+' conftest.er1 >conftest.err
33823 rm -f conftest.er1
33824 cat conftest.err >&5
33825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33826 (exit $ac_status); } &&
33827 { ac_try='test -z "$ac_c_werror_flag"
33828 || test ! -s conftest.err'
33829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33830 (eval $ac_try) 2>&5
33831 ac_status=$?
33832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33833 (exit $ac_status); }; } &&
33834 { ac_try='test -s conftest$ac_exeext'
33835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33836 (eval $ac_try) 2>&5
33837 ac_status=$?
33838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33839 (exit $ac_status); }; }; then
33840 ac_cv_lib_shl_load_dld=yes
33841 else
33842 echo "$as_me: failed program was:" >&5
33843 sed 's/^/| /' conftest.$ac_ext >&5
33844
33845 ac_cv_lib_shl_load_dld=no
33846 fi
33847 rm -f conftest.err conftest.$ac_objext \
33848 conftest$ac_exeext conftest.$ac_ext
33849 LIBS=$ac_check_lib_save_LIBS
33850 fi
33851 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
33852 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
33853 if test $ac_cv_lib_shl_load_dld = yes; then
33854
33855 HAVE_SHL_FUNCS=1
33856 DL_LINK=" -ldld$DL_LINK"
33857
33858 fi
33859
33860
33861 fi
33862 done
33863
33864
33865 fi
33866
33867
33868 fi
33869 done
33870
33871
33872 if test "$HAVE_DL_FUNCS" = 1; then
33873
33874 for ac_func in dlerror
33875 do
33876 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33877 echo "$as_me:$LINENO: checking for $ac_func" >&5
33878 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33879 if eval "test \"\${$as_ac_var+set}\" = set"; then
33880 echo $ECHO_N "(cached) $ECHO_C" >&6
33881 else
33882 cat >conftest.$ac_ext <<_ACEOF
33883 /* confdefs.h. */
33884 _ACEOF
33885 cat confdefs.h >>conftest.$ac_ext
33886 cat >>conftest.$ac_ext <<_ACEOF
33887 /* end confdefs.h. */
33888 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33890 #define $ac_func innocuous_$ac_func
33891
33892 /* System header to define __stub macros and hopefully few prototypes,
33893 which can conflict with char $ac_func (); below.
33894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33895 <limits.h> exists even on freestanding compilers. */
33896
33897 #ifdef __STDC__
33898 # include <limits.h>
33899 #else
33900 # include <assert.h>
33901 #endif
33902
33903 #undef $ac_func
33904
33905 /* Override any gcc2 internal prototype to avoid an error. */
33906 #ifdef __cplusplus
33907 extern "C"
33908 {
33909 #endif
33910 /* We use char because int might match the return type of a gcc2
33911 builtin and then its argument prototype would still apply. */
33912 char $ac_func ();
33913 /* The GNU C library defines this for functions which it implements
33914 to always fail with ENOSYS. Some functions are actually named
33915 something starting with __ and the normal name is an alias. */
33916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33917 choke me
33918 #else
33919 char (*f) () = $ac_func;
33920 #endif
33921 #ifdef __cplusplus
33922 }
33923 #endif
33924
33925 int
33926 main ()
33927 {
33928 return f != $ac_func;
33929 ;
33930 return 0;
33931 }
33932 _ACEOF
33933 rm -f conftest.$ac_objext conftest$ac_exeext
33934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33935 (eval $ac_link) 2>conftest.er1
33936 ac_status=$?
33937 grep -v '^ *+' conftest.er1 >conftest.err
33938 rm -f conftest.er1
33939 cat conftest.err >&5
33940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33941 (exit $ac_status); } &&
33942 { ac_try='test -z "$ac_c_werror_flag"
33943 || test ! -s conftest.err'
33944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33945 (eval $ac_try) 2>&5
33946 ac_status=$?
33947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33948 (exit $ac_status); }; } &&
33949 { ac_try='test -s conftest$ac_exeext'
33950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33951 (eval $ac_try) 2>&5
33952 ac_status=$?
33953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33954 (exit $ac_status); }; }; then
33955 eval "$as_ac_var=yes"
33956 else
33957 echo "$as_me: failed program was:" >&5
33958 sed 's/^/| /' conftest.$ac_ext >&5
33959
33960 eval "$as_ac_var=no"
33961 fi
33962 rm -f conftest.err conftest.$ac_objext \
33963 conftest$ac_exeext conftest.$ac_ext
33964 fi
33965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33966 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33967 if test `eval echo '${'$as_ac_var'}'` = yes; then
33968 cat >>confdefs.h <<_ACEOF
33969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33970 _ACEOF
33971 cat >>confdefs.h <<\_ACEOF
33972 #define HAVE_DLERROR 1
33973 _ACEOF
33974
33975 else
33976
33977 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
33978 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
33979 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
33980 echo $ECHO_N "(cached) $ECHO_C" >&6
33981 else
33982 ac_check_lib_save_LIBS=$LIBS
33983 LIBS="-ldl $LIBS"
33984 cat >conftest.$ac_ext <<_ACEOF
33985 /* confdefs.h. */
33986 _ACEOF
33987 cat confdefs.h >>conftest.$ac_ext
33988 cat >>conftest.$ac_ext <<_ACEOF
33989 /* end confdefs.h. */
33990
33991 /* Override any gcc2 internal prototype to avoid an error. */
33992 #ifdef __cplusplus
33993 extern "C"
33994 #endif
33995 /* We use char because int might match the return type of a gcc2
33996 builtin and then its argument prototype would still apply. */
33997 char dlerror ();
33998 int
33999 main ()
34000 {
34001 dlerror ();
34002 ;
34003 return 0;
34004 }
34005 _ACEOF
34006 rm -f conftest.$ac_objext conftest$ac_exeext
34007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34008 (eval $ac_link) 2>conftest.er1
34009 ac_status=$?
34010 grep -v '^ *+' conftest.er1 >conftest.err
34011 rm -f conftest.er1
34012 cat conftest.err >&5
34013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34014 (exit $ac_status); } &&
34015 { ac_try='test -z "$ac_c_werror_flag"
34016 || test ! -s conftest.err'
34017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34018 (eval $ac_try) 2>&5
34019 ac_status=$?
34020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34021 (exit $ac_status); }; } &&
34022 { ac_try='test -s conftest$ac_exeext'
34023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34024 (eval $ac_try) 2>&5
34025 ac_status=$?
34026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34027 (exit $ac_status); }; }; then
34028 ac_cv_lib_dl_dlerror=yes
34029 else
34030 echo "$as_me: failed program was:" >&5
34031 sed 's/^/| /' conftest.$ac_ext >&5
34032
34033 ac_cv_lib_dl_dlerror=no
34034 fi
34035 rm -f conftest.err conftest.$ac_objext \
34036 conftest$ac_exeext conftest.$ac_ext
34037 LIBS=$ac_check_lib_save_LIBS
34038 fi
34039 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
34040 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
34041 if test $ac_cv_lib_dl_dlerror = yes; then
34042 cat >>confdefs.h <<\_ACEOF
34043 #define HAVE_DLERROR 1
34044 _ACEOF
34045
34046 fi
34047
34048
34049
34050 fi
34051 done
34052
34053 fi
34054 fi
34055
34056 if test "$HAVE_DL_FUNCS" = 0; then
34057 if test "$HAVE_SHL_FUNCS" = 0; then
34058 if test "$USE_UNIX" = 1; then
34059 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
34060 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
34061 wxUSE_DYNAMIC_LOADER=no
34062 wxUSE_DYNLIB_CLASS=no
34063 else
34064 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
34065 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
34066 fi
34067 fi
34068 fi
34069 fi
34070 fi
34071
34072 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
34073 cat >>confdefs.h <<\_ACEOF
34074 #define wxUSE_DYNAMIC_LOADER 1
34075 _ACEOF
34076
34077 fi
34078 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34079 cat >>confdefs.h <<\_ACEOF
34080 #define wxUSE_DYNLIB_CLASS 1
34081 _ACEOF
34082
34083 fi
34084
34085
34086
34087 if test "$wxUSE_PLUGINS" = "yes" ; then
34088 if test "$wxUSE_SHARED" = "no" ; then
34089 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
34090 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
34091 wxUSE_PLUGINS=no
34092 fi
34093 if test "$wxUSE_MONOLITHIC" = "yes" ; then
34094 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
34095 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
34096 wxUSE_PLUGINS=no
34097 fi
34098 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
34099 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
34100 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
34101 wxUSE_PLUGINS=no
34102 fi
34103 if test "$wxUSE_PLUGINS" = "yes" ; then
34104 cat >>confdefs.h <<\_ACEOF
34105 #define wxUSE_PLUGINS 1
34106 _ACEOF
34107
34108 fi
34109 fi
34110
34111
34112 if test "$wxUSE_STL" = "yes"; then
34113 cat >>confdefs.h <<\_ACEOF
34114 #define wxUSE_STL 1
34115 _ACEOF
34116
34117 fi
34118
34119 if test "$wxUSE_APPLE_IEEE" = "yes"; then
34120 cat >>confdefs.h <<\_ACEOF
34121 #define wxUSE_APPLE_IEEE 1
34122 _ACEOF
34123
34124 fi
34125
34126 if test "$wxUSE_TIMER" = "yes"; then
34127 cat >>confdefs.h <<\_ACEOF
34128 #define wxUSE_TIMER 1
34129 _ACEOF
34130
34131 fi
34132
34133 WITH_PLUGIN_SDL=0
34134 if test "$wxUSE_SOUND" = "yes"; then
34135 if test "$USE_UNIX" = "1" ; then
34136
34137 for ac_header in sys/soundcard.h
34138 do
34139 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34140 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34141 echo "$as_me:$LINENO: checking for $ac_header" >&5
34142 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34143 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34144 echo $ECHO_N "(cached) $ECHO_C" >&6
34145 fi
34146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34147 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34148 else
34149 # Is the header compilable?
34150 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34151 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34152 cat >conftest.$ac_ext <<_ACEOF
34153 /* confdefs.h. */
34154 _ACEOF
34155 cat confdefs.h >>conftest.$ac_ext
34156 cat >>conftest.$ac_ext <<_ACEOF
34157 /* end confdefs.h. */
34158 $ac_includes_default
34159 #include <$ac_header>
34160 _ACEOF
34161 rm -f conftest.$ac_objext
34162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34163 (eval $ac_compile) 2>conftest.er1
34164 ac_status=$?
34165 grep -v '^ *+' conftest.er1 >conftest.err
34166 rm -f conftest.er1
34167 cat conftest.err >&5
34168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34169 (exit $ac_status); } &&
34170 { ac_try='test -z "$ac_c_werror_flag"
34171 || test ! -s conftest.err'
34172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34173 (eval $ac_try) 2>&5
34174 ac_status=$?
34175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34176 (exit $ac_status); }; } &&
34177 { ac_try='test -s conftest.$ac_objext'
34178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34179 (eval $ac_try) 2>&5
34180 ac_status=$?
34181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34182 (exit $ac_status); }; }; then
34183 ac_header_compiler=yes
34184 else
34185 echo "$as_me: failed program was:" >&5
34186 sed 's/^/| /' conftest.$ac_ext >&5
34187
34188 ac_header_compiler=no
34189 fi
34190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34191 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34192 echo "${ECHO_T}$ac_header_compiler" >&6
34193
34194 # Is the header present?
34195 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34196 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34197 cat >conftest.$ac_ext <<_ACEOF
34198 /* confdefs.h. */
34199 _ACEOF
34200 cat confdefs.h >>conftest.$ac_ext
34201 cat >>conftest.$ac_ext <<_ACEOF
34202 /* end confdefs.h. */
34203 #include <$ac_header>
34204 _ACEOF
34205 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34206 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34207 ac_status=$?
34208 grep -v '^ *+' conftest.er1 >conftest.err
34209 rm -f conftest.er1
34210 cat conftest.err >&5
34211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34212 (exit $ac_status); } >/dev/null; then
34213 if test -s conftest.err; then
34214 ac_cpp_err=$ac_c_preproc_warn_flag
34215 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34216 else
34217 ac_cpp_err=
34218 fi
34219 else
34220 ac_cpp_err=yes
34221 fi
34222 if test -z "$ac_cpp_err"; then
34223 ac_header_preproc=yes
34224 else
34225 echo "$as_me: failed program was:" >&5
34226 sed 's/^/| /' conftest.$ac_ext >&5
34227
34228 ac_header_preproc=no
34229 fi
34230 rm -f conftest.err conftest.$ac_ext
34231 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34232 echo "${ECHO_T}$ac_header_preproc" >&6
34233
34234 # So? What about this header?
34235 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34236 yes:no: )
34237 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34238 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34239 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34240 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34241 ac_header_preproc=yes
34242 ;;
34243 no:yes:* )
34244 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34245 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34246 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34247 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34248 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34249 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34250 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34251 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34252 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34253 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34254 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34255 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34256 (
34257 cat <<\_ASBOX
34258 ## ----------------------------------------- ##
34259 ## Report this to wx-dev@lists.wxwidgets.org ##
34260 ## ----------------------------------------- ##
34261 _ASBOX
34262 ) |
34263 sed "s/^/$as_me: WARNING: /" >&2
34264 ;;
34265 esac
34266 echo "$as_me:$LINENO: checking for $ac_header" >&5
34267 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34268 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34269 echo $ECHO_N "(cached) $ECHO_C" >&6
34270 else
34271 eval "$as_ac_Header=\$ac_header_preproc"
34272 fi
34273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34274 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34275
34276 fi
34277 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34278 cat >>confdefs.h <<_ACEOF
34279 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34280 _ACEOF
34281
34282 fi
34283
34284 done
34285
34286
34287 if test "$wxUSE_LIBSDL" != "no"; then
34288
34289 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
34290 if test "${with_sdl_prefix+set}" = set; then
34291 withval="$with_sdl_prefix"
34292 sdl_prefix="$withval"
34293 else
34294 sdl_prefix=""
34295 fi;
34296
34297 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
34298 if test "${with_sdl_exec_prefix+set}" = set; then
34299 withval="$with_sdl_exec_prefix"
34300 sdl_exec_prefix="$withval"
34301 else
34302 sdl_exec_prefix=""
34303 fi;
34304 # Check whether --enable-sdltest or --disable-sdltest was given.
34305 if test "${enable_sdltest+set}" = set; then
34306 enableval="$enable_sdltest"
34307
34308 else
34309 enable_sdltest=yes
34310 fi;
34311
34312 if test x$sdl_exec_prefix != x ; then
34313 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
34314 if test x${SDL_CONFIG+set} != xset ; then
34315 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
34316 fi
34317 fi
34318 if test x$sdl_prefix != x ; then
34319 sdl_args="$sdl_args --prefix=$sdl_prefix"
34320 if test x${SDL_CONFIG+set} != xset ; then
34321 SDL_CONFIG=$sdl_prefix/bin/sdl-config
34322 fi
34323 fi
34324
34325
34326 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
34327 # Extract the first word of "sdl-config", so it can be a program name with args.
34328 set dummy sdl-config; ac_word=$2
34329 echo "$as_me:$LINENO: checking for $ac_word" >&5
34330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34331 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
34332 echo $ECHO_N "(cached) $ECHO_C" >&6
34333 else
34334 case $SDL_CONFIG in
34335 [\\/]* | ?:[\\/]*)
34336 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
34337 ;;
34338 *)
34339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34340 for as_dir in $PATH
34341 do
34342 IFS=$as_save_IFS
34343 test -z "$as_dir" && as_dir=.
34344 for ac_exec_ext in '' $ac_executable_extensions; do
34345 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34346 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34348 break 2
34349 fi
34350 done
34351 done
34352
34353 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
34354 ;;
34355 esac
34356 fi
34357 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
34358
34359 if test -n "$SDL_CONFIG"; then
34360 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
34361 echo "${ECHO_T}$SDL_CONFIG" >&6
34362 else
34363 echo "$as_me:$LINENO: result: no" >&5
34364 echo "${ECHO_T}no" >&6
34365 fi
34366
34367 min_sdl_version=1.2.0
34368 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
34369 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
34370 no_sdl=""
34371 if test "$SDL_CONFIG" = "no" ; then
34372 no_sdl=yes
34373 else
34374 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
34375 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
34376
34377 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
34378 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
34379 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
34380 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
34381 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
34382 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
34383 if test "x$enable_sdltest" = "xyes" ; then
34384 ac_save_CFLAGS="$CFLAGS"
34385 ac_save_LIBS="$LIBS"
34386 CFLAGS="$CFLAGS $SDL_CFLAGS"
34387 LIBS="$LIBS $SDL_LIBS"
34388 rm -f conf.sdltest
34389 if test "$cross_compiling" = yes; then
34390 echo $ac_n "cross compiling; assumed OK... $ac_c"
34391 else
34392 cat >conftest.$ac_ext <<_ACEOF
34393 /* confdefs.h. */
34394 _ACEOF
34395 cat confdefs.h >>conftest.$ac_ext
34396 cat >>conftest.$ac_ext <<_ACEOF
34397 /* end confdefs.h. */
34398
34399 #include <stdio.h>
34400 #include <stdlib.h>
34401 #include <string.h>
34402 #include "SDL.h"
34403
34404 char*
34405 my_strdup (char *str)
34406 {
34407 char *new_str;
34408
34409 if (str)
34410 {
34411 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
34412 strcpy (new_str, str);
34413 }
34414 else
34415 new_str = NULL;
34416
34417 return new_str;
34418 }
34419
34420 int main (int argc, char *argv[])
34421 {
34422 int major, minor, micro;
34423 char *tmp_version;
34424
34425 /* This hangs on some systems (?)
34426 system ("touch conf.sdltest");
34427 */
34428 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
34429
34430 /* HP/UX 9 (%@#!) writes to sscanf strings */
34431 tmp_version = my_strdup("$min_sdl_version");
34432 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
34433 printf("%s, bad version string\n", "$min_sdl_version");
34434 exit(1);
34435 }
34436
34437 if (($sdl_major_version > major) ||
34438 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
34439 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
34440 {
34441 return 0;
34442 }
34443 else
34444 {
34445 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
34446 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
34447 printf("*** best to upgrade to the required version.\n");
34448 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
34449 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
34450 printf("*** config.cache before re-running configure\n");
34451 return 1;
34452 }
34453 }
34454
34455
34456 _ACEOF
34457 rm -f conftest$ac_exeext
34458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34459 (eval $ac_link) 2>&5
34460 ac_status=$?
34461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34462 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34464 (eval $ac_try) 2>&5
34465 ac_status=$?
34466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34467 (exit $ac_status); }; }; then
34468 :
34469 else
34470 echo "$as_me: program exited with status $ac_status" >&5
34471 echo "$as_me: failed program was:" >&5
34472 sed 's/^/| /' conftest.$ac_ext >&5
34473
34474 ( exit $ac_status )
34475 no_sdl=yes
34476 fi
34477 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34478 fi
34479 CFLAGS="$ac_save_CFLAGS"
34480 LIBS="$ac_save_LIBS"
34481 fi
34482 fi
34483 if test "x$no_sdl" = x ; then
34484 echo "$as_me:$LINENO: result: yes" >&5
34485 echo "${ECHO_T}yes" >&6
34486
34487 EXTRALIBS_SDL="$SDL_LIBS"
34488 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
34489 cat >>confdefs.h <<\_ACEOF
34490 #define wxUSE_LIBSDL 1
34491 _ACEOF
34492
34493
34494 else
34495 echo "$as_me:$LINENO: result: no" >&5
34496 echo "${ECHO_T}no" >&6
34497 if test "$SDL_CONFIG" = "no" ; then
34498 echo "*** The sdl-config script installed by SDL could not be found"
34499 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
34500 echo "*** your path, or set the SDL_CONFIG environment variable to the"
34501 echo "*** full path to sdl-config."
34502 else
34503 if test -f conf.sdltest ; then
34504 :
34505 else
34506 echo "*** Could not run SDL test program, checking why..."
34507 CFLAGS="$CFLAGS $SDL_CFLAGS"
34508 LIBS="$LIBS $SDL_LIBS"
34509 cat >conftest.$ac_ext <<_ACEOF
34510 /* confdefs.h. */
34511 _ACEOF
34512 cat confdefs.h >>conftest.$ac_ext
34513 cat >>conftest.$ac_ext <<_ACEOF
34514 /* end confdefs.h. */
34515
34516 #include <stdio.h>
34517 #include "SDL.h"
34518
34519 int main(int argc, char *argv[])
34520 { return 0; }
34521 #undef main
34522 #define main K_and_R_C_main
34523
34524 int
34525 main ()
34526 {
34527 return 0;
34528 ;
34529 return 0;
34530 }
34531 _ACEOF
34532 rm -f conftest.$ac_objext conftest$ac_exeext
34533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34534 (eval $ac_link) 2>conftest.er1
34535 ac_status=$?
34536 grep -v '^ *+' conftest.er1 >conftest.err
34537 rm -f conftest.er1
34538 cat conftest.err >&5
34539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34540 (exit $ac_status); } &&
34541 { ac_try='test -z "$ac_c_werror_flag"
34542 || test ! -s conftest.err'
34543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34544 (eval $ac_try) 2>&5
34545 ac_status=$?
34546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34547 (exit $ac_status); }; } &&
34548 { ac_try='test -s conftest$ac_exeext'
34549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34550 (eval $ac_try) 2>&5
34551 ac_status=$?
34552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34553 (exit $ac_status); }; }; then
34554 echo "*** The test program compiled, but did not run. This usually means"
34555 echo "*** that the run-time linker is not finding SDL or finding the wrong"
34556 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
34557 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
34558 echo "*** to the installed location Also, make sure you have run ldconfig if that"
34559 echo "*** is required on your system"
34560 echo "***"
34561 echo "*** If you have an old version installed, it is best to remove it, although"
34562 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
34563 else
34564 echo "$as_me: failed program was:" >&5
34565 sed 's/^/| /' conftest.$ac_ext >&5
34566
34567 echo "*** The test program failed to compile or link. See the file config.log for the"
34568 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
34569 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
34570 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
34571 fi
34572 rm -f conftest.err conftest.$ac_objext \
34573 conftest$ac_exeext conftest.$ac_ext
34574 CFLAGS="$ac_save_CFLAGS"
34575 LIBS="$ac_save_LIBS"
34576 fi
34577 fi
34578 SDL_CFLAGS=""
34579 SDL_LIBS=""
34580 wxUSE_LIBSDL="no"
34581 fi
34582
34583
34584 rm -f conf.sdltest
34585
34586 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
34587 WITH_PLUGIN_SDL=1
34588 fi
34589 fi
34590 fi
34591
34592 cat >>confdefs.h <<\_ACEOF
34593 #define wxUSE_SOUND 1
34594 _ACEOF
34595
34596 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
34597 fi
34598
34599 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34600 cat >>confdefs.h <<\_ACEOF
34601 #define wxUSE_CMDLINE_PARSER 1
34602 _ACEOF
34603
34604 fi
34605
34606 if test "$wxUSE_STOPWATCH" = "yes"; then
34607 cat >>confdefs.h <<\_ACEOF
34608 #define wxUSE_STOPWATCH 1
34609 _ACEOF
34610
34611 fi
34612
34613 if test "$wxUSE_DATETIME" = "yes"; then
34614 cat >>confdefs.h <<\_ACEOF
34615 #define wxUSE_DATETIME 1
34616 _ACEOF
34617
34618 fi
34619
34620 if test "$wxUSE_FILE" = "yes"; then
34621 cat >>confdefs.h <<\_ACEOF
34622 #define wxUSE_FILE 1
34623 _ACEOF
34624
34625 fi
34626
34627 if test "$wxUSE_FFILE" = "yes"; then
34628 cat >>confdefs.h <<\_ACEOF
34629 #define wxUSE_FFILE 1
34630 _ACEOF
34631
34632 fi
34633
34634 if test "$wxUSE_FILESYSTEM" = "yes"; then
34635 cat >>confdefs.h <<\_ACEOF
34636 #define wxUSE_FILESYSTEM 1
34637 _ACEOF
34638
34639 fi
34640
34641 if test "$wxUSE_FS_ZIP" = "yes"; then
34642 cat >>confdefs.h <<\_ACEOF
34643 #define wxUSE_FS_ZIP 1
34644 _ACEOF
34645
34646 fi
34647
34648 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34649 cat >>confdefs.h <<\_ACEOF
34650 #define wxUSE_ZIPSTREAM 1
34651 _ACEOF
34652
34653 fi
34654
34655 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34656 cat >>confdefs.h <<\_ACEOF
34657 #define wxUSE_ON_FATAL_EXCEPTION 1
34658 _ACEOF
34659
34660 fi
34661
34662 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34663 cat >>confdefs.h <<\_ACEOF
34664 #define wxUSE_SNGLINST_CHECKER 1
34665 _ACEOF
34666
34667 fi
34668
34669 if test "$wxUSE_BUSYINFO" = "yes"; then
34670 cat >>confdefs.h <<\_ACEOF
34671 #define wxUSE_BUSYINFO 1
34672 _ACEOF
34673
34674 fi
34675
34676 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34677 cat >>confdefs.h <<\_ACEOF
34678 #define wxUSE_STD_IOSTREAM 1
34679 _ACEOF
34680
34681 fi
34682
34683 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34684 cat >>confdefs.h <<\_ACEOF
34685 #define wxUSE_TEXTBUFFER 1
34686 _ACEOF
34687
34688 fi
34689
34690 if test "$wxUSE_TEXTFILE" = "yes"; then
34691 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34692 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34693 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34694 else
34695 cat >>confdefs.h <<\_ACEOF
34696 #define wxUSE_TEXTFILE 1
34697 _ACEOF
34698
34699 fi
34700 fi
34701
34702 if test "$wxUSE_CONFIG" = "yes" ; then
34703 if test "$wxUSE_TEXTFILE" != "yes"; then
34704 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
34705 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34706 else
34707 cat >>confdefs.h <<\_ACEOF
34708 #define wxUSE_CONFIG 1
34709 _ACEOF
34710
34711 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
34712 fi
34713 fi
34714
34715 if test "$wxUSE_INTL" = "yes" ; then
34716 if test "$wxUSE_FILE" != "yes"; then
34717 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
34718 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34719 else
34720 cat >>confdefs.h <<\_ACEOF
34721 #define wxUSE_INTL 1
34722 _ACEOF
34723
34724 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
34725 GUIDIST="$GUIDIST INTL_DIST"
34726 fi
34727 fi
34728
34729 if test "$wxUSE_LOG" = "yes"; then
34730 cat >>confdefs.h <<\_ACEOF
34731 #define wxUSE_LOG 1
34732 _ACEOF
34733
34734
34735 if test "$wxUSE_LOGGUI" = "yes"; then
34736 cat >>confdefs.h <<\_ACEOF
34737 #define wxUSE_LOGGUI 1
34738 _ACEOF
34739
34740 fi
34741
34742 if test "$wxUSE_LOGWINDOW" = "yes"; then
34743 cat >>confdefs.h <<\_ACEOF
34744 #define wxUSE_LOGWINDOW 1
34745 _ACEOF
34746
34747 fi
34748
34749 if test "$wxUSE_LOGDIALOG" = "yes"; then
34750 cat >>confdefs.h <<\_ACEOF
34751 #define wxUSE_LOG_DIALOG 1
34752 _ACEOF
34753
34754 fi
34755 fi
34756
34757 if test "$wxUSE_LONGLONG" = "yes"; then
34758 cat >>confdefs.h <<\_ACEOF
34759 #define wxUSE_LONGLONG 1
34760 _ACEOF
34761
34762 fi
34763
34764 if test "$wxUSE_GEOMETRY" = "yes"; then
34765 cat >>confdefs.h <<\_ACEOF
34766 #define wxUSE_GEOMETRY 1
34767 _ACEOF
34768
34769 fi
34770
34771 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
34772 cat >>confdefs.h <<\_ACEOF
34773 #define wxUSE_DIALUP_MANAGER 1
34774 _ACEOF
34775
34776 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
34777 fi
34778
34779 if test "$wxUSE_STREAMS" = "yes" ; then
34780 cat >>confdefs.h <<\_ACEOF
34781 #define wxUSE_STREAMS 1
34782 _ACEOF
34783
34784 fi
34785
34786
34787 if test "$wxUSE_DATETIME" = "yes"; then
34788
34789 for ac_func in strptime
34790 do
34791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34792 echo "$as_me:$LINENO: checking for $ac_func" >&5
34793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34794 if eval "test \"\${$as_ac_var+set}\" = set"; then
34795 echo $ECHO_N "(cached) $ECHO_C" >&6
34796 else
34797 cat >conftest.$ac_ext <<_ACEOF
34798 /* confdefs.h. */
34799 _ACEOF
34800 cat confdefs.h >>conftest.$ac_ext
34801 cat >>conftest.$ac_ext <<_ACEOF
34802 /* end confdefs.h. */
34803 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34804 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34805 #define $ac_func innocuous_$ac_func
34806
34807 /* System header to define __stub macros and hopefully few prototypes,
34808 which can conflict with char $ac_func (); below.
34809 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34810 <limits.h> exists even on freestanding compilers. */
34811
34812 #ifdef __STDC__
34813 # include <limits.h>
34814 #else
34815 # include <assert.h>
34816 #endif
34817
34818 #undef $ac_func
34819
34820 /* Override any gcc2 internal prototype to avoid an error. */
34821 #ifdef __cplusplus
34822 extern "C"
34823 {
34824 #endif
34825 /* We use char because int might match the return type of a gcc2
34826 builtin and then its argument prototype would still apply. */
34827 char $ac_func ();
34828 /* The GNU C library defines this for functions which it implements
34829 to always fail with ENOSYS. Some functions are actually named
34830 something starting with __ and the normal name is an alias. */
34831 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34832 choke me
34833 #else
34834 char (*f) () = $ac_func;
34835 #endif
34836 #ifdef __cplusplus
34837 }
34838 #endif
34839
34840 int
34841 main ()
34842 {
34843 return f != $ac_func;
34844 ;
34845 return 0;
34846 }
34847 _ACEOF
34848 rm -f conftest.$ac_objext conftest$ac_exeext
34849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34850 (eval $ac_link) 2>conftest.er1
34851 ac_status=$?
34852 grep -v '^ *+' conftest.er1 >conftest.err
34853 rm -f conftest.er1
34854 cat conftest.err >&5
34855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34856 (exit $ac_status); } &&
34857 { ac_try='test -z "$ac_c_werror_flag"
34858 || test ! -s conftest.err'
34859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34860 (eval $ac_try) 2>&5
34861 ac_status=$?
34862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34863 (exit $ac_status); }; } &&
34864 { ac_try='test -s conftest$ac_exeext'
34865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34866 (eval $ac_try) 2>&5
34867 ac_status=$?
34868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34869 (exit $ac_status); }; }; then
34870 eval "$as_ac_var=yes"
34871 else
34872 echo "$as_me: failed program was:" >&5
34873 sed 's/^/| /' conftest.$ac_ext >&5
34874
34875 eval "$as_ac_var=no"
34876 fi
34877 rm -f conftest.err conftest.$ac_objext \
34878 conftest$ac_exeext conftest.$ac_ext
34879 fi
34880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34881 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34882 if test `eval echo '${'$as_ac_var'}'` = yes; then
34883 cat >>confdefs.h <<_ACEOF
34884 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34885 _ACEOF
34886
34887 fi
34888 done
34889
34890
34891 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
34892 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
34893 if test "${wx_cv_var_timezone+set}" = set; then
34894 echo $ECHO_N "(cached) $ECHO_C" >&6
34895 else
34896
34897 cat >conftest.$ac_ext <<_ACEOF
34898 /* confdefs.h. */
34899 _ACEOF
34900 cat confdefs.h >>conftest.$ac_ext
34901 cat >>conftest.$ac_ext <<_ACEOF
34902 /* end confdefs.h. */
34903
34904 #include <time.h>
34905
34906 int
34907 main ()
34908 {
34909
34910 int tz;
34911 tz = timezone;
34912
34913 ;
34914 return 0;
34915 }
34916 _ACEOF
34917 rm -f conftest.$ac_objext
34918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34919 (eval $ac_compile) 2>conftest.er1
34920 ac_status=$?
34921 grep -v '^ *+' conftest.er1 >conftest.err
34922 rm -f conftest.er1
34923 cat conftest.err >&5
34924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34925 (exit $ac_status); } &&
34926 { ac_try='test -z "$ac_c_werror_flag"
34927 || test ! -s conftest.err'
34928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34929 (eval $ac_try) 2>&5
34930 ac_status=$?
34931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34932 (exit $ac_status); }; } &&
34933 { ac_try='test -s conftest.$ac_objext'
34934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34935 (eval $ac_try) 2>&5
34936 ac_status=$?
34937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34938 (exit $ac_status); }; }; then
34939
34940 wx_cv_var_timezone=timezone
34941
34942 else
34943 echo "$as_me: failed program was:" >&5
34944 sed 's/^/| /' conftest.$ac_ext >&5
34945
34946
34947 cat >conftest.$ac_ext <<_ACEOF
34948 /* confdefs.h. */
34949 _ACEOF
34950 cat confdefs.h >>conftest.$ac_ext
34951 cat >>conftest.$ac_ext <<_ACEOF
34952 /* end confdefs.h. */
34953
34954 #include <time.h>
34955
34956 int
34957 main ()
34958 {
34959
34960 int tz;
34961 tz = _timezone;
34962
34963 ;
34964 return 0;
34965 }
34966 _ACEOF
34967 rm -f conftest.$ac_objext
34968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34969 (eval $ac_compile) 2>conftest.er1
34970 ac_status=$?
34971 grep -v '^ *+' conftest.er1 >conftest.err
34972 rm -f conftest.er1
34973 cat conftest.err >&5
34974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34975 (exit $ac_status); } &&
34976 { ac_try='test -z "$ac_c_werror_flag"
34977 || 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_var_timezone=_timezone
34991
34992 else
34993 echo "$as_me: failed program was:" >&5
34994 sed 's/^/| /' conftest.$ac_ext >&5
34995
34996
34997 cat >conftest.$ac_ext <<_ACEOF
34998 /* confdefs.h. */
34999 _ACEOF
35000 cat confdefs.h >>conftest.$ac_ext
35001 cat >>conftest.$ac_ext <<_ACEOF
35002 /* end confdefs.h. */
35003
35004 #include <time.h>
35005
35006 int
35007 main ()
35008 {
35009
35010 int tz;
35011 tz = __timezone;
35012
35013 ;
35014 return 0;
35015 }
35016 _ACEOF
35017 rm -f conftest.$ac_objext
35018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35019 (eval $ac_compile) 2>conftest.er1
35020 ac_status=$?
35021 grep -v '^ *+' conftest.er1 >conftest.err
35022 rm -f conftest.er1
35023 cat conftest.err >&5
35024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35025 (exit $ac_status); } &&
35026 { ac_try='test -z "$ac_c_werror_flag"
35027 || test ! -s conftest.err'
35028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35029 (eval $ac_try) 2>&5
35030 ac_status=$?
35031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35032 (exit $ac_status); }; } &&
35033 { ac_try='test -s conftest.$ac_objext'
35034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35035 (eval $ac_try) 2>&5
35036 ac_status=$?
35037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35038 (exit $ac_status); }; }; then
35039
35040 wx_cv_var_timezone=__timezone
35041
35042 else
35043 echo "$as_me: failed program was:" >&5
35044 sed 's/^/| /' conftest.$ac_ext >&5
35045
35046
35047 if test "$USE_DOS" = 0 ; then
35048 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
35049 echo "$as_me: WARNING: no timezone variable" >&2;}
35050 fi
35051
35052
35053 fi
35054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35055
35056
35057 fi
35058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35059
35060
35061 fi
35062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35063
35064
35065 fi
35066 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
35067 echo "${ECHO_T}$wx_cv_var_timezone" >&6
35068
35069 if test "x$wx_cv_var_timezone" != x ; then
35070 cat >>confdefs.h <<_ACEOF
35071 #define WX_TIMEZONE $wx_cv_var_timezone
35072 _ACEOF
35073
35074 fi
35075
35076
35077 for ac_func in localtime
35078 do
35079 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35080 echo "$as_me:$LINENO: checking for $ac_func" >&5
35081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35082 if eval "test \"\${$as_ac_var+set}\" = set"; then
35083 echo $ECHO_N "(cached) $ECHO_C" >&6
35084 else
35085 cat >conftest.$ac_ext <<_ACEOF
35086 /* confdefs.h. */
35087 _ACEOF
35088 cat confdefs.h >>conftest.$ac_ext
35089 cat >>conftest.$ac_ext <<_ACEOF
35090 /* end confdefs.h. */
35091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35092 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35093 #define $ac_func innocuous_$ac_func
35094
35095 /* System header to define __stub macros and hopefully few prototypes,
35096 which can conflict with char $ac_func (); below.
35097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35098 <limits.h> exists even on freestanding compilers. */
35099
35100 #ifdef __STDC__
35101 # include <limits.h>
35102 #else
35103 # include <assert.h>
35104 #endif
35105
35106 #undef $ac_func
35107
35108 /* Override any gcc2 internal prototype to avoid an error. */
35109 #ifdef __cplusplus
35110 extern "C"
35111 {
35112 #endif
35113 /* We use char because int might match the return type of a gcc2
35114 builtin and then its argument prototype would still apply. */
35115 char $ac_func ();
35116 /* The GNU C library defines this for functions which it implements
35117 to always fail with ENOSYS. Some functions are actually named
35118 something starting with __ and the normal name is an alias. */
35119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35120 choke me
35121 #else
35122 char (*f) () = $ac_func;
35123 #endif
35124 #ifdef __cplusplus
35125 }
35126 #endif
35127
35128 int
35129 main ()
35130 {
35131 return f != $ac_func;
35132 ;
35133 return 0;
35134 }
35135 _ACEOF
35136 rm -f conftest.$ac_objext conftest$ac_exeext
35137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35138 (eval $ac_link) 2>conftest.er1
35139 ac_status=$?
35140 grep -v '^ *+' conftest.er1 >conftest.err
35141 rm -f conftest.er1
35142 cat conftest.err >&5
35143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35144 (exit $ac_status); } &&
35145 { ac_try='test -z "$ac_c_werror_flag"
35146 || test ! -s conftest.err'
35147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35148 (eval $ac_try) 2>&5
35149 ac_status=$?
35150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35151 (exit $ac_status); }; } &&
35152 { ac_try='test -s conftest$ac_exeext'
35153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35154 (eval $ac_try) 2>&5
35155 ac_status=$?
35156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35157 (exit $ac_status); }; }; then
35158 eval "$as_ac_var=yes"
35159 else
35160 echo "$as_me: failed program was:" >&5
35161 sed 's/^/| /' conftest.$ac_ext >&5
35162
35163 eval "$as_ac_var=no"
35164 fi
35165 rm -f conftest.err conftest.$ac_objext \
35166 conftest$ac_exeext conftest.$ac_ext
35167 fi
35168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35170 if test `eval echo '${'$as_ac_var'}'` = yes; then
35171 cat >>confdefs.h <<_ACEOF
35172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35173 _ACEOF
35174
35175 fi
35176 done
35177
35178
35179 if test "$ac_cv_func_localtime" = "yes"; then
35180 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
35181 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
35182 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
35183 echo $ECHO_N "(cached) $ECHO_C" >&6
35184 else
35185
35186 cat >conftest.$ac_ext <<_ACEOF
35187 /* confdefs.h. */
35188 _ACEOF
35189 cat confdefs.h >>conftest.$ac_ext
35190 cat >>conftest.$ac_ext <<_ACEOF
35191 /* end confdefs.h. */
35192
35193 #include <time.h>
35194
35195 int
35196 main ()
35197 {
35198
35199 struct tm tm;
35200 tm.tm_gmtoff++;
35201
35202 ;
35203 return 0;
35204 }
35205 _ACEOF
35206 rm -f conftest.$ac_objext
35207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35208 (eval $ac_compile) 2>conftest.er1
35209 ac_status=$?
35210 grep -v '^ *+' conftest.er1 >conftest.err
35211 rm -f conftest.er1
35212 cat conftest.err >&5
35213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35214 (exit $ac_status); } &&
35215 { ac_try='test -z "$ac_c_werror_flag"
35216 || test ! -s conftest.err'
35217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35218 (eval $ac_try) 2>&5
35219 ac_status=$?
35220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35221 (exit $ac_status); }; } &&
35222 { ac_try='test -s conftest.$ac_objext'
35223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35224 (eval $ac_try) 2>&5
35225 ac_status=$?
35226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35227 (exit $ac_status); }; }; then
35228
35229 wx_cv_struct_tm_has_gmtoff=yes
35230
35231 else
35232 echo "$as_me: failed program was:" >&5
35233 sed 's/^/| /' conftest.$ac_ext >&5
35234
35235 wx_cv_struct_tm_has_gmtoff=no
35236
35237 fi
35238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35239
35240 fi
35241 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
35242 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
35243 fi
35244
35245 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35246 cat >>confdefs.h <<\_ACEOF
35247 #define WX_GMTOFF_IN_TM 1
35248 _ACEOF
35249
35250 fi
35251
35252
35253
35254 for ac_func in gettimeofday ftime
35255 do
35256 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35257 echo "$as_me:$LINENO: checking for $ac_func" >&5
35258 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35259 if eval "test \"\${$as_ac_var+set}\" = set"; then
35260 echo $ECHO_N "(cached) $ECHO_C" >&6
35261 else
35262 cat >conftest.$ac_ext <<_ACEOF
35263 /* confdefs.h. */
35264 _ACEOF
35265 cat confdefs.h >>conftest.$ac_ext
35266 cat >>conftest.$ac_ext <<_ACEOF
35267 /* end confdefs.h. */
35268 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35269 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35270 #define $ac_func innocuous_$ac_func
35271
35272 /* System header to define __stub macros and hopefully few prototypes,
35273 which can conflict with char $ac_func (); below.
35274 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35275 <limits.h> exists even on freestanding compilers. */
35276
35277 #ifdef __STDC__
35278 # include <limits.h>
35279 #else
35280 # include <assert.h>
35281 #endif
35282
35283 #undef $ac_func
35284
35285 /* Override any gcc2 internal prototype to avoid an error. */
35286 #ifdef __cplusplus
35287 extern "C"
35288 {
35289 #endif
35290 /* We use char because int might match the return type of a gcc2
35291 builtin and then its argument prototype would still apply. */
35292 char $ac_func ();
35293 /* The GNU C library defines this for functions which it implements
35294 to always fail with ENOSYS. Some functions are actually named
35295 something starting with __ and the normal name is an alias. */
35296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35297 choke me
35298 #else
35299 char (*f) () = $ac_func;
35300 #endif
35301 #ifdef __cplusplus
35302 }
35303 #endif
35304
35305 int
35306 main ()
35307 {
35308 return f != $ac_func;
35309 ;
35310 return 0;
35311 }
35312 _ACEOF
35313 rm -f conftest.$ac_objext conftest$ac_exeext
35314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35315 (eval $ac_link) 2>conftest.er1
35316 ac_status=$?
35317 grep -v '^ *+' conftest.er1 >conftest.err
35318 rm -f conftest.er1
35319 cat conftest.err >&5
35320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35321 (exit $ac_status); } &&
35322 { ac_try='test -z "$ac_c_werror_flag"
35323 || test ! -s conftest.err'
35324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35325 (eval $ac_try) 2>&5
35326 ac_status=$?
35327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35328 (exit $ac_status); }; } &&
35329 { ac_try='test -s conftest$ac_exeext'
35330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35331 (eval $ac_try) 2>&5
35332 ac_status=$?
35333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35334 (exit $ac_status); }; }; then
35335 eval "$as_ac_var=yes"
35336 else
35337 echo "$as_me: failed program was:" >&5
35338 sed 's/^/| /' conftest.$ac_ext >&5
35339
35340 eval "$as_ac_var=no"
35341 fi
35342 rm -f conftest.err conftest.$ac_objext \
35343 conftest$ac_exeext conftest.$ac_ext
35344 fi
35345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35346 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35347 if test `eval echo '${'$as_ac_var'}'` = yes; then
35348 cat >>confdefs.h <<_ACEOF
35349 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35350 _ACEOF
35351 break
35352 fi
35353 done
35354
35355
35356 if test "$ac_cv_func_gettimeofday" = "yes"; then
35357 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
35358 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
35359 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
35360 echo $ECHO_N "(cached) $ECHO_C" >&6
35361 else
35362
35363
35364
35365 ac_ext=cc
35366 ac_cpp='$CXXCPP $CPPFLAGS'
35367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35370
35371
35372 cat >conftest.$ac_ext <<_ACEOF
35373 /* confdefs.h. */
35374 _ACEOF
35375 cat confdefs.h >>conftest.$ac_ext
35376 cat >>conftest.$ac_ext <<_ACEOF
35377 /* end confdefs.h. */
35378
35379 #include <sys/time.h>
35380 #include <unistd.h>
35381
35382 int
35383 main ()
35384 {
35385
35386 struct timeval tv;
35387 gettimeofday(&tv, NULL);
35388
35389 ;
35390 return 0;
35391 }
35392 _ACEOF
35393 rm -f conftest.$ac_objext
35394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35395 (eval $ac_compile) 2>conftest.er1
35396 ac_status=$?
35397 grep -v '^ *+' conftest.er1 >conftest.err
35398 rm -f conftest.er1
35399 cat conftest.err >&5
35400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35401 (exit $ac_status); } &&
35402 { ac_try='test -z "$ac_cxx_werror_flag"
35403 || test ! -s conftest.err'
35404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35405 (eval $ac_try) 2>&5
35406 ac_status=$?
35407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35408 (exit $ac_status); }; } &&
35409 { ac_try='test -s conftest.$ac_objext'
35410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35411 (eval $ac_try) 2>&5
35412 ac_status=$?
35413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35414 (exit $ac_status); }; }; then
35415 wx_cv_func_gettimeofday_has_2_args=yes
35416 else
35417 echo "$as_me: failed program was:" >&5
35418 sed 's/^/| /' conftest.$ac_ext >&5
35419
35420 cat >conftest.$ac_ext <<_ACEOF
35421 /* confdefs.h. */
35422 _ACEOF
35423 cat confdefs.h >>conftest.$ac_ext
35424 cat >>conftest.$ac_ext <<_ACEOF
35425 /* end confdefs.h. */
35426
35427 #include <sys/time.h>
35428 #include <unistd.h>
35429
35430 int
35431 main ()
35432 {
35433
35434 struct timeval tv;
35435 gettimeofday(&tv);
35436
35437 ;
35438 return 0;
35439 }
35440 _ACEOF
35441 rm -f conftest.$ac_objext
35442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35443 (eval $ac_compile) 2>conftest.er1
35444 ac_status=$?
35445 grep -v '^ *+' conftest.er1 >conftest.err
35446 rm -f conftest.er1
35447 cat conftest.err >&5
35448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35449 (exit $ac_status); } &&
35450 { ac_try='test -z "$ac_cxx_werror_flag"
35451 || test ! -s conftest.err'
35452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35453 (eval $ac_try) 2>&5
35454 ac_status=$?
35455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35456 (exit $ac_status); }; } &&
35457 { ac_try='test -s conftest.$ac_objext'
35458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35459 (eval $ac_try) 2>&5
35460 ac_status=$?
35461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35462 (exit $ac_status); }; }; then
35463 wx_cv_func_gettimeofday_has_2_args=no
35464 else
35465 echo "$as_me: failed program was:" >&5
35466 sed 's/^/| /' conftest.$ac_ext >&5
35467
35468
35469 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
35470 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35471 wx_cv_func_gettimeofday_has_2_args=unknown
35472
35473
35474 fi
35475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35476
35477 fi
35478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35479 ac_ext=c
35480 ac_cpp='$CPP $CPPFLAGS'
35481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35484
35485
35486 fi
35487 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35488 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
35489
35490 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35491 cat >>confdefs.h <<\_ACEOF
35492 #define WX_GETTIMEOFDAY_NO_TZ 1
35493 _ACEOF
35494
35495 fi
35496 fi
35497
35498 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
35499 fi
35500
35501
35502 if test "$wxUSE_SOCKETS" = "yes"; then
35503 if test "$wxUSE_MGL" = "1"; then
35504 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
35505 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
35506 wxUSE_SOCKETS="no"
35507 fi
35508 fi
35509
35510 if test "$wxUSE_SOCKETS" = "yes"; then
35511 if test "$TOOLKIT" != "MSW"; then
35512 echo "$as_me:$LINENO: checking for socket" >&5
35513 echo $ECHO_N "checking for socket... $ECHO_C" >&6
35514 if test "${ac_cv_func_socket+set}" = set; then
35515 echo $ECHO_N "(cached) $ECHO_C" >&6
35516 else
35517 cat >conftest.$ac_ext <<_ACEOF
35518 /* confdefs.h. */
35519 _ACEOF
35520 cat confdefs.h >>conftest.$ac_ext
35521 cat >>conftest.$ac_ext <<_ACEOF
35522 /* end confdefs.h. */
35523 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
35524 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35525 #define socket innocuous_socket
35526
35527 /* System header to define __stub macros and hopefully few prototypes,
35528 which can conflict with char socket (); below.
35529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35530 <limits.h> exists even on freestanding compilers. */
35531
35532 #ifdef __STDC__
35533 # include <limits.h>
35534 #else
35535 # include <assert.h>
35536 #endif
35537
35538 #undef socket
35539
35540 /* Override any gcc2 internal prototype to avoid an error. */
35541 #ifdef __cplusplus
35542 extern "C"
35543 {
35544 #endif
35545 /* We use char because int might match the return type of a gcc2
35546 builtin and then its argument prototype would still apply. */
35547 char socket ();
35548 /* The GNU C library defines this for functions which it implements
35549 to always fail with ENOSYS. Some functions are actually named
35550 something starting with __ and the normal name is an alias. */
35551 #if defined (__stub_socket) || defined (__stub___socket)
35552 choke me
35553 #else
35554 char (*f) () = socket;
35555 #endif
35556 #ifdef __cplusplus
35557 }
35558 #endif
35559
35560 int
35561 main ()
35562 {
35563 return f != socket;
35564 ;
35565 return 0;
35566 }
35567 _ACEOF
35568 rm -f conftest.$ac_objext conftest$ac_exeext
35569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35570 (eval $ac_link) 2>conftest.er1
35571 ac_status=$?
35572 grep -v '^ *+' conftest.er1 >conftest.err
35573 rm -f conftest.er1
35574 cat conftest.err >&5
35575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35576 (exit $ac_status); } &&
35577 { ac_try='test -z "$ac_c_werror_flag"
35578 || test ! -s conftest.err'
35579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35580 (eval $ac_try) 2>&5
35581 ac_status=$?
35582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35583 (exit $ac_status); }; } &&
35584 { ac_try='test -s conftest$ac_exeext'
35585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35586 (eval $ac_try) 2>&5
35587 ac_status=$?
35588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35589 (exit $ac_status); }; }; then
35590 ac_cv_func_socket=yes
35591 else
35592 echo "$as_me: failed program was:" >&5
35593 sed 's/^/| /' conftest.$ac_ext >&5
35594
35595 ac_cv_func_socket=no
35596 fi
35597 rm -f conftest.err conftest.$ac_objext \
35598 conftest$ac_exeext conftest.$ac_ext
35599 fi
35600 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
35601 echo "${ECHO_T}$ac_cv_func_socket" >&6
35602 if test $ac_cv_func_socket = yes; then
35603 :
35604 else
35605
35606 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
35607 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
35608 if test "${ac_cv_lib_socket_socket+set}" = set; then
35609 echo $ECHO_N "(cached) $ECHO_C" >&6
35610 else
35611 ac_check_lib_save_LIBS=$LIBS
35612 LIBS="-lsocket $LIBS"
35613 cat >conftest.$ac_ext <<_ACEOF
35614 /* confdefs.h. */
35615 _ACEOF
35616 cat confdefs.h >>conftest.$ac_ext
35617 cat >>conftest.$ac_ext <<_ACEOF
35618 /* end confdefs.h. */
35619
35620 /* Override any gcc2 internal prototype to avoid an error. */
35621 #ifdef __cplusplus
35622 extern "C"
35623 #endif
35624 /* We use char because int might match the return type of a gcc2
35625 builtin and then its argument prototype would still apply. */
35626 char socket ();
35627 int
35628 main ()
35629 {
35630 socket ();
35631 ;
35632 return 0;
35633 }
35634 _ACEOF
35635 rm -f conftest.$ac_objext conftest$ac_exeext
35636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35637 (eval $ac_link) 2>conftest.er1
35638 ac_status=$?
35639 grep -v '^ *+' conftest.er1 >conftest.err
35640 rm -f conftest.er1
35641 cat conftest.err >&5
35642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35643 (exit $ac_status); } &&
35644 { ac_try='test -z "$ac_c_werror_flag"
35645 || test ! -s conftest.err'
35646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35647 (eval $ac_try) 2>&5
35648 ac_status=$?
35649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35650 (exit $ac_status); }; } &&
35651 { ac_try='test -s conftest$ac_exeext'
35652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35653 (eval $ac_try) 2>&5
35654 ac_status=$?
35655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35656 (exit $ac_status); }; }; then
35657 ac_cv_lib_socket_socket=yes
35658 else
35659 echo "$as_me: failed program was:" >&5
35660 sed 's/^/| /' conftest.$ac_ext >&5
35661
35662 ac_cv_lib_socket_socket=no
35663 fi
35664 rm -f conftest.err conftest.$ac_objext \
35665 conftest$ac_exeext conftest.$ac_ext
35666 LIBS=$ac_check_lib_save_LIBS
35667 fi
35668 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
35669 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
35670 if test $ac_cv_lib_socket_socket = yes; then
35671 if test "$INET_LINK" != " -lsocket"; then
35672 INET_LINK="$INET_LINK -lsocket"
35673 fi
35674 else
35675
35676 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
35677 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35678 wxUSE_SOCKETS=no
35679
35680
35681 fi
35682
35683
35684
35685 fi
35686
35687 fi
35688 fi
35689
35690 if test "$wxUSE_SOCKETS" = "yes" ; then
35691 if test "$TOOLKIT" != "MSW"; then
35692 ac_ext=cc
35693 ac_cpp='$CXXCPP $CPPFLAGS'
35694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35697
35698 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
35699 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
35700 if test "${wx_cv_type_getsockname3+set}" = set; then
35701 echo $ECHO_N "(cached) $ECHO_C" >&6
35702 else
35703
35704 cat >conftest.$ac_ext <<_ACEOF
35705 /* confdefs.h. */
35706 _ACEOF
35707 cat confdefs.h >>conftest.$ac_ext
35708 cat >>conftest.$ac_ext <<_ACEOF
35709 /* end confdefs.h. */
35710
35711 #include <sys/types.h>
35712 #include <sys/socket.h>
35713
35714 int
35715 main ()
35716 {
35717
35718 socklen_t len;
35719 getsockname(0, 0, &len);
35720
35721 ;
35722 return 0;
35723 }
35724 _ACEOF
35725 rm -f conftest.$ac_objext
35726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35727 (eval $ac_compile) 2>conftest.er1
35728 ac_status=$?
35729 grep -v '^ *+' conftest.er1 >conftest.err
35730 rm -f conftest.er1
35731 cat conftest.err >&5
35732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35733 (exit $ac_status); } &&
35734 { ac_try='test -z "$ac_cxx_werror_flag"
35735 || test ! -s conftest.err'
35736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35737 (eval $ac_try) 2>&5
35738 ac_status=$?
35739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35740 (exit $ac_status); }; } &&
35741 { ac_try='test -s conftest.$ac_objext'
35742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35743 (eval $ac_try) 2>&5
35744 ac_status=$?
35745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35746 (exit $ac_status); }; }; then
35747 wx_cv_type_getsockname3=socklen_t
35748 else
35749 echo "$as_me: failed program was:" >&5
35750 sed 's/^/| /' conftest.$ac_ext >&5
35751
35752
35753 CFLAGS_OLD="$CFLAGS"
35754 if test "$GCC" = yes ; then
35755 CFLAGS="$CFLAGS -Werror"
35756 fi
35757
35758 cat >conftest.$ac_ext <<_ACEOF
35759 /* confdefs.h. */
35760 _ACEOF
35761 cat confdefs.h >>conftest.$ac_ext
35762 cat >>conftest.$ac_ext <<_ACEOF
35763 /* end confdefs.h. */
35764
35765 #include <sys/types.h>
35766 #include <sys/socket.h>
35767
35768 int
35769 main ()
35770 {
35771
35772 size_t len;
35773 getsockname(0, 0, &len);
35774
35775 ;
35776 return 0;
35777 }
35778 _ACEOF
35779 rm -f conftest.$ac_objext
35780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35781 (eval $ac_compile) 2>conftest.er1
35782 ac_status=$?
35783 grep -v '^ *+' conftest.er1 >conftest.err
35784 rm -f conftest.er1
35785 cat conftest.err >&5
35786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35787 (exit $ac_status); } &&
35788 { ac_try='test -z "$ac_cxx_werror_flag"
35789 || test ! -s conftest.err'
35790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35791 (eval $ac_try) 2>&5
35792 ac_status=$?
35793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35794 (exit $ac_status); }; } &&
35795 { ac_try='test -s conftest.$ac_objext'
35796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35797 (eval $ac_try) 2>&5
35798 ac_status=$?
35799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35800 (exit $ac_status); }; }; then
35801 wx_cv_type_getsockname3=size_t
35802 else
35803 echo "$as_me: failed program was:" >&5
35804 sed 's/^/| /' conftest.$ac_ext >&5
35805
35806 cat >conftest.$ac_ext <<_ACEOF
35807 /* confdefs.h. */
35808 _ACEOF
35809 cat confdefs.h >>conftest.$ac_ext
35810 cat >>conftest.$ac_ext <<_ACEOF
35811 /* end confdefs.h. */
35812
35813 #include <sys/types.h>
35814 #include <sys/socket.h>
35815
35816 int
35817 main ()
35818 {
35819
35820 int len;
35821 getsockname(0, 0, &len);
35822
35823 ;
35824 return 0;
35825 }
35826 _ACEOF
35827 rm -f conftest.$ac_objext
35828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35829 (eval $ac_compile) 2>conftest.er1
35830 ac_status=$?
35831 grep -v '^ *+' conftest.er1 >conftest.err
35832 rm -f conftest.er1
35833 cat conftest.err >&5
35834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35835 (exit $ac_status); } &&
35836 { ac_try='test -z "$ac_cxx_werror_flag"
35837 || test ! -s conftest.err'
35838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35839 (eval $ac_try) 2>&5
35840 ac_status=$?
35841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35842 (exit $ac_status); }; } &&
35843 { ac_try='test -s conftest.$ac_objext'
35844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35845 (eval $ac_try) 2>&5
35846 ac_status=$?
35847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35848 (exit $ac_status); }; }; then
35849 wx_cv_type_getsockname3=int
35850 else
35851 echo "$as_me: failed program was:" >&5
35852 sed 's/^/| /' conftest.$ac_ext >&5
35853
35854 wx_cv_type_getsockname3=unknown
35855
35856 fi
35857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35858
35859 fi
35860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35861
35862 CFLAGS="$CFLAGS_OLD"
35863
35864
35865 fi
35866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35867
35868 fi
35869 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
35870 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
35871
35872 if test "$wx_cv_type_getsockname3" = "unknown"; then
35873 wxUSE_SOCKETS=no
35874 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
35875 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35876 else
35877 cat >>confdefs.h <<_ACEOF
35878 #define SOCKLEN_T $wx_cv_type_getsockname3
35879 _ACEOF
35880
35881 fi
35882 ac_ext=c
35883 ac_cpp='$CPP $CPPFLAGS'
35884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35887
35888 fi
35889 fi
35890
35891 if test "$wxUSE_SOCKETS" = "yes" ; then
35892 cat >>confdefs.h <<\_ACEOF
35893 #define wxUSE_SOCKETS 1
35894 _ACEOF
35895
35896 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
35897 fi
35898
35899 if test "$wxUSE_PROTOCOL" = "yes"; then
35900 if test "$wxUSE_SOCKETS" != "yes"; then
35901 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
35902 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35903 wxUSE_PROTOCOL=no
35904 fi
35905 fi
35906
35907 if test "$wxUSE_PROTOCOL" = "yes"; then
35908 cat >>confdefs.h <<\_ACEOF
35909 #define wxUSE_PROTOCOL 1
35910 _ACEOF
35911
35912
35913 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35914 cat >>confdefs.h <<\_ACEOF
35915 #define wxUSE_PROTOCOL_HTTP 1
35916 _ACEOF
35917
35918 fi
35919 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35920 cat >>confdefs.h <<\_ACEOF
35921 #define wxUSE_PROTOCOL_FTP 1
35922 _ACEOF
35923
35924 fi
35925 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35926 cat >>confdefs.h <<\_ACEOF
35927 #define wxUSE_PROTOCOL_FILE 1
35928 _ACEOF
35929
35930 fi
35931 else
35932 if test "$wxUSE_FS_INET" = "yes"; then
35933 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35934 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35935 wxUSE_FS_INET="no"
35936 fi
35937 fi
35938
35939 if test "$wxUSE_URL" = "yes"; then
35940 if test "$wxUSE_PROTOCOL" != "yes"; then
35941 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
35942 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35943 wxUSE_URL=no
35944 fi
35945 if test "$wxUSE_URL" = "yes"; then
35946 cat >>confdefs.h <<\_ACEOF
35947 #define wxUSE_URL 1
35948 _ACEOF
35949
35950 fi
35951 fi
35952
35953 if test "$wxUSE_FS_INET" = "yes"; then
35954 cat >>confdefs.h <<\_ACEOF
35955 #define wxUSE_FS_INET 1
35956 _ACEOF
35957
35958 fi
35959
35960
35961 if test "$wxUSE_GUI" = "yes"; then
35962
35963 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
35964 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
35965 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
35966 wxUSE_JOYSTICK=no
35967 fi
35968
35969 if test "$TOOLKIT" != "MSW"; then
35970 if test "$wxUSE_JOYSTICK" = "yes"; then
35971
35972 for ac_header in linux/joystick.h
35973 do
35974 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35975 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35976 echo "$as_me:$LINENO: checking for $ac_header" >&5
35977 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35978 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35979 echo $ECHO_N "(cached) $ECHO_C" >&6
35980 fi
35981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35982 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35983 else
35984 # Is the header compilable?
35985 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35986 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35987 cat >conftest.$ac_ext <<_ACEOF
35988 /* confdefs.h. */
35989 _ACEOF
35990 cat confdefs.h >>conftest.$ac_ext
35991 cat >>conftest.$ac_ext <<_ACEOF
35992 /* end confdefs.h. */
35993 $ac_includes_default
35994 #include <$ac_header>
35995 _ACEOF
35996 rm -f conftest.$ac_objext
35997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35998 (eval $ac_compile) 2>conftest.er1
35999 ac_status=$?
36000 grep -v '^ *+' conftest.er1 >conftest.err
36001 rm -f conftest.er1
36002 cat conftest.err >&5
36003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36004 (exit $ac_status); } &&
36005 { ac_try='test -z "$ac_c_werror_flag"
36006 || test ! -s conftest.err'
36007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36008 (eval $ac_try) 2>&5
36009 ac_status=$?
36010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36011 (exit $ac_status); }; } &&
36012 { ac_try='test -s conftest.$ac_objext'
36013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36014 (eval $ac_try) 2>&5
36015 ac_status=$?
36016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36017 (exit $ac_status); }; }; then
36018 ac_header_compiler=yes
36019 else
36020 echo "$as_me: failed program was:" >&5
36021 sed 's/^/| /' conftest.$ac_ext >&5
36022
36023 ac_header_compiler=no
36024 fi
36025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36026 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36027 echo "${ECHO_T}$ac_header_compiler" >&6
36028
36029 # Is the header present?
36030 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36031 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36032 cat >conftest.$ac_ext <<_ACEOF
36033 /* confdefs.h. */
36034 _ACEOF
36035 cat confdefs.h >>conftest.$ac_ext
36036 cat >>conftest.$ac_ext <<_ACEOF
36037 /* end confdefs.h. */
36038 #include <$ac_header>
36039 _ACEOF
36040 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36041 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36042 ac_status=$?
36043 grep -v '^ *+' conftest.er1 >conftest.err
36044 rm -f conftest.er1
36045 cat conftest.err >&5
36046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36047 (exit $ac_status); } >/dev/null; then
36048 if test -s conftest.err; then
36049 ac_cpp_err=$ac_c_preproc_warn_flag
36050 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36051 else
36052 ac_cpp_err=
36053 fi
36054 else
36055 ac_cpp_err=yes
36056 fi
36057 if test -z "$ac_cpp_err"; then
36058 ac_header_preproc=yes
36059 else
36060 echo "$as_me: failed program was:" >&5
36061 sed 's/^/| /' conftest.$ac_ext >&5
36062
36063 ac_header_preproc=no
36064 fi
36065 rm -f conftest.err conftest.$ac_ext
36066 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36067 echo "${ECHO_T}$ac_header_preproc" >&6
36068
36069 # So? What about this header?
36070 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36071 yes:no: )
36072 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36073 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36074 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36075 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36076 ac_header_preproc=yes
36077 ;;
36078 no:yes:* )
36079 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36080 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36081 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36082 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36083 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36084 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36085 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36086 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36087 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36088 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36089 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36090 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36091 (
36092 cat <<\_ASBOX
36093 ## ----------------------------------------- ##
36094 ## Report this to wx-dev@lists.wxwidgets.org ##
36095 ## ----------------------------------------- ##
36096 _ASBOX
36097 ) |
36098 sed "s/^/$as_me: WARNING: /" >&2
36099 ;;
36100 esac
36101 echo "$as_me:$LINENO: checking for $ac_header" >&5
36102 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36103 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36104 echo $ECHO_N "(cached) $ECHO_C" >&6
36105 else
36106 eval "$as_ac_Header=\$ac_header_preproc"
36107 fi
36108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36109 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36110
36111 fi
36112 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36113 cat >>confdefs.h <<_ACEOF
36114 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36115 _ACEOF
36116
36117 fi
36118
36119 done
36120
36121 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
36122 wxUSE_JOYSTICK=no
36123 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
36124 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
36125 fi
36126 fi
36127 fi
36128
36129 if test "$wxUSE_JOYSTICK" = "yes"; then
36130 cat >>confdefs.h <<\_ACEOF
36131 #define wxUSE_JOYSTICK 1
36132 _ACEOF
36133
36134 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
36135 fi
36136 fi
36137
36138
36139
36140 if test "$wxUSE_FONTMAP" = "yes" ; then
36141 cat >>confdefs.h <<\_ACEOF
36142 #define wxUSE_FONTMAP 1
36143 _ACEOF
36144
36145 fi
36146
36147 if test "$wxUSE_UNICODE" = "yes" ; then
36148 cat >>confdefs.h <<\_ACEOF
36149 #define wxUSE_UNICODE 1
36150 _ACEOF
36151
36152
36153 if test "$USE_WIN32" != 1; then
36154 wxUSE_UNICODE_MSLU=no
36155 fi
36156
36157 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
36158 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
36159 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
36160 if test "${ac_cv_lib_unicows_main+set}" = set; then
36161 echo $ECHO_N "(cached) $ECHO_C" >&6
36162 else
36163 ac_check_lib_save_LIBS=$LIBS
36164 LIBS="-lunicows $LIBS"
36165 cat >conftest.$ac_ext <<_ACEOF
36166 /* confdefs.h. */
36167 _ACEOF
36168 cat confdefs.h >>conftest.$ac_ext
36169 cat >>conftest.$ac_ext <<_ACEOF
36170 /* end confdefs.h. */
36171
36172
36173 int
36174 main ()
36175 {
36176 main ();
36177 ;
36178 return 0;
36179 }
36180 _ACEOF
36181 rm -f conftest.$ac_objext conftest$ac_exeext
36182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36183 (eval $ac_link) 2>conftest.er1
36184 ac_status=$?
36185 grep -v '^ *+' conftest.er1 >conftest.err
36186 rm -f conftest.er1
36187 cat conftest.err >&5
36188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36189 (exit $ac_status); } &&
36190 { ac_try='test -z "$ac_c_werror_flag"
36191 || test ! -s conftest.err'
36192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36193 (eval $ac_try) 2>&5
36194 ac_status=$?
36195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36196 (exit $ac_status); }; } &&
36197 { ac_try='test -s conftest$ac_exeext'
36198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36199 (eval $ac_try) 2>&5
36200 ac_status=$?
36201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36202 (exit $ac_status); }; }; then
36203 ac_cv_lib_unicows_main=yes
36204 else
36205 echo "$as_me: failed program was:" >&5
36206 sed 's/^/| /' conftest.$ac_ext >&5
36207
36208 ac_cv_lib_unicows_main=no
36209 fi
36210 rm -f conftest.err conftest.$ac_objext \
36211 conftest$ac_exeext conftest.$ac_ext
36212 LIBS=$ac_check_lib_save_LIBS
36213 fi
36214 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
36215 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
36216 if test $ac_cv_lib_unicows_main = yes; then
36217
36218 cat >>confdefs.h <<\_ACEOF
36219 #define wxUSE_UNICODE_MSLU 1
36220 _ACEOF
36221
36222
36223 else
36224
36225 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36226 Applications will only run on Windows NT/2000/XP!" >&5
36227 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36228 Applications will only run on Windows NT/2000/XP!" >&2;}
36229 wxUSE_UNICODE_MSLU=no
36230
36231 fi
36232
36233 fi
36234 fi
36235
36236 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
36237 cat >>confdefs.h <<\_ACEOF
36238 #define wxUSE_EXPERIMENTAL_PRINTF 1
36239 _ACEOF
36240
36241 fi
36242
36243
36244 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
36245 cat >>confdefs.h <<\_ACEOF
36246 #define wxUSE_POSTSCRIPT 1
36247 _ACEOF
36248
36249 fi
36250
36251 cat >>confdefs.h <<\_ACEOF
36252 #define wxUSE_AFM_FOR_POSTSCRIPT 1
36253 _ACEOF
36254
36255
36256 cat >>confdefs.h <<\_ACEOF
36257 #define wxUSE_NORMALIZED_PS_FONTS 1
36258 _ACEOF
36259
36260
36261
36262 if test "$wxUSE_CONSTRAINTS" = "yes"; then
36263 cat >>confdefs.h <<\_ACEOF
36264 #define wxUSE_CONSTRAINTS 1
36265 _ACEOF
36266
36267 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
36268 fi
36269
36270 if test "$wxUSE_MDI" = "yes"; then
36271 cat >>confdefs.h <<\_ACEOF
36272 #define wxUSE_MDI 1
36273 _ACEOF
36274
36275
36276 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36277 cat >>confdefs.h <<\_ACEOF
36278 #define wxUSE_MDI_ARCHITECTURE 1
36279 _ACEOF
36280
36281 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
36282 fi
36283 fi
36284
36285 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
36286 cat >>confdefs.h <<\_ACEOF
36287 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
36288 _ACEOF
36289
36290 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
36291 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36292 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
36293 fi
36294 fi
36295
36296 if test "$wxUSE_HELP" = "yes"; then
36297 cat >>confdefs.h <<\_ACEOF
36298 #define wxUSE_HELP 1
36299 _ACEOF
36300
36301 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
36302
36303 if test "$wxUSE_MSW" = 1; then
36304 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
36305 cat >>confdefs.h <<\_ACEOF
36306 #define wxUSE_MS_HTML_HELP 1
36307 _ACEOF
36308
36309 fi
36310 fi
36311
36312 if test "$wxUSE_WXHTML_HELP" = "yes"; then
36313 if test "$wxUSE_HTML" = "yes"; then
36314 cat >>confdefs.h <<\_ACEOF
36315 #define wxUSE_WXHTML_HELP 1
36316 _ACEOF
36317
36318 else
36319 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
36320 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
36321 wxUSE_WXHTML_HELP=no
36322 fi
36323 fi
36324 fi
36325
36326 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36327 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36328 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
36329 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
36330 else
36331 cat >>confdefs.h <<\_ACEOF
36332 #define wxUSE_PRINTING_ARCHITECTURE 1
36333 _ACEOF
36334
36335 fi
36336 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
36337 fi
36338
36339 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
36340 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
36341 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
36342 { (exit 1); exit 1; }; }
36343 fi
36344
36345
36346 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
36347 -o "$wxUSE_CLIPBOARD" = "yes" \
36348 -o "$wxUSE_OLE" = "yes" \
36349 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
36350
36351 for ac_header in ole2.h
36352 do
36353 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36354 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36355 echo "$as_me:$LINENO: checking for $ac_header" >&5
36356 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36357 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36358 echo $ECHO_N "(cached) $ECHO_C" >&6
36359 fi
36360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36361 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36362 else
36363 # Is the header compilable?
36364 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36365 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36366 cat >conftest.$ac_ext <<_ACEOF
36367 /* confdefs.h. */
36368 _ACEOF
36369 cat confdefs.h >>conftest.$ac_ext
36370 cat >>conftest.$ac_ext <<_ACEOF
36371 /* end confdefs.h. */
36372 $ac_includes_default
36373 #include <$ac_header>
36374 _ACEOF
36375 rm -f conftest.$ac_objext
36376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36377 (eval $ac_compile) 2>conftest.er1
36378 ac_status=$?
36379 grep -v '^ *+' conftest.er1 >conftest.err
36380 rm -f conftest.er1
36381 cat conftest.err >&5
36382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36383 (exit $ac_status); } &&
36384 { ac_try='test -z "$ac_c_werror_flag"
36385 || test ! -s conftest.err'
36386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36387 (eval $ac_try) 2>&5
36388 ac_status=$?
36389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36390 (exit $ac_status); }; } &&
36391 { ac_try='test -s conftest.$ac_objext'
36392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36393 (eval $ac_try) 2>&5
36394 ac_status=$?
36395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36396 (exit $ac_status); }; }; then
36397 ac_header_compiler=yes
36398 else
36399 echo "$as_me: failed program was:" >&5
36400 sed 's/^/| /' conftest.$ac_ext >&5
36401
36402 ac_header_compiler=no
36403 fi
36404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36405 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36406 echo "${ECHO_T}$ac_header_compiler" >&6
36407
36408 # Is the header present?
36409 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36410 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36411 cat >conftest.$ac_ext <<_ACEOF
36412 /* confdefs.h. */
36413 _ACEOF
36414 cat confdefs.h >>conftest.$ac_ext
36415 cat >>conftest.$ac_ext <<_ACEOF
36416 /* end confdefs.h. */
36417 #include <$ac_header>
36418 _ACEOF
36419 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36420 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36421 ac_status=$?
36422 grep -v '^ *+' conftest.er1 >conftest.err
36423 rm -f conftest.er1
36424 cat conftest.err >&5
36425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36426 (exit $ac_status); } >/dev/null; then
36427 if test -s conftest.err; then
36428 ac_cpp_err=$ac_c_preproc_warn_flag
36429 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36430 else
36431 ac_cpp_err=
36432 fi
36433 else
36434 ac_cpp_err=yes
36435 fi
36436 if test -z "$ac_cpp_err"; then
36437 ac_header_preproc=yes
36438 else
36439 echo "$as_me: failed program was:" >&5
36440 sed 's/^/| /' conftest.$ac_ext >&5
36441
36442 ac_header_preproc=no
36443 fi
36444 rm -f conftest.err conftest.$ac_ext
36445 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36446 echo "${ECHO_T}$ac_header_preproc" >&6
36447
36448 # So? What about this header?
36449 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36450 yes:no: )
36451 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36452 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36453 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36454 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36455 ac_header_preproc=yes
36456 ;;
36457 no:yes:* )
36458 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36459 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36460 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36461 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36462 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36463 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36464 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36465 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36466 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36467 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36468 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36469 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36470 (
36471 cat <<\_ASBOX
36472 ## ----------------------------------------- ##
36473 ## Report this to wx-dev@lists.wxwidgets.org ##
36474 ## ----------------------------------------- ##
36475 _ASBOX
36476 ) |
36477 sed "s/^/$as_me: WARNING: /" >&2
36478 ;;
36479 esac
36480 echo "$as_me:$LINENO: checking for $ac_header" >&5
36481 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36482 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36483 echo $ECHO_N "(cached) $ECHO_C" >&6
36484 else
36485 eval "$as_ac_Header=\$ac_header_preproc"
36486 fi
36487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36488 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36489
36490 fi
36491 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36492 cat >>confdefs.h <<_ACEOF
36493 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36494 _ACEOF
36495
36496 fi
36497
36498 done
36499
36500
36501 if test "$ac_cv_header_ole2_h" = "yes" ; then
36502 if test "$GCC" = yes ; then
36503
36504
36505 ac_ext=cc
36506 ac_cpp='$CXXCPP $CPPFLAGS'
36507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36510
36511
36512 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
36513 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
36514 cat >conftest.$ac_ext <<_ACEOF
36515 /* confdefs.h. */
36516 _ACEOF
36517 cat confdefs.h >>conftest.$ac_ext
36518 cat >>conftest.$ac_ext <<_ACEOF
36519 /* end confdefs.h. */
36520 #include <windows.h>
36521 #include <ole2.h>
36522 int
36523 main ()
36524 {
36525
36526 ;
36527 return 0;
36528 }
36529 _ACEOF
36530 rm -f conftest.$ac_objext
36531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36532 (eval $ac_compile) 2>conftest.er1
36533 ac_status=$?
36534 grep -v '^ *+' conftest.er1 >conftest.err
36535 rm -f conftest.er1
36536 cat conftest.err >&5
36537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36538 (exit $ac_status); } &&
36539 { ac_try='test -z "$ac_cxx_werror_flag"
36540 || test ! -s conftest.err'
36541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36542 (eval $ac_try) 2>&5
36543 ac_status=$?
36544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36545 (exit $ac_status); }; } &&
36546 { ac_try='test -s conftest.$ac_objext'
36547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36548 (eval $ac_try) 2>&5
36549 ac_status=$?
36550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36551 (exit $ac_status); }; }; then
36552 echo "$as_me:$LINENO: result: no" >&5
36553 echo "${ECHO_T}no" >&6
36554 else
36555 echo "$as_me: failed program was:" >&5
36556 sed 's/^/| /' conftest.$ac_ext >&5
36557
36558 echo "$as_me:$LINENO: result: yes" >&5
36559 echo "${ECHO_T}yes" >&6
36560 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
36561 fi
36562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36563 ac_ext=c
36564 ac_cpp='$CPP $CPPFLAGS'
36565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36568
36569 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36570 if test "$wxUSE_OLE" = "yes" ; then
36571 cat >>confdefs.h <<\_ACEOF
36572 #define wxUSE_OLE 1
36573 _ACEOF
36574
36575 fi
36576 fi
36577
36578 if test "$wxUSE_DATAOBJ" = "yes" ; then
36579 cat >>confdefs.h <<\_ACEOF
36580 #define wxUSE_DATAOBJ 1
36581 _ACEOF
36582
36583 fi
36584 else
36585 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
36586 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36587
36588 wxUSE_CLIPBOARD=no
36589 wxUSE_DRAG_AND_DROP=no
36590 wxUSE_DATAOBJ=no
36591 wxUSE_OLE=no
36592 fi
36593
36594 if test "$wxUSE_METAFILE" = "yes"; then
36595 cat >>confdefs.h <<\_ACEOF
36596 #define wxUSE_METAFILE 1
36597 _ACEOF
36598
36599
36600 cat >>confdefs.h <<\_ACEOF
36601 #define wxUSE_ENH_METAFILE 1
36602 _ACEOF
36603
36604 fi
36605 fi
36606
36607 if test "$wxUSE_IPC" = "yes"; then
36608 if test "$wxUSE_SOCKETS" != "yes"; then
36609 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
36610 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
36611 fi
36612
36613 cat >>confdefs.h <<\_ACEOF
36614 #define wxUSE_IPC 1
36615 _ACEOF
36616
36617 fi
36618
36619 if test "$wxUSE_CLIPBOARD" = "yes"; then
36620 if test "$wxUSE_MGL" = 1; then
36621 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
36622 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
36623 wxUSE_CLIPBOARD=no
36624 fi
36625
36626 if test "$wxUSE_CLIPBOARD" = "yes"; then
36627 cat >>confdefs.h <<\_ACEOF
36628 #define wxUSE_CLIPBOARD 1
36629 _ACEOF
36630
36631
36632 cat >>confdefs.h <<\_ACEOF
36633 #define wxUSE_DATAOBJ 1
36634 _ACEOF
36635
36636 fi
36637 fi
36638
36639 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36640 if test "$wxUSE_GTK" = 1; then
36641 if test "$WXGTK12" != 1; then
36642 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
36643 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
36644 wxUSE_DRAG_AND_DROP=no
36645 fi
36646 fi
36647
36648 if test "$wxUSE_MOTIF" = 1; then
36649 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
36650 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
36651 wxUSE_DRAG_AND_DROP=no
36652 fi
36653
36654 if test "$wxUSE_X11" = 1; then
36655 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
36656 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
36657 wxUSE_DRAG_AND_DROP=no
36658 fi
36659
36660 if test "$wxUSE_MGL" = 1; then
36661 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
36662 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
36663 wxUSE_DRAG_AND_DROP=no
36664 fi
36665
36666 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36667 cat >>confdefs.h <<\_ACEOF
36668 #define wxUSE_DRAG_AND_DROP 1
36669 _ACEOF
36670
36671 fi
36672
36673 fi
36674
36675 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
36676 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
36677 fi
36678
36679 if test "$wxUSE_SPLINES" = "yes" ; then
36680 cat >>confdefs.h <<\_ACEOF
36681 #define wxUSE_SPLINES 1
36682 _ACEOF
36683
36684 fi
36685
36686
36687 USES_CONTROLS=0
36688 if test "$wxUSE_CONTROLS" = "yes"; then
36689 USES_CONTROLS=1
36690 fi
36691
36692 if test "$wxUSE_ACCEL" = "yes"; then
36693 cat >>confdefs.h <<\_ACEOF
36694 #define wxUSE_ACCEL 1
36695 _ACEOF
36696
36697 USES_CONTROLS=1
36698 fi
36699
36700 if test "$wxUSE_BUTTON" = "yes"; then
36701 cat >>confdefs.h <<\_ACEOF
36702 #define wxUSE_BUTTON 1
36703 _ACEOF
36704
36705 USES_CONTROLS=1
36706 fi
36707
36708 if test "$wxUSE_BMPBUTTON" = "yes"; then
36709 cat >>confdefs.h <<\_ACEOF
36710 #define wxUSE_BMPBUTTON 1
36711 _ACEOF
36712
36713 USES_CONTROLS=1
36714 fi
36715
36716 if test "$wxUSE_CALCTRL" = "yes"; then
36717 cat >>confdefs.h <<\_ACEOF
36718 #define wxUSE_CALENDARCTRL 1
36719 _ACEOF
36720
36721 USES_CONTROLS=1
36722 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
36723 fi
36724
36725 if test "$wxUSE_CARET" = "yes"; then
36726 cat >>confdefs.h <<\_ACEOF
36727 #define wxUSE_CARET 1
36728 _ACEOF
36729
36730 USES_CONTROLS=1
36731 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
36732 fi
36733
36734 if test "$wxUSE_COMBOBOX" = "yes"; then
36735 cat >>confdefs.h <<\_ACEOF
36736 #define wxUSE_COMBOBOX 1
36737 _ACEOF
36738
36739 USES_CONTROLS=1
36740 fi
36741
36742 if test "$wxUSE_CHOICE" = "yes"; then
36743 cat >>confdefs.h <<\_ACEOF
36744 #define wxUSE_CHOICE 1
36745 _ACEOF
36746
36747 USES_CONTROLS=1
36748 fi
36749
36750 if test "$wxUSE_CHOICEBOOK" = "yes"; then
36751 cat >>confdefs.h <<\_ACEOF
36752 #define wxUSE_CHOICEBOOK 1
36753 _ACEOF
36754
36755 USES_CONTROLS=1
36756 fi
36757
36758 if test "$wxUSE_CHECKBOX" = "yes"; then
36759 cat >>confdefs.h <<\_ACEOF
36760 #define wxUSE_CHECKBOX 1
36761 _ACEOF
36762
36763 USES_CONTROLS=1
36764 fi
36765
36766 if test "$wxUSE_CHECKLST" = "yes"; then
36767 cat >>confdefs.h <<\_ACEOF
36768 #define wxUSE_CHECKLISTBOX 1
36769 _ACEOF
36770
36771 USES_CONTROLS=1
36772 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
36773 fi
36774
36775 if test "$wxUSE_DISPLAY" = "yes"; then
36776 cat >>confdefs.h <<\_ACEOF
36777 #define wxUSE_DISPLAY 1
36778 _ACEOF
36779
36780 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
36781 fi
36782
36783 if test "$wxUSE_GAUGE" = "yes"; then
36784 cat >>confdefs.h <<\_ACEOF
36785 #define wxUSE_GAUGE 1
36786 _ACEOF
36787
36788 USES_CONTROLS=1
36789 fi
36790
36791 if test "$wxUSE_GRID" = "yes"; then
36792 cat >>confdefs.h <<\_ACEOF
36793 #define wxUSE_GRID 1
36794 _ACEOF
36795
36796 USES_CONTROLS=1
36797 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
36798 fi
36799
36800 if test "$wxUSE_IMAGLIST" = "yes"; then
36801 cat >>confdefs.h <<\_ACEOF
36802 #define wxUSE_IMAGLIST 1
36803 _ACEOF
36804
36805 fi
36806
36807 if test "$wxUSE_LISTBOOK" = "yes"; then
36808 cat >>confdefs.h <<\_ACEOF
36809 #define wxUSE_LISTBOOK 1
36810 _ACEOF
36811
36812 USES_CONTROLS=1
36813 fi
36814
36815 if test "$wxUSE_LISTBOX" = "yes"; then
36816 cat >>confdefs.h <<\_ACEOF
36817 #define wxUSE_LISTBOX 1
36818 _ACEOF
36819
36820 USES_CONTROLS=1
36821 fi
36822
36823 if test "$wxUSE_LISTCTRL" = "yes"; then
36824 if test "$wxUSE_IMAGLIST" = "yes"; then
36825 cat >>confdefs.h <<\_ACEOF
36826 #define wxUSE_LISTCTRL 1
36827 _ACEOF
36828
36829 USES_CONTROLS=1
36830 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
36831 else
36832 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36833 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36834 fi
36835 fi
36836
36837 if test "$wxUSE_NOTEBOOK" = "yes"; then
36838 cat >>confdefs.h <<\_ACEOF
36839 #define wxUSE_NOTEBOOK 1
36840 _ACEOF
36841
36842 USES_CONTROLS=1
36843 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
36844 fi
36845
36846
36847 if test "$wxUSE_RADIOBOX" = "yes"; then
36848 cat >>confdefs.h <<\_ACEOF
36849 #define wxUSE_RADIOBOX 1
36850 _ACEOF
36851
36852 USES_CONTROLS=1
36853 fi
36854
36855 if test "$wxUSE_RADIOBTN" = "yes"; then
36856 cat >>confdefs.h <<\_ACEOF
36857 #define wxUSE_RADIOBTN 1
36858 _ACEOF
36859
36860 USES_CONTROLS=1
36861 fi
36862
36863 if test "$wxUSE_SASH" = "yes"; then
36864 cat >>confdefs.h <<\_ACEOF
36865 #define wxUSE_SASH 1
36866 _ACEOF
36867
36868 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
36869 fi
36870
36871 if test "$wxUSE_SCROLLBAR" = "yes"; then
36872 cat >>confdefs.h <<\_ACEOF
36873 #define wxUSE_SCROLLBAR 1
36874 _ACEOF
36875
36876 USES_CONTROLS=1
36877 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
36878 fi
36879
36880 if test "$wxUSE_SLIDER" = "yes"; then
36881 cat >>confdefs.h <<\_ACEOF
36882 #define wxUSE_SLIDER 1
36883 _ACEOF
36884
36885 USES_CONTROLS=1
36886 fi
36887
36888 if test "$wxUSE_SPINBTN" = "yes"; then
36889 cat >>confdefs.h <<\_ACEOF
36890 #define wxUSE_SPINBTN 1
36891 _ACEOF
36892
36893 USES_CONTROLS=1
36894 fi
36895
36896 if test "$wxUSE_SPINCTRL" = "yes"; then
36897 cat >>confdefs.h <<\_ACEOF
36898 #define wxUSE_SPINCTRL 1
36899 _ACEOF
36900
36901 USES_CONTROLS=1
36902 fi
36903
36904 if test "$wxUSE_SPLITTER" = "yes"; then
36905 cat >>confdefs.h <<\_ACEOF
36906 #define wxUSE_SPLITTER 1
36907 _ACEOF
36908
36909 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
36910 fi
36911
36912 if test "$wxUSE_STATBMP" = "yes"; then
36913 cat >>confdefs.h <<\_ACEOF
36914 #define wxUSE_STATBMP 1
36915 _ACEOF
36916
36917 USES_CONTROLS=1
36918 fi
36919
36920 if test "$wxUSE_STATBOX" = "yes"; then
36921 cat >>confdefs.h <<\_ACEOF
36922 #define wxUSE_STATBOX 1
36923 _ACEOF
36924
36925 USES_CONTROLS=1
36926 fi
36927
36928 if test "$wxUSE_STATTEXT" = "yes"; then
36929 cat >>confdefs.h <<\_ACEOF
36930 #define wxUSE_STATTEXT 1
36931 _ACEOF
36932
36933 USES_CONTROLS=1
36934 fi
36935
36936 if test "$wxUSE_STATLINE" = "yes"; then
36937 cat >>confdefs.h <<\_ACEOF
36938 #define wxUSE_STATLINE 1
36939 _ACEOF
36940
36941 USES_CONTROLS=1
36942 fi
36943
36944 if test "$wxUSE_STATUSBAR" = "yes"; then
36945 cat >>confdefs.h <<\_ACEOF
36946 #define wxUSE_STATUSBAR 1
36947 _ACEOF
36948
36949 USES_CONTROLS=1
36950
36951 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
36952 fi
36953
36954 if test "$wxUSE_TABDIALOG" = "yes"; then
36955 cat >>confdefs.h <<\_ACEOF
36956 #define wxUSE_TAB_DIALOG 1
36957 _ACEOF
36958
36959 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
36960 fi
36961
36962 if test "$wxUSE_TEXTCTRL" = "yes"; then
36963 cat >>confdefs.h <<\_ACEOF
36964 #define wxUSE_TEXTCTRL 1
36965 _ACEOF
36966
36967 USES_CONTROLS=1
36968 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
36969 fi
36970
36971 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36972 if test "$wxUSE_COCOA" = 1 ; then
36973 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36974 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36975 wxUSE_TOGGLEBTN=no
36976 else
36977 if test "$wxUSE_PM" = 1; then
36978 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
36979 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
36980 wxUSE_TOGGLEBTN=no
36981 fi
36982 fi
36983 if test "$wxUSE_UNIVERSAL" = "yes"; then
36984 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
36985 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
36986 wxUSE_TOGGLEBTN=no
36987 fi
36988
36989 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36990 cat >>confdefs.h <<\_ACEOF
36991 #define wxUSE_TOGGLEBTN 1
36992 _ACEOF
36993
36994 USES_CONTROLS=1
36995 fi
36996 fi
36997
36998 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
36999 cat >>confdefs.h <<\_ACEOF
37000 #define wxUSE_TOOLBAR_SIMPLE 1
37001 _ACEOF
37002
37003 wxUSE_TOOLBAR="yes"
37004 USES_CONTROLS=1
37005 fi
37006
37007 if test "$wxUSE_TOOLBAR" = "yes"; then
37008 cat >>confdefs.h <<\_ACEOF
37009 #define wxUSE_TOOLBAR 1
37010 _ACEOF
37011
37012 USES_CONTROLS=1
37013
37014 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
37015 wxUSE_TOOLBAR_NATIVE="yes"
37016 fi
37017
37018 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
37019 cat >>confdefs.h <<\_ACEOF
37020 #define wxUSE_TOOLBAR_NATIVE 1
37021 _ACEOF
37022
37023 USES_CONTROLS=1
37024 fi
37025
37026 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
37027 fi
37028
37029 if test "$wxUSE_TOOLTIPS" = "yes"; then
37030 if test "$wxUSE_MOTIF" = 1; then
37031 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
37032 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
37033 else
37034 if test "$wxUSE_UNIVERSAL" = "yes"; then
37035 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
37036 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
37037 else
37038 cat >>confdefs.h <<\_ACEOF
37039 #define wxUSE_TOOLTIPS 1
37040 _ACEOF
37041
37042 fi
37043 fi
37044 fi
37045
37046 if test "$wxUSE_TREECTRL" = "yes"; then
37047 if test "$wxUSE_IMAGLIST" = "yes"; then
37048 cat >>confdefs.h <<\_ACEOF
37049 #define wxUSE_TREECTRL 1
37050 _ACEOF
37051
37052 USES_CONTROLS=1
37053 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
37054 else
37055 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
37056 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
37057 fi
37058 fi
37059
37060 if test "$wxUSE_POPUPWIN" = "yes"; then
37061 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
37062 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
37063 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
37064 else
37065 if test "$wxUSE_PM" = 1; then
37066 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
37067 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
37068 else
37069 cat >>confdefs.h <<\_ACEOF
37070 #define wxUSE_POPUPWIN 1
37071 _ACEOF
37072
37073
37074 USES_CONTROLS=1
37075 fi
37076 fi
37077 fi
37078
37079 if test "$wxUSE_TIPWINDOW" = "yes"; then
37080 if test "$wxUSE_PM" = 1; then
37081 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
37082 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
37083 else
37084 cat >>confdefs.h <<\_ACEOF
37085 #define wxUSE_TIPWINDOW 1
37086 _ACEOF
37087
37088 fi
37089 fi
37090
37091 if test "$USES_CONTROLS" = 1; then
37092 cat >>confdefs.h <<\_ACEOF
37093 #define wxUSE_CONTROLS 1
37094 _ACEOF
37095
37096 fi
37097
37098
37099 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
37100 cat >>confdefs.h <<\_ACEOF
37101 #define wxUSE_ACCESSIBILITY 1
37102 _ACEOF
37103
37104 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
37105 fi
37106
37107 if test "$wxUSE_DRAGIMAGE" = "yes"; then
37108 cat >>confdefs.h <<\_ACEOF
37109 #define wxUSE_DRAGIMAGE 1
37110 _ACEOF
37111
37112 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
37113 fi
37114
37115 if test "$wxUSE_EXCEPTIONS" = "yes"; then
37116 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
37117 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
37118 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
37119 else
37120 cat >>confdefs.h <<\_ACEOF
37121 #define wxUSE_EXCEPTIONS 1
37122 _ACEOF
37123
37124 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
37125 fi
37126 fi
37127
37128 USE_HTML=0
37129 if test "$wxUSE_HTML" = "yes"; then
37130 cat >>confdefs.h <<\_ACEOF
37131 #define wxUSE_HTML 1
37132 _ACEOF
37133
37134 USE_HTML=1
37135 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
37136 if test "$wxUSE_MAC" = 1; then
37137 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
37138 fi
37139 fi
37140 if test "$wxUSE_WEBKIT" = "yes"; then
37141 if test "$wxUSE_MAC" = 1; then
37142 old_CPPFLAGS="$CPPFLAGS"
37143 CPPFLAGS="$CPPFLAGS -x objective-c++"
37144 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
37145 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
37146 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
37147 echo $ECHO_N "(cached) $ECHO_C" >&6
37148 else
37149 cat >conftest.$ac_ext <<_ACEOF
37150 /* confdefs.h. */
37151 _ACEOF
37152 cat confdefs.h >>conftest.$ac_ext
37153 cat >>conftest.$ac_ext <<_ACEOF
37154 /* end confdefs.h. */
37155 #include <Carbon/Carbon.h>
37156
37157 #include <WebKit/HIWebView.h>
37158 _ACEOF
37159 rm -f conftest.$ac_objext
37160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37161 (eval $ac_compile) 2>conftest.er1
37162 ac_status=$?
37163 grep -v '^ *+' conftest.er1 >conftest.err
37164 rm -f conftest.er1
37165 cat conftest.err >&5
37166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37167 (exit $ac_status); } &&
37168 { ac_try='test -z "$ac_c_werror_flag"
37169 || test ! -s conftest.err'
37170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37171 (eval $ac_try) 2>&5
37172 ac_status=$?
37173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37174 (exit $ac_status); }; } &&
37175 { ac_try='test -s conftest.$ac_objext'
37176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37177 (eval $ac_try) 2>&5
37178 ac_status=$?
37179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37180 (exit $ac_status); }; }; then
37181 ac_cv_header_WebKit_HIWebView_h=yes
37182 else
37183 echo "$as_me: failed program was:" >&5
37184 sed 's/^/| /' conftest.$ac_ext >&5
37185
37186 ac_cv_header_WebKit_HIWebView_h=no
37187 fi
37188 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37189 fi
37190 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
37191 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
37192 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
37193
37194 cat >>confdefs.h <<\_ACEOF
37195 #define wxUSE_WEBKIT 1
37196 _ACEOF
37197
37198 WEBKIT_LINK="-framework WebKit"
37199
37200 else
37201
37202 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
37203 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
37204 wxUSE_WEBKIT=no
37205
37206 fi
37207
37208
37209 CPPFLAGS="$old_CPPFLAGS"
37210 elif test "$wxUSE_COCOA" = 1; then
37211 cat >>confdefs.h <<\_ACEOF
37212 #define wxUSE_WEBKIT 1
37213 _ACEOF
37214
37215 else
37216 wxUSE_WEBKIT=no
37217 fi
37218 fi
37219
37220 USE_XRC=0
37221 if test "$wxUSE_XRC" = "yes"; then
37222 if test "$wxUSE_XML" != "yes"; then
37223 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
37224 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
37225 wxUSE_XRC=no
37226 else
37227 cat >>confdefs.h <<\_ACEOF
37228 #define wxUSE_XRC 1
37229 _ACEOF
37230
37231 USE_XRC=1
37232 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
37233 fi
37234 fi
37235
37236 if test "$wxUSE_MENUS" = "yes"; then
37237 cat >>confdefs.h <<\_ACEOF
37238 #define wxUSE_MENUS 1
37239 _ACEOF
37240
37241 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
37242 fi
37243
37244 if test "$wxUSE_METAFILE" = "yes"; then
37245 cat >>confdefs.h <<\_ACEOF
37246 #define wxUSE_METAFILE 1
37247 _ACEOF
37248
37249 fi
37250
37251 if test "$wxUSE_MIMETYPE" = "yes"; then
37252 cat >>confdefs.h <<\_ACEOF
37253 #define wxUSE_MIMETYPE 1
37254 _ACEOF
37255
37256 fi
37257
37258 if test "$wxUSE_MINIFRAME" = "yes"; then
37259 cat >>confdefs.h <<\_ACEOF
37260 #define wxUSE_MINIFRAME 1
37261 _ACEOF
37262
37263 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
37264 fi
37265
37266 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
37267 cat >>confdefs.h <<\_ACEOF
37268 #define wxUSE_SYSTEM_OPTIONS 1
37269 _ACEOF
37270
37271 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
37272 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
37273 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
37274 fi
37275 fi
37276
37277
37278 if test "$wxUSE_VALIDATORS" = "yes"; then
37279 cat >>confdefs.h <<\_ACEOF
37280 #define wxUSE_VALIDATORS 1
37281 _ACEOF
37282
37283 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
37284 fi
37285
37286 if test "$wxUSE_PALETTE" = "yes" ; then
37287 cat >>confdefs.h <<\_ACEOF
37288 #define wxUSE_PALETTE 1
37289 _ACEOF
37290
37291 fi
37292
37293 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
37294 LIBS=" -lunicows $LIBS"
37295 fi
37296
37297
37298 if test "$wxUSE_IMAGE" = "yes" ; then
37299 cat >>confdefs.h <<\_ACEOF
37300 #define wxUSE_IMAGE 1
37301 _ACEOF
37302
37303
37304 if test "$wxUSE_GIF" = "yes" ; then
37305 cat >>confdefs.h <<\_ACEOF
37306 #define wxUSE_GIF 1
37307 _ACEOF
37308
37309 fi
37310
37311 if test "$wxUSE_PCX" = "yes" ; then
37312 cat >>confdefs.h <<\_ACEOF
37313 #define wxUSE_PCX 1
37314 _ACEOF
37315
37316 fi
37317
37318 if test "$wxUSE_IFF" = "yes" ; then
37319 cat >>confdefs.h <<\_ACEOF
37320 #define wxUSE_IFF 1
37321 _ACEOF
37322
37323 fi
37324
37325 if test "$wxUSE_PNM" = "yes" ; then
37326 cat >>confdefs.h <<\_ACEOF
37327 #define wxUSE_PNM 1
37328 _ACEOF
37329
37330 fi
37331
37332 if test "$wxUSE_XPM" = "yes" ; then
37333 cat >>confdefs.h <<\_ACEOF
37334 #define wxUSE_XPM 1
37335 _ACEOF
37336
37337 fi
37338
37339 if test "$wxUSE_ICO_CUR" = "yes" ; then
37340 cat >>confdefs.h <<\_ACEOF
37341 #define wxUSE_ICO_CUR 1
37342 _ACEOF
37343
37344 fi
37345 fi
37346
37347
37348 if test "$wxUSE_CHOICEDLG" = "yes"; then
37349 cat >>confdefs.h <<\_ACEOF
37350 #define wxUSE_CHOICEDLG 1
37351 _ACEOF
37352
37353 fi
37354
37355 if test "$wxUSE_COLOURDLG" = "yes"; then
37356 cat >>confdefs.h <<\_ACEOF
37357 #define wxUSE_COLOURDLG 1
37358 _ACEOF
37359
37360 fi
37361
37362 if test "$wxUSE_FILEDLG" = "yes"; then
37363 cat >>confdefs.h <<\_ACEOF
37364 #define wxUSE_FILEDLG 1
37365 _ACEOF
37366
37367 fi
37368
37369 if test "$wxUSE_FINDREPLDLG" = "yes"; then
37370 cat >>confdefs.h <<\_ACEOF
37371 #define wxUSE_FINDREPLDLG 1
37372 _ACEOF
37373
37374 fi
37375
37376 if test "$wxUSE_FONTDLG" = "yes"; then
37377 cat >>confdefs.h <<\_ACEOF
37378 #define wxUSE_FONTDLG 1
37379 _ACEOF
37380
37381 fi
37382
37383 if test "$wxUSE_DIRDLG" = "yes"; then
37384 if test "$wxUSE_TREECTRL" != "yes"; then
37385 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
37386 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
37387 else
37388 cat >>confdefs.h <<\_ACEOF
37389 #define wxUSE_DIRDLG 1
37390 _ACEOF
37391
37392 fi
37393 fi
37394
37395 if test "$wxUSE_MSGDLG" = "yes"; then
37396 cat >>confdefs.h <<\_ACEOF
37397 #define wxUSE_MSGDLG 1
37398 _ACEOF
37399
37400 fi
37401
37402 if test "$wxUSE_NUMBERDLG" = "yes"; then
37403 cat >>confdefs.h <<\_ACEOF
37404 #define wxUSE_NUMBERDLG 1
37405 _ACEOF
37406
37407 fi
37408
37409 if test "$wxUSE_PROGRESSDLG" = "yes"; then
37410 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37411 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
37412 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
37413 else
37414 cat >>confdefs.h <<\_ACEOF
37415 #define wxUSE_PROGRESSDLG 1
37416 _ACEOF
37417
37418 fi
37419 fi
37420
37421 if test "$wxUSE_SPLASH" = "yes"; then
37422 cat >>confdefs.h <<\_ACEOF
37423 #define wxUSE_SPLASH 1
37424 _ACEOF
37425
37426 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
37427 fi
37428
37429 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37430 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37431 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
37432 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
37433 else
37434 cat >>confdefs.h <<\_ACEOF
37435 #define wxUSE_STARTUP_TIPS 1
37436 _ACEOF
37437
37438 fi
37439 fi
37440
37441 if test "$wxUSE_TEXTDLG" = "yes"; then
37442 cat >>confdefs.h <<\_ACEOF
37443 #define wxUSE_TEXTDLG 1
37444 _ACEOF
37445
37446 fi
37447
37448 if test "$wxUSE_WIZARDDLG" = "yes"; then
37449 cat >>confdefs.h <<\_ACEOF
37450 #define wxUSE_WIZARDDLG 1
37451 _ACEOF
37452
37453 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
37454 fi
37455
37456
37457 if test "$cross_compiling" = "yes"; then
37458 OSINFO="\"$host\""
37459 else
37460 OSINFO=`uname -s -r -m`
37461 OSINFO="\"$OSINFO\""
37462 fi
37463
37464 cat >>confdefs.h <<_ACEOF
37465 #define WXWIN_OS_DESCRIPTION $OSINFO
37466 _ACEOF
37467
37468
37469
37470 if test "x$prefix" != "xNONE"; then
37471 wxPREFIX=$prefix
37472 else
37473 wxPREFIX=$ac_default_prefix
37474 fi
37475
37476 cat >>confdefs.h <<_ACEOF
37477 #define wxINSTALL_PREFIX "$wxPREFIX"
37478 _ACEOF
37479
37480
37481
37482
37483 CORE_BASE_LIBS="net base"
37484 CORE_GUI_LIBS="adv core"
37485
37486 if test "$wxUSE_XML" = "yes" ; then
37487 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
37488 fi
37489 if test "$wxUSE_ODBC" != "no" ; then
37490 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
37491 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
37492 fi
37493 if test "$wxUSE_HTML" = "yes" ; then
37494 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
37495 fi
37496 if test "$wxUSE_XRC" = "yes" ; then
37497 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
37498 fi
37499
37500 if test "$wxUSE_GUI" != "yes"; then
37501 CORE_GUI_LIBS=""
37502 fi
37503
37504
37505
37506
37507
37508
37509
37510
37511 if test "$wxUSE_MAC" = 1 ; then
37512 if test "$wxUSE_SOUND" = "yes"; then
37513 LDFLAGS="$LDFLAGS -framework QuickTime"
37514 fi
37515 if test "$USE_DARWIN" = 1; then
37516 LDFLAGS="$LDFLAGS -framework IOKit"
37517 fi
37518 LDFLAGS="$LDFLAGS -framework Carbon -framework Cocoa -framework System"
37519 fi
37520 if test "$wxUSE_COCOA" = 1 ; then
37521 LDFLAGS="$LDFLAGS -framework Cocoa"
37522 fi
37523
37524
37525 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37526
37527 have_cos=0
37528 have_floor=0
37529
37530 for ac_func in cos
37531 do
37532 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37533 echo "$as_me:$LINENO: checking for $ac_func" >&5
37534 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37535 if eval "test \"\${$as_ac_var+set}\" = set"; then
37536 echo $ECHO_N "(cached) $ECHO_C" >&6
37537 else
37538 cat >conftest.$ac_ext <<_ACEOF
37539 /* confdefs.h. */
37540 _ACEOF
37541 cat confdefs.h >>conftest.$ac_ext
37542 cat >>conftest.$ac_ext <<_ACEOF
37543 /* end confdefs.h. */
37544 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37545 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37546 #define $ac_func innocuous_$ac_func
37547
37548 /* System header to define __stub macros and hopefully few prototypes,
37549 which can conflict with char $ac_func (); below.
37550 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37551 <limits.h> exists even on freestanding compilers. */
37552
37553 #ifdef __STDC__
37554 # include <limits.h>
37555 #else
37556 # include <assert.h>
37557 #endif
37558
37559 #undef $ac_func
37560
37561 /* Override any gcc2 internal prototype to avoid an error. */
37562 #ifdef __cplusplus
37563 extern "C"
37564 {
37565 #endif
37566 /* We use char because int might match the return type of a gcc2
37567 builtin and then its argument prototype would still apply. */
37568 char $ac_func ();
37569 /* The GNU C library defines this for functions which it implements
37570 to always fail with ENOSYS. Some functions are actually named
37571 something starting with __ and the normal name is an alias. */
37572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37573 choke me
37574 #else
37575 char (*f) () = $ac_func;
37576 #endif
37577 #ifdef __cplusplus
37578 }
37579 #endif
37580
37581 int
37582 main ()
37583 {
37584 return f != $ac_func;
37585 ;
37586 return 0;
37587 }
37588 _ACEOF
37589 rm -f conftest.$ac_objext conftest$ac_exeext
37590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37591 (eval $ac_link) 2>conftest.er1
37592 ac_status=$?
37593 grep -v '^ *+' conftest.er1 >conftest.err
37594 rm -f conftest.er1
37595 cat conftest.err >&5
37596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37597 (exit $ac_status); } &&
37598 { ac_try='test -z "$ac_c_werror_flag"
37599 || test ! -s conftest.err'
37600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37601 (eval $ac_try) 2>&5
37602 ac_status=$?
37603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37604 (exit $ac_status); }; } &&
37605 { ac_try='test -s conftest$ac_exeext'
37606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37607 (eval $ac_try) 2>&5
37608 ac_status=$?
37609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37610 (exit $ac_status); }; }; then
37611 eval "$as_ac_var=yes"
37612 else
37613 echo "$as_me: failed program was:" >&5
37614 sed 's/^/| /' conftest.$ac_ext >&5
37615
37616 eval "$as_ac_var=no"
37617 fi
37618 rm -f conftest.err conftest.$ac_objext \
37619 conftest$ac_exeext conftest.$ac_ext
37620 fi
37621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37622 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37623 if test `eval echo '${'$as_ac_var'}'` = yes; then
37624 cat >>confdefs.h <<_ACEOF
37625 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37626 _ACEOF
37627 have_cos=1
37628 fi
37629 done
37630
37631
37632 for ac_func in floor
37633 do
37634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37635 echo "$as_me:$LINENO: checking for $ac_func" >&5
37636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37637 if eval "test \"\${$as_ac_var+set}\" = set"; then
37638 echo $ECHO_N "(cached) $ECHO_C" >&6
37639 else
37640 cat >conftest.$ac_ext <<_ACEOF
37641 /* confdefs.h. */
37642 _ACEOF
37643 cat confdefs.h >>conftest.$ac_ext
37644 cat >>conftest.$ac_ext <<_ACEOF
37645 /* end confdefs.h. */
37646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37648 #define $ac_func innocuous_$ac_func
37649
37650 /* System header to define __stub macros and hopefully few prototypes,
37651 which can conflict with char $ac_func (); below.
37652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37653 <limits.h> exists even on freestanding compilers. */
37654
37655 #ifdef __STDC__
37656 # include <limits.h>
37657 #else
37658 # include <assert.h>
37659 #endif
37660
37661 #undef $ac_func
37662
37663 /* Override any gcc2 internal prototype to avoid an error. */
37664 #ifdef __cplusplus
37665 extern "C"
37666 {
37667 #endif
37668 /* We use char because int might match the return type of a gcc2
37669 builtin and then its argument prototype would still apply. */
37670 char $ac_func ();
37671 /* The GNU C library defines this for functions which it implements
37672 to always fail with ENOSYS. Some functions are actually named
37673 something starting with __ and the normal name is an alias. */
37674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37675 choke me
37676 #else
37677 char (*f) () = $ac_func;
37678 #endif
37679 #ifdef __cplusplus
37680 }
37681 #endif
37682
37683 int
37684 main ()
37685 {
37686 return f != $ac_func;
37687 ;
37688 return 0;
37689 }
37690 _ACEOF
37691 rm -f conftest.$ac_objext conftest$ac_exeext
37692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37693 (eval $ac_link) 2>conftest.er1
37694 ac_status=$?
37695 grep -v '^ *+' conftest.er1 >conftest.err
37696 rm -f conftest.er1
37697 cat conftest.err >&5
37698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37699 (exit $ac_status); } &&
37700 { ac_try='test -z "$ac_c_werror_flag"
37701 || test ! -s conftest.err'
37702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37703 (eval $ac_try) 2>&5
37704 ac_status=$?
37705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37706 (exit $ac_status); }; } &&
37707 { ac_try='test -s conftest$ac_exeext'
37708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37709 (eval $ac_try) 2>&5
37710 ac_status=$?
37711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37712 (exit $ac_status); }; }; then
37713 eval "$as_ac_var=yes"
37714 else
37715 echo "$as_me: failed program was:" >&5
37716 sed 's/^/| /' conftest.$ac_ext >&5
37717
37718 eval "$as_ac_var=no"
37719 fi
37720 rm -f conftest.err conftest.$ac_objext \
37721 conftest$ac_exeext conftest.$ac_ext
37722 fi
37723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37725 if test `eval echo '${'$as_ac_var'}'` = yes; then
37726 cat >>confdefs.h <<_ACEOF
37727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37728 _ACEOF
37729 have_floor=1
37730 fi
37731 done
37732
37733 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
37734 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
37735 if test "$have_cos" = 1 -a "$have_floor" = 1; then
37736 echo "$as_me:$LINENO: result: yes" >&5
37737 echo "${ECHO_T}yes" >&6
37738 else
37739 echo "$as_me:$LINENO: result: no" >&5
37740 echo "${ECHO_T}no" >&6
37741 LIBS="$LIBS -lm"
37742 # use different functions to avoid configure caching
37743 have_sin=0
37744 have_ceil=0
37745
37746 for ac_func in sin
37747 do
37748 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37749 echo "$as_me:$LINENO: checking for $ac_func" >&5
37750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37751 if eval "test \"\${$as_ac_var+set}\" = set"; then
37752 echo $ECHO_N "(cached) $ECHO_C" >&6
37753 else
37754 cat >conftest.$ac_ext <<_ACEOF
37755 /* confdefs.h. */
37756 _ACEOF
37757 cat confdefs.h >>conftest.$ac_ext
37758 cat >>conftest.$ac_ext <<_ACEOF
37759 /* end confdefs.h. */
37760 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37761 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37762 #define $ac_func innocuous_$ac_func
37763
37764 /* System header to define __stub macros and hopefully few prototypes,
37765 which can conflict with char $ac_func (); below.
37766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37767 <limits.h> exists even on freestanding compilers. */
37768
37769 #ifdef __STDC__
37770 # include <limits.h>
37771 #else
37772 # include <assert.h>
37773 #endif
37774
37775 #undef $ac_func
37776
37777 /* Override any gcc2 internal prototype to avoid an error. */
37778 #ifdef __cplusplus
37779 extern "C"
37780 {
37781 #endif
37782 /* We use char because int might match the return type of a gcc2
37783 builtin and then its argument prototype would still apply. */
37784 char $ac_func ();
37785 /* The GNU C library defines this for functions which it implements
37786 to always fail with ENOSYS. Some functions are actually named
37787 something starting with __ and the normal name is an alias. */
37788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37789 choke me
37790 #else
37791 char (*f) () = $ac_func;
37792 #endif
37793 #ifdef __cplusplus
37794 }
37795 #endif
37796
37797 int
37798 main ()
37799 {
37800 return f != $ac_func;
37801 ;
37802 return 0;
37803 }
37804 _ACEOF
37805 rm -f conftest.$ac_objext conftest$ac_exeext
37806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37807 (eval $ac_link) 2>conftest.er1
37808 ac_status=$?
37809 grep -v '^ *+' conftest.er1 >conftest.err
37810 rm -f conftest.er1
37811 cat conftest.err >&5
37812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37813 (exit $ac_status); } &&
37814 { ac_try='test -z "$ac_c_werror_flag"
37815 || test ! -s conftest.err'
37816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37817 (eval $ac_try) 2>&5
37818 ac_status=$?
37819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37820 (exit $ac_status); }; } &&
37821 { ac_try='test -s conftest$ac_exeext'
37822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37823 (eval $ac_try) 2>&5
37824 ac_status=$?
37825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37826 (exit $ac_status); }; }; then
37827 eval "$as_ac_var=yes"
37828 else
37829 echo "$as_me: failed program was:" >&5
37830 sed 's/^/| /' conftest.$ac_ext >&5
37831
37832 eval "$as_ac_var=no"
37833 fi
37834 rm -f conftest.err conftest.$ac_objext \
37835 conftest$ac_exeext conftest.$ac_ext
37836 fi
37837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37838 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37839 if test `eval echo '${'$as_ac_var'}'` = yes; then
37840 cat >>confdefs.h <<_ACEOF
37841 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37842 _ACEOF
37843 have_sin=1
37844 fi
37845 done
37846
37847
37848 for ac_func in ceil
37849 do
37850 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37851 echo "$as_me:$LINENO: checking for $ac_func" >&5
37852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37853 if eval "test \"\${$as_ac_var+set}\" = set"; then
37854 echo $ECHO_N "(cached) $ECHO_C" >&6
37855 else
37856 cat >conftest.$ac_ext <<_ACEOF
37857 /* confdefs.h. */
37858 _ACEOF
37859 cat confdefs.h >>conftest.$ac_ext
37860 cat >>conftest.$ac_ext <<_ACEOF
37861 /* end confdefs.h. */
37862 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37863 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37864 #define $ac_func innocuous_$ac_func
37865
37866 /* System header to define __stub macros and hopefully few prototypes,
37867 which can conflict with char $ac_func (); below.
37868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37869 <limits.h> exists even on freestanding compilers. */
37870
37871 #ifdef __STDC__
37872 # include <limits.h>
37873 #else
37874 # include <assert.h>
37875 #endif
37876
37877 #undef $ac_func
37878
37879 /* Override any gcc2 internal prototype to avoid an error. */
37880 #ifdef __cplusplus
37881 extern "C"
37882 {
37883 #endif
37884 /* We use char because int might match the return type of a gcc2
37885 builtin and then its argument prototype would still apply. */
37886 char $ac_func ();
37887 /* The GNU C library defines this for functions which it implements
37888 to always fail with ENOSYS. Some functions are actually named
37889 something starting with __ and the normal name is an alias. */
37890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37891 choke me
37892 #else
37893 char (*f) () = $ac_func;
37894 #endif
37895 #ifdef __cplusplus
37896 }
37897 #endif
37898
37899 int
37900 main ()
37901 {
37902 return f != $ac_func;
37903 ;
37904 return 0;
37905 }
37906 _ACEOF
37907 rm -f conftest.$ac_objext conftest$ac_exeext
37908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37909 (eval $ac_link) 2>conftest.er1
37910 ac_status=$?
37911 grep -v '^ *+' conftest.er1 >conftest.err
37912 rm -f conftest.er1
37913 cat conftest.err >&5
37914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37915 (exit $ac_status); } &&
37916 { ac_try='test -z "$ac_c_werror_flag"
37917 || test ! -s conftest.err'
37918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37919 (eval $ac_try) 2>&5
37920 ac_status=$?
37921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37922 (exit $ac_status); }; } &&
37923 { ac_try='test -s conftest$ac_exeext'
37924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37925 (eval $ac_try) 2>&5
37926 ac_status=$?
37927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37928 (exit $ac_status); }; }; then
37929 eval "$as_ac_var=yes"
37930 else
37931 echo "$as_me: failed program was:" >&5
37932 sed 's/^/| /' conftest.$ac_ext >&5
37933
37934 eval "$as_ac_var=no"
37935 fi
37936 rm -f conftest.err conftest.$ac_objext \
37937 conftest$ac_exeext conftest.$ac_ext
37938 fi
37939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37940 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37941 if test `eval echo '${'$as_ac_var'}'` = yes; then
37942 cat >>confdefs.h <<_ACEOF
37943 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37944 _ACEOF
37945 have_ceil=1
37946 fi
37947 done
37948
37949 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
37950 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
37951 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
37952 echo "$as_me:$LINENO: result: yes" >&5
37953 echo "${ECHO_T}yes" >&6
37954 else
37955 echo "$as_me:$LINENO: result: no" >&5
37956 echo "${ECHO_T}no" >&6
37957 # not sure we should warn the user, crash, etc.
37958 fi
37959 fi
37960
37961 if test "$wxUSE_GUI" = "yes"; then
37962
37963
37964 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
37965 drawing dynamic erase event exec font image \
37966 minimal propsize rotate shaped widgets render"
37967
37968 if test "$wxUSE_MONOLITHIC" != "yes"; then
37969 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
37970 fi
37971 else
37972 SAMPLES_SUBDIRS="console"
37973 fi
37974
37975
37976 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
37977 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
37978
37979 if test "$GXX" = yes ; then
37980 CXXWARNINGS="-Wall"
37981 fi
37982
37983 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
37984
37985 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
37986 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS`
37987 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
37988
37989
37990 LIBS=`echo $LIBS`
37991 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37992 EXTRALIBS_XML="$EXPAT_LINK"
37993 EXTRALIBS_HTML="$MSPACK_LINK"
37994 EXTRALIBS_ODBC="$ODBC_LINK"
37995 if test "$wxUSE_GUI" = "yes"; then
37996 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
37997 fi
37998 if test "$wxUSE_OPENGL" = "yes"; then
37999 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
38000 fi
38001
38002 LDFLAGS="$LDFLAGS $PROFILE"
38003
38004 if test "$wxUSE_GTK" = 1; then
38005 WXCONFIG_INCLUDE=
38006 else
38007 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
38008 fi
38009
38010 WXCONFIG_EXTRALIBS="$LIBS"
38011
38012 if test "$wxUSE_REGEX" = "builtin" ; then
38013 wxconfig_3rdparty="$wxconfig_3rdparty regex${lib_unicode_suffix}"
38014 fi
38015 if test "$wxUSE_EXPAT" = "builtin" ; then
38016 wxconfig_3rdparty="$wxconfig_3rdparty expat"
38017 fi
38018 if test "$wxUSE_ODBC" = "builtin" ; then
38019 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
38020 fi
38021 if test "$wxUSE_LIBTIFF" = "builtin" ; then
38022 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
38023 fi
38024 if test "$wxUSE_LIBJPEG" = "builtin" ; then
38025 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
38026 fi
38027 if test "$wxUSE_LIBPNG" = "builtin" ; then
38028 wxconfig_3rdparty="$wxconfig_3rdparty png"
38029 fi
38030 if test "$wxUSE_ZLIB" = "builtin" ; then
38031 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
38032 fi
38033 if test "$wxUSE_ODBC" = "builtin" ; then
38034 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
38035 fi
38036
38037 for i in $wxconfig_3rdparty ; do
38038 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
38039 done
38040
38041
38042 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
38043 WXUNIV=1
38044 else
38045 WXUNIV=0
38046 fi
38047
38048
38049
38050
38051
38052
38053
38054
38055
38056 if test $wxUSE_MONOLITHIC = "yes" ; then
38057 MONOLITHIC=1
38058 else
38059 MONOLITHIC=0
38060 fi
38061
38062 if test $wxUSE_PLUGINS = "yes" ; then
38063 USE_PLUGINS=1
38064 else
38065 USE_PLUGINS=0
38066 fi
38067
38068 if test $wxUSE_ODBC != "no" ; then
38069 USE_ODBC=1
38070 else
38071 USE_ODBC=0
38072 fi
38073
38074 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
38075 OFFICIAL_BUILD=1
38076 else
38077 OFFICIAL_BUILD=0
38078 fi
38079
38080
38081
38082
38083
38084
38085
38086
38087
38088
38089
38090
38091
38092
38093
38094
38095
38096
38097
38098
38099
38100
38101 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
38102
38103
38104
38105
38106
38107
38108
38109
38110 case "$TOOLKIT" in
38111 GTK)
38112 TOOLKIT_USER="GTK+"
38113 if test "$WXGTK20" = 1; then
38114 TOOLKIT_USER="$TOOLKIT_USER 2"
38115 fi
38116 ;;
38117
38118 *)
38119 TOOLKIT_USER=$TOOLKIT_LOWERCASE
38120 ;;
38121 esac
38122
38123
38124 if test "x$BAKEFILE_HOST" = "x"; then
38125 BAKEFILE_HOST="${host}"
38126 fi
38127
38128 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
38129
38130 if test -n "$ac_tool_prefix"; then
38131 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
38132 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
38133 echo "$as_me:$LINENO: checking for $ac_word" >&5
38134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38135 if test "${ac_cv_prog_RANLIB+set}" = set; then
38136 echo $ECHO_N "(cached) $ECHO_C" >&6
38137 else
38138 if test -n "$RANLIB"; then
38139 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
38140 else
38141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38142 for as_dir in $PATH
38143 do
38144 IFS=$as_save_IFS
38145 test -z "$as_dir" && as_dir=.
38146 for ac_exec_ext in '' $ac_executable_extensions; do
38147 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38148 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
38149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38150 break 2
38151 fi
38152 done
38153 done
38154
38155 fi
38156 fi
38157 RANLIB=$ac_cv_prog_RANLIB
38158 if test -n "$RANLIB"; then
38159 echo "$as_me:$LINENO: result: $RANLIB" >&5
38160 echo "${ECHO_T}$RANLIB" >&6
38161 else
38162 echo "$as_me:$LINENO: result: no" >&5
38163 echo "${ECHO_T}no" >&6
38164 fi
38165
38166 fi
38167 if test -z "$ac_cv_prog_RANLIB"; then
38168 ac_ct_RANLIB=$RANLIB
38169 # Extract the first word of "ranlib", so it can be a program name with args.
38170 set dummy ranlib; ac_word=$2
38171 echo "$as_me:$LINENO: checking for $ac_word" >&5
38172 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38173 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
38174 echo $ECHO_N "(cached) $ECHO_C" >&6
38175 else
38176 if test -n "$ac_ct_RANLIB"; then
38177 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
38178 else
38179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38180 for as_dir in $PATH
38181 do
38182 IFS=$as_save_IFS
38183 test -z "$as_dir" && as_dir=.
38184 for ac_exec_ext in '' $ac_executable_extensions; do
38185 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38186 ac_cv_prog_ac_ct_RANLIB="ranlib"
38187 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38188 break 2
38189 fi
38190 done
38191 done
38192
38193 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
38194 fi
38195 fi
38196 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
38197 if test -n "$ac_ct_RANLIB"; then
38198 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
38199 echo "${ECHO_T}$ac_ct_RANLIB" >&6
38200 else
38201 echo "$as_me:$LINENO: result: no" >&5
38202 echo "${ECHO_T}no" >&6
38203 fi
38204
38205 RANLIB=$ac_ct_RANLIB
38206 else
38207 RANLIB="$ac_cv_prog_RANLIB"
38208 fi
38209
38210 # Find a good install program. We prefer a C program (faster),
38211 # so one script is as good as another. But avoid the broken or
38212 # incompatible versions:
38213 # SysV /etc/install, /usr/sbin/install
38214 # SunOS /usr/etc/install
38215 # IRIX /sbin/install
38216 # AIX /bin/install
38217 # AmigaOS /C/install, which installs bootblocks on floppy discs
38218 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
38219 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
38220 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
38221 # OS/2's system install, which has a completely different semantic
38222 # ./install, which can be erroneously created by make from ./install.sh.
38223 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
38224 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
38225 if test -z "$INSTALL"; then
38226 if test "${ac_cv_path_install+set}" = set; then
38227 echo $ECHO_N "(cached) $ECHO_C" >&6
38228 else
38229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38230 for as_dir in $PATH
38231 do
38232 IFS=$as_save_IFS
38233 test -z "$as_dir" && as_dir=.
38234 # Account for people who put trailing slashes in PATH elements.
38235 case $as_dir/ in
38236 ./ | .// | /cC/* | \
38237 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
38238 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
38239 /usr/ucb/* ) ;;
38240 *)
38241 # OSF1 and SCO ODT 3.0 have their own names for install.
38242 # Don't use installbsd from OSF since it installs stuff as root
38243 # by default.
38244 for ac_prog in ginstall scoinst install; do
38245 for ac_exec_ext in '' $ac_executable_extensions; do
38246 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
38247 if test $ac_prog = install &&
38248 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
38249 # AIX install. It has an incompatible calling convention.
38250 :
38251 elif test $ac_prog = install &&
38252 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
38253 # program-specific install script used by HP pwplus--don't use.
38254 :
38255 else
38256 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
38257 break 3
38258 fi
38259 fi
38260 done
38261 done
38262 ;;
38263 esac
38264 done
38265
38266
38267 fi
38268 if test "${ac_cv_path_install+set}" = set; then
38269 INSTALL=$ac_cv_path_install
38270 else
38271 # As a last resort, use the slow shell script. We don't cache a
38272 # path for INSTALL within a source directory, because that will
38273 # break other packages using the cache if that directory is
38274 # removed, or if the path is relative.
38275 INSTALL=$ac_install_sh
38276 fi
38277 fi
38278 echo "$as_me:$LINENO: result: $INSTALL" >&5
38279 echo "${ECHO_T}$INSTALL" >&6
38280
38281 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
38282 # It thinks the first close brace ends the variable substitution.
38283 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
38284
38285 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
38286
38287 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
38288
38289 echo "$as_me:$LINENO: checking whether ln -s works" >&5
38290 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
38291 LN_S=$as_ln_s
38292 if test "$LN_S" = "ln -s"; then
38293 echo "$as_me:$LINENO: result: yes" >&5
38294 echo "${ECHO_T}yes" >&6
38295 else
38296 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
38297 echo "${ECHO_T}no, using $LN_S" >&6
38298 fi
38299
38300
38301 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38302 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
38303 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
38304 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
38305 echo $ECHO_N "(cached) $ECHO_C" >&6
38306 else
38307 cat >conftest.make <<\_ACEOF
38308 all:
38309 @echo 'ac_maketemp="$(MAKE)"'
38310 _ACEOF
38311 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
38312 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
38313 if test -n "$ac_maketemp"; then
38314 eval ac_cv_prog_make_${ac_make}_set=yes
38315 else
38316 eval ac_cv_prog_make_${ac_make}_set=no
38317 fi
38318 rm -f conftest.make
38319 fi
38320 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
38321 echo "$as_me:$LINENO: result: yes" >&5
38322 echo "${ECHO_T}yes" >&6
38323 SET_MAKE=
38324 else
38325 echo "$as_me:$LINENO: result: no" >&5
38326 echo "${ECHO_T}no" >&6
38327 SET_MAKE="MAKE=${MAKE-make}"
38328 fi
38329
38330
38331
38332 if test -n "$ac_tool_prefix"; then
38333 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38334 set dummy ${ac_tool_prefix}ar; ac_word=$2
38335 echo "$as_me:$LINENO: checking for $ac_word" >&5
38336 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38337 if test "${ac_cv_prog_AR+set}" = set; then
38338 echo $ECHO_N "(cached) $ECHO_C" >&6
38339 else
38340 if test -n "$AR"; then
38341 ac_cv_prog_AR="$AR" # Let the user override the test.
38342 else
38343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38344 for as_dir in $PATH
38345 do
38346 IFS=$as_save_IFS
38347 test -z "$as_dir" && as_dir=.
38348 for ac_exec_ext in '' $ac_executable_extensions; do
38349 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38350 ac_cv_prog_AR="${ac_tool_prefix}ar"
38351 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38352 break 2
38353 fi
38354 done
38355 done
38356
38357 fi
38358 fi
38359 AR=$ac_cv_prog_AR
38360 if test -n "$AR"; then
38361 echo "$as_me:$LINENO: result: $AR" >&5
38362 echo "${ECHO_T}$AR" >&6
38363 else
38364 echo "$as_me:$LINENO: result: no" >&5
38365 echo "${ECHO_T}no" >&6
38366 fi
38367
38368 fi
38369 if test -z "$ac_cv_prog_AR"; then
38370 ac_ct_AR=$AR
38371 # Extract the first word of "ar", so it can be a program name with args.
38372 set dummy ar; ac_word=$2
38373 echo "$as_me:$LINENO: checking for $ac_word" >&5
38374 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38375 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
38376 echo $ECHO_N "(cached) $ECHO_C" >&6
38377 else
38378 if test -n "$ac_ct_AR"; then
38379 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
38380 else
38381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38382 for as_dir in $PATH
38383 do
38384 IFS=$as_save_IFS
38385 test -z "$as_dir" && as_dir=.
38386 for ac_exec_ext in '' $ac_executable_extensions; do
38387 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38388 ac_cv_prog_ac_ct_AR="ar"
38389 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38390 break 2
38391 fi
38392 done
38393 done
38394
38395 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
38396 fi
38397 fi
38398 ac_ct_AR=$ac_cv_prog_ac_ct_AR
38399 if test -n "$ac_ct_AR"; then
38400 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
38401 echo "${ECHO_T}$ac_ct_AR" >&6
38402 else
38403 echo "$as_me:$LINENO: result: no" >&5
38404 echo "${ECHO_T}no" >&6
38405 fi
38406
38407 AR=$ac_ct_AR
38408 else
38409 AR="$ac_cv_prog_AR"
38410 fi
38411
38412 if test -n "$ac_tool_prefix"; then
38413 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38414 set dummy ${ac_tool_prefix}strip; ac_word=$2
38415 echo "$as_me:$LINENO: checking for $ac_word" >&5
38416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38417 if test "${ac_cv_prog_STRIP+set}" = set; then
38418 echo $ECHO_N "(cached) $ECHO_C" >&6
38419 else
38420 if test -n "$STRIP"; then
38421 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
38422 else
38423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38424 for as_dir in $PATH
38425 do
38426 IFS=$as_save_IFS
38427 test -z "$as_dir" && as_dir=.
38428 for ac_exec_ext in '' $ac_executable_extensions; do
38429 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38430 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
38431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38432 break 2
38433 fi
38434 done
38435 done
38436
38437 fi
38438 fi
38439 STRIP=$ac_cv_prog_STRIP
38440 if test -n "$STRIP"; then
38441 echo "$as_me:$LINENO: result: $STRIP" >&5
38442 echo "${ECHO_T}$STRIP" >&6
38443 else
38444 echo "$as_me:$LINENO: result: no" >&5
38445 echo "${ECHO_T}no" >&6
38446 fi
38447
38448 fi
38449 if test -z "$ac_cv_prog_STRIP"; then
38450 ac_ct_STRIP=$STRIP
38451 # Extract the first word of "strip", so it can be a program name with args.
38452 set dummy strip; ac_word=$2
38453 echo "$as_me:$LINENO: checking for $ac_word" >&5
38454 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38455 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
38456 echo $ECHO_N "(cached) $ECHO_C" >&6
38457 else
38458 if test -n "$ac_ct_STRIP"; then
38459 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
38460 else
38461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38462 for as_dir in $PATH
38463 do
38464 IFS=$as_save_IFS
38465 test -z "$as_dir" && as_dir=.
38466 for ac_exec_ext in '' $ac_executable_extensions; do
38467 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38468 ac_cv_prog_ac_ct_STRIP="strip"
38469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38470 break 2
38471 fi
38472 done
38473 done
38474
38475 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
38476 fi
38477 fi
38478 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
38479 if test -n "$ac_ct_STRIP"; then
38480 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
38481 echo "${ECHO_T}$ac_ct_STRIP" >&6
38482 else
38483 echo "$as_me:$LINENO: result: no" >&5
38484 echo "${ECHO_T}no" >&6
38485 fi
38486
38487 STRIP=$ac_ct_STRIP
38488 else
38489 STRIP="$ac_cv_prog_STRIP"
38490 fi
38491
38492 if test -n "$ac_tool_prefix"; then
38493 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38494 set dummy ${ac_tool_prefix}nm; ac_word=$2
38495 echo "$as_me:$LINENO: checking for $ac_word" >&5
38496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38497 if test "${ac_cv_prog_NM+set}" = set; then
38498 echo $ECHO_N "(cached) $ECHO_C" >&6
38499 else
38500 if test -n "$NM"; then
38501 ac_cv_prog_NM="$NM" # Let the user override the test.
38502 else
38503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38504 for as_dir in $PATH
38505 do
38506 IFS=$as_save_IFS
38507 test -z "$as_dir" && as_dir=.
38508 for ac_exec_ext in '' $ac_executable_extensions; do
38509 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38510 ac_cv_prog_NM="${ac_tool_prefix}nm"
38511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38512 break 2
38513 fi
38514 done
38515 done
38516
38517 fi
38518 fi
38519 NM=$ac_cv_prog_NM
38520 if test -n "$NM"; then
38521 echo "$as_me:$LINENO: result: $NM" >&5
38522 echo "${ECHO_T}$NM" >&6
38523 else
38524 echo "$as_me:$LINENO: result: no" >&5
38525 echo "${ECHO_T}no" >&6
38526 fi
38527
38528 fi
38529 if test -z "$ac_cv_prog_NM"; then
38530 ac_ct_NM=$NM
38531 # Extract the first word of "nm", so it can be a program name with args.
38532 set dummy nm; ac_word=$2
38533 echo "$as_me:$LINENO: checking for $ac_word" >&5
38534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38535 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
38536 echo $ECHO_N "(cached) $ECHO_C" >&6
38537 else
38538 if test -n "$ac_ct_NM"; then
38539 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
38540 else
38541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38542 for as_dir in $PATH
38543 do
38544 IFS=$as_save_IFS
38545 test -z "$as_dir" && as_dir=.
38546 for ac_exec_ext in '' $ac_executable_extensions; do
38547 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38548 ac_cv_prog_ac_ct_NM="nm"
38549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38550 break 2
38551 fi
38552 done
38553 done
38554
38555 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
38556 fi
38557 fi
38558 ac_ct_NM=$ac_cv_prog_ac_ct_NM
38559 if test -n "$ac_ct_NM"; then
38560 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
38561 echo "${ECHO_T}$ac_ct_NM" >&6
38562 else
38563 echo "$as_me:$LINENO: result: no" >&5
38564 echo "${ECHO_T}no" >&6
38565 fi
38566
38567 NM=$ac_ct_NM
38568 else
38569 NM="$ac_cv_prog_NM"
38570 fi
38571
38572
38573 case ${BAKEFILE_HOST} in
38574 *-hp-hpux* )
38575 INSTALL_DIR="mkdir -p"
38576 ;;
38577 *) INSTALL_DIR="$INSTALL -d"
38578 ;;
38579 esac
38580
38581
38582 LDFLAGS_GUI=
38583 case ${BAKEFILE_HOST} in
38584 *-*-cygwin* | *-*-mingw32* )
38585 LDFLAGS_GUI="-mwindows"
38586 esac
38587
38588
38589 fi
38590
38591 echo "$as_me:$LINENO: checking if make is GNU make" >&5
38592 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
38593 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
38594 echo $ECHO_N "(cached) $ECHO_C" >&6
38595 else
38596
38597 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
38598 egrep -s GNU > /dev/null); then
38599 bakefile_cv_prog_makeisgnu="yes"
38600 else
38601 bakefile_cv_prog_makeisgnu="no"
38602 fi
38603
38604 fi
38605 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
38606 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
38607
38608 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38609 IF_GNU_MAKE=""
38610 else
38611 IF_GNU_MAKE="#"
38612 fi
38613
38614
38615
38616 PLATFORM_UNIX=0
38617 PLATFORM_WIN32=0
38618 PLATFORM_MSDOS=0
38619 PLATFORM_MAC=0
38620 PLATFORM_MACOSX=0
38621 PLATFORM_OS2=0
38622
38623 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38624 case "${BAKEFILE_HOST}" in
38625 *-*-cygwin* | *-*-mingw32* )
38626 PLATFORM_WIN32=1
38627 ;;
38628 *-pc-msdosdjgpp )
38629 PLATFORM_MSDOS=1
38630 ;;
38631 *-pc-os2_emx | *-pc-os2-emx )
38632 PLATFORM_OS2=1
38633 ;;
38634 powerpc-*-darwin* )
38635 PLATFORM_MAC=1
38636 PLATFORM_MACOSX=1
38637 ;;
38638 * )
38639 PLATFORM_UNIX=1
38640 ;;
38641 esac
38642 else
38643 case "$BAKEFILE_FORCE_PLATFORM" in
38644 win32 )
38645 PLATFORM_WIN32=1
38646 ;;
38647 msdos )
38648 PLATFORM_MSDOS=1
38649 ;;
38650 os2 )
38651 PLATFORM_OS2=1
38652 ;;
38653 darwin )
38654 PLATFORM_MAC=1
38655 PLATFORM_MACOSX=1
38656 ;;
38657 unix )
38658 PLATFORM_UNIX=1
38659 ;;
38660 * )
38661 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
38662 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
38663 { (exit 1); exit 1; }; }
38664 ;;
38665 esac
38666 fi
38667
38668
38669
38670
38671
38672
38673
38674
38675
38676 # Check whether --enable-omf or --disable-omf was given.
38677 if test "${enable_omf+set}" = set; then
38678 enableval="$enable_omf"
38679 bk_os2_use_omf="$enableval"
38680 fi;
38681
38682 case "${BAKEFILE_HOST}" in
38683 *-*-darwin* )
38684 CFLAGS="$CFLAGS -fno-common"
38685 CXXFLAGS="$CXXFLAGS -fno-common"
38686 ;;
38687
38688 *-pc-os2_emx | *-pc-os2-emx )
38689 if test "x$bk_os2_use_omf" = "xyes" ; then
38690 AR=emxomfar
38691 RANLIB=:
38692 LDFLAGS="-Zomf $LDFLAGS"
38693 CFLAGS="-Zomf $CFLAGS"
38694 CXXFLAGS="-Zomf $CXXFLAGS"
38695 OS2_LIBEXT="lib"
38696 else
38697 OS2_LIBEXT="a"
38698 fi
38699 ;;
38700 esac
38701
38702
38703 SO_SUFFIX="so"
38704 SO_SUFFIX_MODULE="so"
38705 EXEEXT=""
38706 LIBPREFIX="lib"
38707 LIBEXT=".a"
38708 DLLPREFIX="lib"
38709 DLLPREFIX_MODULE=""
38710 DLLIMP_SUFFIX=""
38711
38712 case "${BAKEFILE_HOST}" in
38713 *-hp-hpux* )
38714 SO_SUFFIX="sl"
38715 SO_SUFFIX_MODULE="sl"
38716 ;;
38717 *-*-aix* )
38718 SO_SUFFIX="a"
38719 SO_SUFFIX_MODULE="a"
38720 ;;
38721 *-*-cygwin* | *-*-mingw32* )
38722 SO_SUFFIX="dll"
38723 SO_SUFFIX_MODULE="dll"
38724 DLLIMP_SUFFIX="dll.a"
38725 EXEEXT=".exe"
38726 DLLPREFIX=""
38727 ;;
38728 *-pc-msdosdjgpp )
38729 EXEEXT=".exe"
38730 DLLPREFIX=""
38731 ;;
38732 *-pc-os2_emx | *-pc-os2-emx )
38733 SO_SUFFIX="dll"
38734 SO_SUFFIX_MODULE="dll"
38735 DLLIMP_SUFFIX=$OS2_LIBEXT
38736 EXEEXT=".exe"
38737 DLLPREFIX=""
38738 LIBPREFIX=""
38739 LIBEXT=".$OS2_LIBEXT"
38740 ;;
38741 powerpc-*-darwin* )
38742 SO_SUFFIX="dylib"
38743 SO_SUFFIX_MODULE="bundle"
38744 ;;
38745 esac
38746
38747 if test "x$DLLIMP_SUFFIX" = "x" ; then
38748 DLLIMP_SUFFIX="$SO_SUFFIX"
38749 fi
38750
38751
38752
38753
38754
38755
38756
38757
38758
38759
38760
38761 SHARED_LD_CC="\$(CC) -shared -o"
38762 SHARED_LD_CXX="\$(CXX) -shared -o"
38763
38764 if test "x$GCC" = "xyes"; then
38765 PIC_FLAG="-fPIC"
38766 fi
38767
38768 case "${BAKEFILE_HOST}" in
38769 *-hp-hpux* )
38770 if test "x$GCC" = "xyes"; then
38771 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
38772 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
38773 else
38774 LDFLAGS="$LDFLAGS -L/usr/lib"
38775
38776 SHARED_LD_CC="${CC} -b -o"
38777 SHARED_LD_CXX="${CXX} -b -o"
38778 PIC_FLAG="+Z"
38779 fi
38780 ;;
38781
38782 *-*-linux* )
38783 if test "x$GCC" != "xyes"; then
38784 echo "$as_me:$LINENO: checking for Intel compiler" >&5
38785 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
38786 if test "${bakefile_cv_prog_icc+set}" = set; then
38787 echo $ECHO_N "(cached) $ECHO_C" >&6
38788 else
38789
38790 cat >conftest.$ac_ext <<_ACEOF
38791 /* confdefs.h. */
38792 _ACEOF
38793 cat confdefs.h >>conftest.$ac_ext
38794 cat >>conftest.$ac_ext <<_ACEOF
38795 /* end confdefs.h. */
38796
38797 int
38798 main ()
38799 {
38800
38801 #ifndef __INTEL_COMPILER
38802 #error Not icc
38803 #endif
38804
38805 ;
38806 return 0;
38807 }
38808 _ACEOF
38809 rm -f conftest.$ac_objext
38810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38811 (eval $ac_compile) 2>conftest.er1
38812 ac_status=$?
38813 grep -v '^ *+' conftest.er1 >conftest.err
38814 rm -f conftest.er1
38815 cat conftest.err >&5
38816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38817 (exit $ac_status); } &&
38818 { ac_try='test -z "$ac_c_werror_flag"
38819 || test ! -s conftest.err'
38820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38821 (eval $ac_try) 2>&5
38822 ac_status=$?
38823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38824 (exit $ac_status); }; } &&
38825 { ac_try='test -s conftest.$ac_objext'
38826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38827 (eval $ac_try) 2>&5
38828 ac_status=$?
38829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38830 (exit $ac_status); }; }; then
38831 bakefile_cv_prog_icc=yes
38832 else
38833 echo "$as_me: failed program was:" >&5
38834 sed 's/^/| /' conftest.$ac_ext >&5
38835
38836 bakefile_cv_prog_icc=no
38837
38838 fi
38839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38840
38841 fi
38842 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
38843 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
38844 if test "$bakefile_cv_prog_icc" = "yes"; then
38845 PIC_FLAG="-KPIC"
38846 fi
38847 fi
38848 ;;
38849
38850 *-*-solaris2* )
38851 if test "x$GCC" != xyes ; then
38852 SHARED_LD_CC="${CC} -G -o"
38853 SHARED_LD_CXX="${CXX} -G -o"
38854 PIC_FLAG="-KPIC"
38855 fi
38856 ;;
38857
38858 *-*-darwin* )
38859
38860 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
38861 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
38862 if test "${wx_cv_gcc31+set}" = set; then
38863 echo $ECHO_N "(cached) $ECHO_C" >&6
38864 else
38865
38866 cat >conftest.$ac_ext <<_ACEOF
38867 /* confdefs.h. */
38868 _ACEOF
38869 cat confdefs.h >>conftest.$ac_ext
38870 cat >>conftest.$ac_ext <<_ACEOF
38871 /* end confdefs.h. */
38872
38873 int
38874 main ()
38875 {
38876
38877 #if (__GNUC__ < 3) || \
38878 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38879 #error old gcc
38880 #endif
38881
38882 ;
38883 return 0;
38884 }
38885 _ACEOF
38886 rm -f conftest.$ac_objext
38887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38888 (eval $ac_compile) 2>conftest.er1
38889 ac_status=$?
38890 grep -v '^ *+' conftest.er1 >conftest.err
38891 rm -f conftest.er1
38892 cat conftest.err >&5
38893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38894 (exit $ac_status); } &&
38895 { ac_try='test -z "$ac_c_werror_flag"
38896 || test ! -s conftest.err'
38897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38898 (eval $ac_try) 2>&5
38899 ac_status=$?
38900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38901 (exit $ac_status); }; } &&
38902 { ac_try='test -s conftest.$ac_objext'
38903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38904 (eval $ac_try) 2>&5
38905 ac_status=$?
38906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38907 (exit $ac_status); }; }; then
38908
38909 wx_cv_gcc31=yes
38910
38911 else
38912 echo "$as_me: failed program was:" >&5
38913 sed 's/^/| /' conftest.$ac_ext >&5
38914
38915
38916 wx_cv_gcc31=no
38917
38918
38919 fi
38920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38921
38922 fi
38923 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
38924 echo "${ECHO_T}$wx_cv_gcc31" >&6
38925 if test "$wx_cv_gcc31" = "no"; then
38926
38927 D='$'
38928 cat <<EOF >shared-ld-sh
38929 #!/bin/sh
38930 #-----------------------------------------------------------------------------
38931 #-- Name: distrib/mac/shared-ld-sh
38932 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38933 #-- Author: Gilles Depeyrot
38934 #-- Copyright: (c) 2002 Gilles Depeyrot
38935 #-- Licence: any use permitted
38936 #-----------------------------------------------------------------------------
38937
38938 verbose=0
38939 args=""
38940 objects=""
38941 linking_flag="-dynamiclib"
38942
38943 while test ${D}# -gt 0; do
38944 case ${D}1 in
38945
38946 -v)
38947 verbose=1
38948 ;;
38949
38950 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38951 # collect these options and values
38952 args="${D}{args} ${D}1 ${D}2"
38953 shift
38954 ;;
38955
38956 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38957 # collect these options
38958 args="${D}{args} ${D}1"
38959 ;;
38960
38961 -dynamiclib|-bundle)
38962 linking_flag="${D}1"
38963 ;;
38964
38965 -*)
38966 echo "shared-ld: unhandled option '${D}1'"
38967 exit 1
38968 ;;
38969
38970 *.o | *.a | *.dylib)
38971 # collect object files
38972 objects="${D}{objects} ${D}1"
38973 ;;
38974
38975 *)
38976 echo "shared-ld: unhandled argument '${D}1'"
38977 exit 1
38978 ;;
38979
38980 esac
38981 shift
38982 done
38983
38984 #
38985 # Link one module containing all the others
38986 #
38987 if test ${D}{verbose} = 1; then
38988 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
38989 fi
38990 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
38991 status=${D}?
38992 if test ${D}{status} != 0; then
38993 exit ${D}{status}
38994 fi
38995
38996 #
38997 # Link the shared library from the single module created
38998 #
38999 if test ${D}{verbose} = 1; then
39000 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
39001 fi
39002 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
39003 status=${D}?
39004 if test ${D}{status} != 0; then
39005 exit ${D}{status}
39006 fi
39007
39008 #
39009 # Remove intermediate module
39010 #
39011 rm -f master.${D}${D}.o
39012
39013 exit 0
39014 EOF
39015
39016 chmod +x shared-ld-sh
39017
39018 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
39019 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
39020 SHARED_LD_CXX="$SHARED_LD_CC"
39021 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
39022 else
39023 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
39024 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
39025 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
39026 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
39027 fi
39028
39029 PIC_FLAG="-dynamic -fPIC"
39030 ;;
39031
39032 *-*-aix* )
39033 if test "x$GCC" != "xyes"; then
39034 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
39035 set dummy makeC++SharedLib; ac_word=$2
39036 echo "$as_me:$LINENO: checking for $ac_word" >&5
39037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39038 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
39039 echo $ECHO_N "(cached) $ECHO_C" >&6
39040 else
39041 if test -n "$AIX_CXX_LD"; then
39042 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
39043 else
39044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39045 for as_dir in $PATH
39046 do
39047 IFS=$as_save_IFS
39048 test -z "$as_dir" && as_dir=.
39049 for ac_exec_ext in '' $ac_executable_extensions; do
39050 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39051 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
39052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39053 break 2
39054 fi
39055 done
39056 done
39057
39058 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
39059 fi
39060 fi
39061 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
39062 if test -n "$AIX_CXX_LD"; then
39063 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
39064 echo "${ECHO_T}$AIX_CXX_LD" >&6
39065 else
39066 echo "$as_me:$LINENO: result: no" >&5
39067 echo "${ECHO_T}no" >&6
39068 fi
39069
39070 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
39071 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
39072 fi
39073 ;;
39074
39075 *-*-beos* )
39076 SHARED_LD_CC="${LD} -shared -o"
39077 SHARED_LD_CXX="${LD} -shared -o"
39078 ;;
39079
39080 *-*-irix* )
39081 if test "x$GCC" != "xyes"; then
39082 PIC_FLAG="-KPIC"
39083 fi
39084 ;;
39085
39086 *-*-cygwin* | *-*-mingw32* )
39087 PIC_FLAG=""
39088 ;;
39089
39090 *-pc-os2_emx | *-pc-os2-emx )
39091 SHARED_LD_CC="`pwd`/dllar.sh -o"
39092 SHARED_LD_CXX="`pwd`/dllar.sh -o"
39093 PIC_FLAG=""
39094
39095 D='$'
39096 cat <<EOF >dllar.sh
39097 #!/bin/sh
39098 #
39099 # dllar - a tool to build both a .dll and an .a file
39100 # from a set of object (.o) files for EMX/OS2.
39101 #
39102 # Written by Andrew Zabolotny, bit@freya.etu.ru
39103 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
39104 #
39105 # This script will accept a set of files on the command line.
39106 # All the public symbols from the .o files will be exported into
39107 # a .DEF file, then linker will be run (through gcc) against them to
39108 # build a shared library consisting of all given .o files. All libraries
39109 # (.a) will be first decompressed into component .o files then act as
39110 # described above. You can optionally give a description (-d "description")
39111 # which will be put into .DLL. To see the list of accepted options (as well
39112 # as command-line format) simply run this program without options. The .DLL
39113 # is built to be imported by name (there is no guarantee that new versions
39114 # of the library you build will have same ordinals for same symbols).
39115 #
39116 # dllar is free software; you can redistribute it and/or modify
39117 # it under the terms of the GNU General Public License as published by
39118 # the Free Software Foundation; either version 2, or (at your option)
39119 # any later version.
39120 #
39121 # dllar is distributed in the hope that it will be useful,
39122 # but WITHOUT ANY WARRANTY; without even the implied warranty of
39123 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
39124 # GNU General Public License for more details.
39125 #
39126 # You should have received a copy of the GNU General Public License
39127 # along with dllar; see the file COPYING. If not, write to the Free
39128 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
39129 # 02111-1307, USA.
39130
39131 # To successfuly run this program you will need:
39132 # - Current drive should have LFN support (HPFS, ext2, network, etc)
39133 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
39134 # - gcc
39135 # (used to build the .dll)
39136 # - emxexp
39137 # (used to create .def file from .o files)
39138 # - emximp
39139 # (used to create .a file from .def file)
39140 # - GNU text utilites (cat, sort, uniq)
39141 # used to process emxexp output
39142 # - GNU file utilities (mv, rm)
39143 # - GNU sed
39144 # - lxlite (optional, see flag below)
39145 # (used for general .dll cleanup)
39146 #
39147
39148 flag_USE_LXLITE=1;
39149
39150 #
39151 # helper functions
39152 # basnam, variant of basename, which does _not_ remove the path, _iff_
39153 # second argument (suffix to remove) is given
39154 basnam(){
39155 case ${D}# in
39156 1)
39157 echo ${D}1 | sed 's/.*\///' | sed 's/.*\\//'
39158 ;;
39159 2)
39160 echo ${D}1 | sed 's/'${D}2'${D}//'
39161 ;;
39162 *)
39163 echo "error in basnam ${D}*"
39164 exit 8
39165 ;;
39166 esac
39167 }
39168
39169 # Cleanup temporary files and output
39170 CleanUp() {
39171 cd ${D}curDir
39172 for i in ${D}inputFiles ; do
39173 case ${D}i in
39174 *!)
39175 rm -rf \`basnam ${D}i !\`
39176 ;;
39177 *)
39178 ;;
39179 esac
39180 done
39181
39182 # Kill result in case of failure as there is just to many stupid make/nmake
39183 # things out there which doesn't do this.
39184 if [] ${D}# -eq 0 []; then
39185 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
39186 fi
39187 }
39188
39189 # Print usage and exit script with rc=1.
39190 PrintHelp() {
39191 echo 'Usage: dllar []-o[[]utput[]] output_file[] []-i[[]mport[]] importlib_name[]'
39192 echo ' []-d[[]escription[]] "dll descrption"[] []-cc "CC"[] []-f[[]lags[]] "CFLAGS"[]'
39193 echo ' []-ord[[]inals[]][] -ex[]clude[] "symbol(s)"'
39194 echo ' []-libf[[]lags[]] "{INIT|TERM}{GLOBAL|INSTANCE}"[] []-nocrt[[]dll[]][] []-nolxl[[]ite[]][]'
39195 echo ' []*.o[] []*.a[]'
39196 echo '*> "output_file" should have no extension.'
39197 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
39198 echo ' The import library name is derived from this and is set to "name".a,'
39199 echo ' unless overridden by -import'
39200 echo '*> "importlib_name" should have no extension.'
39201 echo ' If it has the .o, or .a extension, it is automatically removed.'
39202 echo ' This name is used as the import library name and may be longer and'
39203 echo ' more descriptive than the DLL name which has to follow the old '
39204 echo ' 8.3 convention of FAT.'
39205 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
39206 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
39207 echo ' These flags will be put at the start of GCC command line.'
39208 echo '*> -ord[]inals[] tells dllar to export entries by ordinals. Be careful.'
39209 echo '*> -ex[]clude[] defines symbols which will not be exported. You can define'
39210 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
39211 echo ' If the last character of a symbol is "*", all symbols beginning'
39212 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
39213 echo '*> -libf[]lags[] can be used to add INITGLOBAL/INITINSTANCE and/or'
39214 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
39215 echo '*> -nocrt[]dll[] switch will disable linking the library against emx''s'
39216 echo ' C runtime DLLs.'
39217 echo '*> -nolxl[]ite[] switch will disable running lxlite on the resulting DLL.'
39218 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
39219 echo ' unchanged to GCC at the end of command line.'
39220 echo '*> If you create a DLL from a library and you do not specify -o,'
39221 echo ' the basename for DLL and import library will be set to library name,'
39222 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
39223 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
39224 echo ' library will be renamed into gcc_s.a.'
39225 echo '--------'
39226 echo 'Example:'
39227 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
39228 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
39229 CleanUp
39230 exit 1
39231 }
39232
39233 # Execute a command.
39234 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
39235 # @Uses Whatever CleanUp() uses.
39236 doCommand() {
39237 echo "${D}*"
39238 eval ${D}*
39239 rcCmd=${D}?
39240
39241 if [] ${D}rcCmd -ne 0 []; then
39242 echo "command failed, exit code="${D}rcCmd
39243 CleanUp
39244 exit ${D}rcCmd
39245 fi
39246 }
39247
39248 # main routine
39249 # setup globals
39250 cmdLine=${D}*
39251 outFile=""
39252 outimpFile=""
39253 inputFiles=""
39254 description=""
39255 CC=gcc.exe
39256 CFLAGS="-s -Zcrtdll"
39257 EXTRA_CFLAGS=""
39258 EXPORT_BY_ORDINALS=0
39259 exclude_symbols=""
39260 library_flags=""
39261 curDir=\`pwd\`
39262 curDirS=curDir
39263 case ${D}curDirS in
39264 */)
39265 ;;
39266 *)
39267 curDirS=${D}{curDirS}"/"
39268 ;;
39269 esac
39270 # Parse commandline
39271 libsToLink=0
39272 while [] ${D}1 []; do
39273 case ${D}1 in
39274 -ord*)
39275 EXPORT_BY_ORDINALS=1;
39276 ;;
39277 -o*)
39278 shift
39279 outFile=${D}1
39280 ;;
39281 -i*)
39282 shift
39283 outimpFile=${D}1
39284 ;;
39285 -d*)
39286 shift
39287 description=${D}1
39288 ;;
39289 -f*)
39290 shift
39291 CFLAGS=${D}1
39292 ;;
39293 -c*)
39294 shift
39295 CC=${D}1
39296 ;;
39297 -h*)
39298 PrintHelp
39299 ;;
39300 -ex*)
39301 shift
39302 exclude_symbols=${D}{exclude_symbols}${D}1" "
39303 ;;
39304 -libf*)
39305 shift
39306 library_flags=${D}{library_flags}${D}1" "
39307 ;;
39308 -nocrt*)
39309 CFLAGS="-s"
39310 ;;
39311 -nolxl*)
39312 flag_USE_LXLITE=0
39313 ;;
39314 -* | /*)
39315 case ${D}1 in
39316 -L* | -l*)
39317 libsToLink=1
39318 ;;
39319 *)
39320 ;;
39321 esac
39322 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39323 ;;
39324 *)
39325 found=0;
39326 if [] ${D}libsToLink -ne 0 []; then
39327 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39328 else
39329 for file in ${D}1 ; do
39330 if [] -f ${D}file []; then
39331 inputFiles="${D}{inputFiles} ${D}file"
39332 found=1
39333 fi
39334 done
39335 if [] ${D}found -eq 0 []; then
39336 echo "ERROR: No file(s) found: "${D}1
39337 exit 8
39338 fi
39339 fi
39340 ;;
39341 esac
39342 shift
39343 done # iterate cmdline words
39344
39345 #
39346 if [] -z "${D}inputFiles" []; then
39347 echo "dllar: no input files"
39348 PrintHelp
39349 fi
39350
39351 # Now extract all .o files from .a files
39352 newInputFiles=""
39353 for file in ${D}inputFiles ; do
39354 case ${D}file in
39355 *.a | *.lib)
39356 case ${D}file in
39357 *.a)
39358 suffix=".a"
39359 AR="ar"
39360 ;;
39361 *.lib)
39362 suffix=".lib"
39363 AR="emxomfar"
39364 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39365 ;;
39366 *)
39367 ;;
39368 esac
39369 dirname=\`basnam ${D}file ${D}suffix\`"_%"
39370 mkdir ${D}dirname
39371 if [] ${D}? -ne 0 []; then
39372 echo "Failed to create subdirectory ./${D}dirname"
39373 CleanUp
39374 exit 8;
39375 fi
39376 # Append '!' to indicate archive
39377 newInputFiles="${D}newInputFiles ${D}{dirname}!"
39378 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39379 cd ${D}curDir
39380 found=0;
39381 for subfile in ${D}dirname/*.o* ; do
39382 if [] -f ${D}subfile []; then
39383 found=1
39384 if [] -s ${D}subfile []; then
39385 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39386 newInputFiles="${D}newInputFiles ${D}subfile"
39387 fi
39388 fi
39389 done
39390 if [] ${D}found -eq 0 []; then
39391 echo "WARNING: there are no files in archive \'${D}file\'"
39392 fi
39393 ;;
39394 *)
39395 newInputFiles="${D}{newInputFiles} ${D}file"
39396 ;;
39397 esac
39398 done
39399 inputFiles="${D}newInputFiles"
39400
39401 # Output filename(s).
39402 do_backup=0;
39403 if [] -z ${D}outFile []; then
39404 do_backup=1;
39405 set outFile ${D}inputFiles; outFile=${D}2
39406 fi
39407
39408 # If it is an archive, remove the '!' and the '_%' suffixes
39409 case ${D}outFile in
39410 *_%!)
39411 outFile=\`basnam ${D}outFile _%!\`
39412 ;;
39413 *)
39414 ;;
39415 esac
39416 case ${D}outFile in
39417 *.dll)
39418 outFile=\`basnam ${D}outFile .dll\`
39419 ;;
39420 *.DLL)
39421 outFile=\`basnam ${D}outFile .DLL\`
39422 ;;
39423 *.o)
39424 outFile=\`basnam ${D}outFile .o\`
39425 ;;
39426 *.obj)
39427 outFile=\`basnam ${D}outFile .obj\`
39428 ;;
39429 *.a)
39430 outFile=\`basnam ${D}outFile .a\`
39431 ;;
39432 *.lib)
39433 outFile=\`basnam ${D}outFile .lib\`
39434 ;;
39435 *)
39436 ;;
39437 esac
39438 case ${D}outimpFile in
39439 *.a)
39440 outimpFile=\`basnam ${D}outimpFile .a\`
39441 ;;
39442 *.lib)
39443 outimpFile=\`basnam ${D}outimpFile .lib\`
39444 ;;
39445 *)
39446 ;;
39447 esac
39448 if [] -z ${D}outimpFile []; then
39449 outimpFile=${D}outFile
39450 fi
39451 defFile="${D}{outFile}.def"
39452 arcFile="${D}{outimpFile}.a"
39453 arcFile2="${D}{outimpFile}.lib"
39454 dllFile="${D}outFile"
39455 # Add suffix to dllFile later, first we need a version to use as
39456 # name in .def file.
39457
39458 if [] ${D}do_backup -ne 0 [] ; then
39459 if [] -f ${D}arcFile [] ; then
39460 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39461 fi
39462 if [] -f ${D}arcFile2 [] ; then
39463 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39464 fi
39465 fi
39466
39467 # Extract public symbols from all the object files.
39468 tmpdefFile=${D}{defFile}_%
39469 rm -f ${D}tmpdefFile
39470 for file in ${D}inputFiles ; do
39471 case ${D}file in
39472 *!)
39473 ;;
39474 *)
39475 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39476 ;;
39477 esac
39478 done
39479
39480 # Create the def file.
39481 rm -f ${D}defFile
39482 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39483 dllFile="${D}dllFile.dll"
39484 if [] -n ${D}description []; then
39485 echo "DESCRIPTION \"${D}{description}\"" >> ${D}defFile
39486 fi
39487 echo "EXPORTS" >> ${D}defFile
39488
39489 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39490 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39491
39492 # Checks if the export is ok or not.
39493 for word in ${D}exclude_symbols; do
39494 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39495 mv ${D}{tmpdefFile}% ${D}tmpdefFile
39496 done
39497
39498
39499 if [] ${D}EXPORT_BY_ORDINALS -ne 0 []; then
39500 sed "=" < ${D}tmpdefFile | \
39501 sed '
39502 N
39503 : loop
39504 s/^\([]0-9[]\+\)\([]^;[]*\)\(;.*\)\?/\2 @\1 NONAME/
39505 t loop
39506 ' > ${D}{tmpdefFile}%
39507 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39508 else
39509 rm -f ${D}{tmpdefFile}%
39510 fi
39511 cat ${D}tmpdefFile >> ${D}defFile
39512 rm -f ${D}tmpdefFile
39513
39514 # Do linking, create implib, and apply lxlite.
39515 gccCmdl="";
39516 for file in ${D}inputFiles ; do
39517 case ${D}file in
39518 *!)
39519 ;;
39520 *)
39521 gccCmdl="${D}gccCmdl ${D}file"
39522 ;;
39523 esac
39524 done
39525 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39526 touch "${D}{outFile}.dll"
39527
39528 doCommand "emximp -o ${D}arcFile ${D}defFile"
39529 if [] ${D}flag_USE_LXLITE -ne 0 []; then
39530 add_flags="";
39531 if [] ${D}EXPORT_BY_ORDINALS -ne 0 []; then
39532 add_flags="-ynd"
39533 fi
39534 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39535 fi
39536 doCommand "emxomf -s -l ${D}arcFile"
39537
39538 # Successful exit.
39539 CleanUp 1
39540 exit 0
39541 EOF
39542
39543 chmod +x dllar.sh
39544 ;;
39545
39546 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39547 *-*-sunos4* | \
39548 *-*-osf* | \
39549 *-*-dgux5* | \
39550 *-*-sysv5* )
39551 ;;
39552
39553 *)
39554 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
39555 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
39556 { (exit 1); exit 1; }; }
39557 esac
39558
39559 if test "x$PIC_FLAG" != "x" ; then
39560 PIC_FLAG="$PIC_FLAG -DPIC"
39561 fi
39562
39563 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39564 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
39565 fi
39566 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39567 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
39568 fi
39569
39570
39571
39572
39573
39574
39575
39576
39577 USE_SOVERSION=0
39578 USE_SOVERLINUX=0
39579 USE_SOVERSOLARIS=0
39580 USE_SOSYMLINKS=0
39581 USE_MACVERSION=0
39582 SONAME_FLAG=
39583
39584 case "${BAKEFILE_HOST}" in
39585 *-*-linux* )
39586 SONAME_FLAG="-Wl,-soname,"
39587 USE_SOVERSION=1
39588 USE_SOVERLINUX=1
39589 USE_SOSYMLINKS=1
39590 ;;
39591
39592 *-*-solaris2* )
39593 SONAME_FLAG="-h "
39594 USE_SOVERSION=1
39595 USE_SOVERSOLARIS=1
39596 USE_SOSYMLINKS=1
39597 ;;
39598
39599 *-*-darwin* )
39600 USE_MACVERSION=1
39601 USE_SOVERSION=1
39602 USE_SOSYMLINKS=1
39603 ;;
39604 esac
39605
39606
39607
39608
39609
39610
39611
39612
39613
39614 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
39615 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
39616 DEPS_TRACKING=0
39617
39618 if test "x$GCC" = "xyes"; then
39619 DEPSMODE=gcc
39620 DEPS_TRACKING=1
39621 case "${BAKEFILE_HOST}" in
39622 powerpc-*-darwin* )
39623 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
39624 ;;
39625 * )
39626 DEPSFLAG_GCC="-MMD"
39627 ;;
39628 esac
39629 echo "$as_me:$LINENO: result: gcc" >&5
39630 echo "${ECHO_T}gcc" >&6
39631 else
39632 echo "$as_me:$LINENO: result: none" >&5
39633 echo "${ECHO_T}none" >&6
39634 fi
39635
39636 if test $DEPS_TRACKING = 1 ; then
39637
39638 D='$'
39639 cat <<EOF >bk-deps
39640 #!/bin/sh
39641
39642 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39643 # script. It is used to track C/C++ files dependencies in portable way.
39644 #
39645 # Permission is given to use this file in any way.
39646
39647 DEPSMODE=${DEPSMODE}
39648 DEPSDIR=.deps
39649 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
39650
39651 mkdir -p ${D}DEPSDIR
39652
39653 if test ${D}DEPSMODE = gcc ; then
39654 ${D}* ${D}{DEPSFLAG_GCC}
39655 status=${D}?
39656 if test ${D}{status} != 0 ; then
39657 exit ${D}{status}
39658 fi
39659 # move created file to the location we want it in:
39660 while test ${D}# -gt 0; do
39661 case "${D}1" in
39662 -o )
39663 shift
39664 objfile=${D}1
39665 ;;
39666 -* )
39667 ;;
39668 * )
39669 srcfile=${D}1
39670 ;;
39671 esac
39672 shift
39673 done
39674 depfile=\`basename ${D}srcfile | sed -e 's/\..*${D}/.d/g'\`
39675 depobjname=\`echo ${D}depfile |sed -e 's/\.d/.o/g'\`
39676 if test -f ${D}depfile ; then
39677 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39678 rm -f ${D}depfile
39679 else
39680 depfile=\`basename ${D}objfile | sed -e 's/\..*${D}/.d/g'\`
39681 if test -f ${D}depfile ; then
39682 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39683 rm -f ${D}depfile
39684 fi
39685 fi
39686 exit 0
39687 else
39688 ${D}*
39689 exit ${D}?
39690 fi
39691 EOF
39692
39693 chmod +x bk-deps
39694 fi
39695
39696
39697
39698
39699 RESCOMP=
39700 SETFILE=
39701
39702 case ${BAKEFILE_HOST} in
39703 *-*-cygwin* | *-*-mingw32* )
39704 if test "$build" != "$host" ; then
39705 RESCOMP=$host_alias-windres
39706 else
39707 # Extract the first word of "windres", so it can be a program name with args.
39708 set dummy windres; ac_word=$2
39709 echo "$as_me:$LINENO: checking for $ac_word" >&5
39710 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39711 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39712 echo $ECHO_N "(cached) $ECHO_C" >&6
39713 else
39714 if test -n "$RESCOMP"; then
39715 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
39716 else
39717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39718 for as_dir in $PATH
39719 do
39720 IFS=$as_save_IFS
39721 test -z "$as_dir" && as_dir=.
39722 for ac_exec_ext in '' $ac_executable_extensions; do
39723 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39724 ac_cv_prog_RESCOMP="windres"
39725 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39726 break 2
39727 fi
39728 done
39729 done
39730
39731 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
39732 fi
39733 fi
39734 RESCOMP=$ac_cv_prog_RESCOMP
39735 if test -n "$RESCOMP"; then
39736 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39737 echo "${ECHO_T}$RESCOMP" >&6
39738 else
39739 echo "$as_me:$LINENO: result: no" >&5
39740 echo "${ECHO_T}no" >&6
39741 fi
39742
39743 fi
39744 ;;
39745
39746 *-*-darwin* )
39747 # Extract the first word of "Rez", so it can be a program name with args.
39748 set dummy Rez; ac_word=$2
39749 echo "$as_me:$LINENO: checking for $ac_word" >&5
39750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39751 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39752 echo $ECHO_N "(cached) $ECHO_C" >&6
39753 else
39754 if test -n "$RESCOMP"; then
39755 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
39756 else
39757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39758 for as_dir in $PATH
39759 do
39760 IFS=$as_save_IFS
39761 test -z "$as_dir" && as_dir=.
39762 for ac_exec_ext in '' $ac_executable_extensions; do
39763 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39764 ac_cv_prog_RESCOMP="Rez"
39765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39766 break 2
39767 fi
39768 done
39769 done
39770
39771 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
39772 fi
39773 fi
39774 RESCOMP=$ac_cv_prog_RESCOMP
39775 if test -n "$RESCOMP"; then
39776 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39777 echo "${ECHO_T}$RESCOMP" >&6
39778 else
39779 echo "$as_me:$LINENO: result: no" >&5
39780 echo "${ECHO_T}no" >&6
39781 fi
39782
39783 # Extract the first word of "SetFile", so it can be a program name with args.
39784 set dummy SetFile; ac_word=$2
39785 echo "$as_me:$LINENO: checking for $ac_word" >&5
39786 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39787 if test "${ac_cv_prog_SETFILE+set}" = set; then
39788 echo $ECHO_N "(cached) $ECHO_C" >&6
39789 else
39790 if test -n "$SETFILE"; then
39791 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
39792 else
39793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39794 for as_dir in $PATH
39795 do
39796 IFS=$as_save_IFS
39797 test -z "$as_dir" && as_dir=.
39798 for ac_exec_ext in '' $ac_executable_extensions; do
39799 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39800 ac_cv_prog_SETFILE="SetFile"
39801 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39802 break 2
39803 fi
39804 done
39805 done
39806
39807 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
39808 fi
39809 fi
39810 SETFILE=$ac_cv_prog_SETFILE
39811 if test -n "$SETFILE"; then
39812 echo "$as_me:$LINENO: result: $SETFILE" >&5
39813 echo "${ECHO_T}$SETFILE" >&6
39814 else
39815 echo "$as_me:$LINENO: result: no" >&5
39816 echo "${ECHO_T}no" >&6
39817 fi
39818
39819 ;;
39820 esac
39821
39822
39823
39824
39825
39826 BAKEFILE_BAKEFILE_M4_VERSION="0.1.4"
39827
39828
39829
39830
39831
39832 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.1.4"
39833
39834
39835
39836 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39837 if test "${enable_precomp_headers+set}" = set; then
39838 enableval="$enable_precomp_headers"
39839 bk_use_pch="$enableval"
39840 fi;
39841
39842 GCC_PCH=0
39843
39844 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39845 if test "x$GCC" = "xyes"; then
39846 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39847 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39848 cat >conftest.$ac_ext <<_ACEOF
39849 /* confdefs.h. */
39850 _ACEOF
39851 cat confdefs.h >>conftest.$ac_ext
39852 cat >>conftest.$ac_ext <<_ACEOF
39853 /* end confdefs.h. */
39854
39855 int
39856 main ()
39857 {
39858
39859 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39860 #error "no pch support"
39861 #endif
39862 #if (__GNUC__ < 3)
39863 #error "no pch support"
39864 #endif
39865 #if (__GNUC__ == 3) && \
39866 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39867 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39868 #error "no pch support"
39869 #endif
39870
39871 ;
39872 return 0;
39873 }
39874 _ACEOF
39875 rm -f conftest.$ac_objext
39876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39877 (eval $ac_compile) 2>conftest.er1
39878 ac_status=$?
39879 grep -v '^ *+' conftest.er1 >conftest.err
39880 rm -f conftest.er1
39881 cat conftest.err >&5
39882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39883 (exit $ac_status); } &&
39884 { ac_try='test -z "$ac_c_werror_flag"
39885 || test ! -s conftest.err'
39886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39887 (eval $ac_try) 2>&5
39888 ac_status=$?
39889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39890 (exit $ac_status); }; } &&
39891 { ac_try='test -s conftest.$ac_objext'
39892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39893 (eval $ac_try) 2>&5
39894 ac_status=$?
39895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39896 (exit $ac_status); }; }; then
39897
39898 echo "$as_me:$LINENO: result: yes" >&5
39899 echo "${ECHO_T}yes" >&6
39900 GCC_PCH=1
39901
39902 else
39903 echo "$as_me: failed program was:" >&5
39904 sed 's/^/| /' conftest.$ac_ext >&5
39905
39906
39907 echo "$as_me:$LINENO: result: no" >&5
39908 echo "${ECHO_T}no" >&6
39909
39910 fi
39911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39912 if test $GCC_PCH = 1 ; then
39913 cat <<EOF >bk-make-pch
39914 #!/bin/sh
39915
39916 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39917 # script. It is used to generated precompiled headers.
39918 #
39919 # Permission is given to use this file in any way.
39920
39921 outfile="\${1}"
39922 header="\${2}"
39923 shift
39924 shift
39925
39926 compiler=
39927 headerfile=
39928 while test \${#} -gt 0; do
39929 case "\${1}" in
39930 -I* )
39931 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
39932 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
39933 headerfile="\${incdir}/\${header}"
39934 fi
39935 ;;
39936 esac
39937 compiler="\${compiler} \${1}"
39938 shift
39939 done
39940
39941 if test "x\${headerfile}" = "x" ; then
39942 echo "error: can't find header \${header} in include paths" >2
39943 else
39944 if test -f \${outfile} ; then
39945 rm -f \${outfile}
39946 else
39947 mkdir -p \`dirname \${outfile}\`
39948 fi
39949 depsfile=".deps/\`basename \${outfile}\`.d"
39950 mkdir -p .deps
39951 # can do this because gcc is >= 3.4:
39952 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
39953 exit \${?}
39954 fi
39955 EOF
39956 chmod +x bk-make-pch
39957 fi
39958 fi
39959 fi
39960
39961
39962
39963
39964
39965
39966
39967 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39968 if test "${enable_precomp_headers+set}" = set; then
39969 enableval="$enable_precomp_headers"
39970 bk_use_pch="$enableval"
39971 fi;
39972
39973 GCC_PCH=0
39974
39975 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39976 if test "x$GCC" = "xyes"; then
39977 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39978 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39979 cat >conftest.$ac_ext <<_ACEOF
39980 /* confdefs.h. */
39981 _ACEOF
39982 cat confdefs.h >>conftest.$ac_ext
39983 cat >>conftest.$ac_ext <<_ACEOF
39984 /* end confdefs.h. */
39985
39986 int
39987 main ()
39988 {
39989
39990 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39991 #error "no pch support"
39992 #endif
39993 #if (__GNUC__ < 3)
39994 #error "no pch support"
39995 #endif
39996 #if (__GNUC__ == 3) && \
39997 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39998 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39999 #error "no pch support"
40000 #endif
40001
40002 ;
40003 return 0;
40004 }
40005 _ACEOF
40006 rm -f conftest.$ac_objext
40007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40008 (eval $ac_compile) 2>conftest.er1
40009 ac_status=$?
40010 grep -v '^ *+' conftest.er1 >conftest.err
40011 rm -f conftest.er1
40012 cat conftest.err >&5
40013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40014 (exit $ac_status); } &&
40015 { ac_try='test -z "$ac_c_werror_flag"
40016 || test ! -s conftest.err'
40017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40018 (eval $ac_try) 2>&5
40019 ac_status=$?
40020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40021 (exit $ac_status); }; } &&
40022 { ac_try='test -s conftest.$ac_objext'
40023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40024 (eval $ac_try) 2>&5
40025 ac_status=$?
40026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40027 (exit $ac_status); }; }; then
40028
40029 echo "$as_me:$LINENO: result: yes" >&5
40030 echo "${ECHO_T}yes" >&6
40031 GCC_PCH=1
40032
40033 else
40034 echo "$as_me: failed program was:" >&5
40035 sed 's/^/| /' conftest.$ac_ext >&5
40036
40037
40038 echo "$as_me:$LINENO: result: no" >&5
40039 echo "${ECHO_T}no" >&6
40040
40041 fi
40042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40043 if test $GCC_PCH = 1 ; then
40044 cat <<EOF >bk-make-pch
40045 #!/bin/sh
40046
40047 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
40048 # script. It is used to generated precompiled headers.
40049 #
40050 # Permission is given to use this file in any way.
40051
40052 outfile="\${1}"
40053 header="\${2}"
40054 shift
40055 shift
40056
40057 compiler=
40058 headerfile=
40059 while test \${#} -gt 0; do
40060 case "\${1}" in
40061 -I* )
40062 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
40063 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
40064 headerfile="\${incdir}/\${header}"
40065 fi
40066 ;;
40067 esac
40068 compiler="\${compiler} \${1}"
40069 shift
40070 done
40071
40072 if test "x\${headerfile}" = "x" ; then
40073 echo "error: can't find header \${header} in include paths" >2
40074 else
40075 if test -f \${outfile} ; then
40076 rm -f \${outfile}
40077 else
40078 mkdir -p \`dirname \${outfile}\`
40079 fi
40080 depsfile=".deps/\`basename \${outfile}\`.d"
40081 mkdir -p .deps
40082 # can do this because gcc is >= 3.4:
40083 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
40084 exit \${?}
40085 fi
40086 EOF
40087 chmod +x bk-make-pch
40088 fi
40089 fi
40090 fi
40091
40092
40093
40094 COND_BUILD_DEBUG="#"
40095 if test "x$BUILD" = "xdebug" ; then
40096 COND_BUILD_DEBUG=""
40097 fi
40098
40099 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
40100 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40101 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
40102 fi
40103
40104 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
40105 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40106 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
40107 fi
40108
40109 COND_BUILD_DEBUG_UNICODE_0="#"
40110 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40111 COND_BUILD_DEBUG_UNICODE_0=""
40112 fi
40113
40114 COND_BUILD_DEBUG_UNICODE_1="#"
40115 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40116 COND_BUILD_DEBUG_UNICODE_1=""
40117 fi
40118
40119 COND_BUILD_RELEASE="#"
40120 if test "x$BUILD" = "xrelease" ; then
40121 COND_BUILD_RELEASE=""
40122 fi
40123
40124 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
40125 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40126 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
40127 fi
40128
40129 COND_BUILD_RELEASE_UNICODE_0="#"
40130 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40131 COND_BUILD_RELEASE_UNICODE_0=""
40132 fi
40133
40134 COND_BUILD_RELEASE_UNICODE_1="#"
40135 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40136 COND_BUILD_RELEASE_UNICODE_1=""
40137 fi
40138
40139 COND_DEBUG_FLAG_1="#"
40140 if test "x$DEBUG_FLAG" = "x1" ; then
40141 COND_DEBUG_FLAG_1=""
40142 fi
40143
40144 COND_DEBUG_INFO_0="#"
40145 if test "x$DEBUG_INFO" = "x0" ; then
40146 COND_DEBUG_INFO_0=""
40147 fi
40148
40149 COND_DEBUG_INFO_1="#"
40150 if test "x$DEBUG_INFO" = "x1" ; then
40151 COND_DEBUG_INFO_1=""
40152 fi
40153
40154 COND_DEPS_TRACKING_0="#"
40155 if test "x$DEPS_TRACKING" = "x0" ; then
40156 COND_DEPS_TRACKING_0=""
40157 fi
40158
40159 COND_DEPS_TRACKING_1="#"
40160 if test "x$DEPS_TRACKING" = "x1" ; then
40161 COND_DEPS_TRACKING_1=""
40162 fi
40163
40164 COND_GCC_PCH_1="#"
40165 if test "x$GCC_PCH" = "x1" ; then
40166 COND_GCC_PCH_1=""
40167 fi
40168
40169 COND_MONOLITHIC_0="#"
40170 if test "x$MONOLITHIC" = "x0" ; then
40171 COND_MONOLITHIC_0=""
40172 fi
40173
40174 COND_MONOLITHIC_0_SHARED_0="#"
40175 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40176 COND_MONOLITHIC_0_SHARED_0=""
40177 fi
40178
40179 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
40180 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40181 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
40182 fi
40183
40184 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
40185 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40186 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
40187 fi
40188
40189 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
40190 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
40191 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
40192 fi
40193
40194 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
40195 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
40196 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
40197 fi
40198
40199 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
40200 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40201 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
40202 fi
40203
40204 COND_MONOLITHIC_0_SHARED_1="#"
40205 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40206 COND_MONOLITHIC_0_SHARED_1=""
40207 fi
40208
40209 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
40210 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40211 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
40212 fi
40213
40214 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
40215 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40216 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
40217 fi
40218
40219 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
40220 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
40221 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
40222 fi
40223
40224 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
40225 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
40226 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
40227 fi
40228
40229 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
40230 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40231 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
40232 fi
40233
40234 COND_MONOLITHIC_0_USE_ODBC_1="#"
40235 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
40236 COND_MONOLITHIC_0_USE_ODBC_1=""
40237 fi
40238
40239 COND_MONOLITHIC_1="#"
40240 if test "x$MONOLITHIC" = "x1" ; then
40241 COND_MONOLITHIC_1=""
40242 fi
40243
40244 COND_MONOLITHIC_1_SHARED_0="#"
40245 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40246 COND_MONOLITHIC_1_SHARED_0=""
40247 fi
40248
40249 COND_MONOLITHIC_1_SHARED_1="#"
40250 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40251 COND_MONOLITHIC_1_SHARED_1=""
40252 fi
40253
40254 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
40255 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40256 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
40257 fi
40258
40259 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
40260 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40261 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
40262 fi
40263
40264 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
40265 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40266 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
40267 fi
40268
40269 COND_PLATFORM_MACOSX_1="#"
40270 if test "x$PLATFORM_MACOSX" = "x1" ; then
40271 COND_PLATFORM_MACOSX_1=""
40272 fi
40273
40274 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
40275 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
40276 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
40277 fi
40278
40279 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
40280 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
40281 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
40282 fi
40283
40284 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
40285 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
40286 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
40287 fi
40288
40289 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
40290 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
40291 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
40292 fi
40293
40294 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
40295 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
40296 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
40297 fi
40298
40299 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
40300 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
40301 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
40302 fi
40303
40304 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
40305 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40306 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
40307 fi
40308
40309 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
40310 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40311 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
40312 fi
40313
40314 COND_PLATFORM_MACOS_1="#"
40315 if test "x$PLATFORM_MACOS" = "x1" ; then
40316 COND_PLATFORM_MACOS_1=""
40317 fi
40318
40319 COND_PLATFORM_MAC_1="#"
40320 if test "x$PLATFORM_MAC" = "x1" ; then
40321 COND_PLATFORM_MAC_1=""
40322 fi
40323
40324 COND_PLATFORM_OS2_1="#"
40325 if test "x$PLATFORM_OS2" = "x1" ; then
40326 COND_PLATFORM_OS2_1=""
40327 fi
40328
40329 COND_PLATFORM_UNIX_0="#"
40330 if test "x$PLATFORM_UNIX" = "x0" ; then
40331 COND_PLATFORM_UNIX_0=""
40332 fi
40333
40334 COND_PLATFORM_UNIX_1="#"
40335 if test "x$PLATFORM_UNIX" = "x1" ; then
40336 COND_PLATFORM_UNIX_1=""
40337 fi
40338
40339 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
40340 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40341 COND_PLATFORM_UNIX_1_USE_GUI_1=""
40342 fi
40343
40344 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
40345 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40346 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
40347 fi
40348
40349 COND_PLATFORM_WIN32_0="#"
40350 if test "x$PLATFORM_WIN32" = "x0" ; then
40351 COND_PLATFORM_WIN32_0=""
40352 fi
40353
40354 COND_PLATFORM_WIN32_1="#"
40355 if test "x$PLATFORM_WIN32" = "x1" ; then
40356 COND_PLATFORM_WIN32_1=""
40357 fi
40358
40359 COND_SHARED_0="#"
40360 if test "x$SHARED" = "x0" ; then
40361 COND_SHARED_0=""
40362 fi
40363
40364 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
40365 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40366 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
40367 fi
40368
40369 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
40370 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40371 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
40372 fi
40373
40374 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
40375 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40376 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
40377 fi
40378
40379 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
40380 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40381 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
40382 fi
40383
40384 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
40385 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40386 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
40387 fi
40388
40389 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
40390 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40391 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
40392 fi
40393
40394 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
40395 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40396 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
40397 fi
40398
40399 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
40400 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40401 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
40402 fi
40403
40404 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
40405 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
40406 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
40407 fi
40408
40409 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
40410 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40411 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
40412 fi
40413
40414 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
40415 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40416 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
40417 fi
40418
40419 COND_SHARED_1="#"
40420 if test "x$SHARED" = "x1" ; then
40421 COND_SHARED_1=""
40422 fi
40423
40424 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
40425 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40426 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
40427 fi
40428
40429 COND_TOOLKIT_="#"
40430 if test "x$TOOLKIT" = "x" ; then
40431 COND_TOOLKIT_=""
40432 fi
40433
40434 COND_TOOLKIT_COCOA="#"
40435 if test "x$TOOLKIT" = "xCOCOA" ; then
40436 COND_TOOLKIT_COCOA=""
40437 fi
40438
40439 COND_TOOLKIT_COCOA_USE_GUI_1="#"
40440 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40441 COND_TOOLKIT_COCOA_USE_GUI_1=""
40442 fi
40443
40444 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
40445 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40446 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
40447 fi
40448
40449 COND_TOOLKIT_GTK="#"
40450 if test "x$TOOLKIT" = "xGTK" ; then
40451 COND_TOOLKIT_GTK=""
40452 fi
40453
40454 COND_TOOLKIT_GTK_USE_GUI_1="#"
40455 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40456 COND_TOOLKIT_GTK_USE_GUI_1=""
40457 fi
40458
40459 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
40460 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40461 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
40462 fi
40463
40464 COND_TOOLKIT_MAC="#"
40465 if test "x$TOOLKIT" = "xMAC" ; then
40466 COND_TOOLKIT_MAC=""
40467 fi
40468
40469 COND_TOOLKIT_MAC_USE_GUI_1="#"
40470 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40471 COND_TOOLKIT_MAC_USE_GUI_1=""
40472 fi
40473
40474 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
40475 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40476 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
40477 fi
40478
40479 COND_TOOLKIT_MGL="#"
40480 if test "x$TOOLKIT" = "xMGL" ; then
40481 COND_TOOLKIT_MGL=""
40482 fi
40483
40484 COND_TOOLKIT_MGL_USE_GUI_1="#"
40485 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
40486 COND_TOOLKIT_MGL_USE_GUI_1=""
40487 fi
40488
40489 COND_TOOLKIT_MOTIF="#"
40490 if test "x$TOOLKIT" = "xMOTIF" ; then
40491 COND_TOOLKIT_MOTIF=""
40492 fi
40493
40494 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
40495 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40496 COND_TOOLKIT_MOTIF_USE_GUI_1=""
40497 fi
40498
40499 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
40500 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40501 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
40502 fi
40503
40504 COND_TOOLKIT_MSW="#"
40505 if test "x$TOOLKIT" = "xMSW" ; then
40506 COND_TOOLKIT_MSW=""
40507 fi
40508
40509 COND_TOOLKIT_MSW_USE_GUI_1="#"
40510 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40511 COND_TOOLKIT_MSW_USE_GUI_1=""
40512 fi
40513
40514 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
40515 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40516 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
40517 fi
40518
40519 COND_TOOLKIT_PM="#"
40520 if test "x$TOOLKIT" = "xPM" ; then
40521 COND_TOOLKIT_PM=""
40522 fi
40523
40524 COND_TOOLKIT_PM_USE_GUI_1="#"
40525 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40526 COND_TOOLKIT_PM_USE_GUI_1=""
40527 fi
40528
40529 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
40530 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40531 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
40532 fi
40533
40534 COND_TOOLKIT_WINCE="#"
40535 if test "x$TOOLKIT" = "xWINCE" ; then
40536 COND_TOOLKIT_WINCE=""
40537 fi
40538
40539 COND_TOOLKIT_WINCE_USE_GUI_1="#"
40540 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40541 COND_TOOLKIT_WINCE_USE_GUI_1=""
40542 fi
40543
40544 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
40545 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40546 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
40547 fi
40548
40549 COND_TOOLKIT_X11="#"
40550 if test "x$TOOLKIT" = "xX11" ; then
40551 COND_TOOLKIT_X11=""
40552 fi
40553
40554 COND_TOOLKIT_X11_USE_GUI_1="#"
40555 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40556 COND_TOOLKIT_X11_USE_GUI_1=""
40557 fi
40558
40559 COND_UNICODE_1="#"
40560 if test "x$UNICODE" = "x1" ; then
40561 COND_UNICODE_1=""
40562 fi
40563
40564 COND_USE_EXCEPTIONS_0="#"
40565 if test "x$USE_EXCEPTIONS" = "x0" ; then
40566 COND_USE_EXCEPTIONS_0=""
40567 fi
40568
40569 COND_USE_EXCEPTIONS_1="#"
40570 if test "x$USE_EXCEPTIONS" = "x1" ; then
40571 COND_USE_EXCEPTIONS_1=""
40572 fi
40573
40574 COND_USE_GUI_0="#"
40575 if test "x$USE_GUI" = "x0" ; then
40576 COND_USE_GUI_0=""
40577 fi
40578
40579 COND_USE_GUI_1="#"
40580 if test "x$USE_GUI" = "x1" ; then
40581 COND_USE_GUI_1=""
40582 fi
40583
40584 COND_USE_GUI_1_WXUNIV_0="#"
40585 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40586 COND_USE_GUI_1_WXUNIV_0=""
40587 fi
40588
40589 COND_USE_GUI_1_WXUNIV_1="#"
40590 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40591 COND_USE_GUI_1_WXUNIV_1=""
40592 fi
40593
40594 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
40595 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40596 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
40597 fi
40598
40599 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
40600 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40601 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
40602 fi
40603
40604 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
40605 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40606 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
40607 fi
40608
40609 COND_USE_ODBC_1="#"
40610 if test "x$USE_ODBC" = "x1" ; then
40611 COND_USE_ODBC_1=""
40612 fi
40613
40614 COND_USE_OPENGL_1="#"
40615 if test "x$USE_OPENGL" = "x1" ; then
40616 COND_USE_OPENGL_1=""
40617 fi
40618
40619 COND_USE_PLUGINS_0="#"
40620 if test "x$USE_PLUGINS" = "x0" ; then
40621 COND_USE_PLUGINS_0=""
40622 fi
40623
40624 COND_USE_SOSYMLINKS_1="#"
40625 if test "x$USE_SOSYMLINKS" = "x1" ; then
40626 COND_USE_SOSYMLINKS_1=""
40627 fi
40628
40629 COND_USE_SOVERLINUX_1="#"
40630 if test "x$USE_SOVERLINUX" = "x1" ; then
40631 COND_USE_SOVERLINUX_1=""
40632 fi
40633
40634 COND_USE_SOVERSION_0="#"
40635 if test "x$USE_SOVERSION" = "x0" ; then
40636 COND_USE_SOVERSION_0=""
40637 fi
40638
40639 COND_USE_SOVERSOLARIS_1="#"
40640 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40641 COND_USE_SOVERSOLARIS_1=""
40642 fi
40643
40644 COND_USE_XRC_1="#"
40645 if test "x$USE_XRC" = "x1" ; then
40646 COND_USE_XRC_1=""
40647 fi
40648
40649 COND_WITH_PLUGIN_SDL_1="#"
40650 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40651 COND_WITH_PLUGIN_SDL_1=""
40652 fi
40653
40654 COND_WXUNIV_1="#"
40655 if test "x$WXUNIV" = "x1" ; then
40656 COND_WXUNIV_1=""
40657 fi
40658
40659 COND_WXUSE_EXPAT_BUILTIN="#"
40660 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40661 COND_WXUSE_EXPAT_BUILTIN=""
40662 fi
40663
40664 COND_WXUSE_LIBJPEG_BUILTIN="#"
40665 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40666 COND_WXUSE_LIBJPEG_BUILTIN=""
40667 fi
40668
40669 COND_WXUSE_LIBPNG_BUILTIN="#"
40670 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40671 COND_WXUSE_LIBPNG_BUILTIN=""
40672 fi
40673
40674 COND_WXUSE_LIBTIFF_BUILTIN="#"
40675 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40676 COND_WXUSE_LIBTIFF_BUILTIN=""
40677 fi
40678
40679 COND_WXUSE_ODBC_BUILTIN="#"
40680 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
40681 COND_WXUSE_ODBC_BUILTIN=""
40682 fi
40683
40684 COND_WXUSE_REGEX_BUILTIN="#"
40685 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40686 COND_WXUSE_REGEX_BUILTIN=""
40687 fi
40688
40689 COND_WXUSE_ZLIB_BUILTIN="#"
40690 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40691 COND_WXUSE_ZLIB_BUILTIN=""
40692 fi
40693
40694 COND_BUILD_DEBUG="#"
40695 if test "x$BUILD" = "xdebug" ; then
40696 COND_BUILD_DEBUG=""
40697 fi
40698
40699 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
40700 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40701 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
40702 fi
40703
40704 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
40705 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40706 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
40707 fi
40708
40709 COND_BUILD_DEBUG_UNICODE_0="#"
40710 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40711 COND_BUILD_DEBUG_UNICODE_0=""
40712 fi
40713
40714 COND_BUILD_DEBUG_UNICODE_1="#"
40715 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40716 COND_BUILD_DEBUG_UNICODE_1=""
40717 fi
40718
40719 COND_BUILD_RELEASE="#"
40720 if test "x$BUILD" = "xrelease" ; then
40721 COND_BUILD_RELEASE=""
40722 fi
40723
40724 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
40725 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40726 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
40727 fi
40728
40729 COND_BUILD_RELEASE_UNICODE_0="#"
40730 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40731 COND_BUILD_RELEASE_UNICODE_0=""
40732 fi
40733
40734 COND_BUILD_RELEASE_UNICODE_1="#"
40735 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40736 COND_BUILD_RELEASE_UNICODE_1=""
40737 fi
40738
40739 COND_DEBUG_FLAG_1="#"
40740 if test "x$DEBUG_FLAG" = "x1" ; then
40741 COND_DEBUG_FLAG_1=""
40742 fi
40743
40744 COND_DEBUG_INFO_0="#"
40745 if test "x$DEBUG_INFO" = "x0" ; then
40746 COND_DEBUG_INFO_0=""
40747 fi
40748
40749 COND_DEBUG_INFO_1="#"
40750 if test "x$DEBUG_INFO" = "x1" ; then
40751 COND_DEBUG_INFO_1=""
40752 fi
40753
40754 COND_DEPS_TRACKING_0="#"
40755 if test "x$DEPS_TRACKING" = "x0" ; then
40756 COND_DEPS_TRACKING_0=""
40757 fi
40758
40759 COND_DEPS_TRACKING_1="#"
40760 if test "x$DEPS_TRACKING" = "x1" ; then
40761 COND_DEPS_TRACKING_1=""
40762 fi
40763
40764 COND_GCC_PCH_1="#"
40765 if test "x$GCC_PCH" = "x1" ; then
40766 COND_GCC_PCH_1=""
40767 fi
40768
40769 COND_MONOLITHIC_0="#"
40770 if test "x$MONOLITHIC" = "x0" ; then
40771 COND_MONOLITHIC_0=""
40772 fi
40773
40774 COND_MONOLITHIC_0_SHARED_0="#"
40775 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40776 COND_MONOLITHIC_0_SHARED_0=""
40777 fi
40778
40779 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
40780 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40781 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
40782 fi
40783
40784 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
40785 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40786 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
40787 fi
40788
40789 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
40790 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
40791 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
40792 fi
40793
40794 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
40795 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
40796 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
40797 fi
40798
40799 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
40800 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40801 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
40802 fi
40803
40804 COND_MONOLITHIC_0_SHARED_1="#"
40805 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40806 COND_MONOLITHIC_0_SHARED_1=""
40807 fi
40808
40809 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
40810 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40811 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
40812 fi
40813
40814 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
40815 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40816 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
40817 fi
40818
40819 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
40820 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
40821 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
40822 fi
40823
40824 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
40825 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
40826 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
40827 fi
40828
40829 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
40830 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40831 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
40832 fi
40833
40834 COND_MONOLITHIC_0_USE_ODBC_1="#"
40835 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
40836 COND_MONOLITHIC_0_USE_ODBC_1=""
40837 fi
40838
40839 COND_MONOLITHIC_1="#"
40840 if test "x$MONOLITHIC" = "x1" ; then
40841 COND_MONOLITHIC_1=""
40842 fi
40843
40844 COND_MONOLITHIC_1_SHARED_0="#"
40845 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40846 COND_MONOLITHIC_1_SHARED_0=""
40847 fi
40848
40849 COND_MONOLITHIC_1_SHARED_1="#"
40850 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40851 COND_MONOLITHIC_1_SHARED_1=""
40852 fi
40853
40854 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
40855 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40856 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
40857 fi
40858
40859 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
40860 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40861 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
40862 fi
40863
40864 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
40865 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40866 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
40867 fi
40868
40869 COND_PLATFORM_MACOSX_1="#"
40870 if test "x$PLATFORM_MACOSX" = "x1" ; then
40871 COND_PLATFORM_MACOSX_1=""
40872 fi
40873
40874 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
40875 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
40876 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
40877 fi
40878
40879 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
40880 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
40881 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
40882 fi
40883
40884 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
40885 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
40886 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
40887 fi
40888
40889 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
40890 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
40891 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
40892 fi
40893
40894 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
40895 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
40896 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
40897 fi
40898
40899 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
40900 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40901 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
40902 fi
40903
40904 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
40905 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40906 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
40907 fi
40908
40909 COND_PLATFORM_MAC_1="#"
40910 if test "x$PLATFORM_MAC" = "x1" ; then
40911 COND_PLATFORM_MAC_1=""
40912 fi
40913
40914 COND_PLATFORM_OS2_1="#"
40915 if test "x$PLATFORM_OS2" = "x1" ; then
40916 COND_PLATFORM_OS2_1=""
40917 fi
40918
40919 COND_PLATFORM_UNIX_0="#"
40920 if test "x$PLATFORM_UNIX" = "x0" ; then
40921 COND_PLATFORM_UNIX_0=""
40922 fi
40923
40924 COND_PLATFORM_UNIX_1="#"
40925 if test "x$PLATFORM_UNIX" = "x1" ; then
40926 COND_PLATFORM_UNIX_1=""
40927 fi
40928
40929 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
40930 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40931 COND_PLATFORM_UNIX_1_USE_GUI_1=""
40932 fi
40933
40934 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
40935 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40936 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
40937 fi
40938
40939 COND_PLATFORM_WIN32_0="#"
40940 if test "x$PLATFORM_WIN32" = "x0" ; then
40941 COND_PLATFORM_WIN32_0=""
40942 fi
40943
40944 COND_PLATFORM_WIN32_1="#"
40945 if test "x$PLATFORM_WIN32" = "x1" ; then
40946 COND_PLATFORM_WIN32_1=""
40947 fi
40948
40949 COND_SHARED_0="#"
40950 if test "x$SHARED" = "x0" ; then
40951 COND_SHARED_0=""
40952 fi
40953
40954 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
40955 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40956 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
40957 fi
40958
40959 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
40960 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40961 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
40962 fi
40963
40964 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
40965 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40966 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
40967 fi
40968
40969 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
40970 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40971 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
40972 fi
40973
40974 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
40975 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40976 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
40977 fi
40978
40979 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
40980 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
40981 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
40982 fi
40983
40984 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
40985 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40986 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
40987 fi
40988
40989 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
40990 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40991 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
40992 fi
40993
40994 COND_SHARED_1="#"
40995 if test "x$SHARED" = "x1" ; then
40996 COND_SHARED_1=""
40997 fi
40998
40999 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
41000 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41001 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
41002 fi
41003
41004 COND_TOOLKIT_COCOA="#"
41005 if test "x$TOOLKIT" = "xCOCOA" ; then
41006 COND_TOOLKIT_COCOA=""
41007 fi
41008
41009 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
41010 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41011 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
41012 fi
41013
41014 COND_TOOLKIT_GTK="#"
41015 if test "x$TOOLKIT" = "xGTK" ; then
41016 COND_TOOLKIT_GTK=""
41017 fi
41018
41019 COND_TOOLKIT_GTK_USE_GUI_1="#"
41020 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
41021 COND_TOOLKIT_GTK_USE_GUI_1=""
41022 fi
41023
41024 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
41025 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41026 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
41027 fi
41028
41029 COND_TOOLKIT_MAC="#"
41030 if test "x$TOOLKIT" = "xMAC" ; then
41031 COND_TOOLKIT_MAC=""
41032 fi
41033
41034 COND_TOOLKIT_MAC_USE_GUI_1="#"
41035 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
41036 COND_TOOLKIT_MAC_USE_GUI_1=""
41037 fi
41038
41039 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
41040 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41041 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
41042 fi
41043
41044 COND_TOOLKIT_MAC_WXUNIV_0="#"
41045 if test "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
41046 COND_TOOLKIT_MAC_WXUNIV_0=""
41047 fi
41048
41049 COND_TOOLKIT_MGL="#"
41050 if test "x$TOOLKIT" = "xMGL" ; then
41051 COND_TOOLKIT_MGL=""
41052 fi
41053
41054 COND_TOOLKIT_MGL_USE_GUI_1="#"
41055 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
41056 COND_TOOLKIT_MGL_USE_GUI_1=""
41057 fi
41058
41059 COND_TOOLKIT_MOTIF="#"
41060 if test "x$TOOLKIT" = "xMOTIF" ; then
41061 COND_TOOLKIT_MOTIF=""
41062 fi
41063
41064 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
41065 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
41066 COND_TOOLKIT_MOTIF_USE_GUI_1=""
41067 fi
41068
41069 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
41070 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41071 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
41072 fi
41073
41074 COND_TOOLKIT_MSW="#"
41075 if test "x$TOOLKIT" = "xMSW" ; then
41076 COND_TOOLKIT_MSW=""
41077 fi
41078
41079 COND_TOOLKIT_MSW_USE_GUI_1="#"
41080 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
41081 COND_TOOLKIT_MSW_USE_GUI_1=""
41082 fi
41083
41084 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
41085 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41086 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
41087 fi
41088
41089 COND_TOOLKIT_MSW_WXUNIV_0="#"
41090 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
41091 COND_TOOLKIT_MSW_WXUNIV_0=""
41092 fi
41093
41094 COND_TOOLKIT_PM="#"
41095 if test "x$TOOLKIT" = "xPM" ; then
41096 COND_TOOLKIT_PM=""
41097 fi
41098
41099 COND_TOOLKIT_PM_USE_GUI_1="#"
41100 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
41101 COND_TOOLKIT_PM_USE_GUI_1=""
41102 fi
41103
41104 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
41105 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41106 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
41107 fi
41108
41109 COND_TOOLKIT_PM_WXUNIV_0="#"
41110 if test "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
41111 COND_TOOLKIT_PM_WXUNIV_0=""
41112 fi
41113
41114 COND_TOOLKIT_WINCE="#"
41115 if test "x$TOOLKIT" = "xWINCE" ; then
41116 COND_TOOLKIT_WINCE=""
41117 fi
41118
41119 COND_TOOLKIT_WINCE_USE_GUI_1="#"
41120 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
41121 COND_TOOLKIT_WINCE_USE_GUI_1=""
41122 fi
41123
41124 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
41125 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41126 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
41127 fi
41128
41129 COND_TOOLKIT_X11="#"
41130 if test "x$TOOLKIT" = "xX11" ; then
41131 COND_TOOLKIT_X11=""
41132 fi
41133
41134 COND_TOOLKIT_X11_USE_GUI_1="#"
41135 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
41136 COND_TOOLKIT_X11_USE_GUI_1=""
41137 fi
41138
41139 COND_UNICODE_1="#"
41140 if test "x$UNICODE" = "x1" ; then
41141 COND_UNICODE_1=""
41142 fi
41143
41144 COND_USE_EXCEPTIONS_0="#"
41145 if test "x$USE_EXCEPTIONS" = "x0" ; then
41146 COND_USE_EXCEPTIONS_0=""
41147 fi
41148
41149 COND_USE_EXCEPTIONS_1="#"
41150 if test "x$USE_EXCEPTIONS" = "x1" ; then
41151 COND_USE_EXCEPTIONS_1=""
41152 fi
41153
41154 COND_USE_GUI_0="#"
41155 if test "x$USE_GUI" = "x0" ; then
41156 COND_USE_GUI_0=""
41157 fi
41158
41159 COND_USE_GUI_1="#"
41160 if test "x$USE_GUI" = "x1" ; then
41161 COND_USE_GUI_1=""
41162 fi
41163
41164 COND_USE_GUI_1_WXUNIV_0="#"
41165 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41166 COND_USE_GUI_1_WXUNIV_0=""
41167 fi
41168
41169 COND_USE_GUI_1_WXUNIV_1="#"
41170 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
41171 COND_USE_GUI_1_WXUNIV_1=""
41172 fi
41173
41174 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
41175 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41176 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
41177 fi
41178
41179 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
41180 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41181 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
41182 fi
41183
41184 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
41185 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41186 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
41187 fi
41188
41189 COND_USE_ODBC_1="#"
41190 if test "x$USE_ODBC" = "x1" ; then
41191 COND_USE_ODBC_1=""
41192 fi
41193
41194 COND_USE_PLUGINS_0="#"
41195 if test "x$USE_PLUGINS" = "x0" ; then
41196 COND_USE_PLUGINS_0=""
41197 fi
41198
41199 COND_USE_SOSYMLINKS_1="#"
41200 if test "x$USE_SOSYMLINKS" = "x1" ; then
41201 COND_USE_SOSYMLINKS_1=""
41202 fi
41203
41204 COND_USE_SOVERLINUX_1="#"
41205 if test "x$USE_SOVERLINUX" = "x1" ; then
41206 COND_USE_SOVERLINUX_1=""
41207 fi
41208
41209 COND_USE_SOVERSION_0="#"
41210 if test "x$USE_SOVERSION" = "x0" ; then
41211 COND_USE_SOVERSION_0=""
41212 fi
41213
41214 COND_USE_SOVERSOLARIS_1="#"
41215 if test "x$USE_SOVERSOLARIS" = "x1" ; then
41216 COND_USE_SOVERSOLARIS_1=""
41217 fi
41218
41219 COND_WITH_PLUGIN_SDL_1="#"
41220 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41221 COND_WITH_PLUGIN_SDL_1=""
41222 fi
41223
41224 COND_WXUNIV_1="#"
41225 if test "x$WXUNIV" = "x1" ; then
41226 COND_WXUNIV_1=""
41227 fi
41228
41229 COND_WXUSE_EXPAT_BUILTIN="#"
41230 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41231 COND_WXUSE_EXPAT_BUILTIN=""
41232 fi
41233
41234 COND_WXUSE_LIBJPEG_BUILTIN="#"
41235 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41236 COND_WXUSE_LIBJPEG_BUILTIN=""
41237 fi
41238
41239 COND_WXUSE_LIBPNG_BUILTIN="#"
41240 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41241 COND_WXUSE_LIBPNG_BUILTIN=""
41242 fi
41243
41244 COND_WXUSE_LIBTIFF_BUILTIN="#"
41245 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41246 COND_WXUSE_LIBTIFF_BUILTIN=""
41247 fi
41248
41249 COND_WXUSE_ODBC_BUILTIN="#"
41250 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
41251 COND_WXUSE_ODBC_BUILTIN=""
41252 fi
41253
41254 COND_WXUSE_REGEX_BUILTIN="#"
41255 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41256 COND_WXUSE_REGEX_BUILTIN=""
41257 fi
41258
41259 COND_WXUSE_ZLIB_BUILTIN="#"
41260 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41261 COND_WXUSE_ZLIB_BUILTIN=""
41262 fi
41263
41264
41265
41266 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
41267 { { 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
41268 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;}
41269 { (exit 1); exit 1; }; }
41270 fi
41271
41272
41273 if test "$wxUSE_SHARED" = "yes"; then
41274
41275 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
41276 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
41277
41278 else
41279
41280 EXE_LINKER="$CXX -o"
41281
41282 fi
41283
41284 GCC_PRAGMA_FLAGS=""
41285 if test $GCC_PCH = 1 ; then
41286 GCC_PRAGMA_FLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA"
41287 else
41288 case "${host}" in
41289 powerpc-*-darwin* )
41290 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
41291 ;;
41292 *-*-mingw32* )
41293 if test "$wxUSE_STL" = "yes" -o \
41294 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
41295 "$wxUSE_NO_RTTI" != "yes"; then
41296 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
41297 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
41298 cat >conftest.$ac_ext <<_ACEOF
41299 /* confdefs.h. */
41300 _ACEOF
41301 cat confdefs.h >>conftest.$ac_ext
41302 cat >>conftest.$ac_ext <<_ACEOF
41303 /* end confdefs.h. */
41304
41305 int
41306 main ()
41307 {
41308 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
41309 #error "Not GCC 3.2 or greater"
41310 #endif
41311
41312 ;
41313 return 0;
41314 }
41315 _ACEOF
41316 rm -f conftest.$ac_objext
41317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41318 (eval $ac_compile) 2>conftest.er1
41319 ac_status=$?
41320 grep -v '^ *+' conftest.er1 >conftest.err
41321 rm -f conftest.er1
41322 cat conftest.err >&5
41323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41324 (exit $ac_status); } &&
41325 { ac_try='test -z "$ac_c_werror_flag"
41326 || test ! -s conftest.err'
41327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41328 (eval $ac_try) 2>&5
41329 ac_status=$?
41330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41331 (exit $ac_status); }; } &&
41332 { ac_try='test -s conftest.$ac_objext'
41333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41334 (eval $ac_try) 2>&5
41335 ac_status=$?
41336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41337 (exit $ac_status); }; }; then
41338 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
41339 echo "$as_me:$LINENO: result: yes" >&5
41340 echo "${ECHO_T}yes" >&6
41341 else
41342 echo "$as_me: failed program was:" >&5
41343 sed 's/^/| /' conftest.$ac_ext >&5
41344
41345 echo "$as_me:$LINENO: result: no" >&5
41346 echo "${ECHO_T}no" >&6
41347 fi
41348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41349 fi
41350 ;;
41351 esac
41352 fi
41353 CPPFLAGS="$GCC_PRAGMA_FLAGS $CPPFLAGS"
41354
41355
41356 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41357
41358
41359
41360
41361
41362
41363
41364
41365
41366
41367
41368
41369
41370
41371
41372
41373
41374
41375
41376
41377
41378
41379
41380
41381
41382
41383
41384
41385
41386
41387
41388
41389
41390
41391
41392
41393
41394
41395
41396
41397
41398
41399
41400
41401
41402
41403
41404
41405
41406
41407
41408
41409
41410
41411
41412
41413
41414
41415
41416
41417
41418
41419
41420 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41421 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
41422 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
41423 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
41424 echo $ECHO_N "(cached) $ECHO_C" >&6
41425 else
41426 cat >conftest.make <<\_ACEOF
41427 all:
41428 @echo 'ac_maketemp="$(MAKE)"'
41429 _ACEOF
41430 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
41431 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
41432 if test -n "$ac_maketemp"; then
41433 eval ac_cv_prog_make_${ac_make}_set=yes
41434 else
41435 eval ac_cv_prog_make_${ac_make}_set=no
41436 fi
41437 rm -f conftest.make
41438 fi
41439 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
41440 echo "$as_me:$LINENO: result: yes" >&5
41441 echo "${ECHO_T}yes" >&6
41442 SET_MAKE=
41443 else
41444 echo "$as_me:$LINENO: result: no" >&5
41445 echo "${ECHO_T}no" >&6
41446 SET_MAKE="MAKE=${MAKE-make}"
41447 fi
41448
41449
41450
41451 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
41452
41453
41454 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
41455
41456
41457 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
41458
41459
41460 ac_config_files="$ac_config_files version-script Makefile"
41461
41462
41463 ac_config_commands="$ac_config_commands wx-config
41464 "
41465
41466
41467
41468
41469 if test "$wxUSE_GUI" = "yes"; then
41470 SUBDIRS="samples demos utils contrib"
41471 else SUBDIRS="samples utils"
41472 fi
41473
41474
41475
41476 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
41477 if test "${with_cppunit_prefix+set}" = set; then
41478 withval="$with_cppunit_prefix"
41479 cppunit_config_prefix="$withval"
41480 else
41481 cppunit_config_prefix=""
41482 fi;
41483
41484 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
41485 if test "${with_cppunit_exec_prefix+set}" = set; then
41486 withval="$with_cppunit_exec_prefix"
41487 cppunit_config_exec_prefix="$withval"
41488 else
41489 cppunit_config_exec_prefix=""
41490 fi;
41491
41492 if test x$cppunit_config_exec_prefix != x ; then
41493 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41494 if test x${CPPUNIT_CONFIG+set} != xset ; then
41495 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
41496 fi
41497 fi
41498 if test x$cppunit_config_prefix != x ; then
41499 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
41500 if test x${CPPUNIT_CONFIG+set} != xset ; then
41501 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
41502 fi
41503 fi
41504
41505 # Extract the first word of "cppunit-config", so it can be a program name with args.
41506 set dummy cppunit-config; ac_word=$2
41507 echo "$as_me:$LINENO: checking for $ac_word" >&5
41508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41509 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
41510 echo $ECHO_N "(cached) $ECHO_C" >&6
41511 else
41512 case $CPPUNIT_CONFIG in
41513 [\\/]* | ?:[\\/]*)
41514 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41515 ;;
41516 *)
41517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41518 for as_dir in $PATH
41519 do
41520 IFS=$as_save_IFS
41521 test -z "$as_dir" && as_dir=.
41522 for ac_exec_ext in '' $ac_executable_extensions; do
41523 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41524 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41525 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41526 break 2
41527 fi
41528 done
41529 done
41530
41531 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
41532 ;;
41533 esac
41534 fi
41535 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
41536
41537 if test -n "$CPPUNIT_CONFIG"; then
41538 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
41539 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
41540 else
41541 echo "$as_me:$LINENO: result: no" >&5
41542 echo "${ECHO_T}no" >&6
41543 fi
41544
41545 cppunit_version_min=1.8.0
41546
41547 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
41548 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
41549 no_cppunit=""
41550 if test "$CPPUNIT_CONFIG" = "no" ; then
41551 no_cppunit=yes
41552 else
41553 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
41554 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
41555 cppunit_version=`$CPPUNIT_CONFIG --version`
41556
41557 cppunit_major_version=`echo $cppunit_version | \
41558 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41559 cppunit_minor_version=`echo $cppunit_version | \
41560 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41561 cppunit_micro_version=`echo $cppunit_version | \
41562 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41563
41564 cppunit_major_min=`echo $cppunit_version_min | \
41565 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41566 cppunit_minor_min=`echo $cppunit_version_min | \
41567 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41568 cppunit_micro_min=`echo $cppunit_version_min | \
41569 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41570
41571 cppunit_version_proper=`expr \
41572 $cppunit_major_version \> $cppunit_major_min \| \
41573 $cppunit_major_version \= $cppunit_major_min \& \
41574 $cppunit_minor_version \> $cppunit_minor_min \| \
41575 $cppunit_major_version \= $cppunit_major_min \& \
41576 $cppunit_minor_version \= $cppunit_minor_min \& \
41577 $cppunit_micro_version \>= $cppunit_micro_min `
41578
41579 if test "$cppunit_version_proper" = "1" ; then
41580 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41581 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
41582 else
41583 echo "$as_me:$LINENO: result: no" >&5
41584 echo "${ECHO_T}no" >&6
41585 no_cppunit=yes
41586 fi
41587 fi
41588
41589 if test "x$no_cppunit" = x ; then
41590 SUBDIRS="$SUBDIRS tests"
41591 else
41592 CPPUNIT_CFLAGS=""
41593 CPPUNIT_LIBS=""
41594 :
41595 fi
41596
41597
41598
41599
41600
41601 for subdir in `echo $SUBDIRS`; do
41602 if test -d ${srcdir}/${subdir} ; then
41603 if test "$wxUSE_GUI" = "yes"; then
41604 if test ${subdir} = "samples"; then
41605 makefiles="samples/Makefile.in $makefiles"
41606 for sample in `echo $SAMPLES_SUBDIRS`; do
41607 if test -d $srcdir/samples/$sample; then
41608 makefiles="samples/$sample/Makefile.in $makefiles"
41609 fi
41610 done
41611 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
41612 fi
41613 else if test ${subdir} = "samples"; then
41614 makefiles="samples/Makefile.in samples/console/Makefile.in"
41615 elif test ${subdir} = "utils"; then
41616 makefiles=""
41617 for util in HelpGen tex2rtf ; do
41618 if test -d $srcdir/utils/$util ; then
41619 makefiles="utils/$util/Makefile.in \
41620 utils/$util/src/Makefile.in \
41621 $makefiles"
41622 fi
41623 done
41624 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
41625 fi
41626 fi
41627
41628 for mkin in $makefiles ; do
41629 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41630 ac_config_files="$ac_config_files $mk"
41631
41632 done
41633 fi
41634 done
41635
41636
41637 cat >confcache <<\_ACEOF
41638 # This file is a shell script that caches the results of configure
41639 # tests run on this system so they can be shared between configure
41640 # scripts and configure runs, see configure's option --config-cache.
41641 # It is not useful on other systems. If it contains results you don't
41642 # want to keep, you may remove or edit it.
41643 #
41644 # config.status only pays attention to the cache file if you give it
41645 # the --recheck option to rerun configure.
41646 #
41647 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41648 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41649 # following values.
41650
41651 _ACEOF
41652
41653 # The following way of writing the cache mishandles newlines in values,
41654 # but we know of no workaround that is simple, portable, and efficient.
41655 # So, don't put newlines in cache variables' values.
41656 # Ultrix sh set writes to stderr and can't be redirected directly,
41657 # and sets the high bit in the cache file unless we assign to the vars.
41658 {
41659 (set) 2>&1 |
41660 case `(ac_space=' '; set | grep ac_space) 2>&1` in
41661 *ac_space=\ *)
41662 # `set' does not quote correctly, so add quotes (double-quote
41663 # substitution turns \\\\ into \\, and sed turns \\ into \).
41664 sed -n \
41665 "s/'/'\\\\''/g;
41666 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41667 ;;
41668 *)
41669 # `set' quotes correctly as required by POSIX, so do not add quotes.
41670 sed -n \
41671 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
41672 ;;
41673 esac;
41674 } |
41675 sed '
41676 t clear
41677 : clear
41678 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41679 t end
41680 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41681 : end' >>confcache
41682 if diff $cache_file confcache >/dev/null 2>&1; then :; else
41683 if test -w $cache_file; then
41684 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
41685 cat confcache >$cache_file
41686 else
41687 echo "not updating unwritable cache $cache_file"
41688 fi
41689 fi
41690 rm -f confcache
41691
41692 test "x$prefix" = xNONE && prefix=$ac_default_prefix
41693 # Let make expand exec_prefix.
41694 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
41695
41696 # VPATH may cause trouble with some makes, so we remove $(srcdir),
41697 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
41698 # trailing colons and then remove the whole line if VPATH becomes empty
41699 # (actually we leave an empty line to preserve line numbers).
41700 if test "x$srcdir" = x.; then
41701 ac_vpsub='/^[ ]*VPATH[ ]*=/{
41702 s/:*\$(srcdir):*/:/;
41703 s/:*\${srcdir}:*/:/;
41704 s/:*@srcdir@:*/:/;
41705 s/^\([^=]*=[ ]*\):*/\1/;
41706 s/:*$//;
41707 s/^[^=]*=[ ]*$//;
41708 }'
41709 fi
41710
41711 DEFS=-DHAVE_CONFIG_H
41712
41713 ac_libobjs=
41714 ac_ltlibobjs=
41715 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
41716 # 1. Remove the extension, and $U if already installed.
41717 ac_i=`echo "$ac_i" |
41718 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
41719 # 2. Add them.
41720 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
41721 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
41722 done
41723 LIBOBJS=$ac_libobjs
41724
41725 LTLIBOBJS=$ac_ltlibobjs
41726
41727
41728
41729 : ${CONFIG_STATUS=./config.status}
41730 ac_clean_files_save=$ac_clean_files
41731 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
41732 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
41733 echo "$as_me: creating $CONFIG_STATUS" >&6;}
41734 cat >$CONFIG_STATUS <<_ACEOF
41735 #! $SHELL
41736 # Generated by $as_me.
41737 # Run this file to recreate the current configuration.
41738 # Compiler output produced by configure, useful for debugging
41739 # configure, is in config.log if it exists.
41740
41741 debug=false
41742 ac_cs_recheck=false
41743 ac_cs_silent=false
41744 SHELL=\${CONFIG_SHELL-$SHELL}
41745 _ACEOF
41746
41747 cat >>$CONFIG_STATUS <<\_ACEOF
41748 ## --------------------- ##
41749 ## M4sh Initialization. ##
41750 ## --------------------- ##
41751
41752 # Be Bourne compatible
41753 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
41754 emulate sh
41755 NULLCMD=:
41756 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
41757 # is contrary to our usage. Disable this feature.
41758 alias -g '${1+"$@"}'='"$@"'
41759 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
41760 set -o posix
41761 fi
41762 DUALCASE=1; export DUALCASE # for MKS sh
41763
41764 # Support unset when possible.
41765 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
41766 as_unset=unset
41767 else
41768 as_unset=false
41769 fi
41770
41771
41772 # Work around bugs in pre-3.0 UWIN ksh.
41773 $as_unset ENV MAIL MAILPATH
41774 PS1='$ '
41775 PS2='> '
41776 PS4='+ '
41777
41778 # NLS nuisances.
41779 for as_var in \
41780 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41781 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
41782 LC_TELEPHONE LC_TIME
41783 do
41784 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
41785 eval $as_var=C; export $as_var
41786 else
41787 $as_unset $as_var
41788 fi
41789 done
41790
41791 # Required to use basename.
41792 if expr a : '\(a\)' >/dev/null 2>&1; then
41793 as_expr=expr
41794 else
41795 as_expr=false
41796 fi
41797
41798 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
41799 as_basename=basename
41800 else
41801 as_basename=false
41802 fi
41803
41804
41805 # Name of the executable.
41806 as_me=`$as_basename "$0" ||
41807 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41808 X"$0" : 'X\(//\)$' \| \
41809 X"$0" : 'X\(/\)$' \| \
41810 . : '\(.\)' 2>/dev/null ||
41811 echo X/"$0" |
41812 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
41813 /^X\/\(\/\/\)$/{ s//\1/; q; }
41814 /^X\/\(\/\).*/{ s//\1/; q; }
41815 s/.*/./; q'`
41816
41817
41818 # PATH needs CR, and LINENO needs CR and PATH.
41819 # Avoid depending upon Character Ranges.
41820 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
41821 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41822 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
41823 as_cr_digits='0123456789'
41824 as_cr_alnum=$as_cr_Letters$as_cr_digits
41825
41826 # The user is always right.
41827 if test "${PATH_SEPARATOR+set}" != set; then
41828 echo "#! /bin/sh" >conf$$.sh
41829 echo "exit 0" >>conf$$.sh
41830 chmod +x conf$$.sh
41831 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
41832 PATH_SEPARATOR=';'
41833 else
41834 PATH_SEPARATOR=:
41835 fi
41836 rm -f conf$$.sh
41837 fi
41838
41839
41840 as_lineno_1=$LINENO
41841 as_lineno_2=$LINENO
41842 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
41843 test "x$as_lineno_1" != "x$as_lineno_2" &&
41844 test "x$as_lineno_3" = "x$as_lineno_2" || {
41845 # Find who we are. Look in the path if we contain no path at all
41846 # relative or not.
41847 case $0 in
41848 *[\\/]* ) as_myself=$0 ;;
41849 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41850 for as_dir in $PATH
41851 do
41852 IFS=$as_save_IFS
41853 test -z "$as_dir" && as_dir=.
41854 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
41855 done
41856
41857 ;;
41858 esac
41859 # We did not find ourselves, most probably we were run as `sh COMMAND'
41860 # in which case we are not to be found in the path.
41861 if test "x$as_myself" = x; then
41862 as_myself=$0
41863 fi
41864 if test ! -f "$as_myself"; then
41865 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
41866 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
41867 { (exit 1); exit 1; }; }
41868 fi
41869 case $CONFIG_SHELL in
41870 '')
41871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41872 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
41873 do
41874 IFS=$as_save_IFS
41875 test -z "$as_dir" && as_dir=.
41876 for as_base in sh bash ksh sh5; do
41877 case $as_dir in
41878 /*)
41879 if ("$as_dir/$as_base" -c '
41880 as_lineno_1=$LINENO
41881 as_lineno_2=$LINENO
41882 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
41883 test "x$as_lineno_1" != "x$as_lineno_2" &&
41884 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
41885 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
41886 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
41887 CONFIG_SHELL=$as_dir/$as_base
41888 export CONFIG_SHELL
41889 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
41890 fi;;
41891 esac
41892 done
41893 done
41894 ;;
41895 esac
41896
41897 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
41898 # uniformly replaced by the line number. The first 'sed' inserts a
41899 # line-number line before each line; the second 'sed' does the real
41900 # work. The second script uses 'N' to pair each line-number line
41901 # with the numbered line, and appends trailing '-' during
41902 # substitution so that $LINENO is not a special case at line end.
41903 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
41904 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
41905 sed '=' <$as_myself |
41906 sed '
41907 N
41908 s,$,-,
41909 : loop
41910 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
41911 t loop
41912 s,-$,,
41913 s,^['$as_cr_digits']*\n,,
41914 ' >$as_me.lineno &&
41915 chmod +x $as_me.lineno ||
41916 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
41917 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
41918 { (exit 1); exit 1; }; }
41919
41920 # Don't try to exec as it changes $[0], causing all sort of problems
41921 # (the dirname of $[0] is not the place where we might find the
41922 # original and so on. Autoconf is especially sensible to this).
41923 . ./$as_me.lineno
41924 # Exit status is that of the last command.
41925 exit
41926 }
41927
41928
41929 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
41930 *c*,-n*) ECHO_N= ECHO_C='
41931 ' ECHO_T=' ' ;;
41932 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
41933 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
41934 esac
41935
41936 if expr a : '\(a\)' >/dev/null 2>&1; then
41937 as_expr=expr
41938 else
41939 as_expr=false
41940 fi
41941
41942 rm -f conf$$ conf$$.exe conf$$.file
41943 echo >conf$$.file
41944 if ln -s conf$$.file conf$$ 2>/dev/null; then
41945 # We could just check for DJGPP; but this test a) works b) is more generic
41946 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
41947 if test -f conf$$.exe; then
41948 # Don't use ln at all; we don't have any links
41949 as_ln_s='cp -p'
41950 else
41951 as_ln_s='ln -s'
41952 fi
41953 elif ln conf$$.file conf$$ 2>/dev/null; then
41954 as_ln_s=ln
41955 else
41956 as_ln_s='cp -p'
41957 fi
41958 rm -f conf$$ conf$$.exe conf$$.file
41959
41960 if mkdir -p . 2>/dev/null; then
41961 as_mkdir_p=:
41962 else
41963 test -d ./-p && rmdir ./-p
41964 as_mkdir_p=false
41965 fi
41966
41967 as_executable_p="test -f"
41968
41969 # Sed expression to map a string onto a valid CPP name.
41970 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
41971
41972 # Sed expression to map a string onto a valid variable name.
41973 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
41974
41975
41976 # IFS
41977 # We need space, tab and new line, in precisely that order.
41978 as_nl='
41979 '
41980 IFS=" $as_nl"
41981
41982 # CDPATH.
41983 $as_unset CDPATH
41984
41985 exec 6>&1
41986
41987 # Open the log real soon, to keep \$[0] and so on meaningful, and to
41988 # report actual input values of CONFIG_FILES etc. instead of their
41989 # values after options handling. Logging --version etc. is OK.
41990 exec 5>>config.log
41991 {
41992 echo
41993 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
41994 ## Running $as_me. ##
41995 _ASBOX
41996 } >&5
41997 cat >&5 <<_CSEOF
41998
41999 This file was extended by wxWidgets $as_me 2.5.3, which was
42000 generated by GNU Autoconf 2.59. Invocation command line was
42001
42002 CONFIG_FILES = $CONFIG_FILES
42003 CONFIG_HEADERS = $CONFIG_HEADERS
42004 CONFIG_LINKS = $CONFIG_LINKS
42005 CONFIG_COMMANDS = $CONFIG_COMMANDS
42006 $ $0 $@
42007
42008 _CSEOF
42009 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
42010 echo >&5
42011 _ACEOF
42012
42013 # Files that config.status was made for.
42014 if test -n "$ac_config_files"; then
42015 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
42016 fi
42017
42018 if test -n "$ac_config_headers"; then
42019 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
42020 fi
42021
42022 if test -n "$ac_config_links"; then
42023 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
42024 fi
42025
42026 if test -n "$ac_config_commands"; then
42027 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
42028 fi
42029
42030 cat >>$CONFIG_STATUS <<\_ACEOF
42031
42032 ac_cs_usage="\
42033 \`$as_me' instantiates files from templates according to the
42034 current configuration.
42035
42036 Usage: $0 [OPTIONS] [FILE]...
42037
42038 -h, --help print this help, then exit
42039 -V, --version print version number, then exit
42040 -q, --quiet do not print progress messages
42041 -d, --debug don't remove temporary files
42042 --recheck update $as_me by reconfiguring in the same conditions
42043 --file=FILE[:TEMPLATE]
42044 instantiate the configuration file FILE
42045 --header=FILE[:TEMPLATE]
42046 instantiate the configuration header FILE
42047
42048 Configuration files:
42049 $config_files
42050
42051 Configuration headers:
42052 $config_headers
42053
42054 Configuration commands:
42055 $config_commands
42056
42057 Report bugs to <bug-autoconf@gnu.org>."
42058 _ACEOF
42059
42060 cat >>$CONFIG_STATUS <<_ACEOF
42061 ac_cs_version="\\
42062 wxWidgets config.status 2.5.3
42063 configured by $0, generated by GNU Autoconf 2.59,
42064 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
42065
42066 Copyright (C) 2003 Free Software Foundation, Inc.
42067 This config.status script is free software; the Free Software Foundation
42068 gives unlimited permission to copy, distribute and modify it."
42069 srcdir=$srcdir
42070 INSTALL="$INSTALL"
42071 _ACEOF
42072
42073 cat >>$CONFIG_STATUS <<\_ACEOF
42074 # If no file are specified by the user, then we need to provide default
42075 # value. By we need to know if files were specified by the user.
42076 ac_need_defaults=:
42077 while test $# != 0
42078 do
42079 case $1 in
42080 --*=*)
42081 ac_option=`expr "x$1" : 'x\([^=]*\)='`
42082 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
42083 ac_shift=:
42084 ;;
42085 -*)
42086 ac_option=$1
42087 ac_optarg=$2
42088 ac_shift=shift
42089 ;;
42090 *) # This is not an option, so the user has probably given explicit
42091 # arguments.
42092 ac_option=$1
42093 ac_need_defaults=false;;
42094 esac
42095
42096 case $ac_option in
42097 # Handling of the options.
42098 _ACEOF
42099 cat >>$CONFIG_STATUS <<\_ACEOF
42100 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42101 ac_cs_recheck=: ;;
42102 --version | --vers* | -V )
42103 echo "$ac_cs_version"; exit 0 ;;
42104 --he | --h)
42105 # Conflict between --help and --header
42106 { { echo "$as_me:$LINENO: error: ambiguous option: $1
42107 Try \`$0 --help' for more information." >&5
42108 echo "$as_me: error: ambiguous option: $1
42109 Try \`$0 --help' for more information." >&2;}
42110 { (exit 1); exit 1; }; };;
42111 --help | --hel | -h )
42112 echo "$ac_cs_usage"; exit 0 ;;
42113 --debug | --d* | -d )
42114 debug=: ;;
42115 --file | --fil | --fi | --f )
42116 $ac_shift
42117 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
42118 ac_need_defaults=false;;
42119 --header | --heade | --head | --hea )
42120 $ac_shift
42121 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
42122 ac_need_defaults=false;;
42123 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42124 | -silent | --silent | --silen | --sile | --sil | --si | --s)
42125 ac_cs_silent=: ;;
42126
42127 # This is an error.
42128 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
42129 Try \`$0 --help' for more information." >&5
42130 echo "$as_me: error: unrecognized option: $1
42131 Try \`$0 --help' for more information." >&2;}
42132 { (exit 1); exit 1; }; } ;;
42133
42134 *) ac_config_targets="$ac_config_targets $1" ;;
42135
42136 esac
42137 shift
42138 done
42139
42140 ac_configure_extra_args=
42141
42142 if $ac_cs_silent; then
42143 exec 6>/dev/null
42144 ac_configure_extra_args="$ac_configure_extra_args --silent"
42145 fi
42146
42147 _ACEOF
42148 cat >>$CONFIG_STATUS <<_ACEOF
42149 if \$ac_cs_recheck; then
42150 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
42151 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42152 fi
42153
42154 _ACEOF
42155
42156 cat >>$CONFIG_STATUS <<_ACEOF
42157 #
42158 # INIT-COMMANDS section.
42159 #
42160
42161 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42162 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42163 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42164 LN_S="${LN_S}"
42165
42166
42167 _ACEOF
42168
42169
42170
42171 cat >>$CONFIG_STATUS <<\_ACEOF
42172 for ac_config_target in $ac_config_targets
42173 do
42174 case "$ac_config_target" in
42175 # Handling of arguments.
42176 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
42177 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
42178 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
42179 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
42180 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
42181 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
42182 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
42183 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
42184 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
42185 { (exit 1); exit 1; }; };;
42186 esac
42187 done
42188
42189 # If the user did not use the arguments to specify the items to instantiate,
42190 # then the envvar interface is used. Set only those that are not.
42191 # We use the long form for the default assignment because of an extremely
42192 # bizarre bug on SunOS 4.1.3.
42193 if $ac_need_defaults; then
42194 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
42195 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
42196 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
42197 fi
42198
42199 # Have a temporary directory for convenience. Make it in the build tree
42200 # simply because there is no reason to put it here, and in addition,
42201 # creating and moving files from /tmp can sometimes cause problems.
42202 # Create a temporary directory, and hook for its removal unless debugging.
42203 $debug ||
42204 {
42205 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
42206 trap '{ (exit 1); exit 1; }' 1 2 13 15
42207 }
42208
42209 # Create a (secure) tmp directory for tmp files.
42210
42211 {
42212 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
42213 test -n "$tmp" && test -d "$tmp"
42214 } ||
42215 {
42216 tmp=./confstat$$-$RANDOM
42217 (umask 077 && mkdir $tmp)
42218 } ||
42219 {
42220 echo "$me: cannot create a temporary directory in ." >&2
42221 { (exit 1); exit 1; }
42222 }
42223
42224 _ACEOF
42225
42226 cat >>$CONFIG_STATUS <<_ACEOF
42227
42228 #
42229 # CONFIG_FILES section.
42230 #
42231
42232 # No need to generate the scripts if there are no CONFIG_FILES.
42233 # This happens for instance when ./config.status config.h
42234 if test -n "\$CONFIG_FILES"; then
42235 # Protect against being on the right side of a sed subst in config.status.
42236 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
42237 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
42238 s,@SHELL@,$SHELL,;t t
42239 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
42240 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
42241 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
42242 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
42243 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
42244 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
42245 s,@exec_prefix@,$exec_prefix,;t t
42246 s,@prefix@,$prefix,;t t
42247 s,@program_transform_name@,$program_transform_name,;t t
42248 s,@bindir@,$bindir,;t t
42249 s,@sbindir@,$sbindir,;t t
42250 s,@libexecdir@,$libexecdir,;t t
42251 s,@datadir@,$datadir,;t t
42252 s,@sysconfdir@,$sysconfdir,;t t
42253 s,@sharedstatedir@,$sharedstatedir,;t t
42254 s,@localstatedir@,$localstatedir,;t t
42255 s,@libdir@,$libdir,;t t
42256 s,@includedir@,$includedir,;t t
42257 s,@oldincludedir@,$oldincludedir,;t t
42258 s,@infodir@,$infodir,;t t
42259 s,@mandir@,$mandir,;t t
42260 s,@build_alias@,$build_alias,;t t
42261 s,@host_alias@,$host_alias,;t t
42262 s,@target_alias@,$target_alias,;t t
42263 s,@DEFS@,$DEFS,;t t
42264 s,@ECHO_C@,$ECHO_C,;t t
42265 s,@ECHO_N@,$ECHO_N,;t t
42266 s,@ECHO_T@,$ECHO_T,;t t
42267 s,@LIBS@,$LIBS,;t t
42268 s,@build@,$build,;t t
42269 s,@build_cpu@,$build_cpu,;t t
42270 s,@build_vendor@,$build_vendor,;t t
42271 s,@build_os@,$build_os,;t t
42272 s,@host@,$host,;t t
42273 s,@host_cpu@,$host_cpu,;t t
42274 s,@host_vendor@,$host_vendor,;t t
42275 s,@host_os@,$host_os,;t t
42276 s,@target@,$target,;t t
42277 s,@target_cpu@,$target_cpu,;t t
42278 s,@target_vendor@,$target_vendor,;t t
42279 s,@target_os@,$target_os,;t t
42280 s,@CC@,$CC,;t t
42281 s,@CFLAGS@,$CFLAGS,;t t
42282 s,@LDFLAGS@,$LDFLAGS,;t t
42283 s,@CPPFLAGS@,$CPPFLAGS,;t t
42284 s,@ac_ct_CC@,$ac_ct_CC,;t t
42285 s,@EXEEXT@,$EXEEXT,;t t
42286 s,@OBJEXT@,$OBJEXT,;t t
42287 s,@CPP@,$CPP,;t t
42288 s,@EGREP@,$EGREP,;t t
42289 s,@CXX@,$CXX,;t t
42290 s,@CXXFLAGS@,$CXXFLAGS,;t t
42291 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
42292 s,@RANLIB@,$RANLIB,;t t
42293 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
42294 s,@AR@,$AR,;t t
42295 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
42296 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
42297 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
42298 s,@STRIP@,$STRIP,;t t
42299 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
42300 s,@LN_S@,$LN_S,;t t
42301 s,@CXXCPP@,$CXXCPP,;t t
42302 s,@subdirs@,$subdirs,;t t
42303 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
42304 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
42305 s,@GTK_LIBS@,$GTK_LIBS,;t t
42306 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
42307 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
42308 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
42309 s,@X_CFLAGS@,$X_CFLAGS,;t t
42310 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
42311 s,@X_LIBS@,$X_LIBS,;t t
42312 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
42313 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
42314 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
42315 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
42316 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
42317 s,@RESCOMP@,$RESCOMP,;t t
42318 s,@DEREZ@,$DEREZ,;t t
42319 s,@SETFILE@,$SETFILE,;t t
42320 s,@LIBICONV@,$LIBICONV,;t t
42321 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
42322 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
42323 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
42324 s,@SDL_LIBS@,$SDL_LIBS,;t t
42325 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
42326 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
42327 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
42328 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
42329 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
42330 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
42331 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
42332 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
42333 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
42334 s,@VENDOR@,$VENDOR,;t t
42335 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
42336 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
42337 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
42338 s,@WXUNIV@,$WXUNIV,;t t
42339 s,@MONOLITHIC@,$MONOLITHIC,;t t
42340 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
42341 s,@EXTRALIBS@,$EXTRALIBS,;t t
42342 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
42343 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
42344 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
42345 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
42346 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
42347 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
42348 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
42349 s,@UNICODE@,$UNICODE,;t t
42350 s,@BUILD@,$BUILD,;t t
42351 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
42352 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
42353 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
42354 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
42355 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
42356 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
42357 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
42358 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
42359 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
42360 s,@SET_MAKE@,$SET_MAKE,;t t
42361 s,@MAKE_SET@,$MAKE_SET,;t t
42362 s,@ac_ct_AR@,$ac_ct_AR,;t t
42363 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
42364 s,@NM@,$NM,;t t
42365 s,@ac_ct_NM@,$ac_ct_NM,;t t
42366 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
42367 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
42368 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
42369 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
42370 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
42371 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
42372 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
42373 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
42374 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
42375 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
42376 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
42377 s,@LIBPREFIX@,$LIBPREFIX,;t t
42378 s,@LIBEXT@,$LIBEXT,;t t
42379 s,@DLLPREFIX@,$DLLPREFIX,;t t
42380 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
42381 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
42382 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
42383 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
42384 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
42385 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
42386 s,@PIC_FLAG@,$PIC_FLAG,;t t
42387 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
42388 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
42389 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
42390 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
42391 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
42392 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
42393 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
42394 s,@GCC_PCH@,$GCC_PCH,;t t
42395 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
42396 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
42397 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
42398 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
42399 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
42400 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
42401 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
42402 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
42403 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
42404 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
42405 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
42406 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
42407 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
42408 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
42409 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
42410 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
42411 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
42412 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
42413 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
42414 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
42415 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
42416 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
42417 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
42418 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
42419 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
42420 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
42421 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
42422 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
42423 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
42424 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
42425 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
42426 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
42427 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
42428 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
42429 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
42430 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
42431 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
42432 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
42433 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
42434 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
42435 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
42436 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
42437 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
42438 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
42439 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
42440 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
42441 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
42442 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
42443 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
42444 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
42445 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
42446 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
42447 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
42448 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
42449 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
42450 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
42451 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
42452 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
42453 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42454 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42455 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42456 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
42457 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
42458 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
42459 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
42460 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
42461 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
42462 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
42463 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
42464 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
42465 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
42466 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
42467 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
42468 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
42469 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
42470 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
42471 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
42472 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
42473 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
42474 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
42475 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
42476 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
42477 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
42478 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
42479 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
42480 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
42481 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
42482 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
42483 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
42484 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
42485 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
42486 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
42487 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
42488 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
42489 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
42490 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
42491 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
42492 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
42493 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
42494 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
42495 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42496 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42497 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42498 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
42499 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
42500 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
42501 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
42502 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
42503 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
42504 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
42505 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
42506 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
42507 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
42508 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
42509 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
42510 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
42511 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
42512 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
42513 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
42514 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
42515 s,@COND_TOOLKIT_MAC_WXUNIV_0@,$COND_TOOLKIT_MAC_WXUNIV_0,;t t
42516 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
42517 s,@COND_TOOLKIT_PM_WXUNIV_0@,$COND_TOOLKIT_PM_WXUNIV_0,;t t
42518 s,@SHARED@,$SHARED,;t t
42519 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
42520 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
42521 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
42522 s,@USE_GUI@,$USE_GUI,;t t
42523 s,@AFMINSTALL@,$AFMINSTALL,;t t
42524 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
42525 s,@TOOLKIT@,$TOOLKIT,;t t
42526 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
42527 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
42528 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
42529 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
42530 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
42531 s,@cross_compiling@,$cross_compiling,;t t
42532 s,@WIDGET_SET@,$WIDGET_SET,;t t
42533 s,@WX_RELEASE@,$WX_RELEASE,;t t
42534 s,@WX_VERSION@,$WX_VERSION,;t t
42535 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
42536 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
42537 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
42538 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
42539 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
42540 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
42541 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
42542 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
42543 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
42544 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
42545 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
42546 s,@EXE_LINKER@,$EXE_LINKER,;t t
42547 s,@GUIDIST@,$GUIDIST,;t t
42548 s,@DISTDIR@,$DISTDIR,;t t
42549 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
42550 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
42551 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
42552 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
42553 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
42554 s,@RESFLAGS@,$RESFLAGS,;t t
42555 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
42556 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
42557 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
42558 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
42559 s,@MACRESCOMP@,$MACRESCOMP,;t t
42560 s,@MACSETFILE@,$MACSETFILE,;t t
42561 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
42562 s,@GCC@,$GCC,;t t
42563 s,@DLLTOOL@,$DLLTOOL,;t t
42564 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
42565 s,@LIBOBJS@,$LIBOBJS,;t t
42566 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
42567 CEOF
42568
42569 _ACEOF
42570
42571 cat >>$CONFIG_STATUS <<\_ACEOF
42572 # Split the substitutions into bite-sized pieces for seds with
42573 # small command number limits, like on Digital OSF/1 and HP-UX.
42574 ac_max_sed_lines=48
42575 ac_sed_frag=1 # Number of current file.
42576 ac_beg=1 # First line for current file.
42577 ac_end=$ac_max_sed_lines # Line after last line for current file.
42578 ac_more_lines=:
42579 ac_sed_cmds=
42580 while $ac_more_lines; do
42581 if test $ac_beg -gt 1; then
42582 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
42583 else
42584 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
42585 fi
42586 if test ! -s $tmp/subs.frag; then
42587 ac_more_lines=false
42588 else
42589 # The purpose of the label and of the branching condition is to
42590 # speed up the sed processing (if there are no `@' at all, there
42591 # is no need to browse any of the substitutions).
42592 # These are the two extra sed commands mentioned above.
42593 (echo ':t
42594 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
42595 if test -z "$ac_sed_cmds"; then
42596 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
42597 else
42598 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
42599 fi
42600 ac_sed_frag=`expr $ac_sed_frag + 1`
42601 ac_beg=$ac_end
42602 ac_end=`expr $ac_end + $ac_max_sed_lines`
42603 fi
42604 done
42605 if test -z "$ac_sed_cmds"; then
42606 ac_sed_cmds=cat
42607 fi
42608 fi # test -n "$CONFIG_FILES"
42609
42610 _ACEOF
42611 cat >>$CONFIG_STATUS <<\_ACEOF
42612 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
42613 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42614 case $ac_file in
42615 - | *:- | *:-:* ) # input from stdin
42616 cat >$tmp/stdin
42617 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
42618 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
42619 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
42620 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
42621 * ) ac_file_in=$ac_file.in ;;
42622 esac
42623
42624 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
42625 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
42626 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42627 X"$ac_file" : 'X\(//\)[^/]' \| \
42628 X"$ac_file" : 'X\(//\)$' \| \
42629 X"$ac_file" : 'X\(/\)' \| \
42630 . : '\(.\)' 2>/dev/null ||
42631 echo X"$ac_file" |
42632 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42633 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42634 /^X\(\/\/\)$/{ s//\1/; q; }
42635 /^X\(\/\).*/{ s//\1/; q; }
42636 s/.*/./; q'`
42637 { if $as_mkdir_p; then
42638 mkdir -p "$ac_dir"
42639 else
42640 as_dir="$ac_dir"
42641 as_dirs=
42642 while test ! -d "$as_dir"; do
42643 as_dirs="$as_dir $as_dirs"
42644 as_dir=`(dirname "$as_dir") 2>/dev/null ||
42645 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42646 X"$as_dir" : 'X\(//\)[^/]' \| \
42647 X"$as_dir" : 'X\(//\)$' \| \
42648 X"$as_dir" : 'X\(/\)' \| \
42649 . : '\(.\)' 2>/dev/null ||
42650 echo X"$as_dir" |
42651 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42652 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42653 /^X\(\/\/\)$/{ s//\1/; q; }
42654 /^X\(\/\).*/{ s//\1/; q; }
42655 s/.*/./; q'`
42656 done
42657 test ! -n "$as_dirs" || mkdir $as_dirs
42658 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42659 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42660 { (exit 1); exit 1; }; }; }
42661
42662 ac_builddir=.
42663
42664 if test "$ac_dir" != .; then
42665 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42666 # A "../" for each directory in $ac_dir_suffix.
42667 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42668 else
42669 ac_dir_suffix= ac_top_builddir=
42670 fi
42671
42672 case $srcdir in
42673 .) # No --srcdir option. We are building in place.
42674 ac_srcdir=.
42675 if test -z "$ac_top_builddir"; then
42676 ac_top_srcdir=.
42677 else
42678 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
42679 fi ;;
42680 [\\/]* | ?:[\\/]* ) # Absolute path.
42681 ac_srcdir=$srcdir$ac_dir_suffix;
42682 ac_top_srcdir=$srcdir ;;
42683 *) # Relative path.
42684 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
42685 ac_top_srcdir=$ac_top_builddir$srcdir ;;
42686 esac
42687
42688 # Do not use `cd foo && pwd` to compute absolute paths, because
42689 # the directories may not exist.
42690 case `pwd` in
42691 .) ac_abs_builddir="$ac_dir";;
42692 *)
42693 case "$ac_dir" in
42694 .) ac_abs_builddir=`pwd`;;
42695 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
42696 *) ac_abs_builddir=`pwd`/"$ac_dir";;
42697 esac;;
42698 esac
42699 case $ac_abs_builddir in
42700 .) ac_abs_top_builddir=${ac_top_builddir}.;;
42701 *)
42702 case ${ac_top_builddir}. in
42703 .) ac_abs_top_builddir=$ac_abs_builddir;;
42704 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
42705 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
42706 esac;;
42707 esac
42708 case $ac_abs_builddir in
42709 .) ac_abs_srcdir=$ac_srcdir;;
42710 *)
42711 case $ac_srcdir in
42712 .) ac_abs_srcdir=$ac_abs_builddir;;
42713 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
42714 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
42715 esac;;
42716 esac
42717 case $ac_abs_builddir in
42718 .) ac_abs_top_srcdir=$ac_top_srcdir;;
42719 *)
42720 case $ac_top_srcdir in
42721 .) ac_abs_top_srcdir=$ac_abs_builddir;;
42722 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
42723 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
42724 esac;;
42725 esac
42726
42727
42728 case $INSTALL in
42729 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
42730 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
42731 esac
42732
42733 if test x"$ac_file" != x-; then
42734 { echo "$as_me:$LINENO: creating $ac_file" >&5
42735 echo "$as_me: creating $ac_file" >&6;}
42736 rm -f "$ac_file"
42737 fi
42738 # Let's still pretend it is `configure' which instantiates (i.e., don't
42739 # use $as_me), people would be surprised to read:
42740 # /* config.h. Generated by config.status. */
42741 if test x"$ac_file" = x-; then
42742 configure_input=
42743 else
42744 configure_input="$ac_file. "
42745 fi
42746 configure_input=$configure_input"Generated from `echo $ac_file_in |
42747 sed 's,.*/,,'` by configure."
42748
42749 # First look for the input files in the build tree, otherwise in the
42750 # src tree.
42751 ac_file_inputs=`IFS=:
42752 for f in $ac_file_in; do
42753 case $f in
42754 -) echo $tmp/stdin ;;
42755 [\\/$]*)
42756 # Absolute (can't be DOS-style, as IFS=:)
42757 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42758 echo "$as_me: error: cannot find input file: $f" >&2;}
42759 { (exit 1); exit 1; }; }
42760 echo "$f";;
42761 *) # Relative
42762 if test -f "$f"; then
42763 # Build tree
42764 echo "$f"
42765 elif test -f "$srcdir/$f"; then
42766 # Source tree
42767 echo "$srcdir/$f"
42768 else
42769 # /dev/null tree
42770 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42771 echo "$as_me: error: cannot find input file: $f" >&2;}
42772 { (exit 1); exit 1; }; }
42773 fi;;
42774 esac
42775 done` || { (exit 1); exit 1; }
42776 _ACEOF
42777 cat >>$CONFIG_STATUS <<_ACEOF
42778 sed "$ac_vpsub
42779 $extrasub
42780 _ACEOF
42781 cat >>$CONFIG_STATUS <<\_ACEOF
42782 :t
42783 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
42784 s,@configure_input@,$configure_input,;t t
42785 s,@srcdir@,$ac_srcdir,;t t
42786 s,@abs_srcdir@,$ac_abs_srcdir,;t t
42787 s,@top_srcdir@,$ac_top_srcdir,;t t
42788 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
42789 s,@builddir@,$ac_builddir,;t t
42790 s,@abs_builddir@,$ac_abs_builddir,;t t
42791 s,@top_builddir@,$ac_top_builddir,;t t
42792 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
42793 s,@INSTALL@,$ac_INSTALL,;t t
42794 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
42795 rm -f $tmp/stdin
42796 if test x"$ac_file" != x-; then
42797 mv $tmp/out $ac_file
42798 else
42799 cat $tmp/out
42800 rm -f $tmp/out
42801 fi
42802
42803 # Run the commands associated with the file.
42804 case $ac_file in
42805 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
42806 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
42807 esac
42808 done
42809 _ACEOF
42810 cat >>$CONFIG_STATUS <<\_ACEOF
42811
42812 #
42813 # CONFIG_HEADER section.
42814 #
42815
42816 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
42817 # NAME is the cpp macro being defined and VALUE is the value it is being given.
42818 #
42819 # ac_d sets the value in "#define NAME VALUE" lines.
42820 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
42821 ac_dB='[ ].*$,\1#\2'
42822 ac_dC=' '
42823 ac_dD=',;t'
42824 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
42825 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
42826 ac_uB='$,\1#\2define\3'
42827 ac_uC=' '
42828 ac_uD=',;t'
42829
42830 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
42831 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42832 case $ac_file in
42833 - | *:- | *:-:* ) # input from stdin
42834 cat >$tmp/stdin
42835 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
42836 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
42837 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
42838 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
42839 * ) ac_file_in=$ac_file.in ;;
42840 esac
42841
42842 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
42843 echo "$as_me: creating $ac_file" >&6;}
42844
42845 # First look for the input files in the build tree, otherwise in the
42846 # src tree.
42847 ac_file_inputs=`IFS=:
42848 for f in $ac_file_in; do
42849 case $f in
42850 -) echo $tmp/stdin ;;
42851 [\\/$]*)
42852 # Absolute (can't be DOS-style, as IFS=:)
42853 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42854 echo "$as_me: error: cannot find input file: $f" >&2;}
42855 { (exit 1); exit 1; }; }
42856 # Do quote $f, to prevent DOS paths from being IFS'd.
42857 echo "$f";;
42858 *) # Relative
42859 if test -f "$f"; then
42860 # Build tree
42861 echo "$f"
42862 elif test -f "$srcdir/$f"; then
42863 # Source tree
42864 echo "$srcdir/$f"
42865 else
42866 # /dev/null tree
42867 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42868 echo "$as_me: error: cannot find input file: $f" >&2;}
42869 { (exit 1); exit 1; }; }
42870 fi;;
42871 esac
42872 done` || { (exit 1); exit 1; }
42873 # Remove the trailing spaces.
42874 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
42875
42876 _ACEOF
42877
42878 # Transform confdefs.h into two sed scripts, `conftest.defines' and
42879 # `conftest.undefs', that substitutes the proper values into
42880 # config.h.in to produce config.h. The first handles `#define'
42881 # templates, and the second `#undef' templates.
42882 # And first: Protect against being on the right side of a sed subst in
42883 # config.status. Protect against being in an unquoted here document
42884 # in config.status.
42885 rm -f conftest.defines conftest.undefs
42886 # Using a here document instead of a string reduces the quoting nightmare.
42887 # Putting comments in sed scripts is not portable.
42888 #
42889 # `end' is used to avoid that the second main sed command (meant for
42890 # 0-ary CPP macros) applies to n-ary macro definitions.
42891 # See the Autoconf documentation for `clear'.
42892 cat >confdef2sed.sed <<\_ACEOF
42893 s/[\\&,]/\\&/g
42894 s,[\\$`],\\&,g
42895 t clear
42896 : clear
42897 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
42898 t end
42899 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
42900 : end
42901 _ACEOF
42902 # If some macros were called several times there might be several times
42903 # the same #defines, which is useless. Nevertheless, we may not want to
42904 # sort them, since we want the *last* AC-DEFINE to be honored.
42905 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
42906 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
42907 rm -f confdef2sed.sed
42908
42909 # This sed command replaces #undef with comments. This is necessary, for
42910 # example, in the case of _POSIX_SOURCE, which is predefined and required
42911 # on some systems where configure will not decide to define it.
42912 cat >>conftest.undefs <<\_ACEOF
42913 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
42914 _ACEOF
42915
42916 # Break up conftest.defines because some shells have a limit on the size
42917 # of here documents, and old seds have small limits too (100 cmds).
42918 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
42919 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
42920 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
42921 echo ' :' >>$CONFIG_STATUS
42922 rm -f conftest.tail
42923 while grep . conftest.defines >/dev/null
42924 do
42925 # Write a limited-size here document to $tmp/defines.sed.
42926 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
42927 # Speed up: don't consider the non `#define' lines.
42928 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
42929 # Work around the forget-to-reset-the-flag bug.
42930 echo 't clr' >>$CONFIG_STATUS
42931 echo ': clr' >>$CONFIG_STATUS
42932 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
42933 echo 'CEOF
42934 sed -f $tmp/defines.sed $tmp/in >$tmp/out
42935 rm -f $tmp/in
42936 mv $tmp/out $tmp/in
42937 ' >>$CONFIG_STATUS
42938 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
42939 rm -f conftest.defines
42940 mv conftest.tail conftest.defines
42941 done
42942 rm -f conftest.defines
42943 echo ' fi # grep' >>$CONFIG_STATUS
42944 echo >>$CONFIG_STATUS
42945
42946 # Break up conftest.undefs because some shells have a limit on the size
42947 # of here documents, and old seds have small limits too (100 cmds).
42948 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
42949 rm -f conftest.tail
42950 while grep . conftest.undefs >/dev/null
42951 do
42952 # Write a limited-size here document to $tmp/undefs.sed.
42953 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
42954 # Speed up: don't consider the non `#undef'
42955 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
42956 # Work around the forget-to-reset-the-flag bug.
42957 echo 't clr' >>$CONFIG_STATUS
42958 echo ': clr' >>$CONFIG_STATUS
42959 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
42960 echo 'CEOF
42961 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
42962 rm -f $tmp/in
42963 mv $tmp/out $tmp/in
42964 ' >>$CONFIG_STATUS
42965 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
42966 rm -f conftest.undefs
42967 mv conftest.tail conftest.undefs
42968 done
42969 rm -f conftest.undefs
42970
42971 cat >>$CONFIG_STATUS <<\_ACEOF
42972 # Let's still pretend it is `configure' which instantiates (i.e., don't
42973 # use $as_me), people would be surprised to read:
42974 # /* config.h. Generated by config.status. */
42975 if test x"$ac_file" = x-; then
42976 echo "/* Generated by configure. */" >$tmp/config.h
42977 else
42978 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
42979 fi
42980 cat $tmp/in >>$tmp/config.h
42981 rm -f $tmp/in
42982 if test x"$ac_file" != x-; then
42983 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
42984 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
42985 echo "$as_me: $ac_file is unchanged" >&6;}
42986 else
42987 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
42988 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42989 X"$ac_file" : 'X\(//\)[^/]' \| \
42990 X"$ac_file" : 'X\(//\)$' \| \
42991 X"$ac_file" : 'X\(/\)' \| \
42992 . : '\(.\)' 2>/dev/null ||
42993 echo X"$ac_file" |
42994 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42995 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42996 /^X\(\/\/\)$/{ s//\1/; q; }
42997 /^X\(\/\).*/{ s//\1/; q; }
42998 s/.*/./; q'`
42999 { if $as_mkdir_p; then
43000 mkdir -p "$ac_dir"
43001 else
43002 as_dir="$ac_dir"
43003 as_dirs=
43004 while test ! -d "$as_dir"; do
43005 as_dirs="$as_dir $as_dirs"
43006 as_dir=`(dirname "$as_dir") 2>/dev/null ||
43007 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43008 X"$as_dir" : 'X\(//\)[^/]' \| \
43009 X"$as_dir" : 'X\(//\)$' \| \
43010 X"$as_dir" : 'X\(/\)' \| \
43011 . : '\(.\)' 2>/dev/null ||
43012 echo X"$as_dir" |
43013 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43014 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43015 /^X\(\/\/\)$/{ s//\1/; q; }
43016 /^X\(\/\).*/{ s//\1/; q; }
43017 s/.*/./; q'`
43018 done
43019 test ! -n "$as_dirs" || mkdir $as_dirs
43020 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43021 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43022 { (exit 1); exit 1; }; }; }
43023
43024 rm -f $ac_file
43025 mv $tmp/config.h $ac_file
43026 fi
43027 else
43028 cat $tmp/config.h
43029 rm -f $tmp/config.h
43030 fi
43031 done
43032 _ACEOF
43033 cat >>$CONFIG_STATUS <<\_ACEOF
43034
43035 #
43036 # CONFIG_COMMANDS section.
43037 #
43038 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
43039 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
43040 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
43041 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
43042 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43043 X"$ac_dest" : 'X\(//\)[^/]' \| \
43044 X"$ac_dest" : 'X\(//\)$' \| \
43045 X"$ac_dest" : 'X\(/\)' \| \
43046 . : '\(.\)' 2>/dev/null ||
43047 echo X"$ac_dest" |
43048 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43049 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43050 /^X\(\/\/\)$/{ s//\1/; q; }
43051 /^X\(\/\).*/{ s//\1/; q; }
43052 s/.*/./; q'`
43053 { if $as_mkdir_p; then
43054 mkdir -p "$ac_dir"
43055 else
43056 as_dir="$ac_dir"
43057 as_dirs=
43058 while test ! -d "$as_dir"; do
43059 as_dirs="$as_dir $as_dirs"
43060 as_dir=`(dirname "$as_dir") 2>/dev/null ||
43061 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43062 X"$as_dir" : 'X\(//\)[^/]' \| \
43063 X"$as_dir" : 'X\(//\)$' \| \
43064 X"$as_dir" : 'X\(/\)' \| \
43065 . : '\(.\)' 2>/dev/null ||
43066 echo X"$as_dir" |
43067 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43068 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43069 /^X\(\/\/\)$/{ s//\1/; q; }
43070 /^X\(\/\).*/{ s//\1/; q; }
43071 s/.*/./; q'`
43072 done
43073 test ! -n "$as_dirs" || mkdir $as_dirs
43074 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43075 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43076 { (exit 1); exit 1; }; }; }
43077
43078 ac_builddir=.
43079
43080 if test "$ac_dir" != .; then
43081 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43082 # A "../" for each directory in $ac_dir_suffix.
43083 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43084 else
43085 ac_dir_suffix= ac_top_builddir=
43086 fi
43087
43088 case $srcdir in
43089 .) # No --srcdir option. We are building in place.
43090 ac_srcdir=.
43091 if test -z "$ac_top_builddir"; then
43092 ac_top_srcdir=.
43093 else
43094 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
43095 fi ;;
43096 [\\/]* | ?:[\\/]* ) # Absolute path.
43097 ac_srcdir=$srcdir$ac_dir_suffix;
43098 ac_top_srcdir=$srcdir ;;
43099 *) # Relative path.
43100 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
43101 ac_top_srcdir=$ac_top_builddir$srcdir ;;
43102 esac
43103
43104 # Do not use `cd foo && pwd` to compute absolute paths, because
43105 # the directories may not exist.
43106 case `pwd` in
43107 .) ac_abs_builddir="$ac_dir";;
43108 *)
43109 case "$ac_dir" in
43110 .) ac_abs_builddir=`pwd`;;
43111 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
43112 *) ac_abs_builddir=`pwd`/"$ac_dir";;
43113 esac;;
43114 esac
43115 case $ac_abs_builddir in
43116 .) ac_abs_top_builddir=${ac_top_builddir}.;;
43117 *)
43118 case ${ac_top_builddir}. in
43119 .) ac_abs_top_builddir=$ac_abs_builddir;;
43120 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
43121 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
43122 esac;;
43123 esac
43124 case $ac_abs_builddir in
43125 .) ac_abs_srcdir=$ac_srcdir;;
43126 *)
43127 case $ac_srcdir in
43128 .) ac_abs_srcdir=$ac_abs_builddir;;
43129 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
43130 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
43131 esac;;
43132 esac
43133 case $ac_abs_builddir in
43134 .) ac_abs_top_srcdir=$ac_top_srcdir;;
43135 *)
43136 case $ac_top_srcdir in
43137 .) ac_abs_top_srcdir=$ac_abs_builddir;;
43138 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
43139 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
43140 esac;;
43141 esac
43142
43143
43144 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
43145 echo "$as_me: executing $ac_dest commands" >&6;}
43146 case $ac_dest in
43147 wx-config ) rm -f wx-config
43148 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
43149 ;;
43150 esac
43151 done
43152 _ACEOF
43153
43154 cat >>$CONFIG_STATUS <<\_ACEOF
43155
43156 { (exit 0); exit 0; }
43157 _ACEOF
43158 chmod +x $CONFIG_STATUS
43159 ac_clean_files=$ac_clean_files_save
43160
43161
43162 # configure is writing to config.log, and then calls config.status.
43163 # config.status does its own redirection, appending to config.log.
43164 # Unfortunately, on DOS this fails, as config.log is still kept open
43165 # by configure, so config.status won't be able to write to it; its
43166 # output is simply discarded. So we exec the FD to /dev/null,
43167 # effectively closing config.log, so it can be properly (re)opened and
43168 # appended to by config.status. When coming back to configure, we
43169 # need to make the FD available again.
43170 if test "$no_create" != yes; then
43171 ac_cs_success=:
43172 ac_config_status_args=
43173 test "$silent" = yes &&
43174 ac_config_status_args="$ac_config_status_args --quiet"
43175 exec 5>/dev/null
43176 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
43177 exec 5>>config.log
43178 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
43179 # would make configure fail if this is the last instruction.
43180 $ac_cs_success || { (exit 1); exit 1; }
43181 fi
43182
43183 #
43184 # CONFIG_SUBDIRS section.
43185 #
43186 if test "$no_recursion" != yes; then
43187
43188 # Remove --cache-file and --srcdir arguments so they do not pile up.
43189 ac_sub_configure_args=
43190 ac_prev=
43191 for ac_arg in $ac_configure_args; do
43192 if test -n "$ac_prev"; then
43193 ac_prev=
43194 continue
43195 fi
43196 case $ac_arg in
43197 -cache-file | --cache-file | --cache-fil | --cache-fi \
43198 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
43199 ac_prev=cache_file ;;
43200 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
43201 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
43202 | --c=*)
43203 ;;
43204 --config-cache | -C)
43205 ;;
43206 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
43207 ac_prev=srcdir ;;
43208 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
43209 ;;
43210 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
43211 ac_prev=prefix ;;
43212 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
43213 ;;
43214 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
43215 esac
43216 done
43217
43218 # Always prepend --prefix to ensure using the same prefix
43219 # in subdir configurations.
43220 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
43221
43222 ac_popdir=`pwd`
43223 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
43224
43225 # Do not complain, so a configure script can configure whichever
43226 # parts of a large source tree are present.
43227 test -d $srcdir/$ac_dir || continue
43228
43229 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
43230 echo "$as_me: configuring in $ac_dir" >&6;}
43231 { if $as_mkdir_p; then
43232 mkdir -p "$ac_dir"
43233 else
43234 as_dir="$ac_dir"
43235 as_dirs=
43236 while test ! -d "$as_dir"; do
43237 as_dirs="$as_dir $as_dirs"
43238 as_dir=`(dirname "$as_dir") 2>/dev/null ||
43239 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43240 X"$as_dir" : 'X\(//\)[^/]' \| \
43241 X"$as_dir" : 'X\(//\)$' \| \
43242 X"$as_dir" : 'X\(/\)' \| \
43243 . : '\(.\)' 2>/dev/null ||
43244 echo X"$as_dir" |
43245 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43246 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43247 /^X\(\/\/\)$/{ s//\1/; q; }
43248 /^X\(\/\).*/{ s//\1/; q; }
43249 s/.*/./; q'`
43250 done
43251 test ! -n "$as_dirs" || mkdir $as_dirs
43252 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43253 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43254 { (exit 1); exit 1; }; }; }
43255
43256 ac_builddir=.
43257
43258 if test "$ac_dir" != .; then
43259 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43260 # A "../" for each directory in $ac_dir_suffix.
43261 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43262 else
43263 ac_dir_suffix= ac_top_builddir=
43264 fi
43265
43266 case $srcdir in
43267 .) # No --srcdir option. We are building in place.
43268 ac_srcdir=.
43269 if test -z "$ac_top_builddir"; then
43270 ac_top_srcdir=.
43271 else
43272 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
43273 fi ;;
43274 [\\/]* | ?:[\\/]* ) # Absolute path.
43275 ac_srcdir=$srcdir$ac_dir_suffix;
43276 ac_top_srcdir=$srcdir ;;
43277 *) # Relative path.
43278 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
43279 ac_top_srcdir=$ac_top_builddir$srcdir ;;
43280 esac
43281
43282 # Do not use `cd foo && pwd` to compute absolute paths, because
43283 # the directories may not exist.
43284 case `pwd` in
43285 .) ac_abs_builddir="$ac_dir";;
43286 *)
43287 case "$ac_dir" in
43288 .) ac_abs_builddir=`pwd`;;
43289 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
43290 *) ac_abs_builddir=`pwd`/"$ac_dir";;
43291 esac;;
43292 esac
43293 case $ac_abs_builddir in
43294 .) ac_abs_top_builddir=${ac_top_builddir}.;;
43295 *)
43296 case ${ac_top_builddir}. in
43297 .) ac_abs_top_builddir=$ac_abs_builddir;;
43298 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
43299 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
43300 esac;;
43301 esac
43302 case $ac_abs_builddir in
43303 .) ac_abs_srcdir=$ac_srcdir;;
43304 *)
43305 case $ac_srcdir in
43306 .) ac_abs_srcdir=$ac_abs_builddir;;
43307 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
43308 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
43309 esac;;
43310 esac
43311 case $ac_abs_builddir in
43312 .) ac_abs_top_srcdir=$ac_top_srcdir;;
43313 *)
43314 case $ac_top_srcdir in
43315 .) ac_abs_top_srcdir=$ac_abs_builddir;;
43316 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
43317 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
43318 esac;;
43319 esac
43320
43321
43322 cd $ac_dir
43323
43324 # Check for guested configure; otherwise get Cygnus style configure.
43325 if test -f $ac_srcdir/configure.gnu; then
43326 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
43327 elif test -f $ac_srcdir/configure; then
43328 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
43329 elif test -f $ac_srcdir/configure.in; then
43330 ac_sub_configure=$ac_configure
43331 else
43332 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
43333 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
43334 ac_sub_configure=
43335 fi
43336
43337 # The recursion is here.
43338 if test -n "$ac_sub_configure"; then
43339 # Make the cache file name correct relative to the subdirectory.
43340 case $cache_file in
43341 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
43342 *) # Relative path.
43343 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
43344 esac
43345
43346 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
43347 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
43348 # The eval makes quoting arguments work.
43349 eval $ac_sub_configure $ac_sub_configure_args \
43350 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
43351 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
43352 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
43353 { (exit 1); exit 1; }; }
43354 fi
43355
43356 cd $ac_popdir
43357 done
43358 fi
43359
43360
43361 echo
43362 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
43363 echo ""
43364 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
43365 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
43366
43367 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
43368 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
43369 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
43370
43371 echo " What level of wxWidgets compatibility should be enabled?"
43372 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
43373 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
43374
43375 echo " Which libraries should wxWidgets use?"
43376 echo " jpeg ${wxUSE_LIBJPEG-none}"
43377 echo " png ${wxUSE_LIBPNG-none}"
43378 echo " regex ${wxUSE_REGEX}"
43379 echo " tiff ${wxUSE_LIBTIFF-none}"
43380 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
43381 echo " xpm ${wxUSE_LIBXPM-none}"
43382 fi
43383 echo " zlib ${wxUSE_ZLIB}"
43384 echo " odbc ${wxUSE_ODBC}"
43385 echo " expat ${wxUSE_EXPAT}"
43386 echo " libmspack ${wxUSE_LIBMSPACK}"
43387 echo " sdl ${wxUSE_LIBSDL}"
43388
43389 echo ""
43390