]> git.saurik.com Git - wxWidgets.git/blob - configure
Disable wxStackWalker on platforms other than Win32 or UNIX.
[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.5.
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.5'
274 PACKAGE_STRING='wxWidgets 2.5.5'
275 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
276
277 ac_unique_file="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default="\
280 #include <stdio.h>
281 #if HAVE_SYS_TYPES_H
282 # include <sys/types.h>
283 #endif
284 #if HAVE_SYS_STAT_H
285 # include <sys/stat.h>
286 #endif
287 #if STDC_HEADERS
288 # include <stdlib.h>
289 # include <stddef.h>
290 #else
291 # if HAVE_STDLIB_H
292 # include <stdlib.h>
293 # endif
294 #endif
295 #if HAVE_STRING_H
296 # if !STDC_HEADERS && HAVE_MEMORY_H
297 # include <memory.h>
298 # endif
299 # include <string.h>
300 #endif
301 #if HAVE_STRINGS_H
302 # include <strings.h>
303 #endif
304 #if HAVE_INTTYPES_H
305 # include <inttypes.h>
306 #else
307 # if HAVE_STDINT_H
308 # include <stdint.h>
309 # endif
310 #endif
311 #if HAVE_UNISTD_H
312 # include <unistd.h>
313 #endif"
314
315 ac_subdirs_all="$ac_subdirs_all src/expat"
316 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GSTREAMER_CFLAGS GSTREAMER_LIBS GST_INSPECT CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_EXTRALIBS WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS GCC_PRAGMA_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
317 ac_subst_files=''
318
319 # Initialize some variables set by options.
320 ac_init_help=
321 ac_init_version=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
324 cache_file=/dev/null
325 exec_prefix=NONE
326 no_create=
327 no_recursion=
328 prefix=NONE
329 program_prefix=NONE
330 program_suffix=NONE
331 program_transform_name=s,x,x,
332 silent=
333 site=
334 srcdir=
335 verbose=
336 x_includes=NONE
337 x_libraries=NONE
338
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir='${exec_prefix}/bin'
345 sbindir='${exec_prefix}/sbin'
346 libexecdir='${exec_prefix}/libexec'
347 datadir='${prefix}/share'
348 sysconfdir='${prefix}/etc'
349 sharedstatedir='${prefix}/com'
350 localstatedir='${prefix}/var'
351 libdir='${exec_prefix}/lib'
352 includedir='${prefix}/include'
353 oldincludedir='/usr/include'
354 infodir='${prefix}/info'
355 mandir='${prefix}/man'
356
357 ac_prev=
358 for ac_option
359 do
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
363 ac_prev=
364 continue
365 fi
366
367 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368
369 # Accept the important Cygnus configure options, so we can diagnose typos.
370
371 case $ac_option in
372
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
374 ac_prev=bindir ;;
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
376 bindir=$ac_optarg ;;
377
378 -build | --build | --buil | --bui | --bu)
379 ac_prev=build_alias ;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias=$ac_optarg ;;
382
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev=cache_file ;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file=$ac_optarg ;;
389
390 --config-cache | -C)
391 cache_file=config.cache ;;
392
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
394 ac_prev=datadir ;;
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
396 | --da=*)
397 datadir=$ac_optarg ;;
398
399 -disable-* | --disable-*)
400 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
407
408 -enable-* | --enable-*)
409 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
415 case $ac_option in
416 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 *) ac_optarg=yes ;;
418 esac
419 eval "enable_$ac_feature='$ac_optarg'" ;;
420
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev=exec_prefix ;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix=$ac_optarg ;;
429
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
432 with_gas=yes ;;
433
434 -help | --help | --hel | --he | -h)
435 ac_init_help=long ;;
436 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
437 ac_init_help=recursive ;;
438 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
439 ac_init_help=short ;;
440
441 -host | --host | --hos | --ho)
442 ac_prev=host_alias ;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias=$ac_optarg ;;
445
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev=includedir ;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir=$ac_optarg ;;
452
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
454 ac_prev=infodir ;;
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir=$ac_optarg ;;
457
458 -libdir | --libdir | --libdi | --libd)
459 ac_prev=libdir ;;
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
461 libdir=$ac_optarg ;;
462
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev=libexecdir ;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir=$ac_optarg ;;
469
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev=localstatedir ;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir=$ac_optarg ;;
478
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
480 ac_prev=mandir ;;
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
482 mandir=$ac_optarg ;;
483
484 -nfp | --nfp | --nf)
485 # Obsolete; use --without-fp.
486 with_fp=no ;;
487
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
490 no_create=yes ;;
491
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
494 no_recursion=yes ;;
495
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev=oldincludedir ;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir=$ac_optarg ;;
504
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
506 ac_prev=prefix ;;
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
508 prefix=$ac_optarg ;;
509
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev=program_prefix ;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix=$ac_optarg ;;
516
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev=program_suffix ;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix=$ac_optarg ;;
523
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev=program_transform_name ;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name=$ac_optarg ;;
540
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
543 silent=yes ;;
544
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
546 ac_prev=sbindir ;;
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
548 | --sbi=* | --sb=*)
549 sbindir=$ac_optarg ;;
550
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
554 | --sha | --sh)
555 ac_prev=sharedstatedir ;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
559 | --sha=* | --sh=*)
560 sharedstatedir=$ac_optarg ;;
561
562 -site | --site | --sit)
563 ac_prev=site ;;
564 -site=* | --site=* | --sit=*)
565 site=$ac_optarg ;;
566
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
568 ac_prev=srcdir ;;
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
570 srcdir=$ac_optarg ;;
571
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev=sysconfdir ;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir=$ac_optarg ;;
578
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev=target_alias ;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias=$ac_optarg ;;
583
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
585 verbose=yes ;;
586
587 -version | --version | --versio | --versi | --vers | -V)
588 ac_init_version=: ;;
589
590 -with-* | --with-*)
591 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package=`echo $ac_package| sed 's/-/_/g'`
597 case $ac_option in
598 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 *) ac_optarg=yes ;;
600 esac
601 eval "with_$ac_package='$ac_optarg'" ;;
602
603 -without-* | --without-*)
604 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
611
612 --x)
613 # Obsolete; use --with-x.
614 with_x=yes ;;
615
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev=x_includes ;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes=$ac_optarg ;;
622
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev=x_libraries ;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries=$ac_optarg ;;
629
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
633 ;;
634
635 *=*)
636 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
643 export $ac_envvar ;;
644
645 *)
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 ;;
652
653 esac
654 done
655
656 if test -n "$ac_prev"; then
657 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
660 fi
661
662 # Be sure to have absolute paths.
663 for ac_var in exec_prefix prefix
664 do
665 eval ac_val=$`echo $ac_var`
666 case $ac_val in
667 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
670 esac
671 done
672
673 # Be sure to have absolute paths.
674 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
676 do
677 eval ac_val=$`echo $ac_var`
678 case $ac_val in
679 [\\/$]* | ?:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
682 esac
683 done
684
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
688 build=$build_alias
689 host=$host_alias
690 target=$target_alias
691
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x; then
694 if test "x$build_alias" = x; then
695 cross_compiling=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
699 cross_compiling=yes
700 fi
701 fi
702
703 ac_tool_prefix=
704 test -n "$host_alias" && ac_tool_prefix=$host_alias-
705
706 test "$silent" = yes && exec 6>/dev/null
707
708
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
719 echo X"$0" |
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
724 s/.*/./; q'`
725 srcdir=$ac_confdir
726 if test ! -r $srcdir/$ac_unique_file; then
727 srcdir=..
728 fi
729 else
730 ac_srcdir_defaulted=no
731 fi
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
736 else
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
739 fi
740 fi
741 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set=${build_alias+set}
746 ac_env_build_alias_value=$build_alias
747 ac_cv_env_build_alias_set=${build_alias+set}
748 ac_cv_env_build_alias_value=$build_alias
749 ac_env_host_alias_set=${host_alias+set}
750 ac_env_host_alias_value=$host_alias
751 ac_cv_env_host_alias_set=${host_alias+set}
752 ac_cv_env_host_alias_value=$host_alias
753 ac_env_target_alias_set=${target_alias+set}
754 ac_env_target_alias_value=$target_alias
755 ac_cv_env_target_alias_set=${target_alias+set}
756 ac_cv_env_target_alias_value=$target_alias
757 ac_env_CC_set=${CC+set}
758 ac_env_CC_value=$CC
759 ac_cv_env_CC_set=${CC+set}
760 ac_cv_env_CC_value=$CC
761 ac_env_CFLAGS_set=${CFLAGS+set}
762 ac_env_CFLAGS_value=$CFLAGS
763 ac_cv_env_CFLAGS_set=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value=$CFLAGS
765 ac_env_LDFLAGS_set=${LDFLAGS+set}
766 ac_env_LDFLAGS_value=$LDFLAGS
767 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value=$LDFLAGS
769 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
773 ac_env_CPP_set=${CPP+set}
774 ac_env_CPP_value=$CPP
775 ac_cv_env_CPP_set=${CPP+set}
776 ac_cv_env_CPP_value=$CPP
777 ac_env_CXX_set=${CXX+set}
778 ac_env_CXX_value=$CXX
779 ac_cv_env_CXX_set=${CXX+set}
780 ac_cv_env_CXX_value=$CXX
781 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
785 ac_env_CXXCPP_set=${CXXCPP+set}
786 ac_env_CXXCPP_value=$CXXCPP
787 ac_cv_env_CXXCPP_set=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value=$CXXCPP
789
790 #
791 # Report the --help message.
792 #
793 if test "$ac_init_help" = "long"; then
794 # Omit some internal or obsolete options to make the list less imposing.
795 # This message is too long to be a string in the A/UX 3.1 sh.
796 cat <<_ACEOF
797 \`configure' configures wxWidgets 2.5.5 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.5:";;
864 esac
865 cat <<\_ACEOF
866
867 Optional Features:
868 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
869 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --disable-gtk2 use GTK+ 1.2 instead of 2.0
876 --enable-gpe use GNOME PDA Environment features if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-compat22 enable wxWidgets 2.2 compatibility
893 --disable-compat24 disable wxWidgets 2.4 compatibility
894 --disable-rpath disable use of rpath for uninstalled builds
895 --enable-intl use internationalization system
896 --enable-config use wxConfig (and derived) classes
897 --enable-protocols use wxProtocol and derived classes
898 --enable-ftp use wxFTP (requires wxProtocol
899 --enable-http use wxHTTP (requires wxProtocol
900 --enable-fileproto use wxFileProto class (requires wxProtocol
901 --enable-sockets use socket/network classes
902 --enable-ole use OLE classes (Win32 only)
903 --enable-dataobj use data object classes
904 --enable-ipc use interprocess communication (wxSocket etc.)
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-arcstream use wxArchive streams
907 --enable-backtrace use wxStackWalker class for getting backtraces
908 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
909 --enable-cmdline use wxCmdLineParser class
910 --enable-datetime use wxDateTime class
911 --enable-debugreport use wxDebugReport class
912 --enable-dialupman use dialup network classes
913 --enable-dynlib use wxLibrary class for DLL loading
914 --enable-dynamicloader use (new) wxDynamicLibrary class
915 --enable-exceptions build exception-safe library
916 --enable-ffile use wxFFile class
917 --enable-file use wxFile class
918 --enable-filesystem use virtual file systems classes
919 --enable-fontmap use font encodings conversion classes
920 --enable-fs_inet use virtual HTTP/FTP filesystems
921 --enable-fs_zip use virtual ZIP filesystems
922 --enable-geometry use geometry class
923 --enable-log use logging system
924 --enable-longlong use wxLongLong class
925 --enable-mimetype use wxMimeTypesManager
926 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
927 --enable-snglinst use wxSingleInstanceChecker class
928 --enable-std_iostreams use standard C++ stream classes
929 --enable-stdpaths use wxStandardPaths class
930 --enable-stopwatch use wxStopWatch class
931 --enable-streams use wxStream etc classes
932 --enable-sysoptions use wxSystemOptions
933 --enable-textbuf use wxTextBuffer class
934 --enable-textfile use wxTextFile class
935 --enable-timer use wxTimer class
936 --enable-unicode compile wxString with Unicode support
937 --enable-sound use wxSound class
938 --enable-mediactrl use wxMediaCtrl class
939 --enable-wxprintfv use wxWidgets implementation of vprintf()
940 --enable-zipstream use wxZip streams
941 --enable-url use wxURL class
942 --enable-protocol use wxProtocol class
943 --enable-protocol-http HTTP support in wxProtocol
944 --enable-protocol-ftp FTP support in wxProtocol
945 --enable-protocol-file FILE support in wxProtocol
946 --enable-threads use threads
947 --enable-docview use document view architecture
948 --enable-help use help subsystem
949 --enable-mshtmlhelp use MS HTML Help (win32)
950 --enable-html use wxHTML sub-library
951 --enable-htmlhelp use wxHTML-based help
952 --enable-xrc use XRC resources sub-library
953 --enable-constraints use layout-constraints system
954 --enable-printarch use printing architecture
955 --enable-mdi use multiple document interface architecture
956 --enable-mdidoc use docview architecture with MDI
957 --enable-loggui use standard GUI logger
958 --enable-logwin use wxLogWindow
959 --enable-logdialog use wxLogDialog
960 --enable-webkit use wxWebKitCtrl (Mac)
961 --enable-postscript use wxPostscriptDC device context (default for gtk+)
962 --enable-prologio not available; see contrib
963 --enable-resources not available; see contrib
964 --enable-clipboard use wxClipboard class
965 --enable-dnd use Drag'n'Drop classes
966 --enable-metafile use win32 metafiles
967 --enable-controls use all usual controls
968 --enable-accel use accelerators
969 --enable-button use wxButton class
970 --enable-bmpbutton use wxBitmapButton class
971 --enable-calendar use wxCalendarCtrl class
972 --enable-caret use wxCaret class
973 --enable-checkbox use wxCheckBox class
974 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
975 --enable-choice use wxChoice class
976 --enable-choicebook use wxChoicebook class
977 --enable-combobox use wxComboBox class
978 --enable-datepick use wxDatePickerCtrl class
979 --enable-display use wxDisplay class
980 --enable-gauge use wxGauge class
981 --enable-grid use wxGrid class
982 --enable-imaglist use wxImageList class
983 --enable-listbook use wxListbook class
984 --enable-listbox use wxListBox class
985 --enable-listctrl use wxListCtrl class
986 --enable-notebook use wxNotebook class
987 --enable-radiobox use wxRadioBox class
988 --enable-radiobtn use wxRadioButton class
989 --enable-sash use wxSashWindow class
990 --enable-scrollbar use wxScrollBar class and scrollable windows
991 --enable-slider use wxSlider class
992 --enable-spinbtn use wxSpinButton class
993 --enable-spinctrl use wxSpinCtrl class
994 --enable-splitter use wxSplitterWindow class
995 --enable-statbmp use wxStaticBitmap class
996 --enable-statbox use wxStaticBox class
997 --enable-statline use wxStaticLine class
998 --enable-stattext use wxStaticText class
999 --enable-statusbar use wxStatusBar class
1000 --enable-tabdialog use wxTabControl class
1001 --enable-textctrl use wxTextCtrl class
1002 --enable-togglebtn use wxToggleButton class
1003 --enable-toolbar use wxToolBar class
1004 --enable-tbarnative use native wxToolBar class
1005 --enable-tbarsmpl use wxToolBarSimple class
1006 --enable-treectrl use wxTreeCtrl class
1007 --enable-tipwindow use wxTipWindow class
1008 --enable-popupwin use wxPopUpWindow class
1009 --enable-commondlg use all common dialogs
1010 --enable-choicedlg use wxChoiceDialog
1011 --enable-coldlg use wxColourDialog
1012 --enable-filedlg use wxFileDialog
1013 --enable-finddlg use wxFindReplaceDialog
1014 --enable-fontdlg use wxFontDialog
1015 --enable-dirdlg use wxDirDialog
1016 --enable-msgdlg use wxMessageDialog
1017 --enable-numberdlg use wxNumberEntryDialog
1018 --enable-splash use wxSplashScreen
1019 --enable-textdlg use wxTextDialog
1020 --enable-tipdlg use startup tips
1021 --enable-progressdlg use wxProgressDialog
1022 --enable-wizarddlg use wxWizard
1023 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1024 --enable-miniframe use wxMiniFrame class
1025 --enable-tooltips use wxToolTip class
1026 --enable-splines use spline drawing code
1027 --enable-validators use wxValidator and derived classes
1028 --enable-busyinfo use wxBusyInfo
1029 --enable-joystick use wxJoystick
1030 --enable-metafiles use wxMetaFile (Windows only)
1031 --enable-dragimage use wxDragImage
1032 --enable-accessibility enable accessibility support
1033 --enable-palette use wxPalette class
1034 --enable-image use wxImage class
1035 --enable-gif use gif images (GIF file format)
1036 --enable-pcx use pcx images (PCX file format)
1037 --enable-iff use iff images (IFF file format)
1038 --enable-pnm use pnm images (PNM file format)
1039 --enable-xpm use xpm images (XPM file format)
1040 --enable-icocur use Windows ICO and CUR formats
1041 --enable-official_build official build of wxWidgets (win32 DLL only)
1042 --enable-vendor=VENDOR vendor name (win32 DLL only)
1043 --disable-largefile omit support for large files
1044 --disable-gtktest do not try to compile and run a test GTK+ program
1045 --disable-gtktest Do not try to compile and run a test GTK program
1046 --disable-sdltest Do not try to compile and run a test SDL program
1047 --enable-omf use OMF object format (OS/2)
1048 --disable-precomp-headers
1049 don't use precompiled headers even if compiler can
1050
1051 Optional Packages:
1052 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1053 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1054 --with-gtk use GTK+
1055 --with-motif use Motif/Lesstif
1056 --with-mac use Mac OS X
1057 --with-cocoa use Cocoa
1058 --with-wine use Wine
1059 --with-msw use MS-Windows
1060 --with-pm use OS/2 Presentation Manager
1061 --with-mgl use SciTech MGL
1062 --with-microwin use MicroWindows
1063 --with-x11 use X11
1064 --with-libpng use libpng (PNG image format)
1065 --with-libjpeg use libjpeg (JPEG file format)
1066 --with-libtiff use libtiff (TIFF file format)
1067 --with-libxpm use libxpm (XPM file format)
1068 --with-libmspack use libmspack (CHM help files loading)
1069 --with-sdl use SDL for audio on Unix
1070 --with-gnomeprint use GNOME print for printing under Unix
1071 --with-opengl use OpenGL (or Mesa)
1072 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1073 --with-regex enable support for wxRegEx class
1074 --with-zlib use zlib for LZW compression
1075 --with-odbc use the IODBC and wxODBC classes
1076 --with-expat enable XML support using expat parser
1077 --with-flavour=NAME specify a name to identify this build
1078 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1079 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1080 --with-x use the X Window System
1081 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1082 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1083 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1084 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1085 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1086
1087 Some influential environment variables:
1088 CC C compiler command
1089 CFLAGS C compiler flags
1090 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1091 nonstandard directory <lib dir>
1092 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1093 headers in a nonstandard directory <include dir>
1094 CPP C preprocessor
1095 CXX C++ compiler command
1096 CXXFLAGS C++ compiler flags
1097 CXXCPP C++ preprocessor
1098
1099 Use these variables to override the choices made by `configure' or to help
1100 it to find libraries and programs with nonstandard names/locations.
1101
1102 Report bugs to <wx-dev@lists.wxwidgets.org>.
1103 _ACEOF
1104 fi
1105
1106 if test "$ac_init_help" = "recursive"; then
1107 # If there are subdirs, report their specific --help.
1108 ac_popdir=`pwd`
1109 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1110 test -d $ac_dir || continue
1111 ac_builddir=.
1112
1113 if test "$ac_dir" != .; then
1114 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1115 # A "../" for each directory in $ac_dir_suffix.
1116 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1117 else
1118 ac_dir_suffix= ac_top_builddir=
1119 fi
1120
1121 case $srcdir in
1122 .) # No --srcdir option. We are building in place.
1123 ac_srcdir=.
1124 if test -z "$ac_top_builddir"; then
1125 ac_top_srcdir=.
1126 else
1127 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1128 fi ;;
1129 [\\/]* | ?:[\\/]* ) # Absolute path.
1130 ac_srcdir=$srcdir$ac_dir_suffix;
1131 ac_top_srcdir=$srcdir ;;
1132 *) # Relative path.
1133 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1134 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1135 esac
1136
1137 # Do not use `cd foo && pwd` to compute absolute paths, because
1138 # the directories may not exist.
1139 case `pwd` in
1140 .) ac_abs_builddir="$ac_dir";;
1141 *)
1142 case "$ac_dir" in
1143 .) ac_abs_builddir=`pwd`;;
1144 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1145 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1146 esac;;
1147 esac
1148 case $ac_abs_builddir in
1149 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1150 *)
1151 case ${ac_top_builddir}. in
1152 .) ac_abs_top_builddir=$ac_abs_builddir;;
1153 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1154 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1155 esac;;
1156 esac
1157 case $ac_abs_builddir in
1158 .) ac_abs_srcdir=$ac_srcdir;;
1159 *)
1160 case $ac_srcdir in
1161 .) ac_abs_srcdir=$ac_abs_builddir;;
1162 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1163 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1164 esac;;
1165 esac
1166 case $ac_abs_builddir in
1167 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1168 *)
1169 case $ac_top_srcdir in
1170 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1171 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1172 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1173 esac;;
1174 esac
1175
1176 cd $ac_dir
1177 # Check for guested configure; otherwise get Cygnus style configure.
1178 if test -f $ac_srcdir/configure.gnu; then
1179 echo
1180 $SHELL $ac_srcdir/configure.gnu --help=recursive
1181 elif test -f $ac_srcdir/configure; then
1182 echo
1183 $SHELL $ac_srcdir/configure --help=recursive
1184 elif test -f $ac_srcdir/configure.ac ||
1185 test -f $ac_srcdir/configure.in; then
1186 echo
1187 $ac_configure --help
1188 else
1189 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1190 fi
1191 cd "$ac_popdir"
1192 done
1193 fi
1194
1195 test -n "$ac_init_help" && exit 0
1196 if $ac_init_version; then
1197 cat <<\_ACEOF
1198 wxWidgets configure 2.5.5
1199 generated by GNU Autoconf 2.59
1200
1201 Copyright (C) 2003 Free Software Foundation, Inc.
1202 This configure script is free software; the Free Software Foundation
1203 gives unlimited permission to copy, distribute and modify it.
1204 _ACEOF
1205 exit 0
1206 fi
1207 exec 5>config.log
1208 cat >&5 <<_ACEOF
1209 This file contains any messages produced by compilers while
1210 running configure, to aid debugging if configure makes a mistake.
1211
1212 It was created by wxWidgets $as_me 2.5.5, which was
1213 generated by GNU Autoconf 2.59. Invocation command line was
1214
1215 $ $0 $@
1216
1217 _ACEOF
1218 {
1219 cat <<_ASUNAME
1220 ## --------- ##
1221 ## Platform. ##
1222 ## --------- ##
1223
1224 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1225 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1226 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1227 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1228 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1229
1230 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1231 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1232
1233 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1234 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1235 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1236 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1237 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1238 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1239 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1240
1241 _ASUNAME
1242
1243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1244 for as_dir in $PATH
1245 do
1246 IFS=$as_save_IFS
1247 test -z "$as_dir" && as_dir=.
1248 echo "PATH: $as_dir"
1249 done
1250
1251 } >&5
1252
1253 cat >&5 <<_ACEOF
1254
1255
1256 ## ----------- ##
1257 ## Core tests. ##
1258 ## ----------- ##
1259
1260 _ACEOF
1261
1262
1263 # Keep a trace of the command line.
1264 # Strip out --no-create and --no-recursion so they do not pile up.
1265 # Strip out --silent because we don't want to record it for future runs.
1266 # Also quote any args containing shell meta-characters.
1267 # Make two passes to allow for proper duplicate-argument suppression.
1268 ac_configure_args=
1269 ac_configure_args0=
1270 ac_configure_args1=
1271 ac_sep=
1272 ac_must_keep_next=false
1273 for ac_pass in 1 2
1274 do
1275 for ac_arg
1276 do
1277 case $ac_arg in
1278 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1279 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1280 | -silent | --silent | --silen | --sile | --sil)
1281 continue ;;
1282 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1283 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1284 esac
1285 case $ac_pass in
1286 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1287 2)
1288 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1289 if test $ac_must_keep_next = true; then
1290 ac_must_keep_next=false # Got value, back to normal.
1291 else
1292 case $ac_arg in
1293 *=* | --config-cache | -C | -disable-* | --disable-* \
1294 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1295 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1296 | -with-* | --with-* | -without-* | --without-* | --x)
1297 case "$ac_configure_args0 " in
1298 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1299 esac
1300 ;;
1301 -* ) ac_must_keep_next=true ;;
1302 esac
1303 fi
1304 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1305 # Get rid of the leading space.
1306 ac_sep=" "
1307 ;;
1308 esac
1309 done
1310 done
1311 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1312 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1313
1314 # When interrupted or exit'd, cleanup temporary files, and complete
1315 # config.log. We remove comments because anyway the quotes in there
1316 # would cause problems or look ugly.
1317 # WARNING: Be sure not to use single quotes in there, as some shells,
1318 # such as our DU 5.0 friend, will then `close' the trap.
1319 trap 'exit_status=$?
1320 # Save into config.log some information that might help in debugging.
1321 {
1322 echo
1323
1324 cat <<\_ASBOX
1325 ## ---------------- ##
1326 ## Cache variables. ##
1327 ## ---------------- ##
1328 _ASBOX
1329 echo
1330 # The following way of writing the cache mishandles newlines in values,
1331 {
1332 (set) 2>&1 |
1333 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1334 *ac_space=\ *)
1335 sed -n \
1336 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1337 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1338 ;;
1339 *)
1340 sed -n \
1341 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1342 ;;
1343 esac;
1344 }
1345 echo
1346
1347 cat <<\_ASBOX
1348 ## ----------------- ##
1349 ## Output variables. ##
1350 ## ----------------- ##
1351 _ASBOX
1352 echo
1353 for ac_var in $ac_subst_vars
1354 do
1355 eval ac_val=$`echo $ac_var`
1356 echo "$ac_var='"'"'$ac_val'"'"'"
1357 done | sort
1358 echo
1359
1360 if test -n "$ac_subst_files"; then
1361 cat <<\_ASBOX
1362 ## ------------- ##
1363 ## Output files. ##
1364 ## ------------- ##
1365 _ASBOX
1366 echo
1367 for ac_var in $ac_subst_files
1368 do
1369 eval ac_val=$`echo $ac_var`
1370 echo "$ac_var='"'"'$ac_val'"'"'"
1371 done | sort
1372 echo
1373 fi
1374
1375 if test -s confdefs.h; then
1376 cat <<\_ASBOX
1377 ## ----------- ##
1378 ## confdefs.h. ##
1379 ## ----------- ##
1380 _ASBOX
1381 echo
1382 sed "/^$/d" confdefs.h | sort
1383 echo
1384 fi
1385 test "$ac_signal" != 0 &&
1386 echo "$as_me: caught signal $ac_signal"
1387 echo "$as_me: exit $exit_status"
1388 } >&5
1389 rm -f core *.core &&
1390 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1391 exit $exit_status
1392 ' 0
1393 for ac_signal in 1 2 13 15; do
1394 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1395 done
1396 ac_signal=0
1397
1398 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1399 rm -rf conftest* confdefs.h
1400 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1401 echo >confdefs.h
1402
1403 # Predefined preprocessor variables.
1404
1405 cat >>confdefs.h <<_ACEOF
1406 #define PACKAGE_NAME "$PACKAGE_NAME"
1407 _ACEOF
1408
1409
1410 cat >>confdefs.h <<_ACEOF
1411 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1412 _ACEOF
1413
1414
1415 cat >>confdefs.h <<_ACEOF
1416 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1417 _ACEOF
1418
1419
1420 cat >>confdefs.h <<_ACEOF
1421 #define PACKAGE_STRING "$PACKAGE_STRING"
1422 _ACEOF
1423
1424
1425 cat >>confdefs.h <<_ACEOF
1426 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1427 _ACEOF
1428
1429
1430 # Let the site file select an alternate cache file if it wants to.
1431 # Prefer explicitly selected file to automatically selected ones.
1432 if test -z "$CONFIG_SITE"; then
1433 if test "x$prefix" != xNONE; then
1434 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1435 else
1436 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1437 fi
1438 fi
1439 for ac_site_file in $CONFIG_SITE; do
1440 if test -r "$ac_site_file"; then
1441 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1442 echo "$as_me: loading site script $ac_site_file" >&6;}
1443 sed 's/^/| /' "$ac_site_file" >&5
1444 . "$ac_site_file"
1445 fi
1446 done
1447
1448 if test -r "$cache_file"; then
1449 # Some versions of bash will fail to source /dev/null (special
1450 # files actually), so we avoid doing that.
1451 if test -f "$cache_file"; then
1452 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1453 echo "$as_me: loading cache $cache_file" >&6;}
1454 case $cache_file in
1455 [\\/]* | ?:[\\/]* ) . $cache_file;;
1456 *) . ./$cache_file;;
1457 esac
1458 fi
1459 else
1460 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1461 echo "$as_me: creating cache $cache_file" >&6;}
1462 >$cache_file
1463 fi
1464
1465 # Check that the precious variables saved in the cache have kept the same
1466 # value.
1467 ac_cache_corrupted=false
1468 for ac_var in `(set) 2>&1 |
1469 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1470 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1471 eval ac_new_set=\$ac_env_${ac_var}_set
1472 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1473 eval ac_new_val="\$ac_env_${ac_var}_value"
1474 case $ac_old_set,$ac_new_set in
1475 set,)
1476 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1477 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1478 ac_cache_corrupted=: ;;
1479 ,set)
1480 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1481 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1482 ac_cache_corrupted=: ;;
1483 ,);;
1484 *)
1485 if test "x$ac_old_val" != "x$ac_new_val"; then
1486 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1487 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1488 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1489 echo "$as_me: former value: $ac_old_val" >&2;}
1490 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1491 echo "$as_me: current value: $ac_new_val" >&2;}
1492 ac_cache_corrupted=:
1493 fi;;
1494 esac
1495 # Pass precious variables to config.status.
1496 if test "$ac_new_set" = set; then
1497 case $ac_new_val in
1498 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1499 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1500 *) ac_arg=$ac_var=$ac_new_val ;;
1501 esac
1502 case " $ac_configure_args " in
1503 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1504 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1505 esac
1506 fi
1507 done
1508 if $ac_cache_corrupted; then
1509 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1510 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1511 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1512 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1513 { (exit 1); exit 1; }; }
1514 fi
1515
1516 ac_ext=c
1517 ac_cpp='$CPP $CPPFLAGS'
1518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551 ac_aux_dir=
1552 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1553 if test -f $ac_dir/install-sh; then
1554 ac_aux_dir=$ac_dir
1555 ac_install_sh="$ac_aux_dir/install-sh -c"
1556 break
1557 elif test -f $ac_dir/install.sh; then
1558 ac_aux_dir=$ac_dir
1559 ac_install_sh="$ac_aux_dir/install.sh -c"
1560 break
1561 elif test -f $ac_dir/shtool; then
1562 ac_aux_dir=$ac_dir
1563 ac_install_sh="$ac_aux_dir/shtool install -c"
1564 break
1565 fi
1566 done
1567 if test -z "$ac_aux_dir"; then
1568 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1569 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1570 { (exit 1); exit 1; }; }
1571 fi
1572 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1573 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1574 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1575
1576 # Make sure we can run config.sub.
1577 $ac_config_sub sun4 >/dev/null 2>&1 ||
1578 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1579 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1580 { (exit 1); exit 1; }; }
1581
1582 echo "$as_me:$LINENO: checking build system type" >&5
1583 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1584 if test "${ac_cv_build+set}" = set; then
1585 echo $ECHO_N "(cached) $ECHO_C" >&6
1586 else
1587 ac_cv_build_alias=$build_alias
1588 test -z "$ac_cv_build_alias" &&
1589 ac_cv_build_alias=`$ac_config_guess`
1590 test -z "$ac_cv_build_alias" &&
1591 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1592 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1593 { (exit 1); exit 1; }; }
1594 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1595 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1596 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1597 { (exit 1); exit 1; }; }
1598
1599 fi
1600 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1601 echo "${ECHO_T}$ac_cv_build" >&6
1602 build=$ac_cv_build
1603 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1604 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1605 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1606
1607
1608 echo "$as_me:$LINENO: checking host system type" >&5
1609 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1610 if test "${ac_cv_host+set}" = set; then
1611 echo $ECHO_N "(cached) $ECHO_C" >&6
1612 else
1613 ac_cv_host_alias=$host_alias
1614 test -z "$ac_cv_host_alias" &&
1615 ac_cv_host_alias=$ac_cv_build_alias
1616 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1617 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1618 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1619 { (exit 1); exit 1; }; }
1620
1621 fi
1622 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1623 echo "${ECHO_T}$ac_cv_host" >&6
1624 host=$ac_cv_host
1625 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1626 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1627 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1628
1629
1630 echo "$as_me:$LINENO: checking target system type" >&5
1631 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1632 if test "${ac_cv_target+set}" = set; then
1633 echo $ECHO_N "(cached) $ECHO_C" >&6
1634 else
1635 ac_cv_target_alias=$target_alias
1636 test "x$ac_cv_target_alias" = "x" &&
1637 ac_cv_target_alias=$ac_cv_host_alias
1638 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1639 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1640 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1641 { (exit 1); exit 1; }; }
1642
1643 fi
1644 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1645 echo "${ECHO_T}$ac_cv_target" >&6
1646 target=$ac_cv_target
1647 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1648 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1649 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1650
1651
1652 # The aliases save the names the user supplied, while $host etc.
1653 # will get canonicalized.
1654 test -n "$target_alias" &&
1655 test "$program_prefix$program_suffix$program_transform_name" = \
1656 NONENONEs,x,x, &&
1657 program_prefix=${target_alias}-
1658
1659
1660
1661 wx_major_version_number=2
1662 wx_minor_version_number=5
1663 wx_release_number=5
1664 wx_subrelease_number=0
1665
1666 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1667 WX_VERSION=$WX_RELEASE.$wx_release_number
1668 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1669
1670 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1671
1672 WX_CURRENT=5
1673 WX_REVISION=0
1674 WX_AGE=5
1675
1676
1677
1678 USE_UNIX=1
1679 USE_OS2=0
1680 USE_WIN32=0
1681 USE_DOS=0
1682 USE_BEOS=0
1683 USE_MAC=0
1684
1685 USE_AIX=
1686 USE_BSD= USE_DARWIN= USE_FREEBSD=
1687 USE_GNU= USE_HPUX=
1688 USE_LINUX=
1689 USE_NETBSD=
1690 USE_OPENBSD=
1691 USE_OSF= USE_SGI=
1692 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1693 USE_ULTRIX=
1694 USE_UNIXWARE=
1695
1696 USE_ALPHA=
1697
1698 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1699
1700 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1701
1702 DEFAULT_wxUSE_COCOA=0
1703 DEFAULT_wxUSE_GTK=0
1704 DEFAULT_wxUSE_MAC=0
1705 DEFAULT_wxUSE_MGL=0
1706 DEFAULT_wxUSE_MICROWIN=0
1707 DEFAULT_wxUSE_MOTIF=0
1708 DEFAULT_wxUSE_MSW=0
1709 DEFAULT_wxUSE_PM=0
1710 DEFAULT_wxUSE_X11=0
1711
1712 DEFAULT_DEFAULT_wxUSE_COCOA=0
1713 DEFAULT_DEFAULT_wxUSE_GTK=0
1714 DEFAULT_DEFAULT_wxUSE_MAC=0
1715 DEFAULT_DEFAULT_wxUSE_MGL=0
1716 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1717 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1718 DEFAULT_DEFAULT_wxUSE_MSW=0
1719 DEFAULT_DEFAULT_wxUSE_PM=0
1720 DEFAULT_DEFAULT_wxUSE_X11=0
1721
1722 PROGRAM_EXT=
1723 SO_SUFFIX=so
1724 SAMPLES_RPATH_FLAG=
1725 SAMPLES_RPATH_POSTLINK=
1726
1727 case "${host}" in
1728 *-hp-hpux* )
1729 USE_HPUX=1
1730 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1731 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1732 SO_SUFFIX=sl
1733 cat >>confdefs.h <<\_ACEOF
1734 #define __HPUX__ 1
1735 _ACEOF
1736
1737 ;;
1738 *-*-linux* )
1739 USE_LINUX=1
1740 cat >>confdefs.h <<\_ACEOF
1741 #define __LINUX__ 1
1742 _ACEOF
1743
1744 TMP=`uname -m`
1745 if test "x$TMP" = "xalpha"; then
1746 USE_ALPHA=1
1747 cat >>confdefs.h <<\_ACEOF
1748 #define __ALPHA__ 1
1749 _ACEOF
1750
1751 fi
1752 DEFAULT_DEFAULT_wxUSE_GTK=1
1753 ;;
1754 *-*-gnu* | *-*-k*bsd*-gnu )
1755 USE_GNU=1
1756 TMP=`uname -m`
1757 if test "x$TMP" = "xalpha"; then
1758 USE_ALPHA=1
1759 cat >>confdefs.h <<\_ACEOF
1760 #define __ALPHA__ 1
1761 _ACEOF
1762
1763 fi
1764 DEFAULT_DEFAULT_wxUSE_GTK=1
1765 ;;
1766 *-*-irix5* | *-*-irix6* )
1767 USE_SGI=1
1768 USE_SVR4=1
1769 cat >>confdefs.h <<\_ACEOF
1770 #define __SGI__ 1
1771 _ACEOF
1772
1773 cat >>confdefs.h <<\_ACEOF
1774 #define __SVR4__ 1
1775 _ACEOF
1776
1777 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1778 ;;
1779 *-*-solaris2* )
1780 USE_SUN=1
1781 USE_SOLARIS=1
1782 USE_SVR4=1
1783 cat >>confdefs.h <<\_ACEOF
1784 #define __SUN__ 1
1785 _ACEOF
1786
1787 cat >>confdefs.h <<\_ACEOF
1788 #define __SOLARIS__ 1
1789 _ACEOF
1790
1791 cat >>confdefs.h <<\_ACEOF
1792 #define __SVR4__ 1
1793 _ACEOF
1794
1795 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1796 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1797 ;;
1798 *-*-sunos4* )
1799 USE_SUN=1
1800 USE_SUNOS=1
1801 USE_BSD=1
1802 cat >>confdefs.h <<\_ACEOF
1803 #define __SUN__ 1
1804 _ACEOF
1805
1806 cat >>confdefs.h <<\_ACEOF
1807 #define __SUNOS__ 1
1808 _ACEOF
1809
1810 cat >>confdefs.h <<\_ACEOF
1811 #define __BSD__ 1
1812 _ACEOF
1813
1814 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1815 ;;
1816 *-*-freebsd*)
1817 USE_BSD=1
1818 USE_FREEBSD=1
1819 cat >>confdefs.h <<\_ACEOF
1820 #define __FREEBSD__ 1
1821 _ACEOF
1822
1823 cat >>confdefs.h <<\_ACEOF
1824 #define __BSD__ 1
1825 _ACEOF
1826
1827 DEFAULT_DEFAULT_wxUSE_GTK=1
1828 ;;
1829 *-*-openbsd*)
1830 USE_BSD=1
1831 USE_OPENBSD=1
1832 cat >>confdefs.h <<\_ACEOF
1833 #define __OPENBSD__ 1
1834 _ACEOF
1835
1836 cat >>confdefs.h <<\_ACEOF
1837 #define __BSD__ 1
1838 _ACEOF
1839
1840 DEFAULT_DEFAULT_wxUSE_GTK=1
1841 ;;
1842 *-*-netbsd*)
1843 USE_BSD=1
1844 USE_NETBSD=1
1845 cat >>confdefs.h <<\_ACEOF
1846 #define __NETBSD__ 1
1847 _ACEOF
1848
1849 cat >>confdefs.h <<\_ACEOF
1850 #define __BSD__ 1
1851 _ACEOF
1852
1853 DEFAULT_DEFAULT_wxUSE_GTK=1
1854 ;;
1855 *-*-osf* )
1856 USE_ALPHA=1
1857 USE_OSF=1
1858 cat >>confdefs.h <<\_ACEOF
1859 #define __ALPHA__ 1
1860 _ACEOF
1861
1862 cat >>confdefs.h <<\_ACEOF
1863 #define __OSF__ 1
1864 _ACEOF
1865
1866 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1867 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1868 ;;
1869 *-*-dgux5* )
1870 USE_ALPHA=1
1871 USE_SVR4=1
1872 cat >>confdefs.h <<\_ACEOF
1873 #define __ALPHA__ 1
1874 _ACEOF
1875
1876 cat >>confdefs.h <<\_ACEOF
1877 #define __SVR4__ 1
1878 _ACEOF
1879
1880 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1881 ;;
1882 *-*-sysv5* )
1883 USE_SYSV=1
1884 USE_SVR4=1
1885 cat >>confdefs.h <<\_ACEOF
1886 #define __SYSV__ 1
1887 _ACEOF
1888
1889 cat >>confdefs.h <<\_ACEOF
1890 #define __SVR4__ 1
1891 _ACEOF
1892
1893 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1894 ;;
1895 *-*-aix* )
1896 USE_AIX=1
1897 USE_SYSV=1
1898 USE_SVR4=1
1899 SO_SUFFIX=a
1900 cat >>confdefs.h <<\_ACEOF
1901 #define __AIX__ 1
1902 _ACEOF
1903
1904 cat >>confdefs.h <<\_ACEOF
1905 #define __SYSV__ 1
1906 _ACEOF
1907
1908 cat >>confdefs.h <<\_ACEOF
1909 #define __SVR4__ 1
1910 _ACEOF
1911
1912 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1913 ;;
1914
1915 *-*-*UnixWare*)
1916 USE_SYSV=1
1917 USE_SVR4=1
1918 USE_UNIXWARE=1
1919 cat >>confdefs.h <<\_ACEOF
1920 #define __UNIXWARE__ 1
1921 _ACEOF
1922
1923 ;;
1924
1925 *-*-cygwin* | *-*-mingw32* )
1926 SO_SUFFIX=dll
1927 PROGRAM_EXT=".exe"
1928 RESCOMP=windres
1929 DEFAULT_DEFAULT_wxUSE_MSW=1
1930 ;;
1931
1932 *-pc-msdosdjgpp )
1933 USE_UNIX=0
1934 USE_DOS=1
1935 cat >>confdefs.h <<\_ACEOF
1936 #define __DOS__ 1
1937 _ACEOF
1938
1939 PROGRAM_EXT=".exe"
1940 DEFAULT_DEFAULT_wxUSE_MGL=1
1941 LIBS="$LIBS -lstdc++"
1942 ;;
1943
1944 *-pc-os2_emx | *-pc-os2-emx )
1945 cat >>confdefs.h <<\_ACEOF
1946 #define __EMX__ 1
1947 _ACEOF
1948
1949 USE_OS2=1
1950 cat >>confdefs.h <<\_ACEOF
1951 #define __OS2__ 1
1952 _ACEOF
1953
1954 PROGRAM_EXT=".exe"
1955 DEFAULT_DEFAULT_wxUSE_PM=1
1956 CXX=gcc
1957 LDFLAGS="$LDFLAGS -Zcrtdll"
1958 ac_executable_extensions=".exe"
1959 export ac_executable_extensions
1960 ac_save_IFS="$IFS"
1961 IFS='\\'
1962 ac_TEMP_PATH=
1963 for ac_dir in $PATH; do
1964 IFS=$ac_save_IFS
1965 if test -z "$ac_TEMP_PATH"; then
1966 ac_TEMP_PATH="$ac_dir"
1967 else
1968 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1969 fi
1970 done
1971 export PATH="$ac_TEMP_PATH"
1972 unset ac_TEMP_PATH
1973 ;;
1974
1975 powerpc-*-darwin* )
1976 USE_BSD=1
1977 USE_DARWIN=1
1978 SO_SUFFIX=dylib
1979 cat >>confdefs.h <<\_ACEOF
1980 #define __BSD__ 1
1981 _ACEOF
1982
1983 cat >>confdefs.h <<\_ACEOF
1984 #define __DARWIN__ 1
1985 _ACEOF
1986
1987 cat >>confdefs.h <<\_ACEOF
1988 #define TARGET_CARBON 1
1989 _ACEOF
1990
1991 DEFAULT_DEFAULT_wxUSE_MAC=1
1992 ;;
1993 powerpc-apple-macos* )
1994 USE_UNIX=0
1995 ac_cv_c_bigendian=yes
1996 SO_SUFFIX=shlib
1997 DEFAULT_DEFAULT_wxUSE_MAC=1
1998 ;;
1999
2000 *-*-beos* )
2001 USE_BEOS=1
2002 cat >>confdefs.h <<\_ACEOF
2003 #define __BEOS__ 1
2004 _ACEOF
2005
2006 ;;
2007
2008 *)
2009 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2010 echo "$as_me: error: unknown system type ${host}." >&2;}
2011 { (exit 1); exit 1; }; }
2012 esac
2013
2014
2015
2016
2017 wx_arg_cache_file="configarg.cache"
2018 echo "loading argument cache $wx_arg_cache_file"
2019 rm -f ${wx_arg_cache_file}.tmp
2020 touch ${wx_arg_cache_file}.tmp
2021 touch ${wx_arg_cache_file}
2022
2023
2024 DEBUG_CONFIGURE=0
2025 if test $DEBUG_CONFIGURE = 1; then
2026 DEFAULT_wxUSE_UNIVERSAL=no
2027 DEFAULT_wxUSE_STL=no
2028
2029 DEFAULT_wxUSE_NANOX=no
2030
2031 DEFAULT_wxUSE_THREADS=yes
2032
2033 DEFAULT_wxUSE_SHARED=yes
2034 DEFAULT_wxUSE_OPTIMISE=no
2035 DEFAULT_wxUSE_PROFILE=no
2036 DEFAULT_wxUSE_NO_DEPS=no
2037 DEFAULT_wxUSE_NO_RTTI=no
2038 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2039 DEFAULT_wxUSE_RPATH=yes
2040 DEFAULT_wxUSE_PERMISSIVE=no
2041 DEFAULT_wxUSE_DEBUG_FLAG=yes
2042 DEFAULT_wxUSE_DEBUG_INFO=yes
2043 DEFAULT_wxUSE_DEBUG_GDB=yes
2044 DEFAULT_wxUSE_MEM_TRACING=no
2045 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2046 DEFAULT_wxUSE_DMALLOC=no
2047 DEFAULT_wxUSE_APPLE_IEEE=no
2048
2049 DEFAULT_wxUSE_EXCEPTIONS=no
2050 DEFAULT_wxUSE_LOG=yes
2051 DEFAULT_wxUSE_LOGWINDOW=no
2052 DEFAULT_wxUSE_LOGGUI=no
2053 DEFAULT_wxUSE_LOGDIALOG=no
2054
2055 DEFAULT_wxUSE_GUI=yes
2056 DEFAULT_wxUSE_CONTROLS=no
2057
2058 DEFAULT_wxUSE_REGEX=no
2059 DEFAULT_wxUSE_XML=no
2060 DEFAULT_wxUSE_EXPAT=no
2061 DEFAULT_wxUSE_ZLIB=no
2062 DEFAULT_wxUSE_LIBPNG=no
2063 DEFAULT_wxUSE_LIBJPEG=no
2064 DEFAULT_wxUSE_LIBTIFF=no
2065 DEFAULT_wxUSE_LIBXPM=no
2066 DEFAULT_wxUSE_LIBMSPACK=no
2067 DEFAULT_wxUSE_LIBSDL=no
2068 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2069 DEFAULT_wxUSE_ODBC=no
2070 DEFAULT_wxUSE_OPENGL=no
2071
2072 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2073 DEFAULT_wxUSE_STACKWALKER=no
2074 DEFAULT_wxUSE_DEBUGREPORT=no
2075 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2076 DEFAULT_wxUSE_STD_IOSTREAM=no
2077 DEFAULT_wxUSE_CMDLINE_PARSER=no
2078 DEFAULT_wxUSE_DATETIME=no
2079 DEFAULT_wxUSE_TIMER=no
2080 DEFAULT_wxUSE_STOPWATCH=no
2081 DEFAULT_wxUSE_FILE=no
2082 DEFAULT_wxUSE_FFILE=no
2083 DEFAULT_wxUSE_STDPATHS=no
2084 DEFAULT_wxUSE_TEXTBUFFER=no
2085 DEFAULT_wxUSE_TEXTFILE=no
2086 DEFAULT_wxUSE_SOUND=no
2087 DEFAULT_wxUSE_MEDIACTRL=no
2088 DEFAULT_wxUSE_DIRECTSHOW=no
2089 DEFAULT_wxUSE_INTL=no
2090 DEFAULT_wxUSE_CONFIG=no
2091 DEFAULT_wxUSE_FONTMAP=no
2092 DEFAULT_wxUSE_STREAMS=no
2093 DEFAULT_wxUSE_SOCKETS=no
2094 DEFAULT_wxUSE_OLE=no
2095 DEFAULT_wxUSE_DATAOBJ=no
2096 DEFAULT_wxUSE_DIALUP_MANAGER=no
2097 DEFAULT_wxUSE_JOYSTICK=no
2098 DEFAULT_wxUSE_DYNLIB_CLASS=no
2099 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2100 DEFAULT_wxUSE_LONGLONG=no
2101 DEFAULT_wxUSE_GEOMETRY=no
2102
2103 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2104 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2105 DEFAULT_wxUSE_POSTSCRIPT=no
2106
2107 DEFAULT_wxUSE_CLIPBOARD=no
2108 DEFAULT_wxUSE_TOOLTIPS=no
2109 DEFAULT_wxUSE_DRAG_AND_DROP=no
2110 DEFAULT_wxUSE_DRAGIMAGE=no
2111 DEFAULT_wxUSE_SPLINES=no
2112
2113 DEFAULT_wxUSE_MDI=no
2114 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2115 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2116 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2117
2118 DEFAULT_wxUSE_RESOURCES=no
2119 DEFAULT_wxUSE_CONSTRAINTS=no
2120 DEFAULT_wxUSE_IPC=no
2121 DEFAULT_wxUSE_HELP=no
2122 DEFAULT_wxUSE_MS_HTML_HELP=no
2123 DEFAULT_wxUSE_WXHTML_HELP=no
2124 DEFAULT_wxUSE_TREELAYOUT=no
2125 DEFAULT_wxUSE_METAFILE=no
2126 DEFAULT_wxUSE_MIMETYPE=no
2127 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2128 DEFAULT_wxUSE_PROTOCOL=no
2129 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2130 DEFAULT_wxUSE_PROTOCOL_FTP=no
2131 DEFAULT_wxUSE_PROTOCOL_FILE=no
2132 DEFAULT_wxUSE_URL=no
2133
2134 DEFAULT_wxUSE_COMMONDLGS=no
2135 DEFAULT_wxUSE_CHOICEDLG=no
2136 DEFAULT_wxUSE_COLOURDLG=no
2137 DEFAULT_wxUSE_DIRDLG=no
2138 DEFAULT_wxUSE_FILEDLG=no
2139 DEFAULT_wxUSE_FINDREPLDLG=no
2140 DEFAULT_wxUSE_FONTDLG=no
2141 DEFAULT_wxUSE_MSGDLG=no
2142 DEFAULT_wxUSE_NUMBERDLG=no
2143 DEFAULT_wxUSE_TEXTDLG=no
2144 DEFAULT_wxUSE_SPLASH=no
2145 DEFAULT_wxUSE_STARTUP_TIPS=no
2146 DEFAULT_wxUSE_PROGRESSDLG=no
2147 DEFAULT_wxUSE_WIZARDDLG=no
2148
2149 DEFAULT_wxUSE_MENUS=no
2150 DEFAULT_wxUSE_MINIFRAME=no
2151 DEFAULT_wxUSE_HTML=no
2152 DEFAULT_wxUSE_XRC=no
2153 DEFAULT_wxUSE_WEBKIT=no
2154 DEFAULT_wxUSE_FILESYSTEM=no
2155 DEFAULT_wxUSE_FS_INET=no
2156 DEFAULT_wxUSE_FS_ZIP=no
2157 DEFAULT_wxUSE_BUSYINFO=no
2158 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2159 DEFAULT_wxUSE_ZIPSTREAM=no
2160 DEFAULT_wxUSE_VALIDATORS=no
2161
2162 DEFAULT_wxUSE_ACCEL=no
2163 DEFAULT_wxUSE_BUTTON=no
2164 DEFAULT_wxUSE_BMPBUTTON=no
2165 DEFAULT_wxUSE_CALCTRL=no
2166 DEFAULT_wxUSE_CARET=no
2167 DEFAULT_wxUSE_CHECKBOX=no
2168 DEFAULT_wxUSE_CHECKLST=no
2169 DEFAULT_wxUSE_CHOICE=no
2170 DEFAULT_wxUSE_CHOICEBOOK=no
2171 DEFAULT_wxUSE_COMBOBOX=no
2172 DEFAULT_wxUSE_DATEPICKCTRL=no
2173 DEFAULT_wxUSE_DISPLAY=no
2174 DEFAULT_wxUSE_GAUGE=no
2175 DEFAULT_wxUSE_GRID=no
2176 DEFAULT_wxUSE_IMAGLIST=no
2177 DEFAULT_wxUSE_LISTBOOK=no
2178 DEFAULT_wxUSE_LISTBOX=no
2179 DEFAULT_wxUSE_LISTCTRL=no
2180 DEFAULT_wxUSE_NOTEBOOK=no
2181 DEFAULT_wxUSE_RADIOBOX=no
2182 DEFAULT_wxUSE_RADIOBTN=no
2183 DEFAULT_wxUSE_SASH=no
2184 DEFAULT_wxUSE_SCROLLBAR=no
2185 DEFAULT_wxUSE_SLIDER=no
2186 DEFAULT_wxUSE_SPINBTN=no
2187 DEFAULT_wxUSE_SPINCTRL=no
2188 DEFAULT_wxUSE_SPLITTER=no
2189 DEFAULT_wxUSE_STATBMP=no
2190 DEFAULT_wxUSE_STATBOX=no
2191 DEFAULT_wxUSE_STATLINE=no
2192 DEFAULT_wxUSE_STATTEXT=no
2193 DEFAULT_wxUSE_STATUSBAR=yes
2194 DEFAULT_wxUSE_TABDIALOG=no
2195 DEFAULT_wxUSE_TEXTCTRL=no
2196 DEFAULT_wxUSE_TOGGLEBTN=no
2197 DEFAULT_wxUSE_TOOLBAR=no
2198 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2199 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2200 DEFAULT_wxUSE_TREECTRL=no
2201 DEFAULT_wxUSE_POPUPWIN=no
2202 DEFAULT_wxUSE_TIPWINDOW=no
2203
2204 DEFAULT_wxUSE_UNICODE=no
2205 DEFAULT_wxUSE_UNICODE_MSLU=no
2206 DEFAULT_wxUSE_WCSRTOMBS=no
2207
2208 DEFAULT_wxUSE_PALETTE=no
2209 DEFAULT_wxUSE_IMAGE=no
2210 DEFAULT_wxUSE_GIF=no
2211 DEFAULT_wxUSE_PCX=no
2212 DEFAULT_wxUSE_PNM=no
2213 DEFAULT_wxUSE_IFF=no
2214 DEFAULT_wxUSE_XPM=no
2215 DEFAULT_wxUSE_ICO_CUR=no
2216 DEFAULT_wxUSE_ACCESSIBILITY=no
2217
2218 DEFAULT_wxUSE_MONOLITHIC=no
2219 DEFAULT_wxUSE_PLUGINS=no
2220 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2221 else
2222 DEFAULT_wxUSE_UNIVERSAL=no
2223 DEFAULT_wxUSE_STL=no
2224
2225 DEFAULT_wxUSE_NANOX=no
2226
2227 DEFAULT_wxUSE_THREADS=yes
2228
2229 DEFAULT_wxUSE_SHARED=yes
2230 DEFAULT_wxUSE_OPTIMISE=yes
2231 DEFAULT_wxUSE_PROFILE=no
2232 DEFAULT_wxUSE_NO_DEPS=no
2233 DEFAULT_wxUSE_NO_RTTI=no
2234 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2235 DEFAULT_wxUSE_RPATH=yes
2236 DEFAULT_wxUSE_PERMISSIVE=no
2237 DEFAULT_wxUSE_DEBUG_FLAG=no
2238 DEFAULT_wxUSE_DEBUG_INFO=no
2239 DEFAULT_wxUSE_DEBUG_GDB=no
2240 DEFAULT_wxUSE_MEM_TRACING=no
2241 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2242 DEFAULT_wxUSE_DMALLOC=no
2243 DEFAULT_wxUSE_APPLE_IEEE=yes
2244
2245 DEFAULT_wxUSE_EXCEPTIONS=yes
2246 DEFAULT_wxUSE_LOG=yes
2247 DEFAULT_wxUSE_LOGWINDOW=yes
2248 DEFAULT_wxUSE_LOGGUI=yes
2249 DEFAULT_wxUSE_LOGDIALOG=yes
2250
2251 DEFAULT_wxUSE_GUI=yes
2252
2253 DEFAULT_wxUSE_REGEX=yes
2254 DEFAULT_wxUSE_XML=yes
2255 DEFAULT_wxUSE_EXPAT=yes
2256 DEFAULT_wxUSE_ZLIB=yes
2257 DEFAULT_wxUSE_LIBPNG=yes
2258 DEFAULT_wxUSE_LIBJPEG=yes
2259 DEFAULT_wxUSE_LIBTIFF=yes
2260 DEFAULT_wxUSE_LIBXPM=yes
2261 DEFAULT_wxUSE_LIBMSPACK=yes
2262 DEFAULT_wxUSE_LIBSDL=no
2263 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2264 DEFAULT_wxUSE_ODBC=no
2265 DEFAULT_wxUSE_OPENGL=no
2266
2267 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2268 DEFAULT_wxUSE_STACKWALKER=yes
2269 DEFAULT_wxUSE_DEBUGREPORT=yes
2270 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2271 DEFAULT_wxUSE_STD_IOSTREAM=no
2272 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2273 DEFAULT_wxUSE_DATETIME=yes
2274 DEFAULT_wxUSE_TIMER=yes
2275 DEFAULT_wxUSE_STOPWATCH=yes
2276 DEFAULT_wxUSE_FILE=yes
2277 DEFAULT_wxUSE_FFILE=yes
2278 DEFAULT_wxUSE_STDPATHS=yes
2279 DEFAULT_wxUSE_TEXTBUFFER=yes
2280 DEFAULT_wxUSE_TEXTFILE=yes
2281 DEFAULT_wxUSE_SOUND=yes
2282 DEFAULT_wxUSE_MEDIACTRL=no
2283 DEFAULT_wxUSE_DIRECTSHOW=no
2284 DEFAULT_wxUSE_INTL=yes
2285 DEFAULT_wxUSE_CONFIG=yes
2286 DEFAULT_wxUSE_FONTMAP=yes
2287 DEFAULT_wxUSE_STREAMS=yes
2288 DEFAULT_wxUSE_SOCKETS=yes
2289 DEFAULT_wxUSE_OLE=yes
2290 DEFAULT_wxUSE_DATAOBJ=yes
2291 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2292 DEFAULT_wxUSE_JOYSTICK=yes
2293 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2294 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2295 DEFAULT_wxUSE_LONGLONG=yes
2296 DEFAULT_wxUSE_GEOMETRY=yes
2297
2298 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2299 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2300 DEFAULT_wxUSE_POSTSCRIPT=yes
2301
2302 DEFAULT_wxUSE_CLIPBOARD=yes
2303 DEFAULT_wxUSE_TOOLTIPS=yes
2304 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2305 DEFAULT_wxUSE_DRAGIMAGE=yes
2306 DEFAULT_wxUSE_SPLINES=yes
2307
2308 DEFAULT_wxUSE_MDI=yes
2309 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2310 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2311 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2312
2313 DEFAULT_wxUSE_RESOURCES=no
2314 DEFAULT_wxUSE_CONSTRAINTS=yes
2315 DEFAULT_wxUSE_IPC=yes
2316 DEFAULT_wxUSE_HELP=yes
2317 DEFAULT_wxUSE_MS_HTML_HELP=yes
2318 DEFAULT_wxUSE_WXHTML_HELP=yes
2319 DEFAULT_wxUSE_TREELAYOUT=yes
2320 DEFAULT_wxUSE_METAFILE=yes
2321 DEFAULT_wxUSE_MIMETYPE=yes
2322 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2323 DEFAULT_wxUSE_PROTOCOL=yes
2324 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2325 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2326 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2327 DEFAULT_wxUSE_URL=yes
2328
2329 DEFAULT_wxUSE_COMMONDLGS=yes
2330 DEFAULT_wxUSE_CHOICEDLG=yes
2331 DEFAULT_wxUSE_COLOURDLG=yes
2332 DEFAULT_wxUSE_DIRDLG=yes
2333 DEFAULT_wxUSE_FILEDLG=yes
2334 DEFAULT_wxUSE_FINDREPLDLG=yes
2335 DEFAULT_wxUSE_FONTDLG=yes
2336 DEFAULT_wxUSE_MSGDLG=yes
2337 DEFAULT_wxUSE_NUMBERDLG=yes
2338 DEFAULT_wxUSE_TEXTDLG=yes
2339 DEFAULT_wxUSE_SPLASH=yes
2340 DEFAULT_wxUSE_STARTUP_TIPS=yes
2341 DEFAULT_wxUSE_PROGRESSDLG=yes
2342 DEFAULT_wxUSE_WIZARDDLG=yes
2343
2344 DEFAULT_wxUSE_MENUS=yes
2345 DEFAULT_wxUSE_MINIFRAME=yes
2346 DEFAULT_wxUSE_HTML=yes
2347 DEFAULT_wxUSE_XRC=yes
2348 DEFAULT_wxUSE_WEBKIT=yes
2349 DEFAULT_wxUSE_FILESYSTEM=yes
2350 DEFAULT_wxUSE_FS_INET=yes
2351 DEFAULT_wxUSE_FS_ZIP=yes
2352 DEFAULT_wxUSE_BUSYINFO=yes
2353 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2354 DEFAULT_wxUSE_ZIPSTREAM=yes
2355 DEFAULT_wxUSE_VALIDATORS=yes
2356
2357 DEFAULT_wxUSE_ACCEL=yes
2358 DEFAULT_wxUSE_BUTTON=yes
2359 DEFAULT_wxUSE_BMPBUTTON=yes
2360 DEFAULT_wxUSE_CALCTRL=yes
2361 DEFAULT_wxUSE_CARET=yes
2362 DEFAULT_wxUSE_CHECKBOX=yes
2363 DEFAULT_wxUSE_CHECKLST=yes
2364 DEFAULT_wxUSE_CHOICE=yes
2365 DEFAULT_wxUSE_CHOICEBOOK=yes
2366 DEFAULT_wxUSE_COMBOBOX=yes
2367 DEFAULT_wxUSE_DATEPICKCTRL=yes
2368 DEFAULT_wxUSE_DISPLAY=yes
2369 DEFAULT_wxUSE_GAUGE=yes
2370 DEFAULT_wxUSE_GRID=yes
2371 DEFAULT_wxUSE_IMAGLIST=yes
2372 DEFAULT_wxUSE_LISTBOOK=yes
2373 DEFAULT_wxUSE_LISTBOX=yes
2374 DEFAULT_wxUSE_LISTCTRL=yes
2375 DEFAULT_wxUSE_NOTEBOOK=yes
2376 DEFAULT_wxUSE_RADIOBOX=yes
2377 DEFAULT_wxUSE_RADIOBTN=yes
2378 DEFAULT_wxUSE_SASH=yes
2379 DEFAULT_wxUSE_SCROLLBAR=yes
2380 DEFAULT_wxUSE_SLIDER=yes
2381 DEFAULT_wxUSE_SPINBTN=yes
2382 DEFAULT_wxUSE_SPINCTRL=yes
2383 DEFAULT_wxUSE_SPLITTER=yes
2384 DEFAULT_wxUSE_STATBMP=yes
2385 DEFAULT_wxUSE_STATBOX=yes
2386 DEFAULT_wxUSE_STATLINE=yes
2387 DEFAULT_wxUSE_STATTEXT=yes
2388 DEFAULT_wxUSE_STATUSBAR=yes
2389 DEFAULT_wxUSE_TABDIALOG=no
2390 DEFAULT_wxUSE_TEXTCTRL=yes
2391 DEFAULT_wxUSE_TOGGLEBTN=yes
2392 DEFAULT_wxUSE_TOOLBAR=yes
2393 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2394 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2395 DEFAULT_wxUSE_TREECTRL=yes
2396 DEFAULT_wxUSE_POPUPWIN=yes
2397 DEFAULT_wxUSE_TIPWINDOW=yes
2398
2399 DEFAULT_wxUSE_UNICODE=no
2400 DEFAULT_wxUSE_UNICODE_MSLU=yes
2401 DEFAULT_wxUSE_WCSRTOMBS=no
2402
2403 DEFAULT_wxUSE_PALETTE=yes
2404 DEFAULT_wxUSE_IMAGE=yes
2405 DEFAULT_wxUSE_GIF=yes
2406 DEFAULT_wxUSE_PCX=yes
2407 DEFAULT_wxUSE_IFF=no
2408 DEFAULT_wxUSE_PNM=yes
2409 DEFAULT_wxUSE_XPM=yes
2410 DEFAULT_wxUSE_ICO_CUR=yes
2411 DEFAULT_wxUSE_ACCESSIBILITY=no
2412
2413 DEFAULT_wxUSE_MONOLITHIC=no
2414 DEFAULT_wxUSE_PLUGINS=no
2415 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2416
2417 DEFAULT_wxUSE_GTK2=yes
2418 fi
2419
2420
2421
2422 for toolkit in `echo $ALL_TOOLKITS`; do
2423 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2424 if test "x$LINE" != "x" ; then
2425 has_toolkit_in_cache=1
2426 eval "DEFAULT_$LINE"
2427 eval "CACHE_$toolkit=1"
2428 fi
2429 done
2430
2431
2432
2433 enablestring=
2434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2435 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2436 no_cache=0
2437 # Check whether --enable-gui or --disable-gui was given.
2438 if test "${enable_gui+set}" = set; then
2439 enableval="$enable_gui"
2440
2441 if test "$enableval" = yes; then
2442 ac_cv_use_gui='wxUSE_GUI=yes'
2443 else
2444 ac_cv_use_gui='wxUSE_GUI=no'
2445 fi
2446
2447 else
2448
2449 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2450 if test "x$LINE" != x ; then
2451 eval "DEFAULT_$LINE"
2452 else
2453 no_cache=1
2454 fi
2455
2456 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2457
2458 fi;
2459
2460 eval "$ac_cv_use_gui"
2461 if test "$no_cache" != 1; then
2462 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2463 fi
2464
2465 if test "$wxUSE_GUI" = yes; then
2466 echo "$as_me:$LINENO: result: yes" >&5
2467 echo "${ECHO_T}yes" >&6
2468 else
2469 echo "$as_me:$LINENO: result: no" >&5
2470 echo "${ECHO_T}no" >&6
2471 fi
2472
2473
2474 enablestring=
2475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2476 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2477 no_cache=0
2478 # Check whether --enable-monolithic or --disable-monolithic was given.
2479 if test "${enable_monolithic+set}" = set; then
2480 enableval="$enable_monolithic"
2481
2482 if test "$enableval" = yes; then
2483 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2484 else
2485 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2486 fi
2487
2488 else
2489
2490 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2491 if test "x$LINE" != x ; then
2492 eval "DEFAULT_$LINE"
2493 else
2494 no_cache=1
2495 fi
2496
2497 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2498
2499 fi;
2500
2501 eval "$ac_cv_use_monolithic"
2502 if test "$no_cache" != 1; then
2503 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2504 fi
2505
2506 if test "$wxUSE_MONOLITHIC" = yes; then
2507 echo "$as_me:$LINENO: result: yes" >&5
2508 echo "${ECHO_T}yes" >&6
2509 else
2510 echo "$as_me:$LINENO: result: no" >&5
2511 echo "${ECHO_T}no" >&6
2512 fi
2513
2514
2515 enablestring=
2516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2517 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2518 no_cache=0
2519 # Check whether --enable-plugins or --disable-plugins was given.
2520 if test "${enable_plugins+set}" = set; then
2521 enableval="$enable_plugins"
2522
2523 if test "$enableval" = yes; then
2524 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2525 else
2526 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2527 fi
2528
2529 else
2530
2531 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2532 if test "x$LINE" != x ; then
2533 eval "DEFAULT_$LINE"
2534 else
2535 no_cache=1
2536 fi
2537
2538 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2539
2540 fi;
2541
2542 eval "$ac_cv_use_plugins"
2543 if test "$no_cache" != 1; then
2544 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2545 fi
2546
2547 if test "$wxUSE_PLUGINS" = yes; then
2548 echo "$as_me:$LINENO: result: yes" >&5
2549 echo "${ECHO_T}yes" >&6
2550 else
2551 echo "$as_me:$LINENO: result: no" >&5
2552 echo "${ECHO_T}no" >&6
2553 fi
2554
2555
2556 if test "$wxUSE_GUI" = "yes"; then
2557
2558
2559 enablestring=
2560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2561 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2562 no_cache=0
2563 # Check whether --enable-universal or --disable-universal was given.
2564 if test "${enable_universal+set}" = set; then
2565 enableval="$enable_universal"
2566
2567 if test "$enableval" = yes; then
2568 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2569 else
2570 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2571 fi
2572
2573 else
2574
2575 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2576 if test "x$LINE" != x ; then
2577 eval "DEFAULT_$LINE"
2578 else
2579 no_cache=1
2580 fi
2581
2582 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2583
2584 fi;
2585
2586 eval "$ac_cv_use_universal"
2587 if test "$no_cache" != 1; then
2588 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2589 fi
2590
2591 if test "$wxUSE_UNIVERSAL" = yes; then
2592 echo "$as_me:$LINENO: result: yes" >&5
2593 echo "${ECHO_T}yes" >&6
2594 else
2595 echo "$as_me:$LINENO: result: no" >&5
2596 echo "${ECHO_T}no" >&6
2597 fi
2598
2599
2600 # Check whether --with-gtk or --without-gtk was given.
2601 if test "${with_gtk+set}" = set; then
2602 withval="$with_gtk"
2603 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2604 fi;
2605
2606 # Check whether --with-motif or --without-motif was given.
2607 if test "${with_motif+set}" = set; then
2608 withval="$with_motif"
2609 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2610 fi;
2611
2612 # Check whether --with-mac or --without-mac was given.
2613 if test "${with_mac+set}" = set; then
2614 withval="$with_mac"
2615 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2616 fi;
2617
2618 # Check whether --with-cocoa or --without-cocoa was given.
2619 if test "${with_cocoa+set}" = set; then
2620 withval="$with_cocoa"
2621 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2622 fi;
2623
2624 # Check whether --with-wine or --without-wine was given.
2625 if test "${with_wine+set}" = set; then
2626 withval="$with_wine"
2627 wxUSE_WINE="$withval" CACHE_WINE=1
2628 fi;
2629
2630 # Check whether --with-msw or --without-msw was given.
2631 if test "${with_msw+set}" = set; then
2632 withval="$with_msw"
2633 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2634 fi;
2635
2636 # Check whether --with-pm or --without-pm was given.
2637 if test "${with_pm+set}" = set; then
2638 withval="$with_pm"
2639 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2640 fi;
2641
2642 # Check whether --with-mgl or --without-mgl was given.
2643 if test "${with_mgl+set}" = set; then
2644 withval="$with_mgl"
2645 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2646 fi;
2647
2648 # Check whether --with-microwin or --without-microwin was given.
2649 if test "${with_microwin+set}" = set; then
2650 withval="$with_microwin"
2651 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2652 fi;
2653
2654 # Check whether --with-x11 or --without-x11 was given.
2655 if test "${with_x11+set}" = set; then
2656 withval="$with_x11"
2657 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2658 fi;
2659
2660 enablestring=
2661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2662 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2663 no_cache=0
2664 # Check whether --enable-nanox or --disable-nanox was given.
2665 if test "${enable_nanox+set}" = set; then
2666 enableval="$enable_nanox"
2667
2668 if test "$enableval" = yes; then
2669 ac_cv_use_nanox='wxUSE_NANOX=yes'
2670 else
2671 ac_cv_use_nanox='wxUSE_NANOX=no'
2672 fi
2673
2674 else
2675
2676 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2677 if test "x$LINE" != x ; then
2678 eval "DEFAULT_$LINE"
2679 else
2680 no_cache=1
2681 fi
2682
2683 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2684
2685 fi;
2686
2687 eval "$ac_cv_use_nanox"
2688 if test "$no_cache" != 1; then
2689 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2690 fi
2691
2692 if test "$wxUSE_NANOX" = yes; then
2693 echo "$as_me:$LINENO: result: yes" >&5
2694 echo "${ECHO_T}yes" >&6
2695 else
2696 echo "$as_me:$LINENO: result: no" >&5
2697 echo "${ECHO_T}no" >&6
2698 fi
2699
2700
2701
2702 enablestring=
2703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2704 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2705 no_cache=0
2706 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2707 if test "${enable_gtk2+set}" = set; then
2708 enableval="$enable_gtk2"
2709
2710 if test "$enableval" = yes; then
2711 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2712 else
2713 ac_cv_use_gtk2='wxUSE_GTK2=no'
2714 fi
2715
2716 else
2717
2718 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2719 if test "x$LINE" != x ; then
2720 eval "DEFAULT_$LINE"
2721 else
2722 no_cache=1
2723 fi
2724
2725 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2726
2727 fi;
2728
2729 eval "$ac_cv_use_gtk2"
2730 if test "$no_cache" != 1; then
2731 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2732 fi
2733
2734 if test "$wxUSE_GTK2" = yes; then
2735 echo "$as_me:$LINENO: result: yes" >&5
2736 echo "${ECHO_T}yes" >&6
2737 else
2738 echo "$as_me:$LINENO: result: no" >&5
2739 echo "${ECHO_T}no" >&6
2740 fi
2741
2742
2743 enablestring=
2744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2745 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2746 no_cache=0
2747 # Check whether --enable-gpe or --disable-gpe was given.
2748 if test "${enable_gpe+set}" = set; then
2749 enableval="$enable_gpe"
2750
2751 if test "$enableval" = yes; then
2752 ac_cv_use_gpe='wxUSE_GPE=yes'
2753 else
2754 ac_cv_use_gpe='wxUSE_GPE=no'
2755 fi
2756
2757 else
2758
2759 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2760 if test "x$LINE" != x ; then
2761 eval "DEFAULT_$LINE"
2762 else
2763 no_cache=1
2764 fi
2765
2766 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2767
2768 fi;
2769
2770 eval "$ac_cv_use_gpe"
2771 if test "$no_cache" != 1; then
2772 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2773 fi
2774
2775 if test "$wxUSE_GPE" = yes; then
2776 echo "$as_me:$LINENO: result: yes" >&5
2777 echo "${ECHO_T}yes" >&6
2778 else
2779 echo "$as_me:$LINENO: result: no" >&5
2780 echo "${ECHO_T}no" >&6
2781 fi
2782
2783
2784
2785 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2786 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2787 no_cache=0
2788
2789 # Check whether --with-libpng or --without-libpng was given.
2790 if test "${with_libpng+set}" = set; then
2791 withval="$with_libpng"
2792
2793 if test "$withval" = yes; then
2794 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2795 elif test "$withval" = no; then
2796 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2797 elif test "$withval" = sys; then
2798 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2799 elif test "$withval" = builtin; then
2800 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2801 else
2802 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2803 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2804 { (exit 1); exit 1; }; }
2805 fi
2806
2807 else
2808
2809 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2810 if test "x$LINE" != x ; then
2811 eval "DEFAULT_$LINE"
2812 else
2813 no_cache=1
2814 fi
2815
2816 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2817
2818 fi;
2819
2820 eval "$ac_cv_use_libpng"
2821 if test "$no_cache" != 1; then
2822 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2823 fi
2824
2825 if test "$wxUSE_LIBPNG" = yes; then
2826 echo "$as_me:$LINENO: result: yes" >&5
2827 echo "${ECHO_T}yes" >&6
2828 elif test "$wxUSE_LIBPNG" = no; then
2829 echo "$as_me:$LINENO: result: no" >&5
2830 echo "${ECHO_T}no" >&6
2831 elif test "$wxUSE_LIBPNG" = sys; then
2832 echo "$as_me:$LINENO: result: system version" >&5
2833 echo "${ECHO_T}system version" >&6
2834 elif test "$wxUSE_LIBPNG" = builtin; then
2835 echo "$as_me:$LINENO: result: builtin version" >&5
2836 echo "${ECHO_T}builtin version" >&6
2837 else
2838 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2839 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2840 { (exit 1); exit 1; }; }
2841 fi
2842
2843
2844 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2845 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2846 no_cache=0
2847
2848 # Check whether --with-libjpeg or --without-libjpeg was given.
2849 if test "${with_libjpeg+set}" = set; then
2850 withval="$with_libjpeg"
2851
2852 if test "$withval" = yes; then
2853 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2854 elif test "$withval" = no; then
2855 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2856 elif test "$withval" = sys; then
2857 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2858 elif test "$withval" = builtin; then
2859 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2860 else
2861 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2862 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2863 { (exit 1); exit 1; }; }
2864 fi
2865
2866 else
2867
2868 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2869 if test "x$LINE" != x ; then
2870 eval "DEFAULT_$LINE"
2871 else
2872 no_cache=1
2873 fi
2874
2875 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2876
2877 fi;
2878
2879 eval "$ac_cv_use_libjpeg"
2880 if test "$no_cache" != 1; then
2881 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2882 fi
2883
2884 if test "$wxUSE_LIBJPEG" = yes; then
2885 echo "$as_me:$LINENO: result: yes" >&5
2886 echo "${ECHO_T}yes" >&6
2887 elif test "$wxUSE_LIBJPEG" = no; then
2888 echo "$as_me:$LINENO: result: no" >&5
2889 echo "${ECHO_T}no" >&6
2890 elif test "$wxUSE_LIBJPEG" = sys; then
2891 echo "$as_me:$LINENO: result: system version" >&5
2892 echo "${ECHO_T}system version" >&6
2893 elif test "$wxUSE_LIBJPEG" = builtin; then
2894 echo "$as_me:$LINENO: result: builtin version" >&5
2895 echo "${ECHO_T}builtin version" >&6
2896 else
2897 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2898 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2899 { (exit 1); exit 1; }; }
2900 fi
2901
2902
2903 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2904 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2905 no_cache=0
2906
2907 # Check whether --with-libtiff or --without-libtiff was given.
2908 if test "${with_libtiff+set}" = set; then
2909 withval="$with_libtiff"
2910
2911 if test "$withval" = yes; then
2912 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2913 elif test "$withval" = no; then
2914 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2915 elif test "$withval" = sys; then
2916 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2917 elif test "$withval" = builtin; then
2918 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2919 else
2920 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2921 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2922 { (exit 1); exit 1; }; }
2923 fi
2924
2925 else
2926
2927 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2928 if test "x$LINE" != x ; then
2929 eval "DEFAULT_$LINE"
2930 else
2931 no_cache=1
2932 fi
2933
2934 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2935
2936 fi;
2937
2938 eval "$ac_cv_use_libtiff"
2939 if test "$no_cache" != 1; then
2940 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2941 fi
2942
2943 if test "$wxUSE_LIBTIFF" = yes; then
2944 echo "$as_me:$LINENO: result: yes" >&5
2945 echo "${ECHO_T}yes" >&6
2946 elif test "$wxUSE_LIBTIFF" = no; then
2947 echo "$as_me:$LINENO: result: no" >&5
2948 echo "${ECHO_T}no" >&6
2949 elif test "$wxUSE_LIBTIFF" = sys; then
2950 echo "$as_me:$LINENO: result: system version" >&5
2951 echo "${ECHO_T}system version" >&6
2952 elif test "$wxUSE_LIBTIFF" = builtin; then
2953 echo "$as_me:$LINENO: result: builtin version" >&5
2954 echo "${ECHO_T}builtin version" >&6
2955 else
2956 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2957 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2958 { (exit 1); exit 1; }; }
2959 fi
2960
2961
2962 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2963 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2964 no_cache=0
2965
2966 # Check whether --with-libxpm or --without-libxpm was given.
2967 if test "${with_libxpm+set}" = set; then
2968 withval="$with_libxpm"
2969
2970 if test "$withval" = yes; then
2971 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
2972 elif test "$withval" = no; then
2973 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
2974 elif test "$withval" = sys; then
2975 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
2976 elif test "$withval" = builtin; then
2977 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
2978 else
2979 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2980 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2981 { (exit 1); exit 1; }; }
2982 fi
2983
2984 else
2985
2986 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2987 if test "x$LINE" != x ; then
2988 eval "DEFAULT_$LINE"
2989 else
2990 no_cache=1
2991 fi
2992
2993 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2994
2995 fi;
2996
2997 eval "$ac_cv_use_libxpm"
2998 if test "$no_cache" != 1; then
2999 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3000 fi
3001
3002 if test "$wxUSE_LIBXPM" = yes; then
3003 echo "$as_me:$LINENO: result: yes" >&5
3004 echo "${ECHO_T}yes" >&6
3005 elif test "$wxUSE_LIBXPM" = no; then
3006 echo "$as_me:$LINENO: result: no" >&5
3007 echo "${ECHO_T}no" >&6
3008 elif test "$wxUSE_LIBXPM" = sys; then
3009 echo "$as_me:$LINENO: result: system version" >&5
3010 echo "${ECHO_T}system version" >&6
3011 elif test "$wxUSE_LIBXPM" = builtin; then
3012 echo "$as_me:$LINENO: result: builtin version" >&5
3013 echo "${ECHO_T}builtin version" >&6
3014 else
3015 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3016 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3017 { (exit 1); exit 1; }; }
3018 fi
3019
3020
3021 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
3022 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3023 no_cache=0
3024
3025 # Check whether --with-libmspack or --without-libmspack was given.
3026 if test "${with_libmspack+set}" = set; then
3027 withval="$with_libmspack"
3028
3029 if test "$withval" = yes; then
3030 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3031 else
3032 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3033 fi
3034
3035 else
3036
3037 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3038 if test "x$LINE" != x ; then
3039 eval "DEFAULT_$LINE"
3040 else
3041 no_cache=1
3042 fi
3043
3044 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3045
3046 fi;
3047
3048 eval "$ac_cv_use_libmspack"
3049 if test "$no_cache" != 1; then
3050 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3051 fi
3052
3053 if test "$wxUSE_LIBMSPACK" = yes; then
3054 echo "$as_me:$LINENO: result: yes" >&5
3055 echo "${ECHO_T}yes" >&6
3056 else
3057 echo "$as_me:$LINENO: result: no" >&5
3058 echo "${ECHO_T}no" >&6
3059 fi
3060
3061
3062 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3063 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3064 no_cache=0
3065
3066 # Check whether --with-sdl or --without-sdl was given.
3067 if test "${with_sdl+set}" = set; then
3068 withval="$with_sdl"
3069
3070 if test "$withval" = yes; then
3071 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3072 else
3073 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3074 fi
3075
3076 else
3077
3078 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3079 if test "x$LINE" != x ; then
3080 eval "DEFAULT_$LINE"
3081 else
3082 no_cache=1
3083 fi
3084
3085 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3086
3087 fi;
3088
3089 eval "$ac_cv_use_sdl"
3090 if test "$no_cache" != 1; then
3091 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3092 fi
3093
3094 if test "$wxUSE_LIBSDL" = yes; then
3095 echo "$as_me:$LINENO: result: yes" >&5
3096 echo "${ECHO_T}yes" >&6
3097 else
3098 echo "$as_me:$LINENO: result: no" >&5
3099 echo "${ECHO_T}no" >&6
3100 fi
3101
3102
3103 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3104 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3105 no_cache=0
3106
3107 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3108 if test "${with_gnomeprint+set}" = set; then
3109 withval="$with_gnomeprint"
3110
3111 if test "$withval" = yes; then
3112 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3113 else
3114 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3115 fi
3116
3117 else
3118
3119 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3120 if test "x$LINE" != x ; then
3121 eval "DEFAULT_$LINE"
3122 else
3123 no_cache=1
3124 fi
3125
3126 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3127
3128 fi;
3129
3130 eval "$ac_cv_use_gnomeprint"
3131 if test "$no_cache" != 1; then
3132 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3133 fi
3134
3135 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3136 echo "$as_me:$LINENO: result: yes" >&5
3137 echo "${ECHO_T}yes" >&6
3138 else
3139 echo "$as_me:$LINENO: result: no" >&5
3140 echo "${ECHO_T}no" >&6
3141 fi
3142
3143
3144 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3145 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3146 no_cache=0
3147
3148 # Check whether --with-opengl or --without-opengl was given.
3149 if test "${with_opengl+set}" = set; then
3150 withval="$with_opengl"
3151
3152 if test "$withval" = yes; then
3153 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3154 else
3155 ac_cv_use_opengl='wxUSE_OPENGL=no'
3156 fi
3157
3158 else
3159
3160 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3161 if test "x$LINE" != x ; then
3162 eval "DEFAULT_$LINE"
3163 else
3164 no_cache=1
3165 fi
3166
3167 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3168
3169 fi;
3170
3171 eval "$ac_cv_use_opengl"
3172 if test "$no_cache" != 1; then
3173 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3174 fi
3175
3176 if test "$wxUSE_OPENGL" = yes; then
3177 echo "$as_me:$LINENO: result: yes" >&5
3178 echo "${ECHO_T}yes" >&6
3179 else
3180 echo "$as_me:$LINENO: result: no" >&5
3181 echo "${ECHO_T}no" >&6
3182 fi
3183
3184
3185 fi
3186
3187
3188 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3189 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3190 no_cache=0
3191
3192 # Check whether --with-dmalloc or --without-dmalloc was given.
3193 if test "${with_dmalloc+set}" = set; then
3194 withval="$with_dmalloc"
3195
3196 if test "$withval" = yes; then
3197 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3198 else
3199 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3200 fi
3201
3202 else
3203
3204 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3205 if test "x$LINE" != x ; then
3206 eval "DEFAULT_$LINE"
3207 else
3208 no_cache=1
3209 fi
3210
3211 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3212
3213 fi;
3214
3215 eval "$ac_cv_use_dmalloc"
3216 if test "$no_cache" != 1; then
3217 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3218 fi
3219
3220 if test "$wxUSE_DMALLOC" = yes; then
3221 echo "$as_me:$LINENO: result: yes" >&5
3222 echo "${ECHO_T}yes" >&6
3223 else
3224 echo "$as_me:$LINENO: result: no" >&5
3225 echo "${ECHO_T}no" >&6
3226 fi
3227
3228
3229 echo "$as_me:$LINENO: checking for --with-regex" >&5
3230 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3231 no_cache=0
3232
3233 # Check whether --with-regex or --without-regex was given.
3234 if test "${with_regex+set}" = set; then
3235 withval="$with_regex"
3236
3237 if test "$withval" = yes; then
3238 ac_cv_use_regex='wxUSE_REGEX=yes'
3239 elif test "$withval" = no; then
3240 ac_cv_use_regex='wxUSE_REGEX=no'
3241 elif test "$withval" = sys; then
3242 ac_cv_use_regex='wxUSE_REGEX=sys'
3243 elif test "$withval" = builtin; then
3244 ac_cv_use_regex='wxUSE_REGEX=builtin'
3245 else
3246 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3247 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3248 { (exit 1); exit 1; }; }
3249 fi
3250
3251 else
3252
3253 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3254 if test "x$LINE" != x ; then
3255 eval "DEFAULT_$LINE"
3256 else
3257 no_cache=1
3258 fi
3259
3260 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3261
3262 fi;
3263
3264 eval "$ac_cv_use_regex"
3265 if test "$no_cache" != 1; then
3266 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3267 fi
3268
3269 if test "$wxUSE_REGEX" = yes; then
3270 echo "$as_me:$LINENO: result: yes" >&5
3271 echo "${ECHO_T}yes" >&6
3272 elif test "$wxUSE_REGEX" = no; then
3273 echo "$as_me:$LINENO: result: no" >&5
3274 echo "${ECHO_T}no" >&6
3275 elif test "$wxUSE_REGEX" = sys; then
3276 echo "$as_me:$LINENO: result: system version" >&5
3277 echo "${ECHO_T}system version" >&6
3278 elif test "$wxUSE_REGEX" = builtin; then
3279 echo "$as_me:$LINENO: result: builtin version" >&5
3280 echo "${ECHO_T}builtin version" >&6
3281 else
3282 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3283 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3284 { (exit 1); exit 1; }; }
3285 fi
3286
3287
3288 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3289 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3290 no_cache=0
3291
3292 # Check whether --with-zlib or --without-zlib was given.
3293 if test "${with_zlib+set}" = set; then
3294 withval="$with_zlib"
3295
3296 if test "$withval" = yes; then
3297 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3298 elif test "$withval" = no; then
3299 ac_cv_use_zlib='wxUSE_ZLIB=no'
3300 elif test "$withval" = sys; then
3301 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3302 elif test "$withval" = builtin; then
3303 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3304 else
3305 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3306 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3307 { (exit 1); exit 1; }; }
3308 fi
3309
3310 else
3311
3312 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3313 if test "x$LINE" != x ; then
3314 eval "DEFAULT_$LINE"
3315 else
3316 no_cache=1
3317 fi
3318
3319 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3320
3321 fi;
3322
3323 eval "$ac_cv_use_zlib"
3324 if test "$no_cache" != 1; then
3325 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3326 fi
3327
3328 if test "$wxUSE_ZLIB" = yes; then
3329 echo "$as_me:$LINENO: result: yes" >&5
3330 echo "${ECHO_T}yes" >&6
3331 elif test "$wxUSE_ZLIB" = no; then
3332 echo "$as_me:$LINENO: result: no" >&5
3333 echo "${ECHO_T}no" >&6
3334 elif test "$wxUSE_ZLIB" = sys; then
3335 echo "$as_me:$LINENO: result: system version" >&5
3336 echo "${ECHO_T}system version" >&6
3337 elif test "$wxUSE_ZLIB" = builtin; then
3338 echo "$as_me:$LINENO: result: builtin version" >&5
3339 echo "${ECHO_T}builtin version" >&6
3340 else
3341 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3342 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3343 { (exit 1); exit 1; }; }
3344 fi
3345
3346
3347 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3348 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3349 no_cache=0
3350
3351 # Check whether --with-odbc or --without-odbc was given.
3352 if test "${with_odbc+set}" = set; then
3353 withval="$with_odbc"
3354
3355 if test "$withval" = yes; then
3356 ac_cv_use_odbc='wxUSE_ODBC=yes'
3357 elif test "$withval" = no; then
3358 ac_cv_use_odbc='wxUSE_ODBC=no'
3359 elif test "$withval" = sys; then
3360 ac_cv_use_odbc='wxUSE_ODBC=sys'
3361 elif test "$withval" = builtin; then
3362 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3363 else
3364 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3365 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3366 { (exit 1); exit 1; }; }
3367 fi
3368
3369 else
3370
3371 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3372 if test "x$LINE" != x ; then
3373 eval "DEFAULT_$LINE"
3374 else
3375 no_cache=1
3376 fi
3377
3378 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3379
3380 fi;
3381
3382 eval "$ac_cv_use_odbc"
3383 if test "$no_cache" != 1; then
3384 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3385 fi
3386
3387 if test "$wxUSE_ODBC" = yes; then
3388 echo "$as_me:$LINENO: result: yes" >&5
3389 echo "${ECHO_T}yes" >&6
3390 elif test "$wxUSE_ODBC" = no; then
3391 echo "$as_me:$LINENO: result: no" >&5
3392 echo "${ECHO_T}no" >&6
3393 elif test "$wxUSE_ODBC" = sys; then
3394 echo "$as_me:$LINENO: result: system version" >&5
3395 echo "${ECHO_T}system version" >&6
3396 elif test "$wxUSE_ODBC" = builtin; then
3397 echo "$as_me:$LINENO: result: builtin version" >&5
3398 echo "${ECHO_T}builtin version" >&6
3399 else
3400 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3401 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3402 { (exit 1); exit 1; }; }
3403 fi
3404
3405
3406 echo "$as_me:$LINENO: checking for --with-expat" >&5
3407 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3408 no_cache=0
3409
3410 # Check whether --with-expat or --without-expat was given.
3411 if test "${with_expat+set}" = set; then
3412 withval="$with_expat"
3413
3414 if test "$withval" = yes; then
3415 ac_cv_use_expat='wxUSE_EXPAT=yes'
3416 elif test "$withval" = no; then
3417 ac_cv_use_expat='wxUSE_EXPAT=no'
3418 elif test "$withval" = sys; then
3419 ac_cv_use_expat='wxUSE_EXPAT=sys'
3420 elif test "$withval" = builtin; then
3421 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3422 else
3423 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3424 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3425 { (exit 1); exit 1; }; }
3426 fi
3427
3428 else
3429
3430 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3431 if test "x$LINE" != x ; then
3432 eval "DEFAULT_$LINE"
3433 else
3434 no_cache=1
3435 fi
3436
3437 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3438
3439 fi;
3440
3441 eval "$ac_cv_use_expat"
3442 if test "$no_cache" != 1; then
3443 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3444 fi
3445
3446 if test "$wxUSE_EXPAT" = yes; then
3447 echo "$as_me:$LINENO: result: yes" >&5
3448 echo "${ECHO_T}yes" >&6
3449 elif test "$wxUSE_EXPAT" = no; then
3450 echo "$as_me:$LINENO: result: no" >&5
3451 echo "${ECHO_T}no" >&6
3452 elif test "$wxUSE_EXPAT" = sys; then
3453 echo "$as_me:$LINENO: result: system version" >&5
3454 echo "${ECHO_T}system version" >&6
3455 elif test "$wxUSE_EXPAT" = builtin; then
3456 echo "$as_me:$LINENO: result: builtin version" >&5
3457 echo "${ECHO_T}builtin version" >&6
3458 else
3459 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3460 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3461 { (exit 1); exit 1; }; }
3462 fi
3463
3464
3465
3466
3467 enablestring=
3468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3469 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3470 no_cache=0
3471 # Check whether --enable-shared or --disable-shared was given.
3472 if test "${enable_shared+set}" = set; then
3473 enableval="$enable_shared"
3474
3475 if test "$enableval" = yes; then
3476 ac_cv_use_shared='wxUSE_SHARED=yes'
3477 else
3478 ac_cv_use_shared='wxUSE_SHARED=no'
3479 fi
3480
3481 else
3482
3483 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3484 if test "x$LINE" != x ; then
3485 eval "DEFAULT_$LINE"
3486 else
3487 no_cache=1
3488 fi
3489
3490 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3491
3492 fi;
3493
3494 eval "$ac_cv_use_shared"
3495 if test "$no_cache" != 1; then
3496 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3497 fi
3498
3499 if test "$wxUSE_SHARED" = yes; then
3500 echo "$as_me:$LINENO: result: yes" >&5
3501 echo "${ECHO_T}yes" >&6
3502 else
3503 echo "$as_me:$LINENO: result: no" >&5
3504 echo "${ECHO_T}no" >&6
3505 fi
3506
3507
3508 enablestring=
3509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3510 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3511 no_cache=0
3512 # Check whether --enable-optimise or --disable-optimise was given.
3513 if test "${enable_optimise+set}" = set; then
3514 enableval="$enable_optimise"
3515
3516 if test "$enableval" = yes; then
3517 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3518 else
3519 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3520 fi
3521
3522 else
3523
3524 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3525 if test "x$LINE" != x ; then
3526 eval "DEFAULT_$LINE"
3527 else
3528 no_cache=1
3529 fi
3530
3531 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3532
3533 fi;
3534
3535 eval "$ac_cv_use_optimise"
3536 if test "$no_cache" != 1; then
3537 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3538 fi
3539
3540 if test "$wxUSE_OPTIMISE" = yes; then
3541 echo "$as_me:$LINENO: result: yes" >&5
3542 echo "${ECHO_T}yes" >&6
3543 else
3544 echo "$as_me:$LINENO: result: no" >&5
3545 echo "${ECHO_T}no" >&6
3546 fi
3547
3548
3549 enablestring=
3550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3551 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3552 no_cache=0
3553 # Check whether --enable-debug or --disable-debug was given.
3554 if test "${enable_debug+set}" = set; then
3555 enableval="$enable_debug"
3556
3557 if test "$enableval" = yes; then
3558 ac_cv_use_debug='wxUSE_DEBUG=yes'
3559 else
3560 ac_cv_use_debug='wxUSE_DEBUG=no'
3561 fi
3562
3563 else
3564
3565 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3566 if test "x$LINE" != x ; then
3567 eval "DEFAULT_$LINE"
3568 else
3569 no_cache=1
3570 fi
3571
3572 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3573
3574 fi;
3575
3576 eval "$ac_cv_use_debug"
3577 if test "$no_cache" != 1; then
3578 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3579 fi
3580
3581 if test "$wxUSE_DEBUG" = yes; then
3582 echo "$as_me:$LINENO: result: yes" >&5
3583 echo "${ECHO_T}yes" >&6
3584 else
3585 echo "$as_me:$LINENO: result: no" >&5
3586 echo "${ECHO_T}no" >&6
3587 fi
3588
3589
3590 enablestring=
3591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3592 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3593 no_cache=0
3594 # Check whether --enable-stl or --disable-stl was given.
3595 if test "${enable_stl+set}" = set; then
3596 enableval="$enable_stl"
3597
3598 if test "$enableval" = yes; then
3599 ac_cv_use_stl='wxUSE_STL=yes'
3600 else
3601 ac_cv_use_stl='wxUSE_STL=no'
3602 fi
3603
3604 else
3605
3606 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3607 if test "x$LINE" != x ; then
3608 eval "DEFAULT_$LINE"
3609 else
3610 no_cache=1
3611 fi
3612
3613 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3614
3615 fi;
3616
3617 eval "$ac_cv_use_stl"
3618 if test "$no_cache" != 1; then
3619 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3620 fi
3621
3622 if test "$wxUSE_STL" = yes; then
3623 echo "$as_me:$LINENO: result: yes" >&5
3624 echo "${ECHO_T}yes" >&6
3625 else
3626 echo "$as_me:$LINENO: result: no" >&5
3627 echo "${ECHO_T}no" >&6
3628 fi
3629
3630 if test "$USE_OS2" = "1"; then
3631
3632 enablestring=
3633 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3634 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3635 no_cache=0
3636 # Check whether --enable-omf or --disable-omf was given.
3637 if test "${enable_omf+set}" = set; then
3638 enableval="$enable_omf"
3639
3640 if test "$enableval" = yes; then
3641 ac_cv_use_omf='wxUSE_OMF=yes'
3642 else
3643 ac_cv_use_omf='wxUSE_OMF=no'
3644 fi
3645
3646 else
3647
3648 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3649 if test "x$LINE" != x ; then
3650 eval "DEFAULT_$LINE"
3651 else
3652 no_cache=1
3653 fi
3654
3655 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3656
3657 fi;
3658
3659 eval "$ac_cv_use_omf"
3660 if test "$no_cache" != 1; then
3661 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3662 fi
3663
3664 if test "$wxUSE_OMF" = yes; then
3665 echo "$as_me:$LINENO: result: yes" >&5
3666 echo "${ECHO_T}yes" >&6
3667 else
3668 echo "$as_me:$LINENO: result: no" >&5
3669 echo "${ECHO_T}no" >&6
3670 fi
3671
3672 fi
3673
3674 if test "$wxUSE_DEBUG" = "yes"; then
3675 DEFAULT_wxUSE_DEBUG_FLAG=yes
3676 DEFAULT_wxUSE_DEBUG_INFO=yes
3677 BUILD=debug
3678 elif test "$wxUSE_DEBUG" = "no"; then
3679 DEFAULT_wxUSE_DEBUG_FLAG=no
3680 DEFAULT_wxUSE_DEBUG_INFO=no
3681 BUILD=release
3682 fi
3683
3684
3685 enablestring=
3686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3687 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3688 no_cache=0
3689 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3690 if test "${enable_debug_flag+set}" = set; then
3691 enableval="$enable_debug_flag"
3692
3693 if test "$enableval" = yes; then
3694 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3695 else
3696 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3697 fi
3698
3699 else
3700
3701 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3702 if test "x$LINE" != x ; then
3703 eval "DEFAULT_$LINE"
3704 else
3705 no_cache=1
3706 fi
3707
3708 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3709
3710 fi;
3711
3712 eval "$ac_cv_use_debug_flag"
3713 if test "$no_cache" != 1; then
3714 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3715 fi
3716
3717 if test "$wxUSE_DEBUG_FLAG" = yes; then
3718 echo "$as_me:$LINENO: result: yes" >&5
3719 echo "${ECHO_T}yes" >&6
3720 else
3721 echo "$as_me:$LINENO: result: no" >&5
3722 echo "${ECHO_T}no" >&6
3723 fi
3724
3725
3726 enablestring=
3727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3728 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3729 no_cache=0
3730 # Check whether --enable-debug_info or --disable-debug_info was given.
3731 if test "${enable_debug_info+set}" = set; then
3732 enableval="$enable_debug_info"
3733
3734 if test "$enableval" = yes; then
3735 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3736 else
3737 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3738 fi
3739
3740 else
3741
3742 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3743 if test "x$LINE" != x ; then
3744 eval "DEFAULT_$LINE"
3745 else
3746 no_cache=1
3747 fi
3748
3749 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3750
3751 fi;
3752
3753 eval "$ac_cv_use_debug_info"
3754 if test "$no_cache" != 1; then
3755 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3756 fi
3757
3758 if test "$wxUSE_DEBUG_INFO" = yes; then
3759 echo "$as_me:$LINENO: result: yes" >&5
3760 echo "${ECHO_T}yes" >&6
3761 else
3762 echo "$as_me:$LINENO: result: no" >&5
3763 echo "${ECHO_T}no" >&6
3764 fi
3765
3766
3767 enablestring=
3768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3769 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3770 no_cache=0
3771 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3772 if test "${enable_debug_gdb+set}" = set; then
3773 enableval="$enable_debug_gdb"
3774
3775 if test "$enableval" = yes; then
3776 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3777 else
3778 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3779 fi
3780
3781 else
3782
3783 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3784 if test "x$LINE" != x ; then
3785 eval "DEFAULT_$LINE"
3786 else
3787 no_cache=1
3788 fi
3789
3790 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3791
3792 fi;
3793
3794 eval "$ac_cv_use_debug_gdb"
3795 if test "$no_cache" != 1; then
3796 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3797 fi
3798
3799 if test "$wxUSE_DEBUG_GDB" = yes; then
3800 echo "$as_me:$LINENO: result: yes" >&5
3801 echo "${ECHO_T}yes" >&6
3802 else
3803 echo "$as_me:$LINENO: result: no" >&5
3804 echo "${ECHO_T}no" >&6
3805 fi
3806
3807
3808 enablestring=
3809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3810 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3811 no_cache=0
3812 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3813 if test "${enable_debug_cntxt+set}" = set; then
3814 enableval="$enable_debug_cntxt"
3815
3816 if test "$enableval" = yes; then
3817 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3818 else
3819 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3820 fi
3821
3822 else
3823
3824 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3825 if test "x$LINE" != x ; then
3826 eval "DEFAULT_$LINE"
3827 else
3828 no_cache=1
3829 fi
3830
3831 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3832
3833 fi;
3834
3835 eval "$ac_cv_use_debug_cntxt"
3836 if test "$no_cache" != 1; then
3837 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3838 fi
3839
3840 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3841 echo "$as_me:$LINENO: result: yes" >&5
3842 echo "${ECHO_T}yes" >&6
3843 else
3844 echo "$as_me:$LINENO: result: no" >&5
3845 echo "${ECHO_T}no" >&6
3846 fi
3847
3848
3849 enablestring=
3850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3851 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3852 no_cache=0
3853 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3854 if test "${enable_mem_tracing+set}" = set; then
3855 enableval="$enable_mem_tracing"
3856
3857 if test "$enableval" = yes; then
3858 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3859 else
3860 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3861 fi
3862
3863 else
3864
3865 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3866 if test "x$LINE" != x ; then
3867 eval "DEFAULT_$LINE"
3868 else
3869 no_cache=1
3870 fi
3871
3872 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3873
3874 fi;
3875
3876 eval "$ac_cv_use_mem_tracing"
3877 if test "$no_cache" != 1; then
3878 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3879 fi
3880
3881 if test "$wxUSE_MEM_TRACING" = yes; then
3882 echo "$as_me:$LINENO: result: yes" >&5
3883 echo "${ECHO_T}yes" >&6
3884 else
3885 echo "$as_me:$LINENO: result: no" >&5
3886 echo "${ECHO_T}no" >&6
3887 fi
3888
3889
3890 enablestring=
3891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3892 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3893 no_cache=0
3894 # Check whether --enable-profile or --disable-profile was given.
3895 if test "${enable_profile+set}" = set; then
3896 enableval="$enable_profile"
3897
3898 if test "$enableval" = yes; then
3899 ac_cv_use_profile='wxUSE_PROFILE=yes'
3900 else
3901 ac_cv_use_profile='wxUSE_PROFILE=no'
3902 fi
3903
3904 else
3905
3906 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3907 if test "x$LINE" != x ; then
3908 eval "DEFAULT_$LINE"
3909 else
3910 no_cache=1
3911 fi
3912
3913 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3914
3915 fi;
3916
3917 eval "$ac_cv_use_profile"
3918 if test "$no_cache" != 1; then
3919 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3920 fi
3921
3922 if test "$wxUSE_PROFILE" = yes; then
3923 echo "$as_me:$LINENO: result: yes" >&5
3924 echo "${ECHO_T}yes" >&6
3925 else
3926 echo "$as_me:$LINENO: result: no" >&5
3927 echo "${ECHO_T}no" >&6
3928 fi
3929
3930
3931 enablestring=
3932 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3933 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3934 no_cache=0
3935 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3936 if test "${enable_no_rtti+set}" = set; then
3937 enableval="$enable_no_rtti"
3938
3939 if test "$enableval" = yes; then
3940 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3941 else
3942 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3943 fi
3944
3945 else
3946
3947 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3948 if test "x$LINE" != x ; then
3949 eval "DEFAULT_$LINE"
3950 else
3951 no_cache=1
3952 fi
3953
3954 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3955
3956 fi;
3957
3958 eval "$ac_cv_use_no_rtti"
3959 if test "$no_cache" != 1; then
3960 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3961 fi
3962
3963 if test "$wxUSE_NO_RTTI" = yes; then
3964 echo "$as_me:$LINENO: result: yes" >&5
3965 echo "${ECHO_T}yes" >&6
3966 else
3967 echo "$as_me:$LINENO: result: no" >&5
3968 echo "${ECHO_T}no" >&6
3969 fi
3970
3971
3972 enablestring=
3973 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3974 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3975 no_cache=0
3976 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3977 if test "${enable_no_exceptions+set}" = set; then
3978 enableval="$enable_no_exceptions"
3979
3980 if test "$enableval" = yes; then
3981 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3982 else
3983 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3984 fi
3985
3986 else
3987
3988 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3989 if test "x$LINE" != x ; then
3990 eval "DEFAULT_$LINE"
3991 else
3992 no_cache=1
3993 fi
3994
3995 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3996
3997 fi;
3998
3999 eval "$ac_cv_use_no_exceptions"
4000 if test "$no_cache" != 1; then
4001 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4002 fi
4003
4004 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4005 echo "$as_me:$LINENO: result: yes" >&5
4006 echo "${ECHO_T}yes" >&6
4007 else
4008 echo "$as_me:$LINENO: result: no" >&5
4009 echo "${ECHO_T}no" >&6
4010 fi
4011
4012
4013 enablestring=
4014 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4015 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4016 no_cache=0
4017 # Check whether --enable-permissive or --disable-permissive was given.
4018 if test "${enable_permissive+set}" = set; then
4019 enableval="$enable_permissive"
4020
4021 if test "$enableval" = yes; then
4022 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4023 else
4024 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4025 fi
4026
4027 else
4028
4029 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4030 if test "x$LINE" != x ; then
4031 eval "DEFAULT_$LINE"
4032 else
4033 no_cache=1
4034 fi
4035
4036 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4037
4038 fi;
4039
4040 eval "$ac_cv_use_permissive"
4041 if test "$no_cache" != 1; then
4042 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4043 fi
4044
4045 if test "$wxUSE_PERMISSIVE" = yes; then
4046 echo "$as_me:$LINENO: result: yes" >&5
4047 echo "${ECHO_T}yes" >&6
4048 else
4049 echo "$as_me:$LINENO: result: no" >&5
4050 echo "${ECHO_T}no" >&6
4051 fi
4052
4053
4054 enablestring=
4055 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4056 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4057 no_cache=0
4058 # Check whether --enable-no_deps or --disable-no_deps was given.
4059 if test "${enable_no_deps+set}" = set; then
4060 enableval="$enable_no_deps"
4061
4062 if test "$enableval" = yes; then
4063 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4064 else
4065 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4066 fi
4067
4068 else
4069
4070 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4071 if test "x$LINE" != x ; then
4072 eval "DEFAULT_$LINE"
4073 else
4074 no_cache=1
4075 fi
4076
4077 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4078
4079 fi;
4080
4081 eval "$ac_cv_use_no_deps"
4082 if test "$no_cache" != 1; then
4083 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4084 fi
4085
4086 if test "$wxUSE_NO_DEPS" = yes; then
4087 echo "$as_me:$LINENO: result: yes" >&5
4088 echo "${ECHO_T}yes" >&6
4089 else
4090 echo "$as_me:$LINENO: result: no" >&5
4091 echo "${ECHO_T}no" >&6
4092 fi
4093
4094
4095
4096 enablestring=
4097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4098 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4099 no_cache=0
4100 # Check whether --enable-compat22 or --disable-compat22 was given.
4101 if test "${enable_compat22+set}" = set; then
4102 enableval="$enable_compat22"
4103
4104 if test "$enableval" = yes; then
4105 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
4106 else
4107 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
4108 fi
4109
4110 else
4111
4112 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4113 if test "x$LINE" != x ; then
4114 eval "DEFAULT_$LINE"
4115 else
4116 no_cache=1
4117 fi
4118
4119 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4120
4121 fi;
4122
4123 eval "$ac_cv_use_compat22"
4124 if test "$no_cache" != 1; then
4125 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4126 fi
4127
4128 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4129 echo "$as_me:$LINENO: result: yes" >&5
4130 echo "${ECHO_T}yes" >&6
4131 else
4132 echo "$as_me:$LINENO: result: no" >&5
4133 echo "${ECHO_T}no" >&6
4134 fi
4135
4136
4137 enablestring=disable
4138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4139 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4140 no_cache=0
4141 # Check whether --enable-compat24 or --disable-compat24 was given.
4142 if test "${enable_compat24+set}" = set; then
4143 enableval="$enable_compat24"
4144
4145 if test "$enableval" = yes; then
4146 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4147 else
4148 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4149 fi
4150
4151 else
4152
4153 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4154 if test "x$LINE" != x ; then
4155 eval "DEFAULT_$LINE"
4156 else
4157 no_cache=1
4158 fi
4159
4160 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4161
4162 fi;
4163
4164 eval "$ac_cv_use_compat24"
4165 if test "$no_cache" != 1; then
4166 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4167 fi
4168
4169 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4170 echo "$as_me:$LINENO: result: yes" >&5
4171 echo "${ECHO_T}yes" >&6
4172 else
4173 echo "$as_me:$LINENO: result: no" >&5
4174 echo "${ECHO_T}no" >&6
4175 fi
4176
4177
4178
4179 enablestring=
4180 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4181 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4182 no_cache=0
4183 # Check whether --enable-rpath or --disable-rpath was given.
4184 if test "${enable_rpath+set}" = set; then
4185 enableval="$enable_rpath"
4186
4187 if test "$enableval" = yes; then
4188 ac_cv_use_rpath='wxUSE_RPATH=yes'
4189 else
4190 ac_cv_use_rpath='wxUSE_RPATH=no'
4191 fi
4192
4193 else
4194
4195 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4196 if test "x$LINE" != x ; then
4197 eval "DEFAULT_$LINE"
4198 else
4199 no_cache=1
4200 fi
4201
4202 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4203
4204 fi;
4205
4206 eval "$ac_cv_use_rpath"
4207 if test "$no_cache" != 1; then
4208 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4209 fi
4210
4211 if test "$wxUSE_RPATH" = yes; then
4212 echo "$as_me:$LINENO: result: yes" >&5
4213 echo "${ECHO_T}yes" >&6
4214 else
4215 echo "$as_me:$LINENO: result: no" >&5
4216 echo "${ECHO_T}no" >&6
4217 fi
4218
4219
4220
4221
4222
4223 enablestring=
4224 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4225 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4226 no_cache=0
4227 # Check whether --enable-intl or --disable-intl was given.
4228 if test "${enable_intl+set}" = set; then
4229 enableval="$enable_intl"
4230
4231 if test "$enableval" = yes; then
4232 ac_cv_use_intl='wxUSE_INTL=yes'
4233 else
4234 ac_cv_use_intl='wxUSE_INTL=no'
4235 fi
4236
4237 else
4238
4239 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4240 if test "x$LINE" != x ; then
4241 eval "DEFAULT_$LINE"
4242 else
4243 no_cache=1
4244 fi
4245
4246 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4247
4248 fi;
4249
4250 eval "$ac_cv_use_intl"
4251 if test "$no_cache" != 1; then
4252 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4253 fi
4254
4255 if test "$wxUSE_INTL" = yes; then
4256 echo "$as_me:$LINENO: result: yes" >&5
4257 echo "${ECHO_T}yes" >&6
4258 else
4259 echo "$as_me:$LINENO: result: no" >&5
4260 echo "${ECHO_T}no" >&6
4261 fi
4262
4263
4264 enablestring=
4265 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4266 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4267 no_cache=0
4268 # Check whether --enable-config or --disable-config was given.
4269 if test "${enable_config+set}" = set; then
4270 enableval="$enable_config"
4271
4272 if test "$enableval" = yes; then
4273 ac_cv_use_config='wxUSE_CONFIG=yes'
4274 else
4275 ac_cv_use_config='wxUSE_CONFIG=no'
4276 fi
4277
4278 else
4279
4280 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4281 if test "x$LINE" != x ; then
4282 eval "DEFAULT_$LINE"
4283 else
4284 no_cache=1
4285 fi
4286
4287 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4288
4289 fi;
4290
4291 eval "$ac_cv_use_config"
4292 if test "$no_cache" != 1; then
4293 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4294 fi
4295
4296 if test "$wxUSE_CONFIG" = yes; then
4297 echo "$as_me:$LINENO: result: yes" >&5
4298 echo "${ECHO_T}yes" >&6
4299 else
4300 echo "$as_me:$LINENO: result: no" >&5
4301 echo "${ECHO_T}no" >&6
4302 fi
4303
4304
4305
4306 enablestring=
4307 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4308 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4309 no_cache=0
4310 # Check whether --enable-protocols or --disable-protocols was given.
4311 if test "${enable_protocols+set}" = set; then
4312 enableval="$enable_protocols"
4313
4314 if test "$enableval" = yes; then
4315 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4316 else
4317 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4318 fi
4319
4320 else
4321
4322 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4323 if test "x$LINE" != x ; then
4324 eval "DEFAULT_$LINE"
4325 else
4326 no_cache=1
4327 fi
4328
4329 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4330
4331 fi;
4332
4333 eval "$ac_cv_use_protocols"
4334 if test "$no_cache" != 1; then
4335 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4336 fi
4337
4338 if test "$wxUSE_PROTOCOL" = yes; then
4339 echo "$as_me:$LINENO: result: yes" >&5
4340 echo "${ECHO_T}yes" >&6
4341 else
4342 echo "$as_me:$LINENO: result: no" >&5
4343 echo "${ECHO_T}no" >&6
4344 fi
4345
4346
4347 enablestring=
4348 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4349 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4350 no_cache=0
4351 # Check whether --enable-ftp or --disable-ftp was given.
4352 if test "${enable_ftp+set}" = set; then
4353 enableval="$enable_ftp"
4354
4355 if test "$enableval" = yes; then
4356 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4357 else
4358 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4359 fi
4360
4361 else
4362
4363 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4364 if test "x$LINE" != x ; then
4365 eval "DEFAULT_$LINE"
4366 else
4367 no_cache=1
4368 fi
4369
4370 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4371
4372 fi;
4373
4374 eval "$ac_cv_use_ftp"
4375 if test "$no_cache" != 1; then
4376 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4377 fi
4378
4379 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4380 echo "$as_me:$LINENO: result: yes" >&5
4381 echo "${ECHO_T}yes" >&6
4382 else
4383 echo "$as_me:$LINENO: result: no" >&5
4384 echo "${ECHO_T}no" >&6
4385 fi
4386
4387
4388 enablestring=
4389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4390 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4391 no_cache=0
4392 # Check whether --enable-http or --disable-http was given.
4393 if test "${enable_http+set}" = set; then
4394 enableval="$enable_http"
4395
4396 if test "$enableval" = yes; then
4397 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4398 else
4399 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4400 fi
4401
4402 else
4403
4404 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4405 if test "x$LINE" != x ; then
4406 eval "DEFAULT_$LINE"
4407 else
4408 no_cache=1
4409 fi
4410
4411 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4412
4413 fi;
4414
4415 eval "$ac_cv_use_http"
4416 if test "$no_cache" != 1; then
4417 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4418 fi
4419
4420 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4421 echo "$as_me:$LINENO: result: yes" >&5
4422 echo "${ECHO_T}yes" >&6
4423 else
4424 echo "$as_me:$LINENO: result: no" >&5
4425 echo "${ECHO_T}no" >&6
4426 fi
4427
4428
4429 enablestring=
4430 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4431 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4432 no_cache=0
4433 # Check whether --enable-fileproto or --disable-fileproto was given.
4434 if test "${enable_fileproto+set}" = set; then
4435 enableval="$enable_fileproto"
4436
4437 if test "$enableval" = yes; then
4438 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4439 else
4440 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4441 fi
4442
4443 else
4444
4445 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4446 if test "x$LINE" != x ; then
4447 eval "DEFAULT_$LINE"
4448 else
4449 no_cache=1
4450 fi
4451
4452 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4453
4454 fi;
4455
4456 eval "$ac_cv_use_fileproto"
4457 if test "$no_cache" != 1; then
4458 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4459 fi
4460
4461 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4462 echo "$as_me:$LINENO: result: yes" >&5
4463 echo "${ECHO_T}yes" >&6
4464 else
4465 echo "$as_me:$LINENO: result: no" >&5
4466 echo "${ECHO_T}no" >&6
4467 fi
4468
4469
4470 enablestring=
4471 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4472 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4473 no_cache=0
4474 # Check whether --enable-sockets or --disable-sockets was given.
4475 if test "${enable_sockets+set}" = set; then
4476 enableval="$enable_sockets"
4477
4478 if test "$enableval" = yes; then
4479 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4480 else
4481 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4482 fi
4483
4484 else
4485
4486 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4487 if test "x$LINE" != x ; then
4488 eval "DEFAULT_$LINE"
4489 else
4490 no_cache=1
4491 fi
4492
4493 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4494
4495 fi;
4496
4497 eval "$ac_cv_use_sockets"
4498 if test "$no_cache" != 1; then
4499 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4500 fi
4501
4502 if test "$wxUSE_SOCKETS" = yes; then
4503 echo "$as_me:$LINENO: result: yes" >&5
4504 echo "${ECHO_T}yes" >&6
4505 else
4506 echo "$as_me:$LINENO: result: no" >&5
4507 echo "${ECHO_T}no" >&6
4508 fi
4509
4510
4511 enablestring=
4512 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4513 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4514 no_cache=0
4515 # Check whether --enable-ole or --disable-ole was given.
4516 if test "${enable_ole+set}" = set; then
4517 enableval="$enable_ole"
4518
4519 if test "$enableval" = yes; then
4520 ac_cv_use_ole='wxUSE_OLE=yes'
4521 else
4522 ac_cv_use_ole='wxUSE_OLE=no'
4523 fi
4524
4525 else
4526
4527 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4528 if test "x$LINE" != x ; then
4529 eval "DEFAULT_$LINE"
4530 else
4531 no_cache=1
4532 fi
4533
4534 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4535
4536 fi;
4537
4538 eval "$ac_cv_use_ole"
4539 if test "$no_cache" != 1; then
4540 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4541 fi
4542
4543 if test "$wxUSE_OLE" = yes; then
4544 echo "$as_me:$LINENO: result: yes" >&5
4545 echo "${ECHO_T}yes" >&6
4546 else
4547 echo "$as_me:$LINENO: result: no" >&5
4548 echo "${ECHO_T}no" >&6
4549 fi
4550
4551
4552 enablestring=
4553 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4554 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4555 no_cache=0
4556 # Check whether --enable-dataobj or --disable-dataobj was given.
4557 if test "${enable_dataobj+set}" = set; then
4558 enableval="$enable_dataobj"
4559
4560 if test "$enableval" = yes; then
4561 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4562 else
4563 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4564 fi
4565
4566 else
4567
4568 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4569 if test "x$LINE" != x ; then
4570 eval "DEFAULT_$LINE"
4571 else
4572 no_cache=1
4573 fi
4574
4575 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4576
4577 fi;
4578
4579 eval "$ac_cv_use_dataobj"
4580 if test "$no_cache" != 1; then
4581 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4582 fi
4583
4584 if test "$wxUSE_DATAOBJ" = yes; then
4585 echo "$as_me:$LINENO: result: yes" >&5
4586 echo "${ECHO_T}yes" >&6
4587 else
4588 echo "$as_me:$LINENO: result: no" >&5
4589 echo "${ECHO_T}no" >&6
4590 fi
4591
4592
4593
4594 enablestring=
4595 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4596 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4597 no_cache=0
4598 # Check whether --enable-ipc or --disable-ipc was given.
4599 if test "${enable_ipc+set}" = set; then
4600 enableval="$enable_ipc"
4601
4602 if test "$enableval" = yes; then
4603 ac_cv_use_ipc='wxUSE_IPC=yes'
4604 else
4605 ac_cv_use_ipc='wxUSE_IPC=no'
4606 fi
4607
4608 else
4609
4610 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4611 if test "x$LINE" != x ; then
4612 eval "DEFAULT_$LINE"
4613 else
4614 no_cache=1
4615 fi
4616
4617 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4618
4619 fi;
4620
4621 eval "$ac_cv_use_ipc"
4622 if test "$no_cache" != 1; then
4623 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4624 fi
4625
4626 if test "$wxUSE_IPC" = yes; then
4627 echo "$as_me:$LINENO: result: yes" >&5
4628 echo "${ECHO_T}yes" >&6
4629 else
4630 echo "$as_me:$LINENO: result: no" >&5
4631 echo "${ECHO_T}no" >&6
4632 fi
4633
4634
4635
4636 enablestring=
4637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4638 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4639 no_cache=0
4640 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4641 if test "${enable_apple_ieee+set}" = set; then
4642 enableval="$enable_apple_ieee"
4643
4644 if test "$enableval" = yes; then
4645 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4646 else
4647 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4648 fi
4649
4650 else
4651
4652 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4653 if test "x$LINE" != x ; then
4654 eval "DEFAULT_$LINE"
4655 else
4656 no_cache=1
4657 fi
4658
4659 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4660
4661 fi;
4662
4663 eval "$ac_cv_use_apple_ieee"
4664 if test "$no_cache" != 1; then
4665 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4666 fi
4667
4668 if test "$wxUSE_APPLE_IEEE" = yes; then
4669 echo "$as_me:$LINENO: result: yes" >&5
4670 echo "${ECHO_T}yes" >&6
4671 else
4672 echo "$as_me:$LINENO: result: no" >&5
4673 echo "${ECHO_T}no" >&6
4674 fi
4675
4676
4677 enablestring=
4678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4679 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4680 no_cache=0
4681 # Check whether --enable-arcstream or --disable-arcstream was given.
4682 if test "${enable_arcstream+set}" = set; then
4683 enableval="$enable_arcstream"
4684
4685 if test "$enableval" = yes; then
4686 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
4687 else
4688 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
4689 fi
4690
4691 else
4692
4693 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4694 if test "x$LINE" != x ; then
4695 eval "DEFAULT_$LINE"
4696 else
4697 no_cache=1
4698 fi
4699
4700 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4701
4702 fi;
4703
4704 eval "$ac_cv_use_arcstream"
4705 if test "$no_cache" != 1; then
4706 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4707 fi
4708
4709 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4710 echo "$as_me:$LINENO: result: yes" >&5
4711 echo "${ECHO_T}yes" >&6
4712 else
4713 echo "$as_me:$LINENO: result: no" >&5
4714 echo "${ECHO_T}no" >&6
4715 fi
4716
4717
4718 enablestring=
4719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4720 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4721 no_cache=0
4722 # Check whether --enable-backtrace or --disable-backtrace was given.
4723 if test "${enable_backtrace+set}" = set; then
4724 enableval="$enable_backtrace"
4725
4726 if test "$enableval" = yes; then
4727 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
4728 else
4729 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
4730 fi
4731
4732 else
4733
4734 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4735 if test "x$LINE" != x ; then
4736 eval "DEFAULT_$LINE"
4737 else
4738 no_cache=1
4739 fi
4740
4741 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4742
4743 fi;
4744
4745 eval "$ac_cv_use_backtrace"
4746 if test "$no_cache" != 1; then
4747 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4748 fi
4749
4750 if test "$wxUSE_STACKWALKER" = yes; then
4751 echo "$as_me:$LINENO: result: yes" >&5
4752 echo "${ECHO_T}yes" >&6
4753 else
4754 echo "$as_me:$LINENO: result: no" >&5
4755 echo "${ECHO_T}no" >&6
4756 fi
4757
4758
4759 enablestring=
4760 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4761 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4762 no_cache=0
4763 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4764 if test "${enable_catch_segvs+set}" = set; then
4765 enableval="$enable_catch_segvs"
4766
4767 if test "$enableval" = yes; then
4768 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4769 else
4770 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4771 fi
4772
4773 else
4774
4775 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4776 if test "x$LINE" != x ; then
4777 eval "DEFAULT_$LINE"
4778 else
4779 no_cache=1
4780 fi
4781
4782 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4783
4784 fi;
4785
4786 eval "$ac_cv_use_catch_segvs"
4787 if test "$no_cache" != 1; then
4788 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4789 fi
4790
4791 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4792 echo "$as_me:$LINENO: result: yes" >&5
4793 echo "${ECHO_T}yes" >&6
4794 else
4795 echo "$as_me:$LINENO: result: no" >&5
4796 echo "${ECHO_T}no" >&6
4797 fi
4798
4799
4800 enablestring=
4801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4802 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4803 no_cache=0
4804 # Check whether --enable-cmdline or --disable-cmdline was given.
4805 if test "${enable_cmdline+set}" = set; then
4806 enableval="$enable_cmdline"
4807
4808 if test "$enableval" = yes; then
4809 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4810 else
4811 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4812 fi
4813
4814 else
4815
4816 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4817 if test "x$LINE" != x ; then
4818 eval "DEFAULT_$LINE"
4819 else
4820 no_cache=1
4821 fi
4822
4823 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4824
4825 fi;
4826
4827 eval "$ac_cv_use_cmdline"
4828 if test "$no_cache" != 1; then
4829 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4830 fi
4831
4832 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4833 echo "$as_me:$LINENO: result: yes" >&5
4834 echo "${ECHO_T}yes" >&6
4835 else
4836 echo "$as_me:$LINENO: result: no" >&5
4837 echo "${ECHO_T}no" >&6
4838 fi
4839
4840
4841 enablestring=
4842 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4843 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4844 no_cache=0
4845 # Check whether --enable-datetime or --disable-datetime was given.
4846 if test "${enable_datetime+set}" = set; then
4847 enableval="$enable_datetime"
4848
4849 if test "$enableval" = yes; then
4850 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4851 else
4852 ac_cv_use_datetime='wxUSE_DATETIME=no'
4853 fi
4854
4855 else
4856
4857 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4858 if test "x$LINE" != x ; then
4859 eval "DEFAULT_$LINE"
4860 else
4861 no_cache=1
4862 fi
4863
4864 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4865
4866 fi;
4867
4868 eval "$ac_cv_use_datetime"
4869 if test "$no_cache" != 1; then
4870 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4871 fi
4872
4873 if test "$wxUSE_DATETIME" = yes; then
4874 echo "$as_me:$LINENO: result: yes" >&5
4875 echo "${ECHO_T}yes" >&6
4876 else
4877 echo "$as_me:$LINENO: result: no" >&5
4878 echo "${ECHO_T}no" >&6
4879 fi
4880
4881
4882 enablestring=
4883 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
4884 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
4885 no_cache=0
4886 # Check whether --enable-debugreport or --disable-debugreport was given.
4887 if test "${enable_debugreport+set}" = set; then
4888 enableval="$enable_debugreport"
4889
4890 if test "$enableval" = yes; then
4891 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
4892 else
4893 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
4894 fi
4895
4896 else
4897
4898 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
4899 if test "x$LINE" != x ; then
4900 eval "DEFAULT_$LINE"
4901 else
4902 no_cache=1
4903 fi
4904
4905 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
4906
4907 fi;
4908
4909 eval "$ac_cv_use_debugreport"
4910 if test "$no_cache" != 1; then
4911 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
4912 fi
4913
4914 if test "$wxUSE_DEBUGREPORT" = yes; then
4915 echo "$as_me:$LINENO: result: yes" >&5
4916 echo "${ECHO_T}yes" >&6
4917 else
4918 echo "$as_me:$LINENO: result: no" >&5
4919 echo "${ECHO_T}no" >&6
4920 fi
4921
4922
4923 enablestring=
4924 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4925 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4926 no_cache=0
4927 # Check whether --enable-dialupman or --disable-dialupman was given.
4928 if test "${enable_dialupman+set}" = set; then
4929 enableval="$enable_dialupman"
4930
4931 if test "$enableval" = yes; then
4932 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4933 else
4934 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4935 fi
4936
4937 else
4938
4939 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4940 if test "x$LINE" != x ; then
4941 eval "DEFAULT_$LINE"
4942 else
4943 no_cache=1
4944 fi
4945
4946 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4947
4948 fi;
4949
4950 eval "$ac_cv_use_dialupman"
4951 if test "$no_cache" != 1; then
4952 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4953 fi
4954
4955 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4956 echo "$as_me:$LINENO: result: yes" >&5
4957 echo "${ECHO_T}yes" >&6
4958 else
4959 echo "$as_me:$LINENO: result: no" >&5
4960 echo "${ECHO_T}no" >&6
4961 fi
4962
4963
4964 enablestring=
4965 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4966 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4967 no_cache=0
4968 # Check whether --enable-dynlib or --disable-dynlib was given.
4969 if test "${enable_dynlib+set}" = set; then
4970 enableval="$enable_dynlib"
4971
4972 if test "$enableval" = yes; then
4973 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4974 else
4975 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4976 fi
4977
4978 else
4979
4980 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4981 if test "x$LINE" != x ; then
4982 eval "DEFAULT_$LINE"
4983 else
4984 no_cache=1
4985 fi
4986
4987 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4988
4989 fi;
4990
4991 eval "$ac_cv_use_dynlib"
4992 if test "$no_cache" != 1; then
4993 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4994 fi
4995
4996 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4997 echo "$as_me:$LINENO: result: yes" >&5
4998 echo "${ECHO_T}yes" >&6
4999 else
5000 echo "$as_me:$LINENO: result: no" >&5
5001 echo "${ECHO_T}no" >&6
5002 fi
5003
5004
5005 enablestring=
5006 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5007 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5008 no_cache=0
5009 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5010 if test "${enable_dynamicloader+set}" = set; then
5011 enableval="$enable_dynamicloader"
5012
5013 if test "$enableval" = yes; then
5014 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
5015 else
5016 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
5017 fi
5018
5019 else
5020
5021 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5022 if test "x$LINE" != x ; then
5023 eval "DEFAULT_$LINE"
5024 else
5025 no_cache=1
5026 fi
5027
5028 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5029
5030 fi;
5031
5032 eval "$ac_cv_use_dynamicloader"
5033 if test "$no_cache" != 1; then
5034 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5035 fi
5036
5037 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5038 echo "$as_me:$LINENO: result: yes" >&5
5039 echo "${ECHO_T}yes" >&6
5040 else
5041 echo "$as_me:$LINENO: result: no" >&5
5042 echo "${ECHO_T}no" >&6
5043 fi
5044
5045
5046 enablestring=
5047 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5048 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5049 no_cache=0
5050 # Check whether --enable-exceptions or --disable-exceptions was given.
5051 if test "${enable_exceptions+set}" = set; then
5052 enableval="$enable_exceptions"
5053
5054 if test "$enableval" = yes; then
5055 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5056 else
5057 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5058 fi
5059
5060 else
5061
5062 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5063 if test "x$LINE" != x ; then
5064 eval "DEFAULT_$LINE"
5065 else
5066 no_cache=1
5067 fi
5068
5069 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5070
5071 fi;
5072
5073 eval "$ac_cv_use_exceptions"
5074 if test "$no_cache" != 1; then
5075 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5076 fi
5077
5078 if test "$wxUSE_EXCEPTIONS" = yes; then
5079 echo "$as_me:$LINENO: result: yes" >&5
5080 echo "${ECHO_T}yes" >&6
5081 else
5082 echo "$as_me:$LINENO: result: no" >&5
5083 echo "${ECHO_T}no" >&6
5084 fi
5085
5086
5087 enablestring=
5088 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5089 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5090 no_cache=0
5091 # Check whether --enable-ffile or --disable-ffile was given.
5092 if test "${enable_ffile+set}" = set; then
5093 enableval="$enable_ffile"
5094
5095 if test "$enableval" = yes; then
5096 ac_cv_use_ffile='wxUSE_FFILE=yes'
5097 else
5098 ac_cv_use_ffile='wxUSE_FFILE=no'
5099 fi
5100
5101 else
5102
5103 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5104 if test "x$LINE" != x ; then
5105 eval "DEFAULT_$LINE"
5106 else
5107 no_cache=1
5108 fi
5109
5110 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5111
5112 fi;
5113
5114 eval "$ac_cv_use_ffile"
5115 if test "$no_cache" != 1; then
5116 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5117 fi
5118
5119 if test "$wxUSE_FFILE" = yes; then
5120 echo "$as_me:$LINENO: result: yes" >&5
5121 echo "${ECHO_T}yes" >&6
5122 else
5123 echo "$as_me:$LINENO: result: no" >&5
5124 echo "${ECHO_T}no" >&6
5125 fi
5126
5127
5128 enablestring=
5129 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5130 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5131 no_cache=0
5132 # Check whether --enable-file or --disable-file was given.
5133 if test "${enable_file+set}" = set; then
5134 enableval="$enable_file"
5135
5136 if test "$enableval" = yes; then
5137 ac_cv_use_file='wxUSE_FILE=yes'
5138 else
5139 ac_cv_use_file='wxUSE_FILE=no'
5140 fi
5141
5142 else
5143
5144 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5145 if test "x$LINE" != x ; then
5146 eval "DEFAULT_$LINE"
5147 else
5148 no_cache=1
5149 fi
5150
5151 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5152
5153 fi;
5154
5155 eval "$ac_cv_use_file"
5156 if test "$no_cache" != 1; then
5157 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5158 fi
5159
5160 if test "$wxUSE_FILE" = yes; then
5161 echo "$as_me:$LINENO: result: yes" >&5
5162 echo "${ECHO_T}yes" >&6
5163 else
5164 echo "$as_me:$LINENO: result: no" >&5
5165 echo "${ECHO_T}no" >&6
5166 fi
5167
5168
5169 enablestring=
5170 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5171 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5172 no_cache=0
5173 # Check whether --enable-filesystem or --disable-filesystem was given.
5174 if test "${enable_filesystem+set}" = set; then
5175 enableval="$enable_filesystem"
5176
5177 if test "$enableval" = yes; then
5178 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5179 else
5180 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5181 fi
5182
5183 else
5184
5185 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5186 if test "x$LINE" != x ; then
5187 eval "DEFAULT_$LINE"
5188 else
5189 no_cache=1
5190 fi
5191
5192 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5193
5194 fi;
5195
5196 eval "$ac_cv_use_filesystem"
5197 if test "$no_cache" != 1; then
5198 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5199 fi
5200
5201 if test "$wxUSE_FILESYSTEM" = yes; then
5202 echo "$as_me:$LINENO: result: yes" >&5
5203 echo "${ECHO_T}yes" >&6
5204 else
5205 echo "$as_me:$LINENO: result: no" >&5
5206 echo "${ECHO_T}no" >&6
5207 fi
5208
5209
5210 enablestring=
5211 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5212 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5213 no_cache=0
5214 # Check whether --enable-fontmap or --disable-fontmap was given.
5215 if test "${enable_fontmap+set}" = set; then
5216 enableval="$enable_fontmap"
5217
5218 if test "$enableval" = yes; then
5219 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5220 else
5221 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5222 fi
5223
5224 else
5225
5226 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5227 if test "x$LINE" != x ; then
5228 eval "DEFAULT_$LINE"
5229 else
5230 no_cache=1
5231 fi
5232
5233 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5234
5235 fi;
5236
5237 eval "$ac_cv_use_fontmap"
5238 if test "$no_cache" != 1; then
5239 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5240 fi
5241
5242 if test "$wxUSE_FONTMAP" = yes; then
5243 echo "$as_me:$LINENO: result: yes" >&5
5244 echo "${ECHO_T}yes" >&6
5245 else
5246 echo "$as_me:$LINENO: result: no" >&5
5247 echo "${ECHO_T}no" >&6
5248 fi
5249
5250
5251 enablestring=
5252 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5253 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5254 no_cache=0
5255 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5256 if test "${enable_fs_inet+set}" = set; then
5257 enableval="$enable_fs_inet"
5258
5259 if test "$enableval" = yes; then
5260 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5261 else
5262 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5263 fi
5264
5265 else
5266
5267 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5268 if test "x$LINE" != x ; then
5269 eval "DEFAULT_$LINE"
5270 else
5271 no_cache=1
5272 fi
5273
5274 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5275
5276 fi;
5277
5278 eval "$ac_cv_use_fs_inet"
5279 if test "$no_cache" != 1; then
5280 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5281 fi
5282
5283 if test "$wxUSE_FS_INET" = yes; then
5284 echo "$as_me:$LINENO: result: yes" >&5
5285 echo "${ECHO_T}yes" >&6
5286 else
5287 echo "$as_me:$LINENO: result: no" >&5
5288 echo "${ECHO_T}no" >&6
5289 fi
5290
5291
5292 enablestring=
5293 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5294 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5295 no_cache=0
5296 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5297 if test "${enable_fs_zip+set}" = set; then
5298 enableval="$enable_fs_zip"
5299
5300 if test "$enableval" = yes; then
5301 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5302 else
5303 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5304 fi
5305
5306 else
5307
5308 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5309 if test "x$LINE" != x ; then
5310 eval "DEFAULT_$LINE"
5311 else
5312 no_cache=1
5313 fi
5314
5315 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5316
5317 fi;
5318
5319 eval "$ac_cv_use_fs_zip"
5320 if test "$no_cache" != 1; then
5321 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5322 fi
5323
5324 if test "$wxUSE_FS_ZIP" = yes; then
5325 echo "$as_me:$LINENO: result: yes" >&5
5326 echo "${ECHO_T}yes" >&6
5327 else
5328 echo "$as_me:$LINENO: result: no" >&5
5329 echo "${ECHO_T}no" >&6
5330 fi
5331
5332
5333 enablestring=
5334 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5335 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5336 no_cache=0
5337 # Check whether --enable-geometry or --disable-geometry was given.
5338 if test "${enable_geometry+set}" = set; then
5339 enableval="$enable_geometry"
5340
5341 if test "$enableval" = yes; then
5342 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5343 else
5344 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5345 fi
5346
5347 else
5348
5349 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5350 if test "x$LINE" != x ; then
5351 eval "DEFAULT_$LINE"
5352 else
5353 no_cache=1
5354 fi
5355
5356 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5357
5358 fi;
5359
5360 eval "$ac_cv_use_geometry"
5361 if test "$no_cache" != 1; then
5362 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5363 fi
5364
5365 if test "$wxUSE_GEOMETRY" = yes; then
5366 echo "$as_me:$LINENO: result: yes" >&5
5367 echo "${ECHO_T}yes" >&6
5368 else
5369 echo "$as_me:$LINENO: result: no" >&5
5370 echo "${ECHO_T}no" >&6
5371 fi
5372
5373
5374 enablestring=
5375 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5376 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5377 no_cache=0
5378 # Check whether --enable-log or --disable-log was given.
5379 if test "${enable_log+set}" = set; then
5380 enableval="$enable_log"
5381
5382 if test "$enableval" = yes; then
5383 ac_cv_use_log='wxUSE_LOG=yes'
5384 else
5385 ac_cv_use_log='wxUSE_LOG=no'
5386 fi
5387
5388 else
5389
5390 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5391 if test "x$LINE" != x ; then
5392 eval "DEFAULT_$LINE"
5393 else
5394 no_cache=1
5395 fi
5396
5397 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5398
5399 fi;
5400
5401 eval "$ac_cv_use_log"
5402 if test "$no_cache" != 1; then
5403 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5404 fi
5405
5406 if test "$wxUSE_LOG" = yes; then
5407 echo "$as_me:$LINENO: result: yes" >&5
5408 echo "${ECHO_T}yes" >&6
5409 else
5410 echo "$as_me:$LINENO: result: no" >&5
5411 echo "${ECHO_T}no" >&6
5412 fi
5413
5414
5415 enablestring=
5416 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5417 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5418 no_cache=0
5419 # Check whether --enable-longlong or --disable-longlong was given.
5420 if test "${enable_longlong+set}" = set; then
5421 enableval="$enable_longlong"
5422
5423 if test "$enableval" = yes; then
5424 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5425 else
5426 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5427 fi
5428
5429 else
5430
5431 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5432 if test "x$LINE" != x ; then
5433 eval "DEFAULT_$LINE"
5434 else
5435 no_cache=1
5436 fi
5437
5438 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5439
5440 fi;
5441
5442 eval "$ac_cv_use_longlong"
5443 if test "$no_cache" != 1; then
5444 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5445 fi
5446
5447 if test "$wxUSE_LONGLONG" = yes; then
5448 echo "$as_me:$LINENO: result: yes" >&5
5449 echo "${ECHO_T}yes" >&6
5450 else
5451 echo "$as_me:$LINENO: result: no" >&5
5452 echo "${ECHO_T}no" >&6
5453 fi
5454
5455
5456 enablestring=
5457 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5458 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5459 no_cache=0
5460 # Check whether --enable-mimetype or --disable-mimetype was given.
5461 if test "${enable_mimetype+set}" = set; then
5462 enableval="$enable_mimetype"
5463
5464 if test "$enableval" = yes; then
5465 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5466 else
5467 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5468 fi
5469
5470 else
5471
5472 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5473 if test "x$LINE" != x ; then
5474 eval "DEFAULT_$LINE"
5475 else
5476 no_cache=1
5477 fi
5478
5479 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5480
5481 fi;
5482
5483 eval "$ac_cv_use_mimetype"
5484 if test "$no_cache" != 1; then
5485 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5486 fi
5487
5488 if test "$wxUSE_MIMETYPE" = yes; then
5489 echo "$as_me:$LINENO: result: yes" >&5
5490 echo "${ECHO_T}yes" >&6
5491 else
5492 echo "$as_me:$LINENO: result: no" >&5
5493 echo "${ECHO_T}no" >&6
5494 fi
5495
5496
5497 enablestring=
5498 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5499 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5500 no_cache=0
5501 # Check whether --enable-mslu or --disable-mslu was given.
5502 if test "${enable_mslu+set}" = set; then
5503 enableval="$enable_mslu"
5504
5505 if test "$enableval" = yes; then
5506 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5507 else
5508 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5509 fi
5510
5511 else
5512
5513 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5514 if test "x$LINE" != x ; then
5515 eval "DEFAULT_$LINE"
5516 else
5517 no_cache=1
5518 fi
5519
5520 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5521
5522 fi;
5523
5524 eval "$ac_cv_use_mslu"
5525 if test "$no_cache" != 1; then
5526 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5527 fi
5528
5529 if test "$wxUSE_UNICODE_MSLU" = yes; then
5530 echo "$as_me:$LINENO: result: yes" >&5
5531 echo "${ECHO_T}yes" >&6
5532 else
5533 echo "$as_me:$LINENO: result: no" >&5
5534 echo "${ECHO_T}no" >&6
5535 fi
5536
5537
5538 enablestring=
5539 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5540 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5541 no_cache=0
5542 # Check whether --enable-snglinst or --disable-snglinst was given.
5543 if test "${enable_snglinst+set}" = set; then
5544 enableval="$enable_snglinst"
5545
5546 if test "$enableval" = yes; then
5547 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5548 else
5549 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5550 fi
5551
5552 else
5553
5554 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5555 if test "x$LINE" != x ; then
5556 eval "DEFAULT_$LINE"
5557 else
5558 no_cache=1
5559 fi
5560
5561 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5562
5563 fi;
5564
5565 eval "$ac_cv_use_snglinst"
5566 if test "$no_cache" != 1; then
5567 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5568 fi
5569
5570 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5571 echo "$as_me:$LINENO: result: yes" >&5
5572 echo "${ECHO_T}yes" >&6
5573 else
5574 echo "$as_me:$LINENO: result: no" >&5
5575 echo "${ECHO_T}no" >&6
5576 fi
5577
5578
5579 enablestring=
5580 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5581 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5582 no_cache=0
5583 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5584 if test "${enable_std_iostreams+set}" = set; then
5585 enableval="$enable_std_iostreams"
5586
5587 if test "$enableval" = yes; then
5588 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5589 else
5590 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5591 fi
5592
5593 else
5594
5595 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5596 if test "x$LINE" != x ; then
5597 eval "DEFAULT_$LINE"
5598 else
5599 no_cache=1
5600 fi
5601
5602 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5603
5604 fi;
5605
5606 eval "$ac_cv_use_std_iostreams"
5607 if test "$no_cache" != 1; then
5608 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5609 fi
5610
5611 if test "$wxUSE_STD_IOSTREAM" = yes; then
5612 echo "$as_me:$LINENO: result: yes" >&5
5613 echo "${ECHO_T}yes" >&6
5614 else
5615 echo "$as_me:$LINENO: result: no" >&5
5616 echo "${ECHO_T}no" >&6
5617 fi
5618
5619
5620 enablestring=
5621 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5622 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5623 no_cache=0
5624 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5625 if test "${enable_stdpaths+set}" = set; then
5626 enableval="$enable_stdpaths"
5627
5628 if test "$enableval" = yes; then
5629 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
5630 else
5631 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
5632 fi
5633
5634 else
5635
5636 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5637 if test "x$LINE" != x ; then
5638 eval "DEFAULT_$LINE"
5639 else
5640 no_cache=1
5641 fi
5642
5643 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5644
5645 fi;
5646
5647 eval "$ac_cv_use_stdpaths"
5648 if test "$no_cache" != 1; then
5649 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5650 fi
5651
5652 if test "$wxUSE_STDPATHS" = yes; then
5653 echo "$as_me:$LINENO: result: yes" >&5
5654 echo "${ECHO_T}yes" >&6
5655 else
5656 echo "$as_me:$LINENO: result: no" >&5
5657 echo "${ECHO_T}no" >&6
5658 fi
5659
5660
5661 enablestring=
5662 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5663 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5664 no_cache=0
5665 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5666 if test "${enable_stopwatch+set}" = set; then
5667 enableval="$enable_stopwatch"
5668
5669 if test "$enableval" = yes; then
5670 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5671 else
5672 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5673 fi
5674
5675 else
5676
5677 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5678 if test "x$LINE" != x ; then
5679 eval "DEFAULT_$LINE"
5680 else
5681 no_cache=1
5682 fi
5683
5684 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5685
5686 fi;
5687
5688 eval "$ac_cv_use_stopwatch"
5689 if test "$no_cache" != 1; then
5690 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5691 fi
5692
5693 if test "$wxUSE_STOPWATCH" = yes; then
5694 echo "$as_me:$LINENO: result: yes" >&5
5695 echo "${ECHO_T}yes" >&6
5696 else
5697 echo "$as_me:$LINENO: result: no" >&5
5698 echo "${ECHO_T}no" >&6
5699 fi
5700
5701
5702 enablestring=
5703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5704 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5705 no_cache=0
5706 # Check whether --enable-streams or --disable-streams was given.
5707 if test "${enable_streams+set}" = set; then
5708 enableval="$enable_streams"
5709
5710 if test "$enableval" = yes; then
5711 ac_cv_use_streams='wxUSE_STREAMS=yes'
5712 else
5713 ac_cv_use_streams='wxUSE_STREAMS=no'
5714 fi
5715
5716 else
5717
5718 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5719 if test "x$LINE" != x ; then
5720 eval "DEFAULT_$LINE"
5721 else
5722 no_cache=1
5723 fi
5724
5725 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5726
5727 fi;
5728
5729 eval "$ac_cv_use_streams"
5730 if test "$no_cache" != 1; then
5731 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5732 fi
5733
5734 if test "$wxUSE_STREAMS" = yes; then
5735 echo "$as_me:$LINENO: result: yes" >&5
5736 echo "${ECHO_T}yes" >&6
5737 else
5738 echo "$as_me:$LINENO: result: no" >&5
5739 echo "${ECHO_T}no" >&6
5740 fi
5741
5742
5743 enablestring=
5744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5745 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5746 no_cache=0
5747 # Check whether --enable-system_options or --disable-system_options was given.
5748 if test "${enable_system_options+set}" = set; then
5749 enableval="$enable_system_options"
5750
5751 if test "$enableval" = yes; then
5752 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5753 else
5754 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5755 fi
5756
5757 else
5758
5759 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5760 if test "x$LINE" != x ; then
5761 eval "DEFAULT_$LINE"
5762 else
5763 no_cache=1
5764 fi
5765
5766 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5767
5768 fi;
5769
5770 eval "$ac_cv_use_system_options"
5771 if test "$no_cache" != 1; then
5772 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5773 fi
5774
5775 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5776 echo "$as_me:$LINENO: result: yes" >&5
5777 echo "${ECHO_T}yes" >&6
5778 else
5779 echo "$as_me:$LINENO: result: no" >&5
5780 echo "${ECHO_T}no" >&6
5781 fi
5782
5783
5784 enablestring=
5785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5786 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5787 no_cache=0
5788 # Check whether --enable-textbuf or --disable-textbuf was given.
5789 if test "${enable_textbuf+set}" = set; then
5790 enableval="$enable_textbuf"
5791
5792 if test "$enableval" = yes; then
5793 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5794 else
5795 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5796 fi
5797
5798 else
5799
5800 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5801 if test "x$LINE" != x ; then
5802 eval "DEFAULT_$LINE"
5803 else
5804 no_cache=1
5805 fi
5806
5807 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5808
5809 fi;
5810
5811 eval "$ac_cv_use_textbuf"
5812 if test "$no_cache" != 1; then
5813 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5814 fi
5815
5816 if test "$wxUSE_TEXTBUFFER" = yes; then
5817 echo "$as_me:$LINENO: result: yes" >&5
5818 echo "${ECHO_T}yes" >&6
5819 else
5820 echo "$as_me:$LINENO: result: no" >&5
5821 echo "${ECHO_T}no" >&6
5822 fi
5823
5824
5825 enablestring=
5826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5827 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5828 no_cache=0
5829 # Check whether --enable-textfile or --disable-textfile was given.
5830 if test "${enable_textfile+set}" = set; then
5831 enableval="$enable_textfile"
5832
5833 if test "$enableval" = yes; then
5834 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5835 else
5836 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5837 fi
5838
5839 else
5840
5841 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5842 if test "x$LINE" != x ; then
5843 eval "DEFAULT_$LINE"
5844 else
5845 no_cache=1
5846 fi
5847
5848 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5849
5850 fi;
5851
5852 eval "$ac_cv_use_textfile"
5853 if test "$no_cache" != 1; then
5854 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5855 fi
5856
5857 if test "$wxUSE_TEXTFILE" = yes; then
5858 echo "$as_me:$LINENO: result: yes" >&5
5859 echo "${ECHO_T}yes" >&6
5860 else
5861 echo "$as_me:$LINENO: result: no" >&5
5862 echo "${ECHO_T}no" >&6
5863 fi
5864
5865
5866 enablestring=
5867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5868 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5869 no_cache=0
5870 # Check whether --enable-timer or --disable-timer was given.
5871 if test "${enable_timer+set}" = set; then
5872 enableval="$enable_timer"
5873
5874 if test "$enableval" = yes; then
5875 ac_cv_use_timer='wxUSE_TIMER=yes'
5876 else
5877 ac_cv_use_timer='wxUSE_TIMER=no'
5878 fi
5879
5880 else
5881
5882 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5883 if test "x$LINE" != x ; then
5884 eval "DEFAULT_$LINE"
5885 else
5886 no_cache=1
5887 fi
5888
5889 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5890
5891 fi;
5892
5893 eval "$ac_cv_use_timer"
5894 if test "$no_cache" != 1; then
5895 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5896 fi
5897
5898 if test "$wxUSE_TIMER" = yes; then
5899 echo "$as_me:$LINENO: result: yes" >&5
5900 echo "${ECHO_T}yes" >&6
5901 else
5902 echo "$as_me:$LINENO: result: no" >&5
5903 echo "${ECHO_T}no" >&6
5904 fi
5905
5906
5907 enablestring=
5908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5909 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5910 no_cache=0
5911 # Check whether --enable-unicode or --disable-unicode was given.
5912 if test "${enable_unicode+set}" = set; then
5913 enableval="$enable_unicode"
5914
5915 if test "$enableval" = yes; then
5916 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5917 else
5918 ac_cv_use_unicode='wxUSE_UNICODE=no'
5919 fi
5920
5921 else
5922
5923 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5924 if test "x$LINE" != x ; then
5925 eval "DEFAULT_$LINE"
5926 else
5927 no_cache=1
5928 fi
5929
5930 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5931
5932 fi;
5933
5934 eval "$ac_cv_use_unicode"
5935 if test "$no_cache" != 1; then
5936 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5937 fi
5938
5939 if test "$wxUSE_UNICODE" = yes; then
5940 echo "$as_me:$LINENO: result: yes" >&5
5941 echo "${ECHO_T}yes" >&6
5942 else
5943 echo "$as_me:$LINENO: result: no" >&5
5944 echo "${ECHO_T}no" >&6
5945 fi
5946
5947
5948 enablestring=
5949 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5950 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5951 no_cache=0
5952 # Check whether --enable-sound or --disable-sound was given.
5953 if test "${enable_sound+set}" = set; then
5954 enableval="$enable_sound"
5955
5956 if test "$enableval" = yes; then
5957 ac_cv_use_sound='wxUSE_SOUND=yes'
5958 else
5959 ac_cv_use_sound='wxUSE_SOUND=no'
5960 fi
5961
5962 else
5963
5964 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5965 if test "x$LINE" != x ; then
5966 eval "DEFAULT_$LINE"
5967 else
5968 no_cache=1
5969 fi
5970
5971 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5972
5973 fi;
5974
5975 eval "$ac_cv_use_sound"
5976 if test "$no_cache" != 1; then
5977 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5978 fi
5979
5980 if test "$wxUSE_SOUND" = yes; then
5981 echo "$as_me:$LINENO: result: yes" >&5
5982 echo "${ECHO_T}yes" >&6
5983 else
5984 echo "$as_me:$LINENO: result: no" >&5
5985 echo "${ECHO_T}no" >&6
5986 fi
5987
5988
5989 enablestring=
5990 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
5991 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
5992 no_cache=0
5993 # Check whether --enable-mediactrl or --disable-mediactrl was given.
5994 if test "${enable_mediactrl+set}" = set; then
5995 enableval="$enable_mediactrl"
5996
5997 if test "$enableval" = yes; then
5998 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
5999 else
6000 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6001 fi
6002
6003 else
6004
6005 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6006 if test "x$LINE" != x ; then
6007 eval "DEFAULT_$LINE"
6008 else
6009 no_cache=1
6010 fi
6011
6012 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6013
6014 fi;
6015
6016 eval "$ac_cv_use_mediactrl"
6017 if test "$no_cache" != 1; then
6018 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6019 fi
6020
6021 if test "$wxUSE_MEDIACTRL" = yes; then
6022 echo "$as_me:$LINENO: result: yes" >&5
6023 echo "${ECHO_T}yes" >&6
6024 else
6025 echo "$as_me:$LINENO: result: no" >&5
6026 echo "${ECHO_T}no" >&6
6027 fi
6028
6029
6030 enablestring=
6031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6032 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6033 no_cache=0
6034 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6035 if test "${enable_wxprintfv+set}" = set; then
6036 enableval="$enable_wxprintfv"
6037
6038 if test "$enableval" = yes; then
6039 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
6040 else
6041 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
6042 fi
6043
6044 else
6045
6046 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6047 if test "x$LINE" != x ; then
6048 eval "DEFAULT_$LINE"
6049 else
6050 no_cache=1
6051 fi
6052
6053 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6054
6055 fi;
6056
6057 eval "$ac_cv_use_wxprintfv"
6058 if test "$no_cache" != 1; then
6059 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6060 fi
6061
6062 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6063 echo "$as_me:$LINENO: result: yes" >&5
6064 echo "${ECHO_T}yes" >&6
6065 else
6066 echo "$as_me:$LINENO: result: no" >&5
6067 echo "${ECHO_T}no" >&6
6068 fi
6069
6070
6071 enablestring=
6072 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6073 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6074 no_cache=0
6075 # Check whether --enable-zipstream or --disable-zipstream was given.
6076 if test "${enable_zipstream+set}" = set; then
6077 enableval="$enable_zipstream"
6078
6079 if test "$enableval" = yes; then
6080 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6081 else
6082 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6083 fi
6084
6085 else
6086
6087 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6088 if test "x$LINE" != x ; then
6089 eval "DEFAULT_$LINE"
6090 else
6091 no_cache=1
6092 fi
6093
6094 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6095
6096 fi;
6097
6098 eval "$ac_cv_use_zipstream"
6099 if test "$no_cache" != 1; then
6100 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6101 fi
6102
6103 if test "$wxUSE_ZIPSTREAM" = yes; then
6104 echo "$as_me:$LINENO: result: yes" >&5
6105 echo "${ECHO_T}yes" >&6
6106 else
6107 echo "$as_me:$LINENO: result: no" >&5
6108 echo "${ECHO_T}no" >&6
6109 fi
6110
6111
6112
6113 enablestring=
6114 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6115 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6116 no_cache=0
6117 # Check whether --enable-url or --disable-url was given.
6118 if test "${enable_url+set}" = set; then
6119 enableval="$enable_url"
6120
6121 if test "$enableval" = yes; then
6122 ac_cv_use_url='wxUSE_URL=yes'
6123 else
6124 ac_cv_use_url='wxUSE_URL=no'
6125 fi
6126
6127 else
6128
6129 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6130 if test "x$LINE" != x ; then
6131 eval "DEFAULT_$LINE"
6132 else
6133 no_cache=1
6134 fi
6135
6136 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6137
6138 fi;
6139
6140 eval "$ac_cv_use_url"
6141 if test "$no_cache" != 1; then
6142 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6143 fi
6144
6145 if test "$wxUSE_URL" = yes; then
6146 echo "$as_me:$LINENO: result: yes" >&5
6147 echo "${ECHO_T}yes" >&6
6148 else
6149 echo "$as_me:$LINENO: result: no" >&5
6150 echo "${ECHO_T}no" >&6
6151 fi
6152
6153
6154 enablestring=
6155 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6156 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6157 no_cache=0
6158 # Check whether --enable-protocol or --disable-protocol was given.
6159 if test "${enable_protocol+set}" = set; then
6160 enableval="$enable_protocol"
6161
6162 if test "$enableval" = yes; then
6163 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6164 else
6165 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6166 fi
6167
6168 else
6169
6170 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6171 if test "x$LINE" != x ; then
6172 eval "DEFAULT_$LINE"
6173 else
6174 no_cache=1
6175 fi
6176
6177 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6178
6179 fi;
6180
6181 eval "$ac_cv_use_protocol"
6182 if test "$no_cache" != 1; then
6183 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6184 fi
6185
6186 if test "$wxUSE_PROTOCOL" = yes; then
6187 echo "$as_me:$LINENO: result: yes" >&5
6188 echo "${ECHO_T}yes" >&6
6189 else
6190 echo "$as_me:$LINENO: result: no" >&5
6191 echo "${ECHO_T}no" >&6
6192 fi
6193
6194
6195 enablestring=
6196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6197 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6198 no_cache=0
6199 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6200 if test "${enable_protocol_http+set}" = set; then
6201 enableval="$enable_protocol_http"
6202
6203 if test "$enableval" = yes; then
6204 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6205 else
6206 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6207 fi
6208
6209 else
6210
6211 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6212 if test "x$LINE" != x ; then
6213 eval "DEFAULT_$LINE"
6214 else
6215 no_cache=1
6216 fi
6217
6218 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6219
6220 fi;
6221
6222 eval "$ac_cv_use_protocol_http"
6223 if test "$no_cache" != 1; then
6224 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6225 fi
6226
6227 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6228 echo "$as_me:$LINENO: result: yes" >&5
6229 echo "${ECHO_T}yes" >&6
6230 else
6231 echo "$as_me:$LINENO: result: no" >&5
6232 echo "${ECHO_T}no" >&6
6233 fi
6234
6235
6236 enablestring=
6237 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6238 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6239 no_cache=0
6240 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6241 if test "${enable_protocol_ftp+set}" = set; then
6242 enableval="$enable_protocol_ftp"
6243
6244 if test "$enableval" = yes; then
6245 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6246 else
6247 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6248 fi
6249
6250 else
6251
6252 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6253 if test "x$LINE" != x ; then
6254 eval "DEFAULT_$LINE"
6255 else
6256 no_cache=1
6257 fi
6258
6259 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6260
6261 fi;
6262
6263 eval "$ac_cv_use_protocol_ftp"
6264 if test "$no_cache" != 1; then
6265 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6266 fi
6267
6268 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6269 echo "$as_me:$LINENO: result: yes" >&5
6270 echo "${ECHO_T}yes" >&6
6271 else
6272 echo "$as_me:$LINENO: result: no" >&5
6273 echo "${ECHO_T}no" >&6
6274 fi
6275
6276
6277 enablestring=
6278 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6279 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6280 no_cache=0
6281 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6282 if test "${enable_protocol_file+set}" = set; then
6283 enableval="$enable_protocol_file"
6284
6285 if test "$enableval" = yes; then
6286 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6287 else
6288 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6289 fi
6290
6291 else
6292
6293 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6294 if test "x$LINE" != x ; then
6295 eval "DEFAULT_$LINE"
6296 else
6297 no_cache=1
6298 fi
6299
6300 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6301
6302 fi;
6303
6304 eval "$ac_cv_use_protocol_file"
6305 if test "$no_cache" != 1; then
6306 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6307 fi
6308
6309 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6310 echo "$as_me:$LINENO: result: yes" >&5
6311 echo "${ECHO_T}yes" >&6
6312 else
6313 echo "$as_me:$LINENO: result: no" >&5
6314 echo "${ECHO_T}no" >&6
6315 fi
6316
6317
6318
6319
6320
6321 enablestring=
6322 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6323 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6324 no_cache=0
6325 # Check whether --enable-threads or --disable-threads was given.
6326 if test "${enable_threads+set}" = set; then
6327 enableval="$enable_threads"
6328
6329 if test "$enableval" = yes; then
6330 ac_cv_use_threads='wxUSE_THREADS=yes'
6331 else
6332 ac_cv_use_threads='wxUSE_THREADS=no'
6333 fi
6334
6335 else
6336
6337 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6338 if test "x$LINE" != x ; then
6339 eval "DEFAULT_$LINE"
6340 else
6341 no_cache=1
6342 fi
6343
6344 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6345
6346 fi;
6347
6348 eval "$ac_cv_use_threads"
6349 if test "$no_cache" != 1; then
6350 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6351 fi
6352
6353 if test "$wxUSE_THREADS" = yes; then
6354 echo "$as_me:$LINENO: result: yes" >&5
6355 echo "${ECHO_T}yes" >&6
6356 else
6357 echo "$as_me:$LINENO: result: no" >&5
6358 echo "${ECHO_T}no" >&6
6359 fi
6360
6361
6362 if test "$wxUSE_GUI" = "yes"; then
6363
6364
6365
6366 enablestring=
6367 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6368 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6369 no_cache=0
6370 # Check whether --enable-docview or --disable-docview was given.
6371 if test "${enable_docview+set}" = set; then
6372 enableval="$enable_docview"
6373
6374 if test "$enableval" = yes; then
6375 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6376 else
6377 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6378 fi
6379
6380 else
6381
6382 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6383 if test "x$LINE" != x ; then
6384 eval "DEFAULT_$LINE"
6385 else
6386 no_cache=1
6387 fi
6388
6389 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6390
6391 fi;
6392
6393 eval "$ac_cv_use_docview"
6394 if test "$no_cache" != 1; then
6395 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6396 fi
6397
6398 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6399 echo "$as_me:$LINENO: result: yes" >&5
6400 echo "${ECHO_T}yes" >&6
6401 else
6402 echo "$as_me:$LINENO: result: no" >&5
6403 echo "${ECHO_T}no" >&6
6404 fi
6405
6406
6407 enablestring=
6408 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6409 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6410 no_cache=0
6411 # Check whether --enable-help or --disable-help was given.
6412 if test "${enable_help+set}" = set; then
6413 enableval="$enable_help"
6414
6415 if test "$enableval" = yes; then
6416 ac_cv_use_help='wxUSE_HELP=yes'
6417 else
6418 ac_cv_use_help='wxUSE_HELP=no'
6419 fi
6420
6421 else
6422
6423 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6424 if test "x$LINE" != x ; then
6425 eval "DEFAULT_$LINE"
6426 else
6427 no_cache=1
6428 fi
6429
6430 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6431
6432 fi;
6433
6434 eval "$ac_cv_use_help"
6435 if test "$no_cache" != 1; then
6436 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6437 fi
6438
6439 if test "$wxUSE_HELP" = yes; then
6440 echo "$as_me:$LINENO: result: yes" >&5
6441 echo "${ECHO_T}yes" >&6
6442 else
6443 echo "$as_me:$LINENO: result: no" >&5
6444 echo "${ECHO_T}no" >&6
6445 fi
6446
6447
6448 enablestring=
6449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6450 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6451 no_cache=0
6452 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6453 if test "${enable_mshtmlhelp+set}" = set; then
6454 enableval="$enable_mshtmlhelp"
6455
6456 if test "$enableval" = yes; then
6457 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6458 else
6459 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6460 fi
6461
6462 else
6463
6464 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6465 if test "x$LINE" != x ; then
6466 eval "DEFAULT_$LINE"
6467 else
6468 no_cache=1
6469 fi
6470
6471 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6472
6473 fi;
6474
6475 eval "$ac_cv_use_mshtmlhelp"
6476 if test "$no_cache" != 1; then
6477 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6478 fi
6479
6480 if test "$wxUSE_MS_HTML_HELP" = yes; then
6481 echo "$as_me:$LINENO: result: yes" >&5
6482 echo "${ECHO_T}yes" >&6
6483 else
6484 echo "$as_me:$LINENO: result: no" >&5
6485 echo "${ECHO_T}no" >&6
6486 fi
6487
6488
6489 enablestring=
6490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6491 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6492 no_cache=0
6493 # Check whether --enable-html or --disable-html was given.
6494 if test "${enable_html+set}" = set; then
6495 enableval="$enable_html"
6496
6497 if test "$enableval" = yes; then
6498 ac_cv_use_html='wxUSE_HTML=yes'
6499 else
6500 ac_cv_use_html='wxUSE_HTML=no'
6501 fi
6502
6503 else
6504
6505 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6506 if test "x$LINE" != x ; then
6507 eval "DEFAULT_$LINE"
6508 else
6509 no_cache=1
6510 fi
6511
6512 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6513
6514 fi;
6515
6516 eval "$ac_cv_use_html"
6517 if test "$no_cache" != 1; then
6518 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6519 fi
6520
6521 if test "$wxUSE_HTML" = yes; then
6522 echo "$as_me:$LINENO: result: yes" >&5
6523 echo "${ECHO_T}yes" >&6
6524 else
6525 echo "$as_me:$LINENO: result: no" >&5
6526 echo "${ECHO_T}no" >&6
6527 fi
6528
6529
6530 enablestring=
6531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6532 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6533 no_cache=0
6534 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6535 if test "${enable_htmlhelp+set}" = set; then
6536 enableval="$enable_htmlhelp"
6537
6538 if test "$enableval" = yes; then
6539 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6540 else
6541 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6542 fi
6543
6544 else
6545
6546 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6547 if test "x$LINE" != x ; then
6548 eval "DEFAULT_$LINE"
6549 else
6550 no_cache=1
6551 fi
6552
6553 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6554
6555 fi;
6556
6557 eval "$ac_cv_use_htmlhelp"
6558 if test "$no_cache" != 1; then
6559 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6560 fi
6561
6562 if test "$wxUSE_WXHTML_HELP" = yes; then
6563 echo "$as_me:$LINENO: result: yes" >&5
6564 echo "${ECHO_T}yes" >&6
6565 else
6566 echo "$as_me:$LINENO: result: no" >&5
6567 echo "${ECHO_T}no" >&6
6568 fi
6569
6570
6571 enablestring=
6572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6573 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6574 no_cache=0
6575 # Check whether --enable-xrc or --disable-xrc was given.
6576 if test "${enable_xrc+set}" = set; then
6577 enableval="$enable_xrc"
6578
6579 if test "$enableval" = yes; then
6580 ac_cv_use_xrc='wxUSE_XRC=yes'
6581 else
6582 ac_cv_use_xrc='wxUSE_XRC=no'
6583 fi
6584
6585 else
6586
6587 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6588 if test "x$LINE" != x ; then
6589 eval "DEFAULT_$LINE"
6590 else
6591 no_cache=1
6592 fi
6593
6594 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6595
6596 fi;
6597
6598 eval "$ac_cv_use_xrc"
6599 if test "$no_cache" != 1; then
6600 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6601 fi
6602
6603 if test "$wxUSE_XRC" = yes; then
6604 echo "$as_me:$LINENO: result: yes" >&5
6605 echo "${ECHO_T}yes" >&6
6606 else
6607 echo "$as_me:$LINENO: result: no" >&5
6608 echo "${ECHO_T}no" >&6
6609 fi
6610
6611
6612 enablestring=
6613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6614 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6615 no_cache=0
6616 # Check whether --enable-constraints or --disable-constraints was given.
6617 if test "${enable_constraints+set}" = set; then
6618 enableval="$enable_constraints"
6619
6620 if test "$enableval" = yes; then
6621 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6622 else
6623 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6624 fi
6625
6626 else
6627
6628 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6629 if test "x$LINE" != x ; then
6630 eval "DEFAULT_$LINE"
6631 else
6632 no_cache=1
6633 fi
6634
6635 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6636
6637 fi;
6638
6639 eval "$ac_cv_use_constraints"
6640 if test "$no_cache" != 1; then
6641 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6642 fi
6643
6644 if test "$wxUSE_CONSTRAINTS" = yes; then
6645 echo "$as_me:$LINENO: result: yes" >&5
6646 echo "${ECHO_T}yes" >&6
6647 else
6648 echo "$as_me:$LINENO: result: no" >&5
6649 echo "${ECHO_T}no" >&6
6650 fi
6651
6652
6653 enablestring=
6654 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6655 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6656 no_cache=0
6657 # Check whether --enable-printarch or --disable-printarch was given.
6658 if test "${enable_printarch+set}" = set; then
6659 enableval="$enable_printarch"
6660
6661 if test "$enableval" = yes; then
6662 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6663 else
6664 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6665 fi
6666
6667 else
6668
6669 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6670 if test "x$LINE" != x ; then
6671 eval "DEFAULT_$LINE"
6672 else
6673 no_cache=1
6674 fi
6675
6676 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6677
6678 fi;
6679
6680 eval "$ac_cv_use_printarch"
6681 if test "$no_cache" != 1; then
6682 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6683 fi
6684
6685 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6686 echo "$as_me:$LINENO: result: yes" >&5
6687 echo "${ECHO_T}yes" >&6
6688 else
6689 echo "$as_me:$LINENO: result: no" >&5
6690 echo "${ECHO_T}no" >&6
6691 fi
6692
6693
6694 enablestring=
6695 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6696 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6697 no_cache=0
6698 # Check whether --enable-mdi or --disable-mdi was given.
6699 if test "${enable_mdi+set}" = set; then
6700 enableval="$enable_mdi"
6701
6702 if test "$enableval" = yes; then
6703 ac_cv_use_mdi='wxUSE_MDI=yes'
6704 else
6705 ac_cv_use_mdi='wxUSE_MDI=no'
6706 fi
6707
6708 else
6709
6710 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6711 if test "x$LINE" != x ; then
6712 eval "DEFAULT_$LINE"
6713 else
6714 no_cache=1
6715 fi
6716
6717 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6718
6719 fi;
6720
6721 eval "$ac_cv_use_mdi"
6722 if test "$no_cache" != 1; then
6723 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6724 fi
6725
6726 if test "$wxUSE_MDI" = yes; then
6727 echo "$as_me:$LINENO: result: yes" >&5
6728 echo "${ECHO_T}yes" >&6
6729 else
6730 echo "$as_me:$LINENO: result: no" >&5
6731 echo "${ECHO_T}no" >&6
6732 fi
6733
6734
6735 enablestring=
6736 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6737 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6738 no_cache=0
6739 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6740 if test "${enable_mdidoc+set}" = set; then
6741 enableval="$enable_mdidoc"
6742
6743 if test "$enableval" = yes; then
6744 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
6745 else
6746 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
6747 fi
6748
6749 else
6750
6751 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6752 if test "x$LINE" != x ; then
6753 eval "DEFAULT_$LINE"
6754 else
6755 no_cache=1
6756 fi
6757
6758 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6759
6760 fi;
6761
6762 eval "$ac_cv_use_mdidoc"
6763 if test "$no_cache" != 1; then
6764 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6765 fi
6766
6767 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6768 echo "$as_me:$LINENO: result: yes" >&5
6769 echo "${ECHO_T}yes" >&6
6770 else
6771 echo "$as_me:$LINENO: result: no" >&5
6772 echo "${ECHO_T}no" >&6
6773 fi
6774
6775
6776 enablestring=
6777 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6778 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6779 no_cache=0
6780 # Check whether --enable-loggui or --disable-loggui was given.
6781 if test "${enable_loggui+set}" = set; then
6782 enableval="$enable_loggui"
6783
6784 if test "$enableval" = yes; then
6785 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6786 else
6787 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6788 fi
6789
6790 else
6791
6792 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6793 if test "x$LINE" != x ; then
6794 eval "DEFAULT_$LINE"
6795 else
6796 no_cache=1
6797 fi
6798
6799 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6800
6801 fi;
6802
6803 eval "$ac_cv_use_loggui"
6804 if test "$no_cache" != 1; then
6805 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6806 fi
6807
6808 if test "$wxUSE_LOGGUI" = yes; then
6809 echo "$as_me:$LINENO: result: yes" >&5
6810 echo "${ECHO_T}yes" >&6
6811 else
6812 echo "$as_me:$LINENO: result: no" >&5
6813 echo "${ECHO_T}no" >&6
6814 fi
6815
6816
6817 enablestring=
6818 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6819 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6820 no_cache=0
6821 # Check whether --enable-logwin or --disable-logwin was given.
6822 if test "${enable_logwin+set}" = set; then
6823 enableval="$enable_logwin"
6824
6825 if test "$enableval" = yes; then
6826 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6827 else
6828 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6829 fi
6830
6831 else
6832
6833 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6834 if test "x$LINE" != x ; then
6835 eval "DEFAULT_$LINE"
6836 else
6837 no_cache=1
6838 fi
6839
6840 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6841
6842 fi;
6843
6844 eval "$ac_cv_use_logwin"
6845 if test "$no_cache" != 1; then
6846 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6847 fi
6848
6849 if test "$wxUSE_LOGWINDOW" = yes; then
6850 echo "$as_me:$LINENO: result: yes" >&5
6851 echo "${ECHO_T}yes" >&6
6852 else
6853 echo "$as_me:$LINENO: result: no" >&5
6854 echo "${ECHO_T}no" >&6
6855 fi
6856
6857
6858 enablestring=
6859 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6860 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6861 no_cache=0
6862 # Check whether --enable-logdialog or --disable-logdialog was given.
6863 if test "${enable_logdialog+set}" = set; then
6864 enableval="$enable_logdialog"
6865
6866 if test "$enableval" = yes; then
6867 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6868 else
6869 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6870 fi
6871
6872 else
6873
6874 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6875 if test "x$LINE" != x ; then
6876 eval "DEFAULT_$LINE"
6877 else
6878 no_cache=1
6879 fi
6880
6881 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6882
6883 fi;
6884
6885 eval "$ac_cv_use_logdialog"
6886 if test "$no_cache" != 1; then
6887 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6888 fi
6889
6890 if test "$wxUSE_LOGDIALOG" = yes; then
6891 echo "$as_me:$LINENO: result: yes" >&5
6892 echo "${ECHO_T}yes" >&6
6893 else
6894 echo "$as_me:$LINENO: result: no" >&5
6895 echo "${ECHO_T}no" >&6
6896 fi
6897
6898
6899 enablestring=
6900 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6901 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6902 no_cache=0
6903 # Check whether --enable-webkit or --disable-webkit was given.
6904 if test "${enable_webkit+set}" = set; then
6905 enableval="$enable_webkit"
6906
6907 if test "$enableval" = yes; then
6908 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
6909 else
6910 ac_cv_use_webkit='wxUSE_WEBKIT=no'
6911 fi
6912
6913 else
6914
6915 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6916 if test "x$LINE" != x ; then
6917 eval "DEFAULT_$LINE"
6918 else
6919 no_cache=1
6920 fi
6921
6922 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6923
6924 fi;
6925
6926 eval "$ac_cv_use_webkit"
6927 if test "$no_cache" != 1; then
6928 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6929 fi
6930
6931 if test "$wxUSE_WEBKIT" = yes; then
6932 echo "$as_me:$LINENO: result: yes" >&5
6933 echo "${ECHO_T}yes" >&6
6934 else
6935 echo "$as_me:$LINENO: result: no" >&5
6936 echo "${ECHO_T}no" >&6
6937 fi
6938
6939
6940
6941 enablestring=
6942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6943 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6944 no_cache=0
6945 # Check whether --enable-postscript or --disable-postscript was given.
6946 if test "${enable_postscript+set}" = set; then
6947 enableval="$enable_postscript"
6948
6949 if test "$enableval" = yes; then
6950 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6951 else
6952 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6953 fi
6954
6955 else
6956
6957 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6958 if test "x$LINE" != x ; then
6959 eval "DEFAULT_$LINE"
6960 else
6961 no_cache=1
6962 fi
6963
6964 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6965
6966 fi;
6967
6968 eval "$ac_cv_use_postscript"
6969 if test "$no_cache" != 1; then
6970 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6971 fi
6972
6973 if test "$wxUSE_POSTSCRIPT" = yes; then
6974 echo "$as_me:$LINENO: result: yes" >&5
6975 echo "${ECHO_T}yes" >&6
6976 else
6977 echo "$as_me:$LINENO: result: no" >&5
6978 echo "${ECHO_T}no" >&6
6979 fi
6980
6981
6982
6983
6984
6985 enablestring=
6986 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6987 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6988 no_cache=0
6989 # Check whether --enable-prologio or --disable-prologio was given.
6990 if test "${enable_prologio+set}" = set; then
6991 enableval="$enable_prologio"
6992
6993 if test "$enableval" = yes; then
6994 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6995 else
6996 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6997 fi
6998
6999 else
7000
7001 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7002 if test "x$LINE" != x ; then
7003 eval "DEFAULT_$LINE"
7004 else
7005 no_cache=1
7006 fi
7007
7008 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7009
7010 fi;
7011
7012 eval "$ac_cv_use_prologio"
7013 if test "$no_cache" != 1; then
7014 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7015 fi
7016
7017 if test "$wxUSE_PROLOGIO" = yes; then
7018 echo "$as_me:$LINENO: result: yes" >&5
7019 echo "${ECHO_T}yes" >&6
7020 else
7021 echo "$as_me:$LINENO: result: no" >&5
7022 echo "${ECHO_T}no" >&6
7023 fi
7024
7025
7026 enablestring=
7027 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7028 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7029 no_cache=0
7030 # Check whether --enable-resources or --disable-resources was given.
7031 if test "${enable_resources+set}" = set; then
7032 enableval="$enable_resources"
7033
7034 if test "$enableval" = yes; then
7035 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7036 else
7037 ac_cv_use_resources='wxUSE_RESOURCES=no'
7038 fi
7039
7040 else
7041
7042 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7043 if test "x$LINE" != x ; then
7044 eval "DEFAULT_$LINE"
7045 else
7046 no_cache=1
7047 fi
7048
7049 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7050
7051 fi;
7052
7053 eval "$ac_cv_use_resources"
7054 if test "$no_cache" != 1; then
7055 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7056 fi
7057
7058 if test "$wxUSE_RESOURCES" = yes; then
7059 echo "$as_me:$LINENO: result: yes" >&5
7060 echo "${ECHO_T}yes" >&6
7061 else
7062 echo "$as_me:$LINENO: result: no" >&5
7063 echo "${ECHO_T}no" >&6
7064 fi
7065
7066
7067
7068
7069 enablestring=
7070 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7071 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7072 no_cache=0
7073 # Check whether --enable-clipboard or --disable-clipboard was given.
7074 if test "${enable_clipboard+set}" = set; then
7075 enableval="$enable_clipboard"
7076
7077 if test "$enableval" = yes; then
7078 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7079 else
7080 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7081 fi
7082
7083 else
7084
7085 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7086 if test "x$LINE" != x ; then
7087 eval "DEFAULT_$LINE"
7088 else
7089 no_cache=1
7090 fi
7091
7092 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7093
7094 fi;
7095
7096 eval "$ac_cv_use_clipboard"
7097 if test "$no_cache" != 1; then
7098 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7099 fi
7100
7101 if test "$wxUSE_CLIPBOARD" = yes; then
7102 echo "$as_me:$LINENO: result: yes" >&5
7103 echo "${ECHO_T}yes" >&6
7104 else
7105 echo "$as_me:$LINENO: result: no" >&5
7106 echo "${ECHO_T}no" >&6
7107 fi
7108
7109
7110 enablestring=
7111 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7112 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7113 no_cache=0
7114 # Check whether --enable-dnd or --disable-dnd was given.
7115 if test "${enable_dnd+set}" = set; then
7116 enableval="$enable_dnd"
7117
7118 if test "$enableval" = yes; then
7119 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7120 else
7121 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7122 fi
7123
7124 else
7125
7126 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7127 if test "x$LINE" != x ; then
7128 eval "DEFAULT_$LINE"
7129 else
7130 no_cache=1
7131 fi
7132
7133 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7134
7135 fi;
7136
7137 eval "$ac_cv_use_dnd"
7138 if test "$no_cache" != 1; then
7139 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7140 fi
7141
7142 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7143 echo "$as_me:$LINENO: result: yes" >&5
7144 echo "${ECHO_T}yes" >&6
7145 else
7146 echo "$as_me:$LINENO: result: no" >&5
7147 echo "${ECHO_T}no" >&6
7148 fi
7149
7150
7151 enablestring=
7152 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7153 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7154 no_cache=0
7155 # Check whether --enable-metafile or --disable-metafile was given.
7156 if test "${enable_metafile+set}" = set; then
7157 enableval="$enable_metafile"
7158
7159 if test "$enableval" = yes; then
7160 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7161 else
7162 ac_cv_use_metafile='wxUSE_METAFILE=no'
7163 fi
7164
7165 else
7166
7167 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7168 if test "x$LINE" != x ; then
7169 eval "DEFAULT_$LINE"
7170 else
7171 no_cache=1
7172 fi
7173
7174 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7175
7176 fi;
7177
7178 eval "$ac_cv_use_metafile"
7179 if test "$no_cache" != 1; then
7180 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7181 fi
7182
7183 if test "$wxUSE_METAFILE" = yes; then
7184 echo "$as_me:$LINENO: result: yes" >&5
7185 echo "${ECHO_T}yes" >&6
7186 else
7187 echo "$as_me:$LINENO: result: no" >&5
7188 echo "${ECHO_T}no" >&6
7189 fi
7190
7191
7192
7193
7194
7195 enablestring=
7196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7197 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7198 no_cache=0
7199 # Check whether --enable-controls or --disable-controls was given.
7200 if test "${enable_controls+set}" = set; then
7201 enableval="$enable_controls"
7202
7203 if test "$enableval" = yes; then
7204 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7205 else
7206 ac_cv_use_controls='wxUSE_CONTROLS=no'
7207 fi
7208
7209 else
7210
7211 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7212 if test "x$LINE" != x ; then
7213 eval "DEFAULT_$LINE"
7214 else
7215 no_cache=1
7216 fi
7217
7218 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7219
7220 fi;
7221
7222 eval "$ac_cv_use_controls"
7223 if test "$no_cache" != 1; then
7224 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7225 fi
7226
7227 if test "$wxUSE_CONTROLS" = yes; then
7228 echo "$as_me:$LINENO: result: yes" >&5
7229 echo "${ECHO_T}yes" >&6
7230 else
7231 echo "$as_me:$LINENO: result: no" >&5
7232 echo "${ECHO_T}no" >&6
7233 fi
7234
7235
7236 if test "$wxUSE_CONTROLS" = "yes"; then
7237 DEFAULT_wxUSE_ACCEL=yes
7238 DEFAULT_wxUSE_BMPBUTTON=yes
7239 DEFAULT_wxUSE_BUTTON=yes
7240 DEFAULT_wxUSE_CALCTRL=yes
7241 DEFAULT_wxUSE_CARET=yes
7242 DEFAULT_wxUSE_COMBOBOX=yes
7243 DEFAULT_wxUSE_CHECKBOX=yes
7244 DEFAULT_wxUSE_CHECKLISTBOX=yes
7245 DEFAULT_wxUSE_CHOICE=yes
7246 DEFAULT_wxUSE_CHOICEBOOK=yes
7247 DEFAULT_wxUSE_DATEPICKCTRL=yes
7248 DEFAULT_wxUSE_GAUGE=yes
7249 DEFAULT_wxUSE_GRID=yes
7250 DEFAULT_wxUSE_IMAGLIST=yes
7251 DEFAULT_wxUSE_LISTBOOK=yes
7252 DEFAULT_wxUSE_LISTBOX=yes
7253 DEFAULT_wxUSE_LISTCTRL=yes
7254 DEFAULT_wxUSE_NOTEBOOK=yes
7255 DEFAULT_wxUSE_RADIOBOX=yes
7256 DEFAULT_wxUSE_RADIOBTN=yes
7257 DEFAULT_wxUSE_SASH=yes
7258 DEFAULT_wxUSE_SCROLLBAR=yes
7259 DEFAULT_wxUSE_SLIDER=yes
7260 DEFAULT_wxUSE_SPINBTN=yes
7261 DEFAULT_wxUSE_SPINCTRL=yes
7262 DEFAULT_wxUSE_SPLITTER=yes
7263 DEFAULT_wxUSE_STATBMP=yes
7264 DEFAULT_wxUSE_STATBOX=yes
7265 DEFAULT_wxUSE_STATLINE=yes
7266 DEFAULT_wxUSE_STATUSBAR=yes
7267 DEFAULT_wxUSE_TAB_DIALOG=yes
7268 DEFAULT_wxUSE_TOGGLEBTN=yes
7269 DEFAULT_wxUSE_TOOLBAR=yes
7270 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7271 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
7272 DEFAULT_wxUSE_TOOLTIPS=yes
7273 DEFAULT_wxUSE_TREECTRL=yes
7274 DEFAULT_wxUSE_POPUPWIN=yes
7275 DEFAULT_wxUSE_TIPWINDOW=yes
7276 elif test "$wxUSE_CONTROLS" = "no"; then
7277 DEFAULT_wxUSE_ACCEL=no
7278 DEFAULT_wxUSE_BMPBUTTON=no
7279 DEFAULT_wxUSE_BUTTON=no
7280 DEFAULT_wxUSE_CALCTRL=no
7281 DEFAULT_wxUSE_CARET=no
7282 DEFAULT_wxUSE_COMBOBOX=no
7283 DEFAULT_wxUSE_CHECKBOX=no
7284 DEFAULT_wxUSE_CHECKLISTBOX=no
7285 DEFAULT_wxUSE_CHOICE=no
7286 DEFAULT_wxUSE_CHOICEBOOK=no
7287 DEFAULT_wxUSE_DATEPICKCTRL=no
7288 DEFAULT_wxUSE_GAUGE=no
7289 DEFAULT_wxUSE_GRID=no
7290 DEFAULT_wxUSE_IMAGLIST=no
7291 DEFAULT_wxUSE_LISTBOOK=no
7292 DEFAULT_wxUSE_LISTBOX=no
7293 DEFAULT_wxUSE_LISTCTRL=no
7294 DEFAULT_wxUSE_NOTEBOOK=no
7295 DEFAULT_wxUSE_RADIOBOX=no
7296 DEFAULT_wxUSE_RADIOBTN=no
7297 DEFAULT_wxUSE_SASH=no
7298 DEFAULT_wxUSE_SCROLLBAR=no
7299 DEFAULT_wxUSE_SLIDER=no
7300 DEFAULT_wxUSE_SPINBTN=no
7301 DEFAULT_wxUSE_SPINCTRL=no
7302 DEFAULT_wxUSE_SPLITTER=no
7303 DEFAULT_wxUSE_STATBMP=no
7304 DEFAULT_wxUSE_STATBOX=no
7305 DEFAULT_wxUSE_STATLINE=no
7306 DEFAULT_wxUSE_STATUSBAR=no
7307 DEFAULT_wxUSE_TAB_DIALOG=no
7308 DEFAULT_wxUSE_TOGGLEBTN=no
7309 DEFAULT_wxUSE_TOOLBAR=no
7310 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7311 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
7312 DEFAULT_wxUSE_TOOLTIPS=no
7313 DEFAULT_wxUSE_TREECTRL=no
7314 DEFAULT_wxUSE_POPUPWIN=no
7315 DEFAULT_wxUSE_TIPWINDOW=no
7316 fi
7317
7318
7319 enablestring=
7320 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7321 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7322 no_cache=0
7323 # Check whether --enable-accel or --disable-accel was given.
7324 if test "${enable_accel+set}" = set; then
7325 enableval="$enable_accel"
7326
7327 if test "$enableval" = yes; then
7328 ac_cv_use_accel='wxUSE_ACCEL=yes'
7329 else
7330 ac_cv_use_accel='wxUSE_ACCEL=no'
7331 fi
7332
7333 else
7334
7335 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7336 if test "x$LINE" != x ; then
7337 eval "DEFAULT_$LINE"
7338 else
7339 no_cache=1
7340 fi
7341
7342 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7343
7344 fi;
7345
7346 eval "$ac_cv_use_accel"
7347 if test "$no_cache" != 1; then
7348 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7349 fi
7350
7351 if test "$wxUSE_ACCEL" = yes; then
7352 echo "$as_me:$LINENO: result: yes" >&5
7353 echo "${ECHO_T}yes" >&6
7354 else
7355 echo "$as_me:$LINENO: result: no" >&5
7356 echo "${ECHO_T}no" >&6
7357 fi
7358
7359
7360 enablestring=
7361 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7362 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7363 no_cache=0
7364 # Check whether --enable-button or --disable-button was given.
7365 if test "${enable_button+set}" = set; then
7366 enableval="$enable_button"
7367
7368 if test "$enableval" = yes; then
7369 ac_cv_use_button='wxUSE_BUTTON=yes'
7370 else
7371 ac_cv_use_button='wxUSE_BUTTON=no'
7372 fi
7373
7374 else
7375
7376 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7377 if test "x$LINE" != x ; then
7378 eval "DEFAULT_$LINE"
7379 else
7380 no_cache=1
7381 fi
7382
7383 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7384
7385 fi;
7386
7387 eval "$ac_cv_use_button"
7388 if test "$no_cache" != 1; then
7389 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7390 fi
7391
7392 if test "$wxUSE_BUTTON" = yes; then
7393 echo "$as_me:$LINENO: result: yes" >&5
7394 echo "${ECHO_T}yes" >&6
7395 else
7396 echo "$as_me:$LINENO: result: no" >&5
7397 echo "${ECHO_T}no" >&6
7398 fi
7399
7400
7401 enablestring=
7402 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7403 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7404 no_cache=0
7405 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7406 if test "${enable_bmpbutton+set}" = set; then
7407 enableval="$enable_bmpbutton"
7408
7409 if test "$enableval" = yes; then
7410 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
7411 else
7412 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
7413 fi
7414
7415 else
7416
7417 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7418 if test "x$LINE" != x ; then
7419 eval "DEFAULT_$LINE"
7420 else
7421 no_cache=1
7422 fi
7423
7424 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7425
7426 fi;
7427
7428 eval "$ac_cv_use_bmpbutton"
7429 if test "$no_cache" != 1; then
7430 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7431 fi
7432
7433 if test "$wxUSE_BMPBUTTON" = yes; then
7434 echo "$as_me:$LINENO: result: yes" >&5
7435 echo "${ECHO_T}yes" >&6
7436 else
7437 echo "$as_me:$LINENO: result: no" >&5
7438 echo "${ECHO_T}no" >&6
7439 fi
7440
7441
7442 enablestring=
7443 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7444 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7445 no_cache=0
7446 # Check whether --enable-calendar or --disable-calendar was given.
7447 if test "${enable_calendar+set}" = set; then
7448 enableval="$enable_calendar"
7449
7450 if test "$enableval" = yes; then
7451 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7452 else
7453 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7454 fi
7455
7456 else
7457
7458 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7459 if test "x$LINE" != x ; then
7460 eval "DEFAULT_$LINE"
7461 else
7462 no_cache=1
7463 fi
7464
7465 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7466
7467 fi;
7468
7469 eval "$ac_cv_use_calendar"
7470 if test "$no_cache" != 1; then
7471 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7472 fi
7473
7474 if test "$wxUSE_CALCTRL" = yes; then
7475 echo "$as_me:$LINENO: result: yes" >&5
7476 echo "${ECHO_T}yes" >&6
7477 else
7478 echo "$as_me:$LINENO: result: no" >&5
7479 echo "${ECHO_T}no" >&6
7480 fi
7481
7482
7483 enablestring=
7484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7485 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7486 no_cache=0
7487 # Check whether --enable-caret or --disable-caret was given.
7488 if test "${enable_caret+set}" = set; then
7489 enableval="$enable_caret"
7490
7491 if test "$enableval" = yes; then
7492 ac_cv_use_caret='wxUSE_CARET=yes'
7493 else
7494 ac_cv_use_caret='wxUSE_CARET=no'
7495 fi
7496
7497 else
7498
7499 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7500 if test "x$LINE" != x ; then
7501 eval "DEFAULT_$LINE"
7502 else
7503 no_cache=1
7504 fi
7505
7506 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7507
7508 fi;
7509
7510 eval "$ac_cv_use_caret"
7511 if test "$no_cache" != 1; then
7512 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7513 fi
7514
7515 if test "$wxUSE_CARET" = yes; then
7516 echo "$as_me:$LINENO: result: yes" >&5
7517 echo "${ECHO_T}yes" >&6
7518 else
7519 echo "$as_me:$LINENO: result: no" >&5
7520 echo "${ECHO_T}no" >&6
7521 fi
7522
7523
7524 enablestring=
7525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7526 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7527 no_cache=0
7528 # Check whether --enable-checkbox or --disable-checkbox was given.
7529 if test "${enable_checkbox+set}" = set; then
7530 enableval="$enable_checkbox"
7531
7532 if test "$enableval" = yes; then
7533 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7534 else
7535 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7536 fi
7537
7538 else
7539
7540 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7541 if test "x$LINE" != x ; then
7542 eval "DEFAULT_$LINE"
7543 else
7544 no_cache=1
7545 fi
7546
7547 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7548
7549 fi;
7550
7551 eval "$ac_cv_use_checkbox"
7552 if test "$no_cache" != 1; then
7553 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7554 fi
7555
7556 if test "$wxUSE_CHECKBOX" = yes; then
7557 echo "$as_me:$LINENO: result: yes" >&5
7558 echo "${ECHO_T}yes" >&6
7559 else
7560 echo "$as_me:$LINENO: result: no" >&5
7561 echo "${ECHO_T}no" >&6
7562 fi
7563
7564
7565 enablestring=
7566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7567 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7568 no_cache=0
7569 # Check whether --enable-checklst or --disable-checklst was given.
7570 if test "${enable_checklst+set}" = set; then
7571 enableval="$enable_checklst"
7572
7573 if test "$enableval" = yes; then
7574 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7575 else
7576 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7577 fi
7578
7579 else
7580
7581 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7582 if test "x$LINE" != x ; then
7583 eval "DEFAULT_$LINE"
7584 else
7585 no_cache=1
7586 fi
7587
7588 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7589
7590 fi;
7591
7592 eval "$ac_cv_use_checklst"
7593 if test "$no_cache" != 1; then
7594 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7595 fi
7596
7597 if test "$wxUSE_CHECKLST" = yes; then
7598 echo "$as_me:$LINENO: result: yes" >&5
7599 echo "${ECHO_T}yes" >&6
7600 else
7601 echo "$as_me:$LINENO: result: no" >&5
7602 echo "${ECHO_T}no" >&6
7603 fi
7604
7605
7606 enablestring=
7607 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7608 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7609 no_cache=0
7610 # Check whether --enable-choice or --disable-choice was given.
7611 if test "${enable_choice+set}" = set; then
7612 enableval="$enable_choice"
7613
7614 if test "$enableval" = yes; then
7615 ac_cv_use_choice='wxUSE_CHOICE=yes'
7616 else
7617 ac_cv_use_choice='wxUSE_CHOICE=no'
7618 fi
7619
7620 else
7621
7622 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7623 if test "x$LINE" != x ; then
7624 eval "DEFAULT_$LINE"
7625 else
7626 no_cache=1
7627 fi
7628
7629 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7630
7631 fi;
7632
7633 eval "$ac_cv_use_choice"
7634 if test "$no_cache" != 1; then
7635 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7636 fi
7637
7638 if test "$wxUSE_CHOICE" = yes; then
7639 echo "$as_me:$LINENO: result: yes" >&5
7640 echo "${ECHO_T}yes" >&6
7641 else
7642 echo "$as_me:$LINENO: result: no" >&5
7643 echo "${ECHO_T}no" >&6
7644 fi
7645
7646
7647 enablestring=
7648 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7649 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7650 no_cache=0
7651 # Check whether --enable-choicebook or --disable-choicebook was given.
7652 if test "${enable_choicebook+set}" = set; then
7653 enableval="$enable_choicebook"
7654
7655 if test "$enableval" = yes; then
7656 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
7657 else
7658 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
7659 fi
7660
7661 else
7662
7663 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7664 if test "x$LINE" != x ; then
7665 eval "DEFAULT_$LINE"
7666 else
7667 no_cache=1
7668 fi
7669
7670 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7671
7672 fi;
7673
7674 eval "$ac_cv_use_choicebook"
7675 if test "$no_cache" != 1; then
7676 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7677 fi
7678
7679 if test "$wxUSE_CHOICEBOOK" = yes; then
7680 echo "$as_me:$LINENO: result: yes" >&5
7681 echo "${ECHO_T}yes" >&6
7682 else
7683 echo "$as_me:$LINENO: result: no" >&5
7684 echo "${ECHO_T}no" >&6
7685 fi
7686
7687
7688 enablestring=
7689 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7690 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7691 no_cache=0
7692 # Check whether --enable-combobox or --disable-combobox was given.
7693 if test "${enable_combobox+set}" = set; then
7694 enableval="$enable_combobox"
7695
7696 if test "$enableval" = yes; then
7697 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7698 else
7699 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7700 fi
7701
7702 else
7703
7704 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7705 if test "x$LINE" != x ; then
7706 eval "DEFAULT_$LINE"
7707 else
7708 no_cache=1
7709 fi
7710
7711 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7712
7713 fi;
7714
7715 eval "$ac_cv_use_combobox"
7716 if test "$no_cache" != 1; then
7717 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7718 fi
7719
7720 if test "$wxUSE_COMBOBOX" = yes; then
7721 echo "$as_me:$LINENO: result: yes" >&5
7722 echo "${ECHO_T}yes" >&6
7723 else
7724 echo "$as_me:$LINENO: result: no" >&5
7725 echo "${ECHO_T}no" >&6
7726 fi
7727
7728
7729 enablestring=
7730 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7731 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7732 no_cache=0
7733 # Check whether --enable-datepick or --disable-datepick was given.
7734 if test "${enable_datepick+set}" = set; then
7735 enableval="$enable_datepick"
7736
7737 if test "$enableval" = yes; then
7738 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
7739 else
7740 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
7741 fi
7742
7743 else
7744
7745 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7746 if test "x$LINE" != x ; then
7747 eval "DEFAULT_$LINE"
7748 else
7749 no_cache=1
7750 fi
7751
7752 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
7753
7754 fi;
7755
7756 eval "$ac_cv_use_datepick"
7757 if test "$no_cache" != 1; then
7758 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7759 fi
7760
7761 if test "$wxUSE_DATEPICKCTRL" = yes; then
7762 echo "$as_me:$LINENO: result: yes" >&5
7763 echo "${ECHO_T}yes" >&6
7764 else
7765 echo "$as_me:$LINENO: result: no" >&5
7766 echo "${ECHO_T}no" >&6
7767 fi
7768
7769
7770 enablestring=
7771 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7772 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7773 no_cache=0
7774 # Check whether --enable-display or --disable-display was given.
7775 if test "${enable_display+set}" = set; then
7776 enableval="$enable_display"
7777
7778 if test "$enableval" = yes; then
7779 ac_cv_use_display='wxUSE_DISPLAY=yes'
7780 else
7781 ac_cv_use_display='wxUSE_DISPLAY=no'
7782 fi
7783
7784 else
7785
7786 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7787 if test "x$LINE" != x ; then
7788 eval "DEFAULT_$LINE"
7789 else
7790 no_cache=1
7791 fi
7792
7793 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7794
7795 fi;
7796
7797 eval "$ac_cv_use_display"
7798 if test "$no_cache" != 1; then
7799 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7800 fi
7801
7802 if test "$wxUSE_DISPLAY" = yes; then
7803 echo "$as_me:$LINENO: result: yes" >&5
7804 echo "${ECHO_T}yes" >&6
7805 else
7806 echo "$as_me:$LINENO: result: no" >&5
7807 echo "${ECHO_T}no" >&6
7808 fi
7809
7810
7811 enablestring=
7812 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7813 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7814 no_cache=0
7815 # Check whether --enable-gauge or --disable-gauge was given.
7816 if test "${enable_gauge+set}" = set; then
7817 enableval="$enable_gauge"
7818
7819 if test "$enableval" = yes; then
7820 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7821 else
7822 ac_cv_use_gauge='wxUSE_GAUGE=no'
7823 fi
7824
7825 else
7826
7827 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7828 if test "x$LINE" != x ; then
7829 eval "DEFAULT_$LINE"
7830 else
7831 no_cache=1
7832 fi
7833
7834 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7835
7836 fi;
7837
7838 eval "$ac_cv_use_gauge"
7839 if test "$no_cache" != 1; then
7840 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7841 fi
7842
7843 if test "$wxUSE_GAUGE" = yes; then
7844 echo "$as_me:$LINENO: result: yes" >&5
7845 echo "${ECHO_T}yes" >&6
7846 else
7847 echo "$as_me:$LINENO: result: no" >&5
7848 echo "${ECHO_T}no" >&6
7849 fi
7850
7851
7852 enablestring=
7853 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7854 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7855 no_cache=0
7856 # Check whether --enable-grid or --disable-grid was given.
7857 if test "${enable_grid+set}" = set; then
7858 enableval="$enable_grid"
7859
7860 if test "$enableval" = yes; then
7861 ac_cv_use_grid='wxUSE_GRID=yes'
7862 else
7863 ac_cv_use_grid='wxUSE_GRID=no'
7864 fi
7865
7866 else
7867
7868 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7869 if test "x$LINE" != x ; then
7870 eval "DEFAULT_$LINE"
7871 else
7872 no_cache=1
7873 fi
7874
7875 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7876
7877 fi;
7878
7879 eval "$ac_cv_use_grid"
7880 if test "$no_cache" != 1; then
7881 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7882 fi
7883
7884 if test "$wxUSE_GRID" = yes; then
7885 echo "$as_me:$LINENO: result: yes" >&5
7886 echo "${ECHO_T}yes" >&6
7887 else
7888 echo "$as_me:$LINENO: result: no" >&5
7889 echo "${ECHO_T}no" >&6
7890 fi
7891
7892
7893 enablestring=
7894 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7895 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7896 no_cache=0
7897 # Check whether --enable-imaglist or --disable-imaglist was given.
7898 if test "${enable_imaglist+set}" = set; then
7899 enableval="$enable_imaglist"
7900
7901 if test "$enableval" = yes; then
7902 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7903 else
7904 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7905 fi
7906
7907 else
7908
7909 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7910 if test "x$LINE" != x ; then
7911 eval "DEFAULT_$LINE"
7912 else
7913 no_cache=1
7914 fi
7915
7916 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7917
7918 fi;
7919
7920 eval "$ac_cv_use_imaglist"
7921 if test "$no_cache" != 1; then
7922 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7923 fi
7924
7925 if test "$wxUSE_IMAGLIST" = yes; then
7926 echo "$as_me:$LINENO: result: yes" >&5
7927 echo "${ECHO_T}yes" >&6
7928 else
7929 echo "$as_me:$LINENO: result: no" >&5
7930 echo "${ECHO_T}no" >&6
7931 fi
7932
7933
7934 enablestring=
7935 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7936 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7937 no_cache=0
7938 # Check whether --enable-listbook or --disable-listbook was given.
7939 if test "${enable_listbook+set}" = set; then
7940 enableval="$enable_listbook"
7941
7942 if test "$enableval" = yes; then
7943 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7944 else
7945 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7946 fi
7947
7948 else
7949
7950 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7951 if test "x$LINE" != x ; then
7952 eval "DEFAULT_$LINE"
7953 else
7954 no_cache=1
7955 fi
7956
7957 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7958
7959 fi;
7960
7961 eval "$ac_cv_use_listbook"
7962 if test "$no_cache" != 1; then
7963 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7964 fi
7965
7966 if test "$wxUSE_LISTBOOK" = yes; then
7967 echo "$as_me:$LINENO: result: yes" >&5
7968 echo "${ECHO_T}yes" >&6
7969 else
7970 echo "$as_me:$LINENO: result: no" >&5
7971 echo "${ECHO_T}no" >&6
7972 fi
7973
7974
7975 enablestring=
7976 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7977 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7978 no_cache=0
7979 # Check whether --enable-listbox or --disable-listbox was given.
7980 if test "${enable_listbox+set}" = set; then
7981 enableval="$enable_listbox"
7982
7983 if test "$enableval" = yes; then
7984 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7985 else
7986 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7987 fi
7988
7989 else
7990
7991 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7992 if test "x$LINE" != x ; then
7993 eval "DEFAULT_$LINE"
7994 else
7995 no_cache=1
7996 fi
7997
7998 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7999
8000 fi;
8001
8002 eval "$ac_cv_use_listbox"
8003 if test "$no_cache" != 1; then
8004 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8005 fi
8006
8007 if test "$wxUSE_LISTBOX" = yes; then
8008 echo "$as_me:$LINENO: result: yes" >&5
8009 echo "${ECHO_T}yes" >&6
8010 else
8011 echo "$as_me:$LINENO: result: no" >&5
8012 echo "${ECHO_T}no" >&6
8013 fi
8014
8015
8016 enablestring=
8017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8018 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8019 no_cache=0
8020 # Check whether --enable-listctrl or --disable-listctrl was given.
8021 if test "${enable_listctrl+set}" = set; then
8022 enableval="$enable_listctrl"
8023
8024 if test "$enableval" = yes; then
8025 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
8026 else
8027 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
8028 fi
8029
8030 else
8031
8032 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8033 if test "x$LINE" != x ; then
8034 eval "DEFAULT_$LINE"
8035 else
8036 no_cache=1
8037 fi
8038
8039 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8040
8041 fi;
8042
8043 eval "$ac_cv_use_listctrl"
8044 if test "$no_cache" != 1; then
8045 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8046 fi
8047
8048 if test "$wxUSE_LISTCTRL" = yes; then
8049 echo "$as_me:$LINENO: result: yes" >&5
8050 echo "${ECHO_T}yes" >&6
8051 else
8052 echo "$as_me:$LINENO: result: no" >&5
8053 echo "${ECHO_T}no" >&6
8054 fi
8055
8056
8057 enablestring=
8058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8059 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8060 no_cache=0
8061 # Check whether --enable-notebook or --disable-notebook was given.
8062 if test "${enable_notebook+set}" = set; then
8063 enableval="$enable_notebook"
8064
8065 if test "$enableval" = yes; then
8066 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
8067 else
8068 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
8069 fi
8070
8071 else
8072
8073 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8074 if test "x$LINE" != x ; then
8075 eval "DEFAULT_$LINE"
8076 else
8077 no_cache=1
8078 fi
8079
8080 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8081
8082 fi;
8083
8084 eval "$ac_cv_use_notebook"
8085 if test "$no_cache" != 1; then
8086 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8087 fi
8088
8089 if test "$wxUSE_NOTEBOOK" = yes; then
8090 echo "$as_me:$LINENO: result: yes" >&5
8091 echo "${ECHO_T}yes" >&6
8092 else
8093 echo "$as_me:$LINENO: result: no" >&5
8094 echo "${ECHO_T}no" >&6
8095 fi
8096
8097
8098 enablestring=
8099 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8100 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8101 no_cache=0
8102 # Check whether --enable-radiobox or --disable-radiobox was given.
8103 if test "${enable_radiobox+set}" = set; then
8104 enableval="$enable_radiobox"
8105
8106 if test "$enableval" = yes; then
8107 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
8108 else
8109 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
8110 fi
8111
8112 else
8113
8114 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8115 if test "x$LINE" != x ; then
8116 eval "DEFAULT_$LINE"
8117 else
8118 no_cache=1
8119 fi
8120
8121 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8122
8123 fi;
8124
8125 eval "$ac_cv_use_radiobox"
8126 if test "$no_cache" != 1; then
8127 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8128 fi
8129
8130 if test "$wxUSE_RADIOBOX" = yes; then
8131 echo "$as_me:$LINENO: result: yes" >&5
8132 echo "${ECHO_T}yes" >&6
8133 else
8134 echo "$as_me:$LINENO: result: no" >&5
8135 echo "${ECHO_T}no" >&6
8136 fi
8137
8138
8139 enablestring=
8140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8141 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8142 no_cache=0
8143 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8144 if test "${enable_radiobtn+set}" = set; then
8145 enableval="$enable_radiobtn"
8146
8147 if test "$enableval" = yes; then
8148 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
8149 else
8150 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
8151 fi
8152
8153 else
8154
8155 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8156 if test "x$LINE" != x ; then
8157 eval "DEFAULT_$LINE"
8158 else
8159 no_cache=1
8160 fi
8161
8162 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8163
8164 fi;
8165
8166 eval "$ac_cv_use_radiobtn"
8167 if test "$no_cache" != 1; then
8168 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8169 fi
8170
8171 if test "$wxUSE_RADIOBTN" = yes; then
8172 echo "$as_me:$LINENO: result: yes" >&5
8173 echo "${ECHO_T}yes" >&6
8174 else
8175 echo "$as_me:$LINENO: result: no" >&5
8176 echo "${ECHO_T}no" >&6
8177 fi
8178
8179
8180 enablestring=
8181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8182 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8183 no_cache=0
8184 # Check whether --enable-sash or --disable-sash was given.
8185 if test "${enable_sash+set}" = set; then
8186 enableval="$enable_sash"
8187
8188 if test "$enableval" = yes; then
8189 ac_cv_use_sash='wxUSE_SASH=yes'
8190 else
8191 ac_cv_use_sash='wxUSE_SASH=no'
8192 fi
8193
8194 else
8195
8196 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8197 if test "x$LINE" != x ; then
8198 eval "DEFAULT_$LINE"
8199 else
8200 no_cache=1
8201 fi
8202
8203 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8204
8205 fi;
8206
8207 eval "$ac_cv_use_sash"
8208 if test "$no_cache" != 1; then
8209 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8210 fi
8211
8212 if test "$wxUSE_SASH" = yes; then
8213 echo "$as_me:$LINENO: result: yes" >&5
8214 echo "${ECHO_T}yes" >&6
8215 else
8216 echo "$as_me:$LINENO: result: no" >&5
8217 echo "${ECHO_T}no" >&6
8218 fi
8219
8220
8221 enablestring=
8222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8223 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8224 no_cache=0
8225 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8226 if test "${enable_scrollbar+set}" = set; then
8227 enableval="$enable_scrollbar"
8228
8229 if test "$enableval" = yes; then
8230 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
8231 else
8232 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
8233 fi
8234
8235 else
8236
8237 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8238 if test "x$LINE" != x ; then
8239 eval "DEFAULT_$LINE"
8240 else
8241 no_cache=1
8242 fi
8243
8244 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8245
8246 fi;
8247
8248 eval "$ac_cv_use_scrollbar"
8249 if test "$no_cache" != 1; then
8250 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8251 fi
8252
8253 if test "$wxUSE_SCROLLBAR" = yes; then
8254 echo "$as_me:$LINENO: result: yes" >&5
8255 echo "${ECHO_T}yes" >&6
8256 else
8257 echo "$as_me:$LINENO: result: no" >&5
8258 echo "${ECHO_T}no" >&6
8259 fi
8260
8261
8262 enablestring=
8263 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8264 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8265 no_cache=0
8266 # Check whether --enable-slider or --disable-slider was given.
8267 if test "${enable_slider+set}" = set; then
8268 enableval="$enable_slider"
8269
8270 if test "$enableval" = yes; then
8271 ac_cv_use_slider='wxUSE_SLIDER=yes'
8272 else
8273 ac_cv_use_slider='wxUSE_SLIDER=no'
8274 fi
8275
8276 else
8277
8278 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8279 if test "x$LINE" != x ; then
8280 eval "DEFAULT_$LINE"
8281 else
8282 no_cache=1
8283 fi
8284
8285 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8286
8287 fi;
8288
8289 eval "$ac_cv_use_slider"
8290 if test "$no_cache" != 1; then
8291 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8292 fi
8293
8294 if test "$wxUSE_SLIDER" = yes; then
8295 echo "$as_me:$LINENO: result: yes" >&5
8296 echo "${ECHO_T}yes" >&6
8297 else
8298 echo "$as_me:$LINENO: result: no" >&5
8299 echo "${ECHO_T}no" >&6
8300 fi
8301
8302
8303 enablestring=
8304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8305 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8306 no_cache=0
8307 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8308 if test "${enable_spinbtn+set}" = set; then
8309 enableval="$enable_spinbtn"
8310
8311 if test "$enableval" = yes; then
8312 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
8313 else
8314 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
8315 fi
8316
8317 else
8318
8319 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8320 if test "x$LINE" != x ; then
8321 eval "DEFAULT_$LINE"
8322 else
8323 no_cache=1
8324 fi
8325
8326 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8327
8328 fi;
8329
8330 eval "$ac_cv_use_spinbtn"
8331 if test "$no_cache" != 1; then
8332 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8333 fi
8334
8335 if test "$wxUSE_SPINBTN" = yes; then
8336 echo "$as_me:$LINENO: result: yes" >&5
8337 echo "${ECHO_T}yes" >&6
8338 else
8339 echo "$as_me:$LINENO: result: no" >&5
8340 echo "${ECHO_T}no" >&6
8341 fi
8342
8343
8344 enablestring=
8345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8346 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8347 no_cache=0
8348 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8349 if test "${enable_spinctrl+set}" = set; then
8350 enableval="$enable_spinctrl"
8351
8352 if test "$enableval" = yes; then
8353 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
8354 else
8355 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
8356 fi
8357
8358 else
8359
8360 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8361 if test "x$LINE" != x ; then
8362 eval "DEFAULT_$LINE"
8363 else
8364 no_cache=1
8365 fi
8366
8367 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8368
8369 fi;
8370
8371 eval "$ac_cv_use_spinctrl"
8372 if test "$no_cache" != 1; then
8373 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8374 fi
8375
8376 if test "$wxUSE_SPINCTRL" = yes; then
8377 echo "$as_me:$LINENO: result: yes" >&5
8378 echo "${ECHO_T}yes" >&6
8379 else
8380 echo "$as_me:$LINENO: result: no" >&5
8381 echo "${ECHO_T}no" >&6
8382 fi
8383
8384
8385 enablestring=
8386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8387 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8388 no_cache=0
8389 # Check whether --enable-splitter or --disable-splitter was given.
8390 if test "${enable_splitter+set}" = set; then
8391 enableval="$enable_splitter"
8392
8393 if test "$enableval" = yes; then
8394 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
8395 else
8396 ac_cv_use_splitter='wxUSE_SPLITTER=no'
8397 fi
8398
8399 else
8400
8401 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8402 if test "x$LINE" != x ; then
8403 eval "DEFAULT_$LINE"
8404 else
8405 no_cache=1
8406 fi
8407
8408 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8409
8410 fi;
8411
8412 eval "$ac_cv_use_splitter"
8413 if test "$no_cache" != 1; then
8414 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8415 fi
8416
8417 if test "$wxUSE_SPLITTER" = yes; then
8418 echo "$as_me:$LINENO: result: yes" >&5
8419 echo "${ECHO_T}yes" >&6
8420 else
8421 echo "$as_me:$LINENO: result: no" >&5
8422 echo "${ECHO_T}no" >&6
8423 fi
8424
8425
8426 enablestring=
8427 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8428 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8429 no_cache=0
8430 # Check whether --enable-statbmp or --disable-statbmp was given.
8431 if test "${enable_statbmp+set}" = set; then
8432 enableval="$enable_statbmp"
8433
8434 if test "$enableval" = yes; then
8435 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
8436 else
8437 ac_cv_use_statbmp='wxUSE_STATBMP=no'
8438 fi
8439
8440 else
8441
8442 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8443 if test "x$LINE" != x ; then
8444 eval "DEFAULT_$LINE"
8445 else
8446 no_cache=1
8447 fi
8448
8449 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8450
8451 fi;
8452
8453 eval "$ac_cv_use_statbmp"
8454 if test "$no_cache" != 1; then
8455 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8456 fi
8457
8458 if test "$wxUSE_STATBMP" = yes; then
8459 echo "$as_me:$LINENO: result: yes" >&5
8460 echo "${ECHO_T}yes" >&6
8461 else
8462 echo "$as_me:$LINENO: result: no" >&5
8463 echo "${ECHO_T}no" >&6
8464 fi
8465
8466
8467 enablestring=
8468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8469 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8470 no_cache=0
8471 # Check whether --enable-statbox or --disable-statbox was given.
8472 if test "${enable_statbox+set}" = set; then
8473 enableval="$enable_statbox"
8474
8475 if test "$enableval" = yes; then
8476 ac_cv_use_statbox='wxUSE_STATBOX=yes'
8477 else
8478 ac_cv_use_statbox='wxUSE_STATBOX=no'
8479 fi
8480
8481 else
8482
8483 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8484 if test "x$LINE" != x ; then
8485 eval "DEFAULT_$LINE"
8486 else
8487 no_cache=1
8488 fi
8489
8490 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8491
8492 fi;
8493
8494 eval "$ac_cv_use_statbox"
8495 if test "$no_cache" != 1; then
8496 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8497 fi
8498
8499 if test "$wxUSE_STATBOX" = yes; then
8500 echo "$as_me:$LINENO: result: yes" >&5
8501 echo "${ECHO_T}yes" >&6
8502 else
8503 echo "$as_me:$LINENO: result: no" >&5
8504 echo "${ECHO_T}no" >&6
8505 fi
8506
8507
8508 enablestring=
8509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8510 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8511 no_cache=0
8512 # Check whether --enable-statline or --disable-statline was given.
8513 if test "${enable_statline+set}" = set; then
8514 enableval="$enable_statline"
8515
8516 if test "$enableval" = yes; then
8517 ac_cv_use_statline='wxUSE_STATLINE=yes'
8518 else
8519 ac_cv_use_statline='wxUSE_STATLINE=no'
8520 fi
8521
8522 else
8523
8524 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8525 if test "x$LINE" != x ; then
8526 eval "DEFAULT_$LINE"
8527 else
8528 no_cache=1
8529 fi
8530
8531 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8532
8533 fi;
8534
8535 eval "$ac_cv_use_statline"
8536 if test "$no_cache" != 1; then
8537 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8538 fi
8539
8540 if test "$wxUSE_STATLINE" = yes; then
8541 echo "$as_me:$LINENO: result: yes" >&5
8542 echo "${ECHO_T}yes" >&6
8543 else
8544 echo "$as_me:$LINENO: result: no" >&5
8545 echo "${ECHO_T}no" >&6
8546 fi
8547
8548
8549 enablestring=
8550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8551 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8552 no_cache=0
8553 # Check whether --enable-stattext or --disable-stattext was given.
8554 if test "${enable_stattext+set}" = set; then
8555 enableval="$enable_stattext"
8556
8557 if test "$enableval" = yes; then
8558 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
8559 else
8560 ac_cv_use_stattext='wxUSE_STATTEXT=no'
8561 fi
8562
8563 else
8564
8565 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8566 if test "x$LINE" != x ; then
8567 eval "DEFAULT_$LINE"
8568 else
8569 no_cache=1
8570 fi
8571
8572 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8573
8574 fi;
8575
8576 eval "$ac_cv_use_stattext"
8577 if test "$no_cache" != 1; then
8578 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8579 fi
8580
8581 if test "$wxUSE_STATTEXT" = yes; then
8582 echo "$as_me:$LINENO: result: yes" >&5
8583 echo "${ECHO_T}yes" >&6
8584 else
8585 echo "$as_me:$LINENO: result: no" >&5
8586 echo "${ECHO_T}no" >&6
8587 fi
8588
8589
8590 enablestring=
8591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8592 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8593 no_cache=0
8594 # Check whether --enable-statusbar or --disable-statusbar was given.
8595 if test "${enable_statusbar+set}" = set; then
8596 enableval="$enable_statusbar"
8597
8598 if test "$enableval" = yes; then
8599 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
8600 else
8601 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
8602 fi
8603
8604 else
8605
8606 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8607 if test "x$LINE" != x ; then
8608 eval "DEFAULT_$LINE"
8609 else
8610 no_cache=1
8611 fi
8612
8613 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8614
8615 fi;
8616
8617 eval "$ac_cv_use_statusbar"
8618 if test "$no_cache" != 1; then
8619 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8620 fi
8621
8622 if test "$wxUSE_STATUSBAR" = yes; then
8623 echo "$as_me:$LINENO: result: yes" >&5
8624 echo "${ECHO_T}yes" >&6
8625 else
8626 echo "$as_me:$LINENO: result: no" >&5
8627 echo "${ECHO_T}no" >&6
8628 fi
8629
8630
8631 enablestring=
8632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8633 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8634 no_cache=0
8635 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8636 if test "${enable_tabdialog+set}" = set; then
8637 enableval="$enable_tabdialog"
8638
8639 if test "$enableval" = yes; then
8640 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
8641 else
8642 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
8643 fi
8644
8645 else
8646
8647 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8648 if test "x$LINE" != x ; then
8649 eval "DEFAULT_$LINE"
8650 else
8651 no_cache=1
8652 fi
8653
8654 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8655
8656 fi;
8657
8658 eval "$ac_cv_use_tabdialog"
8659 if test "$no_cache" != 1; then
8660 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8661 fi
8662
8663 if test "$wxUSE_TABDIALOG" = yes; then
8664 echo "$as_me:$LINENO: result: yes" >&5
8665 echo "${ECHO_T}yes" >&6
8666 else
8667 echo "$as_me:$LINENO: result: no" >&5
8668 echo "${ECHO_T}no" >&6
8669 fi
8670
8671
8672 enablestring=
8673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8674 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8675 no_cache=0
8676 # Check whether --enable-textctrl or --disable-textctrl was given.
8677 if test "${enable_textctrl+set}" = set; then
8678 enableval="$enable_textctrl"
8679
8680 if test "$enableval" = yes; then
8681 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
8682 else
8683 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
8684 fi
8685
8686 else
8687
8688 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8689 if test "x$LINE" != x ; then
8690 eval "DEFAULT_$LINE"
8691 else
8692 no_cache=1
8693 fi
8694
8695 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8696
8697 fi;
8698
8699 eval "$ac_cv_use_textctrl"
8700 if test "$no_cache" != 1; then
8701 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8702 fi
8703
8704 if test "$wxUSE_TEXTCTRL" = yes; then
8705 echo "$as_me:$LINENO: result: yes" >&5
8706 echo "${ECHO_T}yes" >&6
8707 else
8708 echo "$as_me:$LINENO: result: no" >&5
8709 echo "${ECHO_T}no" >&6
8710 fi
8711
8712
8713 enablestring=
8714 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8715 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8716 no_cache=0
8717 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8718 if test "${enable_togglebtn+set}" = set; then
8719 enableval="$enable_togglebtn"
8720
8721 if test "$enableval" = yes; then
8722 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8723 else
8724 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8725 fi
8726
8727 else
8728
8729 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8730 if test "x$LINE" != x ; then
8731 eval "DEFAULT_$LINE"
8732 else
8733 no_cache=1
8734 fi
8735
8736 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8737
8738 fi;
8739
8740 eval "$ac_cv_use_togglebtn"
8741 if test "$no_cache" != 1; then
8742 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8743 fi
8744
8745 if test "$wxUSE_TOGGLEBTN" = yes; then
8746 echo "$as_me:$LINENO: result: yes" >&5
8747 echo "${ECHO_T}yes" >&6
8748 else
8749 echo "$as_me:$LINENO: result: no" >&5
8750 echo "${ECHO_T}no" >&6
8751 fi
8752
8753
8754 enablestring=
8755 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8756 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8757 no_cache=0
8758 # Check whether --enable-toolbar or --disable-toolbar was given.
8759 if test "${enable_toolbar+set}" = set; then
8760 enableval="$enable_toolbar"
8761
8762 if test "$enableval" = yes; then
8763 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8764 else
8765 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8766 fi
8767
8768 else
8769
8770 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8771 if test "x$LINE" != x ; then
8772 eval "DEFAULT_$LINE"
8773 else
8774 no_cache=1
8775 fi
8776
8777 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8778
8779 fi;
8780
8781 eval "$ac_cv_use_toolbar"
8782 if test "$no_cache" != 1; then
8783 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8784 fi
8785
8786 if test "$wxUSE_TOOLBAR" = yes; then
8787 echo "$as_me:$LINENO: result: yes" >&5
8788 echo "${ECHO_T}yes" >&6
8789 else
8790 echo "$as_me:$LINENO: result: no" >&5
8791 echo "${ECHO_T}no" >&6
8792 fi
8793
8794
8795 enablestring=
8796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8797 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8798 no_cache=0
8799 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8800 if test "${enable_tbarnative+set}" = set; then
8801 enableval="$enable_tbarnative"
8802
8803 if test "$enableval" = yes; then
8804 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8805 else
8806 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8807 fi
8808
8809 else
8810
8811 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8812 if test "x$LINE" != x ; then
8813 eval "DEFAULT_$LINE"
8814 else
8815 no_cache=1
8816 fi
8817
8818 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8819
8820 fi;
8821
8822 eval "$ac_cv_use_tbarnative"
8823 if test "$no_cache" != 1; then
8824 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8825 fi
8826
8827 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8828 echo "$as_me:$LINENO: result: yes" >&5
8829 echo "${ECHO_T}yes" >&6
8830 else
8831 echo "$as_me:$LINENO: result: no" >&5
8832 echo "${ECHO_T}no" >&6
8833 fi
8834
8835
8836 enablestring=
8837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8838 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8839 no_cache=0
8840 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8841 if test "${enable_tbarsmpl+set}" = set; then
8842 enableval="$enable_tbarsmpl"
8843
8844 if test "$enableval" = yes; then
8845 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8846 else
8847 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8848 fi
8849
8850 else
8851
8852 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8853 if test "x$LINE" != x ; then
8854 eval "DEFAULT_$LINE"
8855 else
8856 no_cache=1
8857 fi
8858
8859 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8860
8861 fi;
8862
8863 eval "$ac_cv_use_tbarsmpl"
8864 if test "$no_cache" != 1; then
8865 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8866 fi
8867
8868 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8869 echo "$as_me:$LINENO: result: yes" >&5
8870 echo "${ECHO_T}yes" >&6
8871 else
8872 echo "$as_me:$LINENO: result: no" >&5
8873 echo "${ECHO_T}no" >&6
8874 fi
8875
8876
8877 enablestring=
8878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8879 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8880 no_cache=0
8881 # Check whether --enable-treectrl or --disable-treectrl was given.
8882 if test "${enable_treectrl+set}" = set; then
8883 enableval="$enable_treectrl"
8884
8885 if test "$enableval" = yes; then
8886 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8887 else
8888 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8889 fi
8890
8891 else
8892
8893 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8894 if test "x$LINE" != x ; then
8895 eval "DEFAULT_$LINE"
8896 else
8897 no_cache=1
8898 fi
8899
8900 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8901
8902 fi;
8903
8904 eval "$ac_cv_use_treectrl"
8905 if test "$no_cache" != 1; then
8906 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8907 fi
8908
8909 if test "$wxUSE_TREECTRL" = yes; then
8910 echo "$as_me:$LINENO: result: yes" >&5
8911 echo "${ECHO_T}yes" >&6
8912 else
8913 echo "$as_me:$LINENO: result: no" >&5
8914 echo "${ECHO_T}no" >&6
8915 fi
8916
8917
8918 enablestring=
8919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8920 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8921 no_cache=0
8922 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8923 if test "${enable_tipwindow+set}" = set; then
8924 enableval="$enable_tipwindow"
8925
8926 if test "$enableval" = yes; then
8927 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8928 else
8929 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8930 fi
8931
8932 else
8933
8934 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8935 if test "x$LINE" != x ; then
8936 eval "DEFAULT_$LINE"
8937 else
8938 no_cache=1
8939 fi
8940
8941 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8942
8943 fi;
8944
8945 eval "$ac_cv_use_tipwindow"
8946 if test "$no_cache" != 1; then
8947 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8948 fi
8949
8950 if test "$wxUSE_TIPWINDOW" = yes; then
8951 echo "$as_me:$LINENO: result: yes" >&5
8952 echo "${ECHO_T}yes" >&6
8953 else
8954 echo "$as_me:$LINENO: result: no" >&5
8955 echo "${ECHO_T}no" >&6
8956 fi
8957
8958
8959 enablestring=
8960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8961 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8962 no_cache=0
8963 # Check whether --enable-popupwin or --disable-popupwin was given.
8964 if test "${enable_popupwin+set}" = set; then
8965 enableval="$enable_popupwin"
8966
8967 if test "$enableval" = yes; then
8968 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8969 else
8970 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8971 fi
8972
8973 else
8974
8975 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8976 if test "x$LINE" != x ; then
8977 eval "DEFAULT_$LINE"
8978 else
8979 no_cache=1
8980 fi
8981
8982 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8983
8984 fi;
8985
8986 eval "$ac_cv_use_popupwin"
8987 if test "$no_cache" != 1; then
8988 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8989 fi
8990
8991 if test "$wxUSE_POPUPWIN" = yes; then
8992 echo "$as_me:$LINENO: result: yes" >&5
8993 echo "${ECHO_T}yes" >&6
8994 else
8995 echo "$as_me:$LINENO: result: no" >&5
8996 echo "${ECHO_T}no" >&6
8997 fi
8998
8999
9000
9001
9002 enablestring=
9003 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9004 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9005 no_cache=0
9006 # Check whether --enable-commondlg or --disable-commondlg was given.
9007 if test "${enable_commondlg+set}" = set; then
9008 enableval="$enable_commondlg"
9009
9010 if test "$enableval" = yes; then
9011 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
9012 else
9013 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
9014 fi
9015
9016 else
9017
9018 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9019 if test "x$LINE" != x ; then
9020 eval "DEFAULT_$LINE"
9021 else
9022 no_cache=1
9023 fi
9024
9025 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9026
9027 fi;
9028
9029 eval "$ac_cv_use_commondlg"
9030 if test "$no_cache" != 1; then
9031 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9032 fi
9033
9034 if test "$wxUSE_COMMONDLGS" = yes; then
9035 echo "$as_me:$LINENO: result: yes" >&5
9036 echo "${ECHO_T}yes" >&6
9037 else
9038 echo "$as_me:$LINENO: result: no" >&5
9039 echo "${ECHO_T}no" >&6
9040 fi
9041
9042
9043 enablestring=
9044 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9045 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9046 no_cache=0
9047 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9048 if test "${enable_choicedlg+set}" = set; then
9049 enableval="$enable_choicedlg"
9050
9051 if test "$enableval" = yes; then
9052 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
9053 else
9054 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
9055 fi
9056
9057 else
9058
9059 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9060 if test "x$LINE" != x ; then
9061 eval "DEFAULT_$LINE"
9062 else
9063 no_cache=1
9064 fi
9065
9066 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9067
9068 fi;
9069
9070 eval "$ac_cv_use_choicedlg"
9071 if test "$no_cache" != 1; then
9072 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9073 fi
9074
9075 if test "$wxUSE_CHOICEDLG" = yes; then
9076 echo "$as_me:$LINENO: result: yes" >&5
9077 echo "${ECHO_T}yes" >&6
9078 else
9079 echo "$as_me:$LINENO: result: no" >&5
9080 echo "${ECHO_T}no" >&6
9081 fi
9082
9083
9084 enablestring=
9085 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9086 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9087 no_cache=0
9088 # Check whether --enable-coldlg or --disable-coldlg was given.
9089 if test "${enable_coldlg+set}" = set; then
9090 enableval="$enable_coldlg"
9091
9092 if test "$enableval" = yes; then
9093 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
9094 else
9095 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
9096 fi
9097
9098 else
9099
9100 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9101 if test "x$LINE" != x ; then
9102 eval "DEFAULT_$LINE"
9103 else
9104 no_cache=1
9105 fi
9106
9107 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9108
9109 fi;
9110
9111 eval "$ac_cv_use_coldlg"
9112 if test "$no_cache" != 1; then
9113 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9114 fi
9115
9116 if test "$wxUSE_COLOURDLG" = yes; then
9117 echo "$as_me:$LINENO: result: yes" >&5
9118 echo "${ECHO_T}yes" >&6
9119 else
9120 echo "$as_me:$LINENO: result: no" >&5
9121 echo "${ECHO_T}no" >&6
9122 fi
9123
9124
9125 enablestring=
9126 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9127 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9128 no_cache=0
9129 # Check whether --enable-filedlg or --disable-filedlg was given.
9130 if test "${enable_filedlg+set}" = set; then
9131 enableval="$enable_filedlg"
9132
9133 if test "$enableval" = yes; then
9134 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
9135 else
9136 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
9137 fi
9138
9139 else
9140
9141 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9142 if test "x$LINE" != x ; then
9143 eval "DEFAULT_$LINE"
9144 else
9145 no_cache=1
9146 fi
9147
9148 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9149
9150 fi;
9151
9152 eval "$ac_cv_use_filedlg"
9153 if test "$no_cache" != 1; then
9154 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9155 fi
9156
9157 if test "$wxUSE_FILEDLG" = yes; then
9158 echo "$as_me:$LINENO: result: yes" >&5
9159 echo "${ECHO_T}yes" >&6
9160 else
9161 echo "$as_me:$LINENO: result: no" >&5
9162 echo "${ECHO_T}no" >&6
9163 fi
9164
9165
9166 enablestring=
9167 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9168 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9169 no_cache=0
9170 # Check whether --enable-finddlg or --disable-finddlg was given.
9171 if test "${enable_finddlg+set}" = set; then
9172 enableval="$enable_finddlg"
9173
9174 if test "$enableval" = yes; then
9175 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
9176 else
9177 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
9178 fi
9179
9180 else
9181
9182 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9183 if test "x$LINE" != x ; then
9184 eval "DEFAULT_$LINE"
9185 else
9186 no_cache=1
9187 fi
9188
9189 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9190
9191 fi;
9192
9193 eval "$ac_cv_use_finddlg"
9194 if test "$no_cache" != 1; then
9195 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9196 fi
9197
9198 if test "$wxUSE_FINDREPLDLG" = yes; then
9199 echo "$as_me:$LINENO: result: yes" >&5
9200 echo "${ECHO_T}yes" >&6
9201 else
9202 echo "$as_me:$LINENO: result: no" >&5
9203 echo "${ECHO_T}no" >&6
9204 fi
9205
9206
9207 enablestring=
9208 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9209 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9210 no_cache=0
9211 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9212 if test "${enable_fontdlg+set}" = set; then
9213 enableval="$enable_fontdlg"
9214
9215 if test "$enableval" = yes; then
9216 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
9217 else
9218 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
9219 fi
9220
9221 else
9222
9223 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9224 if test "x$LINE" != x ; then
9225 eval "DEFAULT_$LINE"
9226 else
9227 no_cache=1
9228 fi
9229
9230 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9231
9232 fi;
9233
9234 eval "$ac_cv_use_fontdlg"
9235 if test "$no_cache" != 1; then
9236 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9237 fi
9238
9239 if test "$wxUSE_FONTDLG" = yes; then
9240 echo "$as_me:$LINENO: result: yes" >&5
9241 echo "${ECHO_T}yes" >&6
9242 else
9243 echo "$as_me:$LINENO: result: no" >&5
9244 echo "${ECHO_T}no" >&6
9245 fi
9246
9247
9248 enablestring=
9249 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9250 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9251 no_cache=0
9252 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9253 if test "${enable_dirdlg+set}" = set; then
9254 enableval="$enable_dirdlg"
9255
9256 if test "$enableval" = yes; then
9257 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
9258 else
9259 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
9260 fi
9261
9262 else
9263
9264 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9265 if test "x$LINE" != x ; then
9266 eval "DEFAULT_$LINE"
9267 else
9268 no_cache=1
9269 fi
9270
9271 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9272
9273 fi;
9274
9275 eval "$ac_cv_use_dirdlg"
9276 if test "$no_cache" != 1; then
9277 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9278 fi
9279
9280 if test "$wxUSE_DIRDLG" = yes; then
9281 echo "$as_me:$LINENO: result: yes" >&5
9282 echo "${ECHO_T}yes" >&6
9283 else
9284 echo "$as_me:$LINENO: result: no" >&5
9285 echo "${ECHO_T}no" >&6
9286 fi
9287
9288
9289 enablestring=
9290 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9291 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9292 no_cache=0
9293 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9294 if test "${enable_msgdlg+set}" = set; then
9295 enableval="$enable_msgdlg"
9296
9297 if test "$enableval" = yes; then
9298 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
9299 else
9300 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
9301 fi
9302
9303 else
9304
9305 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9306 if test "x$LINE" != x ; then
9307 eval "DEFAULT_$LINE"
9308 else
9309 no_cache=1
9310 fi
9311
9312 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9313
9314 fi;
9315
9316 eval "$ac_cv_use_msgdlg"
9317 if test "$no_cache" != 1; then
9318 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9319 fi
9320
9321 if test "$wxUSE_MSGDLG" = yes; then
9322 echo "$as_me:$LINENO: result: yes" >&5
9323 echo "${ECHO_T}yes" >&6
9324 else
9325 echo "$as_me:$LINENO: result: no" >&5
9326 echo "${ECHO_T}no" >&6
9327 fi
9328
9329
9330 enablestring=
9331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9332 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9333 no_cache=0
9334 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9335 if test "${enable_numberdlg+set}" = set; then
9336 enableval="$enable_numberdlg"
9337
9338 if test "$enableval" = yes; then
9339 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
9340 else
9341 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
9342 fi
9343
9344 else
9345
9346 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9347 if test "x$LINE" != x ; then
9348 eval "DEFAULT_$LINE"
9349 else
9350 no_cache=1
9351 fi
9352
9353 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9354
9355 fi;
9356
9357 eval "$ac_cv_use_numberdlg"
9358 if test "$no_cache" != 1; then
9359 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9360 fi
9361
9362 if test "$wxUSE_NUMBERDLG" = yes; then
9363 echo "$as_me:$LINENO: result: yes" >&5
9364 echo "${ECHO_T}yes" >&6
9365 else
9366 echo "$as_me:$LINENO: result: no" >&5
9367 echo "${ECHO_T}no" >&6
9368 fi
9369
9370
9371 enablestring=
9372 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9373 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9374 no_cache=0
9375 # Check whether --enable-splash or --disable-splash was given.
9376 if test "${enable_splash+set}" = set; then
9377 enableval="$enable_splash"
9378
9379 if test "$enableval" = yes; then
9380 ac_cv_use_splash='wxUSE_SPLASH=yes'
9381 else
9382 ac_cv_use_splash='wxUSE_SPLASH=no'
9383 fi
9384
9385 else
9386
9387 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9388 if test "x$LINE" != x ; then
9389 eval "DEFAULT_$LINE"
9390 else
9391 no_cache=1
9392 fi
9393
9394 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9395
9396 fi;
9397
9398 eval "$ac_cv_use_splash"
9399 if test "$no_cache" != 1; then
9400 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9401 fi
9402
9403 if test "$wxUSE_SPLASH" = yes; then
9404 echo "$as_me:$LINENO: result: yes" >&5
9405 echo "${ECHO_T}yes" >&6
9406 else
9407 echo "$as_me:$LINENO: result: no" >&5
9408 echo "${ECHO_T}no" >&6
9409 fi
9410
9411
9412 enablestring=
9413 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9414 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9415 no_cache=0
9416 # Check whether --enable-textdlg or --disable-textdlg was given.
9417 if test "${enable_textdlg+set}" = set; then
9418 enableval="$enable_textdlg"
9419
9420 if test "$enableval" = yes; then
9421 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
9422 else
9423 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
9424 fi
9425
9426 else
9427
9428 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9429 if test "x$LINE" != x ; then
9430 eval "DEFAULT_$LINE"
9431 else
9432 no_cache=1
9433 fi
9434
9435 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9436
9437 fi;
9438
9439 eval "$ac_cv_use_textdlg"
9440 if test "$no_cache" != 1; then
9441 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9442 fi
9443
9444 if test "$wxUSE_TEXTDLG" = yes; then
9445 echo "$as_me:$LINENO: result: yes" >&5
9446 echo "${ECHO_T}yes" >&6
9447 else
9448 echo "$as_me:$LINENO: result: no" >&5
9449 echo "${ECHO_T}no" >&6
9450 fi
9451
9452
9453 enablestring=
9454 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9455 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9456 no_cache=0
9457 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9458 if test "${enable_tipdlg+set}" = set; then
9459 enableval="$enable_tipdlg"
9460
9461 if test "$enableval" = yes; then
9462 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
9463 else
9464 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
9465 fi
9466
9467 else
9468
9469 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9470 if test "x$LINE" != x ; then
9471 eval "DEFAULT_$LINE"
9472 else
9473 no_cache=1
9474 fi
9475
9476 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9477
9478 fi;
9479
9480 eval "$ac_cv_use_tipdlg"
9481 if test "$no_cache" != 1; then
9482 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9483 fi
9484
9485 if test "$wxUSE_STARTUP_TIPS" = yes; then
9486 echo "$as_me:$LINENO: result: yes" >&5
9487 echo "${ECHO_T}yes" >&6
9488 else
9489 echo "$as_me:$LINENO: result: no" >&5
9490 echo "${ECHO_T}no" >&6
9491 fi
9492
9493
9494 enablestring=
9495 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9496 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9497 no_cache=0
9498 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9499 if test "${enable_progressdlg+set}" = set; then
9500 enableval="$enable_progressdlg"
9501
9502 if test "$enableval" = yes; then
9503 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
9504 else
9505 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
9506 fi
9507
9508 else
9509
9510 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9511 if test "x$LINE" != x ; then
9512 eval "DEFAULT_$LINE"
9513 else
9514 no_cache=1
9515 fi
9516
9517 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9518
9519 fi;
9520
9521 eval "$ac_cv_use_progressdlg"
9522 if test "$no_cache" != 1; then
9523 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9524 fi
9525
9526 if test "$wxUSE_PROGRESSDLG" = yes; then
9527 echo "$as_me:$LINENO: result: yes" >&5
9528 echo "${ECHO_T}yes" >&6
9529 else
9530 echo "$as_me:$LINENO: result: no" >&5
9531 echo "${ECHO_T}no" >&6
9532 fi
9533
9534
9535 enablestring=
9536 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9537 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9538 no_cache=0
9539 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9540 if test "${enable_wizarddlg+set}" = set; then
9541 enableval="$enable_wizarddlg"
9542
9543 if test "$enableval" = yes; then
9544 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
9545 else
9546 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
9547 fi
9548
9549 else
9550
9551 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9552 if test "x$LINE" != x ; then
9553 eval "DEFAULT_$LINE"
9554 else
9555 no_cache=1
9556 fi
9557
9558 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9559
9560 fi;
9561
9562 eval "$ac_cv_use_wizarddlg"
9563 if test "$no_cache" != 1; then
9564 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9565 fi
9566
9567 if test "$wxUSE_WIZARDDLG" = yes; then
9568 echo "$as_me:$LINENO: result: yes" >&5
9569 echo "${ECHO_T}yes" >&6
9570 else
9571 echo "$as_me:$LINENO: result: no" >&5
9572 echo "${ECHO_T}no" >&6
9573 fi
9574
9575
9576
9577
9578 enablestring=
9579 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9580 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9581 no_cache=0
9582 # Check whether --enable-menus or --disable-menus was given.
9583 if test "${enable_menus+set}" = set; then
9584 enableval="$enable_menus"
9585
9586 if test "$enableval" = yes; then
9587 ac_cv_use_menus='wxUSE_MENUS=yes'
9588 else
9589 ac_cv_use_menus='wxUSE_MENUS=no'
9590 fi
9591
9592 else
9593
9594 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9595 if test "x$LINE" != x ; then
9596 eval "DEFAULT_$LINE"
9597 else
9598 no_cache=1
9599 fi
9600
9601 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9602
9603 fi;
9604
9605 eval "$ac_cv_use_menus"
9606 if test "$no_cache" != 1; then
9607 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9608 fi
9609
9610 if test "$wxUSE_MENUS" = yes; then
9611 echo "$as_me:$LINENO: result: yes" >&5
9612 echo "${ECHO_T}yes" >&6
9613 else
9614 echo "$as_me:$LINENO: result: no" >&5
9615 echo "${ECHO_T}no" >&6
9616 fi
9617
9618
9619 enablestring=
9620 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9621 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9622 no_cache=0
9623 # Check whether --enable-miniframe or --disable-miniframe was given.
9624 if test "${enable_miniframe+set}" = set; then
9625 enableval="$enable_miniframe"
9626
9627 if test "$enableval" = yes; then
9628 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
9629 else
9630 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
9631 fi
9632
9633 else
9634
9635 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9636 if test "x$LINE" != x ; then
9637 eval "DEFAULT_$LINE"
9638 else
9639 no_cache=1
9640 fi
9641
9642 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9643
9644 fi;
9645
9646 eval "$ac_cv_use_miniframe"
9647 if test "$no_cache" != 1; then
9648 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9649 fi
9650
9651 if test "$wxUSE_MINIFRAME" = yes; then
9652 echo "$as_me:$LINENO: result: yes" >&5
9653 echo "${ECHO_T}yes" >&6
9654 else
9655 echo "$as_me:$LINENO: result: no" >&5
9656 echo "${ECHO_T}no" >&6
9657 fi
9658
9659
9660 enablestring=
9661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9662 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9663 no_cache=0
9664 # Check whether --enable-tooltips or --disable-tooltips was given.
9665 if test "${enable_tooltips+set}" = set; then
9666 enableval="$enable_tooltips"
9667
9668 if test "$enableval" = yes; then
9669 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
9670 else
9671 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
9672 fi
9673
9674 else
9675
9676 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9677 if test "x$LINE" != x ; then
9678 eval "DEFAULT_$LINE"
9679 else
9680 no_cache=1
9681 fi
9682
9683 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9684
9685 fi;
9686
9687 eval "$ac_cv_use_tooltips"
9688 if test "$no_cache" != 1; then
9689 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9690 fi
9691
9692 if test "$wxUSE_TOOLTIPS" = yes; then
9693 echo "$as_me:$LINENO: result: yes" >&5
9694 echo "${ECHO_T}yes" >&6
9695 else
9696 echo "$as_me:$LINENO: result: no" >&5
9697 echo "${ECHO_T}no" >&6
9698 fi
9699
9700
9701 enablestring=
9702 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9703 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9704 no_cache=0
9705 # Check whether --enable-splines or --disable-splines was given.
9706 if test "${enable_splines+set}" = set; then
9707 enableval="$enable_splines"
9708
9709 if test "$enableval" = yes; then
9710 ac_cv_use_splines='wxUSE_SPLINES=yes'
9711 else
9712 ac_cv_use_splines='wxUSE_SPLINES=no'
9713 fi
9714
9715 else
9716
9717 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9718 if test "x$LINE" != x ; then
9719 eval "DEFAULT_$LINE"
9720 else
9721 no_cache=1
9722 fi
9723
9724 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9725
9726 fi;
9727
9728 eval "$ac_cv_use_splines"
9729 if test "$no_cache" != 1; then
9730 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9731 fi
9732
9733 if test "$wxUSE_SPLINES" = yes; then
9734 echo "$as_me:$LINENO: result: yes" >&5
9735 echo "${ECHO_T}yes" >&6
9736 else
9737 echo "$as_me:$LINENO: result: no" >&5
9738 echo "${ECHO_T}no" >&6
9739 fi
9740
9741
9742 enablestring=
9743 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9744 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9745 no_cache=0
9746 # Check whether --enable-validators or --disable-validators was given.
9747 if test "${enable_validators+set}" = set; then
9748 enableval="$enable_validators"
9749
9750 if test "$enableval" = yes; then
9751 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9752 else
9753 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9754 fi
9755
9756 else
9757
9758 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9759 if test "x$LINE" != x ; then
9760 eval "DEFAULT_$LINE"
9761 else
9762 no_cache=1
9763 fi
9764
9765 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9766
9767 fi;
9768
9769 eval "$ac_cv_use_validators"
9770 if test "$no_cache" != 1; then
9771 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9772 fi
9773
9774 if test "$wxUSE_VALIDATORS" = yes; then
9775 echo "$as_me:$LINENO: result: yes" >&5
9776 echo "${ECHO_T}yes" >&6
9777 else
9778 echo "$as_me:$LINENO: result: no" >&5
9779 echo "${ECHO_T}no" >&6
9780 fi
9781
9782
9783 enablestring=
9784 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9785 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9786 no_cache=0
9787 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9788 if test "${enable_busyinfo+set}" = set; then
9789 enableval="$enable_busyinfo"
9790
9791 if test "$enableval" = yes; then
9792 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9793 else
9794 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9795 fi
9796
9797 else
9798
9799 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9800 if test "x$LINE" != x ; then
9801 eval "DEFAULT_$LINE"
9802 else
9803 no_cache=1
9804 fi
9805
9806 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9807
9808 fi;
9809
9810 eval "$ac_cv_use_busyinfo"
9811 if test "$no_cache" != 1; then
9812 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9813 fi
9814
9815 if test "$wxUSE_BUSYINFO" = yes; then
9816 echo "$as_me:$LINENO: result: yes" >&5
9817 echo "${ECHO_T}yes" >&6
9818 else
9819 echo "$as_me:$LINENO: result: no" >&5
9820 echo "${ECHO_T}no" >&6
9821 fi
9822
9823
9824 enablestring=
9825 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9826 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9827 no_cache=0
9828 # Check whether --enable-joystick or --disable-joystick was given.
9829 if test "${enable_joystick+set}" = set; then
9830 enableval="$enable_joystick"
9831
9832 if test "$enableval" = yes; then
9833 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9834 else
9835 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9836 fi
9837
9838 else
9839
9840 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9841 if test "x$LINE" != x ; then
9842 eval "DEFAULT_$LINE"
9843 else
9844 no_cache=1
9845 fi
9846
9847 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9848
9849 fi;
9850
9851 eval "$ac_cv_use_joystick"
9852 if test "$no_cache" != 1; then
9853 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9854 fi
9855
9856 if test "$wxUSE_JOYSTICK" = yes; then
9857 echo "$as_me:$LINENO: result: yes" >&5
9858 echo "${ECHO_T}yes" >&6
9859 else
9860 echo "$as_me:$LINENO: result: no" >&5
9861 echo "${ECHO_T}no" >&6
9862 fi
9863
9864
9865 enablestring=
9866 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9867 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9868 no_cache=0
9869 # Check whether --enable-metafile or --disable-metafile was given.
9870 if test "${enable_metafile+set}" = set; then
9871 enableval="$enable_metafile"
9872
9873 if test "$enableval" = yes; then
9874 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9875 else
9876 ac_cv_use_metafile='wxUSE_METAFILE=no'
9877 fi
9878
9879 else
9880
9881 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9882 if test "x$LINE" != x ; then
9883 eval "DEFAULT_$LINE"
9884 else
9885 no_cache=1
9886 fi
9887
9888 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9889
9890 fi;
9891
9892 eval "$ac_cv_use_metafile"
9893 if test "$no_cache" != 1; then
9894 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9895 fi
9896
9897 if test "$wxUSE_METAFILE" = yes; then
9898 echo "$as_me:$LINENO: result: yes" >&5
9899 echo "${ECHO_T}yes" >&6
9900 else
9901 echo "$as_me:$LINENO: result: no" >&5
9902 echo "${ECHO_T}no" >&6
9903 fi
9904
9905
9906 enablestring=
9907 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9908 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9909 no_cache=0
9910 # Check whether --enable-dragimage or --disable-dragimage was given.
9911 if test "${enable_dragimage+set}" = set; then
9912 enableval="$enable_dragimage"
9913
9914 if test "$enableval" = yes; then
9915 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9916 else
9917 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9918 fi
9919
9920 else
9921
9922 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9923 if test "x$LINE" != x ; then
9924 eval "DEFAULT_$LINE"
9925 else
9926 no_cache=1
9927 fi
9928
9929 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9930
9931 fi;
9932
9933 eval "$ac_cv_use_dragimage"
9934 if test "$no_cache" != 1; then
9935 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9936 fi
9937
9938 if test "$wxUSE_DRAGIMAGE" = yes; then
9939 echo "$as_me:$LINENO: result: yes" >&5
9940 echo "${ECHO_T}yes" >&6
9941 else
9942 echo "$as_me:$LINENO: result: no" >&5
9943 echo "${ECHO_T}no" >&6
9944 fi
9945
9946
9947 enablestring=
9948 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9949 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9950 no_cache=0
9951 # Check whether --enable-accessibility or --disable-accessibility was given.
9952 if test "${enable_accessibility+set}" = set; then
9953 enableval="$enable_accessibility"
9954
9955 if test "$enableval" = yes; then
9956 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9957 else
9958 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9959 fi
9960
9961 else
9962
9963 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9964 if test "x$LINE" != x ; then
9965 eval "DEFAULT_$LINE"
9966 else
9967 no_cache=1
9968 fi
9969
9970 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9971
9972 fi;
9973
9974 eval "$ac_cv_use_accessibility"
9975 if test "$no_cache" != 1; then
9976 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9977 fi
9978
9979 if test "$wxUSE_ACCESSIBILITY" = yes; then
9980 echo "$as_me:$LINENO: result: yes" >&5
9981 echo "${ECHO_T}yes" >&6
9982 else
9983 echo "$as_me:$LINENO: result: no" >&5
9984 echo "${ECHO_T}no" >&6
9985 fi
9986
9987
9988
9989
9990 enablestring=
9991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9992 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9993 no_cache=0
9994 # Check whether --enable-palette or --disable-palette was given.
9995 if test "${enable_palette+set}" = set; then
9996 enableval="$enable_palette"
9997
9998 if test "$enableval" = yes; then
9999 ac_cv_use_palette='wxUSE_PALETTE=yes'
10000 else
10001 ac_cv_use_palette='wxUSE_PALETTE=no'
10002 fi
10003
10004 else
10005
10006 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10007 if test "x$LINE" != x ; then
10008 eval "DEFAULT_$LINE"
10009 else
10010 no_cache=1
10011 fi
10012
10013 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10014
10015 fi;
10016
10017 eval "$ac_cv_use_palette"
10018 if test "$no_cache" != 1; then
10019 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10020 fi
10021
10022 if test "$wxUSE_PALETTE" = yes; then
10023 echo "$as_me:$LINENO: result: yes" >&5
10024 echo "${ECHO_T}yes" >&6
10025 else
10026 echo "$as_me:$LINENO: result: no" >&5
10027 echo "${ECHO_T}no" >&6
10028 fi
10029
10030
10031 enablestring=
10032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10033 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10034 no_cache=0
10035 # Check whether --enable-image or --disable-image was given.
10036 if test "${enable_image+set}" = set; then
10037 enableval="$enable_image"
10038
10039 if test "$enableval" = yes; then
10040 ac_cv_use_image='wxUSE_IMAGE=yes'
10041 else
10042 ac_cv_use_image='wxUSE_IMAGE=no'
10043 fi
10044
10045 else
10046
10047 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10048 if test "x$LINE" != x ; then
10049 eval "DEFAULT_$LINE"
10050 else
10051 no_cache=1
10052 fi
10053
10054 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10055
10056 fi;
10057
10058 eval "$ac_cv_use_image"
10059 if test "$no_cache" != 1; then
10060 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10061 fi
10062
10063 if test "$wxUSE_IMAGE" = yes; then
10064 echo "$as_me:$LINENO: result: yes" >&5
10065 echo "${ECHO_T}yes" >&6
10066 else
10067 echo "$as_me:$LINENO: result: no" >&5
10068 echo "${ECHO_T}no" >&6
10069 fi
10070
10071
10072 enablestring=
10073 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10074 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10075 no_cache=0
10076 # Check whether --enable-gif or --disable-gif was given.
10077 if test "${enable_gif+set}" = set; then
10078 enableval="$enable_gif"
10079
10080 if test "$enableval" = yes; then
10081 ac_cv_use_gif='wxUSE_GIF=yes'
10082 else
10083 ac_cv_use_gif='wxUSE_GIF=no'
10084 fi
10085
10086 else
10087
10088 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10089 if test "x$LINE" != x ; then
10090 eval "DEFAULT_$LINE"
10091 else
10092 no_cache=1
10093 fi
10094
10095 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10096
10097 fi;
10098
10099 eval "$ac_cv_use_gif"
10100 if test "$no_cache" != 1; then
10101 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10102 fi
10103
10104 if test "$wxUSE_GIF" = yes; then
10105 echo "$as_me:$LINENO: result: yes" >&5
10106 echo "${ECHO_T}yes" >&6
10107 else
10108 echo "$as_me:$LINENO: result: no" >&5
10109 echo "${ECHO_T}no" >&6
10110 fi
10111
10112
10113 enablestring=
10114 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10115 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10116 no_cache=0
10117 # Check whether --enable-pcx or --disable-pcx was given.
10118 if test "${enable_pcx+set}" = set; then
10119 enableval="$enable_pcx"
10120
10121 if test "$enableval" = yes; then
10122 ac_cv_use_pcx='wxUSE_PCX=yes'
10123 else
10124 ac_cv_use_pcx='wxUSE_PCX=no'
10125 fi
10126
10127 else
10128
10129 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10130 if test "x$LINE" != x ; then
10131 eval "DEFAULT_$LINE"
10132 else
10133 no_cache=1
10134 fi
10135
10136 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10137
10138 fi;
10139
10140 eval "$ac_cv_use_pcx"
10141 if test "$no_cache" != 1; then
10142 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10143 fi
10144
10145 if test "$wxUSE_PCX" = yes; then
10146 echo "$as_me:$LINENO: result: yes" >&5
10147 echo "${ECHO_T}yes" >&6
10148 else
10149 echo "$as_me:$LINENO: result: no" >&5
10150 echo "${ECHO_T}no" >&6
10151 fi
10152
10153
10154 enablestring=
10155 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10156 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10157 no_cache=0
10158 # Check whether --enable-iff or --disable-iff was given.
10159 if test "${enable_iff+set}" = set; then
10160 enableval="$enable_iff"
10161
10162 if test "$enableval" = yes; then
10163 ac_cv_use_iff='wxUSE_IFF=yes'
10164 else
10165 ac_cv_use_iff='wxUSE_IFF=no'
10166 fi
10167
10168 else
10169
10170 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10171 if test "x$LINE" != x ; then
10172 eval "DEFAULT_$LINE"
10173 else
10174 no_cache=1
10175 fi
10176
10177 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10178
10179 fi;
10180
10181 eval "$ac_cv_use_iff"
10182 if test "$no_cache" != 1; then
10183 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10184 fi
10185
10186 if test "$wxUSE_IFF" = yes; then
10187 echo "$as_me:$LINENO: result: yes" >&5
10188 echo "${ECHO_T}yes" >&6
10189 else
10190 echo "$as_me:$LINENO: result: no" >&5
10191 echo "${ECHO_T}no" >&6
10192 fi
10193
10194
10195 enablestring=
10196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10197 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10198 no_cache=0
10199 # Check whether --enable-pnm or --disable-pnm was given.
10200 if test "${enable_pnm+set}" = set; then
10201 enableval="$enable_pnm"
10202
10203 if test "$enableval" = yes; then
10204 ac_cv_use_pnm='wxUSE_PNM=yes'
10205 else
10206 ac_cv_use_pnm='wxUSE_PNM=no'
10207 fi
10208
10209 else
10210
10211 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10212 if test "x$LINE" != x ; then
10213 eval "DEFAULT_$LINE"
10214 else
10215 no_cache=1
10216 fi
10217
10218 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10219
10220 fi;
10221
10222 eval "$ac_cv_use_pnm"
10223 if test "$no_cache" != 1; then
10224 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10225 fi
10226
10227 if test "$wxUSE_PNM" = yes; then
10228 echo "$as_me:$LINENO: result: yes" >&5
10229 echo "${ECHO_T}yes" >&6
10230 else
10231 echo "$as_me:$LINENO: result: no" >&5
10232 echo "${ECHO_T}no" >&6
10233 fi
10234
10235
10236 enablestring=
10237 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10238 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10239 no_cache=0
10240 # Check whether --enable-xpm or --disable-xpm was given.
10241 if test "${enable_xpm+set}" = set; then
10242 enableval="$enable_xpm"
10243
10244 if test "$enableval" = yes; then
10245 ac_cv_use_xpm='wxUSE_XPM=yes'
10246 else
10247 ac_cv_use_xpm='wxUSE_XPM=no'
10248 fi
10249
10250 else
10251
10252 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10253 if test "x$LINE" != x ; then
10254 eval "DEFAULT_$LINE"
10255 else
10256 no_cache=1
10257 fi
10258
10259 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10260
10261 fi;
10262
10263 eval "$ac_cv_use_xpm"
10264 if test "$no_cache" != 1; then
10265 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10266 fi
10267
10268 if test "$wxUSE_XPM" = yes; then
10269 echo "$as_me:$LINENO: result: yes" >&5
10270 echo "${ECHO_T}yes" >&6
10271 else
10272 echo "$as_me:$LINENO: result: no" >&5
10273 echo "${ECHO_T}no" >&6
10274 fi
10275
10276
10277 enablestring=
10278 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10279 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10280 no_cache=0
10281 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10282 if test "${enable_ico_cur+set}" = set; then
10283 enableval="$enable_ico_cur"
10284
10285 if test "$enableval" = yes; then
10286 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
10287 else
10288 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
10289 fi
10290
10291 else
10292
10293 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10294 if test "x$LINE" != x ; then
10295 eval "DEFAULT_$LINE"
10296 else
10297 no_cache=1
10298 fi
10299
10300 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10301
10302 fi;
10303
10304 eval "$ac_cv_use_ico_cur"
10305 if test "$no_cache" != 1; then
10306 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10307 fi
10308
10309 if test "$wxUSE_ICO_CUR" = yes; then
10310 echo "$as_me:$LINENO: result: yes" >&5
10311 echo "${ECHO_T}yes" >&6
10312 else
10313 echo "$as_me:$LINENO: result: no" >&5
10314 echo "${ECHO_T}no" >&6
10315 fi
10316
10317
10318 fi
10319
10320
10321
10322 # Check whether --with-flavour or --without-flavour was given.
10323 if test "${with_flavour+set}" = set; then
10324 withval="$with_flavour"
10325 WX_FLAVOUR="$withval"
10326 fi;
10327
10328
10329
10330 enablestring=
10331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10332 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10333 no_cache=0
10334 # Check whether --enable-official_build or --disable-official_build was given.
10335 if test "${enable_official_build+set}" = set; then
10336 enableval="$enable_official_build"
10337
10338 if test "$enableval" = yes; then
10339 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
10340 else
10341 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
10342 fi
10343
10344 else
10345
10346 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10347 if test "x$LINE" != x ; then
10348 eval "DEFAULT_$LINE"
10349 else
10350 no_cache=1
10351 fi
10352
10353 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10354
10355 fi;
10356
10357 eval "$ac_cv_use_official_build"
10358 if test "$no_cache" != 1; then
10359 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10360 fi
10361
10362 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10363 echo "$as_me:$LINENO: result: yes" >&5
10364 echo "${ECHO_T}yes" >&6
10365 else
10366 echo "$as_me:$LINENO: result: no" >&5
10367 echo "${ECHO_T}no" >&6
10368 fi
10369
10370 # Check whether --enable-vendor or --disable-vendor was given.
10371 if test "${enable_vendor+set}" = set; then
10372 enableval="$enable_vendor"
10373 VENDOR="$enableval"
10374 fi;
10375 if test "x$VENDOR" = "x"; then
10376 VENDOR="custom"
10377 fi
10378
10379
10380
10381
10382 echo "saving argument cache $wx_arg_cache_file"
10383 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
10384
10385
10386
10387 echo "$as_me:$LINENO: checking for toolkit" >&5
10388 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10389
10390 # In Wine, we need to default to MSW, not GTK or MOTIF
10391 if test "$wxUSE_WINE" = "yes"; then
10392 DEFAULT_DEFAULT_wxUSE_GTK=0
10393 DEFAULT_DEFAULT_wxUSE_MOTIF=0
10394 DEFAULT_DEFAULT_wxUSE_MSW=1
10395 wxUSE_SHARED=no
10396 fi
10397
10398 if test "$wxUSE_GUI" = "yes"; then
10399
10400 if test "$USE_BEOS" = 1; then
10401 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10402 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10403 { (exit 1); exit 1; }; }
10404 fi
10405
10406 if test "$TOOLKIT_GIVEN" = 1; then
10407 for toolkit in `echo $ALL_TOOLKITS`; do
10408 var=wxUSE_$toolkit
10409 eval "value=\$${var}"
10410 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
10411 done
10412 else
10413 for toolkit in `echo $ALL_TOOLKITS`; do
10414 if test "$has_toolkit_in_cache" != 1; then
10415 var=DEFAULT_DEFAULT_wxUSE_$toolkit
10416 else
10417 var=DEFAULT_wxUSE_$toolkit
10418 fi
10419 eval "wxUSE_$toolkit=\$${var}"
10420 done
10421 fi
10422
10423 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10424 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10425 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10426
10427 case "${host}" in
10428 *-pc-os2_emx | *-pc-os2-emx )
10429 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10430 esac
10431
10432 case "$NUM_TOOLKITS" in
10433 1)
10434 ;;
10435 0)
10436 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10437 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10438 { (exit 1); exit 1; }; }
10439 ;;
10440 *)
10441 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10442 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10443 { (exit 1); exit 1; }; }
10444 esac
10445
10446 for toolkit in `echo $ALL_TOOLKITS`; do
10447 var=wxUSE_$toolkit
10448 eval "value=\$${var}"
10449 if test "x$value" != x; then
10450 cache_var=CACHE_$toolkit
10451 eval "cache=\$${cache_var}"
10452 if test "$cache" = 1; then
10453 echo "$var=$value" >> ${wx_arg_cache_file}
10454 fi
10455 if test "$value" = 1; then
10456 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10457 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10458 echo "${ECHO_T}$toolkit_echo" >&6
10459 fi
10460 fi
10461 done
10462 else
10463 if test "x$host_alias" != "x"; then
10464 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10465 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10466 else
10467 echo "$as_me:$LINENO: result: base only" >&5
10468 echo "${ECHO_T}base only" >&6
10469 fi
10470 fi
10471
10472 wants_win32=0
10473 doesnt_want_win32=0
10474 case "${host}" in
10475 *-*-cygwin*)
10476 if test "$wxUSE_MSW" = 1 ; then
10477 wants_win32=1
10478 else
10479 doesnt_want_win32=1
10480 fi
10481 ;;
10482 *-*-mingw*)
10483 wants_win32=1
10484 ;;
10485 esac
10486
10487 if test "$wxUSE_WINE" = "yes"; then
10488 wants_win32=1
10489 CC=winegcc
10490 CXX=wineg++
10491 RESCOMP=wrc
10492 LDFLAGS_GUI="-mwindows"
10493 fi
10494
10495 if test "$wants_win32" = 1 ; then
10496 USE_UNIX=0
10497 USE_WIN32=1
10498 cat >>confdefs.h <<\_ACEOF
10499 #define __WIN32__ 1
10500 _ACEOF
10501
10502 cat >>confdefs.h <<\_ACEOF
10503 #define __WIN95__ 1
10504 _ACEOF
10505
10506 cat >>confdefs.h <<\_ACEOF
10507 #define __WINDOWS__ 1
10508 _ACEOF
10509
10510 cat >>confdefs.h <<\_ACEOF
10511 #define __GNUWIN32__ 1
10512 _ACEOF
10513
10514 cat >>confdefs.h <<\_ACEOF
10515 #define STRICT 1
10516 _ACEOF
10517
10518 cat >>confdefs.h <<\_ACEOF
10519 #define WINVER 0x0400
10520 _ACEOF
10521
10522 fi
10523 if test "$doesnt_want_win32" = 1 ; then
10524 USE_UNIX=1
10525 USE_WIN32=0
10526 fi
10527
10528 if test "$USE_UNIX" = 1 ; then
10529 wxUSE_UNIX=yes
10530 cat >>confdefs.h <<\_ACEOF
10531 #define __UNIX__ 1
10532 _ACEOF
10533
10534 fi
10535
10536
10537 cat >confcache <<\_ACEOF
10538 # This file is a shell script that caches the results of configure
10539 # tests run on this system so they can be shared between configure
10540 # scripts and configure runs, see configure's option --config-cache.
10541 # It is not useful on other systems. If it contains results you don't
10542 # want to keep, you may remove or edit it.
10543 #
10544 # config.status only pays attention to the cache file if you give it
10545 # the --recheck option to rerun configure.
10546 #
10547 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10548 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10549 # following values.
10550
10551 _ACEOF
10552
10553 # The following way of writing the cache mishandles newlines in values,
10554 # but we know of no workaround that is simple, portable, and efficient.
10555 # So, don't put newlines in cache variables' values.
10556 # Ultrix sh set writes to stderr and can't be redirected directly,
10557 # and sets the high bit in the cache file unless we assign to the vars.
10558 {
10559 (set) 2>&1 |
10560 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10561 *ac_space=\ *)
10562 # `set' does not quote correctly, so add quotes (double-quote
10563 # substitution turns \\\\ into \\, and sed turns \\ into \).
10564 sed -n \
10565 "s/'/'\\\\''/g;
10566 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10567 ;;
10568 *)
10569 # `set' quotes correctly as required by POSIX, so do not add quotes.
10570 sed -n \
10571 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10572 ;;
10573 esac;
10574 } |
10575 sed '
10576 t clear
10577 : clear
10578 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10579 t end
10580 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10581 : end' >>confcache
10582 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10583 if test -w $cache_file; then
10584 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10585 cat confcache >$cache_file
10586 else
10587 echo "not updating unwritable cache $cache_file"
10588 fi
10589 fi
10590 rm -f confcache
10591
10592 if test "$build" != "$host" ; then
10593 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX" = 1; then
10594 CC=$host_alias-gcc
10595 CXX=$host_alias-c++
10596 AR=$host_alias-ar
10597 RANLIB=$host_alias-ranlib
10598 DLLTOOL=$host_alias-dlltool
10599 RESCOMP=$host_alias-windres
10600 STRIP=$host_alias-strip
10601 elif test "x$CC" '!=' "x"; then
10602 echo "You set CC, I assume you know what you are doing."
10603 else
10604 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10605 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10606 { (exit 1); exit 1; }; }
10607 fi
10608 fi
10609
10610 CFLAGS=${CFLAGS:=}
10611
10612
10613 ac_ext=c
10614 ac_cpp='$CPP $CPPFLAGS'
10615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10618 if test -n "$ac_tool_prefix"; then
10619 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10620 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10621 echo "$as_me:$LINENO: checking for $ac_word" >&5
10622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10623 if test "${ac_cv_prog_CC+set}" = set; then
10624 echo $ECHO_N "(cached) $ECHO_C" >&6
10625 else
10626 if test -n "$CC"; then
10627 ac_cv_prog_CC="$CC" # Let the user override the test.
10628 else
10629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10630 for as_dir in $PATH
10631 do
10632 IFS=$as_save_IFS
10633 test -z "$as_dir" && as_dir=.
10634 for ac_exec_ext in '' $ac_executable_extensions; do
10635 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10636 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10638 break 2
10639 fi
10640 done
10641 done
10642
10643 fi
10644 fi
10645 CC=$ac_cv_prog_CC
10646 if test -n "$CC"; then
10647 echo "$as_me:$LINENO: result: $CC" >&5
10648 echo "${ECHO_T}$CC" >&6
10649 else
10650 echo "$as_me:$LINENO: result: no" >&5
10651 echo "${ECHO_T}no" >&6
10652 fi
10653
10654 fi
10655 if test -z "$ac_cv_prog_CC"; then
10656 ac_ct_CC=$CC
10657 # Extract the first word of "gcc", so it can be a program name with args.
10658 set dummy gcc; ac_word=$2
10659 echo "$as_me:$LINENO: checking for $ac_word" >&5
10660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10661 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10662 echo $ECHO_N "(cached) $ECHO_C" >&6
10663 else
10664 if test -n "$ac_ct_CC"; then
10665 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10666 else
10667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10668 for as_dir in $PATH
10669 do
10670 IFS=$as_save_IFS
10671 test -z "$as_dir" && as_dir=.
10672 for ac_exec_ext in '' $ac_executable_extensions; do
10673 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10674 ac_cv_prog_ac_ct_CC="gcc"
10675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10676 break 2
10677 fi
10678 done
10679 done
10680
10681 fi
10682 fi
10683 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10684 if test -n "$ac_ct_CC"; then
10685 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10686 echo "${ECHO_T}$ac_ct_CC" >&6
10687 else
10688 echo "$as_me:$LINENO: result: no" >&5
10689 echo "${ECHO_T}no" >&6
10690 fi
10691
10692 CC=$ac_ct_CC
10693 else
10694 CC="$ac_cv_prog_CC"
10695 fi
10696
10697 if test -z "$CC"; then
10698 if test -n "$ac_tool_prefix"; then
10699 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10700 set dummy ${ac_tool_prefix}cc; ac_word=$2
10701 echo "$as_me:$LINENO: checking for $ac_word" >&5
10702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10703 if test "${ac_cv_prog_CC+set}" = set; then
10704 echo $ECHO_N "(cached) $ECHO_C" >&6
10705 else
10706 if test -n "$CC"; then
10707 ac_cv_prog_CC="$CC" # Let the user override the test.
10708 else
10709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10710 for as_dir in $PATH
10711 do
10712 IFS=$as_save_IFS
10713 test -z "$as_dir" && as_dir=.
10714 for ac_exec_ext in '' $ac_executable_extensions; do
10715 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10716 ac_cv_prog_CC="${ac_tool_prefix}cc"
10717 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10718 break 2
10719 fi
10720 done
10721 done
10722
10723 fi
10724 fi
10725 CC=$ac_cv_prog_CC
10726 if test -n "$CC"; then
10727 echo "$as_me:$LINENO: result: $CC" >&5
10728 echo "${ECHO_T}$CC" >&6
10729 else
10730 echo "$as_me:$LINENO: result: no" >&5
10731 echo "${ECHO_T}no" >&6
10732 fi
10733
10734 fi
10735 if test -z "$ac_cv_prog_CC"; then
10736 ac_ct_CC=$CC
10737 # Extract the first word of "cc", so it can be a program name with args.
10738 set dummy cc; ac_word=$2
10739 echo "$as_me:$LINENO: checking for $ac_word" >&5
10740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10741 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10742 echo $ECHO_N "(cached) $ECHO_C" >&6
10743 else
10744 if test -n "$ac_ct_CC"; then
10745 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10746 else
10747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10748 for as_dir in $PATH
10749 do
10750 IFS=$as_save_IFS
10751 test -z "$as_dir" && as_dir=.
10752 for ac_exec_ext in '' $ac_executable_extensions; do
10753 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10754 ac_cv_prog_ac_ct_CC="cc"
10755 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10756 break 2
10757 fi
10758 done
10759 done
10760
10761 fi
10762 fi
10763 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10764 if test -n "$ac_ct_CC"; then
10765 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10766 echo "${ECHO_T}$ac_ct_CC" >&6
10767 else
10768 echo "$as_me:$LINENO: result: no" >&5
10769 echo "${ECHO_T}no" >&6
10770 fi
10771
10772 CC=$ac_ct_CC
10773 else
10774 CC="$ac_cv_prog_CC"
10775 fi
10776
10777 fi
10778 if test -z "$CC"; then
10779 # Extract the first word of "cc", so it can be a program name with args.
10780 set dummy cc; ac_word=$2
10781 echo "$as_me:$LINENO: checking for $ac_word" >&5
10782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10783 if test "${ac_cv_prog_CC+set}" = set; then
10784 echo $ECHO_N "(cached) $ECHO_C" >&6
10785 else
10786 if test -n "$CC"; then
10787 ac_cv_prog_CC="$CC" # Let the user override the test.
10788 else
10789 ac_prog_rejected=no
10790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10791 for as_dir in $PATH
10792 do
10793 IFS=$as_save_IFS
10794 test -z "$as_dir" && as_dir=.
10795 for ac_exec_ext in '' $ac_executable_extensions; do
10796 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10797 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10798 ac_prog_rejected=yes
10799 continue
10800 fi
10801 ac_cv_prog_CC="cc"
10802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10803 break 2
10804 fi
10805 done
10806 done
10807
10808 if test $ac_prog_rejected = yes; then
10809 # We found a bogon in the path, so make sure we never use it.
10810 set dummy $ac_cv_prog_CC
10811 shift
10812 if test $# != 0; then
10813 # We chose a different compiler from the bogus one.
10814 # However, it has the same basename, so the bogon will be chosen
10815 # first if we set CC to just the basename; use the full file name.
10816 shift
10817 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10818 fi
10819 fi
10820 fi
10821 fi
10822 CC=$ac_cv_prog_CC
10823 if test -n "$CC"; then
10824 echo "$as_me:$LINENO: result: $CC" >&5
10825 echo "${ECHO_T}$CC" >&6
10826 else
10827 echo "$as_me:$LINENO: result: no" >&5
10828 echo "${ECHO_T}no" >&6
10829 fi
10830
10831 fi
10832 if test -z "$CC"; then
10833 if test -n "$ac_tool_prefix"; then
10834 for ac_prog in cl
10835 do
10836 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10837 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10838 echo "$as_me:$LINENO: checking for $ac_word" >&5
10839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10840 if test "${ac_cv_prog_CC+set}" = set; then
10841 echo $ECHO_N "(cached) $ECHO_C" >&6
10842 else
10843 if test -n "$CC"; then
10844 ac_cv_prog_CC="$CC" # Let the user override the test.
10845 else
10846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10847 for as_dir in $PATH
10848 do
10849 IFS=$as_save_IFS
10850 test -z "$as_dir" && as_dir=.
10851 for ac_exec_ext in '' $ac_executable_extensions; do
10852 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10853 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10855 break 2
10856 fi
10857 done
10858 done
10859
10860 fi
10861 fi
10862 CC=$ac_cv_prog_CC
10863 if test -n "$CC"; then
10864 echo "$as_me:$LINENO: result: $CC" >&5
10865 echo "${ECHO_T}$CC" >&6
10866 else
10867 echo "$as_me:$LINENO: result: no" >&5
10868 echo "${ECHO_T}no" >&6
10869 fi
10870
10871 test -n "$CC" && break
10872 done
10873 fi
10874 if test -z "$CC"; then
10875 ac_ct_CC=$CC
10876 for ac_prog in cl
10877 do
10878 # Extract the first word of "$ac_prog", so it can be a program name with args.
10879 set dummy $ac_prog; ac_word=$2
10880 echo "$as_me:$LINENO: checking for $ac_word" >&5
10881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10882 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10883 echo $ECHO_N "(cached) $ECHO_C" >&6
10884 else
10885 if test -n "$ac_ct_CC"; then
10886 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10887 else
10888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10889 for as_dir in $PATH
10890 do
10891 IFS=$as_save_IFS
10892 test -z "$as_dir" && as_dir=.
10893 for ac_exec_ext in '' $ac_executable_extensions; do
10894 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10895 ac_cv_prog_ac_ct_CC="$ac_prog"
10896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10897 break 2
10898 fi
10899 done
10900 done
10901
10902 fi
10903 fi
10904 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10905 if test -n "$ac_ct_CC"; then
10906 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10907 echo "${ECHO_T}$ac_ct_CC" >&6
10908 else
10909 echo "$as_me:$LINENO: result: no" >&5
10910 echo "${ECHO_T}no" >&6
10911 fi
10912
10913 test -n "$ac_ct_CC" && break
10914 done
10915
10916 CC=$ac_ct_CC
10917 fi
10918
10919 fi
10920
10921
10922 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10923 See \`config.log' for more details." >&5
10924 echo "$as_me: error: no acceptable C compiler found in \$PATH
10925 See \`config.log' for more details." >&2;}
10926 { (exit 1); exit 1; }; }
10927
10928 # Provide some information about the compiler.
10929 echo "$as_me:$LINENO:" \
10930 "checking for C compiler version" >&5
10931 ac_compiler=`set X $ac_compile; echo $2`
10932 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10933 (eval $ac_compiler --version </dev/null >&5) 2>&5
10934 ac_status=$?
10935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10936 (exit $ac_status); }
10937 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10938 (eval $ac_compiler -v </dev/null >&5) 2>&5
10939 ac_status=$?
10940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10941 (exit $ac_status); }
10942 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10943 (eval $ac_compiler -V </dev/null >&5) 2>&5
10944 ac_status=$?
10945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10946 (exit $ac_status); }
10947
10948 cat >conftest.$ac_ext <<_ACEOF
10949 /* confdefs.h. */
10950 _ACEOF
10951 cat confdefs.h >>conftest.$ac_ext
10952 cat >>conftest.$ac_ext <<_ACEOF
10953 /* end confdefs.h. */
10954
10955 int
10956 main ()
10957 {
10958
10959 ;
10960 return 0;
10961 }
10962 _ACEOF
10963 ac_clean_files_save=$ac_clean_files
10964 ac_clean_files="$ac_clean_files a.out a.exe b.out"
10965 # Try to create an executable without -o first, disregard a.out.
10966 # It will help us diagnose broken compilers, and finding out an intuition
10967 # of exeext.
10968 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10969 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10970 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10971 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10972 (eval $ac_link_default) 2>&5
10973 ac_status=$?
10974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10975 (exit $ac_status); }; then
10976 # Find the output, starting from the most likely. This scheme is
10977 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10978 # resort.
10979
10980 # Be careful to initialize this variable, since it used to be cached.
10981 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10982 ac_cv_exeext=
10983 # b.out is created by i960 compilers.
10984 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10985 do
10986 test -f "$ac_file" || continue
10987 case $ac_file in
10988 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10989 ;;
10990 conftest.$ac_ext )
10991 # This is the source file.
10992 ;;
10993 [ab].out )
10994 # We found the default executable, but exeext='' is most
10995 # certainly right.
10996 break;;
10997 *.* )
10998 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10999 # FIXME: I believe we export ac_cv_exeext for Libtool,
11000 # but it would be cool to find out if it's true. Does anybody
11001 # maintain Libtool? --akim.
11002 export ac_cv_exeext
11003 break;;
11004 * )
11005 break;;
11006 esac
11007 done
11008 else
11009 echo "$as_me: failed program was:" >&5
11010 sed 's/^/| /' conftest.$ac_ext >&5
11011
11012 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11013 See \`config.log' for more details." >&5
11014 echo "$as_me: error: C compiler cannot create executables
11015 See \`config.log' for more details." >&2;}
11016 { (exit 77); exit 77; }; }
11017 fi
11018
11019 ac_exeext=$ac_cv_exeext
11020 echo "$as_me:$LINENO: result: $ac_file" >&5
11021 echo "${ECHO_T}$ac_file" >&6
11022
11023 # Check the compiler produces executables we can run. If not, either
11024 # the compiler is broken, or we cross compile.
11025 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11026 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11027 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11028 # If not cross compiling, check that we can run a simple program.
11029 if test "$cross_compiling" != yes; then
11030 if { ac_try='./$ac_file'
11031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11032 (eval $ac_try) 2>&5
11033 ac_status=$?
11034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11035 (exit $ac_status); }; }; then
11036 cross_compiling=no
11037 else
11038 if test "$cross_compiling" = maybe; then
11039 cross_compiling=yes
11040 else
11041 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11042 If you meant to cross compile, use \`--host'.
11043 See \`config.log' for more details." >&5
11044 echo "$as_me: error: cannot run C compiled programs.
11045 If you meant to cross compile, use \`--host'.
11046 See \`config.log' for more details." >&2;}
11047 { (exit 1); exit 1; }; }
11048 fi
11049 fi
11050 fi
11051 echo "$as_me:$LINENO: result: yes" >&5
11052 echo "${ECHO_T}yes" >&6
11053
11054 rm -f a.out a.exe conftest$ac_cv_exeext b.out
11055 ac_clean_files=$ac_clean_files_save
11056 # Check the compiler produces executables we can run. If not, either
11057 # the compiler is broken, or we cross compile.
11058 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11059 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11060 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11061 echo "${ECHO_T}$cross_compiling" >&6
11062
11063 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11064 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11066 (eval $ac_link) 2>&5
11067 ac_status=$?
11068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11069 (exit $ac_status); }; then
11070 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11071 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11072 # work properly (i.e., refer to `conftest.exe'), while it won't with
11073 # `rm'.
11074 for ac_file in conftest.exe conftest conftest.*; do
11075 test -f "$ac_file" || continue
11076 case $ac_file in
11077 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
11078 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11079 export ac_cv_exeext
11080 break;;
11081 * ) break;;
11082 esac
11083 done
11084 else
11085 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11086 See \`config.log' for more details." >&5
11087 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11088 See \`config.log' for more details." >&2;}
11089 { (exit 1); exit 1; }; }
11090 fi
11091
11092 rm -f conftest$ac_cv_exeext
11093 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11094 echo "${ECHO_T}$ac_cv_exeext" >&6
11095
11096 rm -f conftest.$ac_ext
11097 EXEEXT=$ac_cv_exeext
11098 ac_exeext=$EXEEXT
11099 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11100 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11101 if test "${ac_cv_objext+set}" = set; then
11102 echo $ECHO_N "(cached) $ECHO_C" >&6
11103 else
11104 cat >conftest.$ac_ext <<_ACEOF
11105 /* confdefs.h. */
11106 _ACEOF
11107 cat confdefs.h >>conftest.$ac_ext
11108 cat >>conftest.$ac_ext <<_ACEOF
11109 /* end confdefs.h. */
11110
11111 int
11112 main ()
11113 {
11114
11115 ;
11116 return 0;
11117 }
11118 _ACEOF
11119 rm -f conftest.o conftest.obj
11120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11121 (eval $ac_compile) 2>&5
11122 ac_status=$?
11123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11124 (exit $ac_status); }; then
11125 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11126 case $ac_file in
11127 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
11128 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
11129 break;;
11130 esac
11131 done
11132 else
11133 echo "$as_me: failed program was:" >&5
11134 sed 's/^/| /' conftest.$ac_ext >&5
11135
11136 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11137 See \`config.log' for more details." >&5
11138 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11139 See \`config.log' for more details." >&2;}
11140 { (exit 1); exit 1; }; }
11141 fi
11142
11143 rm -f conftest.$ac_cv_objext conftest.$ac_ext
11144 fi
11145 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11146 echo "${ECHO_T}$ac_cv_objext" >&6
11147 OBJEXT=$ac_cv_objext
11148 ac_objext=$OBJEXT
11149 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11150 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11151 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11152 echo $ECHO_N "(cached) $ECHO_C" >&6
11153 else
11154 cat >conftest.$ac_ext <<_ACEOF
11155 /* confdefs.h. */
11156 _ACEOF
11157 cat confdefs.h >>conftest.$ac_ext
11158 cat >>conftest.$ac_ext <<_ACEOF
11159 /* end confdefs.h. */
11160
11161 int
11162 main ()
11163 {
11164 #ifndef __GNUC__
11165 choke me
11166 #endif
11167
11168 ;
11169 return 0;
11170 }
11171 _ACEOF
11172 rm -f conftest.$ac_objext
11173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11174 (eval $ac_compile) 2>conftest.er1
11175 ac_status=$?
11176 grep -v '^ *+' conftest.er1 >conftest.err
11177 rm -f conftest.er1
11178 cat conftest.err >&5
11179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11180 (exit $ac_status); } &&
11181 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11183 (eval $ac_try) 2>&5
11184 ac_status=$?
11185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11186 (exit $ac_status); }; } &&
11187 { ac_try='test -s conftest.$ac_objext'
11188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11189 (eval $ac_try) 2>&5
11190 ac_status=$?
11191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11192 (exit $ac_status); }; }; then
11193 ac_compiler_gnu=yes
11194 else
11195 echo "$as_me: failed program was:" >&5
11196 sed 's/^/| /' conftest.$ac_ext >&5
11197
11198 ac_compiler_gnu=no
11199 fi
11200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11201 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11202
11203 fi
11204 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11205 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11206 GCC=`test $ac_compiler_gnu = yes && echo yes`
11207 ac_test_CFLAGS=${CFLAGS+set}
11208 ac_save_CFLAGS=$CFLAGS
11209 CFLAGS="-g"
11210 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11211 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11212 if test "${ac_cv_prog_cc_g+set}" = set; then
11213 echo $ECHO_N "(cached) $ECHO_C" >&6
11214 else
11215 cat >conftest.$ac_ext <<_ACEOF
11216 /* confdefs.h. */
11217 _ACEOF
11218 cat confdefs.h >>conftest.$ac_ext
11219 cat >>conftest.$ac_ext <<_ACEOF
11220 /* end confdefs.h. */
11221
11222 int
11223 main ()
11224 {
11225
11226 ;
11227 return 0;
11228 }
11229 _ACEOF
11230 rm -f conftest.$ac_objext
11231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11232 (eval $ac_compile) 2>conftest.er1
11233 ac_status=$?
11234 grep -v '^ *+' conftest.er1 >conftest.err
11235 rm -f conftest.er1
11236 cat conftest.err >&5
11237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11238 (exit $ac_status); } &&
11239 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11241 (eval $ac_try) 2>&5
11242 ac_status=$?
11243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11244 (exit $ac_status); }; } &&
11245 { ac_try='test -s conftest.$ac_objext'
11246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11247 (eval $ac_try) 2>&5
11248 ac_status=$?
11249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11250 (exit $ac_status); }; }; then
11251 ac_cv_prog_cc_g=yes
11252 else
11253 echo "$as_me: failed program was:" >&5
11254 sed 's/^/| /' conftest.$ac_ext >&5
11255
11256 ac_cv_prog_cc_g=no
11257 fi
11258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11259 fi
11260 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11261 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11262 if test "$ac_test_CFLAGS" = set; then
11263 CFLAGS=$ac_save_CFLAGS
11264 elif test $ac_cv_prog_cc_g = yes; then
11265 if test "$GCC" = yes; then
11266 CFLAGS="-g -O2"
11267 else
11268 CFLAGS="-g"
11269 fi
11270 else
11271 if test "$GCC" = yes; then
11272 CFLAGS="-O2"
11273 else
11274 CFLAGS=
11275 fi
11276 fi
11277 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11278 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11279 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11280 echo $ECHO_N "(cached) $ECHO_C" >&6
11281 else
11282 ac_cv_prog_cc_stdc=no
11283 ac_save_CC=$CC
11284 cat >conftest.$ac_ext <<_ACEOF
11285 /* confdefs.h. */
11286 _ACEOF
11287 cat confdefs.h >>conftest.$ac_ext
11288 cat >>conftest.$ac_ext <<_ACEOF
11289 /* end confdefs.h. */
11290 #include <stdarg.h>
11291 #include <stdio.h>
11292 #include <sys/types.h>
11293 #include <sys/stat.h>
11294 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11295 struct buf { int x; };
11296 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11297 static char *e (p, i)
11298 char **p;
11299 int i;
11300 {
11301 return p[i];
11302 }
11303 static char *f (char * (*g) (char **, int), char **p, ...)
11304 {
11305 char *s;
11306 va_list v;
11307 va_start (v,p);
11308 s = g (p, va_arg (v,int));
11309 va_end (v);
11310 return s;
11311 }
11312
11313 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11314 function prototypes and stuff, but not '\xHH' hex character constants.
11315 These don't provoke an error unfortunately, instead are silently treated
11316 as 'x'. The following induces an error, until -std1 is added to get
11317 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11318 array size at least. It's necessary to write '\x00'==0 to get something
11319 that's true only with -std1. */
11320 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11321
11322 int test (int i, double x);
11323 struct s1 {int (*f) (int a);};
11324 struct s2 {int (*f) (double a);};
11325 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11326 int argc;
11327 char **argv;
11328 int
11329 main ()
11330 {
11331 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11332 ;
11333 return 0;
11334 }
11335 _ACEOF
11336 # Don't try gcc -ansi; that turns off useful extensions and
11337 # breaks some systems' header files.
11338 # AIX -qlanglvl=ansi
11339 # Ultrix and OSF/1 -std1
11340 # HP-UX 10.20 and later -Ae
11341 # HP-UX older versions -Aa -D_HPUX_SOURCE
11342 # SVR4 -Xc -D__EXTENSIONS__
11343 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11344 do
11345 CC="$ac_save_CC $ac_arg"
11346 rm -f conftest.$ac_objext
11347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11348 (eval $ac_compile) 2>conftest.er1
11349 ac_status=$?
11350 grep -v '^ *+' conftest.er1 >conftest.err
11351 rm -f conftest.er1
11352 cat conftest.err >&5
11353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11354 (exit $ac_status); } &&
11355 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11357 (eval $ac_try) 2>&5
11358 ac_status=$?
11359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11360 (exit $ac_status); }; } &&
11361 { ac_try='test -s conftest.$ac_objext'
11362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11363 (eval $ac_try) 2>&5
11364 ac_status=$?
11365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11366 (exit $ac_status); }; }; then
11367 ac_cv_prog_cc_stdc=$ac_arg
11368 break
11369 else
11370 echo "$as_me: failed program was:" >&5
11371 sed 's/^/| /' conftest.$ac_ext >&5
11372
11373 fi
11374 rm -f conftest.err conftest.$ac_objext
11375 done
11376 rm -f conftest.$ac_ext conftest.$ac_objext
11377 CC=$ac_save_CC
11378
11379 fi
11380
11381 case "x$ac_cv_prog_cc_stdc" in
11382 x|xno)
11383 echo "$as_me:$LINENO: result: none needed" >&5
11384 echo "${ECHO_T}none needed" >&6 ;;
11385 *)
11386 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11387 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11388 CC="$CC $ac_cv_prog_cc_stdc" ;;
11389 esac
11390
11391 # Some people use a C++ compiler to compile C. Since we use `exit',
11392 # in C++ we need to declare it. In case someone uses the same compiler
11393 # for both compiling C and C++ we need to have the C++ compiler decide
11394 # the declaration of exit, since it's the most demanding environment.
11395 cat >conftest.$ac_ext <<_ACEOF
11396 #ifndef __cplusplus
11397 choke me
11398 #endif
11399 _ACEOF
11400 rm -f conftest.$ac_objext
11401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11402 (eval $ac_compile) 2>conftest.er1
11403 ac_status=$?
11404 grep -v '^ *+' conftest.er1 >conftest.err
11405 rm -f conftest.er1
11406 cat conftest.err >&5
11407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11408 (exit $ac_status); } &&
11409 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11411 (eval $ac_try) 2>&5
11412 ac_status=$?
11413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11414 (exit $ac_status); }; } &&
11415 { ac_try='test -s conftest.$ac_objext'
11416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11417 (eval $ac_try) 2>&5
11418 ac_status=$?
11419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11420 (exit $ac_status); }; }; then
11421 for ac_declaration in \
11422 '' \
11423 'extern "C" void std::exit (int) throw (); using std::exit;' \
11424 'extern "C" void std::exit (int); using std::exit;' \
11425 'extern "C" void exit (int) throw ();' \
11426 'extern "C" void exit (int);' \
11427 'void exit (int);'
11428 do
11429 cat >conftest.$ac_ext <<_ACEOF
11430 /* confdefs.h. */
11431 _ACEOF
11432 cat confdefs.h >>conftest.$ac_ext
11433 cat >>conftest.$ac_ext <<_ACEOF
11434 /* end confdefs.h. */
11435 $ac_declaration
11436 #include <stdlib.h>
11437 int
11438 main ()
11439 {
11440 exit (42);
11441 ;
11442 return 0;
11443 }
11444 _ACEOF
11445 rm -f conftest.$ac_objext
11446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11447 (eval $ac_compile) 2>conftest.er1
11448 ac_status=$?
11449 grep -v '^ *+' conftest.er1 >conftest.err
11450 rm -f conftest.er1
11451 cat conftest.err >&5
11452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11453 (exit $ac_status); } &&
11454 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11456 (eval $ac_try) 2>&5
11457 ac_status=$?
11458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11459 (exit $ac_status); }; } &&
11460 { ac_try='test -s conftest.$ac_objext'
11461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11462 (eval $ac_try) 2>&5
11463 ac_status=$?
11464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11465 (exit $ac_status); }; }; then
11466 :
11467 else
11468 echo "$as_me: failed program was:" >&5
11469 sed 's/^/| /' conftest.$ac_ext >&5
11470
11471 continue
11472 fi
11473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11474 cat >conftest.$ac_ext <<_ACEOF
11475 /* confdefs.h. */
11476 _ACEOF
11477 cat confdefs.h >>conftest.$ac_ext
11478 cat >>conftest.$ac_ext <<_ACEOF
11479 /* end confdefs.h. */
11480 $ac_declaration
11481 int
11482 main ()
11483 {
11484 exit (42);
11485 ;
11486 return 0;
11487 }
11488 _ACEOF
11489 rm -f conftest.$ac_objext
11490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11491 (eval $ac_compile) 2>conftest.er1
11492 ac_status=$?
11493 grep -v '^ *+' conftest.er1 >conftest.err
11494 rm -f conftest.er1
11495 cat conftest.err >&5
11496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11497 (exit $ac_status); } &&
11498 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11500 (eval $ac_try) 2>&5
11501 ac_status=$?
11502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11503 (exit $ac_status); }; } &&
11504 { ac_try='test -s conftest.$ac_objext'
11505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11506 (eval $ac_try) 2>&5
11507 ac_status=$?
11508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11509 (exit $ac_status); }; }; then
11510 break
11511 else
11512 echo "$as_me: failed program was:" >&5
11513 sed 's/^/| /' conftest.$ac_ext >&5
11514
11515 fi
11516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11517 done
11518 rm -f conftest*
11519 if test -n "$ac_declaration"; then
11520 echo '#ifdef __cplusplus' >>confdefs.h
11521 echo $ac_declaration >>confdefs.h
11522 echo '#endif' >>confdefs.h
11523 fi
11524
11525 else
11526 echo "$as_me: failed program was:" >&5
11527 sed 's/^/| /' conftest.$ac_ext >&5
11528
11529 fi
11530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11531 ac_ext=c
11532 ac_cpp='$CPP $CPPFLAGS'
11533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11536
11537 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
11538 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
11539 if test "${wx_cv_c_exto+set}" = set; then
11540 echo $ECHO_N "(cached) $ECHO_C" >&6
11541 else
11542 cat >conftest.$ac_ext <<_ACEOF
11543 /* confdefs.h. */
11544 _ACEOF
11545 cat confdefs.h >>conftest.$ac_ext
11546 cat >>conftest.$ac_ext <<_ACEOF
11547 /* end confdefs.h. */
11548
11549 int
11550 main ()
11551 {
11552
11553 ;
11554 return 0;
11555 }
11556 _ACEOF
11557 rm -f conftest.$ac_objext conftest.$ac_ext.o
11558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11559 (eval $ac_compile) 2>&5
11560 ac_status=$?
11561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11562 (exit $ac_status); }; then
11563 for ac_file in `(ls conftest.* 2>/dev/null)`; do
11564 case $ac_file in
11565 conftest.$ac_ext.o)
11566 wx_cv_c_exto="-ext o"
11567 ;;
11568 *)
11569 ;;
11570 esac
11571 done
11572 else
11573 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
11574 See \`config.log' for more details." >&5
11575 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
11576 See \`config.log' for more details." >&2;}
11577 { (exit 1); exit 1; }; }
11578
11579 fi
11580
11581 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
11582
11583 fi
11584 echo "$as_me:$LINENO: result: $wx_cv_c_exto" >&5
11585 echo "${ECHO_T}$wx_cv_c_exto" >&6
11586 if test "x$wx_cv_c_exto" '!=' "x"; then
11587 if test "c" = "c"; then
11588 CFLAGS="$wx_cv_c_exto $CFLAGS"
11589 fi
11590 if test "c" = "cxx"; then
11591 CXXFLAGS="$wx_cv_c_exto $CXXFLAGS"
11592 fi
11593 fi
11594
11595 if test "x$wx_cv_c_exto" '!=' "x"; then
11596 unset ac_cv_prog_cc_g
11597 ac_test_CFLAGS=${CFLAGS+set}
11598 ac_save_CFLAGS=$CFLAGS
11599 CFLAGS="-g"
11600 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11601 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11602 if test "${ac_cv_prog_cc_g+set}" = set; then
11603 echo $ECHO_N "(cached) $ECHO_C" >&6
11604 else
11605 cat >conftest.$ac_ext <<_ACEOF
11606 /* confdefs.h. */
11607 _ACEOF
11608 cat confdefs.h >>conftest.$ac_ext
11609 cat >>conftest.$ac_ext <<_ACEOF
11610 /* end confdefs.h. */
11611
11612 int
11613 main ()
11614 {
11615
11616 ;
11617 return 0;
11618 }
11619 _ACEOF
11620 rm -f conftest.$ac_objext
11621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11622 (eval $ac_compile) 2>conftest.er1
11623 ac_status=$?
11624 grep -v '^ *+' conftest.er1 >conftest.err
11625 rm -f conftest.er1
11626 cat conftest.err >&5
11627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11628 (exit $ac_status); } &&
11629 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11631 (eval $ac_try) 2>&5
11632 ac_status=$?
11633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11634 (exit $ac_status); }; } &&
11635 { ac_try='test -s conftest.$ac_objext'
11636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11637 (eval $ac_try) 2>&5
11638 ac_status=$?
11639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11640 (exit $ac_status); }; }; then
11641 ac_cv_prog_cc_g=yes
11642 else
11643 echo "$as_me: failed program was:" >&5
11644 sed 's/^/| /' conftest.$ac_ext >&5
11645
11646 ac_cv_prog_cc_g=no
11647 fi
11648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11649 fi
11650 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11651 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11652 if test "$ac_test_CFLAGS" = set; then
11653 CFLAGS=$ac_save_CFLAGS
11654 elif test $ac_cv_prog_cc_g = yes; then
11655 if test "$GCC" = yes; then
11656 CFLAGS="-g -O2"
11657 else
11658 CFLAGS="-g"
11659 fi
11660 else
11661 if test "$GCC" = yes; then
11662 CFLAGS="-O2"
11663 else
11664 CFLAGS=
11665 fi
11666 fi
11667 fi
11668 ac_ext=c
11669 ac_cpp='$CPP $CPPFLAGS'
11670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11673
11674 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
11675 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
11676 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
11677 echo $ECHO_N "(cached) $ECHO_C" >&6
11678 else
11679 cat >conftest.$ac_ext <<_ACEOF
11680 /* confdefs.h. */
11681 _ACEOF
11682 cat confdefs.h >>conftest.$ac_ext
11683 cat >>conftest.$ac_ext <<_ACEOF
11684 /* end confdefs.h. */
11685
11686 int
11687 main ()
11688 {
11689 #ifndef __MWERKS__
11690 choke me
11691 #endif
11692
11693 ;
11694 return 0;
11695 }
11696 _ACEOF
11697 rm -f conftest.$ac_objext
11698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11699 (eval $ac_compile) 2>conftest.er1
11700 ac_status=$?
11701 grep -v '^ *+' conftest.er1 >conftest.err
11702 rm -f conftest.er1
11703 cat conftest.err >&5
11704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11705 (exit $ac_status); } &&
11706 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11708 (eval $ac_try) 2>&5
11709 ac_status=$?
11710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11711 (exit $ac_status); }; } &&
11712 { ac_try='test -s conftest.$ac_objext'
11713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11714 (eval $ac_try) 2>&5
11715 ac_status=$?
11716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11717 (exit $ac_status); }; }; then
11718 bakefile_compiler_mwerks=yes
11719 else
11720 echo "$as_me: failed program was:" >&5
11721 sed 's/^/| /' conftest.$ac_ext >&5
11722
11723 bakefile_compiler_mwerks=no
11724 fi
11725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11726 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
11727
11728 fi
11729 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
11730 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
11731
11732 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
11733 ac_ext=c
11734 ac_cpp='$CPP $CPPFLAGS'
11735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11738
11739
11740 ac_ext=c
11741 ac_cpp='$CPP $CPPFLAGS'
11742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11745
11746 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
11747 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
11748 if test "${wx_cv_c_compiler_xlc+set}" = set; then
11749 echo $ECHO_N "(cached) $ECHO_C" >&6
11750 else
11751 cat >conftest.$ac_ext <<_ACEOF
11752 /* confdefs.h. */
11753 _ACEOF
11754 cat confdefs.h >>conftest.$ac_ext
11755 cat >>conftest.$ac_ext <<_ACEOF
11756 /* end confdefs.h. */
11757
11758 int
11759 main ()
11760 {
11761 #ifndef __xlC__
11762 choke me
11763 #endif
11764
11765 ;
11766 return 0;
11767 }
11768 _ACEOF
11769 rm -f conftest.$ac_objext
11770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11771 (eval $ac_compile) 2>conftest.er1
11772 ac_status=$?
11773 grep -v '^ *+' conftest.er1 >conftest.err
11774 rm -f conftest.er1
11775 cat conftest.err >&5
11776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11777 (exit $ac_status); } &&
11778 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11780 (eval $ac_try) 2>&5
11781 ac_status=$?
11782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11783 (exit $ac_status); }; } &&
11784 { ac_try='test -s conftest.$ac_objext'
11785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11786 (eval $ac_try) 2>&5
11787 ac_status=$?
11788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11789 (exit $ac_status); }; }; then
11790 wx_compiler_xlc=yes
11791 else
11792 echo "$as_me: failed program was:" >&5
11793 sed 's/^/| /' conftest.$ac_ext >&5
11794
11795 wx_compiler_xlc=no
11796 fi
11797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11798 wx_cv_c_compiler_xlc=$wx_compiler_xlc
11799
11800 fi
11801 echo "$as_me:$LINENO: result: $wx_cv_c_compiler_xlc" >&5
11802 echo "${ECHO_T}$wx_cv_c_compiler_xlc" >&6
11803
11804 XLCC=`test $wx_cv_c_compiler_xlc = yes && echo yes`
11805 ac_ext=c
11806 ac_cpp='$CPP $CPPFLAGS'
11807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11810
11811
11812
11813
11814 ac_ext=c
11815 ac_cpp='$CPP $CPPFLAGS'
11816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11819 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11820 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11821 # On Suns, sometimes $CPP names a directory.
11822 if test -n "$CPP" && test -d "$CPP"; then
11823 CPP=
11824 fi
11825 if test -z "$CPP"; then
11826 if test "${ac_cv_prog_CPP+set}" = set; then
11827 echo $ECHO_N "(cached) $ECHO_C" >&6
11828 else
11829 # Double quotes because CPP needs to be expanded
11830 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11831 do
11832 ac_preproc_ok=false
11833 for ac_c_preproc_warn_flag in '' yes
11834 do
11835 # Use a header file that comes with gcc, so configuring glibc
11836 # with a fresh cross-compiler works.
11837 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11838 # <limits.h> exists even on freestanding compilers.
11839 # On the NeXT, cc -E runs the code through the compiler's parser,
11840 # not just through cpp. "Syntax error" is here to catch this case.
11841 cat >conftest.$ac_ext <<_ACEOF
11842 /* confdefs.h. */
11843 _ACEOF
11844 cat confdefs.h >>conftest.$ac_ext
11845 cat >>conftest.$ac_ext <<_ACEOF
11846 /* end confdefs.h. */
11847 #ifdef __STDC__
11848 # include <limits.h>
11849 #else
11850 # include <assert.h>
11851 #endif
11852 Syntax error
11853 _ACEOF
11854 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11855 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11856 ac_status=$?
11857 grep -v '^ *+' conftest.er1 >conftest.err
11858 rm -f conftest.er1
11859 cat conftest.err >&5
11860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11861 (exit $ac_status); } >/dev/null; then
11862 if test -s conftest.err; then
11863 ac_cpp_err=$ac_c_preproc_warn_flag
11864 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11865 else
11866 ac_cpp_err=
11867 fi
11868 else
11869 ac_cpp_err=yes
11870 fi
11871 if test -z "$ac_cpp_err"; then
11872 :
11873 else
11874 echo "$as_me: failed program was:" >&5
11875 sed 's/^/| /' conftest.$ac_ext >&5
11876
11877 # Broken: fails on valid input.
11878 continue
11879 fi
11880 rm -f conftest.err conftest.$ac_ext
11881
11882 # OK, works on sane cases. Now check whether non-existent headers
11883 # can be detected and how.
11884 cat >conftest.$ac_ext <<_ACEOF
11885 /* confdefs.h. */
11886 _ACEOF
11887 cat confdefs.h >>conftest.$ac_ext
11888 cat >>conftest.$ac_ext <<_ACEOF
11889 /* end confdefs.h. */
11890 #include <ac_nonexistent.h>
11891 _ACEOF
11892 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11893 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11894 ac_status=$?
11895 grep -v '^ *+' conftest.er1 >conftest.err
11896 rm -f conftest.er1
11897 cat conftest.err >&5
11898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11899 (exit $ac_status); } >/dev/null; then
11900 if test -s conftest.err; then
11901 ac_cpp_err=$ac_c_preproc_warn_flag
11902 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11903 else
11904 ac_cpp_err=
11905 fi
11906 else
11907 ac_cpp_err=yes
11908 fi
11909 if test -z "$ac_cpp_err"; then
11910 # Broken: success on invalid input.
11911 continue
11912 else
11913 echo "$as_me: failed program was:" >&5
11914 sed 's/^/| /' conftest.$ac_ext >&5
11915
11916 # Passes both tests.
11917 ac_preproc_ok=:
11918 break
11919 fi
11920 rm -f conftest.err conftest.$ac_ext
11921
11922 done
11923 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11924 rm -f conftest.err conftest.$ac_ext
11925 if $ac_preproc_ok; then
11926 break
11927 fi
11928
11929 done
11930 ac_cv_prog_CPP=$CPP
11931
11932 fi
11933 CPP=$ac_cv_prog_CPP
11934 else
11935 ac_cv_prog_CPP=$CPP
11936 fi
11937 echo "$as_me:$LINENO: result: $CPP" >&5
11938 echo "${ECHO_T}$CPP" >&6
11939 ac_preproc_ok=false
11940 for ac_c_preproc_warn_flag in '' yes
11941 do
11942 # Use a header file that comes with gcc, so configuring glibc
11943 # with a fresh cross-compiler works.
11944 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11945 # <limits.h> exists even on freestanding compilers.
11946 # On the NeXT, cc -E runs the code through the compiler's parser,
11947 # not just through cpp. "Syntax error" is here to catch this case.
11948 cat >conftest.$ac_ext <<_ACEOF
11949 /* confdefs.h. */
11950 _ACEOF
11951 cat confdefs.h >>conftest.$ac_ext
11952 cat >>conftest.$ac_ext <<_ACEOF
11953 /* end confdefs.h. */
11954 #ifdef __STDC__
11955 # include <limits.h>
11956 #else
11957 # include <assert.h>
11958 #endif
11959 Syntax error
11960 _ACEOF
11961 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11962 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11963 ac_status=$?
11964 grep -v '^ *+' conftest.er1 >conftest.err
11965 rm -f conftest.er1
11966 cat conftest.err >&5
11967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11968 (exit $ac_status); } >/dev/null; then
11969 if test -s conftest.err; then
11970 ac_cpp_err=$ac_c_preproc_warn_flag
11971 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11972 else
11973 ac_cpp_err=
11974 fi
11975 else
11976 ac_cpp_err=yes
11977 fi
11978 if test -z "$ac_cpp_err"; then
11979 :
11980 else
11981 echo "$as_me: failed program was:" >&5
11982 sed 's/^/| /' conftest.$ac_ext >&5
11983
11984 # Broken: fails on valid input.
11985 continue
11986 fi
11987 rm -f conftest.err conftest.$ac_ext
11988
11989 # OK, works on sane cases. Now check whether non-existent headers
11990 # can be detected and how.
11991 cat >conftest.$ac_ext <<_ACEOF
11992 /* confdefs.h. */
11993 _ACEOF
11994 cat confdefs.h >>conftest.$ac_ext
11995 cat >>conftest.$ac_ext <<_ACEOF
11996 /* end confdefs.h. */
11997 #include <ac_nonexistent.h>
11998 _ACEOF
11999 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12000 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12001 ac_status=$?
12002 grep -v '^ *+' conftest.er1 >conftest.err
12003 rm -f conftest.er1
12004 cat conftest.err >&5
12005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12006 (exit $ac_status); } >/dev/null; then
12007 if test -s conftest.err; then
12008 ac_cpp_err=$ac_c_preproc_warn_flag
12009 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12010 else
12011 ac_cpp_err=
12012 fi
12013 else
12014 ac_cpp_err=yes
12015 fi
12016 if test -z "$ac_cpp_err"; then
12017 # Broken: success on invalid input.
12018 continue
12019 else
12020 echo "$as_me: failed program was:" >&5
12021 sed 's/^/| /' conftest.$ac_ext >&5
12022
12023 # Passes both tests.
12024 ac_preproc_ok=:
12025 break
12026 fi
12027 rm -f conftest.err conftest.$ac_ext
12028
12029 done
12030 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12031 rm -f conftest.err conftest.$ac_ext
12032 if $ac_preproc_ok; then
12033 :
12034 else
12035 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12036 See \`config.log' for more details." >&5
12037 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12038 See \`config.log' for more details." >&2;}
12039 { (exit 1); exit 1; }; }
12040 fi
12041
12042 ac_ext=c
12043 ac_cpp='$CPP $CPPFLAGS'
12044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12047
12048
12049 echo "$as_me:$LINENO: checking for egrep" >&5
12050 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12051 if test "${ac_cv_prog_egrep+set}" = set; then
12052 echo $ECHO_N "(cached) $ECHO_C" >&6
12053 else
12054 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
12055 then ac_cv_prog_egrep='grep -E'
12056 else ac_cv_prog_egrep='egrep'
12057 fi
12058 fi
12059 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
12060 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
12061 EGREP=$ac_cv_prog_egrep
12062
12063
12064 if test $ac_cv_c_compiler_gnu = yes; then
12065 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
12066 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
12067 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12068 echo $ECHO_N "(cached) $ECHO_C" >&6
12069 else
12070 ac_pattern="Autoconf.*'x'"
12071 cat >conftest.$ac_ext <<_ACEOF
12072 /* confdefs.h. */
12073 _ACEOF
12074 cat confdefs.h >>conftest.$ac_ext
12075 cat >>conftest.$ac_ext <<_ACEOF
12076 /* end confdefs.h. */
12077 #include <sgtty.h>
12078 Autoconf TIOCGETP
12079 _ACEOF
12080 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12081 $EGREP "$ac_pattern" >/dev/null 2>&1; then
12082 ac_cv_prog_gcc_traditional=yes
12083 else
12084 ac_cv_prog_gcc_traditional=no
12085 fi
12086 rm -f conftest*
12087
12088
12089 if test $ac_cv_prog_gcc_traditional = no; then
12090 cat >conftest.$ac_ext <<_ACEOF
12091 /* confdefs.h. */
12092 _ACEOF
12093 cat confdefs.h >>conftest.$ac_ext
12094 cat >>conftest.$ac_ext <<_ACEOF
12095 /* end confdefs.h. */
12096 #include <termio.h>
12097 Autoconf TCGETA
12098 _ACEOF
12099 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12100 $EGREP "$ac_pattern" >/dev/null 2>&1; then
12101 ac_cv_prog_gcc_traditional=yes
12102 fi
12103 rm -f conftest*
12104
12105 fi
12106 fi
12107 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
12108 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
12109 if test $ac_cv_prog_gcc_traditional = yes; then
12110 CC="$CC -traditional"
12111 fi
12112 fi
12113
12114
12115
12116
12117 ac_ext=cc
12118 ac_cpp='$CXXCPP $CPPFLAGS'
12119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12122
12123
12124 CXXFLAGS=${CXXFLAGS:=}
12125
12126
12127 ac_ext=cc
12128 ac_cpp='$CXXCPP $CPPFLAGS'
12129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12132 if test -n "$ac_tool_prefix"; then
12133 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
12134 do
12135 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12136 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12137 echo "$as_me:$LINENO: checking for $ac_word" >&5
12138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12139 if test "${ac_cv_prog_CXX+set}" = set; then
12140 echo $ECHO_N "(cached) $ECHO_C" >&6
12141 else
12142 if test -n "$CXX"; then
12143 ac_cv_prog_CXX="$CXX" # Let the user override the test.
12144 else
12145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12146 for as_dir in $PATH
12147 do
12148 IFS=$as_save_IFS
12149 test -z "$as_dir" && as_dir=.
12150 for ac_exec_ext in '' $ac_executable_extensions; do
12151 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12152 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12154 break 2
12155 fi
12156 done
12157 done
12158
12159 fi
12160 fi
12161 CXX=$ac_cv_prog_CXX
12162 if test -n "$CXX"; then
12163 echo "$as_me:$LINENO: result: $CXX" >&5
12164 echo "${ECHO_T}$CXX" >&6
12165 else
12166 echo "$as_me:$LINENO: result: no" >&5
12167 echo "${ECHO_T}no" >&6
12168 fi
12169
12170 test -n "$CXX" && break
12171 done
12172 fi
12173 if test -z "$CXX"; then
12174 ac_ct_CXX=$CXX
12175 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
12176 do
12177 # Extract the first word of "$ac_prog", so it can be a program name with args.
12178 set dummy $ac_prog; ac_word=$2
12179 echo "$as_me:$LINENO: checking for $ac_word" >&5
12180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12181 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12182 echo $ECHO_N "(cached) $ECHO_C" >&6
12183 else
12184 if test -n "$ac_ct_CXX"; then
12185 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12186 else
12187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12188 for as_dir in $PATH
12189 do
12190 IFS=$as_save_IFS
12191 test -z "$as_dir" && as_dir=.
12192 for ac_exec_ext in '' $ac_executable_extensions; do
12193 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12194 ac_cv_prog_ac_ct_CXX="$ac_prog"
12195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12196 break 2
12197 fi
12198 done
12199 done
12200
12201 fi
12202 fi
12203 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12204 if test -n "$ac_ct_CXX"; then
12205 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12206 echo "${ECHO_T}$ac_ct_CXX" >&6
12207 else
12208 echo "$as_me:$LINENO: result: no" >&5
12209 echo "${ECHO_T}no" >&6
12210 fi
12211
12212 test -n "$ac_ct_CXX" && break
12213 done
12214 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
12215
12216 CXX=$ac_ct_CXX
12217 fi
12218
12219
12220 # Provide some information about the compiler.
12221 echo "$as_me:$LINENO:" \
12222 "checking for C++ compiler version" >&5
12223 ac_compiler=`set X $ac_compile; echo $2`
12224 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12225 (eval $ac_compiler --version </dev/null >&5) 2>&5
12226 ac_status=$?
12227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12228 (exit $ac_status); }
12229 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12230 (eval $ac_compiler -v </dev/null >&5) 2>&5
12231 ac_status=$?
12232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12233 (exit $ac_status); }
12234 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12235 (eval $ac_compiler -V </dev/null >&5) 2>&5
12236 ac_status=$?
12237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12238 (exit $ac_status); }
12239
12240 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12241 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12242 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12243 echo $ECHO_N "(cached) $ECHO_C" >&6
12244 else
12245 cat >conftest.$ac_ext <<_ACEOF
12246 /* confdefs.h. */
12247 _ACEOF
12248 cat confdefs.h >>conftest.$ac_ext
12249 cat >>conftest.$ac_ext <<_ACEOF
12250 /* end confdefs.h. */
12251
12252 int
12253 main ()
12254 {
12255 #ifndef __GNUC__
12256 choke me
12257 #endif
12258
12259 ;
12260 return 0;
12261 }
12262 _ACEOF
12263 rm -f conftest.$ac_objext
12264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12265 (eval $ac_compile) 2>conftest.er1
12266 ac_status=$?
12267 grep -v '^ *+' conftest.er1 >conftest.err
12268 rm -f conftest.er1
12269 cat conftest.err >&5
12270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12271 (exit $ac_status); } &&
12272 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12274 (eval $ac_try) 2>&5
12275 ac_status=$?
12276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12277 (exit $ac_status); }; } &&
12278 { ac_try='test -s conftest.$ac_objext'
12279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12280 (eval $ac_try) 2>&5
12281 ac_status=$?
12282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12283 (exit $ac_status); }; }; then
12284 ac_compiler_gnu=yes
12285 else
12286 echo "$as_me: failed program was:" >&5
12287 sed 's/^/| /' conftest.$ac_ext >&5
12288
12289 ac_compiler_gnu=no
12290 fi
12291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12292 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12293
12294 fi
12295 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12296 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12297 GXX=`test $ac_compiler_gnu = yes && echo yes`
12298 ac_test_CXXFLAGS=${CXXFLAGS+set}
12299 ac_save_CXXFLAGS=$CXXFLAGS
12300 CXXFLAGS="-g"
12301 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12302 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12303 if test "${ac_cv_prog_cxx_g+set}" = set; then
12304 echo $ECHO_N "(cached) $ECHO_C" >&6
12305 else
12306 cat >conftest.$ac_ext <<_ACEOF
12307 /* confdefs.h. */
12308 _ACEOF
12309 cat confdefs.h >>conftest.$ac_ext
12310 cat >>conftest.$ac_ext <<_ACEOF
12311 /* end confdefs.h. */
12312
12313 int
12314 main ()
12315 {
12316
12317 ;
12318 return 0;
12319 }
12320 _ACEOF
12321 rm -f conftest.$ac_objext
12322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12323 (eval $ac_compile) 2>conftest.er1
12324 ac_status=$?
12325 grep -v '^ *+' conftest.er1 >conftest.err
12326 rm -f conftest.er1
12327 cat conftest.err >&5
12328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12329 (exit $ac_status); } &&
12330 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12332 (eval $ac_try) 2>&5
12333 ac_status=$?
12334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12335 (exit $ac_status); }; } &&
12336 { ac_try='test -s conftest.$ac_objext'
12337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12338 (eval $ac_try) 2>&5
12339 ac_status=$?
12340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12341 (exit $ac_status); }; }; then
12342 ac_cv_prog_cxx_g=yes
12343 else
12344 echo "$as_me: failed program was:" >&5
12345 sed 's/^/| /' conftest.$ac_ext >&5
12346
12347 ac_cv_prog_cxx_g=no
12348 fi
12349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12350 fi
12351 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12352 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12353 if test "$ac_test_CXXFLAGS" = set; then
12354 CXXFLAGS=$ac_save_CXXFLAGS
12355 elif test $ac_cv_prog_cxx_g = yes; then
12356 if test "$GXX" = yes; then
12357 CXXFLAGS="-g -O2"
12358 else
12359 CXXFLAGS="-g"
12360 fi
12361 else
12362 if test "$GXX" = yes; then
12363 CXXFLAGS="-O2"
12364 else
12365 CXXFLAGS=
12366 fi
12367 fi
12368 for ac_declaration in \
12369 '' \
12370 'extern "C" void std::exit (int) throw (); using std::exit;' \
12371 'extern "C" void std::exit (int); using std::exit;' \
12372 'extern "C" void exit (int) throw ();' \
12373 'extern "C" void exit (int);' \
12374 'void exit (int);'
12375 do
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 $ac_declaration
12383 #include <stdlib.h>
12384 int
12385 main ()
12386 {
12387 exit (42);
12388 ;
12389 return 0;
12390 }
12391 _ACEOF
12392 rm -f conftest.$ac_objext
12393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12394 (eval $ac_compile) 2>conftest.er1
12395 ac_status=$?
12396 grep -v '^ *+' conftest.er1 >conftest.err
12397 rm -f conftest.er1
12398 cat conftest.err >&5
12399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12400 (exit $ac_status); } &&
12401 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12403 (eval $ac_try) 2>&5
12404 ac_status=$?
12405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12406 (exit $ac_status); }; } &&
12407 { ac_try='test -s conftest.$ac_objext'
12408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12409 (eval $ac_try) 2>&5
12410 ac_status=$?
12411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12412 (exit $ac_status); }; }; then
12413 :
12414 else
12415 echo "$as_me: failed program was:" >&5
12416 sed 's/^/| /' conftest.$ac_ext >&5
12417
12418 continue
12419 fi
12420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12421 cat >conftest.$ac_ext <<_ACEOF
12422 /* confdefs.h. */
12423 _ACEOF
12424 cat confdefs.h >>conftest.$ac_ext
12425 cat >>conftest.$ac_ext <<_ACEOF
12426 /* end confdefs.h. */
12427 $ac_declaration
12428 int
12429 main ()
12430 {
12431 exit (42);
12432 ;
12433 return 0;
12434 }
12435 _ACEOF
12436 rm -f conftest.$ac_objext
12437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12438 (eval $ac_compile) 2>conftest.er1
12439 ac_status=$?
12440 grep -v '^ *+' conftest.er1 >conftest.err
12441 rm -f conftest.er1
12442 cat conftest.err >&5
12443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12444 (exit $ac_status); } &&
12445 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12447 (eval $ac_try) 2>&5
12448 ac_status=$?
12449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12450 (exit $ac_status); }; } &&
12451 { ac_try='test -s conftest.$ac_objext'
12452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12453 (eval $ac_try) 2>&5
12454 ac_status=$?
12455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12456 (exit $ac_status); }; }; then
12457 break
12458 else
12459 echo "$as_me: failed program was:" >&5
12460 sed 's/^/| /' conftest.$ac_ext >&5
12461
12462 fi
12463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12464 done
12465 rm -f conftest*
12466 if test -n "$ac_declaration"; then
12467 echo '#ifdef __cplusplus' >>confdefs.h
12468 echo $ac_declaration >>confdefs.h
12469 echo '#endif' >>confdefs.h
12470 fi
12471
12472 ac_ext=cc
12473 ac_cpp='$CXXCPP $CPPFLAGS'
12474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12477
12478 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
12479 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
12480 if test "${wx_cv_cxx_exto+set}" = set; then
12481 echo $ECHO_N "(cached) $ECHO_C" >&6
12482 else
12483 cat >conftest.$ac_ext <<_ACEOF
12484 /* confdefs.h. */
12485 _ACEOF
12486 cat confdefs.h >>conftest.$ac_ext
12487 cat >>conftest.$ac_ext <<_ACEOF
12488 /* end confdefs.h. */
12489
12490 int
12491 main ()
12492 {
12493
12494 ;
12495 return 0;
12496 }
12497 _ACEOF
12498 rm -f conftest.$ac_objext conftest.$ac_ext.o
12499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12500 (eval $ac_compile) 2>&5
12501 ac_status=$?
12502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12503 (exit $ac_status); }; then
12504 for ac_file in `(ls conftest.* 2>/dev/null)`; do
12505 case $ac_file in
12506 conftest.$ac_ext.o)
12507 wx_cv_cxx_exto="-ext o"
12508 ;;
12509 *)
12510 ;;
12511 esac
12512 done
12513 else
12514 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12515 See \`config.log' for more details." >&5
12516 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12517 See \`config.log' for more details." >&2;}
12518 { (exit 1); exit 1; }; }
12519
12520 fi
12521
12522 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
12523
12524 fi
12525 echo "$as_me:$LINENO: result: $wx_cv_cxx_exto" >&5
12526 echo "${ECHO_T}$wx_cv_cxx_exto" >&6
12527 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12528 if test "cxx" = "c"; then
12529 CFLAGS="$wx_cv_cxx_exto $CFLAGS"
12530 fi
12531 if test "cxx" = "cxx"; then
12532 CXXFLAGS="$wx_cv_cxx_exto $CXXFLAGS"
12533 fi
12534 fi
12535
12536 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12537 unset ac_cv_prog_cxx_g
12538 ac_test_CXXFLAGS=${CXXFLAGS+set}
12539 ac_save_CXXFLAGS=$CXXFLAGS
12540 CXXFLAGS="-g"
12541 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12542 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12543 if test "${ac_cv_prog_cxx_g+set}" = set; then
12544 echo $ECHO_N "(cached) $ECHO_C" >&6
12545 else
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 int
12554 main ()
12555 {
12556
12557 ;
12558 return 0;
12559 }
12560 _ACEOF
12561 rm -f conftest.$ac_objext
12562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12563 (eval $ac_compile) 2>conftest.er1
12564 ac_status=$?
12565 grep -v '^ *+' conftest.er1 >conftest.err
12566 rm -f conftest.er1
12567 cat conftest.err >&5
12568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12569 (exit $ac_status); } &&
12570 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12572 (eval $ac_try) 2>&5
12573 ac_status=$?
12574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12575 (exit $ac_status); }; } &&
12576 { ac_try='test -s conftest.$ac_objext'
12577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12578 (eval $ac_try) 2>&5
12579 ac_status=$?
12580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12581 (exit $ac_status); }; }; then
12582 ac_cv_prog_cxx_g=yes
12583 else
12584 echo "$as_me: failed program was:" >&5
12585 sed 's/^/| /' conftest.$ac_ext >&5
12586
12587 ac_cv_prog_cxx_g=no
12588 fi
12589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12590 fi
12591 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12592 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12593 if test "$ac_test_CXXFLAGS" = set; then
12594 CXXFLAGS=$ac_save_CXXFLAGS
12595 elif test $ac_cv_prog_cxx_g = yes; then
12596 if test "$GXX" = yes; then
12597 CXXFLAGS="-g -O2"
12598 else
12599 CXXFLAGS="-g"
12600 fi
12601 else
12602 if test "$GXX" = yes; then
12603 CXXFLAGS="-O2"
12604 else
12605 CXXFLAGS=
12606 fi
12607 fi
12608 fi
12609 ac_ext=cc
12610 ac_cpp='$CXXCPP $CPPFLAGS'
12611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12614
12615 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
12616 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
12617 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
12618 echo $ECHO_N "(cached) $ECHO_C" >&6
12619 else
12620 cat >conftest.$ac_ext <<_ACEOF
12621 /* confdefs.h. */
12622 _ACEOF
12623 cat confdefs.h >>conftest.$ac_ext
12624 cat >>conftest.$ac_ext <<_ACEOF
12625 /* end confdefs.h. */
12626
12627 int
12628 main ()
12629 {
12630 #ifndef __MWERKS__
12631 choke me
12632 #endif
12633
12634 ;
12635 return 0;
12636 }
12637 _ACEOF
12638 rm -f conftest.$ac_objext
12639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12640 (eval $ac_compile) 2>conftest.er1
12641 ac_status=$?
12642 grep -v '^ *+' conftest.er1 >conftest.err
12643 rm -f conftest.er1
12644 cat conftest.err >&5
12645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12646 (exit $ac_status); } &&
12647 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12649 (eval $ac_try) 2>&5
12650 ac_status=$?
12651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12652 (exit $ac_status); }; } &&
12653 { ac_try='test -s conftest.$ac_objext'
12654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12655 (eval $ac_try) 2>&5
12656 ac_status=$?
12657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12658 (exit $ac_status); }; }; then
12659 bakefile_compiler_mwerks=yes
12660 else
12661 echo "$as_me: failed program was:" >&5
12662 sed 's/^/| /' conftest.$ac_ext >&5
12663
12664 bakefile_compiler_mwerks=no
12665 fi
12666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12667 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
12668
12669 fi
12670 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
12671 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
12672
12673 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
12674 ac_ext=cc
12675 ac_cpp='$CXXCPP $CPPFLAGS'
12676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12679
12680
12681 ac_ext=cc
12682 ac_cpp='$CXXCPP $CPPFLAGS'
12683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12686
12687 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
12688 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
12689 if test "${wx_cv_cxx_compiler_xlc+set}" = set; then
12690 echo $ECHO_N "(cached) $ECHO_C" >&6
12691 else
12692 cat >conftest.$ac_ext <<_ACEOF
12693 /* confdefs.h. */
12694 _ACEOF
12695 cat confdefs.h >>conftest.$ac_ext
12696 cat >>conftest.$ac_ext <<_ACEOF
12697 /* end confdefs.h. */
12698
12699 int
12700 main ()
12701 {
12702 #ifndef __xlC__
12703 choke me
12704 #endif
12705
12706 ;
12707 return 0;
12708 }
12709 _ACEOF
12710 rm -f conftest.$ac_objext
12711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12712 (eval $ac_compile) 2>conftest.er1
12713 ac_status=$?
12714 grep -v '^ *+' conftest.er1 >conftest.err
12715 rm -f conftest.er1
12716 cat conftest.err >&5
12717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12718 (exit $ac_status); } &&
12719 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12721 (eval $ac_try) 2>&5
12722 ac_status=$?
12723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12724 (exit $ac_status); }; } &&
12725 { ac_try='test -s conftest.$ac_objext'
12726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12727 (eval $ac_try) 2>&5
12728 ac_status=$?
12729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12730 (exit $ac_status); }; }; then
12731 wx_compiler_xlc=yes
12732 else
12733 echo "$as_me: failed program was:" >&5
12734 sed 's/^/| /' conftest.$ac_ext >&5
12735
12736 wx_compiler_xlc=no
12737 fi
12738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12739 wx_cv_cxx_compiler_xlc=$wx_compiler_xlc
12740
12741 fi
12742 echo "$as_me:$LINENO: result: $wx_cv_cxx_compiler_xlc" >&5
12743 echo "${ECHO_T}$wx_cv_cxx_compiler_xlc" >&6
12744
12745 XLCXX=`test $wx_cv_cxx_compiler_xlc = yes && echo yes`
12746 ac_ext=cc
12747 ac_cpp='$CXXCPP $CPPFLAGS'
12748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12751
12752
12753
12754
12755 ac_ext=c
12756 ac_cpp='$CPP $CPPFLAGS'
12757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12760
12761
12762 if test -n "$ac_tool_prefix"; then
12763 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
12764 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
12765 echo "$as_me:$LINENO: checking for $ac_word" >&5
12766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12767 if test "${ac_cv_prog_RANLIB+set}" = set; then
12768 echo $ECHO_N "(cached) $ECHO_C" >&6
12769 else
12770 if test -n "$RANLIB"; then
12771 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
12772 else
12773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12774 for as_dir in $PATH
12775 do
12776 IFS=$as_save_IFS
12777 test -z "$as_dir" && as_dir=.
12778 for ac_exec_ext in '' $ac_executable_extensions; do
12779 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12780 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
12781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12782 break 2
12783 fi
12784 done
12785 done
12786
12787 fi
12788 fi
12789 RANLIB=$ac_cv_prog_RANLIB
12790 if test -n "$RANLIB"; then
12791 echo "$as_me:$LINENO: result: $RANLIB" >&5
12792 echo "${ECHO_T}$RANLIB" >&6
12793 else
12794 echo "$as_me:$LINENO: result: no" >&5
12795 echo "${ECHO_T}no" >&6
12796 fi
12797
12798 fi
12799 if test -z "$ac_cv_prog_RANLIB"; then
12800 ac_ct_RANLIB=$RANLIB
12801 # Extract the first word of "ranlib", so it can be a program name with args.
12802 set dummy ranlib; ac_word=$2
12803 echo "$as_me:$LINENO: checking for $ac_word" >&5
12804 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12805 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
12806 echo $ECHO_N "(cached) $ECHO_C" >&6
12807 else
12808 if test -n "$ac_ct_RANLIB"; then
12809 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
12810 else
12811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12812 for as_dir in $PATH
12813 do
12814 IFS=$as_save_IFS
12815 test -z "$as_dir" && as_dir=.
12816 for ac_exec_ext in '' $ac_executable_extensions; do
12817 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12818 ac_cv_prog_ac_ct_RANLIB="ranlib"
12819 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12820 break 2
12821 fi
12822 done
12823 done
12824
12825 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
12826 fi
12827 fi
12828 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
12829 if test -n "$ac_ct_RANLIB"; then
12830 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
12831 echo "${ECHO_T}$ac_ct_RANLIB" >&6
12832 else
12833 echo "$as_me:$LINENO: result: no" >&5
12834 echo "${ECHO_T}no" >&6
12835 fi
12836
12837 RANLIB=$ac_ct_RANLIB
12838 else
12839 RANLIB="$ac_cv_prog_RANLIB"
12840 fi
12841
12842
12843 # Extract the first word of "ar", so it can be a program name with args.
12844 set dummy ar; ac_word=$2
12845 echo "$as_me:$LINENO: checking for $ac_word" >&5
12846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12847 if test "${ac_cv_prog_AR+set}" = set; then
12848 echo $ECHO_N "(cached) $ECHO_C" >&6
12849 else
12850 if test -n "$AR"; then
12851 ac_cv_prog_AR="$AR" # Let the user override the test.
12852 else
12853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12854 for as_dir in $PATH
12855 do
12856 IFS=$as_save_IFS
12857 test -z "$as_dir" && as_dir=.
12858 for ac_exec_ext in '' $ac_executable_extensions; do
12859 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12860 ac_cv_prog_AR="ar"
12861 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12862 break 2
12863 fi
12864 done
12865 done
12866
12867 fi
12868 fi
12869 AR=$ac_cv_prog_AR
12870 if test -n "$AR"; then
12871 echo "$as_me:$LINENO: result: $AR" >&5
12872 echo "${ECHO_T}$AR" >&6
12873 else
12874 echo "$as_me:$LINENO: result: no" >&5
12875 echo "${ECHO_T}no" >&6
12876 fi
12877
12878 if test "x$AR" = "x" ; then
12879 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
12880 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
12881 { (exit 1); exit 1; }; }
12882 fi
12883
12884 # Find a good install program. We prefer a C program (faster),
12885 # so one script is as good as another. But avoid the broken or
12886 # incompatible versions:
12887 # SysV /etc/install, /usr/sbin/install
12888 # SunOS /usr/etc/install
12889 # IRIX /sbin/install
12890 # AIX /bin/install
12891 # AmigaOS /C/install, which installs bootblocks on floppy discs
12892 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12893 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
12894 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12895 # OS/2's system install, which has a completely different semantic
12896 # ./install, which can be erroneously created by make from ./install.sh.
12897 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12898 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12899 if test -z "$INSTALL"; then
12900 if test "${ac_cv_path_install+set}" = set; then
12901 echo $ECHO_N "(cached) $ECHO_C" >&6
12902 else
12903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12904 for as_dir in $PATH
12905 do
12906 IFS=$as_save_IFS
12907 test -z "$as_dir" && as_dir=.
12908 # Account for people who put trailing slashes in PATH elements.
12909 case $as_dir/ in
12910 ./ | .// | /cC/* | \
12911 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
12912 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
12913 /usr/ucb/* ) ;;
12914 *)
12915 # OSF1 and SCO ODT 3.0 have their own names for install.
12916 # Don't use installbsd from OSF since it installs stuff as root
12917 # by default.
12918 for ac_prog in ginstall scoinst install; do
12919 for ac_exec_ext in '' $ac_executable_extensions; do
12920 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12921 if test $ac_prog = install &&
12922 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
12923 # AIX install. It has an incompatible calling convention.
12924 :
12925 elif test $ac_prog = install &&
12926 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
12927 # program-specific install script used by HP pwplus--don't use.
12928 :
12929 else
12930 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
12931 break 3
12932 fi
12933 fi
12934 done
12935 done
12936 ;;
12937 esac
12938 done
12939
12940
12941 fi
12942 if test "${ac_cv_path_install+set}" = set; then
12943 INSTALL=$ac_cv_path_install
12944 else
12945 # As a last resort, use the slow shell script. We don't cache a
12946 # path for INSTALL within a source directory, because that will
12947 # break other packages using the cache if that directory is
12948 # removed, or if the path is relative.
12949 INSTALL=$ac_install_sh
12950 fi
12951 fi
12952 echo "$as_me:$LINENO: result: $INSTALL" >&5
12953 echo "${ECHO_T}$INSTALL" >&6
12954
12955 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12956 # It thinks the first close brace ends the variable substitution.
12957 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
12958
12959 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
12960
12961 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
12962
12963
12964 case ${INSTALL} in
12965 /* ) # Absolute
12966 ;;
12967 ?:* ) # Drive letter, considered as absolute.
12968 ;;
12969 *)
12970 INSTALL=`pwd`/${INSTALL} ;;
12971 esac
12972
12973
12974 case "${host}" in
12975
12976 powerpc-*-darwin* )
12977 INSTALL_PROGRAM="cp -fp"
12978 INSTALL_DATA="cp -fp"
12979 ;;
12980 *)
12981 ;;
12982 esac
12983
12984 # Extract the first word of "strip", so it can be a program name with args.
12985 set dummy strip; ac_word=$2
12986 echo "$as_me:$LINENO: checking for $ac_word" >&5
12987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12988 if test "${ac_cv_prog_STRIP+set}" = set; then
12989 echo $ECHO_N "(cached) $ECHO_C" >&6
12990 else
12991 if test -n "$STRIP"; then
12992 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
12993 else
12994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12995 for as_dir in $PATH
12996 do
12997 IFS=$as_save_IFS
12998 test -z "$as_dir" && as_dir=.
12999 for ac_exec_ext in '' $ac_executable_extensions; do
13000 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13001 ac_cv_prog_STRIP="strip"
13002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13003 break 2
13004 fi
13005 done
13006 done
13007
13008 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
13009 fi
13010 fi
13011 STRIP=$ac_cv_prog_STRIP
13012 if test -n "$STRIP"; then
13013 echo "$as_me:$LINENO: result: $STRIP" >&5
13014 echo "${ECHO_T}$STRIP" >&6
13015 else
13016 echo "$as_me:$LINENO: result: no" >&5
13017 echo "${ECHO_T}no" >&6
13018 fi
13019
13020
13021 echo "$as_me:$LINENO: checking if make is GNU make" >&5
13022 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
13023 if test "${wx_cv_prog_makeisgnu+set}" = set; then
13024 echo $ECHO_N "(cached) $ECHO_C" >&6
13025 else
13026
13027 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
13028 egrep -s GNU > /dev/null); then
13029 wx_cv_prog_makeisgnu="yes"
13030 else
13031 wx_cv_prog_makeisgnu="no"
13032 fi
13033
13034 fi
13035 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
13036 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
13037
13038 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
13039 IF_GNU_MAKE=""
13040 else
13041 IF_GNU_MAKE="#"
13042 fi
13043
13044
13045
13046 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
13047 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
13048 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
13049 if test "${wx_cv_prog_makevpath+set}" = set; then
13050 echo $ECHO_N "(cached) $ECHO_C" >&6
13051 else
13052
13053 cat - << EOF > confMake
13054 check : file
13055 cp \$? \$@
13056 cp \$? final_file
13057 EOF
13058
13059 if test ! -d sub ; then
13060 mkdir sub
13061 fi
13062 echo dummy > sub/file
13063 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
13064 RESULT=$?
13065 rm -f sub/file check final_file confMake
13066 rmdir sub
13067 if test "$RESULT" = 0; then
13068 wx_cv_prog_makevpath="yes"
13069 else
13070 wx_cv_prog_makevpath="no"
13071 fi
13072
13073 fi
13074 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
13075 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
13076
13077 if test "x$wx_cv_prog_makevpath" != "xyes"; then
13078 { { echo "$as_me:$LINENO: error:
13079 You need a make-utility that is able to use the variable
13080 VPATH correctly.
13081 If your version of make does not support VPATH correctly,
13082 please install GNU-make (possibly as gmake), and start
13083 configure with the following command:
13084 export MAKE=gmake; ./configure for sh-type shells
13085 setenv MAKE gmake; ./configure for csh-type shells
13086 Also please do remember to use gmake in this case every time
13087 you are trying to compile.
13088 " >&5
13089 echo "$as_me: error:
13090 You need a make-utility that is able to use the variable
13091 VPATH correctly.
13092 If your version of make does not support VPATH correctly,
13093 please install GNU-make (possibly as gmake), and start
13094 configure with the following command:
13095 export MAKE=gmake; ./configure for sh-type shells
13096 setenv MAKE gmake; ./configure for csh-type shells
13097 Also please do remember to use gmake in this case every time
13098 you are trying to compile.
13099 " >&2;}
13100 { (exit 1); exit 1; }; }
13101 fi fi
13102 echo "$as_me:$LINENO: checking whether ln -s works" >&5
13103 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
13104 LN_S=$as_ln_s
13105 if test "$LN_S" = "ln -s"; then
13106 echo "$as_me:$LINENO: result: yes" >&5
13107 echo "${ECHO_T}yes" >&6
13108 else
13109 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
13110 echo "${ECHO_T}no, using $LN_S" >&6
13111 fi
13112
13113
13114
13115 if test "x$XLCXX" = "xyes"; then
13116 CXXFLAGS="$CXXFLAGS -qunique"
13117 fi
13118
13119
13120 case "${host}" in
13121 powerpc-*-darwin* )
13122 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
13123 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
13124 cat >conftest.$ac_ext <<_ACEOF
13125 /* confdefs.h. */
13126 _ACEOF
13127 cat confdefs.h >>conftest.$ac_ext
13128 cat >>conftest.$ac_ext <<_ACEOF
13129 /* end confdefs.h. */
13130
13131 int
13132 main ()
13133 {
13134 #ifndef __POWERPC__
13135 choke me for lack of PowerPC
13136 #endif
13137
13138 ;
13139 return 0;
13140 }
13141 _ACEOF
13142 rm -f conftest.$ac_objext
13143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13144 (eval $ac_compile) 2>conftest.er1
13145 ac_status=$?
13146 grep -v '^ *+' conftest.er1 >conftest.err
13147 rm -f conftest.er1
13148 cat conftest.err >&5
13149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13150 (exit $ac_status); } &&
13151 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13153 (eval $ac_try) 2>&5
13154 ac_status=$?
13155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13156 (exit $ac_status); }; } &&
13157 { ac_try='test -s conftest.$ac_objext'
13158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13159 (eval $ac_try) 2>&5
13160 ac_status=$?
13161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13162 (exit $ac_status); }; }; then
13163 echo "$as_me:$LINENO: result: yes" >&5
13164 echo "${ECHO_T}yes" >&6
13165 else
13166 echo "$as_me: failed program was:" >&5
13167 sed 's/^/| /' conftest.$ac_ext >&5
13168
13169 echo "$as_me:$LINENO: result: no" >&5
13170 echo "${ECHO_T}no" >&6
13171 cat >>confdefs.h <<\_ACEOF
13172 #define __POWERPC__ 1
13173 _ACEOF
13174
13175
13176 fi
13177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13178 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
13179 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
13180 cat >conftest.$ac_ext <<_ACEOF
13181 /* confdefs.h. */
13182 _ACEOF
13183 cat confdefs.h >>conftest.$ac_ext
13184 cat >>conftest.$ac_ext <<_ACEOF
13185 /* end confdefs.h. */
13186 #include <CoreFoundation/CFBase.h>
13187
13188 int
13189 main ()
13190 {
13191
13192 ;
13193 return 0;
13194 }
13195 _ACEOF
13196 rm -f conftest.$ac_objext
13197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13198 (eval $ac_compile) 2>conftest.er1
13199 ac_status=$?
13200 grep -v '^ *+' conftest.er1 >conftest.err
13201 rm -f conftest.er1
13202 cat conftest.err >&5
13203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13204 (exit $ac_status); } &&
13205 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13207 (eval $ac_try) 2>&5
13208 ac_status=$?
13209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13210 (exit $ac_status); }; } &&
13211 { ac_try='test -s conftest.$ac_objext'
13212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13213 (eval $ac_try) 2>&5
13214 ac_status=$?
13215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13216 (exit $ac_status); }; }; then
13217 echo "$as_me:$LINENO: result: yes" >&5
13218 echo "${ECHO_T}yes" >&6
13219 else
13220 echo "$as_me: failed program was:" >&5
13221 sed 's/^/| /' conftest.$ac_ext >&5
13222
13223 echo "$as_me:$LINENO: result: no" >&5
13224 echo "${ECHO_T}no" >&6
13225 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
13226 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
13227 cat >conftest.$ac_ext <<_ACEOF
13228 /* confdefs.h. */
13229 _ACEOF
13230 cat confdefs.h >>conftest.$ac_ext
13231 cat >>conftest.$ac_ext <<_ACEOF
13232 /* end confdefs.h. */
13233 #define __CF_USE_FRAMEWORK_INCLUDES__
13234 #include <CoreFoundation/CFBase.h>
13235
13236 int
13237 main ()
13238 {
13239
13240 ;
13241 return 0;
13242 }
13243 _ACEOF
13244 rm -f conftest.$ac_objext
13245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13246 (eval $ac_compile) 2>conftest.er1
13247 ac_status=$?
13248 grep -v '^ *+' conftest.er1 >conftest.err
13249 rm -f conftest.er1
13250 cat conftest.err >&5
13251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13252 (exit $ac_status); } &&
13253 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13255 (eval $ac_try) 2>&5
13256 ac_status=$?
13257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13258 (exit $ac_status); }; } &&
13259 { ac_try='test -s conftest.$ac_objext'
13260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13261 (eval $ac_try) 2>&5
13262 ac_status=$?
13263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13264 (exit $ac_status); }; }; then
13265 echo "$as_me:$LINENO: result: yes" >&5
13266 echo "${ECHO_T}yes" >&6
13267 CPPFLAGS="$CPPFLAGS -D__CF_USE_FRAMEWORK_INCLUDES__"
13268 else
13269 echo "$as_me: failed program was:" >&5
13270 sed 's/^/| /' conftest.$ac_ext >&5
13271
13272 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
13273 See \`config.log' for more details." >&5
13274 echo "$as_me: error: no. CoreFoundation not available.
13275 See \`config.log' for more details." >&2;}
13276 { (exit 1); exit 1; }; }
13277
13278 fi
13279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13280
13281
13282 fi
13283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13284 ;;
13285 esac
13286
13287 case "${host}" in
13288 *-pc-os2_emx | *-pc-os2-emx )
13289 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
13290 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
13291 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
13292 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
13293 echo $ECHO_N "(cached) $ECHO_C" >&6
13294 else
13295 ac_check_lib_save_LIBS=$LIBS
13296 LIBS="-lcExt $LIBS"
13297 cat >conftest.$ac_ext <<_ACEOF
13298 /* confdefs.h. */
13299 _ACEOF
13300 cat confdefs.h >>conftest.$ac_ext
13301 cat >>conftest.$ac_ext <<_ACEOF
13302 /* end confdefs.h. */
13303
13304 /* Override any gcc2 internal prototype to avoid an error. */
13305 #ifdef __cplusplus
13306 extern "C"
13307 #endif
13308 /* We use char because int might match the return type of a gcc2
13309 builtin and then its argument prototype would still apply. */
13310 char drand48 ();
13311 int
13312 main ()
13313 {
13314 drand48 ();
13315 ;
13316 return 0;
13317 }
13318 _ACEOF
13319 rm -f conftest.$ac_objext conftest$ac_exeext
13320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13321 (eval $ac_link) 2>conftest.er1
13322 ac_status=$?
13323 grep -v '^ *+' conftest.er1 >conftest.err
13324 rm -f conftest.er1
13325 cat conftest.err >&5
13326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13327 (exit $ac_status); } &&
13328 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13330 (eval $ac_try) 2>&5
13331 ac_status=$?
13332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13333 (exit $ac_status); }; } &&
13334 { ac_try='test -s conftest$ac_exeext'
13335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13336 (eval $ac_try) 2>&5
13337 ac_status=$?
13338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13339 (exit $ac_status); }; }; then
13340 ac_cv_lib_cExt_drand48=yes
13341 else
13342 echo "$as_me: failed program was:" >&5
13343 sed 's/^/| /' conftest.$ac_ext >&5
13344
13345 ac_cv_lib_cExt_drand48=no
13346 fi
13347 rm -f conftest.err conftest.$ac_objext \
13348 conftest$ac_exeext conftest.$ac_ext
13349 LIBS=$ac_check_lib_save_LIBS
13350 fi
13351 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
13352 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
13353 if test $ac_cv_lib_cExt_drand48 = yes; then
13354 LIBS="$LIBS -lcExt"
13355 fi
13356
13357 else
13358 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
13359 fi
13360 echo "$as_me:$LINENO: checking for gcc version" >&5
13361 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
13362 if test "${wx_cv_gccversion+set}" = set; then
13363 echo $ECHO_N "(cached) $ECHO_C" >&6
13364 else
13365
13366 if test "$cross_compiling" = yes; then
13367 wx_cv_gccversion="EMX2"
13368
13369 else
13370 cat >conftest.$ac_ext <<_ACEOF
13371 /* confdefs.h. */
13372 _ACEOF
13373 cat confdefs.h >>conftest.$ac_ext
13374 cat >>conftest.$ac_ext <<_ACEOF
13375 /* end confdefs.h. */
13376
13377 #include <stdio.h>
13378
13379 int main()
13380 {
13381 FILE *f=fopen("conftestval", "w");
13382 if (!f) exit(1);
13383 fprintf(f,
13384 #if (__GNUC__ < 3)
13385 "EMX2"
13386 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
13387 "EMX3"
13388 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
13389 "Innotek5"
13390 #else
13391 "Innotek6"
13392 #endif
13393 );
13394 exit(0);
13395 }
13396
13397 _ACEOF
13398 rm -f conftest$ac_exeext
13399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13400 (eval $ac_link) 2>&5
13401 ac_status=$?
13402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13403 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13405 (eval $ac_try) 2>&5
13406 ac_status=$?
13407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13408 (exit $ac_status); }; }; then
13409 wx_cv_gccversion=`cat conftestval`
13410 else
13411 echo "$as_me: program exited with status $ac_status" >&5
13412 echo "$as_me: failed program was:" >&5
13413 sed 's/^/| /' conftest.$ac_ext >&5
13414
13415 ( exit $ac_status )
13416 wx_cv_gccversion="EMX2"
13417 fi
13418 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13419 fi
13420
13421 fi
13422 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
13423 echo "${ECHO_T}$wx_cv_gccversion" >&6
13424 if test "$wx_cv_gccversion" = "EMX2"; then
13425 LIBS="$LIBS -lstdcpp"
13426 LDFLAGS="$LDFLAGS -Zsysv-signals"
13427 else
13428 if test "$wx_cv_gccversion" = "EMX3"; then
13429 LIBS="$LIBS -lstdcxx"
13430 LDFLAGS="$LDFLAGS -Zsysv-signals"
13431 else
13432 LIBS="$LIBS -lstdc++"
13433 fi
13434 fi
13435 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
13436 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
13437 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
13438 wxUSE_OMF=yes
13439 enable_omf=yes
13440 fi
13441 if test "$wxUSE_OMF" = "yes"; then
13442 LDFLAGS="$LDFLAGS -Zomf -Zlinker /EXEPACK -Zlinker /PMTYPE:PM"
13443 fi
13444 ;;
13445 *)
13446
13447
13448
13449 ac_ext=cc
13450 ac_cpp='$CXXCPP $CPPFLAGS'
13451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13454
13455
13456 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
13457 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
13458 if test "${ac_cv_string_strcasecmp+set}" = set; then
13459 echo $ECHO_N "(cached) $ECHO_C" >&6
13460 else
13461
13462 cat >conftest.$ac_ext <<_ACEOF
13463 /* confdefs.h. */
13464 _ACEOF
13465 cat confdefs.h >>conftest.$ac_ext
13466 cat >>conftest.$ac_ext <<_ACEOF
13467 /* end confdefs.h. */
13468
13469 #include <string.h>
13470
13471 int
13472 main ()
13473 {
13474
13475 strcasecmp("foo", "bar");
13476
13477 ;
13478 return 0;
13479 }
13480 _ACEOF
13481 rm -f conftest.$ac_objext conftest$ac_exeext
13482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13483 (eval $ac_link) 2>conftest.er1
13484 ac_status=$?
13485 grep -v '^ *+' conftest.er1 >conftest.err
13486 rm -f conftest.er1
13487 cat conftest.err >&5
13488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13489 (exit $ac_status); } &&
13490 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13492 (eval $ac_try) 2>&5
13493 ac_status=$?
13494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13495 (exit $ac_status); }; } &&
13496 { ac_try='test -s conftest$ac_exeext'
13497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13498 (eval $ac_try) 2>&5
13499 ac_status=$?
13500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13501 (exit $ac_status); }; }; then
13502 ac_cv_string_strcasecmp=yes
13503 else
13504 echo "$as_me: failed program was:" >&5
13505 sed 's/^/| /' conftest.$ac_ext >&5
13506
13507 ac_cv_string_strcasecmp=no
13508
13509 fi
13510 rm -f conftest.err conftest.$ac_objext \
13511 conftest$ac_exeext conftest.$ac_ext
13512
13513 fi
13514 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
13515 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
13516
13517 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
13518 cat >>confdefs.h <<\_ACEOF
13519 #define HAVE_STRCASECMP_IN_STRING_H 1
13520 _ACEOF
13521
13522 else
13523 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
13524 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
13525 if test "${ac_cv_strings_strcasecmp+set}" = set; then
13526 echo $ECHO_N "(cached) $ECHO_C" >&6
13527 else
13528
13529 cat >conftest.$ac_ext <<_ACEOF
13530 /* confdefs.h. */
13531 _ACEOF
13532 cat confdefs.h >>conftest.$ac_ext
13533 cat >>conftest.$ac_ext <<_ACEOF
13534 /* end confdefs.h. */
13535
13536 #include <strings.h>
13537
13538 int
13539 main ()
13540 {
13541
13542 strcasecmp("foo", "bar");
13543
13544 ;
13545 return 0;
13546 }
13547 _ACEOF
13548 rm -f conftest.$ac_objext conftest$ac_exeext
13549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13550 (eval $ac_link) 2>conftest.er1
13551 ac_status=$?
13552 grep -v '^ *+' conftest.er1 >conftest.err
13553 rm -f conftest.er1
13554 cat conftest.err >&5
13555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13556 (exit $ac_status); } &&
13557 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13559 (eval $ac_try) 2>&5
13560 ac_status=$?
13561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13562 (exit $ac_status); }; } &&
13563 { ac_try='test -s conftest$ac_exeext'
13564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13565 (eval $ac_try) 2>&5
13566 ac_status=$?
13567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13568 (exit $ac_status); }; }; then
13569 ac_cv_strings_strcasecmp=yes
13570 else
13571 echo "$as_me: failed program was:" >&5
13572 sed 's/^/| /' conftest.$ac_ext >&5
13573
13574 ac_cv_strings_strcasecmp=no
13575
13576 fi
13577 rm -f conftest.err conftest.$ac_objext \
13578 conftest$ac_exeext conftest.$ac_ext
13579
13580 fi
13581 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
13582 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
13583
13584 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
13585 cat >>confdefs.h <<\_ACEOF
13586 #define HAVE_STRCASECMP_IN_STRINGS_H 1
13587 _ACEOF
13588
13589 else
13590 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
13591 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
13592 { (exit 1); exit 1; }; }
13593 fi
13594 fi
13595
13596 ac_ext=c
13597 ac_cpp='$CPP $CPPFLAGS'
13598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13601
13602 ;;
13603 esac
13604
13605
13606 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13607 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13608 if test "${ac_cv_header_stdc+set}" = set; then
13609 echo $ECHO_N "(cached) $ECHO_C" >&6
13610 else
13611 cat >conftest.$ac_ext <<_ACEOF
13612 /* confdefs.h. */
13613 _ACEOF
13614 cat confdefs.h >>conftest.$ac_ext
13615 cat >>conftest.$ac_ext <<_ACEOF
13616 /* end confdefs.h. */
13617 #include <stdlib.h>
13618 #include <stdarg.h>
13619 #include <string.h>
13620 #include <float.h>
13621
13622 int
13623 main ()
13624 {
13625
13626 ;
13627 return 0;
13628 }
13629 _ACEOF
13630 rm -f conftest.$ac_objext
13631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13632 (eval $ac_compile) 2>conftest.er1
13633 ac_status=$?
13634 grep -v '^ *+' conftest.er1 >conftest.err
13635 rm -f conftest.er1
13636 cat conftest.err >&5
13637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13638 (exit $ac_status); } &&
13639 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13641 (eval $ac_try) 2>&5
13642 ac_status=$?
13643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13644 (exit $ac_status); }; } &&
13645 { ac_try='test -s conftest.$ac_objext'
13646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13647 (eval $ac_try) 2>&5
13648 ac_status=$?
13649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13650 (exit $ac_status); }; }; then
13651 ac_cv_header_stdc=yes
13652 else
13653 echo "$as_me: failed program was:" >&5
13654 sed 's/^/| /' conftest.$ac_ext >&5
13655
13656 ac_cv_header_stdc=no
13657 fi
13658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13659
13660 if test $ac_cv_header_stdc = yes; then
13661 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13662 cat >conftest.$ac_ext <<_ACEOF
13663 /* confdefs.h. */
13664 _ACEOF
13665 cat confdefs.h >>conftest.$ac_ext
13666 cat >>conftest.$ac_ext <<_ACEOF
13667 /* end confdefs.h. */
13668 #include <string.h>
13669
13670 _ACEOF
13671 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13672 $EGREP "memchr" >/dev/null 2>&1; then
13673 :
13674 else
13675 ac_cv_header_stdc=no
13676 fi
13677 rm -f conftest*
13678
13679 fi
13680
13681 if test $ac_cv_header_stdc = yes; then
13682 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13683 cat >conftest.$ac_ext <<_ACEOF
13684 /* confdefs.h. */
13685 _ACEOF
13686 cat confdefs.h >>conftest.$ac_ext
13687 cat >>conftest.$ac_ext <<_ACEOF
13688 /* end confdefs.h. */
13689 #include <stdlib.h>
13690
13691 _ACEOF
13692 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13693 $EGREP "free" >/dev/null 2>&1; then
13694 :
13695 else
13696 ac_cv_header_stdc=no
13697 fi
13698 rm -f conftest*
13699
13700 fi
13701
13702 if test $ac_cv_header_stdc = yes; then
13703 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13704 if test "$cross_compiling" = yes; then
13705 :
13706 else
13707 cat >conftest.$ac_ext <<_ACEOF
13708 /* confdefs.h. */
13709 _ACEOF
13710 cat confdefs.h >>conftest.$ac_ext
13711 cat >>conftest.$ac_ext <<_ACEOF
13712 /* end confdefs.h. */
13713 #include <ctype.h>
13714 #if ((' ' & 0x0FF) == 0x020)
13715 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13716 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13717 #else
13718 # define ISLOWER(c) \
13719 (('a' <= (c) && (c) <= 'i') \
13720 || ('j' <= (c) && (c) <= 'r') \
13721 || ('s' <= (c) && (c) <= 'z'))
13722 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13723 #endif
13724
13725 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13726 int
13727 main ()
13728 {
13729 int i;
13730 for (i = 0; i < 256; i++)
13731 if (XOR (islower (i), ISLOWER (i))
13732 || toupper (i) != TOUPPER (i))
13733 exit(2);
13734 exit (0);
13735 }
13736 _ACEOF
13737 rm -f conftest$ac_exeext
13738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13739 (eval $ac_link) 2>&5
13740 ac_status=$?
13741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13742 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13744 (eval $ac_try) 2>&5
13745 ac_status=$?
13746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13747 (exit $ac_status); }; }; then
13748 :
13749 else
13750 echo "$as_me: program exited with status $ac_status" >&5
13751 echo "$as_me: failed program was:" >&5
13752 sed 's/^/| /' conftest.$ac_ext >&5
13753
13754 ( exit $ac_status )
13755 ac_cv_header_stdc=no
13756 fi
13757 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13758 fi
13759 fi
13760 fi
13761 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
13762 echo "${ECHO_T}$ac_cv_header_stdc" >&6
13763 if test $ac_cv_header_stdc = yes; then
13764
13765 cat >>confdefs.h <<\_ACEOF
13766 #define STDC_HEADERS 1
13767 _ACEOF
13768
13769 fi
13770
13771 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
13772
13773
13774
13775
13776
13777
13778
13779
13780
13781 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
13782 inttypes.h stdint.h unistd.h
13783 do
13784 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13785 echo "$as_me:$LINENO: checking for $ac_header" >&5
13786 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13787 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13788 echo $ECHO_N "(cached) $ECHO_C" >&6
13789 else
13790 cat >conftest.$ac_ext <<_ACEOF
13791 /* confdefs.h. */
13792 _ACEOF
13793 cat confdefs.h >>conftest.$ac_ext
13794 cat >>conftest.$ac_ext <<_ACEOF
13795 /* end confdefs.h. */
13796 $ac_includes_default
13797
13798 #include <$ac_header>
13799 _ACEOF
13800 rm -f conftest.$ac_objext
13801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13802 (eval $ac_compile) 2>conftest.er1
13803 ac_status=$?
13804 grep -v '^ *+' conftest.er1 >conftest.err
13805 rm -f conftest.er1
13806 cat conftest.err >&5
13807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13808 (exit $ac_status); } &&
13809 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13811 (eval $ac_try) 2>&5
13812 ac_status=$?
13813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13814 (exit $ac_status); }; } &&
13815 { ac_try='test -s conftest.$ac_objext'
13816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13817 (eval $ac_try) 2>&5
13818 ac_status=$?
13819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13820 (exit $ac_status); }; }; then
13821 eval "$as_ac_Header=yes"
13822 else
13823 echo "$as_me: failed program was:" >&5
13824 sed 's/^/| /' conftest.$ac_ext >&5
13825
13826 eval "$as_ac_Header=no"
13827 fi
13828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13829 fi
13830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13831 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13832 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13833 cat >>confdefs.h <<_ACEOF
13834 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13835 _ACEOF
13836
13837 fi
13838
13839 done
13840
13841
13842
13843 for ac_header in stdlib.h
13844 do
13845 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13846 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13847 echo "$as_me:$LINENO: checking for $ac_header" >&5
13848 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13849 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13850 echo $ECHO_N "(cached) $ECHO_C" >&6
13851 fi
13852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13853 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13854 else
13855 # Is the header compilable?
13856 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13857 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13858 cat >conftest.$ac_ext <<_ACEOF
13859 /* confdefs.h. */
13860 _ACEOF
13861 cat confdefs.h >>conftest.$ac_ext
13862 cat >>conftest.$ac_ext <<_ACEOF
13863 /* end confdefs.h. */
13864 $ac_includes_default
13865 #include <$ac_header>
13866 _ACEOF
13867 rm -f conftest.$ac_objext
13868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13869 (eval $ac_compile) 2>conftest.er1
13870 ac_status=$?
13871 grep -v '^ *+' conftest.er1 >conftest.err
13872 rm -f conftest.er1
13873 cat conftest.err >&5
13874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13875 (exit $ac_status); } &&
13876 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13878 (eval $ac_try) 2>&5
13879 ac_status=$?
13880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13881 (exit $ac_status); }; } &&
13882 { ac_try='test -s conftest.$ac_objext'
13883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13884 (eval $ac_try) 2>&5
13885 ac_status=$?
13886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13887 (exit $ac_status); }; }; then
13888 ac_header_compiler=yes
13889 else
13890 echo "$as_me: failed program was:" >&5
13891 sed 's/^/| /' conftest.$ac_ext >&5
13892
13893 ac_header_compiler=no
13894 fi
13895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13896 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13897 echo "${ECHO_T}$ac_header_compiler" >&6
13898
13899 # Is the header present?
13900 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13901 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13902 cat >conftest.$ac_ext <<_ACEOF
13903 /* confdefs.h. */
13904 _ACEOF
13905 cat confdefs.h >>conftest.$ac_ext
13906 cat >>conftest.$ac_ext <<_ACEOF
13907 /* end confdefs.h. */
13908 #include <$ac_header>
13909 _ACEOF
13910 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13911 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13912 ac_status=$?
13913 grep -v '^ *+' conftest.er1 >conftest.err
13914 rm -f conftest.er1
13915 cat conftest.err >&5
13916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13917 (exit $ac_status); } >/dev/null; then
13918 if test -s conftest.err; then
13919 ac_cpp_err=$ac_c_preproc_warn_flag
13920 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13921 else
13922 ac_cpp_err=
13923 fi
13924 else
13925 ac_cpp_err=yes
13926 fi
13927 if test -z "$ac_cpp_err"; then
13928 ac_header_preproc=yes
13929 else
13930 echo "$as_me: failed program was:" >&5
13931 sed 's/^/| /' conftest.$ac_ext >&5
13932
13933 ac_header_preproc=no
13934 fi
13935 rm -f conftest.err conftest.$ac_ext
13936 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13937 echo "${ECHO_T}$ac_header_preproc" >&6
13938
13939 # So? What about this header?
13940 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13941 yes:no: )
13942 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13943 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13944 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13945 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13946 ac_header_preproc=yes
13947 ;;
13948 no:yes:* )
13949 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13950 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13951 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13952 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13953 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13954 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13955 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13956 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13957 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13958 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13959 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13960 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13961 (
13962 cat <<\_ASBOX
13963 ## ----------------------------------------- ##
13964 ## Report this to wx-dev@lists.wxwidgets.org ##
13965 ## ----------------------------------------- ##
13966 _ASBOX
13967 ) |
13968 sed "s/^/$as_me: WARNING: /" >&2
13969 ;;
13970 esac
13971 echo "$as_me:$LINENO: checking for $ac_header" >&5
13972 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13973 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13974 echo $ECHO_N "(cached) $ECHO_C" >&6
13975 else
13976 eval "$as_ac_Header=\$ac_header_preproc"
13977 fi
13978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13979 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13980
13981 fi
13982 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13983 cat >>confdefs.h <<_ACEOF
13984 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13985 _ACEOF
13986
13987 fi
13988
13989 done
13990
13991
13992 for ac_header in malloc.h
13993 do
13994 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13995 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13996 echo "$as_me:$LINENO: checking for $ac_header" >&5
13997 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13998 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13999 echo $ECHO_N "(cached) $ECHO_C" >&6
14000 fi
14001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14002 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14003 else
14004 # Is the header compilable?
14005 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14006 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14007 cat >conftest.$ac_ext <<_ACEOF
14008 /* confdefs.h. */
14009 _ACEOF
14010 cat confdefs.h >>conftest.$ac_ext
14011 cat >>conftest.$ac_ext <<_ACEOF
14012 /* end confdefs.h. */
14013 $ac_includes_default
14014 #include <$ac_header>
14015 _ACEOF
14016 rm -f conftest.$ac_objext
14017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14018 (eval $ac_compile) 2>conftest.er1
14019 ac_status=$?
14020 grep -v '^ *+' conftest.er1 >conftest.err
14021 rm -f conftest.er1
14022 cat conftest.err >&5
14023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14024 (exit $ac_status); } &&
14025 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14027 (eval $ac_try) 2>&5
14028 ac_status=$?
14029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14030 (exit $ac_status); }; } &&
14031 { ac_try='test -s conftest.$ac_objext'
14032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14033 (eval $ac_try) 2>&5
14034 ac_status=$?
14035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14036 (exit $ac_status); }; }; then
14037 ac_header_compiler=yes
14038 else
14039 echo "$as_me: failed program was:" >&5
14040 sed 's/^/| /' conftest.$ac_ext >&5
14041
14042 ac_header_compiler=no
14043 fi
14044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14045 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14046 echo "${ECHO_T}$ac_header_compiler" >&6
14047
14048 # Is the header present?
14049 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14050 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14051 cat >conftest.$ac_ext <<_ACEOF
14052 /* confdefs.h. */
14053 _ACEOF
14054 cat confdefs.h >>conftest.$ac_ext
14055 cat >>conftest.$ac_ext <<_ACEOF
14056 /* end confdefs.h. */
14057 #include <$ac_header>
14058 _ACEOF
14059 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14060 (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
14067 if test -s conftest.err; then
14068 ac_cpp_err=$ac_c_preproc_warn_flag
14069 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14070 else
14071 ac_cpp_err=
14072 fi
14073 else
14074 ac_cpp_err=yes
14075 fi
14076 if test -z "$ac_cpp_err"; then
14077 ac_header_preproc=yes
14078 else
14079 echo "$as_me: failed program was:" >&5
14080 sed 's/^/| /' conftest.$ac_ext >&5
14081
14082 ac_header_preproc=no
14083 fi
14084 rm -f conftest.err conftest.$ac_ext
14085 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14086 echo "${ECHO_T}$ac_header_preproc" >&6
14087
14088 # So? What about this header?
14089 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14090 yes:no: )
14091 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14092 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14093 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14094 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14095 ac_header_preproc=yes
14096 ;;
14097 no:yes:* )
14098 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14099 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14100 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14101 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14102 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14103 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14104 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14105 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14106 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14107 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14108 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14109 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14110 (
14111 cat <<\_ASBOX
14112 ## ----------------------------------------- ##
14113 ## Report this to wx-dev@lists.wxwidgets.org ##
14114 ## ----------------------------------------- ##
14115 _ASBOX
14116 ) |
14117 sed "s/^/$as_me: WARNING: /" >&2
14118 ;;
14119 esac
14120 echo "$as_me:$LINENO: checking for $ac_header" >&5
14121 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14122 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14123 echo $ECHO_N "(cached) $ECHO_C" >&6
14124 else
14125 eval "$as_ac_Header=\$ac_header_preproc"
14126 fi
14127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14128 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14129
14130 fi
14131 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14132 cat >>confdefs.h <<_ACEOF
14133 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14134 _ACEOF
14135
14136 fi
14137
14138 done
14139
14140
14141 for ac_header in unistd.h
14142 do
14143 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14144 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14145 echo "$as_me:$LINENO: checking for $ac_header" >&5
14146 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14147 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14148 echo $ECHO_N "(cached) $ECHO_C" >&6
14149 fi
14150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14151 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14152 else
14153 # Is the header compilable?
14154 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14155 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14156 cat >conftest.$ac_ext <<_ACEOF
14157 /* confdefs.h. */
14158 _ACEOF
14159 cat confdefs.h >>conftest.$ac_ext
14160 cat >>conftest.$ac_ext <<_ACEOF
14161 /* end confdefs.h. */
14162 $ac_includes_default
14163 #include <$ac_header>
14164 _ACEOF
14165 rm -f conftest.$ac_objext
14166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14167 (eval $ac_compile) 2>conftest.er1
14168 ac_status=$?
14169 grep -v '^ *+' conftest.er1 >conftest.err
14170 rm -f conftest.er1
14171 cat conftest.err >&5
14172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14173 (exit $ac_status); } &&
14174 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14176 (eval $ac_try) 2>&5
14177 ac_status=$?
14178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14179 (exit $ac_status); }; } &&
14180 { ac_try='test -s conftest.$ac_objext'
14181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14182 (eval $ac_try) 2>&5
14183 ac_status=$?
14184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14185 (exit $ac_status); }; }; then
14186 ac_header_compiler=yes
14187 else
14188 echo "$as_me: failed program was:" >&5
14189 sed 's/^/| /' conftest.$ac_ext >&5
14190
14191 ac_header_compiler=no
14192 fi
14193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14194 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14195 echo "${ECHO_T}$ac_header_compiler" >&6
14196
14197 # Is the header present?
14198 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14199 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14200 cat >conftest.$ac_ext <<_ACEOF
14201 /* confdefs.h. */
14202 _ACEOF
14203 cat confdefs.h >>conftest.$ac_ext
14204 cat >>conftest.$ac_ext <<_ACEOF
14205 /* end confdefs.h. */
14206 #include <$ac_header>
14207 _ACEOF
14208 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14209 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14210 ac_status=$?
14211 grep -v '^ *+' conftest.er1 >conftest.err
14212 rm -f conftest.er1
14213 cat conftest.err >&5
14214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14215 (exit $ac_status); } >/dev/null; then
14216 if test -s conftest.err; then
14217 ac_cpp_err=$ac_c_preproc_warn_flag
14218 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14219 else
14220 ac_cpp_err=
14221 fi
14222 else
14223 ac_cpp_err=yes
14224 fi
14225 if test -z "$ac_cpp_err"; then
14226 ac_header_preproc=yes
14227 else
14228 echo "$as_me: failed program was:" >&5
14229 sed 's/^/| /' conftest.$ac_ext >&5
14230
14231 ac_header_preproc=no
14232 fi
14233 rm -f conftest.err conftest.$ac_ext
14234 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14235 echo "${ECHO_T}$ac_header_preproc" >&6
14236
14237 # So? What about this header?
14238 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14239 yes:no: )
14240 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14241 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14242 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14243 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14244 ac_header_preproc=yes
14245 ;;
14246 no:yes:* )
14247 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14248 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14249 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14250 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14251 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14252 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14253 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14254 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14255 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14256 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14257 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14258 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14259 (
14260 cat <<\_ASBOX
14261 ## ----------------------------------------- ##
14262 ## Report this to wx-dev@lists.wxwidgets.org ##
14263 ## ----------------------------------------- ##
14264 _ASBOX
14265 ) |
14266 sed "s/^/$as_me: WARNING: /" >&2
14267 ;;
14268 esac
14269 echo "$as_me:$LINENO: checking for $ac_header" >&5
14270 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14271 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14272 echo $ECHO_N "(cached) $ECHO_C" >&6
14273 else
14274 eval "$as_ac_Header=\$ac_header_preproc"
14275 fi
14276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14277 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14278
14279 fi
14280 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14281 cat >>confdefs.h <<_ACEOF
14282 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14283 _ACEOF
14284
14285 fi
14286
14287 done
14288
14289
14290 for ac_header in wchar.h
14291 do
14292 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14293 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14294 echo "$as_me:$LINENO: checking for $ac_header" >&5
14295 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14296 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14297 echo $ECHO_N "(cached) $ECHO_C" >&6
14298 fi
14299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14300 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14301 else
14302 # Is the header compilable?
14303 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14304 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14305 cat >conftest.$ac_ext <<_ACEOF
14306 /* confdefs.h. */
14307 _ACEOF
14308 cat confdefs.h >>conftest.$ac_ext
14309 cat >>conftest.$ac_ext <<_ACEOF
14310 /* end confdefs.h. */
14311 $ac_includes_default
14312 #include <$ac_header>
14313 _ACEOF
14314 rm -f conftest.$ac_objext
14315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14316 (eval $ac_compile) 2>conftest.er1
14317 ac_status=$?
14318 grep -v '^ *+' conftest.er1 >conftest.err
14319 rm -f conftest.er1
14320 cat conftest.err >&5
14321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14322 (exit $ac_status); } &&
14323 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14325 (eval $ac_try) 2>&5
14326 ac_status=$?
14327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14328 (exit $ac_status); }; } &&
14329 { ac_try='test -s conftest.$ac_objext'
14330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14331 (eval $ac_try) 2>&5
14332 ac_status=$?
14333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14334 (exit $ac_status); }; }; then
14335 ac_header_compiler=yes
14336 else
14337 echo "$as_me: failed program was:" >&5
14338 sed 's/^/| /' conftest.$ac_ext >&5
14339
14340 ac_header_compiler=no
14341 fi
14342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14343 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14344 echo "${ECHO_T}$ac_header_compiler" >&6
14345
14346 # Is the header present?
14347 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14348 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14349 cat >conftest.$ac_ext <<_ACEOF
14350 /* confdefs.h. */
14351 _ACEOF
14352 cat confdefs.h >>conftest.$ac_ext
14353 cat >>conftest.$ac_ext <<_ACEOF
14354 /* end confdefs.h. */
14355 #include <$ac_header>
14356 _ACEOF
14357 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14358 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14359 ac_status=$?
14360 grep -v '^ *+' conftest.er1 >conftest.err
14361 rm -f conftest.er1
14362 cat conftest.err >&5
14363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14364 (exit $ac_status); } >/dev/null; then
14365 if test -s conftest.err; then
14366 ac_cpp_err=$ac_c_preproc_warn_flag
14367 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14368 else
14369 ac_cpp_err=
14370 fi
14371 else
14372 ac_cpp_err=yes
14373 fi
14374 if test -z "$ac_cpp_err"; then
14375 ac_header_preproc=yes
14376 else
14377 echo "$as_me: failed program was:" >&5
14378 sed 's/^/| /' conftest.$ac_ext >&5
14379
14380 ac_header_preproc=no
14381 fi
14382 rm -f conftest.err conftest.$ac_ext
14383 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14384 echo "${ECHO_T}$ac_header_preproc" >&6
14385
14386 # So? What about this header?
14387 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14388 yes:no: )
14389 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14390 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14391 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14392 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14393 ac_header_preproc=yes
14394 ;;
14395 no:yes:* )
14396 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14397 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14398 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14399 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14400 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14401 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14402 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14403 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14404 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14405 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14406 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14407 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14408 (
14409 cat <<\_ASBOX
14410 ## ----------------------------------------- ##
14411 ## Report this to wx-dev@lists.wxwidgets.org ##
14412 ## ----------------------------------------- ##
14413 _ASBOX
14414 ) |
14415 sed "s/^/$as_me: WARNING: /" >&2
14416 ;;
14417 esac
14418 echo "$as_me:$LINENO: checking for $ac_header" >&5
14419 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14420 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14421 echo $ECHO_N "(cached) $ECHO_C" >&6
14422 else
14423 eval "$as_ac_Header=\$ac_header_preproc"
14424 fi
14425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14426 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14427
14428 fi
14429 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14430 cat >>confdefs.h <<_ACEOF
14431 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14432 _ACEOF
14433
14434 fi
14435
14436 done
14437
14438
14439 if test "$ac_cv_header_wchar_h" != "yes"; then
14440
14441 for ac_header in wcstr.h
14442 do
14443 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14444 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14445 echo "$as_me:$LINENO: checking for $ac_header" >&5
14446 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14447 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14448 echo $ECHO_N "(cached) $ECHO_C" >&6
14449 fi
14450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14451 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14452 else
14453 # Is the header compilable?
14454 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14455 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14456 cat >conftest.$ac_ext <<_ACEOF
14457 /* confdefs.h. */
14458 _ACEOF
14459 cat confdefs.h >>conftest.$ac_ext
14460 cat >>conftest.$ac_ext <<_ACEOF
14461 /* end confdefs.h. */
14462 $ac_includes_default
14463 #include <$ac_header>
14464 _ACEOF
14465 rm -f conftest.$ac_objext
14466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14467 (eval $ac_compile) 2>conftest.er1
14468 ac_status=$?
14469 grep -v '^ *+' conftest.er1 >conftest.err
14470 rm -f conftest.er1
14471 cat conftest.err >&5
14472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14473 (exit $ac_status); } &&
14474 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14476 (eval $ac_try) 2>&5
14477 ac_status=$?
14478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14479 (exit $ac_status); }; } &&
14480 { ac_try='test -s conftest.$ac_objext'
14481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14482 (eval $ac_try) 2>&5
14483 ac_status=$?
14484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14485 (exit $ac_status); }; }; then
14486 ac_header_compiler=yes
14487 else
14488 echo "$as_me: failed program was:" >&5
14489 sed 's/^/| /' conftest.$ac_ext >&5
14490
14491 ac_header_compiler=no
14492 fi
14493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14494 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14495 echo "${ECHO_T}$ac_header_compiler" >&6
14496
14497 # Is the header present?
14498 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14499 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
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 #include <$ac_header>
14507 _ACEOF
14508 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14509 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14510 ac_status=$?
14511 grep -v '^ *+' conftest.er1 >conftest.err
14512 rm -f conftest.er1
14513 cat conftest.err >&5
14514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14515 (exit $ac_status); } >/dev/null; then
14516 if test -s conftest.err; then
14517 ac_cpp_err=$ac_c_preproc_warn_flag
14518 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14519 else
14520 ac_cpp_err=
14521 fi
14522 else
14523 ac_cpp_err=yes
14524 fi
14525 if test -z "$ac_cpp_err"; then
14526 ac_header_preproc=yes
14527 else
14528 echo "$as_me: failed program was:" >&5
14529 sed 's/^/| /' conftest.$ac_ext >&5
14530
14531 ac_header_preproc=no
14532 fi
14533 rm -f conftest.err conftest.$ac_ext
14534 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14535 echo "${ECHO_T}$ac_header_preproc" >&6
14536
14537 # So? What about this header?
14538 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14539 yes:no: )
14540 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14541 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14542 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14543 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14544 ac_header_preproc=yes
14545 ;;
14546 no:yes:* )
14547 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14548 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14549 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14550 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14551 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14552 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14553 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14554 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14555 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14556 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14557 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14558 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14559 (
14560 cat <<\_ASBOX
14561 ## ----------------------------------------- ##
14562 ## Report this to wx-dev@lists.wxwidgets.org ##
14563 ## ----------------------------------------- ##
14564 _ASBOX
14565 ) |
14566 sed "s/^/$as_me: WARNING: /" >&2
14567 ;;
14568 esac
14569 echo "$as_me:$LINENO: checking for $ac_header" >&5
14570 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14571 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14572 echo $ECHO_N "(cached) $ECHO_C" >&6
14573 else
14574 eval "$as_ac_Header=\$ac_header_preproc"
14575 fi
14576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14577 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14578
14579 fi
14580 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14581 cat >>confdefs.h <<_ACEOF
14582 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14583 _ACEOF
14584
14585 fi
14586
14587 done
14588
14589 fi
14590
14591
14592 for ac_header in fnmatch.h
14593 do
14594 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14595 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14596 echo "$as_me:$LINENO: checking for $ac_header" >&5
14597 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14598 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14599 echo $ECHO_N "(cached) $ECHO_C" >&6
14600 fi
14601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14602 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14603 else
14604 # Is the header compilable?
14605 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14606 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14607 cat >conftest.$ac_ext <<_ACEOF
14608 /* confdefs.h. */
14609 _ACEOF
14610 cat confdefs.h >>conftest.$ac_ext
14611 cat >>conftest.$ac_ext <<_ACEOF
14612 /* end confdefs.h. */
14613 $ac_includes_default
14614 #include <$ac_header>
14615 _ACEOF
14616 rm -f conftest.$ac_objext
14617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14618 (eval $ac_compile) 2>conftest.er1
14619 ac_status=$?
14620 grep -v '^ *+' conftest.er1 >conftest.err
14621 rm -f conftest.er1
14622 cat conftest.err >&5
14623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14624 (exit $ac_status); } &&
14625 { ac_try='test -z "$ac_c_werror_flag" || 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_header_compiler=yes
14638 else
14639 echo "$as_me: failed program was:" >&5
14640 sed 's/^/| /' conftest.$ac_ext >&5
14641
14642 ac_header_compiler=no
14643 fi
14644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14645 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14646 echo "${ECHO_T}$ac_header_compiler" >&6
14647
14648 # Is the header present?
14649 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14650 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14651 cat >conftest.$ac_ext <<_ACEOF
14652 /* confdefs.h. */
14653 _ACEOF
14654 cat confdefs.h >>conftest.$ac_ext
14655 cat >>conftest.$ac_ext <<_ACEOF
14656 /* end confdefs.h. */
14657 #include <$ac_header>
14658 _ACEOF
14659 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14660 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14661 ac_status=$?
14662 grep -v '^ *+' conftest.er1 >conftest.err
14663 rm -f conftest.er1
14664 cat conftest.err >&5
14665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14666 (exit $ac_status); } >/dev/null; then
14667 if test -s conftest.err; then
14668 ac_cpp_err=$ac_c_preproc_warn_flag
14669 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14670 else
14671 ac_cpp_err=
14672 fi
14673 else
14674 ac_cpp_err=yes
14675 fi
14676 if test -z "$ac_cpp_err"; then
14677 ac_header_preproc=yes
14678 else
14679 echo "$as_me: failed program was:" >&5
14680 sed 's/^/| /' conftest.$ac_ext >&5
14681
14682 ac_header_preproc=no
14683 fi
14684 rm -f conftest.err conftest.$ac_ext
14685 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14686 echo "${ECHO_T}$ac_header_preproc" >&6
14687
14688 # So? What about this header?
14689 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14690 yes:no: )
14691 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14692 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14693 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14694 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14695 ac_header_preproc=yes
14696 ;;
14697 no:yes:* )
14698 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14699 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14700 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14701 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14702 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14703 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14704 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14705 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14706 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14707 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14708 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14709 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14710 (
14711 cat <<\_ASBOX
14712 ## ----------------------------------------- ##
14713 ## Report this to wx-dev@lists.wxwidgets.org ##
14714 ## ----------------------------------------- ##
14715 _ASBOX
14716 ) |
14717 sed "s/^/$as_me: WARNING: /" >&2
14718 ;;
14719 esac
14720 echo "$as_me:$LINENO: checking for $ac_header" >&5
14721 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14722 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14723 echo $ECHO_N "(cached) $ECHO_C" >&6
14724 else
14725 eval "$as_ac_Header=\$ac_header_preproc"
14726 fi
14727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14728 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14729
14730 fi
14731 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14732 cat >>confdefs.h <<_ACEOF
14733 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14734 _ACEOF
14735
14736 fi
14737
14738 done
14739
14740
14741 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
14742
14743 for ac_func in fnmatch
14744 do
14745 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14746 echo "$as_me:$LINENO: checking for $ac_func" >&5
14747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14748 if eval "test \"\${$as_ac_var+set}\" = set"; then
14749 echo $ECHO_N "(cached) $ECHO_C" >&6
14750 else
14751 cat >conftest.$ac_ext <<_ACEOF
14752 /* confdefs.h. */
14753 _ACEOF
14754 cat confdefs.h >>conftest.$ac_ext
14755 cat >>conftest.$ac_ext <<_ACEOF
14756 /* end confdefs.h. */
14757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14759 #define $ac_func innocuous_$ac_func
14760
14761 /* System header to define __stub macros and hopefully few prototypes,
14762 which can conflict with char $ac_func (); below.
14763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14764 <limits.h> exists even on freestanding compilers. */
14765
14766 #ifdef __STDC__
14767 # include <limits.h>
14768 #else
14769 # include <assert.h>
14770 #endif
14771
14772 #undef $ac_func
14773
14774 /* Override any gcc2 internal prototype to avoid an error. */
14775 #ifdef __cplusplus
14776 extern "C"
14777 {
14778 #endif
14779 /* We use char because int might match the return type of a gcc2
14780 builtin and then its argument prototype would still apply. */
14781 char $ac_func ();
14782 /* The GNU C library defines this for functions which it implements
14783 to always fail with ENOSYS. Some functions are actually named
14784 something starting with __ and the normal name is an alias. */
14785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14786 choke me
14787 #else
14788 char (*f) () = $ac_func;
14789 #endif
14790 #ifdef __cplusplus
14791 }
14792 #endif
14793
14794 int
14795 main ()
14796 {
14797 return f != $ac_func;
14798 ;
14799 return 0;
14800 }
14801 _ACEOF
14802 rm -f conftest.$ac_objext conftest$ac_exeext
14803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14804 (eval $ac_link) 2>conftest.er1
14805 ac_status=$?
14806 grep -v '^ *+' conftest.er1 >conftest.err
14807 rm -f conftest.er1
14808 cat conftest.err >&5
14809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14810 (exit $ac_status); } &&
14811 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
14817 { ac_try='test -s conftest$ac_exeext'
14818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14819 (eval $ac_try) 2>&5
14820 ac_status=$?
14821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14822 (exit $ac_status); }; }; then
14823 eval "$as_ac_var=yes"
14824 else
14825 echo "$as_me: failed program was:" >&5
14826 sed 's/^/| /' conftest.$ac_ext >&5
14827
14828 eval "$as_ac_var=no"
14829 fi
14830 rm -f conftest.err conftest.$ac_objext \
14831 conftest$ac_exeext conftest.$ac_ext
14832 fi
14833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14834 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14835 if test `eval echo '${'$as_ac_var'}'` = yes; then
14836 cat >>confdefs.h <<_ACEOF
14837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14838 _ACEOF
14839
14840 fi
14841 done
14842
14843 fi
14844
14845
14846 for ac_header in langinfo.h
14847 do
14848 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14849 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14850 echo "$as_me:$LINENO: checking for $ac_header" >&5
14851 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14852 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14853 echo $ECHO_N "(cached) $ECHO_C" >&6
14854 fi
14855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14856 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14857 else
14858 # Is the header compilable?
14859 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14860 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14861 cat >conftest.$ac_ext <<_ACEOF
14862 /* confdefs.h. */
14863 _ACEOF
14864 cat confdefs.h >>conftest.$ac_ext
14865 cat >>conftest.$ac_ext <<_ACEOF
14866 /* end confdefs.h. */
14867 $ac_includes_default
14868 #include <$ac_header>
14869 _ACEOF
14870 rm -f conftest.$ac_objext
14871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14872 (eval $ac_compile) 2>conftest.er1
14873 ac_status=$?
14874 grep -v '^ *+' conftest.er1 >conftest.err
14875 rm -f conftest.er1
14876 cat conftest.err >&5
14877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14878 (exit $ac_status); } &&
14879 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14881 (eval $ac_try) 2>&5
14882 ac_status=$?
14883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14884 (exit $ac_status); }; } &&
14885 { ac_try='test -s conftest.$ac_objext'
14886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14887 (eval $ac_try) 2>&5
14888 ac_status=$?
14889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14890 (exit $ac_status); }; }; then
14891 ac_header_compiler=yes
14892 else
14893 echo "$as_me: failed program was:" >&5
14894 sed 's/^/| /' conftest.$ac_ext >&5
14895
14896 ac_header_compiler=no
14897 fi
14898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14899 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14900 echo "${ECHO_T}$ac_header_compiler" >&6
14901
14902 # Is the header present?
14903 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14904 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14905 cat >conftest.$ac_ext <<_ACEOF
14906 /* confdefs.h. */
14907 _ACEOF
14908 cat confdefs.h >>conftest.$ac_ext
14909 cat >>conftest.$ac_ext <<_ACEOF
14910 /* end confdefs.h. */
14911 #include <$ac_header>
14912 _ACEOF
14913 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14914 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14915 ac_status=$?
14916 grep -v '^ *+' conftest.er1 >conftest.err
14917 rm -f conftest.er1
14918 cat conftest.err >&5
14919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14920 (exit $ac_status); } >/dev/null; then
14921 if test -s conftest.err; then
14922 ac_cpp_err=$ac_c_preproc_warn_flag
14923 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14924 else
14925 ac_cpp_err=
14926 fi
14927 else
14928 ac_cpp_err=yes
14929 fi
14930 if test -z "$ac_cpp_err"; then
14931 ac_header_preproc=yes
14932 else
14933 echo "$as_me: failed program was:" >&5
14934 sed 's/^/| /' conftest.$ac_ext >&5
14935
14936 ac_header_preproc=no
14937 fi
14938 rm -f conftest.err conftest.$ac_ext
14939 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14940 echo "${ECHO_T}$ac_header_preproc" >&6
14941
14942 # So? What about this header?
14943 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14944 yes:no: )
14945 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14946 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14947 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14948 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14949 ac_header_preproc=yes
14950 ;;
14951 no:yes:* )
14952 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14953 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14954 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14955 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14956 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14957 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14958 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14959 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14960 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14961 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14962 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14963 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14964 (
14965 cat <<\_ASBOX
14966 ## ----------------------------------------- ##
14967 ## Report this to wx-dev@lists.wxwidgets.org ##
14968 ## ----------------------------------------- ##
14969 _ASBOX
14970 ) |
14971 sed "s/^/$as_me: WARNING: /" >&2
14972 ;;
14973 esac
14974 echo "$as_me:$LINENO: checking for $ac_header" >&5
14975 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14976 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14977 echo $ECHO_N "(cached) $ECHO_C" >&6
14978 else
14979 eval "$as_ac_Header=\$ac_header_preproc"
14980 fi
14981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14982 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14983
14984 fi
14985 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14986 cat >>confdefs.h <<_ACEOF
14987 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14988 _ACEOF
14989
14990 fi
14991
14992 done
14993
14994
14995 case "${host}" in
14996 *-pc-os2_emx | *-pc-os2-emx )
14997 if test $ac_cv_header_langinfo_h = "yes" \
14998 -a \( "$wx_cv_gccversion" = "EMX2" \
14999 -o "$wx_cv_gccversion" = "EMX3" \
15000 -o "$wx_cv_gccversion" = "Innotek5" \); then
15001 LIBS="$LIBS -lintl"
15002 fi
15003 ;;
15004 esac
15005
15006 if test "$wxUSE_GUI" = "yes"; then
15007 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
15008
15009 for ac_header in X11/Xlib.h
15010 do
15011 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15012 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15013 echo "$as_me:$LINENO: checking for $ac_header" >&5
15014 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15015 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15016 echo $ECHO_N "(cached) $ECHO_C" >&6
15017 fi
15018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15019 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15020 else
15021 # Is the header compilable?
15022 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15023 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15024 cat >conftest.$ac_ext <<_ACEOF
15025 /* confdefs.h. */
15026 _ACEOF
15027 cat confdefs.h >>conftest.$ac_ext
15028 cat >>conftest.$ac_ext <<_ACEOF
15029 /* end confdefs.h. */
15030 $ac_includes_default
15031 #include <$ac_header>
15032 _ACEOF
15033 rm -f conftest.$ac_objext
15034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15035 (eval $ac_compile) 2>conftest.er1
15036 ac_status=$?
15037 grep -v '^ *+' conftest.er1 >conftest.err
15038 rm -f conftest.er1
15039 cat conftest.err >&5
15040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15041 (exit $ac_status); } &&
15042 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15044 (eval $ac_try) 2>&5
15045 ac_status=$?
15046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15047 (exit $ac_status); }; } &&
15048 { ac_try='test -s conftest.$ac_objext'
15049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15050 (eval $ac_try) 2>&5
15051 ac_status=$?
15052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15053 (exit $ac_status); }; }; then
15054 ac_header_compiler=yes
15055 else
15056 echo "$as_me: failed program was:" >&5
15057 sed 's/^/| /' conftest.$ac_ext >&5
15058
15059 ac_header_compiler=no
15060 fi
15061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15062 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15063 echo "${ECHO_T}$ac_header_compiler" >&6
15064
15065 # Is the header present?
15066 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15067 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15068 cat >conftest.$ac_ext <<_ACEOF
15069 /* confdefs.h. */
15070 _ACEOF
15071 cat confdefs.h >>conftest.$ac_ext
15072 cat >>conftest.$ac_ext <<_ACEOF
15073 /* end confdefs.h. */
15074 #include <$ac_header>
15075 _ACEOF
15076 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15077 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15078 ac_status=$?
15079 grep -v '^ *+' conftest.er1 >conftest.err
15080 rm -f conftest.er1
15081 cat conftest.err >&5
15082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15083 (exit $ac_status); } >/dev/null; then
15084 if test -s conftest.err; then
15085 ac_cpp_err=$ac_c_preproc_warn_flag
15086 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15087 else
15088 ac_cpp_err=
15089 fi
15090 else
15091 ac_cpp_err=yes
15092 fi
15093 if test -z "$ac_cpp_err"; then
15094 ac_header_preproc=yes
15095 else
15096 echo "$as_me: failed program was:" >&5
15097 sed 's/^/| /' conftest.$ac_ext >&5
15098
15099 ac_header_preproc=no
15100 fi
15101 rm -f conftest.err conftest.$ac_ext
15102 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15103 echo "${ECHO_T}$ac_header_preproc" >&6
15104
15105 # So? What about this header?
15106 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15107 yes:no: )
15108 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15109 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15110 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15111 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15112 ac_header_preproc=yes
15113 ;;
15114 no:yes:* )
15115 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15116 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15117 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15118 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15119 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15120 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15121 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15122 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15123 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15124 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15125 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15126 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15127 (
15128 cat <<\_ASBOX
15129 ## ----------------------------------------- ##
15130 ## Report this to wx-dev@lists.wxwidgets.org ##
15131 ## ----------------------------------------- ##
15132 _ASBOX
15133 ) |
15134 sed "s/^/$as_me: WARNING: /" >&2
15135 ;;
15136 esac
15137 echo "$as_me:$LINENO: checking for $ac_header" >&5
15138 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15140 echo $ECHO_N "(cached) $ECHO_C" >&6
15141 else
15142 eval "$as_ac_Header=\$ac_header_preproc"
15143 fi
15144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15145 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15146
15147 fi
15148 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15149 cat >>confdefs.h <<_ACEOF
15150 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15151 _ACEOF
15152
15153 fi
15154
15155 done
15156
15157
15158 for ac_header in X11/XKBlib.h
15159 do
15160 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15161 echo "$as_me:$LINENO: checking for $ac_header" >&5
15162 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15163 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15164 echo $ECHO_N "(cached) $ECHO_C" >&6
15165 else
15166 cat >conftest.$ac_ext <<_ACEOF
15167 /* confdefs.h. */
15168 _ACEOF
15169 cat confdefs.h >>conftest.$ac_ext
15170 cat >>conftest.$ac_ext <<_ACEOF
15171 /* end confdefs.h. */
15172
15173 #if HAVE_X11_XLIB_H
15174 #include <X11/Xlib.h>
15175 #endif
15176
15177
15178 #include <$ac_header>
15179 _ACEOF
15180 rm -f conftest.$ac_objext
15181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15182 (eval $ac_compile) 2>conftest.er1
15183 ac_status=$?
15184 grep -v '^ *+' conftest.er1 >conftest.err
15185 rm -f conftest.er1
15186 cat conftest.err >&5
15187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15188 (exit $ac_status); } &&
15189 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15191 (eval $ac_try) 2>&5
15192 ac_status=$?
15193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15194 (exit $ac_status); }; } &&
15195 { ac_try='test -s conftest.$ac_objext'
15196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15197 (eval $ac_try) 2>&5
15198 ac_status=$?
15199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15200 (exit $ac_status); }; }; then
15201 eval "$as_ac_Header=yes"
15202 else
15203 echo "$as_me: failed program was:" >&5
15204 sed 's/^/| /' conftest.$ac_ext >&5
15205
15206 eval "$as_ac_Header=no"
15207 fi
15208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15209 fi
15210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15211 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15212 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15213 cat >>confdefs.h <<_ACEOF
15214 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15215 _ACEOF
15216
15217 fi
15218
15219 done
15220
15221 fi
15222 fi
15223
15224
15225 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
15226 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
15227 if test "${ac_cv_c_const+set}" = set; then
15228 echo $ECHO_N "(cached) $ECHO_C" >&6
15229 else
15230 cat >conftest.$ac_ext <<_ACEOF
15231 /* confdefs.h. */
15232 _ACEOF
15233 cat confdefs.h >>conftest.$ac_ext
15234 cat >>conftest.$ac_ext <<_ACEOF
15235 /* end confdefs.h. */
15236
15237 int
15238 main ()
15239 {
15240 /* FIXME: Include the comments suggested by Paul. */
15241 #ifndef __cplusplus
15242 /* Ultrix mips cc rejects this. */
15243 typedef int charset[2];
15244 const charset x;
15245 /* SunOS 4.1.1 cc rejects this. */
15246 char const *const *ccp;
15247 char **p;
15248 /* NEC SVR4.0.2 mips cc rejects this. */
15249 struct point {int x, y;};
15250 static struct point const zero = {0,0};
15251 /* AIX XL C 1.02.0.0 rejects this.
15252 It does not let you subtract one const X* pointer from another in
15253 an arm of an if-expression whose if-part is not a constant
15254 expression */
15255 const char *g = "string";
15256 ccp = &g + (g ? g-g : 0);
15257 /* HPUX 7.0 cc rejects these. */
15258 ++ccp;
15259 p = (char**) ccp;
15260 ccp = (char const *const *) p;
15261 { /* SCO 3.2v4 cc rejects this. */
15262 char *t;
15263 char const *s = 0 ? (char *) 0 : (char const *) 0;
15264
15265 *t++ = 0;
15266 }
15267 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15268 int x[] = {25, 17};
15269 const int *foo = &x[0];
15270 ++foo;
15271 }
15272 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15273 typedef const int *iptr;
15274 iptr p = 0;
15275 ++p;
15276 }
15277 { /* AIX XL C 1.02.0.0 rejects this saying
15278 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15279 struct s { int j; const int *ap[3]; };
15280 struct s *b; b->j = 5;
15281 }
15282 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15283 const int foo = 10;
15284 }
15285 #endif
15286
15287 ;
15288 return 0;
15289 }
15290 _ACEOF
15291 rm -f conftest.$ac_objext
15292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15293 (eval $ac_compile) 2>conftest.er1
15294 ac_status=$?
15295 grep -v '^ *+' conftest.er1 >conftest.err
15296 rm -f conftest.er1
15297 cat conftest.err >&5
15298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15299 (exit $ac_status); } &&
15300 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15302 (eval $ac_try) 2>&5
15303 ac_status=$?
15304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15305 (exit $ac_status); }; } &&
15306 { ac_try='test -s conftest.$ac_objext'
15307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15308 (eval $ac_try) 2>&5
15309 ac_status=$?
15310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15311 (exit $ac_status); }; }; then
15312 ac_cv_c_const=yes
15313 else
15314 echo "$as_me: failed program was:" >&5
15315 sed 's/^/| /' conftest.$ac_ext >&5
15316
15317 ac_cv_c_const=no
15318 fi
15319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15320 fi
15321 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
15322 echo "${ECHO_T}$ac_cv_c_const" >&6
15323 if test $ac_cv_c_const = no; then
15324
15325 cat >>confdefs.h <<\_ACEOF
15326 #define const
15327 _ACEOF
15328
15329 fi
15330
15331 echo "$as_me:$LINENO: checking for inline" >&5
15332 echo $ECHO_N "checking for inline... $ECHO_C" >&6
15333 if test "${ac_cv_c_inline+set}" = set; then
15334 echo $ECHO_N "(cached) $ECHO_C" >&6
15335 else
15336 ac_cv_c_inline=no
15337 for ac_kw in inline __inline__ __inline; do
15338 cat >conftest.$ac_ext <<_ACEOF
15339 /* confdefs.h. */
15340 _ACEOF
15341 cat confdefs.h >>conftest.$ac_ext
15342 cat >>conftest.$ac_ext <<_ACEOF
15343 /* end confdefs.h. */
15344 #ifndef __cplusplus
15345 typedef int foo_t;
15346 static $ac_kw foo_t static_foo () {return 0; }
15347 $ac_kw foo_t foo () {return 0; }
15348 #endif
15349
15350 _ACEOF
15351 rm -f conftest.$ac_objext
15352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15353 (eval $ac_compile) 2>conftest.er1
15354 ac_status=$?
15355 grep -v '^ *+' conftest.er1 >conftest.err
15356 rm -f conftest.er1
15357 cat conftest.err >&5
15358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15359 (exit $ac_status); } &&
15360 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15362 (eval $ac_try) 2>&5
15363 ac_status=$?
15364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15365 (exit $ac_status); }; } &&
15366 { ac_try='test -s conftest.$ac_objext'
15367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15368 (eval $ac_try) 2>&5
15369 ac_status=$?
15370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15371 (exit $ac_status); }; }; then
15372 ac_cv_c_inline=$ac_kw; break
15373 else
15374 echo "$as_me: failed program was:" >&5
15375 sed 's/^/| /' conftest.$ac_ext >&5
15376
15377 fi
15378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15379 done
15380
15381 fi
15382 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
15383 echo "${ECHO_T}$ac_cv_c_inline" >&6
15384
15385
15386 case $ac_cv_c_inline in
15387 inline | yes) ;;
15388 *)
15389 case $ac_cv_c_inline in
15390 no) ac_val=;;
15391 *) ac_val=$ac_cv_c_inline;;
15392 esac
15393 cat >>confdefs.h <<_ACEOF
15394 #ifndef __cplusplus
15395 #define inline $ac_val
15396 #endif
15397 _ACEOF
15398 ;;
15399 esac
15400
15401
15402 echo "$as_me:$LINENO: checking for char" >&5
15403 echo $ECHO_N "checking for char... $ECHO_C" >&6
15404 if test "${ac_cv_type_char+set}" = set; then
15405 echo $ECHO_N "(cached) $ECHO_C" >&6
15406 else
15407 cat >conftest.$ac_ext <<_ACEOF
15408 /* confdefs.h. */
15409 _ACEOF
15410 cat confdefs.h >>conftest.$ac_ext
15411 cat >>conftest.$ac_ext <<_ACEOF
15412 /* end confdefs.h. */
15413 $ac_includes_default
15414 int
15415 main ()
15416 {
15417 if ((char *) 0)
15418 return 0;
15419 if (sizeof (char))
15420 return 0;
15421 ;
15422 return 0;
15423 }
15424 _ACEOF
15425 rm -f conftest.$ac_objext
15426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15427 (eval $ac_compile) 2>conftest.er1
15428 ac_status=$?
15429 grep -v '^ *+' conftest.er1 >conftest.err
15430 rm -f conftest.er1
15431 cat conftest.err >&5
15432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15433 (exit $ac_status); } &&
15434 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15436 (eval $ac_try) 2>&5
15437 ac_status=$?
15438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15439 (exit $ac_status); }; } &&
15440 { ac_try='test -s conftest.$ac_objext'
15441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15442 (eval $ac_try) 2>&5
15443 ac_status=$?
15444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15445 (exit $ac_status); }; }; then
15446 ac_cv_type_char=yes
15447 else
15448 echo "$as_me: failed program was:" >&5
15449 sed 's/^/| /' conftest.$ac_ext >&5
15450
15451 ac_cv_type_char=no
15452 fi
15453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15454 fi
15455 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
15456 echo "${ECHO_T}$ac_cv_type_char" >&6
15457
15458 echo "$as_me:$LINENO: checking size of char" >&5
15459 echo $ECHO_N "checking size of char... $ECHO_C" >&6
15460 if test "${ac_cv_sizeof_char+set}" = set; then
15461 echo $ECHO_N "(cached) $ECHO_C" >&6
15462 else
15463 if test "$ac_cv_type_char" = yes; then
15464 # The cast to unsigned long works around a bug in the HP C Compiler
15465 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15466 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15467 # This bug is HP SR number 8606223364.
15468 if test "$cross_compiling" = yes; then
15469 # Depending upon the size, compute the lo and hi bounds.
15470 cat >conftest.$ac_ext <<_ACEOF
15471 /* confdefs.h. */
15472 _ACEOF
15473 cat confdefs.h >>conftest.$ac_ext
15474 cat >>conftest.$ac_ext <<_ACEOF
15475 /* end confdefs.h. */
15476 $ac_includes_default
15477 int
15478 main ()
15479 {
15480 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
15481 test_array [0] = 0
15482
15483 ;
15484 return 0;
15485 }
15486 _ACEOF
15487 rm -f conftest.$ac_objext
15488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15489 (eval $ac_compile) 2>conftest.er1
15490 ac_status=$?
15491 grep -v '^ *+' conftest.er1 >conftest.err
15492 rm -f conftest.er1
15493 cat conftest.err >&5
15494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15495 (exit $ac_status); } &&
15496 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15498 (eval $ac_try) 2>&5
15499 ac_status=$?
15500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15501 (exit $ac_status); }; } &&
15502 { ac_try='test -s conftest.$ac_objext'
15503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15504 (eval $ac_try) 2>&5
15505 ac_status=$?
15506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15507 (exit $ac_status); }; }; then
15508 ac_lo=0 ac_mid=0
15509 while :; do
15510 cat >conftest.$ac_ext <<_ACEOF
15511 /* confdefs.h. */
15512 _ACEOF
15513 cat confdefs.h >>conftest.$ac_ext
15514 cat >>conftest.$ac_ext <<_ACEOF
15515 /* end confdefs.h. */
15516 $ac_includes_default
15517 int
15518 main ()
15519 {
15520 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15521 test_array [0] = 0
15522
15523 ;
15524 return 0;
15525 }
15526 _ACEOF
15527 rm -f conftest.$ac_objext
15528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15529 (eval $ac_compile) 2>conftest.er1
15530 ac_status=$?
15531 grep -v '^ *+' conftest.er1 >conftest.err
15532 rm -f conftest.er1
15533 cat conftest.err >&5
15534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15535 (exit $ac_status); } &&
15536 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15538 (eval $ac_try) 2>&5
15539 ac_status=$?
15540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15541 (exit $ac_status); }; } &&
15542 { ac_try='test -s conftest.$ac_objext'
15543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15544 (eval $ac_try) 2>&5
15545 ac_status=$?
15546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15547 (exit $ac_status); }; }; then
15548 ac_hi=$ac_mid; break
15549 else
15550 echo "$as_me: failed program was:" >&5
15551 sed 's/^/| /' conftest.$ac_ext >&5
15552
15553 ac_lo=`expr $ac_mid + 1`
15554 if test $ac_lo -le $ac_mid; then
15555 ac_lo= ac_hi=
15556 break
15557 fi
15558 ac_mid=`expr 2 '*' $ac_mid + 1`
15559 fi
15560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15561 done
15562 else
15563 echo "$as_me: failed program was:" >&5
15564 sed 's/^/| /' conftest.$ac_ext >&5
15565
15566 cat >conftest.$ac_ext <<_ACEOF
15567 /* confdefs.h. */
15568 _ACEOF
15569 cat confdefs.h >>conftest.$ac_ext
15570 cat >>conftest.$ac_ext <<_ACEOF
15571 /* end confdefs.h. */
15572 $ac_includes_default
15573 int
15574 main ()
15575 {
15576 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
15577 test_array [0] = 0
15578
15579 ;
15580 return 0;
15581 }
15582 _ACEOF
15583 rm -f conftest.$ac_objext
15584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15585 (eval $ac_compile) 2>conftest.er1
15586 ac_status=$?
15587 grep -v '^ *+' conftest.er1 >conftest.err
15588 rm -f conftest.er1
15589 cat conftest.err >&5
15590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15591 (exit $ac_status); } &&
15592 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15594 (eval $ac_try) 2>&5
15595 ac_status=$?
15596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15597 (exit $ac_status); }; } &&
15598 { ac_try='test -s conftest.$ac_objext'
15599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15600 (eval $ac_try) 2>&5
15601 ac_status=$?
15602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15603 (exit $ac_status); }; }; then
15604 ac_hi=-1 ac_mid=-1
15605 while :; do
15606 cat >conftest.$ac_ext <<_ACEOF
15607 /* confdefs.h. */
15608 _ACEOF
15609 cat confdefs.h >>conftest.$ac_ext
15610 cat >>conftest.$ac_ext <<_ACEOF
15611 /* end confdefs.h. */
15612 $ac_includes_default
15613 int
15614 main ()
15615 {
15616 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
15617 test_array [0] = 0
15618
15619 ;
15620 return 0;
15621 }
15622 _ACEOF
15623 rm -f conftest.$ac_objext
15624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15625 (eval $ac_compile) 2>conftest.er1
15626 ac_status=$?
15627 grep -v '^ *+' conftest.er1 >conftest.err
15628 rm -f conftest.er1
15629 cat conftest.err >&5
15630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15631 (exit $ac_status); } &&
15632 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15634 (eval $ac_try) 2>&5
15635 ac_status=$?
15636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15637 (exit $ac_status); }; } &&
15638 { ac_try='test -s conftest.$ac_objext'
15639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15640 (eval $ac_try) 2>&5
15641 ac_status=$?
15642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15643 (exit $ac_status); }; }; then
15644 ac_lo=$ac_mid; break
15645 else
15646 echo "$as_me: failed program was:" >&5
15647 sed 's/^/| /' conftest.$ac_ext >&5
15648
15649 ac_hi=`expr '(' $ac_mid ')' - 1`
15650 if test $ac_mid -le $ac_hi; then
15651 ac_lo= ac_hi=
15652 break
15653 fi
15654 ac_mid=`expr 2 '*' $ac_mid`
15655 fi
15656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15657 done
15658 else
15659 echo "$as_me: failed program was:" >&5
15660 sed 's/^/| /' conftest.$ac_ext >&5
15661
15662 ac_lo= ac_hi=
15663 fi
15664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15665 fi
15666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15667 # Binary search between lo and hi bounds.
15668 while test "x$ac_lo" != "x$ac_hi"; do
15669 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15670 cat >conftest.$ac_ext <<_ACEOF
15671 /* confdefs.h. */
15672 _ACEOF
15673 cat confdefs.h >>conftest.$ac_ext
15674 cat >>conftest.$ac_ext <<_ACEOF
15675 /* end confdefs.h. */
15676 $ac_includes_default
15677 int
15678 main ()
15679 {
15680 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15681 test_array [0] = 0
15682
15683 ;
15684 return 0;
15685 }
15686 _ACEOF
15687 rm -f conftest.$ac_objext
15688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15689 (eval $ac_compile) 2>conftest.er1
15690 ac_status=$?
15691 grep -v '^ *+' conftest.er1 >conftest.err
15692 rm -f conftest.er1
15693 cat conftest.err >&5
15694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15695 (exit $ac_status); } &&
15696 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15698 (eval $ac_try) 2>&5
15699 ac_status=$?
15700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15701 (exit $ac_status); }; } &&
15702 { ac_try='test -s conftest.$ac_objext'
15703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15704 (eval $ac_try) 2>&5
15705 ac_status=$?
15706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15707 (exit $ac_status); }; }; then
15708 ac_hi=$ac_mid
15709 else
15710 echo "$as_me: failed program was:" >&5
15711 sed 's/^/| /' conftest.$ac_ext >&5
15712
15713 ac_lo=`expr '(' $ac_mid ')' + 1`
15714 fi
15715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15716 done
15717 case $ac_lo in
15718 ?*) ac_cv_sizeof_char=$ac_lo;;
15719 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15720 See \`config.log' for more details." >&5
15721 echo "$as_me: error: cannot compute sizeof (char), 77
15722 See \`config.log' for more details." >&2;}
15723 { (exit 1); exit 1; }; } ;;
15724 esac
15725 else
15726 if test "$cross_compiling" = yes; then
15727 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15728 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15729 { (exit 1); exit 1; }; }
15730 else
15731 cat >conftest.$ac_ext <<_ACEOF
15732 /* confdefs.h. */
15733 _ACEOF
15734 cat confdefs.h >>conftest.$ac_ext
15735 cat >>conftest.$ac_ext <<_ACEOF
15736 /* end confdefs.h. */
15737 $ac_includes_default
15738 long longval () { return (long) (sizeof (char)); }
15739 unsigned long ulongval () { return (long) (sizeof (char)); }
15740 #include <stdio.h>
15741 #include <stdlib.h>
15742 int
15743 main ()
15744 {
15745
15746 FILE *f = fopen ("conftest.val", "w");
15747 if (! f)
15748 exit (1);
15749 if (((long) (sizeof (char))) < 0)
15750 {
15751 long i = longval ();
15752 if (i != ((long) (sizeof (char))))
15753 exit (1);
15754 fprintf (f, "%ld\n", i);
15755 }
15756 else
15757 {
15758 unsigned long i = ulongval ();
15759 if (i != ((long) (sizeof (char))))
15760 exit (1);
15761 fprintf (f, "%lu\n", i);
15762 }
15763 exit (ferror (f) || fclose (f) != 0);
15764
15765 ;
15766 return 0;
15767 }
15768 _ACEOF
15769 rm -f conftest$ac_exeext
15770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15771 (eval $ac_link) 2>&5
15772 ac_status=$?
15773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15774 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15776 (eval $ac_try) 2>&5
15777 ac_status=$?
15778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15779 (exit $ac_status); }; }; then
15780 ac_cv_sizeof_char=`cat conftest.val`
15781 else
15782 echo "$as_me: program exited with status $ac_status" >&5
15783 echo "$as_me: failed program was:" >&5
15784 sed 's/^/| /' conftest.$ac_ext >&5
15785
15786 ( exit $ac_status )
15787 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15788 See \`config.log' for more details." >&5
15789 echo "$as_me: error: cannot compute sizeof (char), 77
15790 See \`config.log' for more details." >&2;}
15791 { (exit 1); exit 1; }; }
15792 fi
15793 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15794 fi
15795 fi
15796 rm -f conftest.val
15797 else
15798 ac_cv_sizeof_char=0
15799 fi
15800 fi
15801 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
15802 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
15803 cat >>confdefs.h <<_ACEOF
15804 #define SIZEOF_CHAR $ac_cv_sizeof_char
15805 _ACEOF
15806
15807
15808 echo "$as_me:$LINENO: checking for short" >&5
15809 echo $ECHO_N "checking for short... $ECHO_C" >&6
15810 if test "${ac_cv_type_short+set}" = set; then
15811 echo $ECHO_N "(cached) $ECHO_C" >&6
15812 else
15813 cat >conftest.$ac_ext <<_ACEOF
15814 /* confdefs.h. */
15815 _ACEOF
15816 cat confdefs.h >>conftest.$ac_ext
15817 cat >>conftest.$ac_ext <<_ACEOF
15818 /* end confdefs.h. */
15819 $ac_includes_default
15820 int
15821 main ()
15822 {
15823 if ((short *) 0)
15824 return 0;
15825 if (sizeof (short))
15826 return 0;
15827 ;
15828 return 0;
15829 }
15830 _ACEOF
15831 rm -f conftest.$ac_objext
15832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15833 (eval $ac_compile) 2>conftest.er1
15834 ac_status=$?
15835 grep -v '^ *+' conftest.er1 >conftest.err
15836 rm -f conftest.er1
15837 cat conftest.err >&5
15838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15839 (exit $ac_status); } &&
15840 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15842 (eval $ac_try) 2>&5
15843 ac_status=$?
15844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15845 (exit $ac_status); }; } &&
15846 { ac_try='test -s conftest.$ac_objext'
15847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15848 (eval $ac_try) 2>&5
15849 ac_status=$?
15850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15851 (exit $ac_status); }; }; then
15852 ac_cv_type_short=yes
15853 else
15854 echo "$as_me: failed program was:" >&5
15855 sed 's/^/| /' conftest.$ac_ext >&5
15856
15857 ac_cv_type_short=no
15858 fi
15859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15860 fi
15861 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
15862 echo "${ECHO_T}$ac_cv_type_short" >&6
15863
15864 echo "$as_me:$LINENO: checking size of short" >&5
15865 echo $ECHO_N "checking size of short... $ECHO_C" >&6
15866 if test "${ac_cv_sizeof_short+set}" = set; then
15867 echo $ECHO_N "(cached) $ECHO_C" >&6
15868 else
15869 if test "$ac_cv_type_short" = yes; then
15870 # The cast to unsigned long works around a bug in the HP C Compiler
15871 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15872 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15873 # This bug is HP SR number 8606223364.
15874 if test "$cross_compiling" = yes; then
15875 # Depending upon the size, compute the lo and hi bounds.
15876 cat >conftest.$ac_ext <<_ACEOF
15877 /* confdefs.h. */
15878 _ACEOF
15879 cat confdefs.h >>conftest.$ac_ext
15880 cat >>conftest.$ac_ext <<_ACEOF
15881 /* end confdefs.h. */
15882 $ac_includes_default
15883 int
15884 main ()
15885 {
15886 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
15887 test_array [0] = 0
15888
15889 ;
15890 return 0;
15891 }
15892 _ACEOF
15893 rm -f conftest.$ac_objext
15894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15895 (eval $ac_compile) 2>conftest.er1
15896 ac_status=$?
15897 grep -v '^ *+' conftest.er1 >conftest.err
15898 rm -f conftest.er1
15899 cat conftest.err >&5
15900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15901 (exit $ac_status); } &&
15902 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15904 (eval $ac_try) 2>&5
15905 ac_status=$?
15906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15907 (exit $ac_status); }; } &&
15908 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
15914 ac_lo=0 ac_mid=0
15915 while :; do
15916 cat >conftest.$ac_ext <<_ACEOF
15917 /* confdefs.h. */
15918 _ACEOF
15919 cat confdefs.h >>conftest.$ac_ext
15920 cat >>conftest.$ac_ext <<_ACEOF
15921 /* end confdefs.h. */
15922 $ac_includes_default
15923 int
15924 main ()
15925 {
15926 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15927 test_array [0] = 0
15928
15929 ;
15930 return 0;
15931 }
15932 _ACEOF
15933 rm -f conftest.$ac_objext
15934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15935 (eval $ac_compile) 2>conftest.er1
15936 ac_status=$?
15937 grep -v '^ *+' conftest.er1 >conftest.err
15938 rm -f conftest.er1
15939 cat conftest.err >&5
15940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15941 (exit $ac_status); } &&
15942 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15944 (eval $ac_try) 2>&5
15945 ac_status=$?
15946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15947 (exit $ac_status); }; } &&
15948 { ac_try='test -s conftest.$ac_objext'
15949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15950 (eval $ac_try) 2>&5
15951 ac_status=$?
15952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15953 (exit $ac_status); }; }; then
15954 ac_hi=$ac_mid; break
15955 else
15956 echo "$as_me: failed program was:" >&5
15957 sed 's/^/| /' conftest.$ac_ext >&5
15958
15959 ac_lo=`expr $ac_mid + 1`
15960 if test $ac_lo -le $ac_mid; then
15961 ac_lo= ac_hi=
15962 break
15963 fi
15964 ac_mid=`expr 2 '*' $ac_mid + 1`
15965 fi
15966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15967 done
15968 else
15969 echo "$as_me: failed program was:" >&5
15970 sed 's/^/| /' conftest.$ac_ext >&5
15971
15972 cat >conftest.$ac_ext <<_ACEOF
15973 /* confdefs.h. */
15974 _ACEOF
15975 cat confdefs.h >>conftest.$ac_ext
15976 cat >>conftest.$ac_ext <<_ACEOF
15977 /* end confdefs.h. */
15978 $ac_includes_default
15979 int
15980 main ()
15981 {
15982 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
15983 test_array [0] = 0
15984
15985 ;
15986 return 0;
15987 }
15988 _ACEOF
15989 rm -f conftest.$ac_objext
15990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15991 (eval $ac_compile) 2>conftest.er1
15992 ac_status=$?
15993 grep -v '^ *+' conftest.er1 >conftest.err
15994 rm -f conftest.er1
15995 cat conftest.err >&5
15996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15997 (exit $ac_status); } &&
15998 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16000 (eval $ac_try) 2>&5
16001 ac_status=$?
16002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16003 (exit $ac_status); }; } &&
16004 { ac_try='test -s conftest.$ac_objext'
16005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16006 (eval $ac_try) 2>&5
16007 ac_status=$?
16008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16009 (exit $ac_status); }; }; then
16010 ac_hi=-1 ac_mid=-1
16011 while :; do
16012 cat >conftest.$ac_ext <<_ACEOF
16013 /* confdefs.h. */
16014 _ACEOF
16015 cat confdefs.h >>conftest.$ac_ext
16016 cat >>conftest.$ac_ext <<_ACEOF
16017 /* end confdefs.h. */
16018 $ac_includes_default
16019 int
16020 main ()
16021 {
16022 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
16023 test_array [0] = 0
16024
16025 ;
16026 return 0;
16027 }
16028 _ACEOF
16029 rm -f conftest.$ac_objext
16030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16031 (eval $ac_compile) 2>conftest.er1
16032 ac_status=$?
16033 grep -v '^ *+' conftest.er1 >conftest.err
16034 rm -f conftest.er1
16035 cat conftest.err >&5
16036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16037 (exit $ac_status); } &&
16038 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16040 (eval $ac_try) 2>&5
16041 ac_status=$?
16042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16043 (exit $ac_status); }; } &&
16044 { ac_try='test -s conftest.$ac_objext'
16045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16046 (eval $ac_try) 2>&5
16047 ac_status=$?
16048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16049 (exit $ac_status); }; }; then
16050 ac_lo=$ac_mid; break
16051 else
16052 echo "$as_me: failed program was:" >&5
16053 sed 's/^/| /' conftest.$ac_ext >&5
16054
16055 ac_hi=`expr '(' $ac_mid ')' - 1`
16056 if test $ac_mid -le $ac_hi; then
16057 ac_lo= ac_hi=
16058 break
16059 fi
16060 ac_mid=`expr 2 '*' $ac_mid`
16061 fi
16062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16063 done
16064 else
16065 echo "$as_me: failed program was:" >&5
16066 sed 's/^/| /' conftest.$ac_ext >&5
16067
16068 ac_lo= ac_hi=
16069 fi
16070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16071 fi
16072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16073 # Binary search between lo and hi bounds.
16074 while test "x$ac_lo" != "x$ac_hi"; do
16075 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16076 cat >conftest.$ac_ext <<_ACEOF
16077 /* confdefs.h. */
16078 _ACEOF
16079 cat confdefs.h >>conftest.$ac_ext
16080 cat >>conftest.$ac_ext <<_ACEOF
16081 /* end confdefs.h. */
16082 $ac_includes_default
16083 int
16084 main ()
16085 {
16086 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16087 test_array [0] = 0
16088
16089 ;
16090 return 0;
16091 }
16092 _ACEOF
16093 rm -f conftest.$ac_objext
16094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16095 (eval $ac_compile) 2>conftest.er1
16096 ac_status=$?
16097 grep -v '^ *+' conftest.er1 >conftest.err
16098 rm -f conftest.er1
16099 cat conftest.err >&5
16100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16101 (exit $ac_status); } &&
16102 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16104 (eval $ac_try) 2>&5
16105 ac_status=$?
16106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16107 (exit $ac_status); }; } &&
16108 { ac_try='test -s conftest.$ac_objext'
16109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16110 (eval $ac_try) 2>&5
16111 ac_status=$?
16112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16113 (exit $ac_status); }; }; then
16114 ac_hi=$ac_mid
16115 else
16116 echo "$as_me: failed program was:" >&5
16117 sed 's/^/| /' conftest.$ac_ext >&5
16118
16119 ac_lo=`expr '(' $ac_mid ')' + 1`
16120 fi
16121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16122 done
16123 case $ac_lo in
16124 ?*) ac_cv_sizeof_short=$ac_lo;;
16125 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16126 See \`config.log' for more details." >&5
16127 echo "$as_me: error: cannot compute sizeof (short), 77
16128 See \`config.log' for more details." >&2;}
16129 { (exit 1); exit 1; }; } ;;
16130 esac
16131 else
16132 if test "$cross_compiling" = yes; then
16133 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16134 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16135 { (exit 1); exit 1; }; }
16136 else
16137 cat >conftest.$ac_ext <<_ACEOF
16138 /* confdefs.h. */
16139 _ACEOF
16140 cat confdefs.h >>conftest.$ac_ext
16141 cat >>conftest.$ac_ext <<_ACEOF
16142 /* end confdefs.h. */
16143 $ac_includes_default
16144 long longval () { return (long) (sizeof (short)); }
16145 unsigned long ulongval () { return (long) (sizeof (short)); }
16146 #include <stdio.h>
16147 #include <stdlib.h>
16148 int
16149 main ()
16150 {
16151
16152 FILE *f = fopen ("conftest.val", "w");
16153 if (! f)
16154 exit (1);
16155 if (((long) (sizeof (short))) < 0)
16156 {
16157 long i = longval ();
16158 if (i != ((long) (sizeof (short))))
16159 exit (1);
16160 fprintf (f, "%ld\n", i);
16161 }
16162 else
16163 {
16164 unsigned long i = ulongval ();
16165 if (i != ((long) (sizeof (short))))
16166 exit (1);
16167 fprintf (f, "%lu\n", i);
16168 }
16169 exit (ferror (f) || fclose (f) != 0);
16170
16171 ;
16172 return 0;
16173 }
16174 _ACEOF
16175 rm -f conftest$ac_exeext
16176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16177 (eval $ac_link) 2>&5
16178 ac_status=$?
16179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16180 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16182 (eval $ac_try) 2>&5
16183 ac_status=$?
16184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16185 (exit $ac_status); }; }; then
16186 ac_cv_sizeof_short=`cat conftest.val`
16187 else
16188 echo "$as_me: program exited with status $ac_status" >&5
16189 echo "$as_me: failed program was:" >&5
16190 sed 's/^/| /' conftest.$ac_ext >&5
16191
16192 ( exit $ac_status )
16193 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16194 See \`config.log' for more details." >&5
16195 echo "$as_me: error: cannot compute sizeof (short), 77
16196 See \`config.log' for more details." >&2;}
16197 { (exit 1); exit 1; }; }
16198 fi
16199 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16200 fi
16201 fi
16202 rm -f conftest.val
16203 else
16204 ac_cv_sizeof_short=0
16205 fi
16206 fi
16207 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
16208 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
16209 cat >>confdefs.h <<_ACEOF
16210 #define SIZEOF_SHORT $ac_cv_sizeof_short
16211 _ACEOF
16212
16213
16214 echo "$as_me:$LINENO: checking for void *" >&5
16215 echo $ECHO_N "checking for void *... $ECHO_C" >&6
16216 if test "${ac_cv_type_void_p+set}" = set; then
16217 echo $ECHO_N "(cached) $ECHO_C" >&6
16218 else
16219 cat >conftest.$ac_ext <<_ACEOF
16220 /* confdefs.h. */
16221 _ACEOF
16222 cat confdefs.h >>conftest.$ac_ext
16223 cat >>conftest.$ac_ext <<_ACEOF
16224 /* end confdefs.h. */
16225 $ac_includes_default
16226 int
16227 main ()
16228 {
16229 if ((void * *) 0)
16230 return 0;
16231 if (sizeof (void *))
16232 return 0;
16233 ;
16234 return 0;
16235 }
16236 _ACEOF
16237 rm -f conftest.$ac_objext
16238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16239 (eval $ac_compile) 2>conftest.er1
16240 ac_status=$?
16241 grep -v '^ *+' conftest.er1 >conftest.err
16242 rm -f conftest.er1
16243 cat conftest.err >&5
16244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16245 (exit $ac_status); } &&
16246 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16248 (eval $ac_try) 2>&5
16249 ac_status=$?
16250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16251 (exit $ac_status); }; } &&
16252 { ac_try='test -s conftest.$ac_objext'
16253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16254 (eval $ac_try) 2>&5
16255 ac_status=$?
16256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16257 (exit $ac_status); }; }; then
16258 ac_cv_type_void_p=yes
16259 else
16260 echo "$as_me: failed program was:" >&5
16261 sed 's/^/| /' conftest.$ac_ext >&5
16262
16263 ac_cv_type_void_p=no
16264 fi
16265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16266 fi
16267 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
16268 echo "${ECHO_T}$ac_cv_type_void_p" >&6
16269
16270 echo "$as_me:$LINENO: checking size of void *" >&5
16271 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16272 if test "${ac_cv_sizeof_void_p+set}" = set; then
16273 echo $ECHO_N "(cached) $ECHO_C" >&6
16274 else
16275 if test "$ac_cv_type_void_p" = yes; then
16276 # The cast to unsigned long works around a bug in the HP C Compiler
16277 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16278 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16279 # This bug is HP SR number 8606223364.
16280 if test "$cross_compiling" = yes; then
16281 # Depending upon the size, compute the lo and hi bounds.
16282 cat >conftest.$ac_ext <<_ACEOF
16283 /* confdefs.h. */
16284 _ACEOF
16285 cat confdefs.h >>conftest.$ac_ext
16286 cat >>conftest.$ac_ext <<_ACEOF
16287 /* end confdefs.h. */
16288 $ac_includes_default
16289 int
16290 main ()
16291 {
16292 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
16293 test_array [0] = 0
16294
16295 ;
16296 return 0;
16297 }
16298 _ACEOF
16299 rm -f conftest.$ac_objext
16300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16301 (eval $ac_compile) 2>conftest.er1
16302 ac_status=$?
16303 grep -v '^ *+' conftest.er1 >conftest.err
16304 rm -f conftest.er1
16305 cat conftest.err >&5
16306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16307 (exit $ac_status); } &&
16308 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16310 (eval $ac_try) 2>&5
16311 ac_status=$?
16312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16313 (exit $ac_status); }; } &&
16314 { ac_try='test -s conftest.$ac_objext'
16315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16316 (eval $ac_try) 2>&5
16317 ac_status=$?
16318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16319 (exit $ac_status); }; }; then
16320 ac_lo=0 ac_mid=0
16321 while :; do
16322 cat >conftest.$ac_ext <<_ACEOF
16323 /* confdefs.h. */
16324 _ACEOF
16325 cat confdefs.h >>conftest.$ac_ext
16326 cat >>conftest.$ac_ext <<_ACEOF
16327 /* end confdefs.h. */
16328 $ac_includes_default
16329 int
16330 main ()
16331 {
16332 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16333 test_array [0] = 0
16334
16335 ;
16336 return 0;
16337 }
16338 _ACEOF
16339 rm -f conftest.$ac_objext
16340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16341 (eval $ac_compile) 2>conftest.er1
16342 ac_status=$?
16343 grep -v '^ *+' conftest.er1 >conftest.err
16344 rm -f conftest.er1
16345 cat conftest.err >&5
16346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16347 (exit $ac_status); } &&
16348 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16350 (eval $ac_try) 2>&5
16351 ac_status=$?
16352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16353 (exit $ac_status); }; } &&
16354 { ac_try='test -s conftest.$ac_objext'
16355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16356 (eval $ac_try) 2>&5
16357 ac_status=$?
16358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16359 (exit $ac_status); }; }; then
16360 ac_hi=$ac_mid; break
16361 else
16362 echo "$as_me: failed program was:" >&5
16363 sed 's/^/| /' conftest.$ac_ext >&5
16364
16365 ac_lo=`expr $ac_mid + 1`
16366 if test $ac_lo -le $ac_mid; then
16367 ac_lo= ac_hi=
16368 break
16369 fi
16370 ac_mid=`expr 2 '*' $ac_mid + 1`
16371 fi
16372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16373 done
16374 else
16375 echo "$as_me: failed program was:" >&5
16376 sed 's/^/| /' conftest.$ac_ext >&5
16377
16378 cat >conftest.$ac_ext <<_ACEOF
16379 /* confdefs.h. */
16380 _ACEOF
16381 cat confdefs.h >>conftest.$ac_ext
16382 cat >>conftest.$ac_ext <<_ACEOF
16383 /* end confdefs.h. */
16384 $ac_includes_default
16385 int
16386 main ()
16387 {
16388 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
16389 test_array [0] = 0
16390
16391 ;
16392 return 0;
16393 }
16394 _ACEOF
16395 rm -f conftest.$ac_objext
16396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16397 (eval $ac_compile) 2>conftest.er1
16398 ac_status=$?
16399 grep -v '^ *+' conftest.er1 >conftest.err
16400 rm -f conftest.er1
16401 cat conftest.err >&5
16402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16403 (exit $ac_status); } &&
16404 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16406 (eval $ac_try) 2>&5
16407 ac_status=$?
16408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16409 (exit $ac_status); }; } &&
16410 { ac_try='test -s conftest.$ac_objext'
16411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16412 (eval $ac_try) 2>&5
16413 ac_status=$?
16414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16415 (exit $ac_status); }; }; then
16416 ac_hi=-1 ac_mid=-1
16417 while :; do
16418 cat >conftest.$ac_ext <<_ACEOF
16419 /* confdefs.h. */
16420 _ACEOF
16421 cat confdefs.h >>conftest.$ac_ext
16422 cat >>conftest.$ac_ext <<_ACEOF
16423 /* end confdefs.h. */
16424 $ac_includes_default
16425 int
16426 main ()
16427 {
16428 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
16429 test_array [0] = 0
16430
16431 ;
16432 return 0;
16433 }
16434 _ACEOF
16435 rm -f conftest.$ac_objext
16436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16437 (eval $ac_compile) 2>conftest.er1
16438 ac_status=$?
16439 grep -v '^ *+' conftest.er1 >conftest.err
16440 rm -f conftest.er1
16441 cat conftest.err >&5
16442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16443 (exit $ac_status); } &&
16444 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16446 (eval $ac_try) 2>&5
16447 ac_status=$?
16448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16449 (exit $ac_status); }; } &&
16450 { ac_try='test -s conftest.$ac_objext'
16451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16452 (eval $ac_try) 2>&5
16453 ac_status=$?
16454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16455 (exit $ac_status); }; }; then
16456 ac_lo=$ac_mid; break
16457 else
16458 echo "$as_me: failed program was:" >&5
16459 sed 's/^/| /' conftest.$ac_ext >&5
16460
16461 ac_hi=`expr '(' $ac_mid ')' - 1`
16462 if test $ac_mid -le $ac_hi; then
16463 ac_lo= ac_hi=
16464 break
16465 fi
16466 ac_mid=`expr 2 '*' $ac_mid`
16467 fi
16468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16469 done
16470 else
16471 echo "$as_me: failed program was:" >&5
16472 sed 's/^/| /' conftest.$ac_ext >&5
16473
16474 ac_lo= ac_hi=
16475 fi
16476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16477 fi
16478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16479 # Binary search between lo and hi bounds.
16480 while test "x$ac_lo" != "x$ac_hi"; do
16481 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16482 cat >conftest.$ac_ext <<_ACEOF
16483 /* confdefs.h. */
16484 _ACEOF
16485 cat confdefs.h >>conftest.$ac_ext
16486 cat >>conftest.$ac_ext <<_ACEOF
16487 /* end confdefs.h. */
16488 $ac_includes_default
16489 int
16490 main ()
16491 {
16492 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16493 test_array [0] = 0
16494
16495 ;
16496 return 0;
16497 }
16498 _ACEOF
16499 rm -f conftest.$ac_objext
16500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16501 (eval $ac_compile) 2>conftest.er1
16502 ac_status=$?
16503 grep -v '^ *+' conftest.er1 >conftest.err
16504 rm -f conftest.er1
16505 cat conftest.err >&5
16506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16507 (exit $ac_status); } &&
16508 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16510 (eval $ac_try) 2>&5
16511 ac_status=$?
16512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16513 (exit $ac_status); }; } &&
16514 { ac_try='test -s conftest.$ac_objext'
16515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16516 (eval $ac_try) 2>&5
16517 ac_status=$?
16518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16519 (exit $ac_status); }; }; then
16520 ac_hi=$ac_mid
16521 else
16522 echo "$as_me: failed program was:" >&5
16523 sed 's/^/| /' conftest.$ac_ext >&5
16524
16525 ac_lo=`expr '(' $ac_mid ')' + 1`
16526 fi
16527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16528 done
16529 case $ac_lo in
16530 ?*) ac_cv_sizeof_void_p=$ac_lo;;
16531 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16532 See \`config.log' for more details." >&5
16533 echo "$as_me: error: cannot compute sizeof (void *), 77
16534 See \`config.log' for more details." >&2;}
16535 { (exit 1); exit 1; }; } ;;
16536 esac
16537 else
16538 if test "$cross_compiling" = yes; then
16539 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16540 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16541 { (exit 1); exit 1; }; }
16542 else
16543 cat >conftest.$ac_ext <<_ACEOF
16544 /* confdefs.h. */
16545 _ACEOF
16546 cat confdefs.h >>conftest.$ac_ext
16547 cat >>conftest.$ac_ext <<_ACEOF
16548 /* end confdefs.h. */
16549 $ac_includes_default
16550 long longval () { return (long) (sizeof (void *)); }
16551 unsigned long ulongval () { return (long) (sizeof (void *)); }
16552 #include <stdio.h>
16553 #include <stdlib.h>
16554 int
16555 main ()
16556 {
16557
16558 FILE *f = fopen ("conftest.val", "w");
16559 if (! f)
16560 exit (1);
16561 if (((long) (sizeof (void *))) < 0)
16562 {
16563 long i = longval ();
16564 if (i != ((long) (sizeof (void *))))
16565 exit (1);
16566 fprintf (f, "%ld\n", i);
16567 }
16568 else
16569 {
16570 unsigned long i = ulongval ();
16571 if (i != ((long) (sizeof (void *))))
16572 exit (1);
16573 fprintf (f, "%lu\n", i);
16574 }
16575 exit (ferror (f) || fclose (f) != 0);
16576
16577 ;
16578 return 0;
16579 }
16580 _ACEOF
16581 rm -f conftest$ac_exeext
16582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16583 (eval $ac_link) 2>&5
16584 ac_status=$?
16585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16586 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16588 (eval $ac_try) 2>&5
16589 ac_status=$?
16590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16591 (exit $ac_status); }; }; then
16592 ac_cv_sizeof_void_p=`cat conftest.val`
16593 else
16594 echo "$as_me: program exited with status $ac_status" >&5
16595 echo "$as_me: failed program was:" >&5
16596 sed 's/^/| /' conftest.$ac_ext >&5
16597
16598 ( exit $ac_status )
16599 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16600 See \`config.log' for more details." >&5
16601 echo "$as_me: error: cannot compute sizeof (void *), 77
16602 See \`config.log' for more details." >&2;}
16603 { (exit 1); exit 1; }; }
16604 fi
16605 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16606 fi
16607 fi
16608 rm -f conftest.val
16609 else
16610 ac_cv_sizeof_void_p=0
16611 fi
16612 fi
16613 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16614 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16615 cat >>confdefs.h <<_ACEOF
16616 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16617 _ACEOF
16618
16619
16620 echo "$as_me:$LINENO: checking for int" >&5
16621 echo $ECHO_N "checking for int... $ECHO_C" >&6
16622 if test "${ac_cv_type_int+set}" = set; then
16623 echo $ECHO_N "(cached) $ECHO_C" >&6
16624 else
16625 cat >conftest.$ac_ext <<_ACEOF
16626 /* confdefs.h. */
16627 _ACEOF
16628 cat confdefs.h >>conftest.$ac_ext
16629 cat >>conftest.$ac_ext <<_ACEOF
16630 /* end confdefs.h. */
16631 $ac_includes_default
16632 int
16633 main ()
16634 {
16635 if ((int *) 0)
16636 return 0;
16637 if (sizeof (int))
16638 return 0;
16639 ;
16640 return 0;
16641 }
16642 _ACEOF
16643 rm -f conftest.$ac_objext
16644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16645 (eval $ac_compile) 2>conftest.er1
16646 ac_status=$?
16647 grep -v '^ *+' conftest.er1 >conftest.err
16648 rm -f conftest.er1
16649 cat conftest.err >&5
16650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16651 (exit $ac_status); } &&
16652 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16654 (eval $ac_try) 2>&5
16655 ac_status=$?
16656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16657 (exit $ac_status); }; } &&
16658 { ac_try='test -s conftest.$ac_objext'
16659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16660 (eval $ac_try) 2>&5
16661 ac_status=$?
16662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16663 (exit $ac_status); }; }; then
16664 ac_cv_type_int=yes
16665 else
16666 echo "$as_me: failed program was:" >&5
16667 sed 's/^/| /' conftest.$ac_ext >&5
16668
16669 ac_cv_type_int=no
16670 fi
16671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16672 fi
16673 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16674 echo "${ECHO_T}$ac_cv_type_int" >&6
16675
16676 echo "$as_me:$LINENO: checking size of int" >&5
16677 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16678 if test "${ac_cv_sizeof_int+set}" = set; then
16679 echo $ECHO_N "(cached) $ECHO_C" >&6
16680 else
16681 if test "$ac_cv_type_int" = yes; then
16682 # The cast to unsigned long works around a bug in the HP C Compiler
16683 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16684 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16685 # This bug is HP SR number 8606223364.
16686 if test "$cross_compiling" = yes; then
16687 # Depending upon the size, compute the lo and hi bounds.
16688 cat >conftest.$ac_ext <<_ACEOF
16689 /* confdefs.h. */
16690 _ACEOF
16691 cat confdefs.h >>conftest.$ac_ext
16692 cat >>conftest.$ac_ext <<_ACEOF
16693 /* end confdefs.h. */
16694 $ac_includes_default
16695 int
16696 main ()
16697 {
16698 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16699 test_array [0] = 0
16700
16701 ;
16702 return 0;
16703 }
16704 _ACEOF
16705 rm -f conftest.$ac_objext
16706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16707 (eval $ac_compile) 2>conftest.er1
16708 ac_status=$?
16709 grep -v '^ *+' conftest.er1 >conftest.err
16710 rm -f conftest.er1
16711 cat conftest.err >&5
16712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16713 (exit $ac_status); } &&
16714 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16716 (eval $ac_try) 2>&5
16717 ac_status=$?
16718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16719 (exit $ac_status); }; } &&
16720 { ac_try='test -s conftest.$ac_objext'
16721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16722 (eval $ac_try) 2>&5
16723 ac_status=$?
16724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16725 (exit $ac_status); }; }; then
16726 ac_lo=0 ac_mid=0
16727 while :; do
16728 cat >conftest.$ac_ext <<_ACEOF
16729 /* confdefs.h. */
16730 _ACEOF
16731 cat confdefs.h >>conftest.$ac_ext
16732 cat >>conftest.$ac_ext <<_ACEOF
16733 /* end confdefs.h. */
16734 $ac_includes_default
16735 int
16736 main ()
16737 {
16738 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16739 test_array [0] = 0
16740
16741 ;
16742 return 0;
16743 }
16744 _ACEOF
16745 rm -f conftest.$ac_objext
16746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16747 (eval $ac_compile) 2>conftest.er1
16748 ac_status=$?
16749 grep -v '^ *+' conftest.er1 >conftest.err
16750 rm -f conftest.er1
16751 cat conftest.err >&5
16752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16753 (exit $ac_status); } &&
16754 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16756 (eval $ac_try) 2>&5
16757 ac_status=$?
16758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16759 (exit $ac_status); }; } &&
16760 { ac_try='test -s conftest.$ac_objext'
16761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16762 (eval $ac_try) 2>&5
16763 ac_status=$?
16764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16765 (exit $ac_status); }; }; then
16766 ac_hi=$ac_mid; break
16767 else
16768 echo "$as_me: failed program was:" >&5
16769 sed 's/^/| /' conftest.$ac_ext >&5
16770
16771 ac_lo=`expr $ac_mid + 1`
16772 if test $ac_lo -le $ac_mid; then
16773 ac_lo= ac_hi=
16774 break
16775 fi
16776 ac_mid=`expr 2 '*' $ac_mid + 1`
16777 fi
16778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16779 done
16780 else
16781 echo "$as_me: failed program was:" >&5
16782 sed 's/^/| /' conftest.$ac_ext >&5
16783
16784 cat >conftest.$ac_ext <<_ACEOF
16785 /* confdefs.h. */
16786 _ACEOF
16787 cat confdefs.h >>conftest.$ac_ext
16788 cat >>conftest.$ac_ext <<_ACEOF
16789 /* end confdefs.h. */
16790 $ac_includes_default
16791 int
16792 main ()
16793 {
16794 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16795 test_array [0] = 0
16796
16797 ;
16798 return 0;
16799 }
16800 _ACEOF
16801 rm -f conftest.$ac_objext
16802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16803 (eval $ac_compile) 2>conftest.er1
16804 ac_status=$?
16805 grep -v '^ *+' conftest.er1 >conftest.err
16806 rm -f conftest.er1
16807 cat conftest.err >&5
16808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16809 (exit $ac_status); } &&
16810 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16812 (eval $ac_try) 2>&5
16813 ac_status=$?
16814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16815 (exit $ac_status); }; } &&
16816 { ac_try='test -s conftest.$ac_objext'
16817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16818 (eval $ac_try) 2>&5
16819 ac_status=$?
16820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16821 (exit $ac_status); }; }; then
16822 ac_hi=-1 ac_mid=-1
16823 while :; do
16824 cat >conftest.$ac_ext <<_ACEOF
16825 /* confdefs.h. */
16826 _ACEOF
16827 cat confdefs.h >>conftest.$ac_ext
16828 cat >>conftest.$ac_ext <<_ACEOF
16829 /* end confdefs.h. */
16830 $ac_includes_default
16831 int
16832 main ()
16833 {
16834 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16835 test_array [0] = 0
16836
16837 ;
16838 return 0;
16839 }
16840 _ACEOF
16841 rm -f conftest.$ac_objext
16842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16843 (eval $ac_compile) 2>conftest.er1
16844 ac_status=$?
16845 grep -v '^ *+' conftest.er1 >conftest.err
16846 rm -f conftest.er1
16847 cat conftest.err >&5
16848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16849 (exit $ac_status); } &&
16850 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16852 (eval $ac_try) 2>&5
16853 ac_status=$?
16854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16855 (exit $ac_status); }; } &&
16856 { ac_try='test -s conftest.$ac_objext'
16857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16858 (eval $ac_try) 2>&5
16859 ac_status=$?
16860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16861 (exit $ac_status); }; }; then
16862 ac_lo=$ac_mid; break
16863 else
16864 echo "$as_me: failed program was:" >&5
16865 sed 's/^/| /' conftest.$ac_ext >&5
16866
16867 ac_hi=`expr '(' $ac_mid ')' - 1`
16868 if test $ac_mid -le $ac_hi; then
16869 ac_lo= ac_hi=
16870 break
16871 fi
16872 ac_mid=`expr 2 '*' $ac_mid`
16873 fi
16874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16875 done
16876 else
16877 echo "$as_me: failed program was:" >&5
16878 sed 's/^/| /' conftest.$ac_ext >&5
16879
16880 ac_lo= ac_hi=
16881 fi
16882 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16883 fi
16884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16885 # Binary search between lo and hi bounds.
16886 while test "x$ac_lo" != "x$ac_hi"; do
16887 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16888 cat >conftest.$ac_ext <<_ACEOF
16889 /* confdefs.h. */
16890 _ACEOF
16891 cat confdefs.h >>conftest.$ac_ext
16892 cat >>conftest.$ac_ext <<_ACEOF
16893 /* end confdefs.h. */
16894 $ac_includes_default
16895 int
16896 main ()
16897 {
16898 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16899 test_array [0] = 0
16900
16901 ;
16902 return 0;
16903 }
16904 _ACEOF
16905 rm -f conftest.$ac_objext
16906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16907 (eval $ac_compile) 2>conftest.er1
16908 ac_status=$?
16909 grep -v '^ *+' conftest.er1 >conftest.err
16910 rm -f conftest.er1
16911 cat conftest.err >&5
16912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16913 (exit $ac_status); } &&
16914 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16916 (eval $ac_try) 2>&5
16917 ac_status=$?
16918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16919 (exit $ac_status); }; } &&
16920 { ac_try='test -s conftest.$ac_objext'
16921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16922 (eval $ac_try) 2>&5
16923 ac_status=$?
16924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16925 (exit $ac_status); }; }; then
16926 ac_hi=$ac_mid
16927 else
16928 echo "$as_me: failed program was:" >&5
16929 sed 's/^/| /' conftest.$ac_ext >&5
16930
16931 ac_lo=`expr '(' $ac_mid ')' + 1`
16932 fi
16933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16934 done
16935 case $ac_lo in
16936 ?*) ac_cv_sizeof_int=$ac_lo;;
16937 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16938 See \`config.log' for more details." >&5
16939 echo "$as_me: error: cannot compute sizeof (int), 77
16940 See \`config.log' for more details." >&2;}
16941 { (exit 1); exit 1; }; } ;;
16942 esac
16943 else
16944 if test "$cross_compiling" = yes; then
16945 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16946 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16947 { (exit 1); exit 1; }; }
16948 else
16949 cat >conftest.$ac_ext <<_ACEOF
16950 /* confdefs.h. */
16951 _ACEOF
16952 cat confdefs.h >>conftest.$ac_ext
16953 cat >>conftest.$ac_ext <<_ACEOF
16954 /* end confdefs.h. */
16955 $ac_includes_default
16956 long longval () { return (long) (sizeof (int)); }
16957 unsigned long ulongval () { return (long) (sizeof (int)); }
16958 #include <stdio.h>
16959 #include <stdlib.h>
16960 int
16961 main ()
16962 {
16963
16964 FILE *f = fopen ("conftest.val", "w");
16965 if (! f)
16966 exit (1);
16967 if (((long) (sizeof (int))) < 0)
16968 {
16969 long i = longval ();
16970 if (i != ((long) (sizeof (int))))
16971 exit (1);
16972 fprintf (f, "%ld\n", i);
16973 }
16974 else
16975 {
16976 unsigned long i = ulongval ();
16977 if (i != ((long) (sizeof (int))))
16978 exit (1);
16979 fprintf (f, "%lu\n", i);
16980 }
16981 exit (ferror (f) || fclose (f) != 0);
16982
16983 ;
16984 return 0;
16985 }
16986 _ACEOF
16987 rm -f conftest$ac_exeext
16988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16989 (eval $ac_link) 2>&5
16990 ac_status=$?
16991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16992 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16994 (eval $ac_try) 2>&5
16995 ac_status=$?
16996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16997 (exit $ac_status); }; }; then
16998 ac_cv_sizeof_int=`cat conftest.val`
16999 else
17000 echo "$as_me: program exited with status $ac_status" >&5
17001 echo "$as_me: failed program was:" >&5
17002 sed 's/^/| /' conftest.$ac_ext >&5
17003
17004 ( exit $ac_status )
17005 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17006 See \`config.log' for more details." >&5
17007 echo "$as_me: error: cannot compute sizeof (int), 77
17008 See \`config.log' for more details." >&2;}
17009 { (exit 1); exit 1; }; }
17010 fi
17011 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17012 fi
17013 fi
17014 rm -f conftest.val
17015 else
17016 ac_cv_sizeof_int=0
17017 fi
17018 fi
17019 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
17020 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
17021 cat >>confdefs.h <<_ACEOF
17022 #define SIZEOF_INT $ac_cv_sizeof_int
17023 _ACEOF
17024
17025
17026 echo "$as_me:$LINENO: checking for long" >&5
17027 echo $ECHO_N "checking for long... $ECHO_C" >&6
17028 if test "${ac_cv_type_long+set}" = set; then
17029 echo $ECHO_N "(cached) $ECHO_C" >&6
17030 else
17031 cat >conftest.$ac_ext <<_ACEOF
17032 /* confdefs.h. */
17033 _ACEOF
17034 cat confdefs.h >>conftest.$ac_ext
17035 cat >>conftest.$ac_ext <<_ACEOF
17036 /* end confdefs.h. */
17037 $ac_includes_default
17038 int
17039 main ()
17040 {
17041 if ((long *) 0)
17042 return 0;
17043 if (sizeof (long))
17044 return 0;
17045 ;
17046 return 0;
17047 }
17048 _ACEOF
17049 rm -f conftest.$ac_objext
17050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17051 (eval $ac_compile) 2>conftest.er1
17052 ac_status=$?
17053 grep -v '^ *+' conftest.er1 >conftest.err
17054 rm -f conftest.er1
17055 cat conftest.err >&5
17056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17057 (exit $ac_status); } &&
17058 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17060 (eval $ac_try) 2>&5
17061 ac_status=$?
17062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17063 (exit $ac_status); }; } &&
17064 { ac_try='test -s conftest.$ac_objext'
17065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17066 (eval $ac_try) 2>&5
17067 ac_status=$?
17068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17069 (exit $ac_status); }; }; then
17070 ac_cv_type_long=yes
17071 else
17072 echo "$as_me: failed program was:" >&5
17073 sed 's/^/| /' conftest.$ac_ext >&5
17074
17075 ac_cv_type_long=no
17076 fi
17077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17078 fi
17079 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
17080 echo "${ECHO_T}$ac_cv_type_long" >&6
17081
17082 echo "$as_me:$LINENO: checking size of long" >&5
17083 echo $ECHO_N "checking size of long... $ECHO_C" >&6
17084 if test "${ac_cv_sizeof_long+set}" = set; then
17085 echo $ECHO_N "(cached) $ECHO_C" >&6
17086 else
17087 if test "$ac_cv_type_long" = yes; then
17088 # The cast to unsigned long works around a bug in the HP C Compiler
17089 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17090 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17091 # This bug is HP SR number 8606223364.
17092 if test "$cross_compiling" = yes; then
17093 # Depending upon the size, compute the lo and hi bounds.
17094 cat >conftest.$ac_ext <<_ACEOF
17095 /* confdefs.h. */
17096 _ACEOF
17097 cat confdefs.h >>conftest.$ac_ext
17098 cat >>conftest.$ac_ext <<_ACEOF
17099 /* end confdefs.h. */
17100 $ac_includes_default
17101 int
17102 main ()
17103 {
17104 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
17105 test_array [0] = 0
17106
17107 ;
17108 return 0;
17109 }
17110 _ACEOF
17111 rm -f conftest.$ac_objext
17112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17113 (eval $ac_compile) 2>conftest.er1
17114 ac_status=$?
17115 grep -v '^ *+' conftest.er1 >conftest.err
17116 rm -f conftest.er1
17117 cat conftest.err >&5
17118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17119 (exit $ac_status); } &&
17120 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17122 (eval $ac_try) 2>&5
17123 ac_status=$?
17124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17125 (exit $ac_status); }; } &&
17126 { ac_try='test -s conftest.$ac_objext'
17127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17128 (eval $ac_try) 2>&5
17129 ac_status=$?
17130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17131 (exit $ac_status); }; }; then
17132 ac_lo=0 ac_mid=0
17133 while :; do
17134 cat >conftest.$ac_ext <<_ACEOF
17135 /* confdefs.h. */
17136 _ACEOF
17137 cat confdefs.h >>conftest.$ac_ext
17138 cat >>conftest.$ac_ext <<_ACEOF
17139 /* end confdefs.h. */
17140 $ac_includes_default
17141 int
17142 main ()
17143 {
17144 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17145 test_array [0] = 0
17146
17147 ;
17148 return 0;
17149 }
17150 _ACEOF
17151 rm -f conftest.$ac_objext
17152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17153 (eval $ac_compile) 2>conftest.er1
17154 ac_status=$?
17155 grep -v '^ *+' conftest.er1 >conftest.err
17156 rm -f conftest.er1
17157 cat conftest.err >&5
17158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17159 (exit $ac_status); } &&
17160 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17162 (eval $ac_try) 2>&5
17163 ac_status=$?
17164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17165 (exit $ac_status); }; } &&
17166 { ac_try='test -s conftest.$ac_objext'
17167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17168 (eval $ac_try) 2>&5
17169 ac_status=$?
17170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17171 (exit $ac_status); }; }; then
17172 ac_hi=$ac_mid; break
17173 else
17174 echo "$as_me: failed program was:" >&5
17175 sed 's/^/| /' conftest.$ac_ext >&5
17176
17177 ac_lo=`expr $ac_mid + 1`
17178 if test $ac_lo -le $ac_mid; then
17179 ac_lo= ac_hi=
17180 break
17181 fi
17182 ac_mid=`expr 2 '*' $ac_mid + 1`
17183 fi
17184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17185 done
17186 else
17187 echo "$as_me: failed program was:" >&5
17188 sed 's/^/| /' conftest.$ac_ext >&5
17189
17190 cat >conftest.$ac_ext <<_ACEOF
17191 /* confdefs.h. */
17192 _ACEOF
17193 cat confdefs.h >>conftest.$ac_ext
17194 cat >>conftest.$ac_ext <<_ACEOF
17195 /* end confdefs.h. */
17196 $ac_includes_default
17197 int
17198 main ()
17199 {
17200 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
17201 test_array [0] = 0
17202
17203 ;
17204 return 0;
17205 }
17206 _ACEOF
17207 rm -f conftest.$ac_objext
17208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17209 (eval $ac_compile) 2>conftest.er1
17210 ac_status=$?
17211 grep -v '^ *+' conftest.er1 >conftest.err
17212 rm -f conftest.er1
17213 cat conftest.err >&5
17214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17215 (exit $ac_status); } &&
17216 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17218 (eval $ac_try) 2>&5
17219 ac_status=$?
17220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17221 (exit $ac_status); }; } &&
17222 { ac_try='test -s conftest.$ac_objext'
17223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17224 (eval $ac_try) 2>&5
17225 ac_status=$?
17226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17227 (exit $ac_status); }; }; then
17228 ac_hi=-1 ac_mid=-1
17229 while :; do
17230 cat >conftest.$ac_ext <<_ACEOF
17231 /* confdefs.h. */
17232 _ACEOF
17233 cat confdefs.h >>conftest.$ac_ext
17234 cat >>conftest.$ac_ext <<_ACEOF
17235 /* end confdefs.h. */
17236 $ac_includes_default
17237 int
17238 main ()
17239 {
17240 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
17241 test_array [0] = 0
17242
17243 ;
17244 return 0;
17245 }
17246 _ACEOF
17247 rm -f conftest.$ac_objext
17248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17249 (eval $ac_compile) 2>conftest.er1
17250 ac_status=$?
17251 grep -v '^ *+' conftest.er1 >conftest.err
17252 rm -f conftest.er1
17253 cat conftest.err >&5
17254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17255 (exit $ac_status); } &&
17256 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17258 (eval $ac_try) 2>&5
17259 ac_status=$?
17260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17261 (exit $ac_status); }; } &&
17262 { ac_try='test -s conftest.$ac_objext'
17263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17264 (eval $ac_try) 2>&5
17265 ac_status=$?
17266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17267 (exit $ac_status); }; }; then
17268 ac_lo=$ac_mid; break
17269 else
17270 echo "$as_me: failed program was:" >&5
17271 sed 's/^/| /' conftest.$ac_ext >&5
17272
17273 ac_hi=`expr '(' $ac_mid ')' - 1`
17274 if test $ac_mid -le $ac_hi; then
17275 ac_lo= ac_hi=
17276 break
17277 fi
17278 ac_mid=`expr 2 '*' $ac_mid`
17279 fi
17280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17281 done
17282 else
17283 echo "$as_me: failed program was:" >&5
17284 sed 's/^/| /' conftest.$ac_ext >&5
17285
17286 ac_lo= ac_hi=
17287 fi
17288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17289 fi
17290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17291 # Binary search between lo and hi bounds.
17292 while test "x$ac_lo" != "x$ac_hi"; do
17293 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17294 cat >conftest.$ac_ext <<_ACEOF
17295 /* confdefs.h. */
17296 _ACEOF
17297 cat confdefs.h >>conftest.$ac_ext
17298 cat >>conftest.$ac_ext <<_ACEOF
17299 /* end confdefs.h. */
17300 $ac_includes_default
17301 int
17302 main ()
17303 {
17304 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17305 test_array [0] = 0
17306
17307 ;
17308 return 0;
17309 }
17310 _ACEOF
17311 rm -f conftest.$ac_objext
17312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17313 (eval $ac_compile) 2>conftest.er1
17314 ac_status=$?
17315 grep -v '^ *+' conftest.er1 >conftest.err
17316 rm -f conftest.er1
17317 cat conftest.err >&5
17318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17319 (exit $ac_status); } &&
17320 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17322 (eval $ac_try) 2>&5
17323 ac_status=$?
17324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17325 (exit $ac_status); }; } &&
17326 { ac_try='test -s conftest.$ac_objext'
17327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17328 (eval $ac_try) 2>&5
17329 ac_status=$?
17330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17331 (exit $ac_status); }; }; then
17332 ac_hi=$ac_mid
17333 else
17334 echo "$as_me: failed program was:" >&5
17335 sed 's/^/| /' conftest.$ac_ext >&5
17336
17337 ac_lo=`expr '(' $ac_mid ')' + 1`
17338 fi
17339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17340 done
17341 case $ac_lo in
17342 ?*) ac_cv_sizeof_long=$ac_lo;;
17343 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17344 See \`config.log' for more details." >&5
17345 echo "$as_me: error: cannot compute sizeof (long), 77
17346 See \`config.log' for more details." >&2;}
17347 { (exit 1); exit 1; }; } ;;
17348 esac
17349 else
17350 if test "$cross_compiling" = yes; then
17351 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17352 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17353 { (exit 1); exit 1; }; }
17354 else
17355 cat >conftest.$ac_ext <<_ACEOF
17356 /* confdefs.h. */
17357 _ACEOF
17358 cat confdefs.h >>conftest.$ac_ext
17359 cat >>conftest.$ac_ext <<_ACEOF
17360 /* end confdefs.h. */
17361 $ac_includes_default
17362 long longval () { return (long) (sizeof (long)); }
17363 unsigned long ulongval () { return (long) (sizeof (long)); }
17364 #include <stdio.h>
17365 #include <stdlib.h>
17366 int
17367 main ()
17368 {
17369
17370 FILE *f = fopen ("conftest.val", "w");
17371 if (! f)
17372 exit (1);
17373 if (((long) (sizeof (long))) < 0)
17374 {
17375 long i = longval ();
17376 if (i != ((long) (sizeof (long))))
17377 exit (1);
17378 fprintf (f, "%ld\n", i);
17379 }
17380 else
17381 {
17382 unsigned long i = ulongval ();
17383 if (i != ((long) (sizeof (long))))
17384 exit (1);
17385 fprintf (f, "%lu\n", i);
17386 }
17387 exit (ferror (f) || fclose (f) != 0);
17388
17389 ;
17390 return 0;
17391 }
17392 _ACEOF
17393 rm -f conftest$ac_exeext
17394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17395 (eval $ac_link) 2>&5
17396 ac_status=$?
17397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17398 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17400 (eval $ac_try) 2>&5
17401 ac_status=$?
17402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17403 (exit $ac_status); }; }; then
17404 ac_cv_sizeof_long=`cat conftest.val`
17405 else
17406 echo "$as_me: program exited with status $ac_status" >&5
17407 echo "$as_me: failed program was:" >&5
17408 sed 's/^/| /' conftest.$ac_ext >&5
17409
17410 ( exit $ac_status )
17411 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17412 See \`config.log' for more details." >&5
17413 echo "$as_me: error: cannot compute sizeof (long), 77
17414 See \`config.log' for more details." >&2;}
17415 { (exit 1); exit 1; }; }
17416 fi
17417 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17418 fi
17419 fi
17420 rm -f conftest.val
17421 else
17422 ac_cv_sizeof_long=0
17423 fi
17424 fi
17425 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17426 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
17427 cat >>confdefs.h <<_ACEOF
17428 #define SIZEOF_LONG $ac_cv_sizeof_long
17429 _ACEOF
17430
17431
17432 echo "$as_me:$LINENO: checking for size_t" >&5
17433 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17434 if test "${ac_cv_type_size_t+set}" = set; then
17435 echo $ECHO_N "(cached) $ECHO_C" >&6
17436 else
17437 cat >conftest.$ac_ext <<_ACEOF
17438 /* confdefs.h. */
17439 _ACEOF
17440 cat confdefs.h >>conftest.$ac_ext
17441 cat >>conftest.$ac_ext <<_ACEOF
17442 /* end confdefs.h. */
17443 $ac_includes_default
17444 int
17445 main ()
17446 {
17447 if ((size_t *) 0)
17448 return 0;
17449 if (sizeof (size_t))
17450 return 0;
17451 ;
17452 return 0;
17453 }
17454 _ACEOF
17455 rm -f conftest.$ac_objext
17456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17457 (eval $ac_compile) 2>conftest.er1
17458 ac_status=$?
17459 grep -v '^ *+' conftest.er1 >conftest.err
17460 rm -f conftest.er1
17461 cat conftest.err >&5
17462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17463 (exit $ac_status); } &&
17464 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17466 (eval $ac_try) 2>&5
17467 ac_status=$?
17468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17469 (exit $ac_status); }; } &&
17470 { ac_try='test -s conftest.$ac_objext'
17471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17472 (eval $ac_try) 2>&5
17473 ac_status=$?
17474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17475 (exit $ac_status); }; }; then
17476 ac_cv_type_size_t=yes
17477 else
17478 echo "$as_me: failed program was:" >&5
17479 sed 's/^/| /' conftest.$ac_ext >&5
17480
17481 ac_cv_type_size_t=no
17482 fi
17483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17484 fi
17485 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17486 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17487
17488 echo "$as_me:$LINENO: checking size of size_t" >&5
17489 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
17490 if test "${ac_cv_sizeof_size_t+set}" = set; then
17491 echo $ECHO_N "(cached) $ECHO_C" >&6
17492 else
17493 if test "$ac_cv_type_size_t" = yes; then
17494 # The cast to unsigned long works around a bug in the HP C Compiler
17495 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17496 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17497 # This bug is HP SR number 8606223364.
17498 if test "$cross_compiling" = yes; then
17499 # Depending upon the size, compute the lo and hi bounds.
17500 cat >conftest.$ac_ext <<_ACEOF
17501 /* confdefs.h. */
17502 _ACEOF
17503 cat confdefs.h >>conftest.$ac_ext
17504 cat >>conftest.$ac_ext <<_ACEOF
17505 /* end confdefs.h. */
17506 $ac_includes_default
17507 int
17508 main ()
17509 {
17510 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
17511 test_array [0] = 0
17512
17513 ;
17514 return 0;
17515 }
17516 _ACEOF
17517 rm -f conftest.$ac_objext
17518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17519 (eval $ac_compile) 2>conftest.er1
17520 ac_status=$?
17521 grep -v '^ *+' conftest.er1 >conftest.err
17522 rm -f conftest.er1
17523 cat conftest.err >&5
17524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17525 (exit $ac_status); } &&
17526 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17528 (eval $ac_try) 2>&5
17529 ac_status=$?
17530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17531 (exit $ac_status); }; } &&
17532 { ac_try='test -s conftest.$ac_objext'
17533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17534 (eval $ac_try) 2>&5
17535 ac_status=$?
17536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17537 (exit $ac_status); }; }; then
17538 ac_lo=0 ac_mid=0
17539 while :; do
17540 cat >conftest.$ac_ext <<_ACEOF
17541 /* confdefs.h. */
17542 _ACEOF
17543 cat confdefs.h >>conftest.$ac_ext
17544 cat >>conftest.$ac_ext <<_ACEOF
17545 /* end confdefs.h. */
17546 $ac_includes_default
17547 int
17548 main ()
17549 {
17550 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17551 test_array [0] = 0
17552
17553 ;
17554 return 0;
17555 }
17556 _ACEOF
17557 rm -f conftest.$ac_objext
17558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17559 (eval $ac_compile) 2>conftest.er1
17560 ac_status=$?
17561 grep -v '^ *+' conftest.er1 >conftest.err
17562 rm -f conftest.er1
17563 cat conftest.err >&5
17564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17565 (exit $ac_status); } &&
17566 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17568 (eval $ac_try) 2>&5
17569 ac_status=$?
17570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17571 (exit $ac_status); }; } &&
17572 { ac_try='test -s conftest.$ac_objext'
17573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17574 (eval $ac_try) 2>&5
17575 ac_status=$?
17576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17577 (exit $ac_status); }; }; then
17578 ac_hi=$ac_mid; break
17579 else
17580 echo "$as_me: failed program was:" >&5
17581 sed 's/^/| /' conftest.$ac_ext >&5
17582
17583 ac_lo=`expr $ac_mid + 1`
17584 if test $ac_lo -le $ac_mid; then
17585 ac_lo= ac_hi=
17586 break
17587 fi
17588 ac_mid=`expr 2 '*' $ac_mid + 1`
17589 fi
17590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17591 done
17592 else
17593 echo "$as_me: failed program was:" >&5
17594 sed 's/^/| /' conftest.$ac_ext >&5
17595
17596 cat >conftest.$ac_ext <<_ACEOF
17597 /* confdefs.h. */
17598 _ACEOF
17599 cat confdefs.h >>conftest.$ac_ext
17600 cat >>conftest.$ac_ext <<_ACEOF
17601 /* end confdefs.h. */
17602 $ac_includes_default
17603 int
17604 main ()
17605 {
17606 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
17607 test_array [0] = 0
17608
17609 ;
17610 return 0;
17611 }
17612 _ACEOF
17613 rm -f conftest.$ac_objext
17614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17615 (eval $ac_compile) 2>conftest.er1
17616 ac_status=$?
17617 grep -v '^ *+' conftest.er1 >conftest.err
17618 rm -f conftest.er1
17619 cat conftest.err >&5
17620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17621 (exit $ac_status); } &&
17622 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17624 (eval $ac_try) 2>&5
17625 ac_status=$?
17626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17627 (exit $ac_status); }; } &&
17628 { ac_try='test -s conftest.$ac_objext'
17629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17630 (eval $ac_try) 2>&5
17631 ac_status=$?
17632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17633 (exit $ac_status); }; }; then
17634 ac_hi=-1 ac_mid=-1
17635 while :; do
17636 cat >conftest.$ac_ext <<_ACEOF
17637 /* confdefs.h. */
17638 _ACEOF
17639 cat confdefs.h >>conftest.$ac_ext
17640 cat >>conftest.$ac_ext <<_ACEOF
17641 /* end confdefs.h. */
17642 $ac_includes_default
17643 int
17644 main ()
17645 {
17646 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
17647 test_array [0] = 0
17648
17649 ;
17650 return 0;
17651 }
17652 _ACEOF
17653 rm -f conftest.$ac_objext
17654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17655 (eval $ac_compile) 2>conftest.er1
17656 ac_status=$?
17657 grep -v '^ *+' conftest.er1 >conftest.err
17658 rm -f conftest.er1
17659 cat conftest.err >&5
17660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17661 (exit $ac_status); } &&
17662 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17664 (eval $ac_try) 2>&5
17665 ac_status=$?
17666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17667 (exit $ac_status); }; } &&
17668 { ac_try='test -s conftest.$ac_objext'
17669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17670 (eval $ac_try) 2>&5
17671 ac_status=$?
17672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17673 (exit $ac_status); }; }; then
17674 ac_lo=$ac_mid; break
17675 else
17676 echo "$as_me: failed program was:" >&5
17677 sed 's/^/| /' conftest.$ac_ext >&5
17678
17679 ac_hi=`expr '(' $ac_mid ')' - 1`
17680 if test $ac_mid -le $ac_hi; then
17681 ac_lo= ac_hi=
17682 break
17683 fi
17684 ac_mid=`expr 2 '*' $ac_mid`
17685 fi
17686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17687 done
17688 else
17689 echo "$as_me: failed program was:" >&5
17690 sed 's/^/| /' conftest.$ac_ext >&5
17691
17692 ac_lo= ac_hi=
17693 fi
17694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17695 fi
17696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17697 # Binary search between lo and hi bounds.
17698 while test "x$ac_lo" != "x$ac_hi"; do
17699 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17700 cat >conftest.$ac_ext <<_ACEOF
17701 /* confdefs.h. */
17702 _ACEOF
17703 cat confdefs.h >>conftest.$ac_ext
17704 cat >>conftest.$ac_ext <<_ACEOF
17705 /* end confdefs.h. */
17706 $ac_includes_default
17707 int
17708 main ()
17709 {
17710 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17711 test_array [0] = 0
17712
17713 ;
17714 return 0;
17715 }
17716 _ACEOF
17717 rm -f conftest.$ac_objext
17718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17719 (eval $ac_compile) 2>conftest.er1
17720 ac_status=$?
17721 grep -v '^ *+' conftest.er1 >conftest.err
17722 rm -f conftest.er1
17723 cat conftest.err >&5
17724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17725 (exit $ac_status); } &&
17726 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17728 (eval $ac_try) 2>&5
17729 ac_status=$?
17730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17731 (exit $ac_status); }; } &&
17732 { ac_try='test -s conftest.$ac_objext'
17733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17734 (eval $ac_try) 2>&5
17735 ac_status=$?
17736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17737 (exit $ac_status); }; }; then
17738 ac_hi=$ac_mid
17739 else
17740 echo "$as_me: failed program was:" >&5
17741 sed 's/^/| /' conftest.$ac_ext >&5
17742
17743 ac_lo=`expr '(' $ac_mid ')' + 1`
17744 fi
17745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17746 done
17747 case $ac_lo in
17748 ?*) ac_cv_sizeof_size_t=$ac_lo;;
17749 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17750 See \`config.log' for more details." >&5
17751 echo "$as_me: error: cannot compute sizeof (size_t), 77
17752 See \`config.log' for more details." >&2;}
17753 { (exit 1); exit 1; }; } ;;
17754 esac
17755 else
17756 if test "$cross_compiling" = yes; then
17757 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17758 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17759 { (exit 1); exit 1; }; }
17760 else
17761 cat >conftest.$ac_ext <<_ACEOF
17762 /* confdefs.h. */
17763 _ACEOF
17764 cat confdefs.h >>conftest.$ac_ext
17765 cat >>conftest.$ac_ext <<_ACEOF
17766 /* end confdefs.h. */
17767 $ac_includes_default
17768 long longval () { return (long) (sizeof (size_t)); }
17769 unsigned long ulongval () { return (long) (sizeof (size_t)); }
17770 #include <stdio.h>
17771 #include <stdlib.h>
17772 int
17773 main ()
17774 {
17775
17776 FILE *f = fopen ("conftest.val", "w");
17777 if (! f)
17778 exit (1);
17779 if (((long) (sizeof (size_t))) < 0)
17780 {
17781 long i = longval ();
17782 if (i != ((long) (sizeof (size_t))))
17783 exit (1);
17784 fprintf (f, "%ld\n", i);
17785 }
17786 else
17787 {
17788 unsigned long i = ulongval ();
17789 if (i != ((long) (sizeof (size_t))))
17790 exit (1);
17791 fprintf (f, "%lu\n", i);
17792 }
17793 exit (ferror (f) || fclose (f) != 0);
17794
17795 ;
17796 return 0;
17797 }
17798 _ACEOF
17799 rm -f conftest$ac_exeext
17800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17801 (eval $ac_link) 2>&5
17802 ac_status=$?
17803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17804 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17806 (eval $ac_try) 2>&5
17807 ac_status=$?
17808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17809 (exit $ac_status); }; }; then
17810 ac_cv_sizeof_size_t=`cat conftest.val`
17811 else
17812 echo "$as_me: program exited with status $ac_status" >&5
17813 echo "$as_me: failed program was:" >&5
17814 sed 's/^/| /' conftest.$ac_ext >&5
17815
17816 ( exit $ac_status )
17817 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17818 See \`config.log' for more details." >&5
17819 echo "$as_me: error: cannot compute sizeof (size_t), 77
17820 See \`config.log' for more details." >&2;}
17821 { (exit 1); exit 1; }; }
17822 fi
17823 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17824 fi
17825 fi
17826 rm -f conftest.val
17827 else
17828 ac_cv_sizeof_size_t=0
17829 fi
17830 fi
17831 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
17832 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
17833 cat >>confdefs.h <<_ACEOF
17834 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
17835 _ACEOF
17836
17837
17838
17839 case "${host}" in
17840 arm-*-linux* )
17841 echo "$as_me:$LINENO: checking for long long" >&5
17842 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17843 if test "${ac_cv_type_long_long+set}" = set; then
17844 echo $ECHO_N "(cached) $ECHO_C" >&6
17845 else
17846 cat >conftest.$ac_ext <<_ACEOF
17847 /* confdefs.h. */
17848 _ACEOF
17849 cat confdefs.h >>conftest.$ac_ext
17850 cat >>conftest.$ac_ext <<_ACEOF
17851 /* end confdefs.h. */
17852 $ac_includes_default
17853 int
17854 main ()
17855 {
17856 if ((long long *) 0)
17857 return 0;
17858 if (sizeof (long long))
17859 return 0;
17860 ;
17861 return 0;
17862 }
17863 _ACEOF
17864 rm -f conftest.$ac_objext
17865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17866 (eval $ac_compile) 2>conftest.er1
17867 ac_status=$?
17868 grep -v '^ *+' conftest.er1 >conftest.err
17869 rm -f conftest.er1
17870 cat conftest.err >&5
17871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17872 (exit $ac_status); } &&
17873 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17875 (eval $ac_try) 2>&5
17876 ac_status=$?
17877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17878 (exit $ac_status); }; } &&
17879 { ac_try='test -s conftest.$ac_objext'
17880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17881 (eval $ac_try) 2>&5
17882 ac_status=$?
17883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17884 (exit $ac_status); }; }; then
17885 ac_cv_type_long_long=yes
17886 else
17887 echo "$as_me: failed program was:" >&5
17888 sed 's/^/| /' conftest.$ac_ext >&5
17889
17890 ac_cv_type_long_long=no
17891 fi
17892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17893 fi
17894 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17895 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17896
17897 echo "$as_me:$LINENO: checking size of long long" >&5
17898 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17899 if test "${ac_cv_sizeof_long_long+set}" = set; then
17900 echo $ECHO_N "(cached) $ECHO_C" >&6
17901 else
17902 if test "$ac_cv_type_long_long" = yes; then
17903 # The cast to unsigned long works around a bug in the HP C Compiler
17904 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17905 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17906 # This bug is HP SR number 8606223364.
17907 if test "$cross_compiling" = yes; then
17908 # Depending upon the size, compute the lo and hi bounds.
17909 cat >conftest.$ac_ext <<_ACEOF
17910 /* confdefs.h. */
17911 _ACEOF
17912 cat confdefs.h >>conftest.$ac_ext
17913 cat >>conftest.$ac_ext <<_ACEOF
17914 /* end confdefs.h. */
17915 $ac_includes_default
17916 int
17917 main ()
17918 {
17919 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17920 test_array [0] = 0
17921
17922 ;
17923 return 0;
17924 }
17925 _ACEOF
17926 rm -f conftest.$ac_objext
17927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17928 (eval $ac_compile) 2>conftest.er1
17929 ac_status=$?
17930 grep -v '^ *+' conftest.er1 >conftest.err
17931 rm -f conftest.er1
17932 cat conftest.err >&5
17933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17934 (exit $ac_status); } &&
17935 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17937 (eval $ac_try) 2>&5
17938 ac_status=$?
17939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17940 (exit $ac_status); }; } &&
17941 { ac_try='test -s conftest.$ac_objext'
17942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17943 (eval $ac_try) 2>&5
17944 ac_status=$?
17945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17946 (exit $ac_status); }; }; then
17947 ac_lo=0 ac_mid=0
17948 while :; do
17949 cat >conftest.$ac_ext <<_ACEOF
17950 /* confdefs.h. */
17951 _ACEOF
17952 cat confdefs.h >>conftest.$ac_ext
17953 cat >>conftest.$ac_ext <<_ACEOF
17954 /* end confdefs.h. */
17955 $ac_includes_default
17956 int
17957 main ()
17958 {
17959 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17960 test_array [0] = 0
17961
17962 ;
17963 return 0;
17964 }
17965 _ACEOF
17966 rm -f conftest.$ac_objext
17967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17968 (eval $ac_compile) 2>conftest.er1
17969 ac_status=$?
17970 grep -v '^ *+' conftest.er1 >conftest.err
17971 rm -f conftest.er1
17972 cat conftest.err >&5
17973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17974 (exit $ac_status); } &&
17975 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17977 (eval $ac_try) 2>&5
17978 ac_status=$?
17979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17980 (exit $ac_status); }; } &&
17981 { ac_try='test -s conftest.$ac_objext'
17982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17983 (eval $ac_try) 2>&5
17984 ac_status=$?
17985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17986 (exit $ac_status); }; }; then
17987 ac_hi=$ac_mid; break
17988 else
17989 echo "$as_me: failed program was:" >&5
17990 sed 's/^/| /' conftest.$ac_ext >&5
17991
17992 ac_lo=`expr $ac_mid + 1`
17993 if test $ac_lo -le $ac_mid; then
17994 ac_lo= ac_hi=
17995 break
17996 fi
17997 ac_mid=`expr 2 '*' $ac_mid + 1`
17998 fi
17999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18000 done
18001 else
18002 echo "$as_me: failed program was:" >&5
18003 sed 's/^/| /' conftest.$ac_ext >&5
18004
18005 cat >conftest.$ac_ext <<_ACEOF
18006 /* confdefs.h. */
18007 _ACEOF
18008 cat confdefs.h >>conftest.$ac_ext
18009 cat >>conftest.$ac_ext <<_ACEOF
18010 /* end confdefs.h. */
18011 $ac_includes_default
18012 int
18013 main ()
18014 {
18015 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18016 test_array [0] = 0
18017
18018 ;
18019 return 0;
18020 }
18021 _ACEOF
18022 rm -f conftest.$ac_objext
18023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18024 (eval $ac_compile) 2>conftest.er1
18025 ac_status=$?
18026 grep -v '^ *+' conftest.er1 >conftest.err
18027 rm -f conftest.er1
18028 cat conftest.err >&5
18029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18030 (exit $ac_status); } &&
18031 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18033 (eval $ac_try) 2>&5
18034 ac_status=$?
18035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18036 (exit $ac_status); }; } &&
18037 { ac_try='test -s conftest.$ac_objext'
18038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18039 (eval $ac_try) 2>&5
18040 ac_status=$?
18041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18042 (exit $ac_status); }; }; then
18043 ac_hi=-1 ac_mid=-1
18044 while :; do
18045 cat >conftest.$ac_ext <<_ACEOF
18046 /* confdefs.h. */
18047 _ACEOF
18048 cat confdefs.h >>conftest.$ac_ext
18049 cat >>conftest.$ac_ext <<_ACEOF
18050 /* end confdefs.h. */
18051 $ac_includes_default
18052 int
18053 main ()
18054 {
18055 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18056 test_array [0] = 0
18057
18058 ;
18059 return 0;
18060 }
18061 _ACEOF
18062 rm -f conftest.$ac_objext
18063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18064 (eval $ac_compile) 2>conftest.er1
18065 ac_status=$?
18066 grep -v '^ *+' conftest.er1 >conftest.err
18067 rm -f conftest.er1
18068 cat conftest.err >&5
18069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18070 (exit $ac_status); } &&
18071 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18073 (eval $ac_try) 2>&5
18074 ac_status=$?
18075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18076 (exit $ac_status); }; } &&
18077 { ac_try='test -s conftest.$ac_objext'
18078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18079 (eval $ac_try) 2>&5
18080 ac_status=$?
18081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18082 (exit $ac_status); }; }; then
18083 ac_lo=$ac_mid; break
18084 else
18085 echo "$as_me: failed program was:" >&5
18086 sed 's/^/| /' conftest.$ac_ext >&5
18087
18088 ac_hi=`expr '(' $ac_mid ')' - 1`
18089 if test $ac_mid -le $ac_hi; then
18090 ac_lo= ac_hi=
18091 break
18092 fi
18093 ac_mid=`expr 2 '*' $ac_mid`
18094 fi
18095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18096 done
18097 else
18098 echo "$as_me: failed program was:" >&5
18099 sed 's/^/| /' conftest.$ac_ext >&5
18100
18101 ac_lo= ac_hi=
18102 fi
18103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18104 fi
18105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18106 # Binary search between lo and hi bounds.
18107 while test "x$ac_lo" != "x$ac_hi"; do
18108 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18109 cat >conftest.$ac_ext <<_ACEOF
18110 /* confdefs.h. */
18111 _ACEOF
18112 cat confdefs.h >>conftest.$ac_ext
18113 cat >>conftest.$ac_ext <<_ACEOF
18114 /* end confdefs.h. */
18115 $ac_includes_default
18116 int
18117 main ()
18118 {
18119 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18120 test_array [0] = 0
18121
18122 ;
18123 return 0;
18124 }
18125 _ACEOF
18126 rm -f conftest.$ac_objext
18127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18128 (eval $ac_compile) 2>conftest.er1
18129 ac_status=$?
18130 grep -v '^ *+' conftest.er1 >conftest.err
18131 rm -f conftest.er1
18132 cat conftest.err >&5
18133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18134 (exit $ac_status); } &&
18135 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18137 (eval $ac_try) 2>&5
18138 ac_status=$?
18139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18140 (exit $ac_status); }; } &&
18141 { ac_try='test -s conftest.$ac_objext'
18142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18143 (eval $ac_try) 2>&5
18144 ac_status=$?
18145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18146 (exit $ac_status); }; }; then
18147 ac_hi=$ac_mid
18148 else
18149 echo "$as_me: failed program was:" >&5
18150 sed 's/^/| /' conftest.$ac_ext >&5
18151
18152 ac_lo=`expr '(' $ac_mid ')' + 1`
18153 fi
18154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18155 done
18156 case $ac_lo in
18157 ?*) ac_cv_sizeof_long_long=$ac_lo;;
18158 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18159 See \`config.log' for more details." >&5
18160 echo "$as_me: error: cannot compute sizeof (long long), 77
18161 See \`config.log' for more details." >&2;}
18162 { (exit 1); exit 1; }; } ;;
18163 esac
18164 else
18165 if test "$cross_compiling" = yes; then
18166 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18167 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18168 { (exit 1); exit 1; }; }
18169 else
18170 cat >conftest.$ac_ext <<_ACEOF
18171 /* confdefs.h. */
18172 _ACEOF
18173 cat confdefs.h >>conftest.$ac_ext
18174 cat >>conftest.$ac_ext <<_ACEOF
18175 /* end confdefs.h. */
18176 $ac_includes_default
18177 long longval () { return (long) (sizeof (long long)); }
18178 unsigned long ulongval () { return (long) (sizeof (long long)); }
18179 #include <stdio.h>
18180 #include <stdlib.h>
18181 int
18182 main ()
18183 {
18184
18185 FILE *f = fopen ("conftest.val", "w");
18186 if (! f)
18187 exit (1);
18188 if (((long) (sizeof (long long))) < 0)
18189 {
18190 long i = longval ();
18191 if (i != ((long) (sizeof (long long))))
18192 exit (1);
18193 fprintf (f, "%ld\n", i);
18194 }
18195 else
18196 {
18197 unsigned long i = ulongval ();
18198 if (i != ((long) (sizeof (long long))))
18199 exit (1);
18200 fprintf (f, "%lu\n", i);
18201 }
18202 exit (ferror (f) || fclose (f) != 0);
18203
18204 ;
18205 return 0;
18206 }
18207 _ACEOF
18208 rm -f conftest$ac_exeext
18209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18210 (eval $ac_link) 2>&5
18211 ac_status=$?
18212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18213 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18215 (eval $ac_try) 2>&5
18216 ac_status=$?
18217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18218 (exit $ac_status); }; }; then
18219 ac_cv_sizeof_long_long=`cat conftest.val`
18220 else
18221 echo "$as_me: program exited with status $ac_status" >&5
18222 echo "$as_me: failed program was:" >&5
18223 sed 's/^/| /' conftest.$ac_ext >&5
18224
18225 ( exit $ac_status )
18226 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18227 See \`config.log' for more details." >&5
18228 echo "$as_me: error: cannot compute sizeof (long long), 77
18229 See \`config.log' for more details." >&2;}
18230 { (exit 1); exit 1; }; }
18231 fi
18232 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18233 fi
18234 fi
18235 rm -f conftest.val
18236 else
18237 ac_cv_sizeof_long_long=0
18238 fi
18239 fi
18240 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18241 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18242 cat >>confdefs.h <<_ACEOF
18243 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18244 _ACEOF
18245
18246
18247 ;;
18248 *-hp-hpux* )
18249 echo "$as_me:$LINENO: checking for long long" >&5
18250 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18251 if test "${ac_cv_type_long_long+set}" = set; then
18252 echo $ECHO_N "(cached) $ECHO_C" >&6
18253 else
18254 cat >conftest.$ac_ext <<_ACEOF
18255 /* confdefs.h. */
18256 _ACEOF
18257 cat confdefs.h >>conftest.$ac_ext
18258 cat >>conftest.$ac_ext <<_ACEOF
18259 /* end confdefs.h. */
18260 $ac_includes_default
18261 int
18262 main ()
18263 {
18264 if ((long long *) 0)
18265 return 0;
18266 if (sizeof (long long))
18267 return 0;
18268 ;
18269 return 0;
18270 }
18271 _ACEOF
18272 rm -f conftest.$ac_objext
18273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18274 (eval $ac_compile) 2>conftest.er1
18275 ac_status=$?
18276 grep -v '^ *+' conftest.er1 >conftest.err
18277 rm -f conftest.er1
18278 cat conftest.err >&5
18279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18280 (exit $ac_status); } &&
18281 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18283 (eval $ac_try) 2>&5
18284 ac_status=$?
18285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18286 (exit $ac_status); }; } &&
18287 { ac_try='test -s conftest.$ac_objext'
18288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18289 (eval $ac_try) 2>&5
18290 ac_status=$?
18291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18292 (exit $ac_status); }; }; then
18293 ac_cv_type_long_long=yes
18294 else
18295 echo "$as_me: failed program was:" >&5
18296 sed 's/^/| /' conftest.$ac_ext >&5
18297
18298 ac_cv_type_long_long=no
18299 fi
18300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18301 fi
18302 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18303 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18304
18305 echo "$as_me:$LINENO: checking size of long long" >&5
18306 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18307 if test "${ac_cv_sizeof_long_long+set}" = set; then
18308 echo $ECHO_N "(cached) $ECHO_C" >&6
18309 else
18310 if test "$ac_cv_type_long_long" = yes; then
18311 # The cast to unsigned long works around a bug in the HP C Compiler
18312 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18313 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18314 # This bug is HP SR number 8606223364.
18315 if test "$cross_compiling" = yes; then
18316 # Depending upon the size, compute the lo and hi bounds.
18317 cat >conftest.$ac_ext <<_ACEOF
18318 /* confdefs.h. */
18319 _ACEOF
18320 cat confdefs.h >>conftest.$ac_ext
18321 cat >>conftest.$ac_ext <<_ACEOF
18322 /* end confdefs.h. */
18323 $ac_includes_default
18324 int
18325 main ()
18326 {
18327 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18328 test_array [0] = 0
18329
18330 ;
18331 return 0;
18332 }
18333 _ACEOF
18334 rm -f conftest.$ac_objext
18335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18336 (eval $ac_compile) 2>conftest.er1
18337 ac_status=$?
18338 grep -v '^ *+' conftest.er1 >conftest.err
18339 rm -f conftest.er1
18340 cat conftest.err >&5
18341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18342 (exit $ac_status); } &&
18343 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18345 (eval $ac_try) 2>&5
18346 ac_status=$?
18347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18348 (exit $ac_status); }; } &&
18349 { ac_try='test -s conftest.$ac_objext'
18350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18351 (eval $ac_try) 2>&5
18352 ac_status=$?
18353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18354 (exit $ac_status); }; }; then
18355 ac_lo=0 ac_mid=0
18356 while :; do
18357 cat >conftest.$ac_ext <<_ACEOF
18358 /* confdefs.h. */
18359 _ACEOF
18360 cat confdefs.h >>conftest.$ac_ext
18361 cat >>conftest.$ac_ext <<_ACEOF
18362 /* end confdefs.h. */
18363 $ac_includes_default
18364 int
18365 main ()
18366 {
18367 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18368 test_array [0] = 0
18369
18370 ;
18371 return 0;
18372 }
18373 _ACEOF
18374 rm -f conftest.$ac_objext
18375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18376 (eval $ac_compile) 2>conftest.er1
18377 ac_status=$?
18378 grep -v '^ *+' conftest.er1 >conftest.err
18379 rm -f conftest.er1
18380 cat conftest.err >&5
18381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18382 (exit $ac_status); } &&
18383 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18385 (eval $ac_try) 2>&5
18386 ac_status=$?
18387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18388 (exit $ac_status); }; } &&
18389 { ac_try='test -s conftest.$ac_objext'
18390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18391 (eval $ac_try) 2>&5
18392 ac_status=$?
18393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18394 (exit $ac_status); }; }; then
18395 ac_hi=$ac_mid; break
18396 else
18397 echo "$as_me: failed program was:" >&5
18398 sed 's/^/| /' conftest.$ac_ext >&5
18399
18400 ac_lo=`expr $ac_mid + 1`
18401 if test $ac_lo -le $ac_mid; then
18402 ac_lo= ac_hi=
18403 break
18404 fi
18405 ac_mid=`expr 2 '*' $ac_mid + 1`
18406 fi
18407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18408 done
18409 else
18410 echo "$as_me: failed program was:" >&5
18411 sed 's/^/| /' conftest.$ac_ext >&5
18412
18413 cat >conftest.$ac_ext <<_ACEOF
18414 /* confdefs.h. */
18415 _ACEOF
18416 cat confdefs.h >>conftest.$ac_ext
18417 cat >>conftest.$ac_ext <<_ACEOF
18418 /* end confdefs.h. */
18419 $ac_includes_default
18420 int
18421 main ()
18422 {
18423 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18424 test_array [0] = 0
18425
18426 ;
18427 return 0;
18428 }
18429 _ACEOF
18430 rm -f conftest.$ac_objext
18431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18432 (eval $ac_compile) 2>conftest.er1
18433 ac_status=$?
18434 grep -v '^ *+' conftest.er1 >conftest.err
18435 rm -f conftest.er1
18436 cat conftest.err >&5
18437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18438 (exit $ac_status); } &&
18439 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18441 (eval $ac_try) 2>&5
18442 ac_status=$?
18443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18444 (exit $ac_status); }; } &&
18445 { ac_try='test -s conftest.$ac_objext'
18446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18447 (eval $ac_try) 2>&5
18448 ac_status=$?
18449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18450 (exit $ac_status); }; }; then
18451 ac_hi=-1 ac_mid=-1
18452 while :; do
18453 cat >conftest.$ac_ext <<_ACEOF
18454 /* confdefs.h. */
18455 _ACEOF
18456 cat confdefs.h >>conftest.$ac_ext
18457 cat >>conftest.$ac_ext <<_ACEOF
18458 /* end confdefs.h. */
18459 $ac_includes_default
18460 int
18461 main ()
18462 {
18463 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18464 test_array [0] = 0
18465
18466 ;
18467 return 0;
18468 }
18469 _ACEOF
18470 rm -f conftest.$ac_objext
18471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18472 (eval $ac_compile) 2>conftest.er1
18473 ac_status=$?
18474 grep -v '^ *+' conftest.er1 >conftest.err
18475 rm -f conftest.er1
18476 cat conftest.err >&5
18477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18478 (exit $ac_status); } &&
18479 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18481 (eval $ac_try) 2>&5
18482 ac_status=$?
18483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18484 (exit $ac_status); }; } &&
18485 { ac_try='test -s conftest.$ac_objext'
18486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18487 (eval $ac_try) 2>&5
18488 ac_status=$?
18489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18490 (exit $ac_status); }; }; then
18491 ac_lo=$ac_mid; break
18492 else
18493 echo "$as_me: failed program was:" >&5
18494 sed 's/^/| /' conftest.$ac_ext >&5
18495
18496 ac_hi=`expr '(' $ac_mid ')' - 1`
18497 if test $ac_mid -le $ac_hi; then
18498 ac_lo= ac_hi=
18499 break
18500 fi
18501 ac_mid=`expr 2 '*' $ac_mid`
18502 fi
18503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18504 done
18505 else
18506 echo "$as_me: failed program was:" >&5
18507 sed 's/^/| /' conftest.$ac_ext >&5
18508
18509 ac_lo= ac_hi=
18510 fi
18511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18512 fi
18513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18514 # Binary search between lo and hi bounds.
18515 while test "x$ac_lo" != "x$ac_hi"; do
18516 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18517 cat >conftest.$ac_ext <<_ACEOF
18518 /* confdefs.h. */
18519 _ACEOF
18520 cat confdefs.h >>conftest.$ac_ext
18521 cat >>conftest.$ac_ext <<_ACEOF
18522 /* end confdefs.h. */
18523 $ac_includes_default
18524 int
18525 main ()
18526 {
18527 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18528 test_array [0] = 0
18529
18530 ;
18531 return 0;
18532 }
18533 _ACEOF
18534 rm -f conftest.$ac_objext
18535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18536 (eval $ac_compile) 2>conftest.er1
18537 ac_status=$?
18538 grep -v '^ *+' conftest.er1 >conftest.err
18539 rm -f conftest.er1
18540 cat conftest.err >&5
18541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18542 (exit $ac_status); } &&
18543 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18545 (eval $ac_try) 2>&5
18546 ac_status=$?
18547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18548 (exit $ac_status); }; } &&
18549 { ac_try='test -s conftest.$ac_objext'
18550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18551 (eval $ac_try) 2>&5
18552 ac_status=$?
18553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18554 (exit $ac_status); }; }; then
18555 ac_hi=$ac_mid
18556 else
18557 echo "$as_me: failed program was:" >&5
18558 sed 's/^/| /' conftest.$ac_ext >&5
18559
18560 ac_lo=`expr '(' $ac_mid ')' + 1`
18561 fi
18562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18563 done
18564 case $ac_lo in
18565 ?*) ac_cv_sizeof_long_long=$ac_lo;;
18566 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18567 See \`config.log' for more details." >&5
18568 echo "$as_me: error: cannot compute sizeof (long long), 77
18569 See \`config.log' for more details." >&2;}
18570 { (exit 1); exit 1; }; } ;;
18571 esac
18572 else
18573 if test "$cross_compiling" = yes; then
18574 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18575 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18576 { (exit 1); exit 1; }; }
18577 else
18578 cat >conftest.$ac_ext <<_ACEOF
18579 /* confdefs.h. */
18580 _ACEOF
18581 cat confdefs.h >>conftest.$ac_ext
18582 cat >>conftest.$ac_ext <<_ACEOF
18583 /* end confdefs.h. */
18584 $ac_includes_default
18585 long longval () { return (long) (sizeof (long long)); }
18586 unsigned long ulongval () { return (long) (sizeof (long long)); }
18587 #include <stdio.h>
18588 #include <stdlib.h>
18589 int
18590 main ()
18591 {
18592
18593 FILE *f = fopen ("conftest.val", "w");
18594 if (! f)
18595 exit (1);
18596 if (((long) (sizeof (long long))) < 0)
18597 {
18598 long i = longval ();
18599 if (i != ((long) (sizeof (long long))))
18600 exit (1);
18601 fprintf (f, "%ld\n", i);
18602 }
18603 else
18604 {
18605 unsigned long i = ulongval ();
18606 if (i != ((long) (sizeof (long long))))
18607 exit (1);
18608 fprintf (f, "%lu\n", i);
18609 }
18610 exit (ferror (f) || fclose (f) != 0);
18611
18612 ;
18613 return 0;
18614 }
18615 _ACEOF
18616 rm -f conftest$ac_exeext
18617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18618 (eval $ac_link) 2>&5
18619 ac_status=$?
18620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18621 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18623 (eval $ac_try) 2>&5
18624 ac_status=$?
18625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18626 (exit $ac_status); }; }; then
18627 ac_cv_sizeof_long_long=`cat conftest.val`
18628 else
18629 echo "$as_me: program exited with status $ac_status" >&5
18630 echo "$as_me: failed program was:" >&5
18631 sed 's/^/| /' conftest.$ac_ext >&5
18632
18633 ( exit $ac_status )
18634 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18635 See \`config.log' for more details." >&5
18636 echo "$as_me: error: cannot compute sizeof (long long), 77
18637 See \`config.log' for more details." >&2;}
18638 { (exit 1); exit 1; }; }
18639 fi
18640 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18641 fi
18642 fi
18643 rm -f conftest.val
18644 else
18645 ac_cv_sizeof_long_long=0
18646 fi
18647 fi
18648 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18649 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18650 cat >>confdefs.h <<_ACEOF
18651 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18652 _ACEOF
18653
18654
18655 if test "$ac_cv_sizeof_long_long" != "0"; then
18656 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
18657 fi
18658 ;;
18659 * )
18660 echo "$as_me:$LINENO: checking for long long" >&5
18661 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18662 if test "${ac_cv_type_long_long+set}" = set; then
18663 echo $ECHO_N "(cached) $ECHO_C" >&6
18664 else
18665 cat >conftest.$ac_ext <<_ACEOF
18666 /* confdefs.h. */
18667 _ACEOF
18668 cat confdefs.h >>conftest.$ac_ext
18669 cat >>conftest.$ac_ext <<_ACEOF
18670 /* end confdefs.h. */
18671 $ac_includes_default
18672 int
18673 main ()
18674 {
18675 if ((long long *) 0)
18676 return 0;
18677 if (sizeof (long long))
18678 return 0;
18679 ;
18680 return 0;
18681 }
18682 _ACEOF
18683 rm -f conftest.$ac_objext
18684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18685 (eval $ac_compile) 2>conftest.er1
18686 ac_status=$?
18687 grep -v '^ *+' conftest.er1 >conftest.err
18688 rm -f conftest.er1
18689 cat conftest.err >&5
18690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18691 (exit $ac_status); } &&
18692 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18694 (eval $ac_try) 2>&5
18695 ac_status=$?
18696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18697 (exit $ac_status); }; } &&
18698 { ac_try='test -s conftest.$ac_objext'
18699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18700 (eval $ac_try) 2>&5
18701 ac_status=$?
18702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18703 (exit $ac_status); }; }; then
18704 ac_cv_type_long_long=yes
18705 else
18706 echo "$as_me: failed program was:" >&5
18707 sed 's/^/| /' conftest.$ac_ext >&5
18708
18709 ac_cv_type_long_long=no
18710 fi
18711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18712 fi
18713 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18714 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18715
18716 echo "$as_me:$LINENO: checking size of long long" >&5
18717 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18718 if test "${ac_cv_sizeof_long_long+set}" = set; then
18719 echo $ECHO_N "(cached) $ECHO_C" >&6
18720 else
18721 if test "$ac_cv_type_long_long" = yes; then
18722 # The cast to unsigned long works around a bug in the HP C Compiler
18723 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18724 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18725 # This bug is HP SR number 8606223364.
18726 if test "$cross_compiling" = yes; then
18727 # Depending upon the size, compute the lo and hi bounds.
18728 cat >conftest.$ac_ext <<_ACEOF
18729 /* confdefs.h. */
18730 _ACEOF
18731 cat confdefs.h >>conftest.$ac_ext
18732 cat >>conftest.$ac_ext <<_ACEOF
18733 /* end confdefs.h. */
18734 $ac_includes_default
18735 int
18736 main ()
18737 {
18738 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18739 test_array [0] = 0
18740
18741 ;
18742 return 0;
18743 }
18744 _ACEOF
18745 rm -f conftest.$ac_objext
18746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18747 (eval $ac_compile) 2>conftest.er1
18748 ac_status=$?
18749 grep -v '^ *+' conftest.er1 >conftest.err
18750 rm -f conftest.er1
18751 cat conftest.err >&5
18752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18753 (exit $ac_status); } &&
18754 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18756 (eval $ac_try) 2>&5
18757 ac_status=$?
18758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18759 (exit $ac_status); }; } &&
18760 { ac_try='test -s conftest.$ac_objext'
18761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18762 (eval $ac_try) 2>&5
18763 ac_status=$?
18764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18765 (exit $ac_status); }; }; then
18766 ac_lo=0 ac_mid=0
18767 while :; do
18768 cat >conftest.$ac_ext <<_ACEOF
18769 /* confdefs.h. */
18770 _ACEOF
18771 cat confdefs.h >>conftest.$ac_ext
18772 cat >>conftest.$ac_ext <<_ACEOF
18773 /* end confdefs.h. */
18774 $ac_includes_default
18775 int
18776 main ()
18777 {
18778 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18779 test_array [0] = 0
18780
18781 ;
18782 return 0;
18783 }
18784 _ACEOF
18785 rm -f conftest.$ac_objext
18786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18787 (eval $ac_compile) 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); } &&
18794 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18796 (eval $ac_try) 2>&5
18797 ac_status=$?
18798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18799 (exit $ac_status); }; } &&
18800 { ac_try='test -s conftest.$ac_objext'
18801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18802 (eval $ac_try) 2>&5
18803 ac_status=$?
18804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18805 (exit $ac_status); }; }; then
18806 ac_hi=$ac_mid; break
18807 else
18808 echo "$as_me: failed program was:" >&5
18809 sed 's/^/| /' conftest.$ac_ext >&5
18810
18811 ac_lo=`expr $ac_mid + 1`
18812 if test $ac_lo -le $ac_mid; then
18813 ac_lo= ac_hi=
18814 break
18815 fi
18816 ac_mid=`expr 2 '*' $ac_mid + 1`
18817 fi
18818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18819 done
18820 else
18821 echo "$as_me: failed program was:" >&5
18822 sed 's/^/| /' conftest.$ac_ext >&5
18823
18824 cat >conftest.$ac_ext <<_ACEOF
18825 /* confdefs.h. */
18826 _ACEOF
18827 cat confdefs.h >>conftest.$ac_ext
18828 cat >>conftest.$ac_ext <<_ACEOF
18829 /* end confdefs.h. */
18830 $ac_includes_default
18831 int
18832 main ()
18833 {
18834 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18835 test_array [0] = 0
18836
18837 ;
18838 return 0;
18839 }
18840 _ACEOF
18841 rm -f conftest.$ac_objext
18842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18843 (eval $ac_compile) 2>conftest.er1
18844 ac_status=$?
18845 grep -v '^ *+' conftest.er1 >conftest.err
18846 rm -f conftest.er1
18847 cat conftest.err >&5
18848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18849 (exit $ac_status); } &&
18850 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18852 (eval $ac_try) 2>&5
18853 ac_status=$?
18854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18855 (exit $ac_status); }; } &&
18856 { ac_try='test -s conftest.$ac_objext'
18857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18858 (eval $ac_try) 2>&5
18859 ac_status=$?
18860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18861 (exit $ac_status); }; }; then
18862 ac_hi=-1 ac_mid=-1
18863 while :; do
18864 cat >conftest.$ac_ext <<_ACEOF
18865 /* confdefs.h. */
18866 _ACEOF
18867 cat confdefs.h >>conftest.$ac_ext
18868 cat >>conftest.$ac_ext <<_ACEOF
18869 /* end confdefs.h. */
18870 $ac_includes_default
18871 int
18872 main ()
18873 {
18874 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18875 test_array [0] = 0
18876
18877 ;
18878 return 0;
18879 }
18880 _ACEOF
18881 rm -f conftest.$ac_objext
18882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18883 (eval $ac_compile) 2>conftest.er1
18884 ac_status=$?
18885 grep -v '^ *+' conftest.er1 >conftest.err
18886 rm -f conftest.er1
18887 cat conftest.err >&5
18888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18889 (exit $ac_status); } &&
18890 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18892 (eval $ac_try) 2>&5
18893 ac_status=$?
18894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18895 (exit $ac_status); }; } &&
18896 { ac_try='test -s conftest.$ac_objext'
18897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18898 (eval $ac_try) 2>&5
18899 ac_status=$?
18900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18901 (exit $ac_status); }; }; then
18902 ac_lo=$ac_mid; break
18903 else
18904 echo "$as_me: failed program was:" >&5
18905 sed 's/^/| /' conftest.$ac_ext >&5
18906
18907 ac_hi=`expr '(' $ac_mid ')' - 1`
18908 if test $ac_mid -le $ac_hi; then
18909 ac_lo= ac_hi=
18910 break
18911 fi
18912 ac_mid=`expr 2 '*' $ac_mid`
18913 fi
18914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18915 done
18916 else
18917 echo "$as_me: failed program was:" >&5
18918 sed 's/^/| /' conftest.$ac_ext >&5
18919
18920 ac_lo= ac_hi=
18921 fi
18922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18923 fi
18924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18925 # Binary search between lo and hi bounds.
18926 while test "x$ac_lo" != "x$ac_hi"; do
18927 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18928 cat >conftest.$ac_ext <<_ACEOF
18929 /* confdefs.h. */
18930 _ACEOF
18931 cat confdefs.h >>conftest.$ac_ext
18932 cat >>conftest.$ac_ext <<_ACEOF
18933 /* end confdefs.h. */
18934 $ac_includes_default
18935 int
18936 main ()
18937 {
18938 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18939 test_array [0] = 0
18940
18941 ;
18942 return 0;
18943 }
18944 _ACEOF
18945 rm -f conftest.$ac_objext
18946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18947 (eval $ac_compile) 2>conftest.er1
18948 ac_status=$?
18949 grep -v '^ *+' conftest.er1 >conftest.err
18950 rm -f conftest.er1
18951 cat conftest.err >&5
18952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18953 (exit $ac_status); } &&
18954 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18956 (eval $ac_try) 2>&5
18957 ac_status=$?
18958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18959 (exit $ac_status); }; } &&
18960 { ac_try='test -s conftest.$ac_objext'
18961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18962 (eval $ac_try) 2>&5
18963 ac_status=$?
18964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18965 (exit $ac_status); }; }; then
18966 ac_hi=$ac_mid
18967 else
18968 echo "$as_me: failed program was:" >&5
18969 sed 's/^/| /' conftest.$ac_ext >&5
18970
18971 ac_lo=`expr '(' $ac_mid ')' + 1`
18972 fi
18973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18974 done
18975 case $ac_lo in
18976 ?*) ac_cv_sizeof_long_long=$ac_lo;;
18977 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18978 See \`config.log' for more details." >&5
18979 echo "$as_me: error: cannot compute sizeof (long long), 77
18980 See \`config.log' for more details." >&2;}
18981 { (exit 1); exit 1; }; } ;;
18982 esac
18983 else
18984 if test "$cross_compiling" = yes; then
18985 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18986 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18987 { (exit 1); exit 1; }; }
18988 else
18989 cat >conftest.$ac_ext <<_ACEOF
18990 /* confdefs.h. */
18991 _ACEOF
18992 cat confdefs.h >>conftest.$ac_ext
18993 cat >>conftest.$ac_ext <<_ACEOF
18994 /* end confdefs.h. */
18995 $ac_includes_default
18996 long longval () { return (long) (sizeof (long long)); }
18997 unsigned long ulongval () { return (long) (sizeof (long long)); }
18998 #include <stdio.h>
18999 #include <stdlib.h>
19000 int
19001 main ()
19002 {
19003
19004 FILE *f = fopen ("conftest.val", "w");
19005 if (! f)
19006 exit (1);
19007 if (((long) (sizeof (long long))) < 0)
19008 {
19009 long i = longval ();
19010 if (i != ((long) (sizeof (long long))))
19011 exit (1);
19012 fprintf (f, "%ld\n", i);
19013 }
19014 else
19015 {
19016 unsigned long i = ulongval ();
19017 if (i != ((long) (sizeof (long long))))
19018 exit (1);
19019 fprintf (f, "%lu\n", i);
19020 }
19021 exit (ferror (f) || fclose (f) != 0);
19022
19023 ;
19024 return 0;
19025 }
19026 _ACEOF
19027 rm -f conftest$ac_exeext
19028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19029 (eval $ac_link) 2>&5
19030 ac_status=$?
19031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19032 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19034 (eval $ac_try) 2>&5
19035 ac_status=$?
19036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19037 (exit $ac_status); }; }; then
19038 ac_cv_sizeof_long_long=`cat conftest.val`
19039 else
19040 echo "$as_me: program exited with status $ac_status" >&5
19041 echo "$as_me: failed program was:" >&5
19042 sed 's/^/| /' conftest.$ac_ext >&5
19043
19044 ( exit $ac_status )
19045 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19046 See \`config.log' for more details." >&5
19047 echo "$as_me: error: cannot compute sizeof (long long), 77
19048 See \`config.log' for more details." >&2;}
19049 { (exit 1); exit 1; }; }
19050 fi
19051 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19052 fi
19053 fi
19054 rm -f conftest.val
19055 else
19056 ac_cv_sizeof_long_long=0
19057 fi
19058 fi
19059 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19060 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19061 cat >>confdefs.h <<_ACEOF
19062 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19063 _ACEOF
19064
19065
19066 esac
19067
19068 echo "$as_me:$LINENO: checking for wchar_t" >&5
19069 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
19070 if test "${ac_cv_type_wchar_t+set}" = set; then
19071 echo $ECHO_N "(cached) $ECHO_C" >&6
19072 else
19073 cat >conftest.$ac_ext <<_ACEOF
19074 /* confdefs.h. */
19075 _ACEOF
19076 cat confdefs.h >>conftest.$ac_ext
19077 cat >>conftest.$ac_ext <<_ACEOF
19078 /* end confdefs.h. */
19079
19080 /* DJGPP only has fake wchar_t: */
19081 #ifdef __DJGPP__
19082 # error "fake wchar_t"
19083 #endif
19084 #ifdef HAVE_WCHAR_H
19085 # ifdef __CYGWIN__
19086 # include <stddef.h>
19087 # endif
19088 # include <wchar.h>
19089 #endif
19090 #ifdef HAVE_STDLIB_H
19091 # include <stdlib.h>
19092 #endif
19093 #include <stdio.h>
19094
19095
19096
19097 int
19098 main ()
19099 {
19100 if ((wchar_t *) 0)
19101 return 0;
19102 if (sizeof (wchar_t))
19103 return 0;
19104 ;
19105 return 0;
19106 }
19107 _ACEOF
19108 rm -f conftest.$ac_objext
19109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19110 (eval $ac_compile) 2>conftest.er1
19111 ac_status=$?
19112 grep -v '^ *+' conftest.er1 >conftest.err
19113 rm -f conftest.er1
19114 cat conftest.err >&5
19115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19116 (exit $ac_status); } &&
19117 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19119 (eval $ac_try) 2>&5
19120 ac_status=$?
19121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19122 (exit $ac_status); }; } &&
19123 { ac_try='test -s conftest.$ac_objext'
19124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19125 (eval $ac_try) 2>&5
19126 ac_status=$?
19127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19128 (exit $ac_status); }; }; then
19129 ac_cv_type_wchar_t=yes
19130 else
19131 echo "$as_me: failed program was:" >&5
19132 sed 's/^/| /' conftest.$ac_ext >&5
19133
19134 ac_cv_type_wchar_t=no
19135 fi
19136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19137 fi
19138 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
19139 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
19140
19141 echo "$as_me:$LINENO: checking size of wchar_t" >&5
19142 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
19143 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
19144 echo $ECHO_N "(cached) $ECHO_C" >&6
19145 else
19146 if test "$ac_cv_type_wchar_t" = yes; then
19147 # The cast to unsigned long works around a bug in the HP C Compiler
19148 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19149 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19150 # This bug is HP SR number 8606223364.
19151 if test "$cross_compiling" = yes; then
19152 # Depending upon the size, compute the lo and hi bounds.
19153 cat >conftest.$ac_ext <<_ACEOF
19154 /* confdefs.h. */
19155 _ACEOF
19156 cat confdefs.h >>conftest.$ac_ext
19157 cat >>conftest.$ac_ext <<_ACEOF
19158 /* end confdefs.h. */
19159
19160 /* DJGPP only has fake wchar_t: */
19161 #ifdef __DJGPP__
19162 # error "fake wchar_t"
19163 #endif
19164 #ifdef HAVE_WCHAR_H
19165 # ifdef __CYGWIN__
19166 # include <stddef.h>
19167 # endif
19168 # include <wchar.h>
19169 #endif
19170 #ifdef HAVE_STDLIB_H
19171 # include <stdlib.h>
19172 #endif
19173 #include <stdio.h>
19174
19175
19176
19177 int
19178 main ()
19179 {
19180 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
19181 test_array [0] = 0
19182
19183 ;
19184 return 0;
19185 }
19186 _ACEOF
19187 rm -f conftest.$ac_objext
19188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19189 (eval $ac_compile) 2>conftest.er1
19190 ac_status=$?
19191 grep -v '^ *+' conftest.er1 >conftest.err
19192 rm -f conftest.er1
19193 cat conftest.err >&5
19194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19195 (exit $ac_status); } &&
19196 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19198 (eval $ac_try) 2>&5
19199 ac_status=$?
19200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19201 (exit $ac_status); }; } &&
19202 { ac_try='test -s conftest.$ac_objext'
19203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19204 (eval $ac_try) 2>&5
19205 ac_status=$?
19206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19207 (exit $ac_status); }; }; then
19208 ac_lo=0 ac_mid=0
19209 while :; do
19210 cat >conftest.$ac_ext <<_ACEOF
19211 /* confdefs.h. */
19212 _ACEOF
19213 cat confdefs.h >>conftest.$ac_ext
19214 cat >>conftest.$ac_ext <<_ACEOF
19215 /* end confdefs.h. */
19216
19217 /* DJGPP only has fake wchar_t: */
19218 #ifdef __DJGPP__
19219 # error "fake wchar_t"
19220 #endif
19221 #ifdef HAVE_WCHAR_H
19222 # ifdef __CYGWIN__
19223 # include <stddef.h>
19224 # endif
19225 # include <wchar.h>
19226 #endif
19227 #ifdef HAVE_STDLIB_H
19228 # include <stdlib.h>
19229 #endif
19230 #include <stdio.h>
19231
19232
19233
19234 int
19235 main ()
19236 {
19237 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19238 test_array [0] = 0
19239
19240 ;
19241 return 0;
19242 }
19243 _ACEOF
19244 rm -f conftest.$ac_objext
19245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19246 (eval $ac_compile) 2>conftest.er1
19247 ac_status=$?
19248 grep -v '^ *+' conftest.er1 >conftest.err
19249 rm -f conftest.er1
19250 cat conftest.err >&5
19251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19252 (exit $ac_status); } &&
19253 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19255 (eval $ac_try) 2>&5
19256 ac_status=$?
19257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19258 (exit $ac_status); }; } &&
19259 { ac_try='test -s conftest.$ac_objext'
19260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19261 (eval $ac_try) 2>&5
19262 ac_status=$?
19263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19264 (exit $ac_status); }; }; then
19265 ac_hi=$ac_mid; break
19266 else
19267 echo "$as_me: failed program was:" >&5
19268 sed 's/^/| /' conftest.$ac_ext >&5
19269
19270 ac_lo=`expr $ac_mid + 1`
19271 if test $ac_lo -le $ac_mid; then
19272 ac_lo= ac_hi=
19273 break
19274 fi
19275 ac_mid=`expr 2 '*' $ac_mid + 1`
19276 fi
19277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19278 done
19279 else
19280 echo "$as_me: failed program was:" >&5
19281 sed 's/^/| /' conftest.$ac_ext >&5
19282
19283 cat >conftest.$ac_ext <<_ACEOF
19284 /* confdefs.h. */
19285 _ACEOF
19286 cat confdefs.h >>conftest.$ac_ext
19287 cat >>conftest.$ac_ext <<_ACEOF
19288 /* end confdefs.h. */
19289
19290 /* DJGPP only has fake wchar_t: */
19291 #ifdef __DJGPP__
19292 # error "fake wchar_t"
19293 #endif
19294 #ifdef HAVE_WCHAR_H
19295 # ifdef __CYGWIN__
19296 # include <stddef.h>
19297 # endif
19298 # include <wchar.h>
19299 #endif
19300 #ifdef HAVE_STDLIB_H
19301 # include <stdlib.h>
19302 #endif
19303 #include <stdio.h>
19304
19305
19306
19307 int
19308 main ()
19309 {
19310 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
19311 test_array [0] = 0
19312
19313 ;
19314 return 0;
19315 }
19316 _ACEOF
19317 rm -f conftest.$ac_objext
19318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19319 (eval $ac_compile) 2>conftest.er1
19320 ac_status=$?
19321 grep -v '^ *+' conftest.er1 >conftest.err
19322 rm -f conftest.er1
19323 cat conftest.err >&5
19324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19325 (exit $ac_status); } &&
19326 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19328 (eval $ac_try) 2>&5
19329 ac_status=$?
19330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19331 (exit $ac_status); }; } &&
19332 { ac_try='test -s conftest.$ac_objext'
19333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19334 (eval $ac_try) 2>&5
19335 ac_status=$?
19336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19337 (exit $ac_status); }; }; then
19338 ac_hi=-1 ac_mid=-1
19339 while :; do
19340 cat >conftest.$ac_ext <<_ACEOF
19341 /* confdefs.h. */
19342 _ACEOF
19343 cat confdefs.h >>conftest.$ac_ext
19344 cat >>conftest.$ac_ext <<_ACEOF
19345 /* end confdefs.h. */
19346
19347 /* DJGPP only has fake wchar_t: */
19348 #ifdef __DJGPP__
19349 # error "fake wchar_t"
19350 #endif
19351 #ifdef HAVE_WCHAR_H
19352 # ifdef __CYGWIN__
19353 # include <stddef.h>
19354 # endif
19355 # include <wchar.h>
19356 #endif
19357 #ifdef HAVE_STDLIB_H
19358 # include <stdlib.h>
19359 #endif
19360 #include <stdio.h>
19361
19362
19363
19364 int
19365 main ()
19366 {
19367 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
19368 test_array [0] = 0
19369
19370 ;
19371 return 0;
19372 }
19373 _ACEOF
19374 rm -f conftest.$ac_objext
19375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19376 (eval $ac_compile) 2>conftest.er1
19377 ac_status=$?
19378 grep -v '^ *+' conftest.er1 >conftest.err
19379 rm -f conftest.er1
19380 cat conftest.err >&5
19381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19382 (exit $ac_status); } &&
19383 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19385 (eval $ac_try) 2>&5
19386 ac_status=$?
19387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19388 (exit $ac_status); }; } &&
19389 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
19395 ac_lo=$ac_mid; break
19396 else
19397 echo "$as_me: failed program was:" >&5
19398 sed 's/^/| /' conftest.$ac_ext >&5
19399
19400 ac_hi=`expr '(' $ac_mid ')' - 1`
19401 if test $ac_mid -le $ac_hi; then
19402 ac_lo= ac_hi=
19403 break
19404 fi
19405 ac_mid=`expr 2 '*' $ac_mid`
19406 fi
19407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19408 done
19409 else
19410 echo "$as_me: failed program was:" >&5
19411 sed 's/^/| /' conftest.$ac_ext >&5
19412
19413 ac_lo= ac_hi=
19414 fi
19415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19416 fi
19417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19418 # Binary search between lo and hi bounds.
19419 while test "x$ac_lo" != "x$ac_hi"; do
19420 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19421 cat >conftest.$ac_ext <<_ACEOF
19422 /* confdefs.h. */
19423 _ACEOF
19424 cat confdefs.h >>conftest.$ac_ext
19425 cat >>conftest.$ac_ext <<_ACEOF
19426 /* end confdefs.h. */
19427
19428 /* DJGPP only has fake wchar_t: */
19429 #ifdef __DJGPP__
19430 # error "fake wchar_t"
19431 #endif
19432 #ifdef HAVE_WCHAR_H
19433 # ifdef __CYGWIN__
19434 # include <stddef.h>
19435 # endif
19436 # include <wchar.h>
19437 #endif
19438 #ifdef HAVE_STDLIB_H
19439 # include <stdlib.h>
19440 #endif
19441 #include <stdio.h>
19442
19443
19444
19445 int
19446 main ()
19447 {
19448 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19449 test_array [0] = 0
19450
19451 ;
19452 return 0;
19453 }
19454 _ACEOF
19455 rm -f conftest.$ac_objext
19456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19457 (eval $ac_compile) 2>conftest.er1
19458 ac_status=$?
19459 grep -v '^ *+' conftest.er1 >conftest.err
19460 rm -f conftest.er1
19461 cat conftest.err >&5
19462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19463 (exit $ac_status); } &&
19464 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19466 (eval $ac_try) 2>&5
19467 ac_status=$?
19468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19469 (exit $ac_status); }; } &&
19470 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
19476 ac_hi=$ac_mid
19477 else
19478 echo "$as_me: failed program was:" >&5
19479 sed 's/^/| /' conftest.$ac_ext >&5
19480
19481 ac_lo=`expr '(' $ac_mid ')' + 1`
19482 fi
19483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19484 done
19485 case $ac_lo in
19486 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
19487 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19488 See \`config.log' for more details." >&5
19489 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19490 See \`config.log' for more details." >&2;}
19491 { (exit 1); exit 1; }; } ;;
19492 esac
19493 else
19494 if test "$cross_compiling" = yes; then
19495 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19496 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19497 { (exit 1); exit 1; }; }
19498 else
19499 cat >conftest.$ac_ext <<_ACEOF
19500 /* confdefs.h. */
19501 _ACEOF
19502 cat confdefs.h >>conftest.$ac_ext
19503 cat >>conftest.$ac_ext <<_ACEOF
19504 /* end confdefs.h. */
19505
19506 /* DJGPP only has fake wchar_t: */
19507 #ifdef __DJGPP__
19508 # error "fake wchar_t"
19509 #endif
19510 #ifdef HAVE_WCHAR_H
19511 # ifdef __CYGWIN__
19512 # include <stddef.h>
19513 # endif
19514 # include <wchar.h>
19515 #endif
19516 #ifdef HAVE_STDLIB_H
19517 # include <stdlib.h>
19518 #endif
19519 #include <stdio.h>
19520
19521
19522
19523 long longval () { return (long) (sizeof (wchar_t)); }
19524 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
19525 #include <stdio.h>
19526 #include <stdlib.h>
19527 int
19528 main ()
19529 {
19530
19531 FILE *f = fopen ("conftest.val", "w");
19532 if (! f)
19533 exit (1);
19534 if (((long) (sizeof (wchar_t))) < 0)
19535 {
19536 long i = longval ();
19537 if (i != ((long) (sizeof (wchar_t))))
19538 exit (1);
19539 fprintf (f, "%ld\n", i);
19540 }
19541 else
19542 {
19543 unsigned long i = ulongval ();
19544 if (i != ((long) (sizeof (wchar_t))))
19545 exit (1);
19546 fprintf (f, "%lu\n", i);
19547 }
19548 exit (ferror (f) || fclose (f) != 0);
19549
19550 ;
19551 return 0;
19552 }
19553 _ACEOF
19554 rm -f conftest$ac_exeext
19555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19556 (eval $ac_link) 2>&5
19557 ac_status=$?
19558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19559 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19561 (eval $ac_try) 2>&5
19562 ac_status=$?
19563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19564 (exit $ac_status); }; }; then
19565 ac_cv_sizeof_wchar_t=`cat conftest.val`
19566 else
19567 echo "$as_me: program exited with status $ac_status" >&5
19568 echo "$as_me: failed program was:" >&5
19569 sed 's/^/| /' conftest.$ac_ext >&5
19570
19571 ( exit $ac_status )
19572 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19573 See \`config.log' for more details." >&5
19574 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19575 See \`config.log' for more details." >&2;}
19576 { (exit 1); exit 1; }; }
19577 fi
19578 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19579 fi
19580 fi
19581 rm -f conftest.val
19582 else
19583 ac_cv_sizeof_wchar_t=0
19584 fi
19585 fi
19586 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
19587 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
19588 cat >>confdefs.h <<_ACEOF
19589 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
19590 _ACEOF
19591
19592
19593
19594 echo "$as_me:$LINENO: checking for va_copy" >&5
19595 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
19596 if test "${wx_cv_func_va_copy+set}" = set; then
19597 echo $ECHO_N "(cached) $ECHO_C" >&6
19598 else
19599
19600 cat >conftest.$ac_ext <<_ACEOF
19601
19602 #include <stdarg.h>
19603 void foo(char *f, ...)
19604 {
19605 va_list ap1, ap2;
19606 va_start(ap1, f);
19607 va_copy(ap2, ap1);
19608 va_end(ap2);
19609 va_end(ap1);
19610 }
19611 int main()
19612 {
19613 foo("hi", 17);
19614 return 0;
19615 }
19616 _ACEOF
19617 rm -f conftest.$ac_objext conftest$ac_exeext
19618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19619 (eval $ac_link) 2>conftest.er1
19620 ac_status=$?
19621 grep -v '^ *+' conftest.er1 >conftest.err
19622 rm -f conftest.er1
19623 cat conftest.err >&5
19624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19625 (exit $ac_status); } &&
19626 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19628 (eval $ac_try) 2>&5
19629 ac_status=$?
19630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19631 (exit $ac_status); }; } &&
19632 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
19638 wx_cv_func_va_copy=yes
19639 else
19640 echo "$as_me: failed program was:" >&5
19641 sed 's/^/| /' conftest.$ac_ext >&5
19642
19643 wx_cv_func_va_copy=no
19644
19645 fi
19646 rm -f conftest.err conftest.$ac_objext \
19647 conftest$ac_exeext conftest.$ac_ext
19648
19649
19650 fi
19651 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
19652 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
19653
19654 if test $wx_cv_func_va_copy = "yes"; then
19655 cat >>confdefs.h <<\_ACEOF
19656 #define HAVE_VA_COPY 1
19657 _ACEOF
19658
19659 else
19660 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
19661 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
19662 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
19663 echo $ECHO_N "(cached) $ECHO_C" >&6
19664 else
19665
19666 if test "$cross_compiling" = yes; then
19667 wx_cv_type_va_list_lvalue=yes
19668
19669 else
19670 cat >conftest.$ac_ext <<_ACEOF
19671
19672 #include <stdarg.h>
19673 int foo(char *f, ...)
19674 {
19675 va_list ap1, ap2;
19676 va_start(ap1, f);
19677 ap2 = ap1;
19678 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
19679 return 1;
19680 va_end(ap2);
19681 va_end(ap1);
19682 return 0;
19683 }
19684 int main()
19685 {
19686 return foo("hi", 17);
19687 }
19688 _ACEOF
19689 rm -f conftest$ac_exeext
19690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19691 (eval $ac_link) 2>&5
19692 ac_status=$?
19693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19694 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19696 (eval $ac_try) 2>&5
19697 ac_status=$?
19698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19699 (exit $ac_status); }; }; then
19700 wx_cv_type_va_list_lvalue=yes
19701 else
19702 echo "$as_me: program exited with status $ac_status" >&5
19703 echo "$as_me: failed program was:" >&5
19704 sed 's/^/| /' conftest.$ac_ext >&5
19705
19706 ( exit $ac_status )
19707 wx_cv_type_va_list_lvalue=no
19708 fi
19709 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19710 fi
19711
19712
19713 fi
19714 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
19715 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
19716
19717 if test $wx_cv_type_va_list_lvalue != "yes"; then
19718 cat >>confdefs.h <<\_ACEOF
19719 #define VA_LIST_IS_ARRAY 1
19720 _ACEOF
19721
19722 fi
19723 fi
19724
19725 # Check whether --enable-largefile or --disable-largefile was given.
19726 if test "${enable_largefile+set}" = set; then
19727 enableval="$enable_largefile"
19728
19729 fi;
19730 if test "$enable_largefile" != no; then
19731 wx_largefile=no
19732
19733 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
19734 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
19735 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
19736 echo $ECHO_N "(cached) $ECHO_C" >&6
19737 else
19738
19739 cat >conftest.$ac_ext <<_ACEOF
19740 /* confdefs.h. */
19741 _ACEOF
19742 cat confdefs.h >>conftest.$ac_ext
19743 cat >>conftest.$ac_ext <<_ACEOF
19744 /* end confdefs.h. */
19745 #define _FILE_OFFSET_BITS 64
19746 #include <sys/types.h>
19747 int
19748 main ()
19749 {
19750 typedef struct {
19751 unsigned int field: sizeof(off_t) == 8;
19752 } wxlf;
19753
19754 ;
19755 return 0;
19756 }
19757 _ACEOF
19758 rm -f conftest.$ac_objext
19759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19760 (eval $ac_compile) 2>conftest.er1
19761 ac_status=$?
19762 grep -v '^ *+' conftest.er1 >conftest.err
19763 rm -f conftest.er1
19764 cat conftest.err >&5
19765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19766 (exit $ac_status); } &&
19767 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19769 (eval $ac_try) 2>&5
19770 ac_status=$?
19771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19772 (exit $ac_status); }; } &&
19773 { ac_try='test -s conftest.$ac_objext'
19774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19775 (eval $ac_try) 2>&5
19776 ac_status=$?
19777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19778 (exit $ac_status); }; }; then
19779 ac_cv_sys_file_offset_bits=64
19780 else
19781 echo "$as_me: failed program was:" >&5
19782 sed 's/^/| /' conftest.$ac_ext >&5
19783
19784 ac_cv_sys_file_offset_bits=no
19785 fi
19786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19787
19788
19789 fi
19790 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
19791 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
19792
19793 if test "$ac_cv_sys_file_offset_bits" != no; then
19794 wx_largefile=yes
19795 cat >>confdefs.h <<_ACEOF
19796 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
19797 _ACEOF
19798
19799 fi
19800
19801 if test "x$wx_largefile" != "xyes"; then
19802
19803 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
19804 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
19805 if test "${ac_cv_sys_large_files+set}" = set; then
19806 echo $ECHO_N "(cached) $ECHO_C" >&6
19807 else
19808
19809 cat >conftest.$ac_ext <<_ACEOF
19810 /* confdefs.h. */
19811 _ACEOF
19812 cat confdefs.h >>conftest.$ac_ext
19813 cat >>conftest.$ac_ext <<_ACEOF
19814 /* end confdefs.h. */
19815 #define _LARGE_FILES 1
19816 #include <sys/types.h>
19817 int
19818 main ()
19819 {
19820 typedef struct {
19821 unsigned int field: sizeof(off_t) == 8;
19822 } wxlf;
19823
19824 ;
19825 return 0;
19826 }
19827 _ACEOF
19828 rm -f conftest.$ac_objext
19829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19830 (eval $ac_compile) 2>conftest.er1
19831 ac_status=$?
19832 grep -v '^ *+' conftest.er1 >conftest.err
19833 rm -f conftest.er1
19834 cat conftest.err >&5
19835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19836 (exit $ac_status); } &&
19837 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19839 (eval $ac_try) 2>&5
19840 ac_status=$?
19841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19842 (exit $ac_status); }; } &&
19843 { ac_try='test -s conftest.$ac_objext'
19844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19845 (eval $ac_try) 2>&5
19846 ac_status=$?
19847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19848 (exit $ac_status); }; }; then
19849 ac_cv_sys_large_files=1
19850 else
19851 echo "$as_me: failed program was:" >&5
19852 sed 's/^/| /' conftest.$ac_ext >&5
19853
19854 ac_cv_sys_large_files=no
19855 fi
19856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19857
19858
19859 fi
19860 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
19861 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
19862
19863 if test "$ac_cv_sys_large_files" != no; then
19864 wx_largefile=yes
19865 cat >>confdefs.h <<_ACEOF
19866 #define _LARGE_FILES $ac_cv_sys_large_files
19867 _ACEOF
19868
19869 fi
19870
19871 fi
19872
19873 echo "$as_me:$LINENO: checking if large file support is available" >&5
19874 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
19875 if test "x$wx_largefile" = "xyes"; then
19876 cat >>confdefs.h <<\_ACEOF
19877 #define HAVE_LARGEFILE_SUPPORT 1
19878 _ACEOF
19879
19880 fi
19881 echo "$as_me:$LINENO: result: $wx_largefile" >&5
19882 echo "${ECHO_T}$wx_largefile" >&6
19883 fi
19884
19885
19886 if test "x$wx_largefile" = "xyes"; then
19887 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
19888 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
19889 else
19890 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
19891 fi
19892 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
19893 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
19894 if test "${ac_cv_sys_largefile_source+set}" = set; then
19895 echo $ECHO_N "(cached) $ECHO_C" >&6
19896 else
19897 while :; do
19898 ac_cv_sys_largefile_source=no
19899 cat >conftest.$ac_ext <<_ACEOF
19900 /* confdefs.h. */
19901 _ACEOF
19902 cat confdefs.h >>conftest.$ac_ext
19903 cat >>conftest.$ac_ext <<_ACEOF
19904 /* end confdefs.h. */
19905 #include <stdio.h>
19906 int
19907 main ()
19908 {
19909 return !fseeko;
19910 ;
19911 return 0;
19912 }
19913 _ACEOF
19914 rm -f conftest.$ac_objext
19915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19916 (eval $ac_compile) 2>conftest.er1
19917 ac_status=$?
19918 grep -v '^ *+' conftest.er1 >conftest.err
19919 rm -f conftest.er1
19920 cat conftest.err >&5
19921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19922 (exit $ac_status); } &&
19923 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19925 (eval $ac_try) 2>&5
19926 ac_status=$?
19927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19928 (exit $ac_status); }; } &&
19929 { ac_try='test -s conftest.$ac_objext'
19930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19931 (eval $ac_try) 2>&5
19932 ac_status=$?
19933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19934 (exit $ac_status); }; }; then
19935 break
19936 else
19937 echo "$as_me: failed program was:" >&5
19938 sed 's/^/| /' conftest.$ac_ext >&5
19939
19940 fi
19941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19942 cat >conftest.$ac_ext <<_ACEOF
19943 /* confdefs.h. */
19944 _ACEOF
19945 cat confdefs.h >>conftest.$ac_ext
19946 cat >>conftest.$ac_ext <<_ACEOF
19947 /* end confdefs.h. */
19948 #define _LARGEFILE_SOURCE 1
19949 #include <stdio.h>
19950 int
19951 main ()
19952 {
19953 return !fseeko;
19954 ;
19955 return 0;
19956 }
19957 _ACEOF
19958 rm -f conftest.$ac_objext
19959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19960 (eval $ac_compile) 2>conftest.er1
19961 ac_status=$?
19962 grep -v '^ *+' conftest.er1 >conftest.err
19963 rm -f conftest.er1
19964 cat conftest.err >&5
19965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19966 (exit $ac_status); } &&
19967 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19969 (eval $ac_try) 2>&5
19970 ac_status=$?
19971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19972 (exit $ac_status); }; } &&
19973 { ac_try='test -s conftest.$ac_objext'
19974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19975 (eval $ac_try) 2>&5
19976 ac_status=$?
19977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19978 (exit $ac_status); }; }; then
19979 ac_cv_sys_largefile_source=1; break
19980 else
19981 echo "$as_me: failed program was:" >&5
19982 sed 's/^/| /' conftest.$ac_ext >&5
19983
19984 fi
19985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19986 break
19987 done
19988 fi
19989 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
19990 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
19991 if test "$ac_cv_sys_largefile_source" != no; then
19992
19993 cat >>confdefs.h <<_ACEOF
19994 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
19995 _ACEOF
19996
19997 fi
19998 rm -f conftest*
19999
20000 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20001 # in glibc 2.1.3, but that breaks too many other things.
20002 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20003 echo "$as_me:$LINENO: checking for fseeko" >&5
20004 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
20005 if test "${ac_cv_func_fseeko+set}" = set; then
20006 echo $ECHO_N "(cached) $ECHO_C" >&6
20007 else
20008 cat >conftest.$ac_ext <<_ACEOF
20009 /* confdefs.h. */
20010 _ACEOF
20011 cat confdefs.h >>conftest.$ac_ext
20012 cat >>conftest.$ac_ext <<_ACEOF
20013 /* end confdefs.h. */
20014 #include <stdio.h>
20015 int
20016 main ()
20017 {
20018 return fseeko && fseeko (stdin, 0, 0);
20019 ;
20020 return 0;
20021 }
20022 _ACEOF
20023 rm -f conftest.$ac_objext conftest$ac_exeext
20024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20025 (eval $ac_link) 2>conftest.er1
20026 ac_status=$?
20027 grep -v '^ *+' conftest.er1 >conftest.err
20028 rm -f conftest.er1
20029 cat conftest.err >&5
20030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20031 (exit $ac_status); } &&
20032 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20034 (eval $ac_try) 2>&5
20035 ac_status=$?
20036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20037 (exit $ac_status); }; } &&
20038 { ac_try='test -s conftest$ac_exeext'
20039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20040 (eval $ac_try) 2>&5
20041 ac_status=$?
20042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20043 (exit $ac_status); }; }; then
20044 ac_cv_func_fseeko=yes
20045 else
20046 echo "$as_me: failed program was:" >&5
20047 sed 's/^/| /' conftest.$ac_ext >&5
20048
20049 ac_cv_func_fseeko=no
20050 fi
20051 rm -f conftest.err conftest.$ac_objext \
20052 conftest$ac_exeext conftest.$ac_ext
20053 fi
20054 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
20055 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
20056 if test $ac_cv_func_fseeko = yes; then
20057
20058 cat >>confdefs.h <<\_ACEOF
20059 #define HAVE_FSEEKO 1
20060 _ACEOF
20061
20062 fi
20063
20064 if test "$ac_cv_sys_largefile_source" != no; then
20065 WX_LARGEFILE_FLAGS="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20066 fi
20067 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
20068 fi
20069
20070 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20071 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20072 if test "${ac_cv_c_bigendian+set}" = set; then
20073 echo $ECHO_N "(cached) $ECHO_C" >&6
20074 else
20075 ac_cv_c_bigendian=unknown
20076 # See if sys/param.h defines the BYTE_ORDER macro.
20077 cat >conftest.$ac_ext <<_ACEOF
20078 /* confdefs.h. */
20079 _ACEOF
20080 cat confdefs.h >>conftest.$ac_ext
20081 cat >>conftest.$ac_ext <<_ACEOF
20082 /* end confdefs.h. */
20083 #include <sys/types.h>
20084 #include <sys/param.h>
20085 int
20086 main ()
20087 {
20088
20089 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20090 bogus endian macros
20091 #endif
20092 ;
20093 return 0;
20094 }
20095 _ACEOF
20096 rm -f conftest.$ac_objext
20097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20098 (eval $ac_compile) 2>conftest.er1
20099 ac_status=$?
20100 grep -v '^ *+' conftest.er1 >conftest.err
20101 rm -f conftest.er1
20102 cat conftest.err >&5
20103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20104 (exit $ac_status); } &&
20105 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20107 (eval $ac_try) 2>&5
20108 ac_status=$?
20109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20110 (exit $ac_status); }; } &&
20111 { ac_try='test -s conftest.$ac_objext'
20112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20113 (eval $ac_try) 2>&5
20114 ac_status=$?
20115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20116 (exit $ac_status); }; }; then
20117 # It does; now see whether it defined to BIG_ENDIAN or not.
20118 cat >conftest.$ac_ext <<_ACEOF
20119 /* confdefs.h. */
20120 _ACEOF
20121 cat confdefs.h >>conftest.$ac_ext
20122 cat >>conftest.$ac_ext <<_ACEOF
20123 /* end confdefs.h. */
20124 #include <sys/types.h>
20125 #include <sys/param.h>
20126 int
20127 main ()
20128 {
20129
20130 #if BYTE_ORDER != BIG_ENDIAN
20131 not big endian
20132 #endif
20133 ;
20134 return 0;
20135 }
20136 _ACEOF
20137 rm -f conftest.$ac_objext
20138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20139 (eval $ac_compile) 2>conftest.er1
20140 ac_status=$?
20141 grep -v '^ *+' conftest.er1 >conftest.err
20142 rm -f conftest.er1
20143 cat conftest.err >&5
20144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20145 (exit $ac_status); } &&
20146 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20148 (eval $ac_try) 2>&5
20149 ac_status=$?
20150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20151 (exit $ac_status); }; } &&
20152 { ac_try='test -s conftest.$ac_objext'
20153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20154 (eval $ac_try) 2>&5
20155 ac_status=$?
20156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20157 (exit $ac_status); }; }; then
20158 ac_cv_c_bigendian=yes
20159 else
20160 echo "$as_me: failed program was:" >&5
20161 sed 's/^/| /' conftest.$ac_ext >&5
20162
20163 ac_cv_c_bigendian=no
20164 fi
20165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20166 else
20167 echo "$as_me: failed program was:" >&5
20168 sed 's/^/| /' conftest.$ac_ext >&5
20169
20170 fi
20171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20172 if test $ac_cv_c_bigendian = unknown; then
20173 if test "$cross_compiling" = yes; then
20174 ac_cv_c_bigendian=unknown
20175 else
20176 cat >conftest.$ac_ext <<_ACEOF
20177 /* confdefs.h. */
20178 _ACEOF
20179 cat confdefs.h >>conftest.$ac_ext
20180 cat >>conftest.$ac_ext <<_ACEOF
20181 /* end confdefs.h. */
20182 main () {
20183 /* Are we little or big endian? From Harbison&Steele. */
20184 union
20185 {
20186 long l;
20187 char c[sizeof (long)];
20188 } u;
20189 u.l = 1;
20190 exit (u.c[sizeof (long) - 1] == 1);
20191 }
20192 _ACEOF
20193 rm -f conftest$ac_exeext
20194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20195 (eval $ac_link) 2>&5
20196 ac_status=$?
20197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20198 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20200 (eval $ac_try) 2>&5
20201 ac_status=$?
20202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20203 (exit $ac_status); }; }; then
20204 ac_cv_c_bigendian=no
20205 else
20206 echo "$as_me: program exited with status $ac_status" >&5
20207 echo "$as_me: failed program was:" >&5
20208 sed 's/^/| /' conftest.$ac_ext >&5
20209
20210 ( exit $ac_status )
20211 ac_cv_c_bigendian=yes
20212 fi
20213 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20214 fi
20215 fi
20216 fi
20217 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20218 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20219 if test $ac_cv_c_bigendian = unknown; then
20220 { 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
20221 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;}
20222 fi
20223 if test $ac_cv_c_bigendian = yes; then
20224 cat >>confdefs.h <<\_ACEOF
20225 #define WORDS_BIGENDIAN 1
20226 _ACEOF
20227
20228 fi
20229
20230
20231 ac_ext=cc
20232 ac_cpp='$CXXCPP $CPPFLAGS'
20233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20236 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
20237 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
20238 if test -z "$CXXCPP"; then
20239 if test "${ac_cv_prog_CXXCPP+set}" = set; then
20240 echo $ECHO_N "(cached) $ECHO_C" >&6
20241 else
20242 # Double quotes because CXXCPP needs to be expanded
20243 for CXXCPP in "$CXX -E" "/lib/cpp"
20244 do
20245 ac_preproc_ok=false
20246 for ac_cxx_preproc_warn_flag in '' yes
20247 do
20248 # Use a header file that comes with gcc, so configuring glibc
20249 # with a fresh cross-compiler works.
20250 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20251 # <limits.h> exists even on freestanding compilers.
20252 # On the NeXT, cc -E runs the code through the compiler's parser,
20253 # not just through cpp. "Syntax error" is here to catch this case.
20254 cat >conftest.$ac_ext <<_ACEOF
20255 /* confdefs.h. */
20256 _ACEOF
20257 cat confdefs.h >>conftest.$ac_ext
20258 cat >>conftest.$ac_ext <<_ACEOF
20259 /* end confdefs.h. */
20260 #ifdef __STDC__
20261 # include <limits.h>
20262 #else
20263 # include <assert.h>
20264 #endif
20265 Syntax error
20266 _ACEOF
20267 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20268 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20269 ac_status=$?
20270 grep -v '^ *+' conftest.er1 >conftest.err
20271 rm -f conftest.er1
20272 cat conftest.err >&5
20273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20274 (exit $ac_status); } >/dev/null; then
20275 if test -s conftest.err; then
20276 ac_cpp_err=$ac_cxx_preproc_warn_flag
20277 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20278 else
20279 ac_cpp_err=
20280 fi
20281 else
20282 ac_cpp_err=yes
20283 fi
20284 if test -z "$ac_cpp_err"; then
20285 :
20286 else
20287 echo "$as_me: failed program was:" >&5
20288 sed 's/^/| /' conftest.$ac_ext >&5
20289
20290 # Broken: fails on valid input.
20291 continue
20292 fi
20293 rm -f conftest.err conftest.$ac_ext
20294
20295 # OK, works on sane cases. Now check whether non-existent headers
20296 # can be detected and how.
20297 cat >conftest.$ac_ext <<_ACEOF
20298 /* confdefs.h. */
20299 _ACEOF
20300 cat confdefs.h >>conftest.$ac_ext
20301 cat >>conftest.$ac_ext <<_ACEOF
20302 /* end confdefs.h. */
20303 #include <ac_nonexistent.h>
20304 _ACEOF
20305 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20306 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20307 ac_status=$?
20308 grep -v '^ *+' conftest.er1 >conftest.err
20309 rm -f conftest.er1
20310 cat conftest.err >&5
20311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20312 (exit $ac_status); } >/dev/null; then
20313 if test -s conftest.err; then
20314 ac_cpp_err=$ac_cxx_preproc_warn_flag
20315 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20316 else
20317 ac_cpp_err=
20318 fi
20319 else
20320 ac_cpp_err=yes
20321 fi
20322 if test -z "$ac_cpp_err"; then
20323 # Broken: success on invalid input.
20324 continue
20325 else
20326 echo "$as_me: failed program was:" >&5
20327 sed 's/^/| /' conftest.$ac_ext >&5
20328
20329 # Passes both tests.
20330 ac_preproc_ok=:
20331 break
20332 fi
20333 rm -f conftest.err conftest.$ac_ext
20334
20335 done
20336 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20337 rm -f conftest.err conftest.$ac_ext
20338 if $ac_preproc_ok; then
20339 break
20340 fi
20341
20342 done
20343 ac_cv_prog_CXXCPP=$CXXCPP
20344
20345 fi
20346 CXXCPP=$ac_cv_prog_CXXCPP
20347 else
20348 ac_cv_prog_CXXCPP=$CXXCPP
20349 fi
20350 echo "$as_me:$LINENO: result: $CXXCPP" >&5
20351 echo "${ECHO_T}$CXXCPP" >&6
20352 ac_preproc_ok=false
20353 for ac_cxx_preproc_warn_flag in '' yes
20354 do
20355 # Use a header file that comes with gcc, so configuring glibc
20356 # with a fresh cross-compiler works.
20357 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20358 # <limits.h> exists even on freestanding compilers.
20359 # On the NeXT, cc -E runs the code through the compiler's parser,
20360 # not just through cpp. "Syntax error" is here to catch this case.
20361 cat >conftest.$ac_ext <<_ACEOF
20362 /* confdefs.h. */
20363 _ACEOF
20364 cat confdefs.h >>conftest.$ac_ext
20365 cat >>conftest.$ac_ext <<_ACEOF
20366 /* end confdefs.h. */
20367 #ifdef __STDC__
20368 # include <limits.h>
20369 #else
20370 # include <assert.h>
20371 #endif
20372 Syntax error
20373 _ACEOF
20374 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20375 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20376 ac_status=$?
20377 grep -v '^ *+' conftest.er1 >conftest.err
20378 rm -f conftest.er1
20379 cat conftest.err >&5
20380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20381 (exit $ac_status); } >/dev/null; then
20382 if test -s conftest.err; then
20383 ac_cpp_err=$ac_cxx_preproc_warn_flag
20384 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20385 else
20386 ac_cpp_err=
20387 fi
20388 else
20389 ac_cpp_err=yes
20390 fi
20391 if test -z "$ac_cpp_err"; then
20392 :
20393 else
20394 echo "$as_me: failed program was:" >&5
20395 sed 's/^/| /' conftest.$ac_ext >&5
20396
20397 # Broken: fails on valid input.
20398 continue
20399 fi
20400 rm -f conftest.err conftest.$ac_ext
20401
20402 # OK, works on sane cases. Now check whether non-existent headers
20403 # can be detected and how.
20404 cat >conftest.$ac_ext <<_ACEOF
20405 /* confdefs.h. */
20406 _ACEOF
20407 cat confdefs.h >>conftest.$ac_ext
20408 cat >>conftest.$ac_ext <<_ACEOF
20409 /* end confdefs.h. */
20410 #include <ac_nonexistent.h>
20411 _ACEOF
20412 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20413 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20414 ac_status=$?
20415 grep -v '^ *+' conftest.er1 >conftest.err
20416 rm -f conftest.er1
20417 cat conftest.err >&5
20418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20419 (exit $ac_status); } >/dev/null; then
20420 if test -s conftest.err; then
20421 ac_cpp_err=$ac_cxx_preproc_warn_flag
20422 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20423 else
20424 ac_cpp_err=
20425 fi
20426 else
20427 ac_cpp_err=yes
20428 fi
20429 if test -z "$ac_cpp_err"; then
20430 # Broken: success on invalid input.
20431 continue
20432 else
20433 echo "$as_me: failed program was:" >&5
20434 sed 's/^/| /' conftest.$ac_ext >&5
20435
20436 # Passes both tests.
20437 ac_preproc_ok=:
20438 break
20439 fi
20440 rm -f conftest.err conftest.$ac_ext
20441
20442 done
20443 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20444 rm -f conftest.err conftest.$ac_ext
20445 if $ac_preproc_ok; then
20446 :
20447 else
20448 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20449 See \`config.log' for more details." >&5
20450 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20451 See \`config.log' for more details." >&2;}
20452 { (exit 1); exit 1; }; }
20453 fi
20454
20455 ac_ext=cc
20456 ac_cpp='$CXXCPP $CPPFLAGS'
20457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20460
20461
20462
20463
20464
20465 ac_ext=cc
20466 ac_cpp='$CXXCPP $CPPFLAGS'
20467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20470
20471
20472
20473 for ac_header in iostream
20474 do
20475 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20476 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20477 echo "$as_me:$LINENO: checking for $ac_header" >&5
20478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20479 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20480 echo $ECHO_N "(cached) $ECHO_C" >&6
20481 fi
20482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20483 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20484 else
20485 # Is the header compilable?
20486 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20487 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20488 cat >conftest.$ac_ext <<_ACEOF
20489 /* confdefs.h. */
20490 _ACEOF
20491 cat confdefs.h >>conftest.$ac_ext
20492 cat >>conftest.$ac_ext <<_ACEOF
20493 /* end confdefs.h. */
20494 $ac_includes_default
20495 #include <$ac_header>
20496 _ACEOF
20497 rm -f conftest.$ac_objext
20498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20499 (eval $ac_compile) 2>conftest.er1
20500 ac_status=$?
20501 grep -v '^ *+' conftest.er1 >conftest.err
20502 rm -f conftest.er1
20503 cat conftest.err >&5
20504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20505 (exit $ac_status); } &&
20506 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20508 (eval $ac_try) 2>&5
20509 ac_status=$?
20510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20511 (exit $ac_status); }; } &&
20512 { ac_try='test -s conftest.$ac_objext'
20513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20514 (eval $ac_try) 2>&5
20515 ac_status=$?
20516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20517 (exit $ac_status); }; }; then
20518 ac_header_compiler=yes
20519 else
20520 echo "$as_me: failed program was:" >&5
20521 sed 's/^/| /' conftest.$ac_ext >&5
20522
20523 ac_header_compiler=no
20524 fi
20525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20526 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20527 echo "${ECHO_T}$ac_header_compiler" >&6
20528
20529 # Is the header present?
20530 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20531 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20532 cat >conftest.$ac_ext <<_ACEOF
20533 /* confdefs.h. */
20534 _ACEOF
20535 cat confdefs.h >>conftest.$ac_ext
20536 cat >>conftest.$ac_ext <<_ACEOF
20537 /* end confdefs.h. */
20538 #include <$ac_header>
20539 _ACEOF
20540 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20541 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20542 ac_status=$?
20543 grep -v '^ *+' conftest.er1 >conftest.err
20544 rm -f conftest.er1
20545 cat conftest.err >&5
20546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20547 (exit $ac_status); } >/dev/null; then
20548 if test -s conftest.err; then
20549 ac_cpp_err=$ac_cxx_preproc_warn_flag
20550 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20551 else
20552 ac_cpp_err=
20553 fi
20554 else
20555 ac_cpp_err=yes
20556 fi
20557 if test -z "$ac_cpp_err"; then
20558 ac_header_preproc=yes
20559 else
20560 echo "$as_me: failed program was:" >&5
20561 sed 's/^/| /' conftest.$ac_ext >&5
20562
20563 ac_header_preproc=no
20564 fi
20565 rm -f conftest.err conftest.$ac_ext
20566 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20567 echo "${ECHO_T}$ac_header_preproc" >&6
20568
20569 # So? What about this header?
20570 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20571 yes:no: )
20572 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20573 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20574 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20575 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20576 ac_header_preproc=yes
20577 ;;
20578 no:yes:* )
20579 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20580 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20581 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20582 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20583 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20584 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20585 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20586 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20587 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20588 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20589 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20590 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20591 (
20592 cat <<\_ASBOX
20593 ## ----------------------------------------- ##
20594 ## Report this to wx-dev@lists.wxwidgets.org ##
20595 ## ----------------------------------------- ##
20596 _ASBOX
20597 ) |
20598 sed "s/^/$as_me: WARNING: /" >&2
20599 ;;
20600 esac
20601 echo "$as_me:$LINENO: checking for $ac_header" >&5
20602 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20603 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20604 echo $ECHO_N "(cached) $ECHO_C" >&6
20605 else
20606 eval "$as_ac_Header=\$ac_header_preproc"
20607 fi
20608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20609 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20610
20611 fi
20612 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20613 cat >>confdefs.h <<_ACEOF
20614 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20615 _ACEOF
20616
20617 fi
20618
20619 done
20620
20621
20622 if test "$ac_cv_header_iostream" = "yes" ; then
20623 :
20624 else
20625 cat >>confdefs.h <<\_ACEOF
20626 #define wxUSE_IOSTREAMH 1
20627 _ACEOF
20628
20629 fi
20630
20631 ac_ext=c
20632 ac_cpp='$CPP $CPPFLAGS'
20633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20636
20637
20638
20639
20640 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
20641 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
20642 if test "${wx_cv_cpp_bool+set}" = set; then
20643 echo $ECHO_N "(cached) $ECHO_C" >&6
20644 else
20645
20646
20647
20648 ac_ext=cc
20649 ac_cpp='$CXXCPP $CPPFLAGS'
20650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20653
20654
20655 cat >conftest.$ac_ext <<_ACEOF
20656 /* confdefs.h. */
20657 _ACEOF
20658 cat confdefs.h >>conftest.$ac_ext
20659 cat >>conftest.$ac_ext <<_ACEOF
20660 /* end confdefs.h. */
20661
20662
20663 int
20664 main ()
20665 {
20666
20667 bool b = true;
20668
20669 return 0;
20670
20671 ;
20672 return 0;
20673 }
20674 _ACEOF
20675 rm -f conftest.$ac_objext
20676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20677 (eval $ac_compile) 2>conftest.er1
20678 ac_status=$?
20679 grep -v '^ *+' conftest.er1 >conftest.err
20680 rm -f conftest.er1
20681 cat conftest.err >&5
20682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20683 (exit $ac_status); } &&
20684 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20686 (eval $ac_try) 2>&5
20687 ac_status=$?
20688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20689 (exit $ac_status); }; } &&
20690 { ac_try='test -s conftest.$ac_objext'
20691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20692 (eval $ac_try) 2>&5
20693 ac_status=$?
20694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20695 (exit $ac_status); }; }; then
20696
20697 wx_cv_cpp_bool=yes
20698
20699 else
20700 echo "$as_me: failed program was:" >&5
20701 sed 's/^/| /' conftest.$ac_ext >&5
20702
20703
20704 wx_cv_cpp_bool=no
20705
20706
20707 fi
20708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20709
20710 ac_ext=c
20711 ac_cpp='$CPP $CPPFLAGS'
20712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20715
20716
20717 fi
20718 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
20719 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
20720
20721 if test "$wx_cv_cpp_bool" = "yes"; then
20722 cat >>confdefs.h <<\_ACEOF
20723 #define HAVE_BOOL 1
20724 _ACEOF
20725
20726 fi
20727
20728
20729
20730 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
20731 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
20732 if test "${wx_cv_explicit+set}" = set; then
20733 echo $ECHO_N "(cached) $ECHO_C" >&6
20734 else
20735
20736
20737
20738 ac_ext=cc
20739 ac_cpp='$CXXCPP $CPPFLAGS'
20740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20743
20744
20745 cat >conftest.$ac_ext <<_ACEOF
20746 /* confdefs.h. */
20747 _ACEOF
20748 cat confdefs.h >>conftest.$ac_ext
20749 cat >>conftest.$ac_ext <<_ACEOF
20750 /* end confdefs.h. */
20751
20752 class Foo { public: explicit Foo(int) {} };
20753
20754 int
20755 main ()
20756 {
20757
20758 return 0;
20759
20760 ;
20761 return 0;
20762 }
20763 _ACEOF
20764 rm -f conftest.$ac_objext
20765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20766 (eval $ac_compile) 2>conftest.er1
20767 ac_status=$?
20768 grep -v '^ *+' conftest.er1 >conftest.err
20769 rm -f conftest.er1
20770 cat conftest.err >&5
20771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20772 (exit $ac_status); } &&
20773 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20775 (eval $ac_try) 2>&5
20776 ac_status=$?
20777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20778 (exit $ac_status); }; } &&
20779 { ac_try='test -s conftest.$ac_objext'
20780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20781 (eval $ac_try) 2>&5
20782 ac_status=$?
20783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20784 (exit $ac_status); }; }; then
20785
20786 cat >conftest.$ac_ext <<_ACEOF
20787 /* confdefs.h. */
20788 _ACEOF
20789 cat confdefs.h >>conftest.$ac_ext
20790 cat >>conftest.$ac_ext <<_ACEOF
20791 /* end confdefs.h. */
20792
20793 class Foo { public: explicit Foo(int) {} };
20794 static void TakeFoo(const Foo& foo) { }
20795
20796 int
20797 main ()
20798 {
20799
20800 TakeFoo(17);
20801 return 0;
20802
20803 ;
20804 return 0;
20805 }
20806 _ACEOF
20807 rm -f conftest.$ac_objext
20808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20809 (eval $ac_compile) 2>conftest.er1
20810 ac_status=$?
20811 grep -v '^ *+' conftest.er1 >conftest.err
20812 rm -f conftest.er1
20813 cat conftest.err >&5
20814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20815 (exit $ac_status); } &&
20816 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20818 (eval $ac_try) 2>&5
20819 ac_status=$?
20820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20821 (exit $ac_status); }; } &&
20822 { ac_try='test -s conftest.$ac_objext'
20823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20824 (eval $ac_try) 2>&5
20825 ac_status=$?
20826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20827 (exit $ac_status); }; }; then
20828 wx_cv_explicit=no
20829 else
20830 echo "$as_me: failed program was:" >&5
20831 sed 's/^/| /' conftest.$ac_ext >&5
20832
20833 wx_cv_explicit=yes
20834
20835 fi
20836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20837
20838 else
20839 echo "$as_me: failed program was:" >&5
20840 sed 's/^/| /' conftest.$ac_ext >&5
20841
20842 wx_cv_explicit=no
20843
20844 fi
20845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20846
20847 ac_ext=c
20848 ac_cpp='$CPP $CPPFLAGS'
20849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20852
20853
20854 fi
20855 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
20856 echo "${ECHO_T}$wx_cv_explicit" >&6
20857
20858 if test "$wx_cv_explicit" = "yes"; then
20859 cat >>confdefs.h <<\_ACEOF
20860 #define HAVE_EXPLICIT 1
20861 _ACEOF
20862
20863 fi
20864
20865
20866 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
20867 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
20868 if test "${ac_cv_cxx_const_cast+set}" = set; then
20869 echo $ECHO_N "(cached) $ECHO_C" >&6
20870 else
20871
20872
20873 ac_ext=cc
20874 ac_cpp='$CXXCPP $CPPFLAGS'
20875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20878
20879 cat >conftest.$ac_ext <<_ACEOF
20880 /* confdefs.h. */
20881 _ACEOF
20882 cat confdefs.h >>conftest.$ac_ext
20883 cat >>conftest.$ac_ext <<_ACEOF
20884 /* end confdefs.h. */
20885
20886 int
20887 main ()
20888 {
20889 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
20890 ;
20891 return 0;
20892 }
20893 _ACEOF
20894 rm -f conftest.$ac_objext
20895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20896 (eval $ac_compile) 2>conftest.er1
20897 ac_status=$?
20898 grep -v '^ *+' conftest.er1 >conftest.err
20899 rm -f conftest.er1
20900 cat conftest.err >&5
20901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20902 (exit $ac_status); } &&
20903 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20905 (eval $ac_try) 2>&5
20906 ac_status=$?
20907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20908 (exit $ac_status); }; } &&
20909 { ac_try='test -s conftest.$ac_objext'
20910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20911 (eval $ac_try) 2>&5
20912 ac_status=$?
20913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20914 (exit $ac_status); }; }; then
20915 ac_cv_cxx_const_cast=yes
20916 else
20917 echo "$as_me: failed program was:" >&5
20918 sed 's/^/| /' conftest.$ac_ext >&5
20919
20920 ac_cv_cxx_const_cast=no
20921 fi
20922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20923 ac_ext=c
20924 ac_cpp='$CPP $CPPFLAGS'
20925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20928
20929
20930 fi
20931 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
20932 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
20933 if test "$ac_cv_cxx_const_cast" = yes; then
20934
20935 cat >>confdefs.h <<\_ACEOF
20936 #define HAVE_CONST_CAST
20937 _ACEOF
20938
20939 fi
20940
20941 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
20942 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
20943 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
20944 echo $ECHO_N "(cached) $ECHO_C" >&6
20945 else
20946
20947
20948 ac_ext=cc
20949 ac_cpp='$CXXCPP $CPPFLAGS'
20950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20953
20954 cat >conftest.$ac_ext <<_ACEOF
20955 /* confdefs.h. */
20956 _ACEOF
20957 cat confdefs.h >>conftest.$ac_ext
20958 cat >>conftest.$ac_ext <<_ACEOF
20959 /* end confdefs.h. */
20960 #include <typeinfo>
20961 class Base { public : Base () {} virtual void f () = 0;};
20962 class Derived : public Base { public : Derived () {} virtual void f () {} };
20963 class Unrelated { public : Unrelated () {} };
20964 int g (Unrelated&) { return 0; }
20965 int
20966 main ()
20967 {
20968
20969 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
20970 ;
20971 return 0;
20972 }
20973 _ACEOF
20974 rm -f conftest.$ac_objext
20975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20976 (eval $ac_compile) 2>conftest.er1
20977 ac_status=$?
20978 grep -v '^ *+' conftest.er1 >conftest.err
20979 rm -f conftest.er1
20980 cat conftest.err >&5
20981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20982 (exit $ac_status); } &&
20983 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20985 (eval $ac_try) 2>&5
20986 ac_status=$?
20987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20988 (exit $ac_status); }; } &&
20989 { ac_try='test -s conftest.$ac_objext'
20990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20991 (eval $ac_try) 2>&5
20992 ac_status=$?
20993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20994 (exit $ac_status); }; }; then
20995 ac_cv_cxx_reinterpret_cast=yes
20996 else
20997 echo "$as_me: failed program was:" >&5
20998 sed 's/^/| /' conftest.$ac_ext >&5
20999
21000 ac_cv_cxx_reinterpret_cast=no
21001 fi
21002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21003 ac_ext=c
21004 ac_cpp='$CPP $CPPFLAGS'
21005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21008
21009
21010 fi
21011 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
21012 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
21013 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
21014
21015 cat >>confdefs.h <<\_ACEOF
21016 #define HAVE_REINTERPRET_CAST
21017 _ACEOF
21018
21019 fi
21020
21021 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
21022 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
21023 if test "${ac_cv_cxx_static_cast+set}" = set; then
21024 echo $ECHO_N "(cached) $ECHO_C" >&6
21025 else
21026
21027
21028 ac_ext=cc
21029 ac_cpp='$CXXCPP $CPPFLAGS'
21030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21033
21034 cat >conftest.$ac_ext <<_ACEOF
21035 /* confdefs.h. */
21036 _ACEOF
21037 cat confdefs.h >>conftest.$ac_ext
21038 cat >>conftest.$ac_ext <<_ACEOF
21039 /* end confdefs.h. */
21040 #include <typeinfo>
21041 class Base { public : Base () {} virtual void f () = 0; };
21042 class Derived : public Base { public : Derived () {} virtual void f () {} };
21043 int g (Derived&) { return 0; }
21044 int
21045 main ()
21046 {
21047
21048 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
21049 ;
21050 return 0;
21051 }
21052 _ACEOF
21053 rm -f conftest.$ac_objext
21054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21055 (eval $ac_compile) 2>conftest.er1
21056 ac_status=$?
21057 grep -v '^ *+' conftest.er1 >conftest.err
21058 rm -f conftest.er1
21059 cat conftest.err >&5
21060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21061 (exit $ac_status); } &&
21062 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21064 (eval $ac_try) 2>&5
21065 ac_status=$?
21066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21067 (exit $ac_status); }; } &&
21068 { ac_try='test -s conftest.$ac_objext'
21069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21070 (eval $ac_try) 2>&5
21071 ac_status=$?
21072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21073 (exit $ac_status); }; }; then
21074 ac_cv_cxx_static_cast=yes
21075 else
21076 echo "$as_me: failed program was:" >&5
21077 sed 's/^/| /' conftest.$ac_ext >&5
21078
21079 ac_cv_cxx_static_cast=no
21080 fi
21081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21082 ac_ext=c
21083 ac_cpp='$CPP $CPPFLAGS'
21084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21087
21088
21089 fi
21090 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
21091 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
21092 if test "$ac_cv_cxx_static_cast" = yes; then
21093
21094 cat >>confdefs.h <<\_ACEOF
21095 #define HAVE_STATIC_CAST
21096 _ACEOF
21097
21098 fi
21099
21100
21101 if test "$wxUSE_STL" = "yes"; then
21102 ac_ext=cc
21103 ac_cpp='$CXXCPP $CPPFLAGS'
21104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21107
21108
21109 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
21110 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
21111 cat >conftest.$ac_ext <<_ACEOF
21112 /* confdefs.h. */
21113 _ACEOF
21114 cat confdefs.h >>conftest.$ac_ext
21115 cat >>conftest.$ac_ext <<_ACEOF
21116 /* end confdefs.h. */
21117 #include <string>
21118 #include <functional>
21119 #include <algorithm>
21120 #include <vector>
21121 #include <list>
21122 int
21123 main ()
21124 {
21125 std::vector<int> moo;
21126 std::list<int> foo;
21127 std::vector<int>::iterator it =
21128 std::find_if(moo.begin(), moo.end(),
21129 std::bind2nd(std::less<int>(), 3));
21130 ;
21131 return 0;
21132 }
21133 _ACEOF
21134 rm -f conftest.$ac_objext
21135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21136 (eval $ac_compile) 2>conftest.er1
21137 ac_status=$?
21138 grep -v '^ *+' conftest.er1 >conftest.err
21139 rm -f conftest.er1
21140 cat conftest.err >&5
21141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21142 (exit $ac_status); } &&
21143 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21145 (eval $ac_try) 2>&5
21146 ac_status=$?
21147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21148 (exit $ac_status); }; } &&
21149 { ac_try='test -s conftest.$ac_objext'
21150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21151 (eval $ac_try) 2>&5
21152 ac_status=$?
21153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21154 (exit $ac_status); }; }; then
21155 echo "$as_me:$LINENO: result: yes" >&5
21156 echo "${ECHO_T}yes" >&6
21157 else
21158 echo "$as_me: failed program was:" >&5
21159 sed 's/^/| /' conftest.$ac_ext >&5
21160
21161 echo "$as_me:$LINENO: result: no" >&5
21162 echo "${ECHO_T}no" >&6
21163 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
21164 echo "$as_me: error: Basic STL functionality missing" >&2;}
21165 { (exit 1); exit 1; }; }
21166 fi
21167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21168
21169 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
21170 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
21171 cat >conftest.$ac_ext <<_ACEOF
21172 /* confdefs.h. */
21173 _ACEOF
21174 cat confdefs.h >>conftest.$ac_ext
21175 cat >>conftest.$ac_ext <<_ACEOF
21176 /* end confdefs.h. */
21177 #include <string>
21178 int
21179 main ()
21180 {
21181 std::wstring foo;
21182 ;
21183 return 0;
21184 }
21185 _ACEOF
21186 rm -f conftest.$ac_objext
21187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21188 (eval $ac_compile) 2>conftest.er1
21189 ac_status=$?
21190 grep -v '^ *+' conftest.er1 >conftest.err
21191 rm -f conftest.er1
21192 cat conftest.err >&5
21193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21194 (exit $ac_status); } &&
21195 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21197 (eval $ac_try) 2>&5
21198 ac_status=$?
21199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21200 (exit $ac_status); }; } &&
21201 { ac_try='test -s conftest.$ac_objext'
21202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21203 (eval $ac_try) 2>&5
21204 ac_status=$?
21205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21206 (exit $ac_status); }; }; then
21207 echo "$as_me:$LINENO: result: yes" >&5
21208 echo "${ECHO_T}yes" >&6
21209 cat >>confdefs.h <<\_ACEOF
21210 #define HAVE_STD_WSTRING 1
21211 _ACEOF
21212
21213 else
21214 echo "$as_me: failed program was:" >&5
21215 sed 's/^/| /' conftest.$ac_ext >&5
21216
21217 echo "$as_me:$LINENO: result: no" >&5
21218 echo "${ECHO_T}no" >&6
21219 fi
21220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21221
21222 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
21223 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
21224 cat >conftest.$ac_ext <<_ACEOF
21225 /* confdefs.h. */
21226 _ACEOF
21227 cat confdefs.h >>conftest.$ac_ext
21228 cat >>conftest.$ac_ext <<_ACEOF
21229 /* end confdefs.h. */
21230 #include <string>
21231 int
21232 main ()
21233 {
21234 std::string foo, bar;
21235 foo.compare(bar);
21236 foo.compare(1, 1, bar);
21237 foo.compare(1, 1, bar, 1, 1);
21238 foo.compare("");
21239 foo.compare(1, 1, "");
21240 foo.compare(1, 1, "", 2);
21241 ;
21242 return 0;
21243 }
21244 _ACEOF
21245 rm -f conftest.$ac_objext
21246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21247 (eval $ac_compile) 2>conftest.er1
21248 ac_status=$?
21249 grep -v '^ *+' conftest.er1 >conftest.err
21250 rm -f conftest.er1
21251 cat conftest.err >&5
21252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21253 (exit $ac_status); } &&
21254 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21256 (eval $ac_try) 2>&5
21257 ac_status=$?
21258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21259 (exit $ac_status); }; } &&
21260 { ac_try='test -s conftest.$ac_objext'
21261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21262 (eval $ac_try) 2>&5
21263 ac_status=$?
21264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21265 (exit $ac_status); }; }; then
21266 echo "$as_me:$LINENO: result: yes" >&5
21267 echo "${ECHO_T}yes" >&6
21268 cat >>confdefs.h <<\_ACEOF
21269 #define HAVE_STD_STRING_COMPARE 1
21270 _ACEOF
21271
21272 else
21273 echo "$as_me: failed program was:" >&5
21274 sed 's/^/| /' conftest.$ac_ext >&5
21275
21276 echo "$as_me:$LINENO: result: no" >&5
21277 echo "${ECHO_T}no" >&6
21278 fi
21279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21280
21281 if test "${ac_cv_header_hash_map+set}" = set; then
21282 echo "$as_me:$LINENO: checking for hash_map" >&5
21283 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21284 if test "${ac_cv_header_hash_map+set}" = set; then
21285 echo $ECHO_N "(cached) $ECHO_C" >&6
21286 fi
21287 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21288 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21289 else
21290 # Is the header compilable?
21291 echo "$as_me:$LINENO: checking hash_map usability" >&5
21292 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
21293 cat >conftest.$ac_ext <<_ACEOF
21294 /* confdefs.h. */
21295 _ACEOF
21296 cat confdefs.h >>conftest.$ac_ext
21297 cat >>conftest.$ac_ext <<_ACEOF
21298 /* end confdefs.h. */
21299 $ac_includes_default
21300 #include <hash_map>
21301 _ACEOF
21302 rm -f conftest.$ac_objext
21303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21304 (eval $ac_compile) 2>conftest.er1
21305 ac_status=$?
21306 grep -v '^ *+' conftest.er1 >conftest.err
21307 rm -f conftest.er1
21308 cat conftest.err >&5
21309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21310 (exit $ac_status); } &&
21311 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21313 (eval $ac_try) 2>&5
21314 ac_status=$?
21315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21316 (exit $ac_status); }; } &&
21317 { ac_try='test -s conftest.$ac_objext'
21318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21319 (eval $ac_try) 2>&5
21320 ac_status=$?
21321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21322 (exit $ac_status); }; }; then
21323 ac_header_compiler=yes
21324 else
21325 echo "$as_me: failed program was:" >&5
21326 sed 's/^/| /' conftest.$ac_ext >&5
21327
21328 ac_header_compiler=no
21329 fi
21330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21331 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21332 echo "${ECHO_T}$ac_header_compiler" >&6
21333
21334 # Is the header present?
21335 echo "$as_me:$LINENO: checking hash_map presence" >&5
21336 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
21337 cat >conftest.$ac_ext <<_ACEOF
21338 /* confdefs.h. */
21339 _ACEOF
21340 cat confdefs.h >>conftest.$ac_ext
21341 cat >>conftest.$ac_ext <<_ACEOF
21342 /* end confdefs.h. */
21343 #include <hash_map>
21344 _ACEOF
21345 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21346 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21347 ac_status=$?
21348 grep -v '^ *+' conftest.er1 >conftest.err
21349 rm -f conftest.er1
21350 cat conftest.err >&5
21351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21352 (exit $ac_status); } >/dev/null; then
21353 if test -s conftest.err; then
21354 ac_cpp_err=$ac_cxx_preproc_warn_flag
21355 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21356 else
21357 ac_cpp_err=
21358 fi
21359 else
21360 ac_cpp_err=yes
21361 fi
21362 if test -z "$ac_cpp_err"; then
21363 ac_header_preproc=yes
21364 else
21365 echo "$as_me: failed program was:" >&5
21366 sed 's/^/| /' conftest.$ac_ext >&5
21367
21368 ac_header_preproc=no
21369 fi
21370 rm -f conftest.err conftest.$ac_ext
21371 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21372 echo "${ECHO_T}$ac_header_preproc" >&6
21373
21374 # So? What about this header?
21375 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21376 yes:no: )
21377 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
21378 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
21379 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
21380 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
21381 ac_header_preproc=yes
21382 ;;
21383 no:yes:* )
21384 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
21385 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
21386 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
21387 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
21388 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
21389 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
21390 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
21391 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
21392 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
21393 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
21394 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
21395 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
21396 (
21397 cat <<\_ASBOX
21398 ## ----------------------------------------- ##
21399 ## Report this to wx-dev@lists.wxwidgets.org ##
21400 ## ----------------------------------------- ##
21401 _ASBOX
21402 ) |
21403 sed "s/^/$as_me: WARNING: /" >&2
21404 ;;
21405 esac
21406 echo "$as_me:$LINENO: checking for hash_map" >&5
21407 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21408 if test "${ac_cv_header_hash_map+set}" = set; then
21409 echo $ECHO_N "(cached) $ECHO_C" >&6
21410 else
21411 ac_cv_header_hash_map=$ac_header_preproc
21412 fi
21413 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21414 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21415
21416 fi
21417 if test $ac_cv_header_hash_map = yes; then
21418 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
21419 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
21420 cat >conftest.$ac_ext <<_ACEOF
21421 /* confdefs.h. */
21422 _ACEOF
21423 cat confdefs.h >>conftest.$ac_ext
21424 cat >>conftest.$ac_ext <<_ACEOF
21425 /* end confdefs.h. */
21426 #include <hash_map>
21427 #include <hash_set>
21428 int
21429 main ()
21430 {
21431 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21432 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21433 ;
21434 return 0;
21435 }
21436 _ACEOF
21437 rm -f conftest.$ac_objext
21438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21439 (eval $ac_compile) 2>conftest.er1
21440 ac_status=$?
21441 grep -v '^ *+' conftest.er1 >conftest.err
21442 rm -f conftest.er1
21443 cat conftest.err >&5
21444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21445 (exit $ac_status); } &&
21446 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21448 (eval $ac_try) 2>&5
21449 ac_status=$?
21450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21451 (exit $ac_status); }; } &&
21452 { ac_try='test -s conftest.$ac_objext'
21453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21454 (eval $ac_try) 2>&5
21455 ac_status=$?
21456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21457 (exit $ac_status); }; }; then
21458 echo "$as_me:$LINENO: result: yes" >&5
21459 echo "${ECHO_T}yes" >&6
21460 cat >>confdefs.h <<\_ACEOF
21461 #define HAVE_HASH_MAP 1
21462 _ACEOF
21463
21464 cat >>confdefs.h <<\_ACEOF
21465 #define HAVE_STD_HASH_MAP 1
21466 _ACEOF
21467
21468 else
21469 echo "$as_me: failed program was:" >&5
21470 sed 's/^/| /' conftest.$ac_ext >&5
21471
21472 echo "$as_me:$LINENO: result: no" >&5
21473 echo "${ECHO_T}no" >&6
21474 fi
21475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21476
21477 fi
21478
21479
21480
21481 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21482 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
21483 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
21484 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21485 echo $ECHO_N "(cached) $ECHO_C" >&6
21486 fi
21487 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
21488 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
21489 else
21490 # Is the header compilable?
21491 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
21492 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
21493 cat >conftest.$ac_ext <<_ACEOF
21494 /* confdefs.h. */
21495 _ACEOF
21496 cat confdefs.h >>conftest.$ac_ext
21497 cat >>conftest.$ac_ext <<_ACEOF
21498 /* end confdefs.h. */
21499 $ac_includes_default
21500 #include <ext/hash_map>
21501 _ACEOF
21502 rm -f conftest.$ac_objext
21503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21504 (eval $ac_compile) 2>conftest.er1
21505 ac_status=$?
21506 grep -v '^ *+' conftest.er1 >conftest.err
21507 rm -f conftest.er1
21508 cat conftest.err >&5
21509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21510 (exit $ac_status); } &&
21511 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21513 (eval $ac_try) 2>&5
21514 ac_status=$?
21515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21516 (exit $ac_status); }; } &&
21517 { ac_try='test -s conftest.$ac_objext'
21518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21519 (eval $ac_try) 2>&5
21520 ac_status=$?
21521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21522 (exit $ac_status); }; }; then
21523 ac_header_compiler=yes
21524 else
21525 echo "$as_me: failed program was:" >&5
21526 sed 's/^/| /' conftest.$ac_ext >&5
21527
21528 ac_header_compiler=no
21529 fi
21530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21531 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21532 echo "${ECHO_T}$ac_header_compiler" >&6
21533
21534 # Is the header present?
21535 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
21536 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
21537 cat >conftest.$ac_ext <<_ACEOF
21538 /* confdefs.h. */
21539 _ACEOF
21540 cat confdefs.h >>conftest.$ac_ext
21541 cat >>conftest.$ac_ext <<_ACEOF
21542 /* end confdefs.h. */
21543 #include <ext/hash_map>
21544 _ACEOF
21545 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21546 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21547 ac_status=$?
21548 grep -v '^ *+' conftest.er1 >conftest.err
21549 rm -f conftest.er1
21550 cat conftest.err >&5
21551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21552 (exit $ac_status); } >/dev/null; then
21553 if test -s conftest.err; then
21554 ac_cpp_err=$ac_cxx_preproc_warn_flag
21555 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21556 else
21557 ac_cpp_err=
21558 fi
21559 else
21560 ac_cpp_err=yes
21561 fi
21562 if test -z "$ac_cpp_err"; then
21563 ac_header_preproc=yes
21564 else
21565 echo "$as_me: failed program was:" >&5
21566 sed 's/^/| /' conftest.$ac_ext >&5
21567
21568 ac_header_preproc=no
21569 fi
21570 rm -f conftest.err conftest.$ac_ext
21571 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21572 echo "${ECHO_T}$ac_header_preproc" >&6
21573
21574 # So? What about this header?
21575 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21576 yes:no: )
21577 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
21578 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
21579 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
21580 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
21581 ac_header_preproc=yes
21582 ;;
21583 no:yes:* )
21584 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
21585 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
21586 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
21587 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
21588 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
21589 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
21590 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
21591 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
21592 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
21593 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
21594 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
21595 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
21596 (
21597 cat <<\_ASBOX
21598 ## ----------------------------------------- ##
21599 ## Report this to wx-dev@lists.wxwidgets.org ##
21600 ## ----------------------------------------- ##
21601 _ASBOX
21602 ) |
21603 sed "s/^/$as_me: WARNING: /" >&2
21604 ;;
21605 esac
21606 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
21607 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
21608 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21609 echo $ECHO_N "(cached) $ECHO_C" >&6
21610 else
21611 ac_cv_header_ext_hash_map=$ac_header_preproc
21612 fi
21613 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
21614 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
21615
21616 fi
21617 if test $ac_cv_header_ext_hash_map = yes; then
21618 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
21619 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
21620 cat >conftest.$ac_ext <<_ACEOF
21621 /* confdefs.h. */
21622 _ACEOF
21623 cat confdefs.h >>conftest.$ac_ext
21624 cat >>conftest.$ac_ext <<_ACEOF
21625 /* end confdefs.h. */
21626 #include <ext/hash_map>
21627 #include <ext/hash_set>
21628 int
21629 main ()
21630 {
21631 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21632 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21633 ;
21634 return 0;
21635 }
21636 _ACEOF
21637 rm -f conftest.$ac_objext
21638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21639 (eval $ac_compile) 2>conftest.er1
21640 ac_status=$?
21641 grep -v '^ *+' conftest.er1 >conftest.err
21642 rm -f conftest.er1
21643 cat conftest.err >&5
21644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21645 (exit $ac_status); } &&
21646 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21648 (eval $ac_try) 2>&5
21649 ac_status=$?
21650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21651 (exit $ac_status); }; } &&
21652 { ac_try='test -s conftest.$ac_objext'
21653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21654 (eval $ac_try) 2>&5
21655 ac_status=$?
21656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21657 (exit $ac_status); }; }; then
21658 echo "$as_me:$LINENO: result: yes" >&5
21659 echo "${ECHO_T}yes" >&6
21660 cat >>confdefs.h <<\_ACEOF
21661 #define HAVE_EXT_HASH_MAP 1
21662 _ACEOF
21663
21664 cat >>confdefs.h <<\_ACEOF
21665 #define HAVE_GNU_CXX_HASH_MAP 1
21666 _ACEOF
21667
21668 else
21669 echo "$as_me: failed program was:" >&5
21670 sed 's/^/| /' conftest.$ac_ext >&5
21671
21672 echo "$as_me:$LINENO: result: no" >&5
21673 echo "${ECHO_T}no" >&6
21674 fi
21675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21676
21677 fi
21678
21679
21680
21681 ac_ext=c
21682 ac_cpp='$CPP $CPPFLAGS'
21683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21686
21687 fi
21688
21689
21690 SEARCH_INCLUDE="\
21691 /usr/local/include \
21692 \
21693 /usr/Motif-2.1/include \
21694 /usr/Motif-1.2/include \
21695 /usr/include/Motif1.2 \
21696 /opt/xpm/include/X11 \
21697 /opt/GBxpm/include/ \
21698 /opt/GBxpm/X11/include/ \
21699 \
21700 /usr/dt/include \
21701 /usr/openwin/include \
21702 \
21703 /usr/include/Xm \
21704 \
21705 /usr/X11R6/include \
21706 /usr/X11R6.4/include \
21707 /usr/X11R5/include \
21708 /usr/X11R4/include \
21709 \
21710 /usr/include/X11R6 \
21711 /usr/include/X11R5 \
21712 /usr/include/X11R4 \
21713 \
21714 /usr/local/X11R6/include \
21715 /usr/local/X11R5/include \
21716 /usr/local/X11R4/include \
21717 \
21718 /usr/local/include/X11R6 \
21719 /usr/local/include/X11R5 \
21720 /usr/local/include/X11R4 \
21721 \
21722 /usr/X11/include \
21723 /usr/include/X11 \
21724 /usr/local/X11/include \
21725 /usr/local/include/X11 \
21726 \
21727 /usr/X386/include \
21728 /usr/x386/include \
21729 /usr/XFree86/include/X11 \
21730 \
21731 X:/XFree86/include \
21732 X:/XFree86/include/X11 \
21733 \
21734 /usr/include/gtk \
21735 /usr/local/include/gtk \
21736 /usr/include/glib \
21737 /usr/local/include/glib \
21738 \
21739 /usr/include/qt \
21740 /usr/local/include/qt \
21741 \
21742 /usr/local/arm/3.3.2/include \
21743 \
21744 /usr/include/windows \
21745 /usr/include/wine \
21746 /usr/local/include/wine \
21747 \
21748 /usr/unsupported/include \
21749 /usr/athena/include \
21750 /usr/local/x11r5/include \
21751 /usr/lpp/Xamples/include \
21752 \
21753 /usr/openwin/share/include"
21754
21755 SEARCH_LIB="/usr/lib /usr/lib32 /usr/lib64 /usr/X11R6/lib64 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g`"
21756
21757
21758 cat >confcache <<\_ACEOF
21759 # This file is a shell script that caches the results of configure
21760 # tests run on this system so they can be shared between configure
21761 # scripts and configure runs, see configure's option --config-cache.
21762 # It is not useful on other systems. If it contains results you don't
21763 # want to keep, you may remove or edit it.
21764 #
21765 # config.status only pays attention to the cache file if you give it
21766 # the --recheck option to rerun configure.
21767 #
21768 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21769 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21770 # following values.
21771
21772 _ACEOF
21773
21774 # The following way of writing the cache mishandles newlines in values,
21775 # but we know of no workaround that is simple, portable, and efficient.
21776 # So, don't put newlines in cache variables' values.
21777 # Ultrix sh set writes to stderr and can't be redirected directly,
21778 # and sets the high bit in the cache file unless we assign to the vars.
21779 {
21780 (set) 2>&1 |
21781 case `(ac_space=' '; set | grep ac_space) 2>&1` in
21782 *ac_space=\ *)
21783 # `set' does not quote correctly, so add quotes (double-quote
21784 # substitution turns \\\\ into \\, and sed turns \\ into \).
21785 sed -n \
21786 "s/'/'\\\\''/g;
21787 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21788 ;;
21789 *)
21790 # `set' quotes correctly as required by POSIX, so do not add quotes.
21791 sed -n \
21792 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
21793 ;;
21794 esac;
21795 } |
21796 sed '
21797 t clear
21798 : clear
21799 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21800 t end
21801 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21802 : end' >>confcache
21803 if diff $cache_file confcache >/dev/null 2>&1; then :; else
21804 if test -w $cache_file; then
21805 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
21806 cat confcache >$cache_file
21807 else
21808 echo "not updating unwritable cache $cache_file"
21809 fi
21810 fi
21811 rm -f confcache
21812
21813 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
21814 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
21815 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
21816 if test "${wx_cv_lib_glibc21+set}" = set; then
21817 echo $ECHO_N "(cached) $ECHO_C" >&6
21818 else
21819
21820 cat >conftest.$ac_ext <<_ACEOF
21821 /* confdefs.h. */
21822 _ACEOF
21823 cat confdefs.h >>conftest.$ac_ext
21824 cat >>conftest.$ac_ext <<_ACEOF
21825 /* end confdefs.h. */
21826 #include <features.h>
21827 int
21828 main ()
21829 {
21830
21831 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
21832 #error not glibc2.1
21833 #endif
21834
21835 ;
21836 return 0;
21837 }
21838 _ACEOF
21839 rm -f conftest.$ac_objext
21840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21841 (eval $ac_compile) 2>conftest.er1
21842 ac_status=$?
21843 grep -v '^ *+' conftest.er1 >conftest.err
21844 rm -f conftest.er1
21845 cat conftest.err >&5
21846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21847 (exit $ac_status); } &&
21848 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21850 (eval $ac_try) 2>&5
21851 ac_status=$?
21852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21853 (exit $ac_status); }; } &&
21854 { ac_try='test -s conftest.$ac_objext'
21855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21856 (eval $ac_try) 2>&5
21857 ac_status=$?
21858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21859 (exit $ac_status); }; }; then
21860
21861 wx_cv_lib_glibc21=yes
21862
21863 else
21864 echo "$as_me: failed program was:" >&5
21865 sed 's/^/| /' conftest.$ac_ext >&5
21866
21867
21868 wx_cv_lib_glibc21=no
21869
21870
21871 fi
21872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21873
21874 fi
21875 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
21876 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
21877 if test "$wx_cv_lib_glibc21" = "yes"; then
21878 cat >>confdefs.h <<\_ACEOF
21879 #define wxHAVE_GLIBC2 1
21880 _ACEOF
21881
21882 fi
21883 fi
21884
21885 if test "x$wx_cv_lib_glibc21" = "xyes"; then
21886 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
21887 cat >>confdefs.h <<\_ACEOF
21888 #define _GNU_SOURCE 1
21889 _ACEOF
21890
21891 fi
21892 fi
21893
21894
21895
21896 if test "$wxUSE_REGEX" != "no"; then
21897 cat >>confdefs.h <<\_ACEOF
21898 #define wxUSE_REGEX 1
21899 _ACEOF
21900
21901
21902 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
21903 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
21904 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
21905 wxUSE_REGEX=builtin
21906 fi
21907
21908 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
21909 if test "${ac_cv_header_regex_h+set}" = set; then
21910 echo "$as_me:$LINENO: checking for regex.h" >&5
21911 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
21912 if test "${ac_cv_header_regex_h+set}" = set; then
21913 echo $ECHO_N "(cached) $ECHO_C" >&6
21914 fi
21915 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
21916 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
21917 else
21918 # Is the header compilable?
21919 echo "$as_me:$LINENO: checking regex.h usability" >&5
21920 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
21921 cat >conftest.$ac_ext <<_ACEOF
21922 /* confdefs.h. */
21923 _ACEOF
21924 cat confdefs.h >>conftest.$ac_ext
21925 cat >>conftest.$ac_ext <<_ACEOF
21926 /* end confdefs.h. */
21927 $ac_includes_default
21928 #include <regex.h>
21929 _ACEOF
21930 rm -f conftest.$ac_objext
21931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21932 (eval $ac_compile) 2>conftest.er1
21933 ac_status=$?
21934 grep -v '^ *+' conftest.er1 >conftest.err
21935 rm -f conftest.er1
21936 cat conftest.err >&5
21937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21938 (exit $ac_status); } &&
21939 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21941 (eval $ac_try) 2>&5
21942 ac_status=$?
21943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21944 (exit $ac_status); }; } &&
21945 { ac_try='test -s conftest.$ac_objext'
21946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21947 (eval $ac_try) 2>&5
21948 ac_status=$?
21949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21950 (exit $ac_status); }; }; then
21951 ac_header_compiler=yes
21952 else
21953 echo "$as_me: failed program was:" >&5
21954 sed 's/^/| /' conftest.$ac_ext >&5
21955
21956 ac_header_compiler=no
21957 fi
21958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21959 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21960 echo "${ECHO_T}$ac_header_compiler" >&6
21961
21962 # Is the header present?
21963 echo "$as_me:$LINENO: checking regex.h presence" >&5
21964 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
21965 cat >conftest.$ac_ext <<_ACEOF
21966 /* confdefs.h. */
21967 _ACEOF
21968 cat confdefs.h >>conftest.$ac_ext
21969 cat >>conftest.$ac_ext <<_ACEOF
21970 /* end confdefs.h. */
21971 #include <regex.h>
21972 _ACEOF
21973 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21974 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21975 ac_status=$?
21976 grep -v '^ *+' conftest.er1 >conftest.err
21977 rm -f conftest.er1
21978 cat conftest.err >&5
21979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21980 (exit $ac_status); } >/dev/null; then
21981 if test -s conftest.err; then
21982 ac_cpp_err=$ac_c_preproc_warn_flag
21983 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21984 else
21985 ac_cpp_err=
21986 fi
21987 else
21988 ac_cpp_err=yes
21989 fi
21990 if test -z "$ac_cpp_err"; then
21991 ac_header_preproc=yes
21992 else
21993 echo "$as_me: failed program was:" >&5
21994 sed 's/^/| /' conftest.$ac_ext >&5
21995
21996 ac_header_preproc=no
21997 fi
21998 rm -f conftest.err conftest.$ac_ext
21999 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22000 echo "${ECHO_T}$ac_header_preproc" >&6
22001
22002 # So? What about this header?
22003 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22004 yes:no: )
22005 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
22006 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22007 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
22008 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
22009 ac_header_preproc=yes
22010 ;;
22011 no:yes:* )
22012 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
22013 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
22014 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
22015 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
22016 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
22017 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
22018 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
22019 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
22020 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
22021 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
22022 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
22023 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
22024 (
22025 cat <<\_ASBOX
22026 ## ----------------------------------------- ##
22027 ## Report this to wx-dev@lists.wxwidgets.org ##
22028 ## ----------------------------------------- ##
22029 _ASBOX
22030 ) |
22031 sed "s/^/$as_me: WARNING: /" >&2
22032 ;;
22033 esac
22034 echo "$as_me:$LINENO: checking for regex.h" >&5
22035 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22036 if test "${ac_cv_header_regex_h+set}" = set; then
22037 echo $ECHO_N "(cached) $ECHO_C" >&6
22038 else
22039 ac_cv_header_regex_h=$ac_header_preproc
22040 fi
22041 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22042 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22043
22044 fi
22045 if test $ac_cv_header_regex_h = yes; then
22046
22047 for ac_func in regcomp
22048 do
22049 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22050 echo "$as_me:$LINENO: checking for $ac_func" >&5
22051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22052 if eval "test \"\${$as_ac_var+set}\" = set"; then
22053 echo $ECHO_N "(cached) $ECHO_C" >&6
22054 else
22055 cat >conftest.$ac_ext <<_ACEOF
22056 /* confdefs.h. */
22057 _ACEOF
22058 cat confdefs.h >>conftest.$ac_ext
22059 cat >>conftest.$ac_ext <<_ACEOF
22060 /* end confdefs.h. */
22061 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22062 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22063 #define $ac_func innocuous_$ac_func
22064
22065 /* System header to define __stub macros and hopefully few prototypes,
22066 which can conflict with char $ac_func (); below.
22067 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22068 <limits.h> exists even on freestanding compilers. */
22069
22070 #ifdef __STDC__
22071 # include <limits.h>
22072 #else
22073 # include <assert.h>
22074 #endif
22075
22076 #undef $ac_func
22077
22078 /* Override any gcc2 internal prototype to avoid an error. */
22079 #ifdef __cplusplus
22080 extern "C"
22081 {
22082 #endif
22083 /* We use char because int might match the return type of a gcc2
22084 builtin and then its argument prototype would still apply. */
22085 char $ac_func ();
22086 /* The GNU C library defines this for functions which it implements
22087 to always fail with ENOSYS. Some functions are actually named
22088 something starting with __ and the normal name is an alias. */
22089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22090 choke me
22091 #else
22092 char (*f) () = $ac_func;
22093 #endif
22094 #ifdef __cplusplus
22095 }
22096 #endif
22097
22098 int
22099 main ()
22100 {
22101 return f != $ac_func;
22102 ;
22103 return 0;
22104 }
22105 _ACEOF
22106 rm -f conftest.$ac_objext conftest$ac_exeext
22107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22108 (eval $ac_link) 2>conftest.er1
22109 ac_status=$?
22110 grep -v '^ *+' conftest.er1 >conftest.err
22111 rm -f conftest.er1
22112 cat conftest.err >&5
22113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22114 (exit $ac_status); } &&
22115 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22117 (eval $ac_try) 2>&5
22118 ac_status=$?
22119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22120 (exit $ac_status); }; } &&
22121 { ac_try='test -s conftest$ac_exeext'
22122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22123 (eval $ac_try) 2>&5
22124 ac_status=$?
22125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22126 (exit $ac_status); }; }; then
22127 eval "$as_ac_var=yes"
22128 else
22129 echo "$as_me: failed program was:" >&5
22130 sed 's/^/| /' conftest.$ac_ext >&5
22131
22132 eval "$as_ac_var=no"
22133 fi
22134 rm -f conftest.err conftest.$ac_objext \
22135 conftest$ac_exeext conftest.$ac_ext
22136 fi
22137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22138 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22139 if test `eval echo '${'$as_ac_var'}'` = yes; then
22140 cat >>confdefs.h <<_ACEOF
22141 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22142 _ACEOF
22143
22144 fi
22145 done
22146
22147 fi
22148
22149
22150
22151 if test "x$ac_cv_func_regcomp" != "xyes"; then
22152 if test "$wxUSE_REGEX" = "sys" ; then
22153 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
22154 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
22155 { (exit 1); exit 1; }; }
22156 else
22157 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
22158 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22159 wxUSE_REGEX=builtin
22160 fi
22161 else
22162 wxUSE_REGEX=sys
22163 cat >>confdefs.h <<\_ACEOF
22164 #define WX_NO_REGEX_ADVANCED 1
22165 _ACEOF
22166
22167 fi
22168 fi
22169 fi
22170
22171
22172 ZLIB_LINK=
22173 if test "$wxUSE_ZLIB" != "no" ; then
22174 cat >>confdefs.h <<\_ACEOF
22175 #define wxUSE_ZLIB 1
22176 _ACEOF
22177
22178
22179 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22180 if test "$USE_DARWIN" = 1; then
22181 system_zlib_h_ok="yes"
22182 else
22183 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
22184 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
22185 if test "${ac_cv_header_zlib_h+set}" = set; then
22186 echo $ECHO_N "(cached) $ECHO_C" >&6
22187 else
22188 if test "$cross_compiling" = yes; then
22189 unset ac_cv_header_zlib_h
22190
22191 else
22192 cat >conftest.$ac_ext <<_ACEOF
22193 /* confdefs.h. */
22194 _ACEOF
22195 cat confdefs.h >>conftest.$ac_ext
22196 cat >>conftest.$ac_ext <<_ACEOF
22197 /* end confdefs.h. */
22198
22199 #include <zlib.h>
22200 #include <stdio.h>
22201
22202 int main()
22203 {
22204 FILE *f=fopen("conftestval", "w");
22205 if (!f) exit(1);
22206 fprintf(f, "%s",
22207 ZLIB_VERSION[0] == '1' &&
22208 (ZLIB_VERSION[2] > '1' ||
22209 (ZLIB_VERSION[2] == '1' &&
22210 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22211 exit(0);
22212 }
22213
22214 _ACEOF
22215 rm -f conftest$ac_exeext
22216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22217 (eval $ac_link) 2>&5
22218 ac_status=$?
22219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22220 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22222 (eval $ac_try) 2>&5
22223 ac_status=$?
22224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22225 (exit $ac_status); }; }; then
22226 ac_cv_header_zlib_h=`cat conftestval`
22227 else
22228 echo "$as_me: program exited with status $ac_status" >&5
22229 echo "$as_me: failed program was:" >&5
22230 sed 's/^/| /' conftest.$ac_ext >&5
22231
22232 ( exit $ac_status )
22233 ac_cv_header_zlib_h=no
22234 fi
22235 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22236 fi
22237
22238 fi
22239 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22240 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22241 if test "${ac_cv_header_zlib_h+set}" = set; then
22242 echo "$as_me:$LINENO: checking for zlib.h" >&5
22243 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22244 if test "${ac_cv_header_zlib_h+set}" = set; then
22245 echo $ECHO_N "(cached) $ECHO_C" >&6
22246 fi
22247 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22248 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22249 else
22250 # Is the header compilable?
22251 echo "$as_me:$LINENO: checking zlib.h usability" >&5
22252 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
22253 cat >conftest.$ac_ext <<_ACEOF
22254 /* confdefs.h. */
22255 _ACEOF
22256 cat confdefs.h >>conftest.$ac_ext
22257 cat >>conftest.$ac_ext <<_ACEOF
22258 /* end confdefs.h. */
22259 $ac_includes_default
22260 #include <zlib.h>
22261 _ACEOF
22262 rm -f conftest.$ac_objext
22263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22264 (eval $ac_compile) 2>conftest.er1
22265 ac_status=$?
22266 grep -v '^ *+' conftest.er1 >conftest.err
22267 rm -f conftest.er1
22268 cat conftest.err >&5
22269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22270 (exit $ac_status); } &&
22271 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22273 (eval $ac_try) 2>&5
22274 ac_status=$?
22275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22276 (exit $ac_status); }; } &&
22277 { ac_try='test -s conftest.$ac_objext'
22278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22279 (eval $ac_try) 2>&5
22280 ac_status=$?
22281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22282 (exit $ac_status); }; }; then
22283 ac_header_compiler=yes
22284 else
22285 echo "$as_me: failed program was:" >&5
22286 sed 's/^/| /' conftest.$ac_ext >&5
22287
22288 ac_header_compiler=no
22289 fi
22290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22291 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22292 echo "${ECHO_T}$ac_header_compiler" >&6
22293
22294 # Is the header present?
22295 echo "$as_me:$LINENO: checking zlib.h presence" >&5
22296 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
22297 cat >conftest.$ac_ext <<_ACEOF
22298 /* confdefs.h. */
22299 _ACEOF
22300 cat confdefs.h >>conftest.$ac_ext
22301 cat >>conftest.$ac_ext <<_ACEOF
22302 /* end confdefs.h. */
22303 #include <zlib.h>
22304 _ACEOF
22305 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22306 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22307 ac_status=$?
22308 grep -v '^ *+' conftest.er1 >conftest.err
22309 rm -f conftest.er1
22310 cat conftest.err >&5
22311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22312 (exit $ac_status); } >/dev/null; then
22313 if test -s conftest.err; then
22314 ac_cpp_err=$ac_c_preproc_warn_flag
22315 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22316 else
22317 ac_cpp_err=
22318 fi
22319 else
22320 ac_cpp_err=yes
22321 fi
22322 if test -z "$ac_cpp_err"; then
22323 ac_header_preproc=yes
22324 else
22325 echo "$as_me: failed program was:" >&5
22326 sed 's/^/| /' conftest.$ac_ext >&5
22327
22328 ac_header_preproc=no
22329 fi
22330 rm -f conftest.err conftest.$ac_ext
22331 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22332 echo "${ECHO_T}$ac_header_preproc" >&6
22333
22334 # So? What about this header?
22335 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22336 yes:no: )
22337 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
22338 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22339 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
22340 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
22341 ac_header_preproc=yes
22342 ;;
22343 no:yes:* )
22344 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
22345 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
22346 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
22347 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
22348 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
22349 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
22350 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
22351 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
22352 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
22353 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
22354 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
22355 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
22356 (
22357 cat <<\_ASBOX
22358 ## ----------------------------------------- ##
22359 ## Report this to wx-dev@lists.wxwidgets.org ##
22360 ## ----------------------------------------- ##
22361 _ASBOX
22362 ) |
22363 sed "s/^/$as_me: WARNING: /" >&2
22364 ;;
22365 esac
22366 echo "$as_me:$LINENO: checking for zlib.h" >&5
22367 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22368 if test "${ac_cv_header_zlib_h+set}" = set; then
22369 echo $ECHO_N "(cached) $ECHO_C" >&6
22370 else
22371 ac_cv_header_zlib_h=$ac_header_preproc
22372 fi
22373 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22374 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22375
22376 fi
22377
22378
22379
22380 system_zlib_h_ok=$ac_cv_header_zlib_h
22381 fi
22382
22383 if test "$system_zlib_h_ok" = "yes"; then
22384 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
22385 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
22386 if test "${ac_cv_lib_z_deflate+set}" = set; then
22387 echo $ECHO_N "(cached) $ECHO_C" >&6
22388 else
22389 ac_check_lib_save_LIBS=$LIBS
22390 LIBS="-lz $LIBS"
22391 cat >conftest.$ac_ext <<_ACEOF
22392 /* confdefs.h. */
22393 _ACEOF
22394 cat confdefs.h >>conftest.$ac_ext
22395 cat >>conftest.$ac_ext <<_ACEOF
22396 /* end confdefs.h. */
22397
22398 /* Override any gcc2 internal prototype to avoid an error. */
22399 #ifdef __cplusplus
22400 extern "C"
22401 #endif
22402 /* We use char because int might match the return type of a gcc2
22403 builtin and then its argument prototype would still apply. */
22404 char deflate ();
22405 int
22406 main ()
22407 {
22408 deflate ();
22409 ;
22410 return 0;
22411 }
22412 _ACEOF
22413 rm -f conftest.$ac_objext conftest$ac_exeext
22414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22415 (eval $ac_link) 2>conftest.er1
22416 ac_status=$?
22417 grep -v '^ *+' conftest.er1 >conftest.err
22418 rm -f conftest.er1
22419 cat conftest.err >&5
22420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22421 (exit $ac_status); } &&
22422 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22424 (eval $ac_try) 2>&5
22425 ac_status=$?
22426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22427 (exit $ac_status); }; } &&
22428 { ac_try='test -s conftest$ac_exeext'
22429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22430 (eval $ac_try) 2>&5
22431 ac_status=$?
22432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22433 (exit $ac_status); }; }; then
22434 ac_cv_lib_z_deflate=yes
22435 else
22436 echo "$as_me: failed program was:" >&5
22437 sed 's/^/| /' conftest.$ac_ext >&5
22438
22439 ac_cv_lib_z_deflate=no
22440 fi
22441 rm -f conftest.err conftest.$ac_objext \
22442 conftest$ac_exeext conftest.$ac_ext
22443 LIBS=$ac_check_lib_save_LIBS
22444 fi
22445 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
22446 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
22447 if test $ac_cv_lib_z_deflate = yes; then
22448 ZLIB_LINK=" -lz"
22449 fi
22450
22451 fi
22452
22453 if test "x$ZLIB_LINK" = "x" ; then
22454 if test "$wxUSE_ZLIB" = "sys" ; then
22455 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
22456 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
22457 { (exit 1); exit 1; }; }
22458 else
22459 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
22460 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22461 wxUSE_ZLIB=builtin
22462 fi
22463 else
22464 wxUSE_ZLIB=sys
22465 fi
22466 fi
22467 fi
22468
22469
22470 PNG_LINK=
22471 if test "$wxUSE_LIBPNG" != "no" ; then
22472 cat >>confdefs.h <<\_ACEOF
22473 #define wxUSE_LIBPNG 1
22474 _ACEOF
22475
22476
22477 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
22478 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
22479 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
22480 wxUSE_LIBPNG=sys
22481 fi
22482
22483 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22484 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22485 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22486 wxUSE_LIBPNG=builtin
22487 fi
22488
22489 if test "$wxUSE_MGL" != 1 ; then
22490 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22491 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
22492 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
22493 if test "${ac_cv_header_png_h+set}" = set; then
22494 echo $ECHO_N "(cached) $ECHO_C" >&6
22495 else
22496 if test "$cross_compiling" = yes; then
22497 unset ac_cv_header_png_h
22498
22499 else
22500 cat >conftest.$ac_ext <<_ACEOF
22501 /* confdefs.h. */
22502 _ACEOF
22503 cat confdefs.h >>conftest.$ac_ext
22504 cat >>conftest.$ac_ext <<_ACEOF
22505 /* end confdefs.h. */
22506
22507 #include <png.h>
22508 #include <stdio.h>
22509
22510 int main()
22511 {
22512 FILE *f=fopen("conftestval", "w");
22513 if (!f) exit(1);
22514 fprintf(f, "%s",
22515 PNG_LIBPNG_VER > 90 ? "yes" : "no");
22516 exit(0);
22517 }
22518
22519 _ACEOF
22520 rm -f conftest$ac_exeext
22521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22522 (eval $ac_link) 2>&5
22523 ac_status=$?
22524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22525 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22527 (eval $ac_try) 2>&5
22528 ac_status=$?
22529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22530 (exit $ac_status); }; }; then
22531 ac_cv_header_png_h=`cat conftestval`
22532 else
22533 echo "$as_me: program exited with status $ac_status" >&5
22534 echo "$as_me: failed program was:" >&5
22535 sed 's/^/| /' conftest.$ac_ext >&5
22536
22537 ( exit $ac_status )
22538 ac_cv_header_png_h=no
22539 fi
22540 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22541 fi
22542
22543 fi
22544 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22545 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22546 if test "${ac_cv_header_png_h+set}" = set; then
22547 echo "$as_me:$LINENO: checking for png.h" >&5
22548 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
22549 if test "${ac_cv_header_png_h+set}" = set; then
22550 echo $ECHO_N "(cached) $ECHO_C" >&6
22551 fi
22552 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22553 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22554 else
22555 # Is the header compilable?
22556 echo "$as_me:$LINENO: checking png.h usability" >&5
22557 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
22558 cat >conftest.$ac_ext <<_ACEOF
22559 /* confdefs.h. */
22560 _ACEOF
22561 cat confdefs.h >>conftest.$ac_ext
22562 cat >>conftest.$ac_ext <<_ACEOF
22563 /* end confdefs.h. */
22564 $ac_includes_default
22565 #include <png.h>
22566 _ACEOF
22567 rm -f conftest.$ac_objext
22568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22569 (eval $ac_compile) 2>conftest.er1
22570 ac_status=$?
22571 grep -v '^ *+' conftest.er1 >conftest.err
22572 rm -f conftest.er1
22573 cat conftest.err >&5
22574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22575 (exit $ac_status); } &&
22576 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22578 (eval $ac_try) 2>&5
22579 ac_status=$?
22580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22581 (exit $ac_status); }; } &&
22582 { ac_try='test -s conftest.$ac_objext'
22583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22584 (eval $ac_try) 2>&5
22585 ac_status=$?
22586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22587 (exit $ac_status); }; }; then
22588 ac_header_compiler=yes
22589 else
22590 echo "$as_me: failed program was:" >&5
22591 sed 's/^/| /' conftest.$ac_ext >&5
22592
22593 ac_header_compiler=no
22594 fi
22595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22596 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22597 echo "${ECHO_T}$ac_header_compiler" >&6
22598
22599 # Is the header present?
22600 echo "$as_me:$LINENO: checking png.h presence" >&5
22601 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
22602 cat >conftest.$ac_ext <<_ACEOF
22603 /* confdefs.h. */
22604 _ACEOF
22605 cat confdefs.h >>conftest.$ac_ext
22606 cat >>conftest.$ac_ext <<_ACEOF
22607 /* end confdefs.h. */
22608 #include <png.h>
22609 _ACEOF
22610 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22611 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22612 ac_status=$?
22613 grep -v '^ *+' conftest.er1 >conftest.err
22614 rm -f conftest.er1
22615 cat conftest.err >&5
22616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22617 (exit $ac_status); } >/dev/null; then
22618 if test -s conftest.err; then
22619 ac_cpp_err=$ac_c_preproc_warn_flag
22620 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22621 else
22622 ac_cpp_err=
22623 fi
22624 else
22625 ac_cpp_err=yes
22626 fi
22627 if test -z "$ac_cpp_err"; then
22628 ac_header_preproc=yes
22629 else
22630 echo "$as_me: failed program was:" >&5
22631 sed 's/^/| /' conftest.$ac_ext >&5
22632
22633 ac_header_preproc=no
22634 fi
22635 rm -f conftest.err conftest.$ac_ext
22636 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22637 echo "${ECHO_T}$ac_header_preproc" >&6
22638
22639 # So? What about this header?
22640 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22641 yes:no: )
22642 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
22643 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22644 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
22645 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
22646 ac_header_preproc=yes
22647 ;;
22648 no:yes:* )
22649 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
22650 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
22651 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
22652 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
22653 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
22654 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
22655 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
22656 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
22657 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
22658 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
22659 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
22660 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
22661 (
22662 cat <<\_ASBOX
22663 ## ----------------------------------------- ##
22664 ## Report this to wx-dev@lists.wxwidgets.org ##
22665 ## ----------------------------------------- ##
22666 _ASBOX
22667 ) |
22668 sed "s/^/$as_me: WARNING: /" >&2
22669 ;;
22670 esac
22671 echo "$as_me:$LINENO: checking for png.h" >&5
22672 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
22673 if test "${ac_cv_header_png_h+set}" = set; then
22674 echo $ECHO_N "(cached) $ECHO_C" >&6
22675 else
22676 ac_cv_header_png_h=$ac_header_preproc
22677 fi
22678 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22679 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22680
22681 fi
22682
22683
22684
22685 if test "$ac_cv_header_png_h" = "yes"; then
22686 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
22687 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
22688 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
22689 echo $ECHO_N "(cached) $ECHO_C" >&6
22690 else
22691 ac_check_lib_save_LIBS=$LIBS
22692 LIBS="-lpng -lz -lm $LIBS"
22693 cat >conftest.$ac_ext <<_ACEOF
22694 /* confdefs.h. */
22695 _ACEOF
22696 cat confdefs.h >>conftest.$ac_ext
22697 cat >>conftest.$ac_ext <<_ACEOF
22698 /* end confdefs.h. */
22699
22700 /* Override any gcc2 internal prototype to avoid an error. */
22701 #ifdef __cplusplus
22702 extern "C"
22703 #endif
22704 /* We use char because int might match the return type of a gcc2
22705 builtin and then its argument prototype would still apply. */
22706 char png_check_sig ();
22707 int
22708 main ()
22709 {
22710 png_check_sig ();
22711 ;
22712 return 0;
22713 }
22714 _ACEOF
22715 rm -f conftest.$ac_objext conftest$ac_exeext
22716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22717 (eval $ac_link) 2>conftest.er1
22718 ac_status=$?
22719 grep -v '^ *+' conftest.er1 >conftest.err
22720 rm -f conftest.er1
22721 cat conftest.err >&5
22722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22723 (exit $ac_status); } &&
22724 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22726 (eval $ac_try) 2>&5
22727 ac_status=$?
22728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22729 (exit $ac_status); }; } &&
22730 { ac_try='test -s conftest$ac_exeext'
22731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22732 (eval $ac_try) 2>&5
22733 ac_status=$?
22734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22735 (exit $ac_status); }; }; then
22736 ac_cv_lib_png_png_check_sig=yes
22737 else
22738 echo "$as_me: failed program was:" >&5
22739 sed 's/^/| /' conftest.$ac_ext >&5
22740
22741 ac_cv_lib_png_png_check_sig=no
22742 fi
22743 rm -f conftest.err conftest.$ac_objext \
22744 conftest$ac_exeext conftest.$ac_ext
22745 LIBS=$ac_check_lib_save_LIBS
22746 fi
22747 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
22748 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
22749 if test $ac_cv_lib_png_png_check_sig = yes; then
22750 PNG_LINK=" -lpng -lz"
22751 fi
22752
22753 fi
22754
22755 if test "x$PNG_LINK" = "x" ; then
22756 if test "$wxUSE_LIBPNG" = "sys" ; then
22757 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
22758 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
22759 { (exit 1); exit 1; }; }
22760 else
22761 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
22762 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22763 wxUSE_LIBPNG=builtin
22764 fi
22765 else
22766 wxUSE_LIBPNG=sys
22767 fi
22768 fi
22769 fi
22770
22771 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
22772 fi
22773
22774
22775 JPEG_LINK=
22776 if test "$wxUSE_LIBJPEG" != "no" ; then
22777 cat >>confdefs.h <<\_ACEOF
22778 #define wxUSE_LIBJPEG 1
22779 _ACEOF
22780
22781
22782 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
22783 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
22784 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
22785 wxUSE_LIBJPEG=sys
22786 fi
22787
22788 if test "$wxUSE_MGL" != 1 ; then
22789 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22790 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
22791 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
22792 if test "${ac_cv_header_jpeglib_h+set}" = set; then
22793 echo $ECHO_N "(cached) $ECHO_C" >&6
22794 else
22795 cat >conftest.$ac_ext <<_ACEOF
22796 /* confdefs.h. */
22797 _ACEOF
22798 cat confdefs.h >>conftest.$ac_ext
22799 cat >>conftest.$ac_ext <<_ACEOF
22800 /* end confdefs.h. */
22801
22802 #undef HAVE_STDLIB_H
22803 #include <stdio.h>
22804 #include <jpeglib.h>
22805
22806 int
22807 main ()
22808 {
22809
22810
22811 ;
22812 return 0;
22813 }
22814 _ACEOF
22815 rm -f conftest.$ac_objext
22816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22817 (eval $ac_compile) 2>conftest.er1
22818 ac_status=$?
22819 grep -v '^ *+' conftest.er1 >conftest.err
22820 rm -f conftest.er1
22821 cat conftest.err >&5
22822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22823 (exit $ac_status); } &&
22824 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22826 (eval $ac_try) 2>&5
22827 ac_status=$?
22828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22829 (exit $ac_status); }; } &&
22830 { ac_try='test -s conftest.$ac_objext'
22831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22832 (eval $ac_try) 2>&5
22833 ac_status=$?
22834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22835 (exit $ac_status); }; }; then
22836 ac_cv_header_jpeglib_h=yes
22837 else
22838 echo "$as_me: failed program was:" >&5
22839 sed 's/^/| /' conftest.$ac_ext >&5
22840
22841 ac_cv_header_jpeglib_h=no
22842
22843 fi
22844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22845
22846 fi
22847
22848 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
22849 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
22850
22851 if test "$ac_cv_header_jpeglib_h" = "yes"; then
22852 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
22853 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
22854 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
22855 echo $ECHO_N "(cached) $ECHO_C" >&6
22856 else
22857 ac_check_lib_save_LIBS=$LIBS
22858 LIBS="-ljpeg $LIBS"
22859 cat >conftest.$ac_ext <<_ACEOF
22860 /* confdefs.h. */
22861 _ACEOF
22862 cat confdefs.h >>conftest.$ac_ext
22863 cat >>conftest.$ac_ext <<_ACEOF
22864 /* end confdefs.h. */
22865
22866 /* Override any gcc2 internal prototype to avoid an error. */
22867 #ifdef __cplusplus
22868 extern "C"
22869 #endif
22870 /* We use char because int might match the return type of a gcc2
22871 builtin and then its argument prototype would still apply. */
22872 char jpeg_read_header ();
22873 int
22874 main ()
22875 {
22876 jpeg_read_header ();
22877 ;
22878 return 0;
22879 }
22880 _ACEOF
22881 rm -f conftest.$ac_objext conftest$ac_exeext
22882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22883 (eval $ac_link) 2>conftest.er1
22884 ac_status=$?
22885 grep -v '^ *+' conftest.er1 >conftest.err
22886 rm -f conftest.er1
22887 cat conftest.err >&5
22888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22889 (exit $ac_status); } &&
22890 { ac_try='test -z "$ac_c_werror_flag" || 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 ac_cv_lib_jpeg_jpeg_read_header=yes
22903 else
22904 echo "$as_me: failed program was:" >&5
22905 sed 's/^/| /' conftest.$ac_ext >&5
22906
22907 ac_cv_lib_jpeg_jpeg_read_header=no
22908 fi
22909 rm -f conftest.err conftest.$ac_objext \
22910 conftest$ac_exeext conftest.$ac_ext
22911 LIBS=$ac_check_lib_save_LIBS
22912 fi
22913 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
22914 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
22915 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
22916 JPEG_LINK=" -ljpeg"
22917 fi
22918
22919 fi
22920
22921 if test "x$JPEG_LINK" = "x" ; then
22922 if test "$wxUSE_LIBJPEG" = "sys" ; then
22923 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
22924 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
22925 { (exit 1); exit 1; }; }
22926 else
22927 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
22928 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
22929 wxUSE_LIBJPEG=builtin
22930 fi
22931 else
22932 wxUSE_LIBJPEG=sys
22933 fi
22934 fi
22935 fi
22936 fi
22937
22938
22939 TIFF_LINK=
22940 TIFF_PREREQ_LINKS=-lm
22941 if test "$wxUSE_LIBTIFF" != "no" ; then
22942 cat >>confdefs.h <<\_ACEOF
22943 #define wxUSE_LIBTIFF 1
22944 _ACEOF
22945
22946
22947 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
22948 if test "$wxUSE_LIBJPEG" = "sys"; then
22949 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
22950 fi
22951 if test "$wxUSE_ZLIB" = "sys"; then
22952 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
22953 fi
22954 if test "${ac_cv_header_tiffio_h+set}" = set; then
22955 echo "$as_me:$LINENO: checking for tiffio.h" >&5
22956 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
22957 if test "${ac_cv_header_tiffio_h+set}" = set; then
22958 echo $ECHO_N "(cached) $ECHO_C" >&6
22959 fi
22960 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
22961 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
22962 else
22963 # Is the header compilable?
22964 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
22965 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
22966 cat >conftest.$ac_ext <<_ACEOF
22967 /* confdefs.h. */
22968 _ACEOF
22969 cat confdefs.h >>conftest.$ac_ext
22970 cat >>conftest.$ac_ext <<_ACEOF
22971 /* end confdefs.h. */
22972 $ac_includes_default
22973 #include <tiffio.h>
22974 _ACEOF
22975 rm -f conftest.$ac_objext
22976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22977 (eval $ac_compile) 2>conftest.er1
22978 ac_status=$?
22979 grep -v '^ *+' conftest.er1 >conftest.err
22980 rm -f conftest.er1
22981 cat conftest.err >&5
22982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22983 (exit $ac_status); } &&
22984 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22986 (eval $ac_try) 2>&5
22987 ac_status=$?
22988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22989 (exit $ac_status); }; } &&
22990 { ac_try='test -s conftest.$ac_objext'
22991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22992 (eval $ac_try) 2>&5
22993 ac_status=$?
22994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22995 (exit $ac_status); }; }; then
22996 ac_header_compiler=yes
22997 else
22998 echo "$as_me: failed program was:" >&5
22999 sed 's/^/| /' conftest.$ac_ext >&5
23000
23001 ac_header_compiler=no
23002 fi
23003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23004 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23005 echo "${ECHO_T}$ac_header_compiler" >&6
23006
23007 # Is the header present?
23008 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
23009 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
23010 cat >conftest.$ac_ext <<_ACEOF
23011 /* confdefs.h. */
23012 _ACEOF
23013 cat confdefs.h >>conftest.$ac_ext
23014 cat >>conftest.$ac_ext <<_ACEOF
23015 /* end confdefs.h. */
23016 #include <tiffio.h>
23017 _ACEOF
23018 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23019 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23020 ac_status=$?
23021 grep -v '^ *+' conftest.er1 >conftest.err
23022 rm -f conftest.er1
23023 cat conftest.err >&5
23024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23025 (exit $ac_status); } >/dev/null; then
23026 if test -s conftest.err; then
23027 ac_cpp_err=$ac_c_preproc_warn_flag
23028 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23029 else
23030 ac_cpp_err=
23031 fi
23032 else
23033 ac_cpp_err=yes
23034 fi
23035 if test -z "$ac_cpp_err"; then
23036 ac_header_preproc=yes
23037 else
23038 echo "$as_me: failed program was:" >&5
23039 sed 's/^/| /' conftest.$ac_ext >&5
23040
23041 ac_header_preproc=no
23042 fi
23043 rm -f conftest.err conftest.$ac_ext
23044 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23045 echo "${ECHO_T}$ac_header_preproc" >&6
23046
23047 # So? What about this header?
23048 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23049 yes:no: )
23050 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
23051 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23052 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
23053 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
23054 ac_header_preproc=yes
23055 ;;
23056 no:yes:* )
23057 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
23058 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
23059 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
23060 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
23061 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
23062 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
23063 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
23064 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
23065 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
23066 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
23067 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
23068 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
23069 (
23070 cat <<\_ASBOX
23071 ## ----------------------------------------- ##
23072 ## Report this to wx-dev@lists.wxwidgets.org ##
23073 ## ----------------------------------------- ##
23074 _ASBOX
23075 ) |
23076 sed "s/^/$as_me: WARNING: /" >&2
23077 ;;
23078 esac
23079 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23080 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23081 if test "${ac_cv_header_tiffio_h+set}" = set; then
23082 echo $ECHO_N "(cached) $ECHO_C" >&6
23083 else
23084 ac_cv_header_tiffio_h=$ac_header_preproc
23085 fi
23086 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23087 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23088
23089 fi
23090 if test $ac_cv_header_tiffio_h = yes; then
23091
23092 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
23093 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
23094 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
23095 echo $ECHO_N "(cached) $ECHO_C" >&6
23096 else
23097 ac_check_lib_save_LIBS=$LIBS
23098 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
23099 cat >conftest.$ac_ext <<_ACEOF
23100 /* confdefs.h. */
23101 _ACEOF
23102 cat confdefs.h >>conftest.$ac_ext
23103 cat >>conftest.$ac_ext <<_ACEOF
23104 /* end confdefs.h. */
23105
23106 /* Override any gcc2 internal prototype to avoid an error. */
23107 #ifdef __cplusplus
23108 extern "C"
23109 #endif
23110 /* We use char because int might match the return type of a gcc2
23111 builtin and then its argument prototype would still apply. */
23112 char TIFFError ();
23113 int
23114 main ()
23115 {
23116 TIFFError ();
23117 ;
23118 return 0;
23119 }
23120 _ACEOF
23121 rm -f conftest.$ac_objext conftest$ac_exeext
23122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23123 (eval $ac_link) 2>conftest.er1
23124 ac_status=$?
23125 grep -v '^ *+' conftest.er1 >conftest.err
23126 rm -f conftest.er1
23127 cat conftest.err >&5
23128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23129 (exit $ac_status); } &&
23130 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
23136 { ac_try='test -s conftest$ac_exeext'
23137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23138 (eval $ac_try) 2>&5
23139 ac_status=$?
23140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23141 (exit $ac_status); }; }; then
23142 ac_cv_lib_tiff_TIFFError=yes
23143 else
23144 echo "$as_me: failed program was:" >&5
23145 sed 's/^/| /' conftest.$ac_ext >&5
23146
23147 ac_cv_lib_tiff_TIFFError=no
23148 fi
23149 rm -f conftest.err conftest.$ac_objext \
23150 conftest$ac_exeext conftest.$ac_ext
23151 LIBS=$ac_check_lib_save_LIBS
23152 fi
23153 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
23154 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
23155 if test $ac_cv_lib_tiff_TIFFError = yes; then
23156 TIFF_LINK=" -ltiff"
23157 fi
23158
23159
23160
23161 fi
23162
23163
23164
23165 if test "x$TIFF_LINK" = "x" ; then
23166 if test "$wxUSE_LIBTIFF" = "sys" ; then
23167 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
23168 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
23169 { (exit 1); exit 1; }; }
23170 else
23171 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
23172 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
23173 wxUSE_LIBTIFF=builtin
23174 fi
23175 else
23176 wxUSE_LIBTIFF=sys
23177 fi
23178 fi
23179 fi
23180
23181
23182 if test "$wxUSE_EXPAT" != "no"; then
23183 wxUSE_XML=yes
23184 cat >>confdefs.h <<\_ACEOF
23185 #define wxUSE_EXPAT 1
23186 _ACEOF
23187
23188 cat >>confdefs.h <<\_ACEOF
23189 #define wxUSE_XML 1
23190 _ACEOF
23191
23192
23193 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
23194 if test "${ac_cv_header_expat_h+set}" = set; then
23195 echo "$as_me:$LINENO: checking for expat.h" >&5
23196 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23197 if test "${ac_cv_header_expat_h+set}" = set; then
23198 echo $ECHO_N "(cached) $ECHO_C" >&6
23199 fi
23200 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23201 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23202 else
23203 # Is the header compilable?
23204 echo "$as_me:$LINENO: checking expat.h usability" >&5
23205 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
23206 cat >conftest.$ac_ext <<_ACEOF
23207 /* confdefs.h. */
23208 _ACEOF
23209 cat confdefs.h >>conftest.$ac_ext
23210 cat >>conftest.$ac_ext <<_ACEOF
23211 /* end confdefs.h. */
23212 $ac_includes_default
23213 #include <expat.h>
23214 _ACEOF
23215 rm -f conftest.$ac_objext
23216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23217 (eval $ac_compile) 2>conftest.er1
23218 ac_status=$?
23219 grep -v '^ *+' conftest.er1 >conftest.err
23220 rm -f conftest.er1
23221 cat conftest.err >&5
23222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23223 (exit $ac_status); } &&
23224 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23226 (eval $ac_try) 2>&5
23227 ac_status=$?
23228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23229 (exit $ac_status); }; } &&
23230 { ac_try='test -s conftest.$ac_objext'
23231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23232 (eval $ac_try) 2>&5
23233 ac_status=$?
23234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23235 (exit $ac_status); }; }; then
23236 ac_header_compiler=yes
23237 else
23238 echo "$as_me: failed program was:" >&5
23239 sed 's/^/| /' conftest.$ac_ext >&5
23240
23241 ac_header_compiler=no
23242 fi
23243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23244 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23245 echo "${ECHO_T}$ac_header_compiler" >&6
23246
23247 # Is the header present?
23248 echo "$as_me:$LINENO: checking expat.h presence" >&5
23249 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
23250 cat >conftest.$ac_ext <<_ACEOF
23251 /* confdefs.h. */
23252 _ACEOF
23253 cat confdefs.h >>conftest.$ac_ext
23254 cat >>conftest.$ac_ext <<_ACEOF
23255 /* end confdefs.h. */
23256 #include <expat.h>
23257 _ACEOF
23258 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23259 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23260 ac_status=$?
23261 grep -v '^ *+' conftest.er1 >conftest.err
23262 rm -f conftest.er1
23263 cat conftest.err >&5
23264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23265 (exit $ac_status); } >/dev/null; then
23266 if test -s conftest.err; then
23267 ac_cpp_err=$ac_c_preproc_warn_flag
23268 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23269 else
23270 ac_cpp_err=
23271 fi
23272 else
23273 ac_cpp_err=yes
23274 fi
23275 if test -z "$ac_cpp_err"; then
23276 ac_header_preproc=yes
23277 else
23278 echo "$as_me: failed program was:" >&5
23279 sed 's/^/| /' conftest.$ac_ext >&5
23280
23281 ac_header_preproc=no
23282 fi
23283 rm -f conftest.err conftest.$ac_ext
23284 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23285 echo "${ECHO_T}$ac_header_preproc" >&6
23286
23287 # So? What about this header?
23288 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23289 yes:no: )
23290 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
23291 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23292 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
23293 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
23294 ac_header_preproc=yes
23295 ;;
23296 no:yes:* )
23297 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
23298 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
23299 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
23300 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
23301 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
23302 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
23303 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
23304 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
23305 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
23306 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
23307 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
23308 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
23309 (
23310 cat <<\_ASBOX
23311 ## ----------------------------------------- ##
23312 ## Report this to wx-dev@lists.wxwidgets.org ##
23313 ## ----------------------------------------- ##
23314 _ASBOX
23315 ) |
23316 sed "s/^/$as_me: WARNING: /" >&2
23317 ;;
23318 esac
23319 echo "$as_me:$LINENO: checking for expat.h" >&5
23320 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23321 if test "${ac_cv_header_expat_h+set}" = set; then
23322 echo $ECHO_N "(cached) $ECHO_C" >&6
23323 else
23324 ac_cv_header_expat_h=$ac_header_preproc
23325 fi
23326 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23327 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23328
23329 fi
23330 if test $ac_cv_header_expat_h = yes; then
23331 found_expat_h=1
23332 fi
23333
23334
23335 if test "x$found_expat_h" = "x1"; then
23336 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
23337 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
23338 if test "${wx_cv_expat_is_not_broken+set}" = set; then
23339 echo $ECHO_N "(cached) $ECHO_C" >&6
23340 else
23341
23342
23343
23344 ac_ext=cc
23345 ac_cpp='$CXXCPP $CPPFLAGS'
23346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23349
23350 cat >conftest.$ac_ext <<_ACEOF
23351 /* confdefs.h. */
23352 _ACEOF
23353 cat confdefs.h >>conftest.$ac_ext
23354 cat >>conftest.$ac_ext <<_ACEOF
23355 /* end confdefs.h. */
23356 #include <expat.h>
23357 int
23358 main ()
23359 {
23360
23361 ;
23362 return 0;
23363 }
23364 _ACEOF
23365 rm -f conftest.$ac_objext
23366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23367 (eval $ac_compile) 2>conftest.er1
23368 ac_status=$?
23369 grep -v '^ *+' conftest.er1 >conftest.err
23370 rm -f conftest.er1
23371 cat conftest.err >&5
23372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23373 (exit $ac_status); } &&
23374 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23376 (eval $ac_try) 2>&5
23377 ac_status=$?
23378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23379 (exit $ac_status); }; } &&
23380 { ac_try='test -s conftest.$ac_objext'
23381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23382 (eval $ac_try) 2>&5
23383 ac_status=$?
23384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23385 (exit $ac_status); }; }; then
23386 wx_cv_expat_is_not_broken=yes
23387 else
23388 echo "$as_me: failed program was:" >&5
23389 sed 's/^/| /' conftest.$ac_ext >&5
23390
23391 wx_cv_expat_is_not_broken=no
23392
23393 fi
23394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23395 ac_ext=c
23396 ac_cpp='$CPP $CPPFLAGS'
23397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23400
23401
23402
23403 fi
23404 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
23405 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
23406 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
23407 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
23408 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
23409 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
23410 echo $ECHO_N "(cached) $ECHO_C" >&6
23411 else
23412 ac_check_lib_save_LIBS=$LIBS
23413 LIBS="-lexpat $LIBS"
23414 cat >conftest.$ac_ext <<_ACEOF
23415 /* confdefs.h. */
23416 _ACEOF
23417 cat confdefs.h >>conftest.$ac_ext
23418 cat >>conftest.$ac_ext <<_ACEOF
23419 /* end confdefs.h. */
23420
23421 /* Override any gcc2 internal prototype to avoid an error. */
23422 #ifdef __cplusplus
23423 extern "C"
23424 #endif
23425 /* We use char because int might match the return type of a gcc2
23426 builtin and then its argument prototype would still apply. */
23427 char XML_ParserCreate ();
23428 int
23429 main ()
23430 {
23431 XML_ParserCreate ();
23432 ;
23433 return 0;
23434 }
23435 _ACEOF
23436 rm -f conftest.$ac_objext conftest$ac_exeext
23437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23438 (eval $ac_link) 2>conftest.er1
23439 ac_status=$?
23440 grep -v '^ *+' conftest.er1 >conftest.err
23441 rm -f conftest.er1
23442 cat conftest.err >&5
23443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23444 (exit $ac_status); } &&
23445 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23447 (eval $ac_try) 2>&5
23448 ac_status=$?
23449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23450 (exit $ac_status); }; } &&
23451 { ac_try='test -s conftest$ac_exeext'
23452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23453 (eval $ac_try) 2>&5
23454 ac_status=$?
23455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23456 (exit $ac_status); }; }; then
23457 ac_cv_lib_expat_XML_ParserCreate=yes
23458 else
23459 echo "$as_me: failed program was:" >&5
23460 sed 's/^/| /' conftest.$ac_ext >&5
23461
23462 ac_cv_lib_expat_XML_ParserCreate=no
23463 fi
23464 rm -f conftest.err conftest.$ac_objext \
23465 conftest$ac_exeext conftest.$ac_ext
23466 LIBS=$ac_check_lib_save_LIBS
23467 fi
23468 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
23469 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
23470 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
23471 EXPAT_LINK=" -lexpat"
23472 fi
23473
23474 fi
23475 fi
23476 if test "x$EXPAT_LINK" = "x" ; then
23477 if test "$wxUSE_EXPAT" = "sys" ; then
23478 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
23479 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
23480 { (exit 1); exit 1; }; }
23481 else
23482 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
23483 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
23484 wxUSE_EXPAT=builtin
23485 fi
23486 else
23487 wxUSE_EXPAT=sys
23488 fi
23489 fi
23490 if test "$wxUSE_EXPAT" = "builtin" ; then
23491
23492
23493 subdirs="$subdirs src/expat"
23494
23495 fi
23496 fi
23497
23498
23499
23500 if test "$wxUSE_LIBMSPACK" != "no"; then
23501 if test "${ac_cv_header_mspack_h+set}" = set; then
23502 echo "$as_me:$LINENO: checking for mspack.h" >&5
23503 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
23504 if test "${ac_cv_header_mspack_h+set}" = set; then
23505 echo $ECHO_N "(cached) $ECHO_C" >&6
23506 fi
23507 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
23508 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
23509 else
23510 # Is the header compilable?
23511 echo "$as_me:$LINENO: checking mspack.h usability" >&5
23512 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
23513 cat >conftest.$ac_ext <<_ACEOF
23514 /* confdefs.h. */
23515 _ACEOF
23516 cat confdefs.h >>conftest.$ac_ext
23517 cat >>conftest.$ac_ext <<_ACEOF
23518 /* end confdefs.h. */
23519 $ac_includes_default
23520 #include <mspack.h>
23521 _ACEOF
23522 rm -f conftest.$ac_objext
23523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23524 (eval $ac_compile) 2>conftest.er1
23525 ac_status=$?
23526 grep -v '^ *+' conftest.er1 >conftest.err
23527 rm -f conftest.er1
23528 cat conftest.err >&5
23529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23530 (exit $ac_status); } &&
23531 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23533 (eval $ac_try) 2>&5
23534 ac_status=$?
23535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23536 (exit $ac_status); }; } &&
23537 { ac_try='test -s conftest.$ac_objext'
23538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23539 (eval $ac_try) 2>&5
23540 ac_status=$?
23541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23542 (exit $ac_status); }; }; then
23543 ac_header_compiler=yes
23544 else
23545 echo "$as_me: failed program was:" >&5
23546 sed 's/^/| /' conftest.$ac_ext >&5
23547
23548 ac_header_compiler=no
23549 fi
23550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23551 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23552 echo "${ECHO_T}$ac_header_compiler" >&6
23553
23554 # Is the header present?
23555 echo "$as_me:$LINENO: checking mspack.h presence" >&5
23556 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
23557 cat >conftest.$ac_ext <<_ACEOF
23558 /* confdefs.h. */
23559 _ACEOF
23560 cat confdefs.h >>conftest.$ac_ext
23561 cat >>conftest.$ac_ext <<_ACEOF
23562 /* end confdefs.h. */
23563 #include <mspack.h>
23564 _ACEOF
23565 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23566 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23567 ac_status=$?
23568 grep -v '^ *+' conftest.er1 >conftest.err
23569 rm -f conftest.er1
23570 cat conftest.err >&5
23571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23572 (exit $ac_status); } >/dev/null; then
23573 if test -s conftest.err; then
23574 ac_cpp_err=$ac_c_preproc_warn_flag
23575 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23576 else
23577 ac_cpp_err=
23578 fi
23579 else
23580 ac_cpp_err=yes
23581 fi
23582 if test -z "$ac_cpp_err"; then
23583 ac_header_preproc=yes
23584 else
23585 echo "$as_me: failed program was:" >&5
23586 sed 's/^/| /' conftest.$ac_ext >&5
23587
23588 ac_header_preproc=no
23589 fi
23590 rm -f conftest.err conftest.$ac_ext
23591 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23592 echo "${ECHO_T}$ac_header_preproc" >&6
23593
23594 # So? What about this header?
23595 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23596 yes:no: )
23597 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
23598 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23599 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
23600 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
23601 ac_header_preproc=yes
23602 ;;
23603 no:yes:* )
23604 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
23605 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
23606 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
23607 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
23608 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
23609 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
23610 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
23611 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
23612 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
23613 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
23614 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
23615 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
23616 (
23617 cat <<\_ASBOX
23618 ## ----------------------------------------- ##
23619 ## Report this to wx-dev@lists.wxwidgets.org ##
23620 ## ----------------------------------------- ##
23621 _ASBOX
23622 ) |
23623 sed "s/^/$as_me: WARNING: /" >&2
23624 ;;
23625 esac
23626 echo "$as_me:$LINENO: checking for mspack.h" >&5
23627 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
23628 if test "${ac_cv_header_mspack_h+set}" = set; then
23629 echo $ECHO_N "(cached) $ECHO_C" >&6
23630 else
23631 ac_cv_header_mspack_h=$ac_header_preproc
23632 fi
23633 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
23634 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
23635
23636 fi
23637 if test $ac_cv_header_mspack_h = yes; then
23638 found_mspack_h=1
23639 fi
23640
23641
23642 if test "x$found_mspack_h" = "x1"; then
23643 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
23644 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
23645 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
23646 echo $ECHO_N "(cached) $ECHO_C" >&6
23647 else
23648 ac_check_lib_save_LIBS=$LIBS
23649 LIBS="-lmspack $LIBS"
23650 cat >conftest.$ac_ext <<_ACEOF
23651 /* confdefs.h. */
23652 _ACEOF
23653 cat confdefs.h >>conftest.$ac_ext
23654 cat >>conftest.$ac_ext <<_ACEOF
23655 /* end confdefs.h. */
23656
23657 /* Override any gcc2 internal prototype to avoid an error. */
23658 #ifdef __cplusplus
23659 extern "C"
23660 #endif
23661 /* We use char because int might match the return type of a gcc2
23662 builtin and then its argument prototype would still apply. */
23663 char mspack_create_chm_decompressor ();
23664 int
23665 main ()
23666 {
23667 mspack_create_chm_decompressor ();
23668 ;
23669 return 0;
23670 }
23671 _ACEOF
23672 rm -f conftest.$ac_objext conftest$ac_exeext
23673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23674 (eval $ac_link) 2>conftest.er1
23675 ac_status=$?
23676 grep -v '^ *+' conftest.er1 >conftest.err
23677 rm -f conftest.er1
23678 cat conftest.err >&5
23679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23680 (exit $ac_status); } &&
23681 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23683 (eval $ac_try) 2>&5
23684 ac_status=$?
23685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23686 (exit $ac_status); }; } &&
23687 { ac_try='test -s conftest$ac_exeext'
23688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23689 (eval $ac_try) 2>&5
23690 ac_status=$?
23691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23692 (exit $ac_status); }; }; then
23693 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
23694 else
23695 echo "$as_me: failed program was:" >&5
23696 sed 's/^/| /' conftest.$ac_ext >&5
23697
23698 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
23699 fi
23700 rm -f conftest.err conftest.$ac_objext \
23701 conftest$ac_exeext conftest.$ac_ext
23702 LIBS=$ac_check_lib_save_LIBS
23703 fi
23704 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
23705 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
23706 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
23707 MSPACK_LINK=" -lmspack"
23708 fi
23709
23710 fi
23711 if test "x$MSPACK_LINK" = "x" ; then
23712 wxUSE_LIBMSPACK=no
23713 fi
23714 fi
23715
23716 if test "$wxUSE_LIBMSPACK" != "no"; then
23717 cat >>confdefs.h <<\_ACEOF
23718 #define wxUSE_LIBMSPACK 1
23719 _ACEOF
23720
23721 fi
23722
23723
23724
23725 AFMINSTALL=
23726 WIN32INSTALL=
23727
23728 TOOLKIT=
23729 TOOLKIT_INCLUDE=
23730 WIDGET_SET=
23731
23732 if test "$USE_WIN32" = 1 ; then
23733
23734 for ac_header in w32api.h
23735 do
23736 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23737 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23738 echo "$as_me:$LINENO: checking for $ac_header" >&5
23739 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23740 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23741 echo $ECHO_N "(cached) $ECHO_C" >&6
23742 fi
23743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23744 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23745 else
23746 # Is the header compilable?
23747 echo "$as_me:$LINENO: checking $ac_header usability" >&5
23748 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23749 cat >conftest.$ac_ext <<_ACEOF
23750 /* confdefs.h. */
23751 _ACEOF
23752 cat confdefs.h >>conftest.$ac_ext
23753 cat >>conftest.$ac_ext <<_ACEOF
23754 /* end confdefs.h. */
23755 $ac_includes_default
23756 #include <$ac_header>
23757 _ACEOF
23758 rm -f conftest.$ac_objext
23759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23760 (eval $ac_compile) 2>conftest.er1
23761 ac_status=$?
23762 grep -v '^ *+' conftest.er1 >conftest.err
23763 rm -f conftest.er1
23764 cat conftest.err >&5
23765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23766 (exit $ac_status); } &&
23767 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23769 (eval $ac_try) 2>&5
23770 ac_status=$?
23771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23772 (exit $ac_status); }; } &&
23773 { ac_try='test -s conftest.$ac_objext'
23774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23775 (eval $ac_try) 2>&5
23776 ac_status=$?
23777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23778 (exit $ac_status); }; }; then
23779 ac_header_compiler=yes
23780 else
23781 echo "$as_me: failed program was:" >&5
23782 sed 's/^/| /' conftest.$ac_ext >&5
23783
23784 ac_header_compiler=no
23785 fi
23786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23787 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23788 echo "${ECHO_T}$ac_header_compiler" >&6
23789
23790 # Is the header present?
23791 echo "$as_me:$LINENO: checking $ac_header presence" >&5
23792 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23793 cat >conftest.$ac_ext <<_ACEOF
23794 /* confdefs.h. */
23795 _ACEOF
23796 cat confdefs.h >>conftest.$ac_ext
23797 cat >>conftest.$ac_ext <<_ACEOF
23798 /* end confdefs.h. */
23799 #include <$ac_header>
23800 _ACEOF
23801 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23802 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23803 ac_status=$?
23804 grep -v '^ *+' conftest.er1 >conftest.err
23805 rm -f conftest.er1
23806 cat conftest.err >&5
23807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23808 (exit $ac_status); } >/dev/null; then
23809 if test -s conftest.err; then
23810 ac_cpp_err=$ac_c_preproc_warn_flag
23811 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23812 else
23813 ac_cpp_err=
23814 fi
23815 else
23816 ac_cpp_err=yes
23817 fi
23818 if test -z "$ac_cpp_err"; then
23819 ac_header_preproc=yes
23820 else
23821 echo "$as_me: failed program was:" >&5
23822 sed 's/^/| /' conftest.$ac_ext >&5
23823
23824 ac_header_preproc=no
23825 fi
23826 rm -f conftest.err conftest.$ac_ext
23827 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23828 echo "${ECHO_T}$ac_header_preproc" >&6
23829
23830 # So? What about this header?
23831 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23832 yes:no: )
23833 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23834 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23835 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23836 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23837 ac_header_preproc=yes
23838 ;;
23839 no:yes:* )
23840 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23841 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23842 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23843 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23844 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23845 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23846 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23847 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23848 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23849 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23850 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23851 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23852 (
23853 cat <<\_ASBOX
23854 ## ----------------------------------------- ##
23855 ## Report this to wx-dev@lists.wxwidgets.org ##
23856 ## ----------------------------------------- ##
23857 _ASBOX
23858 ) |
23859 sed "s/^/$as_me: WARNING: /" >&2
23860 ;;
23861 esac
23862 echo "$as_me:$LINENO: checking for $ac_header" >&5
23863 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23864 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23865 echo $ECHO_N "(cached) $ECHO_C" >&6
23866 else
23867 eval "$as_ac_Header=\$ac_header_preproc"
23868 fi
23869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23870 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23871
23872 fi
23873 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23874 cat >>confdefs.h <<_ACEOF
23875 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23876 _ACEOF
23877
23878 fi
23879
23880 done
23881
23882 if test "${ac_cv_header_windows_h+set}" = set; then
23883 echo "$as_me:$LINENO: checking for windows.h" >&5
23884 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
23885 if test "${ac_cv_header_windows_h+set}" = set; then
23886 echo $ECHO_N "(cached) $ECHO_C" >&6
23887 fi
23888 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
23889 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
23890 else
23891 # Is the header compilable?
23892 echo "$as_me:$LINENO: checking windows.h usability" >&5
23893 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
23894 cat >conftest.$ac_ext <<_ACEOF
23895 /* confdefs.h. */
23896 _ACEOF
23897 cat confdefs.h >>conftest.$ac_ext
23898 cat >>conftest.$ac_ext <<_ACEOF
23899 /* end confdefs.h. */
23900 $ac_includes_default
23901 #include <windows.h>
23902 _ACEOF
23903 rm -f conftest.$ac_objext
23904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23905 (eval $ac_compile) 2>conftest.er1
23906 ac_status=$?
23907 grep -v '^ *+' conftest.er1 >conftest.err
23908 rm -f conftest.er1
23909 cat conftest.err >&5
23910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23911 (exit $ac_status); } &&
23912 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23914 (eval $ac_try) 2>&5
23915 ac_status=$?
23916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23917 (exit $ac_status); }; } &&
23918 { ac_try='test -s conftest.$ac_objext'
23919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23920 (eval $ac_try) 2>&5
23921 ac_status=$?
23922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23923 (exit $ac_status); }; }; then
23924 ac_header_compiler=yes
23925 else
23926 echo "$as_me: failed program was:" >&5
23927 sed 's/^/| /' conftest.$ac_ext >&5
23928
23929 ac_header_compiler=no
23930 fi
23931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23932 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23933 echo "${ECHO_T}$ac_header_compiler" >&6
23934
23935 # Is the header present?
23936 echo "$as_me:$LINENO: checking windows.h presence" >&5
23937 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
23938 cat >conftest.$ac_ext <<_ACEOF
23939 /* confdefs.h. */
23940 _ACEOF
23941 cat confdefs.h >>conftest.$ac_ext
23942 cat >>conftest.$ac_ext <<_ACEOF
23943 /* end confdefs.h. */
23944 #include <windows.h>
23945 _ACEOF
23946 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23947 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23948 ac_status=$?
23949 grep -v '^ *+' conftest.er1 >conftest.err
23950 rm -f conftest.er1
23951 cat conftest.err >&5
23952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23953 (exit $ac_status); } >/dev/null; then
23954 if test -s conftest.err; then
23955 ac_cpp_err=$ac_c_preproc_warn_flag
23956 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23957 else
23958 ac_cpp_err=
23959 fi
23960 else
23961 ac_cpp_err=yes
23962 fi
23963 if test -z "$ac_cpp_err"; then
23964 ac_header_preproc=yes
23965 else
23966 echo "$as_me: failed program was:" >&5
23967 sed 's/^/| /' conftest.$ac_ext >&5
23968
23969 ac_header_preproc=no
23970 fi
23971 rm -f conftest.err conftest.$ac_ext
23972 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23973 echo "${ECHO_T}$ac_header_preproc" >&6
23974
23975 # So? What about this header?
23976 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23977 yes:no: )
23978 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
23979 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23980 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
23981 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
23982 ac_header_preproc=yes
23983 ;;
23984 no:yes:* )
23985 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
23986 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
23987 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
23988 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
23989 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
23990 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
23991 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
23992 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
23993 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
23994 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
23995 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
23996 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
23997 (
23998 cat <<\_ASBOX
23999 ## ----------------------------------------- ##
24000 ## Report this to wx-dev@lists.wxwidgets.org ##
24001 ## ----------------------------------------- ##
24002 _ASBOX
24003 ) |
24004 sed "s/^/$as_me: WARNING: /" >&2
24005 ;;
24006 esac
24007 echo "$as_me:$LINENO: checking for windows.h" >&5
24008 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24009 if test "${ac_cv_header_windows_h+set}" = set; then
24010 echo $ECHO_N "(cached) $ECHO_C" >&6
24011 else
24012 ac_cv_header_windows_h=$ac_header_preproc
24013 fi
24014 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24015 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24016
24017 fi
24018 if test $ac_cv_header_windows_h = yes; then
24019 :
24020 else
24021
24022 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
24023 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
24024 { (exit 1); exit 1; }; }
24025
24026 fi
24027
24028
24029
24030 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
24031
24032 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
24033 LIBS="$LIBS -loleacc"
24034 fi
24035
24036 case "${host}" in
24037 *-*-cygwin* )
24038 LIBS="$LIBS -lkernel32 -luser32"
24039 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
24040 esac
24041
24042 if test "$wxUSE_ODBC" = "sys" ; then
24043 wxUSE_ODBC = "yes"
24044 fi
24045 if test "$wxUSE_ODBC" = "yes" ; then
24046 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
24047 cat >>confdefs.h <<\_ACEOF
24048 #define wxUSE_ODBC 1
24049 _ACEOF
24050
24051 fi
24052
24053 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
24054 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
24055
24056 WIN32INSTALL=win32install
24057 fi
24058
24059 if test "$wxUSE_GUI" = "yes"; then
24060 USE_GUI=1
24061
24062 GUI_TK_LIBRARY=
24063
24064 WXGTK12=
24065 WXGTK127=
24066 WXGTK20=
24067 WXGPE=
24068
24069 if test "$wxUSE_COCOA" = 1 ; then
24070 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
24071 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
24072 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
24073 wxUSE_PRINTING_ARCHITECTURE=no
24074 fi
24075 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
24076 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
24077 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
24078 wxUSE_DRAG_AND_DROP=no
24079 fi
24080 if test "$wxUSE_DRAGIMAGE" = "yes"; then
24081 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
24082 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
24083 wxUSE_DRAGIMAGE=no
24084 fi
24085 fi
24086
24087 if test "$wxUSE_MSW" = 1 ; then
24088 TOOLKIT=MSW
24089 GUIDIST=MSW_DIST
24090
24091 case "${host}" in
24092 *-*-mingw32* )
24093 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
24094 esac
24095 fi
24096
24097 if test "$wxUSE_GTK" = 1; then
24098 echo "$as_me:$LINENO: checking for GTK+ version" >&5
24099 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
24100
24101 gtk_version_cached=1
24102 if test "${wx_cv_lib_gtk+set}" = set; then
24103 echo $ECHO_N "(cached) $ECHO_C" >&6
24104 else
24105
24106 gtk_version_cached=0
24107 echo "$as_me:$LINENO: result: " >&5
24108 echo "${ECHO_T}" >&6
24109
24110 GTK_MODULES=
24111 if test "$wxUSE_THREADS" = "yes"; then
24112 GTK_MODULES=gthread
24113 fi
24114
24115 wx_cv_lib_gtk=
24116 if test "x$wxUSE_GTK2" = "xyes"; then
24117 # Check whether --enable-gtktest or --disable-gtktest was given.
24118 if test "${enable_gtktest+set}" = set; then
24119 enableval="$enable_gtktest"
24120
24121 else
24122 enable_gtktest=yes
24123 fi;
24124
24125 pkg_config_args=gtk+-2.0
24126 for module in . $GTK_MODULES
24127 do
24128 case "$module" in
24129 gthread)
24130 pkg_config_args="$pkg_config_args gthread-2.0"
24131 ;;
24132 esac
24133 done
24134
24135 no_gtk=""
24136
24137 # Extract the first word of "pkg-config", so it can be a program name with args.
24138 set dummy pkg-config; ac_word=$2
24139 echo "$as_me:$LINENO: checking for $ac_word" >&5
24140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24141 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24142 echo $ECHO_N "(cached) $ECHO_C" >&6
24143 else
24144 case $PKG_CONFIG in
24145 [\\/]* | ?:[\\/]*)
24146 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24147 ;;
24148 *)
24149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24150 for as_dir in $PATH
24151 do
24152 IFS=$as_save_IFS
24153 test -z "$as_dir" && as_dir=.
24154 for ac_exec_ext in '' $ac_executable_extensions; do
24155 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24156 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24158 break 2
24159 fi
24160 done
24161 done
24162
24163 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
24164 ;;
24165 esac
24166 fi
24167 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24168
24169 if test -n "$PKG_CONFIG"; then
24170 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24171 echo "${ECHO_T}$PKG_CONFIG" >&6
24172 else
24173 echo "$as_me:$LINENO: result: no" >&5
24174 echo "${ECHO_T}no" >&6
24175 fi
24176
24177
24178 if test x$PKG_CONFIG != xno ; then
24179 if pkg-config --atleast-pkgconfig-version 0.7 ; then
24180 :
24181 else
24182 echo "*** pkg-config too old; version 0.7 or better required."
24183 no_gtk=yes
24184 PKG_CONFIG=no
24185 fi
24186 else
24187 no_gtk=yes
24188 fi
24189
24190 min_gtk_version=2.0.0
24191 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
24192 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
24193
24194 if test x$PKG_CONFIG != xno ; then
24195 ## don't try to run the test against uninstalled libtool libs
24196 if $PKG_CONFIG --uninstalled $pkg_config_args; then
24197 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
24198 enable_gtktest=no
24199 fi
24200
24201 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
24202 :
24203 else
24204 no_gtk=yes
24205 fi
24206 fi
24207
24208 if test x"$no_gtk" = x ; then
24209 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
24210 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
24211 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
24212 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24213 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
24214 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24215 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
24216 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24217 if test "x$enable_gtktest" = "xyes" ; then
24218 ac_save_CFLAGS="$CFLAGS"
24219 ac_save_LIBS="$LIBS"
24220 CFLAGS="$CFLAGS $GTK_CFLAGS"
24221 LIBS="$GTK_LIBS $LIBS"
24222 rm -f conf.gtktest
24223 if test "$cross_compiling" = yes; then
24224 echo $ac_n "cross compiling; assumed OK... $ac_c"
24225 else
24226 cat >conftest.$ac_ext <<_ACEOF
24227 /* confdefs.h. */
24228 _ACEOF
24229 cat confdefs.h >>conftest.$ac_ext
24230 cat >>conftest.$ac_ext <<_ACEOF
24231 /* end confdefs.h. */
24232
24233 #include <gtk/gtk.h>
24234 #include <stdio.h>
24235 #include <stdlib.h>
24236
24237 int
24238 main ()
24239 {
24240 int major, minor, micro;
24241 char *tmp_version;
24242
24243 system ("touch conf.gtktest");
24244
24245 /* HP/UX 9 (%@#!) writes to sscanf strings */
24246 tmp_version = g_strdup("$min_gtk_version");
24247 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
24248 printf("%s, bad version string\n", "$min_gtk_version");
24249 exit(1);
24250 }
24251
24252 if ((gtk_major_version != $gtk_config_major_version) ||
24253 (gtk_minor_version != $gtk_config_minor_version) ||
24254 (gtk_micro_version != $gtk_config_micro_version))
24255 {
24256 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24257 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24258 gtk_major_version, gtk_minor_version, gtk_micro_version);
24259 printf ("*** was found! If pkg-config was correct, then it is best\n");
24260 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24261 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24262 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24263 printf("*** required on your system.\n");
24264 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
24265 printf("*** to point to the correct configuration files\n");
24266 }
24267 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24268 (gtk_minor_version != GTK_MINOR_VERSION) ||
24269 (gtk_micro_version != GTK_MICRO_VERSION))
24270 {
24271 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24272 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24273 printf("*** library (version %d.%d.%d)\n",
24274 gtk_major_version, gtk_minor_version, gtk_micro_version);
24275 }
24276 else
24277 {
24278 if ((gtk_major_version > major) ||
24279 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24280 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24281 {
24282 return 0;
24283 }
24284 else
24285 {
24286 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24287 gtk_major_version, gtk_minor_version, gtk_micro_version);
24288 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24289 major, minor, micro);
24290 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24291 printf("***\n");
24292 printf("*** If you have already installed a sufficiently new version, this error\n");
24293 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
24294 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24295 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
24296 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
24297 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24298 printf("*** so that the correct libraries are found at run-time))\n");
24299 }
24300 }
24301 return 1;
24302 }
24303
24304 _ACEOF
24305 rm -f conftest$ac_exeext
24306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24307 (eval $ac_link) 2>&5
24308 ac_status=$?
24309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24310 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24312 (eval $ac_try) 2>&5
24313 ac_status=$?
24314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24315 (exit $ac_status); }; }; then
24316 :
24317 else
24318 echo "$as_me: program exited with status $ac_status" >&5
24319 echo "$as_me: failed program was:" >&5
24320 sed 's/^/| /' conftest.$ac_ext >&5
24321
24322 ( exit $ac_status )
24323 no_gtk=yes
24324 fi
24325 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24326 fi
24327 CFLAGS="$ac_save_CFLAGS"
24328 LIBS="$ac_save_LIBS"
24329 fi
24330 fi
24331 if test "x$no_gtk" = x ; then
24332 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
24333 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
24334 wx_cv_lib_gtk=2.0
24335 else
24336 echo "$as_me:$LINENO: result: no" >&5
24337 echo "${ECHO_T}no" >&6
24338 if test "$PKG_CONFIG" = "no" ; then
24339 echo "*** A new enough version of pkg-config was not found."
24340 echo "*** See http://pkgconfig.sourceforge.net"
24341 else
24342 if test -f conf.gtktest ; then
24343 :
24344 else
24345 echo "*** Could not run GTK+ test program, checking why..."
24346 ac_save_CFLAGS="$CFLAGS"
24347 ac_save_LIBS="$LIBS"
24348 CFLAGS="$CFLAGS $GTK_CFLAGS"
24349 LIBS="$LIBS $GTK_LIBS"
24350 cat >conftest.$ac_ext <<_ACEOF
24351 /* confdefs.h. */
24352 _ACEOF
24353 cat confdefs.h >>conftest.$ac_ext
24354 cat >>conftest.$ac_ext <<_ACEOF
24355 /* end confdefs.h. */
24356
24357 #include <gtk/gtk.h>
24358 #include <stdio.h>
24359
24360 int
24361 main ()
24362 {
24363 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24364 ;
24365 return 0;
24366 }
24367 _ACEOF
24368 rm -f conftest.$ac_objext conftest$ac_exeext
24369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24370 (eval $ac_link) 2>conftest.er1
24371 ac_status=$?
24372 grep -v '^ *+' conftest.er1 >conftest.err
24373 rm -f conftest.er1
24374 cat conftest.err >&5
24375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24376 (exit $ac_status); } &&
24377 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24379 (eval $ac_try) 2>&5
24380 ac_status=$?
24381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24382 (exit $ac_status); }; } &&
24383 { ac_try='test -s conftest$ac_exeext'
24384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24385 (eval $ac_try) 2>&5
24386 ac_status=$?
24387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24388 (exit $ac_status); }; }; then
24389 echo "*** The test program compiled, but did not run. This usually means"
24390 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
24391 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
24392 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24393 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24394 echo "*** is required on your system"
24395 echo "***"
24396 echo "*** If you have an old version installed, it is best to remove it, although"
24397 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24398 else
24399 echo "$as_me: failed program was:" >&5
24400 sed 's/^/| /' conftest.$ac_ext >&5
24401
24402 echo "*** The test program failed to compile or link. See the file config.log for the"
24403 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
24404 fi
24405 rm -f conftest.err conftest.$ac_objext \
24406 conftest$ac_exeext conftest.$ac_ext
24407 CFLAGS="$ac_save_CFLAGS"
24408 LIBS="$ac_save_LIBS"
24409 fi
24410 fi
24411 GTK_CFLAGS=""
24412 GTK_LIBS=""
24413 :
24414 fi
24415
24416
24417 rm -f conf.gtktest
24418
24419 else
24420
24421 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
24422 if test "${with_gtk_prefix+set}" = set; then
24423 withval="$with_gtk_prefix"
24424 gtk_config_prefix="$withval"
24425 else
24426 gtk_config_prefix=""
24427 fi;
24428
24429 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
24430 if test "${with_gtk_exec_prefix+set}" = set; then
24431 withval="$with_gtk_exec_prefix"
24432 gtk_config_exec_prefix="$withval"
24433 else
24434 gtk_config_exec_prefix=""
24435 fi;
24436 # Check whether --enable-gtktest or --disable-gtktest was given.
24437 if test "${enable_gtktest+set}" = set; then
24438 enableval="$enable_gtktest"
24439
24440 else
24441 enable_gtktest=yes
24442 fi;
24443
24444 for module in . $GTK_MODULES
24445 do
24446 case "$module" in
24447 gthread)
24448 gtk_config_args="$gtk_config_args gthread"
24449 ;;
24450 esac
24451 done
24452
24453 if test x$gtk_config_exec_prefix != x ; then
24454 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24455 if test x${GTK_CONFIG+set} != xset ; then
24456 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
24457 fi
24458 fi
24459 if test x$gtk_config_prefix != x ; then
24460 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
24461 if test x${GTK_CONFIG+set} != xset ; then
24462 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
24463 fi
24464 fi
24465
24466 # Extract the first word of "gtk-config", so it can be a program name with args.
24467 set dummy gtk-config; ac_word=$2
24468 echo "$as_me:$LINENO: checking for $ac_word" >&5
24469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24470 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
24471 echo $ECHO_N "(cached) $ECHO_C" >&6
24472 else
24473 case $GTK_CONFIG in
24474 [\\/]* | ?:[\\/]*)
24475 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
24476 ;;
24477 *)
24478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24479 for as_dir in $PATH
24480 do
24481 IFS=$as_save_IFS
24482 test -z "$as_dir" && as_dir=.
24483 for ac_exec_ext in '' $ac_executable_extensions; do
24484 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24485 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24487 break 2
24488 fi
24489 done
24490 done
24491
24492 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
24493 ;;
24494 esac
24495 fi
24496 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
24497
24498 if test -n "$GTK_CONFIG"; then
24499 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
24500 echo "${ECHO_T}$GTK_CONFIG" >&6
24501 else
24502 echo "$as_me:$LINENO: result: no" >&5
24503 echo "${ECHO_T}no" >&6
24504 fi
24505
24506 min_gtk_version=1.2.7
24507 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
24508 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
24509 no_gtk=""
24510 if test "$GTK_CONFIG" = "no" ; then
24511 no_gtk=yes
24512 else
24513 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
24514 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
24515 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
24516 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24517 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
24518 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24519 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
24520 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24521 if test "x$enable_gtktest" = "xyes" ; then
24522 ac_save_CFLAGS="$CFLAGS"
24523 ac_save_LIBS="$LIBS"
24524 CFLAGS="$CFLAGS $GTK_CFLAGS"
24525 LIBS="$GTK_LIBS $LIBS"
24526 rm -f conf.gtktest
24527 if test "$cross_compiling" = yes; then
24528 echo $ac_n "cross compiling; assumed OK... $ac_c"
24529 else
24530 cat >conftest.$ac_ext <<_ACEOF
24531 /* confdefs.h. */
24532 _ACEOF
24533 cat confdefs.h >>conftest.$ac_ext
24534 cat >>conftest.$ac_ext <<_ACEOF
24535 /* end confdefs.h. */
24536
24537 #include <gtk/gtk.h>
24538 #include <stdio.h>
24539 #include <stdlib.h>
24540
24541 int
24542 main ()
24543 {
24544 int major, minor, micro;
24545 char *tmp_version;
24546
24547 system ("touch conf.gtktest");
24548
24549 /* HP/UX 9 (%@#!) writes to sscanf strings */
24550 tmp_version = g_strdup("$min_gtk_version");
24551 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
24552 printf("%s, bad version string\n", "$min_gtk_version");
24553 exit(1);
24554 }
24555
24556 if ((gtk_major_version != $gtk_config_major_version) ||
24557 (gtk_minor_version != $gtk_config_minor_version) ||
24558 (gtk_micro_version != $gtk_config_micro_version))
24559 {
24560 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24561 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24562 gtk_major_version, gtk_minor_version, gtk_micro_version);
24563 printf ("*** was found! If gtk-config was correct, then it is best\n");
24564 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24565 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24566 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24567 printf("*** required on your system.\n");
24568 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24569 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24570 printf("*** before re-running configure\n");
24571 }
24572 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24573 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24574 (gtk_minor_version != GTK_MINOR_VERSION) ||
24575 (gtk_micro_version != GTK_MICRO_VERSION))
24576 {
24577 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24578 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24579 printf("*** library (version %d.%d.%d)\n",
24580 gtk_major_version, gtk_minor_version, gtk_micro_version);
24581 }
24582 #endif /* defined (GTK_MAJOR_VERSION) ... */
24583 else
24584 {
24585 if ((gtk_major_version > major) ||
24586 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24587 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24588 {
24589 return 0;
24590 }
24591 else
24592 {
24593 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24594 gtk_major_version, gtk_minor_version, gtk_micro_version);
24595 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24596 major, minor, micro);
24597 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24598 printf("***\n");
24599 printf("*** If you have already installed a sufficiently new version, this error\n");
24600 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24601 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24602 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24603 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24604 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24605 printf("*** so that the correct libraries are found at run-time))\n");
24606 }
24607 }
24608 return 1;
24609 }
24610
24611 _ACEOF
24612 rm -f conftest$ac_exeext
24613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24614 (eval $ac_link) 2>&5
24615 ac_status=$?
24616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24617 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24619 (eval $ac_try) 2>&5
24620 ac_status=$?
24621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24622 (exit $ac_status); }; }; then
24623 :
24624 else
24625 echo "$as_me: program exited with status $ac_status" >&5
24626 echo "$as_me: failed program was:" >&5
24627 sed 's/^/| /' conftest.$ac_ext >&5
24628
24629 ( exit $ac_status )
24630 no_gtk=yes
24631 fi
24632 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24633 fi
24634 CFLAGS="$ac_save_CFLAGS"
24635 LIBS="$ac_save_LIBS"
24636 fi
24637 fi
24638 if test "x$no_gtk" = x ; then
24639 echo "$as_me:$LINENO: result: yes" >&5
24640 echo "${ECHO_T}yes" >&6
24641 wx_cv_lib_gtk=1.2.7
24642 else
24643 echo "$as_me:$LINENO: result: no" >&5
24644 echo "${ECHO_T}no" >&6
24645 if test "$GTK_CONFIG" = "no" ; then
24646 echo "*** The gtk-config script installed by GTK could not be found"
24647 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24648 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24649 echo "*** full path to gtk-config."
24650 else
24651 if test -f conf.gtktest ; then
24652 :
24653 else
24654 echo "*** Could not run GTK test program, checking why..."
24655 CFLAGS="$CFLAGS $GTK_CFLAGS"
24656 LIBS="$LIBS $GTK_LIBS"
24657 cat >conftest.$ac_ext <<_ACEOF
24658 /* confdefs.h. */
24659 _ACEOF
24660 cat confdefs.h >>conftest.$ac_ext
24661 cat >>conftest.$ac_ext <<_ACEOF
24662 /* end confdefs.h. */
24663
24664 #include <gtk/gtk.h>
24665 #include <stdio.h>
24666
24667 int
24668 main ()
24669 {
24670 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24671 ;
24672 return 0;
24673 }
24674 _ACEOF
24675 rm -f conftest.$ac_objext conftest$ac_exeext
24676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24677 (eval $ac_link) 2>conftest.er1
24678 ac_status=$?
24679 grep -v '^ *+' conftest.er1 >conftest.err
24680 rm -f conftest.er1
24681 cat conftest.err >&5
24682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24683 (exit $ac_status); } &&
24684 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24686 (eval $ac_try) 2>&5
24687 ac_status=$?
24688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24689 (exit $ac_status); }; } &&
24690 { ac_try='test -s conftest$ac_exeext'
24691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24692 (eval $ac_try) 2>&5
24693 ac_status=$?
24694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24695 (exit $ac_status); }; }; then
24696 echo "*** The test program compiled, but did not run. This usually means"
24697 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24698 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24699 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24700 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24701 echo "*** is required on your system"
24702 echo "***"
24703 echo "*** If you have an old version installed, it is best to remove it, although"
24704 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24705 echo "***"
24706 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24707 echo "*** came with the system with the command"
24708 echo "***"
24709 echo "*** rpm --erase --nodeps gtk gtk-devel"
24710 else
24711 echo "$as_me: failed program was:" >&5
24712 sed 's/^/| /' conftest.$ac_ext >&5
24713
24714 echo "*** The test program failed to compile or link. See the file config.log for the"
24715 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
24716 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24717 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24718 fi
24719 rm -f conftest.err conftest.$ac_objext \
24720 conftest$ac_exeext conftest.$ac_ext
24721 CFLAGS="$ac_save_CFLAGS"
24722 LIBS="$ac_save_LIBS"
24723 fi
24724 fi
24725 GTK_CFLAGS=""
24726 GTK_LIBS=""
24727 :
24728 fi
24729
24730
24731 rm -f conf.gtktest
24732
24733
24734 if test -z "$wx_cv_lib_gtk"; then
24735
24736 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
24737 if test "${with_gtk_prefix+set}" = set; then
24738 withval="$with_gtk_prefix"
24739 gtk_config_prefix="$withval"
24740 else
24741 gtk_config_prefix=""
24742 fi;
24743
24744 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
24745 if test "${with_gtk_exec_prefix+set}" = set; then
24746 withval="$with_gtk_exec_prefix"
24747 gtk_config_exec_prefix="$withval"
24748 else
24749 gtk_config_exec_prefix=""
24750 fi;
24751 # Check whether --enable-gtktest or --disable-gtktest was given.
24752 if test "${enable_gtktest+set}" = set; then
24753 enableval="$enable_gtktest"
24754
24755 else
24756 enable_gtktest=yes
24757 fi;
24758
24759 for module in . $GTK_MODULES
24760 do
24761 case "$module" in
24762 gthread)
24763 gtk_config_args="$gtk_config_args gthread"
24764 ;;
24765 esac
24766 done
24767
24768 if test x$gtk_config_exec_prefix != x ; then
24769 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24770 if test x${GTK_CONFIG+set} != xset ; then
24771 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
24772 fi
24773 fi
24774 if test x$gtk_config_prefix != x ; then
24775 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
24776 if test x${GTK_CONFIG+set} != xset ; then
24777 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
24778 fi
24779 fi
24780
24781 # Extract the first word of "gtk-config", so it can be a program name with args.
24782 set dummy gtk-config; ac_word=$2
24783 echo "$as_me:$LINENO: checking for $ac_word" >&5
24784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24785 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
24786 echo $ECHO_N "(cached) $ECHO_C" >&6
24787 else
24788 case $GTK_CONFIG in
24789 [\\/]* | ?:[\\/]*)
24790 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
24791 ;;
24792 *)
24793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24794 for as_dir in $PATH
24795 do
24796 IFS=$as_save_IFS
24797 test -z "$as_dir" && as_dir=.
24798 for ac_exec_ext in '' $ac_executable_extensions; do
24799 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24800 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24801 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24802 break 2
24803 fi
24804 done
24805 done
24806
24807 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
24808 ;;
24809 esac
24810 fi
24811 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
24812
24813 if test -n "$GTK_CONFIG"; then
24814 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
24815 echo "${ECHO_T}$GTK_CONFIG" >&6
24816 else
24817 echo "$as_me:$LINENO: result: no" >&5
24818 echo "${ECHO_T}no" >&6
24819 fi
24820
24821 min_gtk_version=1.2.3
24822 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
24823 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
24824 no_gtk=""
24825 if test "$GTK_CONFIG" = "no" ; then
24826 no_gtk=yes
24827 else
24828 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
24829 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
24830 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
24831 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24832 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
24833 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24834 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
24835 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24836 if test "x$enable_gtktest" = "xyes" ; then
24837 ac_save_CFLAGS="$CFLAGS"
24838 ac_save_LIBS="$LIBS"
24839 CFLAGS="$CFLAGS $GTK_CFLAGS"
24840 LIBS="$GTK_LIBS $LIBS"
24841 rm -f conf.gtktest
24842 if test "$cross_compiling" = yes; then
24843 echo $ac_n "cross compiling; assumed OK... $ac_c"
24844 else
24845 cat >conftest.$ac_ext <<_ACEOF
24846 /* confdefs.h. */
24847 _ACEOF
24848 cat confdefs.h >>conftest.$ac_ext
24849 cat >>conftest.$ac_ext <<_ACEOF
24850 /* end confdefs.h. */
24851
24852 #include <gtk/gtk.h>
24853 #include <stdio.h>
24854 #include <stdlib.h>
24855
24856 int
24857 main ()
24858 {
24859 int major, minor, micro;
24860 char *tmp_version;
24861
24862 system ("touch conf.gtktest");
24863
24864 /* HP/UX 9 (%@#!) writes to sscanf strings */
24865 tmp_version = g_strdup("$min_gtk_version");
24866 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
24867 printf("%s, bad version string\n", "$min_gtk_version");
24868 exit(1);
24869 }
24870
24871 if ((gtk_major_version != $gtk_config_major_version) ||
24872 (gtk_minor_version != $gtk_config_minor_version) ||
24873 (gtk_micro_version != $gtk_config_micro_version))
24874 {
24875 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24876 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24877 gtk_major_version, gtk_minor_version, gtk_micro_version);
24878 printf ("*** was found! If gtk-config was correct, then it is best\n");
24879 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24880 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24881 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24882 printf("*** required on your system.\n");
24883 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24884 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24885 printf("*** before re-running configure\n");
24886 }
24887 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24888 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24889 (gtk_minor_version != GTK_MINOR_VERSION) ||
24890 (gtk_micro_version != GTK_MICRO_VERSION))
24891 {
24892 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24893 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24894 printf("*** library (version %d.%d.%d)\n",
24895 gtk_major_version, gtk_minor_version, gtk_micro_version);
24896 }
24897 #endif /* defined (GTK_MAJOR_VERSION) ... */
24898 else
24899 {
24900 if ((gtk_major_version > major) ||
24901 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24902 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24903 {
24904 return 0;
24905 }
24906 else
24907 {
24908 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24909 gtk_major_version, gtk_minor_version, gtk_micro_version);
24910 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24911 major, minor, micro);
24912 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24913 printf("***\n");
24914 printf("*** If you have already installed a sufficiently new version, this error\n");
24915 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24916 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24917 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24918 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24919 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24920 printf("*** so that the correct libraries are found at run-time))\n");
24921 }
24922 }
24923 return 1;
24924 }
24925
24926 _ACEOF
24927 rm -f conftest$ac_exeext
24928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24929 (eval $ac_link) 2>&5
24930 ac_status=$?
24931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24932 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24934 (eval $ac_try) 2>&5
24935 ac_status=$?
24936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24937 (exit $ac_status); }; }; then
24938 :
24939 else
24940 echo "$as_me: program exited with status $ac_status" >&5
24941 echo "$as_me: failed program was:" >&5
24942 sed 's/^/| /' conftest.$ac_ext >&5
24943
24944 ( exit $ac_status )
24945 no_gtk=yes
24946 fi
24947 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24948 fi
24949 CFLAGS="$ac_save_CFLAGS"
24950 LIBS="$ac_save_LIBS"
24951 fi
24952 fi
24953 if test "x$no_gtk" = x ; then
24954 echo "$as_me:$LINENO: result: yes" >&5
24955 echo "${ECHO_T}yes" >&6
24956 wx_cv_lib_gtk=1.2.3
24957 else
24958 echo "$as_me:$LINENO: result: no" >&5
24959 echo "${ECHO_T}no" >&6
24960 if test "$GTK_CONFIG" = "no" ; then
24961 echo "*** The gtk-config script installed by GTK could not be found"
24962 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24963 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24964 echo "*** full path to gtk-config."
24965 else
24966 if test -f conf.gtktest ; then
24967 :
24968 else
24969 echo "*** Could not run GTK test program, checking why..."
24970 CFLAGS="$CFLAGS $GTK_CFLAGS"
24971 LIBS="$LIBS $GTK_LIBS"
24972 cat >conftest.$ac_ext <<_ACEOF
24973 /* confdefs.h. */
24974 _ACEOF
24975 cat confdefs.h >>conftest.$ac_ext
24976 cat >>conftest.$ac_ext <<_ACEOF
24977 /* end confdefs.h. */
24978
24979 #include <gtk/gtk.h>
24980 #include <stdio.h>
24981
24982 int
24983 main ()
24984 {
24985 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24986 ;
24987 return 0;
24988 }
24989 _ACEOF
24990 rm -f conftest.$ac_objext conftest$ac_exeext
24991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24992 (eval $ac_link) 2>conftest.er1
24993 ac_status=$?
24994 grep -v '^ *+' conftest.er1 >conftest.err
24995 rm -f conftest.er1
24996 cat conftest.err >&5
24997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24998 (exit $ac_status); } &&
24999 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25001 (eval $ac_try) 2>&5
25002 ac_status=$?
25003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25004 (exit $ac_status); }; } &&
25005 { ac_try='test -s conftest$ac_exeext'
25006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25007 (eval $ac_try) 2>&5
25008 ac_status=$?
25009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25010 (exit $ac_status); }; }; then
25011 echo "*** The test program compiled, but did not run. This usually means"
25012 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25013 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25014 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25015 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25016 echo "*** is required on your system"
25017 echo "***"
25018 echo "*** If you have an old version installed, it is best to remove it, although"
25019 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25020 echo "***"
25021 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25022 echo "*** came with the system with the command"
25023 echo "***"
25024 echo "*** rpm --erase --nodeps gtk gtk-devel"
25025 else
25026 echo "$as_me: failed program was:" >&5
25027 sed 's/^/| /' conftest.$ac_ext >&5
25028
25029 echo "*** The test program failed to compile or link. See the file config.log for the"
25030 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25031 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25032 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25033 fi
25034 rm -f conftest.err conftest.$ac_objext \
25035 conftest$ac_exeext conftest.$ac_ext
25036 CFLAGS="$ac_save_CFLAGS"
25037 LIBS="$ac_save_LIBS"
25038 fi
25039 fi
25040 GTK_CFLAGS=""
25041 GTK_LIBS=""
25042 :
25043 fi
25044
25045
25046 rm -f conf.gtktest
25047
25048 fi
25049 fi
25050
25051 if test -z "$wx_cv_lib_gtk"; then
25052 wx_cv_lib_gtk=none
25053 else
25054 wx_cv_cflags_gtk=$GTK_CFLAGS
25055 wx_cv_libs_gtk=$GTK_LIBS
25056 fi
25057
25058
25059 fi
25060
25061
25062 if test "$gtk_version_cached" = 1; then
25063 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
25064 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
25065 fi
25066
25067 case "$wx_cv_lib_gtk" in
25068 2.0) WXGTK20=1
25069 TOOLKIT_VERSION=2
25070 ;;
25071 1.2.7) WXGTK127=1
25072 WXGTK12=1
25073 ;;
25074 1.2.3) WXGTK12=1
25075 ;;
25076 *) { { echo "$as_me:$LINENO: error:
25077 Please check that gtk-config is in path, the directory
25078 where GTK+ libraries are installed (returned by
25079 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
25080 equivalent variable and GTK+ is version 1.2.3 or above.
25081 " >&5
25082 echo "$as_me: error:
25083 Please check that gtk-config is in path, the directory
25084 where GTK+ libraries are installed (returned by
25085 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
25086 equivalent variable and GTK+ is version 1.2.3 or above.
25087 " >&2;}
25088 { (exit 1); exit 1; }; }
25089 ;;
25090 esac
25091
25092 if test "$WXGTK20" = 1; then
25093 save_CFLAGS="$CFLAGS"
25094 save_LIBS="$LIBS"
25095 CFLAGS="$CFLAGS $GTK_CFLAGS"
25096 LIBS="$LIBS $GTK_LIBS"
25097
25098
25099 for ac_func in pango_font_family_is_monospace
25100 do
25101 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25102 echo "$as_me:$LINENO: checking for $ac_func" >&5
25103 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25104 if eval "test \"\${$as_ac_var+set}\" = set"; then
25105 echo $ECHO_N "(cached) $ECHO_C" >&6
25106 else
25107 cat >conftest.$ac_ext <<_ACEOF
25108 /* confdefs.h. */
25109 _ACEOF
25110 cat confdefs.h >>conftest.$ac_ext
25111 cat >>conftest.$ac_ext <<_ACEOF
25112 /* end confdefs.h. */
25113 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25114 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25115 #define $ac_func innocuous_$ac_func
25116
25117 /* System header to define __stub macros and hopefully few prototypes,
25118 which can conflict with char $ac_func (); below.
25119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25120 <limits.h> exists even on freestanding compilers. */
25121
25122 #ifdef __STDC__
25123 # include <limits.h>
25124 #else
25125 # include <assert.h>
25126 #endif
25127
25128 #undef $ac_func
25129
25130 /* Override any gcc2 internal prototype to avoid an error. */
25131 #ifdef __cplusplus
25132 extern "C"
25133 {
25134 #endif
25135 /* We use char because int might match the return type of a gcc2
25136 builtin and then its argument prototype would still apply. */
25137 char $ac_func ();
25138 /* The GNU C library defines this for functions which it implements
25139 to always fail with ENOSYS. Some functions are actually named
25140 something starting with __ and the normal name is an alias. */
25141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25142 choke me
25143 #else
25144 char (*f) () = $ac_func;
25145 #endif
25146 #ifdef __cplusplus
25147 }
25148 #endif
25149
25150 int
25151 main ()
25152 {
25153 return f != $ac_func;
25154 ;
25155 return 0;
25156 }
25157 _ACEOF
25158 rm -f conftest.$ac_objext conftest$ac_exeext
25159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25160 (eval $ac_link) 2>conftest.er1
25161 ac_status=$?
25162 grep -v '^ *+' conftest.er1 >conftest.err
25163 rm -f conftest.er1
25164 cat conftest.err >&5
25165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25166 (exit $ac_status); } &&
25167 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25169 (eval $ac_try) 2>&5
25170 ac_status=$?
25171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25172 (exit $ac_status); }; } &&
25173 { ac_try='test -s conftest$ac_exeext'
25174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25175 (eval $ac_try) 2>&5
25176 ac_status=$?
25177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25178 (exit $ac_status); }; }; then
25179 eval "$as_ac_var=yes"
25180 else
25181 echo "$as_me: failed program was:" >&5
25182 sed 's/^/| /' conftest.$ac_ext >&5
25183
25184 eval "$as_ac_var=no"
25185 fi
25186 rm -f conftest.err conftest.$ac_objext \
25187 conftest$ac_exeext conftest.$ac_ext
25188 fi
25189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25190 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25191 if test `eval echo '${'$as_ac_var'}'` = yes; then
25192 cat >>confdefs.h <<_ACEOF
25193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25194 _ACEOF
25195
25196 fi
25197 done
25198
25199
25200 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
25201 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
25202 cat >conftest.$ac_ext <<_ACEOF
25203 /* confdefs.h. */
25204 _ACEOF
25205 cat confdefs.h >>conftest.$ac_ext
25206 cat >>conftest.$ac_ext <<_ACEOF
25207 /* end confdefs.h. */
25208
25209 #include <gtk/gtk.h>
25210
25211 int
25212 main ()
25213 {
25214
25215 #if !GTK_CHECK_VERSION(2,4,0)
25216 #error "Not GTK+ 2.4"
25217 #endif
25218
25219 ;
25220 return 0;
25221 }
25222 _ACEOF
25223 rm -f conftest.$ac_objext
25224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25225 (eval $ac_compile) 2>conftest.er1
25226 ac_status=$?
25227 grep -v '^ *+' conftest.er1 >conftest.err
25228 rm -f conftest.er1
25229 cat conftest.err >&5
25230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25231 (exit $ac_status); } &&
25232 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25234 (eval $ac_try) 2>&5
25235 ac_status=$?
25236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25237 (exit $ac_status); }; } &&
25238 { ac_try='test -s conftest.$ac_objext'
25239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25240 (eval $ac_try) 2>&5
25241 ac_status=$?
25242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25243 (exit $ac_status); }; }; then
25244
25245 cat >>confdefs.h <<\_ACEOF
25246 #define __WXGTK24__ 1
25247 _ACEOF
25248
25249 echo "$as_me:$LINENO: result: yes" >&5
25250 echo "${ECHO_T}yes" >&6
25251
25252 else
25253 echo "$as_me: failed program was:" >&5
25254 sed 's/^/| /' conftest.$ac_ext >&5
25255
25256
25257 echo "$as_me:$LINENO: result: no" >&5
25258 echo "${ECHO_T}no" >&6
25259
25260 fi
25261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25262
25263 CFLAGS="$save_CFLAGS"
25264 LIBS="$save_LIBS"
25265 else
25266 if test "$wxUSE_UNICODE" = "yes"; then
25267 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
25268 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
25269 wxUSE_UNICODE=no
25270 fi
25271 fi
25272
25273 if test "$USE_DARWIN" != 1; then
25274
25275 for ac_func in poll
25276 do
25277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25278 echo "$as_me:$LINENO: checking for $ac_func" >&5
25279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25280 if eval "test \"\${$as_ac_var+set}\" = set"; then
25281 echo $ECHO_N "(cached) $ECHO_C" >&6
25282 else
25283 cat >conftest.$ac_ext <<_ACEOF
25284 /* confdefs.h. */
25285 _ACEOF
25286 cat confdefs.h >>conftest.$ac_ext
25287 cat >>conftest.$ac_ext <<_ACEOF
25288 /* end confdefs.h. */
25289 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25290 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25291 #define $ac_func innocuous_$ac_func
25292
25293 /* System header to define __stub macros and hopefully few prototypes,
25294 which can conflict with char $ac_func (); below.
25295 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25296 <limits.h> exists even on freestanding compilers. */
25297
25298 #ifdef __STDC__
25299 # include <limits.h>
25300 #else
25301 # include <assert.h>
25302 #endif
25303
25304 #undef $ac_func
25305
25306 /* Override any gcc2 internal prototype to avoid an error. */
25307 #ifdef __cplusplus
25308 extern "C"
25309 {
25310 #endif
25311 /* We use char because int might match the return type of a gcc2
25312 builtin and then its argument prototype would still apply. */
25313 char $ac_func ();
25314 /* The GNU C library defines this for functions which it implements
25315 to always fail with ENOSYS. Some functions are actually named
25316 something starting with __ and the normal name is an alias. */
25317 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25318 choke me
25319 #else
25320 char (*f) () = $ac_func;
25321 #endif
25322 #ifdef __cplusplus
25323 }
25324 #endif
25325
25326 int
25327 main ()
25328 {
25329 return f != $ac_func;
25330 ;
25331 return 0;
25332 }
25333 _ACEOF
25334 rm -f conftest.$ac_objext conftest$ac_exeext
25335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25336 (eval $ac_link) 2>conftest.er1
25337 ac_status=$?
25338 grep -v '^ *+' conftest.er1 >conftest.err
25339 rm -f conftest.er1
25340 cat conftest.err >&5
25341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25342 (exit $ac_status); } &&
25343 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25345 (eval $ac_try) 2>&5
25346 ac_status=$?
25347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25348 (exit $ac_status); }; } &&
25349 { ac_try='test -s conftest$ac_exeext'
25350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25351 (eval $ac_try) 2>&5
25352 ac_status=$?
25353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25354 (exit $ac_status); }; }; then
25355 eval "$as_ac_var=yes"
25356 else
25357 echo "$as_me: failed program was:" >&5
25358 sed 's/^/| /' conftest.$ac_ext >&5
25359
25360 eval "$as_ac_var=no"
25361 fi
25362 rm -f conftest.err conftest.$ac_objext \
25363 conftest$ac_exeext conftest.$ac_ext
25364 fi
25365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25367 if test `eval echo '${'$as_ac_var'}'` = yes; then
25368 cat >>confdefs.h <<_ACEOF
25369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25370 _ACEOF
25371
25372 fi
25373 done
25374
25375 fi
25376
25377 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
25378 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
25379
25380 AFMINSTALL=afminstall
25381 TOOLKIT=GTK
25382 GUIDIST=GTK_DIST
25383
25384 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
25385 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
25386 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
25387 echo $ECHO_N "(cached) $ECHO_C" >&6
25388 else
25389 ac_check_lib_save_LIBS=$LIBS
25390 LIBS="-lgdk $LIBS"
25391 cat >conftest.$ac_ext <<_ACEOF
25392 /* confdefs.h. */
25393 _ACEOF
25394 cat confdefs.h >>conftest.$ac_ext
25395 cat >>conftest.$ac_ext <<_ACEOF
25396 /* end confdefs.h. */
25397
25398 /* Override any gcc2 internal prototype to avoid an error. */
25399 #ifdef __cplusplus
25400 extern "C"
25401 #endif
25402 /* We use char because int might match the return type of a gcc2
25403 builtin and then its argument prototype would still apply. */
25404 char gdk_im_open ();
25405 int
25406 main ()
25407 {
25408 gdk_im_open ();
25409 ;
25410 return 0;
25411 }
25412 _ACEOF
25413 rm -f conftest.$ac_objext conftest$ac_exeext
25414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25415 (eval $ac_link) 2>conftest.er1
25416 ac_status=$?
25417 grep -v '^ *+' conftest.er1 >conftest.err
25418 rm -f conftest.er1
25419 cat conftest.err >&5
25420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25421 (exit $ac_status); } &&
25422 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25424 (eval $ac_try) 2>&5
25425 ac_status=$?
25426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25427 (exit $ac_status); }; } &&
25428 { ac_try='test -s conftest$ac_exeext'
25429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25430 (eval $ac_try) 2>&5
25431 ac_status=$?
25432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25433 (exit $ac_status); }; }; then
25434 ac_cv_lib_gdk_gdk_im_open=yes
25435 else
25436 echo "$as_me: failed program was:" >&5
25437 sed 's/^/| /' conftest.$ac_ext >&5
25438
25439 ac_cv_lib_gdk_gdk_im_open=no
25440 fi
25441 rm -f conftest.err conftest.$ac_objext \
25442 conftest$ac_exeext conftest.$ac_ext
25443 LIBS=$ac_check_lib_save_LIBS
25444 fi
25445 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
25446 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
25447 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
25448 cat >>confdefs.h <<\_ACEOF
25449 #define HAVE_XIM 1
25450 _ACEOF
25451
25452 fi
25453
25454
25455
25456 if test "$wxUSE_GPE" = "yes"; then
25457 echo "$as_me:$LINENO: checking for gpewidget library" >&5
25458 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
25459
25460 ac_find_libraries=
25461 for ac_dir in $SEARCH_LIB /usr/lib;
25462 do
25463 for ac_extension in a so sl dylib; do
25464 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
25465 ac_find_libraries=$ac_dir
25466 break 2
25467 fi
25468 done
25469 done
25470
25471 if test "$ac_find_libraries" != "" ; then
25472
25473 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
25474 result=$?
25475 if test $result = 0; then
25476 ac_path_to_link=""
25477 else
25478 ac_path_to_link=" -L$ac_find_libraries"
25479 fi
25480
25481 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
25482 WXGPE=1
25483 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25484 echo "${ECHO_T}found at $ac_find_libraries" >&6
25485 else
25486 echo "$as_me:$LINENO: result: not found" >&5
25487 echo "${ECHO_T}not found" >&6
25488 fi
25489
25490 fi
25491 fi
25492
25493 if test "$wxUSE_MGL" = 1; then
25494 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
25495 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
25496 if test "x$MGL_ROOT" = x ; then
25497 echo "$as_me:$LINENO: result: not found" >&5
25498 echo "${ECHO_T}not found" >&6
25499 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
25500 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
25501 { (exit 1); exit 1; }; }
25502 else
25503 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
25504 echo "${ECHO_T}$MGL_ROOT" >&6
25505 fi
25506
25507 echo "$as_me:$LINENO: checking for libmgl location" >&5
25508 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
25509 case "${host}" in
25510 *-*-linux* )
25511 if test "x$wxUSE_SHARED" = xyes ; then
25512 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
25513 else
25514 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
25515 fi
25516 ;;
25517 *-pc-msdosdjgpp )
25518 mgl_os_candidates="dos32/dj2"
25519 ;;
25520 *)
25521 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
25522 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
25523 { (exit 1); exit 1; }; }
25524 esac
25525
25526 mgl_lib_type=""
25527 mgl_os=""
25528
25529 for mgl_os_i in $mgl_os_candidates ; do
25530 if test "x$mgl_os" = x ; then
25531 if test "$wxUSE_DEBUG_FLAG" = yes ; then
25532 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
25533 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
25534 mgl_lib_type=debug
25535 mgl_os=$mgl_os_i
25536 fi
25537 fi
25538 if test "x$mgl_lib_type" = x ; then
25539 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
25540 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
25541 mgl_lib_type=release
25542 mgl_os=$mgl_os_i
25543 fi
25544 fi
25545 fi
25546 done
25547
25548 if test "x$mgl_os" = x ; then
25549 echo "$as_me:$LINENO: result: not found" >&5
25550 echo "${ECHO_T}not found" >&6
25551 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
25552 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
25553 { (exit 1); exit 1; }; }
25554 fi
25555 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
25556 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
25557
25558 wxUSE_UNIVERSAL="yes"
25559
25560 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
25561 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
25562
25563 AFMINSTALL=afminstall
25564 TOOLKIT=MGL
25565 GUIDIST=MGL_DIST
25566 fi
25567
25568 if test "$wxUSE_MICROWIN" = 1; then
25569 echo "$as_me:$LINENO: checking for MicroWindows" >&5
25570 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
25571 if test "x$MICROWINDOWS" = x ; then
25572 echo "$as_me:$LINENO: result: not found" >&5
25573 echo "${ECHO_T}not found" >&6
25574 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
25575 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
25576 { (exit 1); exit 1; }; }
25577 else
25578 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
25579 echo "${ECHO_T}$MICROWINDOWS" >&6
25580 fi
25581
25582 if test -f $MICROWINDOWS/lib/libmwin.a; then
25583 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
25584 echo "${ECHO_T}MicroWindows' libraries found." >&6
25585 else
25586 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
25587 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
25588 { (exit 1); exit 1; }; }
25589 fi
25590
25591 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
25592 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
25593
25594 wxUSE_UNIVERSAL="yes"
25595
25596 AFMINSTALL=afminstall
25597 TOOLKIT=MICROWIN
25598 GUIDIST=MICROWIN_DIST
25599
25600 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
25601 fi
25602
25603 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
25604
25605 if test "x$ac_path_x_has_been_run" != xyes; then
25606 echo "$as_me:$LINENO: checking for X" >&5
25607 echo $ECHO_N "checking for X... $ECHO_C" >&6
25608
25609 ac_path_x_has_been_run=yes
25610
25611 # Check whether --with-x or --without-x was given.
25612 if test "${with_x+set}" = set; then
25613 withval="$with_x"
25614
25615 fi;
25616 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
25617 if test "x$with_x" = xno; then
25618 # The user explicitly disabled X.
25619 have_x=disabled
25620 else
25621 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
25622 # Both variables are already set.
25623 have_x=yes
25624 else
25625 if test "${ac_cv_have_x+set}" = set; then
25626 echo $ECHO_N "(cached) $ECHO_C" >&6
25627 else
25628 # One or both of the vars are not set, and there is no cached value.
25629 ac_x_includes=no ac_x_libraries=no
25630 rm -fr conftest.dir
25631 if mkdir conftest.dir; then
25632 cd conftest.dir
25633 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
25634 cat >Imakefile <<'_ACEOF'
25635 acfindx:
25636 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
25637 _ACEOF
25638 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
25639 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
25640 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
25641 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
25642 for ac_extension in a so sl; do
25643 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
25644 test -f $ac_im_libdir/libX11.$ac_extension; then
25645 ac_im_usrlibdir=$ac_im_libdir; break
25646 fi
25647 done
25648 # Screen out bogus values from the imake configuration. They are
25649 # bogus both because they are the default anyway, and because
25650 # using them would break gcc on systems where it needs fixed includes.
25651 case $ac_im_incroot in
25652 /usr/include) ;;
25653 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
25654 esac
25655 case $ac_im_usrlibdir in
25656 /usr/lib | /lib) ;;
25657 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
25658 esac
25659 fi
25660 cd ..
25661 rm -fr conftest.dir
25662 fi
25663
25664 # Standard set of common directories for X headers.
25665 # Check X11 before X11Rn because it is often a symlink to the current release.
25666 ac_x_header_dirs='
25667 /usr/X11/include
25668 /usr/X11R6/include
25669 /usr/X11R5/include
25670 /usr/X11R4/include
25671
25672 /usr/include/X11
25673 /usr/include/X11R6
25674 /usr/include/X11R5
25675 /usr/include/X11R4
25676
25677 /usr/local/X11/include
25678 /usr/local/X11R6/include
25679 /usr/local/X11R5/include
25680 /usr/local/X11R4/include
25681
25682 /usr/local/include/X11
25683 /usr/local/include/X11R6
25684 /usr/local/include/X11R5
25685 /usr/local/include/X11R4
25686
25687 /usr/X386/include
25688 /usr/x386/include
25689 /usr/XFree86/include/X11
25690
25691 /usr/include
25692 /usr/local/include
25693 /usr/unsupported/include
25694 /usr/athena/include
25695 /usr/local/x11r5/include
25696 /usr/lpp/Xamples/include
25697
25698 /usr/openwin/include
25699 /usr/openwin/share/include'
25700
25701 if test "$ac_x_includes" = no; then
25702 # Guess where to find include files, by looking for a specified header file.
25703 # First, try using that file with no special directory specified.
25704 cat >conftest.$ac_ext <<_ACEOF
25705 /* confdefs.h. */
25706 _ACEOF
25707 cat confdefs.h >>conftest.$ac_ext
25708 cat >>conftest.$ac_ext <<_ACEOF
25709 /* end confdefs.h. */
25710 #include <X11/Intrinsic.h>
25711 _ACEOF
25712 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25713 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25714 ac_status=$?
25715 grep -v '^ *+' conftest.er1 >conftest.err
25716 rm -f conftest.er1
25717 cat conftest.err >&5
25718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25719 (exit $ac_status); } >/dev/null; then
25720 if test -s conftest.err; then
25721 ac_cpp_err=$ac_c_preproc_warn_flag
25722 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25723 else
25724 ac_cpp_err=
25725 fi
25726 else
25727 ac_cpp_err=yes
25728 fi
25729 if test -z "$ac_cpp_err"; then
25730 # We can compile using X headers with no special include directory.
25731 ac_x_includes=
25732 else
25733 echo "$as_me: failed program was:" >&5
25734 sed 's/^/| /' conftest.$ac_ext >&5
25735
25736 for ac_dir in $ac_x_header_dirs; do
25737 if test -r "$ac_dir/X11/Intrinsic.h"; then
25738 ac_x_includes=$ac_dir
25739 break
25740 fi
25741 done
25742 fi
25743 rm -f conftest.err conftest.$ac_ext
25744 fi # $ac_x_includes = no
25745
25746 if test "$ac_x_libraries" = no; then
25747 # Check for the libraries.
25748 # See if we find them without any special options.
25749 # Don't add to $LIBS permanently.
25750 ac_save_LIBS=$LIBS
25751 LIBS="-lXt $LIBS"
25752 cat >conftest.$ac_ext <<_ACEOF
25753 /* confdefs.h. */
25754 _ACEOF
25755 cat confdefs.h >>conftest.$ac_ext
25756 cat >>conftest.$ac_ext <<_ACEOF
25757 /* end confdefs.h. */
25758 #include <X11/Intrinsic.h>
25759 int
25760 main ()
25761 {
25762 XtMalloc (0)
25763 ;
25764 return 0;
25765 }
25766 _ACEOF
25767 rm -f conftest.$ac_objext conftest$ac_exeext
25768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25769 (eval $ac_link) 2>conftest.er1
25770 ac_status=$?
25771 grep -v '^ *+' conftest.er1 >conftest.err
25772 rm -f conftest.er1
25773 cat conftest.err >&5
25774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25775 (exit $ac_status); } &&
25776 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25778 (eval $ac_try) 2>&5
25779 ac_status=$?
25780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25781 (exit $ac_status); }; } &&
25782 { ac_try='test -s conftest$ac_exeext'
25783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25784 (eval $ac_try) 2>&5
25785 ac_status=$?
25786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25787 (exit $ac_status); }; }; then
25788 LIBS=$ac_save_LIBS
25789 # We can link X programs with no special library path.
25790 ac_x_libraries=
25791 else
25792 echo "$as_me: failed program was:" >&5
25793 sed 's/^/| /' conftest.$ac_ext >&5
25794
25795 LIBS=$ac_save_LIBS
25796 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
25797 do
25798 # Don't even attempt the hair of trying to link an X program!
25799 for ac_extension in a so sl; do
25800 if test -r $ac_dir/libXt.$ac_extension; then
25801 ac_x_libraries=$ac_dir
25802 break 2
25803 fi
25804 done
25805 done
25806 fi
25807 rm -f conftest.err conftest.$ac_objext \
25808 conftest$ac_exeext conftest.$ac_ext
25809 fi # $ac_x_libraries = no
25810
25811 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
25812 # Didn't find X anywhere. Cache the known absence of X.
25813 ac_cv_have_x="have_x=no"
25814 else
25815 # Record where we found X for the cache.
25816 ac_cv_have_x="have_x=yes \
25817 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
25818 fi
25819 fi
25820
25821 fi
25822 eval "$ac_cv_have_x"
25823 fi # $with_x != no
25824
25825 if test "$have_x" != yes; then
25826 echo "$as_me:$LINENO: result: $have_x" >&5
25827 echo "${ECHO_T}$have_x" >&6
25828 no_x=yes
25829 else
25830 # If each of the values was on the command line, it overrides each guess.
25831 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
25832 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
25833 # Update the cache value to reflect the command line values.
25834 ac_cv_have_x="have_x=yes \
25835 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
25836 # It might be that x_includes is empty (headers are found in the
25837 # standard search path. Then output the corresponding message
25838 ac_out_x_includes=$x_includes
25839 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
25840 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
25841 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
25842 fi
25843
25844 fi
25845 if test "$no_x" = yes; then
25846 # Not all programs may use this symbol, but it does not hurt to define it.
25847
25848 cat >>confdefs.h <<\_ACEOF
25849 #define X_DISPLAY_MISSING 1
25850 _ACEOF
25851
25852 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
25853 else
25854 if test -n "$x_includes"; then
25855 X_CFLAGS="$X_CFLAGS -I$x_includes"
25856 fi
25857
25858 # It would also be nice to do this for all -L options, not just this one.
25859 if test -n "$x_libraries"; then
25860 X_LIBS="$X_LIBS -L$x_libraries"
25861 # For Solaris; some versions of Sun CC require a space after -R and
25862 # others require no space. Words are not sufficient . . . .
25863 case `(uname -sr) 2>/dev/null` in
25864 "SunOS 5"*)
25865 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
25866 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
25867 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
25868 cat >conftest.$ac_ext <<_ACEOF
25869 /* confdefs.h. */
25870 _ACEOF
25871 cat confdefs.h >>conftest.$ac_ext
25872 cat >>conftest.$ac_ext <<_ACEOF
25873 /* end confdefs.h. */
25874
25875 int
25876 main ()
25877 {
25878
25879 ;
25880 return 0;
25881 }
25882 _ACEOF
25883 rm -f conftest.$ac_objext conftest$ac_exeext
25884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25885 (eval $ac_link) 2>conftest.er1
25886 ac_status=$?
25887 grep -v '^ *+' conftest.er1 >conftest.err
25888 rm -f conftest.er1
25889 cat conftest.err >&5
25890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25891 (exit $ac_status); } &&
25892 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25894 (eval $ac_try) 2>&5
25895 ac_status=$?
25896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25897 (exit $ac_status); }; } &&
25898 { ac_try='test -s conftest$ac_exeext'
25899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25900 (eval $ac_try) 2>&5
25901 ac_status=$?
25902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25903 (exit $ac_status); }; }; then
25904 ac_R_nospace=yes
25905 else
25906 echo "$as_me: failed program was:" >&5
25907 sed 's/^/| /' conftest.$ac_ext >&5
25908
25909 ac_R_nospace=no
25910 fi
25911 rm -f conftest.err conftest.$ac_objext \
25912 conftest$ac_exeext conftest.$ac_ext
25913 if test $ac_R_nospace = yes; then
25914 echo "$as_me:$LINENO: result: no" >&5
25915 echo "${ECHO_T}no" >&6
25916 X_LIBS="$X_LIBS -R$x_libraries"
25917 else
25918 LIBS="$ac_xsave_LIBS -R $x_libraries"
25919 cat >conftest.$ac_ext <<_ACEOF
25920 /* confdefs.h. */
25921 _ACEOF
25922 cat confdefs.h >>conftest.$ac_ext
25923 cat >>conftest.$ac_ext <<_ACEOF
25924 /* end confdefs.h. */
25925
25926 int
25927 main ()
25928 {
25929
25930 ;
25931 return 0;
25932 }
25933 _ACEOF
25934 rm -f conftest.$ac_objext conftest$ac_exeext
25935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25936 (eval $ac_link) 2>conftest.er1
25937 ac_status=$?
25938 grep -v '^ *+' conftest.er1 >conftest.err
25939 rm -f conftest.er1
25940 cat conftest.err >&5
25941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25942 (exit $ac_status); } &&
25943 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25945 (eval $ac_try) 2>&5
25946 ac_status=$?
25947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25948 (exit $ac_status); }; } &&
25949 { ac_try='test -s conftest$ac_exeext'
25950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25951 (eval $ac_try) 2>&5
25952 ac_status=$?
25953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25954 (exit $ac_status); }; }; then
25955 ac_R_space=yes
25956 else
25957 echo "$as_me: failed program was:" >&5
25958 sed 's/^/| /' conftest.$ac_ext >&5
25959
25960 ac_R_space=no
25961 fi
25962 rm -f conftest.err conftest.$ac_objext \
25963 conftest$ac_exeext conftest.$ac_ext
25964 if test $ac_R_space = yes; then
25965 echo "$as_me:$LINENO: result: yes" >&5
25966 echo "${ECHO_T}yes" >&6
25967 X_LIBS="$X_LIBS -R $x_libraries"
25968 else
25969 echo "$as_me:$LINENO: result: neither works" >&5
25970 echo "${ECHO_T}neither works" >&6
25971 fi
25972 fi
25973 LIBS=$ac_xsave_LIBS
25974 esac
25975 fi
25976
25977 # Check for system-dependent libraries X programs must link with.
25978 # Do this before checking for the system-independent R6 libraries
25979 # (-lICE), since we may need -lsocket or whatever for X linking.
25980
25981 if test "$ISC" = yes; then
25982 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
25983 else
25984 # Martyn Johnson says this is needed for Ultrix, if the X
25985 # libraries were built with DECnet support. And Karl Berry says
25986 # the Alpha needs dnet_stub (dnet does not exist).
25987 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
25988 cat >conftest.$ac_ext <<_ACEOF
25989 /* confdefs.h. */
25990 _ACEOF
25991 cat confdefs.h >>conftest.$ac_ext
25992 cat >>conftest.$ac_ext <<_ACEOF
25993 /* end confdefs.h. */
25994
25995 /* Override any gcc2 internal prototype to avoid an error. */
25996 #ifdef __cplusplus
25997 extern "C"
25998 #endif
25999 /* We use char because int might match the return type of a gcc2
26000 builtin and then its argument prototype would still apply. */
26001 char XOpenDisplay ();
26002 int
26003 main ()
26004 {
26005 XOpenDisplay ();
26006 ;
26007 return 0;
26008 }
26009 _ACEOF
26010 rm -f conftest.$ac_objext conftest$ac_exeext
26011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26012 (eval $ac_link) 2>conftest.er1
26013 ac_status=$?
26014 grep -v '^ *+' conftest.er1 >conftest.err
26015 rm -f conftest.er1
26016 cat conftest.err >&5
26017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26018 (exit $ac_status); } &&
26019 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26021 (eval $ac_try) 2>&5
26022 ac_status=$?
26023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26024 (exit $ac_status); }; } &&
26025 { ac_try='test -s conftest$ac_exeext'
26026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26027 (eval $ac_try) 2>&5
26028 ac_status=$?
26029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26030 (exit $ac_status); }; }; then
26031 :
26032 else
26033 echo "$as_me: failed program was:" >&5
26034 sed 's/^/| /' conftest.$ac_ext >&5
26035
26036 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
26037 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
26038 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
26039 echo $ECHO_N "(cached) $ECHO_C" >&6
26040 else
26041 ac_check_lib_save_LIBS=$LIBS
26042 LIBS="-ldnet $LIBS"
26043 cat >conftest.$ac_ext <<_ACEOF
26044 /* confdefs.h. */
26045 _ACEOF
26046 cat confdefs.h >>conftest.$ac_ext
26047 cat >>conftest.$ac_ext <<_ACEOF
26048 /* end confdefs.h. */
26049
26050 /* Override any gcc2 internal prototype to avoid an error. */
26051 #ifdef __cplusplus
26052 extern "C"
26053 #endif
26054 /* We use char because int might match the return type of a gcc2
26055 builtin and then its argument prototype would still apply. */
26056 char dnet_ntoa ();
26057 int
26058 main ()
26059 {
26060 dnet_ntoa ();
26061 ;
26062 return 0;
26063 }
26064 _ACEOF
26065 rm -f conftest.$ac_objext conftest$ac_exeext
26066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26067 (eval $ac_link) 2>conftest.er1
26068 ac_status=$?
26069 grep -v '^ *+' conftest.er1 >conftest.err
26070 rm -f conftest.er1
26071 cat conftest.err >&5
26072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26073 (exit $ac_status); } &&
26074 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26076 (eval $ac_try) 2>&5
26077 ac_status=$?
26078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26079 (exit $ac_status); }; } &&
26080 { ac_try='test -s conftest$ac_exeext'
26081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26082 (eval $ac_try) 2>&5
26083 ac_status=$?
26084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26085 (exit $ac_status); }; }; then
26086 ac_cv_lib_dnet_dnet_ntoa=yes
26087 else
26088 echo "$as_me: failed program was:" >&5
26089 sed 's/^/| /' conftest.$ac_ext >&5
26090
26091 ac_cv_lib_dnet_dnet_ntoa=no
26092 fi
26093 rm -f conftest.err conftest.$ac_objext \
26094 conftest$ac_exeext conftest.$ac_ext
26095 LIBS=$ac_check_lib_save_LIBS
26096 fi
26097 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
26098 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
26099 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
26100 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
26101 fi
26102
26103 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
26104 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
26105 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
26106 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
26107 echo $ECHO_N "(cached) $ECHO_C" >&6
26108 else
26109 ac_check_lib_save_LIBS=$LIBS
26110 LIBS="-ldnet_stub $LIBS"
26111 cat >conftest.$ac_ext <<_ACEOF
26112 /* confdefs.h. */
26113 _ACEOF
26114 cat confdefs.h >>conftest.$ac_ext
26115 cat >>conftest.$ac_ext <<_ACEOF
26116 /* end confdefs.h. */
26117
26118 /* Override any gcc2 internal prototype to avoid an error. */
26119 #ifdef __cplusplus
26120 extern "C"
26121 #endif
26122 /* We use char because int might match the return type of a gcc2
26123 builtin and then its argument prototype would still apply. */
26124 char dnet_ntoa ();
26125 int
26126 main ()
26127 {
26128 dnet_ntoa ();
26129 ;
26130 return 0;
26131 }
26132 _ACEOF
26133 rm -f conftest.$ac_objext conftest$ac_exeext
26134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26135 (eval $ac_link) 2>conftest.er1
26136 ac_status=$?
26137 grep -v '^ *+' conftest.er1 >conftest.err
26138 rm -f conftest.er1
26139 cat conftest.err >&5
26140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26141 (exit $ac_status); } &&
26142 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26144 (eval $ac_try) 2>&5
26145 ac_status=$?
26146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26147 (exit $ac_status); }; } &&
26148 { ac_try='test -s conftest$ac_exeext'
26149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26150 (eval $ac_try) 2>&5
26151 ac_status=$?
26152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26153 (exit $ac_status); }; }; then
26154 ac_cv_lib_dnet_stub_dnet_ntoa=yes
26155 else
26156 echo "$as_me: failed program was:" >&5
26157 sed 's/^/| /' conftest.$ac_ext >&5
26158
26159 ac_cv_lib_dnet_stub_dnet_ntoa=no
26160 fi
26161 rm -f conftest.err conftest.$ac_objext \
26162 conftest$ac_exeext conftest.$ac_ext
26163 LIBS=$ac_check_lib_save_LIBS
26164 fi
26165 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
26166 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
26167 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
26168 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
26169 fi
26170
26171 fi
26172 fi
26173 rm -f conftest.err conftest.$ac_objext \
26174 conftest$ac_exeext conftest.$ac_ext
26175 LIBS="$ac_xsave_LIBS"
26176
26177 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
26178 # to get the SysV transport functions.
26179 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
26180 # needs -lnsl.
26181 # The nsl library prevents programs from opening the X display
26182 # on Irix 5.2, according to T.E. Dickey.
26183 # The functions gethostbyname, getservbyname, and inet_addr are
26184 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
26185 echo "$as_me:$LINENO: checking for gethostbyname" >&5
26186 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
26187 if test "${ac_cv_func_gethostbyname+set}" = set; then
26188 echo $ECHO_N "(cached) $ECHO_C" >&6
26189 else
26190 cat >conftest.$ac_ext <<_ACEOF
26191 /* confdefs.h. */
26192 _ACEOF
26193 cat confdefs.h >>conftest.$ac_ext
26194 cat >>conftest.$ac_ext <<_ACEOF
26195 /* end confdefs.h. */
26196 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
26197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26198 #define gethostbyname innocuous_gethostbyname
26199
26200 /* System header to define __stub macros and hopefully few prototypes,
26201 which can conflict with char gethostbyname (); below.
26202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26203 <limits.h> exists even on freestanding compilers. */
26204
26205 #ifdef __STDC__
26206 # include <limits.h>
26207 #else
26208 # include <assert.h>
26209 #endif
26210
26211 #undef gethostbyname
26212
26213 /* Override any gcc2 internal prototype to avoid an error. */
26214 #ifdef __cplusplus
26215 extern "C"
26216 {
26217 #endif
26218 /* We use char because int might match the return type of a gcc2
26219 builtin and then its argument prototype would still apply. */
26220 char gethostbyname ();
26221 /* The GNU C library defines this for functions which it implements
26222 to always fail with ENOSYS. Some functions are actually named
26223 something starting with __ and the normal name is an alias. */
26224 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
26225 choke me
26226 #else
26227 char (*f) () = gethostbyname;
26228 #endif
26229 #ifdef __cplusplus
26230 }
26231 #endif
26232
26233 int
26234 main ()
26235 {
26236 return f != gethostbyname;
26237 ;
26238 return 0;
26239 }
26240 _ACEOF
26241 rm -f conftest.$ac_objext conftest$ac_exeext
26242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26243 (eval $ac_link) 2>conftest.er1
26244 ac_status=$?
26245 grep -v '^ *+' conftest.er1 >conftest.err
26246 rm -f conftest.er1
26247 cat conftest.err >&5
26248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26249 (exit $ac_status); } &&
26250 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26252 (eval $ac_try) 2>&5
26253 ac_status=$?
26254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26255 (exit $ac_status); }; } &&
26256 { ac_try='test -s conftest$ac_exeext'
26257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26258 (eval $ac_try) 2>&5
26259 ac_status=$?
26260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26261 (exit $ac_status); }; }; then
26262 ac_cv_func_gethostbyname=yes
26263 else
26264 echo "$as_me: failed program was:" >&5
26265 sed 's/^/| /' conftest.$ac_ext >&5
26266
26267 ac_cv_func_gethostbyname=no
26268 fi
26269 rm -f conftest.err conftest.$ac_objext \
26270 conftest$ac_exeext conftest.$ac_ext
26271 fi
26272 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
26273 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
26274
26275 if test $ac_cv_func_gethostbyname = no; then
26276 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
26277 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
26278 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
26279 echo $ECHO_N "(cached) $ECHO_C" >&6
26280 else
26281 ac_check_lib_save_LIBS=$LIBS
26282 LIBS="-lnsl $LIBS"
26283 cat >conftest.$ac_ext <<_ACEOF
26284 /* confdefs.h. */
26285 _ACEOF
26286 cat confdefs.h >>conftest.$ac_ext
26287 cat >>conftest.$ac_ext <<_ACEOF
26288 /* end confdefs.h. */
26289
26290 /* Override any gcc2 internal prototype to avoid an error. */
26291 #ifdef __cplusplus
26292 extern "C"
26293 #endif
26294 /* We use char because int might match the return type of a gcc2
26295 builtin and then its argument prototype would still apply. */
26296 char gethostbyname ();
26297 int
26298 main ()
26299 {
26300 gethostbyname ();
26301 ;
26302 return 0;
26303 }
26304 _ACEOF
26305 rm -f conftest.$ac_objext conftest$ac_exeext
26306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26307 (eval $ac_link) 2>conftest.er1
26308 ac_status=$?
26309 grep -v '^ *+' conftest.er1 >conftest.err
26310 rm -f conftest.er1
26311 cat conftest.err >&5
26312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26313 (exit $ac_status); } &&
26314 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26316 (eval $ac_try) 2>&5
26317 ac_status=$?
26318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26319 (exit $ac_status); }; } &&
26320 { ac_try='test -s conftest$ac_exeext'
26321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26322 (eval $ac_try) 2>&5
26323 ac_status=$?
26324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26325 (exit $ac_status); }; }; then
26326 ac_cv_lib_nsl_gethostbyname=yes
26327 else
26328 echo "$as_me: failed program was:" >&5
26329 sed 's/^/| /' conftest.$ac_ext >&5
26330
26331 ac_cv_lib_nsl_gethostbyname=no
26332 fi
26333 rm -f conftest.err conftest.$ac_objext \
26334 conftest$ac_exeext conftest.$ac_ext
26335 LIBS=$ac_check_lib_save_LIBS
26336 fi
26337 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
26338 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
26339 if test $ac_cv_lib_nsl_gethostbyname = yes; then
26340 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
26341 fi
26342
26343 if test $ac_cv_lib_nsl_gethostbyname = no; then
26344 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
26345 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
26346 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
26347 echo $ECHO_N "(cached) $ECHO_C" >&6
26348 else
26349 ac_check_lib_save_LIBS=$LIBS
26350 LIBS="-lbsd $LIBS"
26351 cat >conftest.$ac_ext <<_ACEOF
26352 /* confdefs.h. */
26353 _ACEOF
26354 cat confdefs.h >>conftest.$ac_ext
26355 cat >>conftest.$ac_ext <<_ACEOF
26356 /* end confdefs.h. */
26357
26358 /* Override any gcc2 internal prototype to avoid an error. */
26359 #ifdef __cplusplus
26360 extern "C"
26361 #endif
26362 /* We use char because int might match the return type of a gcc2
26363 builtin and then its argument prototype would still apply. */
26364 char gethostbyname ();
26365 int
26366 main ()
26367 {
26368 gethostbyname ();
26369 ;
26370 return 0;
26371 }
26372 _ACEOF
26373 rm -f conftest.$ac_objext conftest$ac_exeext
26374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26375 (eval $ac_link) 2>conftest.er1
26376 ac_status=$?
26377 grep -v '^ *+' conftest.er1 >conftest.err
26378 rm -f conftest.er1
26379 cat conftest.err >&5
26380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26381 (exit $ac_status); } &&
26382 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26384 (eval $ac_try) 2>&5
26385 ac_status=$?
26386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26387 (exit $ac_status); }; } &&
26388 { ac_try='test -s conftest$ac_exeext'
26389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26390 (eval $ac_try) 2>&5
26391 ac_status=$?
26392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26393 (exit $ac_status); }; }; then
26394 ac_cv_lib_bsd_gethostbyname=yes
26395 else
26396 echo "$as_me: failed program was:" >&5
26397 sed 's/^/| /' conftest.$ac_ext >&5
26398
26399 ac_cv_lib_bsd_gethostbyname=no
26400 fi
26401 rm -f conftest.err conftest.$ac_objext \
26402 conftest$ac_exeext conftest.$ac_ext
26403 LIBS=$ac_check_lib_save_LIBS
26404 fi
26405 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
26406 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
26407 if test $ac_cv_lib_bsd_gethostbyname = yes; then
26408 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
26409 fi
26410
26411 fi
26412 fi
26413
26414 # lieder@skyler.mavd.honeywell.com says without -lsocket,
26415 # socket/setsockopt and other routines are undefined under SCO ODT
26416 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
26417 # on later versions), says Simon Leinen: it contains gethostby*
26418 # variants that don't use the name server (or something). -lsocket
26419 # must be given before -lnsl if both are needed. We assume that
26420 # if connect needs -lnsl, so does gethostbyname.
26421 echo "$as_me:$LINENO: checking for connect" >&5
26422 echo $ECHO_N "checking for connect... $ECHO_C" >&6
26423 if test "${ac_cv_func_connect+set}" = set; then
26424 echo $ECHO_N "(cached) $ECHO_C" >&6
26425 else
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 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
26433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26434 #define connect innocuous_connect
26435
26436 /* System header to define __stub macros and hopefully few prototypes,
26437 which can conflict with char connect (); below.
26438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26439 <limits.h> exists even on freestanding compilers. */
26440
26441 #ifdef __STDC__
26442 # include <limits.h>
26443 #else
26444 # include <assert.h>
26445 #endif
26446
26447 #undef connect
26448
26449 /* Override any gcc2 internal prototype to avoid an error. */
26450 #ifdef __cplusplus
26451 extern "C"
26452 {
26453 #endif
26454 /* We use char because int might match the return type of a gcc2
26455 builtin and then its argument prototype would still apply. */
26456 char connect ();
26457 /* The GNU C library defines this for functions which it implements
26458 to always fail with ENOSYS. Some functions are actually named
26459 something starting with __ and the normal name is an alias. */
26460 #if defined (__stub_connect) || defined (__stub___connect)
26461 choke me
26462 #else
26463 char (*f) () = connect;
26464 #endif
26465 #ifdef __cplusplus
26466 }
26467 #endif
26468
26469 int
26470 main ()
26471 {
26472 return f != connect;
26473 ;
26474 return 0;
26475 }
26476 _ACEOF
26477 rm -f conftest.$ac_objext conftest$ac_exeext
26478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26479 (eval $ac_link) 2>conftest.er1
26480 ac_status=$?
26481 grep -v '^ *+' conftest.er1 >conftest.err
26482 rm -f conftest.er1
26483 cat conftest.err >&5
26484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26485 (exit $ac_status); } &&
26486 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26488 (eval $ac_try) 2>&5
26489 ac_status=$?
26490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26491 (exit $ac_status); }; } &&
26492 { ac_try='test -s conftest$ac_exeext'
26493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26494 (eval $ac_try) 2>&5
26495 ac_status=$?
26496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26497 (exit $ac_status); }; }; then
26498 ac_cv_func_connect=yes
26499 else
26500 echo "$as_me: failed program was:" >&5
26501 sed 's/^/| /' conftest.$ac_ext >&5
26502
26503 ac_cv_func_connect=no
26504 fi
26505 rm -f conftest.err conftest.$ac_objext \
26506 conftest$ac_exeext conftest.$ac_ext
26507 fi
26508 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
26509 echo "${ECHO_T}$ac_cv_func_connect" >&6
26510
26511 if test $ac_cv_func_connect = no; then
26512 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
26513 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
26514 if test "${ac_cv_lib_socket_connect+set}" = set; then
26515 echo $ECHO_N "(cached) $ECHO_C" >&6
26516 else
26517 ac_check_lib_save_LIBS=$LIBS
26518 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
26519 cat >conftest.$ac_ext <<_ACEOF
26520 /* confdefs.h. */
26521 _ACEOF
26522 cat confdefs.h >>conftest.$ac_ext
26523 cat >>conftest.$ac_ext <<_ACEOF
26524 /* end confdefs.h. */
26525
26526 /* Override any gcc2 internal prototype to avoid an error. */
26527 #ifdef __cplusplus
26528 extern "C"
26529 #endif
26530 /* We use char because int might match the return type of a gcc2
26531 builtin and then its argument prototype would still apply. */
26532 char connect ();
26533 int
26534 main ()
26535 {
26536 connect ();
26537 ;
26538 return 0;
26539 }
26540 _ACEOF
26541 rm -f conftest.$ac_objext conftest$ac_exeext
26542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26543 (eval $ac_link) 2>conftest.er1
26544 ac_status=$?
26545 grep -v '^ *+' conftest.er1 >conftest.err
26546 rm -f conftest.er1
26547 cat conftest.err >&5
26548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26549 (exit $ac_status); } &&
26550 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26552 (eval $ac_try) 2>&5
26553 ac_status=$?
26554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26555 (exit $ac_status); }; } &&
26556 { ac_try='test -s conftest$ac_exeext'
26557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26558 (eval $ac_try) 2>&5
26559 ac_status=$?
26560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26561 (exit $ac_status); }; }; then
26562 ac_cv_lib_socket_connect=yes
26563 else
26564 echo "$as_me: failed program was:" >&5
26565 sed 's/^/| /' conftest.$ac_ext >&5
26566
26567 ac_cv_lib_socket_connect=no
26568 fi
26569 rm -f conftest.err conftest.$ac_objext \
26570 conftest$ac_exeext conftest.$ac_ext
26571 LIBS=$ac_check_lib_save_LIBS
26572 fi
26573 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
26574 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
26575 if test $ac_cv_lib_socket_connect = yes; then
26576 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
26577 fi
26578
26579 fi
26580
26581 # Guillermo Gomez says -lposix is necessary on A/UX.
26582 echo "$as_me:$LINENO: checking for remove" >&5
26583 echo $ECHO_N "checking for remove... $ECHO_C" >&6
26584 if test "${ac_cv_func_remove+set}" = set; then
26585 echo $ECHO_N "(cached) $ECHO_C" >&6
26586 else
26587 cat >conftest.$ac_ext <<_ACEOF
26588 /* confdefs.h. */
26589 _ACEOF
26590 cat confdefs.h >>conftest.$ac_ext
26591 cat >>conftest.$ac_ext <<_ACEOF
26592 /* end confdefs.h. */
26593 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
26594 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26595 #define remove innocuous_remove
26596
26597 /* System header to define __stub macros and hopefully few prototypes,
26598 which can conflict with char remove (); below.
26599 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26600 <limits.h> exists even on freestanding compilers. */
26601
26602 #ifdef __STDC__
26603 # include <limits.h>
26604 #else
26605 # include <assert.h>
26606 #endif
26607
26608 #undef remove
26609
26610 /* Override any gcc2 internal prototype to avoid an error. */
26611 #ifdef __cplusplus
26612 extern "C"
26613 {
26614 #endif
26615 /* We use char because int might match the return type of a gcc2
26616 builtin and then its argument prototype would still apply. */
26617 char remove ();
26618 /* The GNU C library defines this for functions which it implements
26619 to always fail with ENOSYS. Some functions are actually named
26620 something starting with __ and the normal name is an alias. */
26621 #if defined (__stub_remove) || defined (__stub___remove)
26622 choke me
26623 #else
26624 char (*f) () = remove;
26625 #endif
26626 #ifdef __cplusplus
26627 }
26628 #endif
26629
26630 int
26631 main ()
26632 {
26633 return f != remove;
26634 ;
26635 return 0;
26636 }
26637 _ACEOF
26638 rm -f conftest.$ac_objext conftest$ac_exeext
26639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26640 (eval $ac_link) 2>conftest.er1
26641 ac_status=$?
26642 grep -v '^ *+' conftest.er1 >conftest.err
26643 rm -f conftest.er1
26644 cat conftest.err >&5
26645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26646 (exit $ac_status); } &&
26647 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26649 (eval $ac_try) 2>&5
26650 ac_status=$?
26651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26652 (exit $ac_status); }; } &&
26653 { ac_try='test -s conftest$ac_exeext'
26654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26655 (eval $ac_try) 2>&5
26656 ac_status=$?
26657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26658 (exit $ac_status); }; }; then
26659 ac_cv_func_remove=yes
26660 else
26661 echo "$as_me: failed program was:" >&5
26662 sed 's/^/| /' conftest.$ac_ext >&5
26663
26664 ac_cv_func_remove=no
26665 fi
26666 rm -f conftest.err conftest.$ac_objext \
26667 conftest$ac_exeext conftest.$ac_ext
26668 fi
26669 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
26670 echo "${ECHO_T}$ac_cv_func_remove" >&6
26671
26672 if test $ac_cv_func_remove = no; then
26673 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
26674 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
26675 if test "${ac_cv_lib_posix_remove+set}" = set; then
26676 echo $ECHO_N "(cached) $ECHO_C" >&6
26677 else
26678 ac_check_lib_save_LIBS=$LIBS
26679 LIBS="-lposix $LIBS"
26680 cat >conftest.$ac_ext <<_ACEOF
26681 /* confdefs.h. */
26682 _ACEOF
26683 cat confdefs.h >>conftest.$ac_ext
26684 cat >>conftest.$ac_ext <<_ACEOF
26685 /* end confdefs.h. */
26686
26687 /* Override any gcc2 internal prototype to avoid an error. */
26688 #ifdef __cplusplus
26689 extern "C"
26690 #endif
26691 /* We use char because int might match the return type of a gcc2
26692 builtin and then its argument prototype would still apply. */
26693 char remove ();
26694 int
26695 main ()
26696 {
26697 remove ();
26698 ;
26699 return 0;
26700 }
26701 _ACEOF
26702 rm -f conftest.$ac_objext conftest$ac_exeext
26703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26704 (eval $ac_link) 2>conftest.er1
26705 ac_status=$?
26706 grep -v '^ *+' conftest.er1 >conftest.err
26707 rm -f conftest.er1
26708 cat conftest.err >&5
26709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26710 (exit $ac_status); } &&
26711 { ac_try='test -z "$ac_c_werror_flag" || 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_exeext'
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 ac_cv_lib_posix_remove=yes
26724 else
26725 echo "$as_me: failed program was:" >&5
26726 sed 's/^/| /' conftest.$ac_ext >&5
26727
26728 ac_cv_lib_posix_remove=no
26729 fi
26730 rm -f conftest.err conftest.$ac_objext \
26731 conftest$ac_exeext conftest.$ac_ext
26732 LIBS=$ac_check_lib_save_LIBS
26733 fi
26734 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
26735 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
26736 if test $ac_cv_lib_posix_remove = yes; then
26737 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
26738 fi
26739
26740 fi
26741
26742 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
26743 echo "$as_me:$LINENO: checking for shmat" >&5
26744 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
26745 if test "${ac_cv_func_shmat+set}" = set; then
26746 echo $ECHO_N "(cached) $ECHO_C" >&6
26747 else
26748 cat >conftest.$ac_ext <<_ACEOF
26749 /* confdefs.h. */
26750 _ACEOF
26751 cat confdefs.h >>conftest.$ac_ext
26752 cat >>conftest.$ac_ext <<_ACEOF
26753 /* end confdefs.h. */
26754 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
26755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26756 #define shmat innocuous_shmat
26757
26758 /* System header to define __stub macros and hopefully few prototypes,
26759 which can conflict with char shmat (); below.
26760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26761 <limits.h> exists even on freestanding compilers. */
26762
26763 #ifdef __STDC__
26764 # include <limits.h>
26765 #else
26766 # include <assert.h>
26767 #endif
26768
26769 #undef shmat
26770
26771 /* Override any gcc2 internal prototype to avoid an error. */
26772 #ifdef __cplusplus
26773 extern "C"
26774 {
26775 #endif
26776 /* We use char because int might match the return type of a gcc2
26777 builtin and then its argument prototype would still apply. */
26778 char shmat ();
26779 /* The GNU C library defines this for functions which it implements
26780 to always fail with ENOSYS. Some functions are actually named
26781 something starting with __ and the normal name is an alias. */
26782 #if defined (__stub_shmat) || defined (__stub___shmat)
26783 choke me
26784 #else
26785 char (*f) () = shmat;
26786 #endif
26787 #ifdef __cplusplus
26788 }
26789 #endif
26790
26791 int
26792 main ()
26793 {
26794 return f != shmat;
26795 ;
26796 return 0;
26797 }
26798 _ACEOF
26799 rm -f conftest.$ac_objext conftest$ac_exeext
26800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26801 (eval $ac_link) 2>conftest.er1
26802 ac_status=$?
26803 grep -v '^ *+' conftest.er1 >conftest.err
26804 rm -f conftest.er1
26805 cat conftest.err >&5
26806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26807 (exit $ac_status); } &&
26808 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26810 (eval $ac_try) 2>&5
26811 ac_status=$?
26812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26813 (exit $ac_status); }; } &&
26814 { ac_try='test -s conftest$ac_exeext'
26815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26816 (eval $ac_try) 2>&5
26817 ac_status=$?
26818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26819 (exit $ac_status); }; }; then
26820 ac_cv_func_shmat=yes
26821 else
26822 echo "$as_me: failed program was:" >&5
26823 sed 's/^/| /' conftest.$ac_ext >&5
26824
26825 ac_cv_func_shmat=no
26826 fi
26827 rm -f conftest.err conftest.$ac_objext \
26828 conftest$ac_exeext conftest.$ac_ext
26829 fi
26830 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
26831 echo "${ECHO_T}$ac_cv_func_shmat" >&6
26832
26833 if test $ac_cv_func_shmat = no; then
26834 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
26835 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
26836 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
26837 echo $ECHO_N "(cached) $ECHO_C" >&6
26838 else
26839 ac_check_lib_save_LIBS=$LIBS
26840 LIBS="-lipc $LIBS"
26841 cat >conftest.$ac_ext <<_ACEOF
26842 /* confdefs.h. */
26843 _ACEOF
26844 cat confdefs.h >>conftest.$ac_ext
26845 cat >>conftest.$ac_ext <<_ACEOF
26846 /* end confdefs.h. */
26847
26848 /* Override any gcc2 internal prototype to avoid an error. */
26849 #ifdef __cplusplus
26850 extern "C"
26851 #endif
26852 /* We use char because int might match the return type of a gcc2
26853 builtin and then its argument prototype would still apply. */
26854 char shmat ();
26855 int
26856 main ()
26857 {
26858 shmat ();
26859 ;
26860 return 0;
26861 }
26862 _ACEOF
26863 rm -f conftest.$ac_objext conftest$ac_exeext
26864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26865 (eval $ac_link) 2>conftest.er1
26866 ac_status=$?
26867 grep -v '^ *+' conftest.er1 >conftest.err
26868 rm -f conftest.er1
26869 cat conftest.err >&5
26870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26871 (exit $ac_status); } &&
26872 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26874 (eval $ac_try) 2>&5
26875 ac_status=$?
26876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26877 (exit $ac_status); }; } &&
26878 { ac_try='test -s conftest$ac_exeext'
26879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26880 (eval $ac_try) 2>&5
26881 ac_status=$?
26882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26883 (exit $ac_status); }; }; then
26884 ac_cv_lib_ipc_shmat=yes
26885 else
26886 echo "$as_me: failed program was:" >&5
26887 sed 's/^/| /' conftest.$ac_ext >&5
26888
26889 ac_cv_lib_ipc_shmat=no
26890 fi
26891 rm -f conftest.err conftest.$ac_objext \
26892 conftest$ac_exeext conftest.$ac_ext
26893 LIBS=$ac_check_lib_save_LIBS
26894 fi
26895 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
26896 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
26897 if test $ac_cv_lib_ipc_shmat = yes; then
26898 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
26899 fi
26900
26901 fi
26902 fi
26903
26904 # Check for libraries that X11R6 Xt/Xaw programs need.
26905 ac_save_LDFLAGS=$LDFLAGS
26906 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
26907 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
26908 # check for ICE first), but we must link in the order -lSM -lICE or
26909 # we get undefined symbols. So assume we have SM if we have ICE.
26910 # These have to be linked with before -lX11, unlike the other
26911 # libraries we check for below, so use a different variable.
26912 # John Interrante, Karl Berry
26913 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
26914 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
26915 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
26916 echo $ECHO_N "(cached) $ECHO_C" >&6
26917 else
26918 ac_check_lib_save_LIBS=$LIBS
26919 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
26920 cat >conftest.$ac_ext <<_ACEOF
26921 /* confdefs.h. */
26922 _ACEOF
26923 cat confdefs.h >>conftest.$ac_ext
26924 cat >>conftest.$ac_ext <<_ACEOF
26925 /* end confdefs.h. */
26926
26927 /* Override any gcc2 internal prototype to avoid an error. */
26928 #ifdef __cplusplus
26929 extern "C"
26930 #endif
26931 /* We use char because int might match the return type of a gcc2
26932 builtin and then its argument prototype would still apply. */
26933 char IceConnectionNumber ();
26934 int
26935 main ()
26936 {
26937 IceConnectionNumber ();
26938 ;
26939 return 0;
26940 }
26941 _ACEOF
26942 rm -f conftest.$ac_objext conftest$ac_exeext
26943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26944 (eval $ac_link) 2>conftest.er1
26945 ac_status=$?
26946 grep -v '^ *+' conftest.er1 >conftest.err
26947 rm -f conftest.er1
26948 cat conftest.err >&5
26949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26950 (exit $ac_status); } &&
26951 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26953 (eval $ac_try) 2>&5
26954 ac_status=$?
26955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26956 (exit $ac_status); }; } &&
26957 { ac_try='test -s conftest$ac_exeext'
26958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26959 (eval $ac_try) 2>&5
26960 ac_status=$?
26961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26962 (exit $ac_status); }; }; then
26963 ac_cv_lib_ICE_IceConnectionNumber=yes
26964 else
26965 echo "$as_me: failed program was:" >&5
26966 sed 's/^/| /' conftest.$ac_ext >&5
26967
26968 ac_cv_lib_ICE_IceConnectionNumber=no
26969 fi
26970 rm -f conftest.err conftest.$ac_objext \
26971 conftest$ac_exeext conftest.$ac_ext
26972 LIBS=$ac_check_lib_save_LIBS
26973 fi
26974 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
26975 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
26976 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
26977 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
26978 fi
26979
26980 LDFLAGS=$ac_save_LDFLAGS
26981
26982 fi
26983
26984
26985 if test "$no_x" = "yes"; then
26986 { { echo "$as_me:$LINENO: error: X11 not found" >&5
26987 echo "$as_me: error: X11 not found" >&2;}
26988 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
26989 fi
26990
26991 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
26992 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
26993 AFMINSTALL=afminstall
26994 COMPILED_X_PROGRAM=0
26995
26996 fi
26997
26998 if test "$wxUSE_X11" = 1; then
26999 if test "$wxUSE_NANOX" = "yes"; then
27000 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
27001 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
27002 if test "x$MICROWIN" = x ; then
27003 echo "$as_me:$LINENO: result: not found" >&5
27004 echo "${ECHO_T}not found" >&6
27005 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
27006 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
27007 { (exit 1); exit 1; }; }
27008 else
27009 echo "$as_me:$LINENO: result: $MICROWIN" >&5
27010 echo "${ECHO_T}$MICROWIN" >&6
27011 cat >>confdefs.h <<\_ACEOF
27012 #define wxUSE_NANOX 1
27013 _ACEOF
27014
27015 fi
27016 fi
27017
27018 if test "$wxUSE_UNICODE" = "yes"; then
27019
27020 succeeded=no
27021
27022 if test -z "$PKG_CONFIG"; then
27023 # Extract the first word of "pkg-config", so it can be a program name with args.
27024 set dummy pkg-config; ac_word=$2
27025 echo "$as_me:$LINENO: checking for $ac_word" >&5
27026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27027 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27028 echo $ECHO_N "(cached) $ECHO_C" >&6
27029 else
27030 case $PKG_CONFIG in
27031 [\\/]* | ?:[\\/]*)
27032 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27033 ;;
27034 *)
27035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27036 for as_dir in $PATH
27037 do
27038 IFS=$as_save_IFS
27039 test -z "$as_dir" && as_dir=.
27040 for ac_exec_ext in '' $ac_executable_extensions; do
27041 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27042 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27044 break 2
27045 fi
27046 done
27047 done
27048
27049 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27050 ;;
27051 esac
27052 fi
27053 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27054
27055 if test -n "$PKG_CONFIG"; then
27056 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27057 echo "${ECHO_T}$PKG_CONFIG" >&6
27058 else
27059 echo "$as_me:$LINENO: result: no" >&5
27060 echo "${ECHO_T}no" >&6
27061 fi
27062
27063 fi
27064
27065 if test "$PKG_CONFIG" = "no" ; then
27066 echo "*** The pkg-config script could not be found. Make sure it is"
27067 echo "*** in your path, or set the PKG_CONFIG environment variable"
27068 echo "*** to the full path to pkg-config."
27069 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27070 else
27071 PKG_CONFIG_MIN_VERSION=0.9.0
27072 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27073 echo "$as_me:$LINENO: checking for pangox" >&5
27074 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
27075
27076 if $PKG_CONFIG --exists "pangox" ; then
27077 echo "$as_me:$LINENO: result: yes" >&5
27078 echo "${ECHO_T}yes" >&6
27079 succeeded=yes
27080
27081 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
27082 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
27083 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
27084 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
27085 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
27086
27087 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
27088 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
27089 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
27090 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
27091 echo "${ECHO_T}$PANGOX_LIBS" >&6
27092 else
27093 PANGOX_CFLAGS=""
27094 PANGOX_LIBS=""
27095 ## If we have a custom action on failure, don't print errors, but
27096 ## do set a variable so people can do so.
27097 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
27098
27099 fi
27100
27101
27102
27103 else
27104 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27105 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27106 fi
27107 fi
27108
27109 if test $succeeded = yes; then
27110
27111 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
27112 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
27113
27114 else
27115
27116 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
27117 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
27118 { (exit 1); exit 1; }; }
27119
27120
27121 fi
27122
27123
27124 succeeded=no
27125
27126 if test -z "$PKG_CONFIG"; then
27127 # Extract the first word of "pkg-config", so it can be a program name with args.
27128 set dummy pkg-config; ac_word=$2
27129 echo "$as_me:$LINENO: checking for $ac_word" >&5
27130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27131 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27132 echo $ECHO_N "(cached) $ECHO_C" >&6
27133 else
27134 case $PKG_CONFIG in
27135 [\\/]* | ?:[\\/]*)
27136 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27137 ;;
27138 *)
27139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27140 for as_dir in $PATH
27141 do
27142 IFS=$as_save_IFS
27143 test -z "$as_dir" && as_dir=.
27144 for ac_exec_ext in '' $ac_executable_extensions; do
27145 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27146 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27147 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27148 break 2
27149 fi
27150 done
27151 done
27152
27153 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27154 ;;
27155 esac
27156 fi
27157 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27158
27159 if test -n "$PKG_CONFIG"; then
27160 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27161 echo "${ECHO_T}$PKG_CONFIG" >&6
27162 else
27163 echo "$as_me:$LINENO: result: no" >&5
27164 echo "${ECHO_T}no" >&6
27165 fi
27166
27167 fi
27168
27169 if test "$PKG_CONFIG" = "no" ; then
27170 echo "*** The pkg-config script could not be found. Make sure it is"
27171 echo "*** in your path, or set the PKG_CONFIG environment variable"
27172 echo "*** to the full path to pkg-config."
27173 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27174 else
27175 PKG_CONFIG_MIN_VERSION=0.9.0
27176 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27177 echo "$as_me:$LINENO: checking for pangoft2" >&5
27178 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
27179
27180 if $PKG_CONFIG --exists "pangoft2" ; then
27181 echo "$as_me:$LINENO: result: yes" >&5
27182 echo "${ECHO_T}yes" >&6
27183 succeeded=yes
27184
27185 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
27186 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
27187 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
27188 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
27189 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
27190
27191 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
27192 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
27193 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
27194 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
27195 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
27196 else
27197 PANGOFT2_CFLAGS=""
27198 PANGOFT2_LIBS=""
27199 ## If we have a custom action on failure, don't print errors, but
27200 ## do set a variable so people can do so.
27201 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
27202
27203 fi
27204
27205
27206
27207 else
27208 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27209 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27210 fi
27211 fi
27212
27213 if test $succeeded = yes; then
27214
27215 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
27216 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
27217
27218 else
27219
27220 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
27221 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
27222 wxUSE_PRINTING_ARCHITECTURE="no"
27223
27224
27225 fi
27226
27227
27228 succeeded=no
27229
27230 if test -z "$PKG_CONFIG"; then
27231 # Extract the first word of "pkg-config", so it can be a program name with args.
27232 set dummy pkg-config; ac_word=$2
27233 echo "$as_me:$LINENO: checking for $ac_word" >&5
27234 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27235 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27236 echo $ECHO_N "(cached) $ECHO_C" >&6
27237 else
27238 case $PKG_CONFIG in
27239 [\\/]* | ?:[\\/]*)
27240 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27241 ;;
27242 *)
27243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27244 for as_dir in $PATH
27245 do
27246 IFS=$as_save_IFS
27247 test -z "$as_dir" && as_dir=.
27248 for ac_exec_ext in '' $ac_executable_extensions; do
27249 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27250 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27252 break 2
27253 fi
27254 done
27255 done
27256
27257 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27258 ;;
27259 esac
27260 fi
27261 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27262
27263 if test -n "$PKG_CONFIG"; then
27264 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27265 echo "${ECHO_T}$PKG_CONFIG" >&6
27266 else
27267 echo "$as_me:$LINENO: result: no" >&5
27268 echo "${ECHO_T}no" >&6
27269 fi
27270
27271 fi
27272
27273 if test "$PKG_CONFIG" = "no" ; then
27274 echo "*** The pkg-config script could not be found. Make sure it is"
27275 echo "*** in your path, or set the PKG_CONFIG environment variable"
27276 echo "*** to the full path to pkg-config."
27277 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27278 else
27279 PKG_CONFIG_MIN_VERSION=0.9.0
27280 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27281 echo "$as_me:$LINENO: checking for pangoxft" >&5
27282 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
27283
27284 if $PKG_CONFIG --exists "pangoxft" ; then
27285 echo "$as_me:$LINENO: result: yes" >&5
27286 echo "${ECHO_T}yes" >&6
27287 succeeded=yes
27288
27289 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
27290 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
27291 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
27292 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
27293 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
27294
27295 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
27296 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
27297 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
27298 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
27299 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
27300 else
27301 PANGOXFT_CFLAGS=""
27302 PANGOXFT_LIBS=""
27303 ## If we have a custom action on failure, don't print errors, but
27304 ## do set a variable so people can do so.
27305 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
27306
27307 fi
27308
27309
27310
27311 else
27312 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27313 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27314 fi
27315 fi
27316
27317 if test $succeeded = yes; then
27318
27319 cat >>confdefs.h <<\_ACEOF
27320 #define HAVE_PANGO_XFT 1
27321 _ACEOF
27322
27323 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
27324 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
27325
27326 else
27327
27328 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
27329 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
27330
27331
27332 fi
27333
27334 save_CFLAGS="$CFLAGS"
27335 save_LIBS="$LIBS"
27336 CFLAGS="$CFLAGS $PANGOX_CFLAGS"
27337 LIBS="$LIBS $PANGOX_LIBS"
27338
27339 for ac_func in pango_font_family_is_monospace
27340 do
27341 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27342 echo "$as_me:$LINENO: checking for $ac_func" >&5
27343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27344 if eval "test \"\${$as_ac_var+set}\" = set"; then
27345 echo $ECHO_N "(cached) $ECHO_C" >&6
27346 else
27347 cat >conftest.$ac_ext <<_ACEOF
27348 /* confdefs.h. */
27349 _ACEOF
27350 cat confdefs.h >>conftest.$ac_ext
27351 cat >>conftest.$ac_ext <<_ACEOF
27352 /* end confdefs.h. */
27353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27355 #define $ac_func innocuous_$ac_func
27356
27357 /* System header to define __stub macros and hopefully few prototypes,
27358 which can conflict with char $ac_func (); below.
27359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27360 <limits.h> exists even on freestanding compilers. */
27361
27362 #ifdef __STDC__
27363 # include <limits.h>
27364 #else
27365 # include <assert.h>
27366 #endif
27367
27368 #undef $ac_func
27369
27370 /* Override any gcc2 internal prototype to avoid an error. */
27371 #ifdef __cplusplus
27372 extern "C"
27373 {
27374 #endif
27375 /* We use char because int might match the return type of a gcc2
27376 builtin and then its argument prototype would still apply. */
27377 char $ac_func ();
27378 /* The GNU C library defines this for functions which it implements
27379 to always fail with ENOSYS. Some functions are actually named
27380 something starting with __ and the normal name is an alias. */
27381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27382 choke me
27383 #else
27384 char (*f) () = $ac_func;
27385 #endif
27386 #ifdef __cplusplus
27387 }
27388 #endif
27389
27390 int
27391 main ()
27392 {
27393 return f != $ac_func;
27394 ;
27395 return 0;
27396 }
27397 _ACEOF
27398 rm -f conftest.$ac_objext conftest$ac_exeext
27399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27400 (eval $ac_link) 2>conftest.er1
27401 ac_status=$?
27402 grep -v '^ *+' conftest.er1 >conftest.err
27403 rm -f conftest.er1
27404 cat conftest.err >&5
27405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27406 (exit $ac_status); } &&
27407 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27409 (eval $ac_try) 2>&5
27410 ac_status=$?
27411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27412 (exit $ac_status); }; } &&
27413 { ac_try='test -s conftest$ac_exeext'
27414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27415 (eval $ac_try) 2>&5
27416 ac_status=$?
27417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27418 (exit $ac_status); }; }; then
27419 eval "$as_ac_var=yes"
27420 else
27421 echo "$as_me: failed program was:" >&5
27422 sed 's/^/| /' conftest.$ac_ext >&5
27423
27424 eval "$as_ac_var=no"
27425 fi
27426 rm -f conftest.err conftest.$ac_objext \
27427 conftest$ac_exeext conftest.$ac_ext
27428 fi
27429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27430 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27431 if test `eval echo '${'$as_ac_var'}'` = yes; then
27432 cat >>confdefs.h <<_ACEOF
27433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27434 _ACEOF
27435
27436 fi
27437 done
27438
27439 CFLAGS="$save_CFLAGS"
27440 LIBS="$save_LIBS"
27441 fi
27442
27443 wxUSE_UNIVERSAL="yes"
27444
27445 if test "$wxUSE_NANOX" = "yes"; then
27446 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
27447 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"
27448 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
27449 else
27450 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
27451 fi
27452
27453 TOOLKIT=X11
27454 GUIDIST=X11_DIST
27455 fi
27456
27457 if test "$wxUSE_MOTIF" = 1; then
27458 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
27459 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
27460
27461 ac_find_includes=
27462 for ac_dir in $SEARCH_INCLUDE /usr/include;
27463 do
27464 if test -f "$ac_dir/Xm/Xm.h"; then
27465 ac_find_includes=$ac_dir
27466 break
27467 fi
27468 done
27469
27470 if test "$ac_find_includes" != "" ; then
27471 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27472 echo "${ECHO_T}found in $ac_find_includes" >&6
27473
27474 if test "x$ac_find_includes" = "x/usr/include"; then
27475 ac_path_to_include=""
27476 else
27477 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
27478 result=$?
27479 if test $result = 0; then
27480 ac_path_to_include=""
27481 else
27482 ac_path_to_include=" -I$ac_find_includes"
27483 fi
27484 fi
27485
27486 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
27487 else
27488 cat >conftest.$ac_ext <<_ACEOF
27489 /* confdefs.h. */
27490 _ACEOF
27491 cat confdefs.h >>conftest.$ac_ext
27492 cat >>conftest.$ac_ext <<_ACEOF
27493 /* end confdefs.h. */
27494
27495 #include <Xm/Xm.h>
27496
27497 int
27498 main ()
27499 {
27500
27501 int version;
27502 version = xmUseVersion;
27503
27504 ;
27505 return 0;
27506 }
27507 _ACEOF
27508 rm -f conftest.$ac_objext
27509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27510 (eval $ac_compile) 2>conftest.er1
27511 ac_status=$?
27512 grep -v '^ *+' conftest.er1 >conftest.err
27513 rm -f conftest.er1
27514 cat conftest.err >&5
27515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27516 (exit $ac_status); } &&
27517 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27519 (eval $ac_try) 2>&5
27520 ac_status=$?
27521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27522 (exit $ac_status); }; } &&
27523 { ac_try='test -s conftest.$ac_objext'
27524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27525 (eval $ac_try) 2>&5
27526 ac_status=$?
27527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27528 (exit $ac_status); }; }; then
27529
27530 echo "$as_me:$LINENO: result: found in default search path" >&5
27531 echo "${ECHO_T}found in default search path" >&6
27532 COMPILED_X_PROGRAM=1
27533
27534 else
27535 echo "$as_me: failed program was:" >&5
27536 sed 's/^/| /' conftest.$ac_ext >&5
27537
27538
27539 echo "$as_me:$LINENO: result: no" >&5
27540 echo "${ECHO_T}no" >&6
27541 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
27542 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
27543 { (exit 1); exit 1; }; }
27544
27545
27546 fi
27547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27548 fi
27549
27550 if test "$COMPILED_X_PROGRAM" = 0; then
27551 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
27552 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
27553
27554 ac_find_libraries=
27555 for ac_dir in $SEARCH_LIB /usr/lib;
27556 do
27557 for ac_extension in a so sl dylib; do
27558 if test -f "$ac_dir/libXm.$ac_extension"; then
27559 ac_find_libraries=$ac_dir
27560 break 2
27561 fi
27562 done
27563 done
27564
27565 if test "$ac_find_libraries" != "" ; then
27566 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
27567 echo "${ECHO_T}found at $ac_find_libraries" >&6
27568
27569
27570 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
27571 result=$?
27572 if test $result = 0; then
27573 ac_path_to_link=""
27574 else
27575 ac_path_to_link=" -L$ac_find_libraries"
27576 fi
27577
27578 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
27579 else
27580 save_CFLAGS=$CFLAGS
27581 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
27582
27583 cat >conftest.$ac_ext <<_ACEOF
27584 /* confdefs.h. */
27585 _ACEOF
27586 cat confdefs.h >>conftest.$ac_ext
27587 cat >>conftest.$ac_ext <<_ACEOF
27588 /* end confdefs.h. */
27589
27590 #include <Xm/Xm.h>
27591
27592 int
27593 main ()
27594 {
27595
27596 int version;
27597 version = xmUseVersion;
27598
27599 ;
27600 return 0;
27601 }
27602 _ACEOF
27603 rm -f conftest.$ac_objext
27604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27605 (eval $ac_compile) 2>conftest.er1
27606 ac_status=$?
27607 grep -v '^ *+' conftest.er1 >conftest.err
27608 rm -f conftest.er1
27609 cat conftest.err >&5
27610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27611 (exit $ac_status); } &&
27612 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27614 (eval $ac_try) 2>&5
27615 ac_status=$?
27616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27617 (exit $ac_status); }; } &&
27618 { ac_try='test -s conftest.$ac_objext'
27619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27620 (eval $ac_try) 2>&5
27621 ac_status=$?
27622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27623 (exit $ac_status); }; }; then
27624
27625 echo "$as_me:$LINENO: result: found in default search path" >&5
27626 echo "${ECHO_T}found in default search path" >&6
27627 COMPILED_X_PROGRAM=1
27628
27629 else
27630 echo "$as_me: failed program was:" >&5
27631 sed 's/^/| /' conftest.$ac_ext >&5
27632
27633
27634 echo "$as_me:$LINENO: result: no" >&5
27635 echo "${ECHO_T}no" >&6
27636 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
27637 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
27638 { (exit 1); exit 1; }; }
27639
27640
27641 fi
27642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27643
27644 CFLAGS=$save_CFLAGS
27645 fi
27646 fi
27647
27648 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
27649 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
27650 libp_link=""
27651 libsm_ice_link=""
27652 libs_found=0
27653 for libp in "" " -lXp"; do
27654 if test "$libs_found" = "0"; then
27655 for libsm_ice in "" " -lSM -lICE"; do
27656 if test "$libs_found" = "0"; then
27657 save_LIBS="$LIBS"
27658 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
27659 save_CFLAGS=$CFLAGS
27660 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
27661
27662 cat >conftest.$ac_ext <<_ACEOF
27663 /* confdefs.h. */
27664 _ACEOF
27665 cat confdefs.h >>conftest.$ac_ext
27666 cat >>conftest.$ac_ext <<_ACEOF
27667 /* end confdefs.h. */
27668
27669 #include <Xm/Xm.h>
27670 #include <Xm/List.h>
27671
27672 int
27673 main ()
27674 {
27675
27676 XmString string = NULL;
27677 Widget w = NULL;
27678 int position = 0;
27679 XmListAddItem(w, string, position);
27680
27681 ;
27682 return 0;
27683 }
27684 _ACEOF
27685 rm -f conftest.$ac_objext conftest$ac_exeext
27686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27687 (eval $ac_link) 2>conftest.er1
27688 ac_status=$?
27689 grep -v '^ *+' conftest.er1 >conftest.err
27690 rm -f conftest.er1
27691 cat conftest.err >&5
27692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27693 (exit $ac_status); } &&
27694 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27696 (eval $ac_try) 2>&5
27697 ac_status=$?
27698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27699 (exit $ac_status); }; } &&
27700 { ac_try='test -s conftest$ac_exeext'
27701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27702 (eval $ac_try) 2>&5
27703 ac_status=$?
27704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27705 (exit $ac_status); }; }; then
27706
27707 libp_link="$libp"
27708 libsm_ice_link="$libsm_ice"
27709 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
27710 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
27711 libs_found=1
27712
27713 else
27714 echo "$as_me: failed program was:" >&5
27715 sed 's/^/| /' conftest.$ac_ext >&5
27716
27717
27718
27719 fi
27720 rm -f conftest.err conftest.$ac_objext \
27721 conftest$ac_exeext conftest.$ac_ext
27722
27723 LIBS="$save_LIBS"
27724 CFLAGS=$save_CFLAGS
27725 fi
27726 done
27727 fi
27728 done
27729
27730 if test "$libs_found" = "0"; then
27731 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
27732 echo "${ECHO_T}can't find the right libraries" >&6
27733 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
27734 echo "$as_me: error: can't link a simple motif program" >&2;}
27735 { (exit 1); exit 1; }; }
27736 fi
27737
27738 save_CFLAGS=$CFLAGS
27739 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
27740 echo "$as_me:$LINENO: checking for Motif 2" >&5
27741 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
27742 cat >conftest.$ac_ext <<_ACEOF
27743 /* confdefs.h. */
27744 _ACEOF
27745 cat confdefs.h >>conftest.$ac_ext
27746 cat >>conftest.$ac_ext <<_ACEOF
27747 /* end confdefs.h. */
27748
27749 #include <Xm/Xm.h>
27750
27751 int
27752 main ()
27753 {
27754
27755 #if XmVersion < 2000
27756 #error "Not Motif 2"
27757 #endif
27758
27759 ;
27760 return 0;
27761 }
27762 _ACEOF
27763 rm -f conftest.$ac_objext
27764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27765 (eval $ac_compile) 2>conftest.er1
27766 ac_status=$?
27767 grep -v '^ *+' conftest.er1 >conftest.err
27768 rm -f conftest.er1
27769 cat conftest.err >&5
27770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27771 (exit $ac_status); } &&
27772 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27774 (eval $ac_try) 2>&5
27775 ac_status=$?
27776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27777 (exit $ac_status); }; } &&
27778 { ac_try='test -s conftest.$ac_objext'
27779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27780 (eval $ac_try) 2>&5
27781 ac_status=$?
27782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27783 (exit $ac_status); }; }; then
27784
27785 cat >>confdefs.h <<\_ACEOF
27786 #define __WXMOTIF20__ 1
27787 _ACEOF
27788
27789 echo "$as_me:$LINENO: result: found" >&5
27790 echo "${ECHO_T}found" >&6
27791
27792 else
27793 echo "$as_me: failed program was:" >&5
27794 sed 's/^/| /' conftest.$ac_ext >&5
27795
27796
27797 cat >>confdefs.h <<\_ACEOF
27798 #define __WXMOTIF20__ 0
27799 _ACEOF
27800
27801 echo "$as_me:$LINENO: result: not found" >&5
27802 echo "${ECHO_T}not found" >&6
27803
27804 fi
27805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27806 CFLAGS=$save_CFLAGS
27807
27808 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
27809 TOOLKIT=MOTIF
27810 GUIDIST=MOTIF_DIST
27811 fi
27812
27813 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
27814 if test "$wxUSE_LIBXPM" = "sys"; then
27815 echo "$as_me:$LINENO: checking for Xpm library" >&5
27816 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
27817
27818 ac_find_libraries=
27819 for ac_dir in $SEARCH_LIB /usr/lib;
27820 do
27821 for ac_extension in a so sl dylib; do
27822 if test -f "$ac_dir/libXpm.$ac_extension"; then
27823 ac_find_libraries=$ac_dir
27824 break 2
27825 fi
27826 done
27827 done
27828
27829 if test "$ac_find_libraries" != "" ; then
27830
27831 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
27832 result=$?
27833 if test $result = 0; then
27834 ac_path_to_link=""
27835 else
27836 ac_path_to_link=" -L$ac_find_libraries"
27837 fi
27838
27839 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
27840 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
27841 echo "${ECHO_T}found at $ac_find_libraries" >&6
27842
27843 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
27844 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
27845 if test "${wx_cv_x11_xpm_h+set}" = set; then
27846 echo $ECHO_N "(cached) $ECHO_C" >&6
27847 else
27848
27849 save_CFLAGS=$CFLAGS
27850 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
27851
27852 cat >conftest.$ac_ext <<_ACEOF
27853 /* confdefs.h. */
27854 _ACEOF
27855 cat confdefs.h >>conftest.$ac_ext
27856 cat >>conftest.$ac_ext <<_ACEOF
27857 /* end confdefs.h. */
27858
27859 #include <X11/xpm.h>
27860
27861 int
27862 main ()
27863 {
27864
27865 int version;
27866 version = XpmLibraryVersion();
27867
27868 ;
27869 return 0;
27870 }
27871 _ACEOF
27872 rm -f conftest.$ac_objext
27873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27874 (eval $ac_compile) 2>conftest.er1
27875 ac_status=$?
27876 grep -v '^ *+' conftest.er1 >conftest.err
27877 rm -f conftest.er1
27878 cat conftest.err >&5
27879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27880 (exit $ac_status); } &&
27881 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27883 (eval $ac_try) 2>&5
27884 ac_status=$?
27885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27886 (exit $ac_status); }; } &&
27887 { ac_try='test -s conftest.$ac_objext'
27888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27889 (eval $ac_try) 2>&5
27890 ac_status=$?
27891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27892 (exit $ac_status); }; }; then
27893 wx_cv_x11_xpm_h=yes
27894 else
27895 echo "$as_me: failed program was:" >&5
27896 sed 's/^/| /' conftest.$ac_ext >&5
27897
27898 wx_cv_x11_xpm_h=no
27899
27900 fi
27901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27902
27903 CFLAGS=$save_CFLAGS
27904
27905
27906 fi
27907 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
27908 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
27909
27910 if test $wx_cv_x11_xpm_h = "yes"; then
27911 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
27912 cat >>confdefs.h <<\_ACEOF
27913 #define wxHAVE_LIB_XPM 1
27914 _ACEOF
27915
27916 else
27917 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
27918 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
27919 fi
27920 fi
27921
27922 fi
27923
27924 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
27925 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
27926 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
27927 echo $ECHO_N "(cached) $ECHO_C" >&6
27928 else
27929 ac_check_lib_save_LIBS=$LIBS
27930 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
27931 cat >conftest.$ac_ext <<_ACEOF
27932 /* confdefs.h. */
27933 _ACEOF
27934 cat confdefs.h >>conftest.$ac_ext
27935 cat >>conftest.$ac_ext <<_ACEOF
27936 /* end confdefs.h. */
27937
27938 /* Override any gcc2 internal prototype to avoid an error. */
27939 #ifdef __cplusplus
27940 extern "C"
27941 #endif
27942 /* We use char because int might match the return type of a gcc2
27943 builtin and then its argument prototype would still apply. */
27944 char XShapeQueryExtension ();
27945 int
27946 main ()
27947 {
27948 XShapeQueryExtension ();
27949 ;
27950 return 0;
27951 }
27952 _ACEOF
27953 rm -f conftest.$ac_objext conftest$ac_exeext
27954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27955 (eval $ac_link) 2>conftest.er1
27956 ac_status=$?
27957 grep -v '^ *+' conftest.er1 >conftest.err
27958 rm -f conftest.er1
27959 cat conftest.err >&5
27960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27961 (exit $ac_status); } &&
27962 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27964 (eval $ac_try) 2>&5
27965 ac_status=$?
27966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27967 (exit $ac_status); }; } &&
27968 { ac_try='test -s conftest$ac_exeext'
27969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27970 (eval $ac_try) 2>&5
27971 ac_status=$?
27972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27973 (exit $ac_status); }; }; then
27974 ac_cv_lib_Xext_XShapeQueryExtension=yes
27975 else
27976 echo "$as_me: failed program was:" >&5
27977 sed 's/^/| /' conftest.$ac_ext >&5
27978
27979 ac_cv_lib_Xext_XShapeQueryExtension=no
27980 fi
27981 rm -f conftest.err conftest.$ac_objext \
27982 conftest$ac_exeext conftest.$ac_ext
27983 LIBS=$ac_check_lib_save_LIBS
27984 fi
27985 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
27986 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
27987 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
27988
27989 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
27990 wxHAVE_XEXT_LIB=1
27991
27992 fi
27993
27994
27995 if test "$wxHAVE_XEXT_LIB" = 1; then
27996 save_CFLAGS="$CFLAGS"
27997 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
27998
27999 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
28000 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
28001 cat >conftest.$ac_ext <<_ACEOF
28002 /* confdefs.h. */
28003 _ACEOF
28004 cat confdefs.h >>conftest.$ac_ext
28005 cat >>conftest.$ac_ext <<_ACEOF
28006 /* end confdefs.h. */
28007
28008 #include <X11/Xlib.h>
28009 #include <X11/extensions/shape.h>
28010
28011 int
28012 main ()
28013 {
28014
28015 int dummy1, dummy2;
28016 XShapeQueryExtension((Display*)NULL,
28017 (int*)NULL, (int*)NULL);
28018
28019 ;
28020 return 0;
28021 }
28022 _ACEOF
28023 rm -f conftest.$ac_objext
28024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28025 (eval $ac_compile) 2>conftest.er1
28026 ac_status=$?
28027 grep -v '^ *+' conftest.er1 >conftest.err
28028 rm -f conftest.er1
28029 cat conftest.err >&5
28030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28031 (exit $ac_status); } &&
28032 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28034 (eval $ac_try) 2>&5
28035 ac_status=$?
28036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28037 (exit $ac_status); }; } &&
28038 { ac_try='test -s conftest.$ac_objext'
28039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28040 (eval $ac_try) 2>&5
28041 ac_status=$?
28042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28043 (exit $ac_status); }; }; then
28044
28045 cat >>confdefs.h <<\_ACEOF
28046 #define HAVE_XSHAPE 1
28047 _ACEOF
28048
28049 echo "$as_me:$LINENO: result: found" >&5
28050 echo "${ECHO_T}found" >&6
28051
28052 else
28053 echo "$as_me: failed program was:" >&5
28054 sed 's/^/| /' conftest.$ac_ext >&5
28055
28056
28057 echo "$as_me:$LINENO: result: not found" >&5
28058 echo "${ECHO_T}not found" >&6
28059
28060 fi
28061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28062 CFLAGS="$save_CFLAGS"
28063
28064 fi
28065 fi
28066
28067 if test "$wxUSE_MAC" = 1; then
28068 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
28069 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
28070 if test "$GCC" = yes; then
28071 echo "$as_me:$LINENO: result: gcc" >&5
28072 echo "${ECHO_T}gcc" >&6
28073 CPPFLAGS_PASCAL="-fpascal-strings"
28074 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
28075 echo "$as_me:$LINENO: result: xlc" >&5
28076 echo "${ECHO_T}xlc" >&6
28077 CPPFLAGS_PASCAL="-qmacpstr"
28078 else
28079 echo "$as_me:$LINENO: result: none" >&5
28080 echo "${ECHO_T}none" >&6
28081 fi
28082
28083 if test "x$wxUSE_UNIX" = "xyes"; then
28084 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
28085 else
28086 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
28087 fi
28088
28089 TOOLKIT=MAC
28090 GUIDIST=MACX_DIST
28091 WXBASEPORT="_carbon"
28092 fi
28093
28094 if test "$wxUSE_COCOA" = 1; then
28095 TOOLKIT=COCOA
28096 GUIDIST=COCOA_DIST
28097 fi
28098
28099 if test "$wxUSE_PM" = 1; then
28100 TOOLKIT=PM
28101 GUIDIST=PM_DIST
28102 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
28103 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
28104 if test "${wx_cv_spbcdata+set}" = set; then
28105 echo $ECHO_N "(cached) $ECHO_C" >&6
28106 else
28107
28108 cat >conftest.$ac_ext <<_ACEOF
28109 /* confdefs.h. */
28110 _ACEOF
28111 cat confdefs.h >>conftest.$ac_ext
28112 cat >>conftest.$ac_ext <<_ACEOF
28113 /* end confdefs.h. */
28114
28115 #define INCL_PM
28116 #include <os2.h>
28117
28118 int
28119 main ()
28120 {
28121
28122 SPBCDATA test;
28123
28124 ;
28125 return 0;
28126 }
28127 _ACEOF
28128 rm -f conftest.$ac_objext
28129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28130 (eval $ac_compile) 2>conftest.er1
28131 ac_status=$?
28132 grep -v '^ *+' conftest.er1 >conftest.err
28133 rm -f conftest.er1
28134 cat conftest.err >&5
28135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28136 (exit $ac_status); } &&
28137 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28139 (eval $ac_try) 2>&5
28140 ac_status=$?
28141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28142 (exit $ac_status); }; } &&
28143 { ac_try='test -s conftest.$ac_objext'
28144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28145 (eval $ac_try) 2>&5
28146 ac_status=$?
28147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28148 (exit $ac_status); }; }; then
28149 wx_cv_spbcdata=yes
28150 else
28151 echo "$as_me: failed program was:" >&5
28152 sed 's/^/| /' conftest.$ac_ext >&5
28153
28154 wx_cv_spbcdata=no
28155
28156 fi
28157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28158
28159
28160 fi
28161 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
28162 echo "${ECHO_T}$wx_cv_spbcdata" >&6
28163
28164 if test $wx_cv_spbcdata = "yes"; then
28165 cat >>confdefs.h <<\_ACEOF
28166 #define HAVE_SPBCDATA 1
28167 _ACEOF
28168
28169 fi
28170 fi
28171
28172 if test "$TOOLKIT" = "PM" ; then
28173 TOOLKIT_DIR="os2"
28174 else
28175 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
28176 fi
28177
28178 if test "$wxUSE_UNIVERSAL" = "yes"; then
28179 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
28180 WIDGET_SET=univ
28181 fi
28182
28183 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
28184 DISTDIR="wx\$(TOOLKIT)"
28185 else
28186 USE_GUI=0
28187
28188 TOOLKIT_DIR="base"
28189
28190 if test "$USE_WIN32" = 1 ; then
28191 TOOLKIT="MSW"
28192 fi
28193
28194 GUIDIST="BASE_DIST"
28195 DISTDIR="wxBase"
28196 fi
28197
28198
28199
28200
28201 IODBC_C_SRC=""
28202
28203
28204 if test "$TOOLKIT" != "MSW" ; then
28205
28206 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
28207
28208 if test "${ac_cv_header_sql_h+set}" = set; then
28209 echo "$as_me:$LINENO: checking for sql.h" >&5
28210 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28211 if test "${ac_cv_header_sql_h+set}" = set; then
28212 echo $ECHO_N "(cached) $ECHO_C" >&6
28213 fi
28214 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28215 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28216 else
28217 # Is the header compilable?
28218 echo "$as_me:$LINENO: checking sql.h usability" >&5
28219 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
28220 cat >conftest.$ac_ext <<_ACEOF
28221 /* confdefs.h. */
28222 _ACEOF
28223 cat confdefs.h >>conftest.$ac_ext
28224 cat >>conftest.$ac_ext <<_ACEOF
28225 /* end confdefs.h. */
28226 $ac_includes_default
28227 #include <sql.h>
28228 _ACEOF
28229 rm -f conftest.$ac_objext
28230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28231 (eval $ac_compile) 2>conftest.er1
28232 ac_status=$?
28233 grep -v '^ *+' conftest.er1 >conftest.err
28234 rm -f conftest.er1
28235 cat conftest.err >&5
28236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28237 (exit $ac_status); } &&
28238 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28240 (eval $ac_try) 2>&5
28241 ac_status=$?
28242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28243 (exit $ac_status); }; } &&
28244 { ac_try='test -s conftest.$ac_objext'
28245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28246 (eval $ac_try) 2>&5
28247 ac_status=$?
28248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28249 (exit $ac_status); }; }; then
28250 ac_header_compiler=yes
28251 else
28252 echo "$as_me: failed program was:" >&5
28253 sed 's/^/| /' conftest.$ac_ext >&5
28254
28255 ac_header_compiler=no
28256 fi
28257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28258 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28259 echo "${ECHO_T}$ac_header_compiler" >&6
28260
28261 # Is the header present?
28262 echo "$as_me:$LINENO: checking sql.h presence" >&5
28263 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
28264 cat >conftest.$ac_ext <<_ACEOF
28265 /* confdefs.h. */
28266 _ACEOF
28267 cat confdefs.h >>conftest.$ac_ext
28268 cat >>conftest.$ac_ext <<_ACEOF
28269 /* end confdefs.h. */
28270 #include <sql.h>
28271 _ACEOF
28272 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28273 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28274 ac_status=$?
28275 grep -v '^ *+' conftest.er1 >conftest.err
28276 rm -f conftest.er1
28277 cat conftest.err >&5
28278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28279 (exit $ac_status); } >/dev/null; then
28280 if test -s conftest.err; then
28281 ac_cpp_err=$ac_c_preproc_warn_flag
28282 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28283 else
28284 ac_cpp_err=
28285 fi
28286 else
28287 ac_cpp_err=yes
28288 fi
28289 if test -z "$ac_cpp_err"; then
28290 ac_header_preproc=yes
28291 else
28292 echo "$as_me: failed program was:" >&5
28293 sed 's/^/| /' conftest.$ac_ext >&5
28294
28295 ac_header_preproc=no
28296 fi
28297 rm -f conftest.err conftest.$ac_ext
28298 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28299 echo "${ECHO_T}$ac_header_preproc" >&6
28300
28301 # So? What about this header?
28302 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28303 yes:no: )
28304 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
28305 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28306 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
28307 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
28308 ac_header_preproc=yes
28309 ;;
28310 no:yes:* )
28311 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
28312 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
28313 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
28314 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
28315 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
28316 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
28317 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
28318 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
28319 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
28320 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
28321 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
28322 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
28323 (
28324 cat <<\_ASBOX
28325 ## ----------------------------------------- ##
28326 ## Report this to wx-dev@lists.wxwidgets.org ##
28327 ## ----------------------------------------- ##
28328 _ASBOX
28329 ) |
28330 sed "s/^/$as_me: WARNING: /" >&2
28331 ;;
28332 esac
28333 echo "$as_me:$LINENO: checking for sql.h" >&5
28334 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28335 if test "${ac_cv_header_sql_h+set}" = set; then
28336 echo $ECHO_N "(cached) $ECHO_C" >&6
28337 else
28338 ac_cv_header_sql_h=$ac_header_preproc
28339 fi
28340 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28341 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28342
28343 fi
28344 if test $ac_cv_header_sql_h = yes; then
28345 found_sql_h=1
28346 fi
28347
28348
28349 if test "x$found_sql_h" = "x1" ; then
28350 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
28351 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
28352 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
28353 echo $ECHO_N "(cached) $ECHO_C" >&6
28354 else
28355 ac_check_lib_save_LIBS=$LIBS
28356 LIBS="-liodbc $LIBS"
28357 cat >conftest.$ac_ext <<_ACEOF
28358 /* confdefs.h. */
28359 _ACEOF
28360 cat confdefs.h >>conftest.$ac_ext
28361 cat >>conftest.$ac_ext <<_ACEOF
28362 /* end confdefs.h. */
28363
28364 /* Override any gcc2 internal prototype to avoid an error. */
28365 #ifdef __cplusplus
28366 extern "C"
28367 #endif
28368 /* We use char because int might match the return type of a gcc2
28369 builtin and then its argument prototype would still apply. */
28370 char SQLAllocEnv ();
28371 int
28372 main ()
28373 {
28374 SQLAllocEnv ();
28375 ;
28376 return 0;
28377 }
28378 _ACEOF
28379 rm -f conftest.$ac_objext conftest$ac_exeext
28380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28381 (eval $ac_link) 2>conftest.er1
28382 ac_status=$?
28383 grep -v '^ *+' conftest.er1 >conftest.err
28384 rm -f conftest.er1
28385 cat conftest.err >&5
28386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28387 (exit $ac_status); } &&
28388 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28390 (eval $ac_try) 2>&5
28391 ac_status=$?
28392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28393 (exit $ac_status); }; } &&
28394 { ac_try='test -s conftest$ac_exeext'
28395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28396 (eval $ac_try) 2>&5
28397 ac_status=$?
28398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28399 (exit $ac_status); }; }; then
28400 ac_cv_lib_iodbc_SQLAllocEnv=yes
28401 else
28402 echo "$as_me: failed program was:" >&5
28403 sed 's/^/| /' conftest.$ac_ext >&5
28404
28405 ac_cv_lib_iodbc_SQLAllocEnv=no
28406 fi
28407 rm -f conftest.err conftest.$ac_objext \
28408 conftest$ac_exeext conftest.$ac_ext
28409 LIBS=$ac_check_lib_save_LIBS
28410 fi
28411 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
28412 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
28413 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
28414 ODBC_LINK=" -liodbc"
28415 else
28416
28417 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
28418 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
28419 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
28420 echo $ECHO_N "(cached) $ECHO_C" >&6
28421 else
28422 ac_check_lib_save_LIBS=$LIBS
28423 LIBS="-lunixodbc $LIBS"
28424 cat >conftest.$ac_ext <<_ACEOF
28425 /* confdefs.h. */
28426 _ACEOF
28427 cat confdefs.h >>conftest.$ac_ext
28428 cat >>conftest.$ac_ext <<_ACEOF
28429 /* end confdefs.h. */
28430
28431 /* Override any gcc2 internal prototype to avoid an error. */
28432 #ifdef __cplusplus
28433 extern "C"
28434 #endif
28435 /* We use char because int might match the return type of a gcc2
28436 builtin and then its argument prototype would still apply. */
28437 char SQLAllocEnv ();
28438 int
28439 main ()
28440 {
28441 SQLAllocEnv ();
28442 ;
28443 return 0;
28444 }
28445 _ACEOF
28446 rm -f conftest.$ac_objext conftest$ac_exeext
28447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28448 (eval $ac_link) 2>conftest.er1
28449 ac_status=$?
28450 grep -v '^ *+' conftest.er1 >conftest.err
28451 rm -f conftest.er1
28452 cat conftest.err >&5
28453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28454 (exit $ac_status); } &&
28455 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28457 (eval $ac_try) 2>&5
28458 ac_status=$?
28459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28460 (exit $ac_status); }; } &&
28461 { ac_try='test -s conftest$ac_exeext'
28462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28463 (eval $ac_try) 2>&5
28464 ac_status=$?
28465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28466 (exit $ac_status); }; }; then
28467 ac_cv_lib_unixodbc_SQLAllocEnv=yes
28468 else
28469 echo "$as_me: failed program was:" >&5
28470 sed 's/^/| /' conftest.$ac_ext >&5
28471
28472 ac_cv_lib_unixodbc_SQLAllocEnv=no
28473 fi
28474 rm -f conftest.err conftest.$ac_objext \
28475 conftest$ac_exeext conftest.$ac_ext
28476 LIBS=$ac_check_lib_save_LIBS
28477 fi
28478 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
28479 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
28480 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
28481 ODBC_LINK=" -lunixodbc"
28482 else
28483
28484 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
28485 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
28486 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
28487 echo $ECHO_N "(cached) $ECHO_C" >&6
28488 else
28489 ac_check_lib_save_LIBS=$LIBS
28490 LIBS="-lodbc $LIBS"
28491 cat >conftest.$ac_ext <<_ACEOF
28492 /* confdefs.h. */
28493 _ACEOF
28494 cat confdefs.h >>conftest.$ac_ext
28495 cat >>conftest.$ac_ext <<_ACEOF
28496 /* end confdefs.h. */
28497
28498 /* Override any gcc2 internal prototype to avoid an error. */
28499 #ifdef __cplusplus
28500 extern "C"
28501 #endif
28502 /* We use char because int might match the return type of a gcc2
28503 builtin and then its argument prototype would still apply. */
28504 char SQLAllocEnv ();
28505 int
28506 main ()
28507 {
28508 SQLAllocEnv ();
28509 ;
28510 return 0;
28511 }
28512 _ACEOF
28513 rm -f conftest.$ac_objext conftest$ac_exeext
28514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28515 (eval $ac_link) 2>conftest.er1
28516 ac_status=$?
28517 grep -v '^ *+' conftest.er1 >conftest.err
28518 rm -f conftest.er1
28519 cat conftest.err >&5
28520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28521 (exit $ac_status); } &&
28522 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28524 (eval $ac_try) 2>&5
28525 ac_status=$?
28526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28527 (exit $ac_status); }; } &&
28528 { ac_try='test -s conftest$ac_exeext'
28529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28530 (eval $ac_try) 2>&5
28531 ac_status=$?
28532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28533 (exit $ac_status); }; }; then
28534 ac_cv_lib_odbc_SQLAllocEnv=yes
28535 else
28536 echo "$as_me: failed program was:" >&5
28537 sed 's/^/| /' conftest.$ac_ext >&5
28538
28539 ac_cv_lib_odbc_SQLAllocEnv=no
28540 fi
28541 rm -f conftest.err conftest.$ac_objext \
28542 conftest$ac_exeext conftest.$ac_ext
28543 LIBS=$ac_check_lib_save_LIBS
28544 fi
28545 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
28546 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
28547 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
28548 ODBC_LINK=" -lodbc"
28549 fi
28550
28551
28552 fi
28553
28554
28555 fi
28556
28557 fi
28558 if test "x$ODBC_LINK" = "x" ; then
28559 if test "$wxUSE_ODBC" = "sys" ; then
28560 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
28561 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
28562 { (exit 1); exit 1; }; }
28563 else
28564 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
28565 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
28566 wxUSE_ODBC=builtin
28567 fi
28568 else
28569 wxUSE_ODBC=sys
28570 fi
28571 fi
28572
28573 if test "$wxUSE_ODBC" = "builtin" ; then
28574 cat >>confdefs.h <<\_ACEOF
28575 #define wxUSE_BUILTIN_IODBC 1
28576 _ACEOF
28577
28578 fi
28579 fi
28580
28581 if test "$wxUSE_ODBC" != "no" ; then
28582 cat >>confdefs.h <<\_ACEOF
28583 #define wxUSE_ODBC 1
28584 _ACEOF
28585
28586 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
28587
28588 WXODBCFLAG="-D_IODBC_"
28589 fi
28590
28591
28592 if test "$wxUSE_DISPLAY" = "yes"; then
28593 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
28594 echo "$as_me:$LINENO: checking for Xinerama" >&5
28595 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
28596
28597 ac_find_libraries=
28598 for ac_dir in $SEARCH_LIB /usr/lib;
28599 do
28600 for ac_extension in a so sl dylib; do
28601 if test -f "$ac_dir/libXinerama.$ac_extension"; then
28602 ac_find_libraries=$ac_dir
28603 break 2
28604 fi
28605 done
28606 done
28607
28608 if test "$ac_find_libraries" != "" ; then
28609
28610 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28611 result=$?
28612 if test $result = 0; then
28613 ac_path_to_link=""
28614 else
28615 ac_path_to_link=" -L$ac_find_libraries"
28616 fi
28617
28618 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28619 LDFLAGS="$LDFLAGS $ac_path_to_link"
28620 fi
28621 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
28622 echo "$as_me:$LINENO: result: yes" >&5
28623 echo "${ECHO_T}yes" >&6
28624
28625 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
28626 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
28627
28628 ac_find_libraries=
28629 for ac_dir in $SEARCH_LIB /usr/lib;
28630 do
28631 for ac_extension in a so sl dylib; do
28632 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
28633 ac_find_libraries=$ac_dir
28634 break 2
28635 fi
28636 done
28637 done
28638
28639 if test "$ac_find_libraries" != "" ; then
28640 echo "$as_me:$LINENO: result: yes" >&5
28641 echo "${ECHO_T}yes" >&6
28642
28643 for ac_header in X11/extensions/xf86vmode.h
28644 do
28645 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28646 echo "$as_me:$LINENO: checking for $ac_header" >&5
28647 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28648 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28649 echo $ECHO_N "(cached) $ECHO_C" >&6
28650 else
28651 cat >conftest.$ac_ext <<_ACEOF
28652 /* confdefs.h. */
28653 _ACEOF
28654 cat confdefs.h >>conftest.$ac_ext
28655 cat >>conftest.$ac_ext <<_ACEOF
28656 /* end confdefs.h. */
28657
28658 #if HAVE_X11_XLIB_H
28659 #include <X11/Xlib.h>
28660 #endif
28661
28662
28663 #include <$ac_header>
28664 _ACEOF
28665 rm -f conftest.$ac_objext
28666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28667 (eval $ac_compile) 2>conftest.er1
28668 ac_status=$?
28669 grep -v '^ *+' conftest.er1 >conftest.err
28670 rm -f conftest.er1
28671 cat conftest.err >&5
28672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28673 (exit $ac_status); } &&
28674 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28676 (eval $ac_try) 2>&5
28677 ac_status=$?
28678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28679 (exit $ac_status); }; } &&
28680 { ac_try='test -s conftest.$ac_objext'
28681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28682 (eval $ac_try) 2>&5
28683 ac_status=$?
28684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28685 (exit $ac_status); }; }; then
28686 eval "$as_ac_Header=yes"
28687 else
28688 echo "$as_me: failed program was:" >&5
28689 sed 's/^/| /' conftest.$ac_ext >&5
28690
28691 eval "$as_ac_Header=no"
28692 fi
28693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28694 fi
28695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28696 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28697 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28698 cat >>confdefs.h <<_ACEOF
28699 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28700 _ACEOF
28701
28702 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
28703
28704 fi
28705
28706 done
28707
28708 else
28709 echo "$as_me:$LINENO: result: no" >&5
28710 echo "${ECHO_T}no" >&6
28711 fi
28712
28713 else
28714 echo "$as_me:$LINENO: result: no" >&5
28715 echo "${ECHO_T}no" >&6
28716 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
28717 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
28718 wxUSE_DISPLAY="no"
28719 fi
28720 elif test "$wxUSE_MSW" = 1; then
28721
28722
28723 for ac_header in multimon.h ddraw.h
28724 do
28725 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28726 echo "$as_me:$LINENO: checking for $ac_header" >&5
28727 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28728 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28729 echo $ECHO_N "(cached) $ECHO_C" >&6
28730 else
28731 cat >conftest.$ac_ext <<_ACEOF
28732 /* confdefs.h. */
28733 _ACEOF
28734 cat confdefs.h >>conftest.$ac_ext
28735 cat >>conftest.$ac_ext <<_ACEOF
28736 /* end confdefs.h. */
28737 #include <windows.h>
28738
28739 #include <$ac_header>
28740 _ACEOF
28741 rm -f conftest.$ac_objext
28742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28743 (eval $ac_compile) 2>conftest.er1
28744 ac_status=$?
28745 grep -v '^ *+' conftest.er1 >conftest.err
28746 rm -f conftest.er1
28747 cat conftest.err >&5
28748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28749 (exit $ac_status); } &&
28750 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28752 (eval $ac_try) 2>&5
28753 ac_status=$?
28754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28755 (exit $ac_status); }; } &&
28756 { ac_try='test -s conftest.$ac_objext'
28757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28758 (eval $ac_try) 2>&5
28759 ac_status=$?
28760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28761 (exit $ac_status); }; }; then
28762 eval "$as_ac_Header=yes"
28763 else
28764 echo "$as_me: failed program was:" >&5
28765 sed 's/^/| /' conftest.$ac_ext >&5
28766
28767 eval "$as_ac_Header=no"
28768 fi
28769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28770 fi
28771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28772 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28773 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28774 cat >>confdefs.h <<_ACEOF
28775 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28776 _ACEOF
28777
28778 else
28779
28780 wxUSE_DISPLAY="no"
28781 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
28782 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
28783
28784 fi
28785
28786 done
28787
28788 fi
28789 fi
28790
28791
28792 USE_OPENGL=0
28793 if test "$wxUSE_OPENGL" = "yes"; then
28794 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
28795 OPENGL_LIBS="-framework OpenGL -framework AGL"
28796 elif test "$wxUSE_MSW" = 1; then
28797 OPENGL_LIBS="-lopengl32 -lglu32"
28798 else
28799
28800
28801 ac_find_includes=
28802 for ac_dir in $SEARCH_INCLUDE /usr/include;
28803 do
28804 if test -f "$ac_dir/GL/gl.h"; then
28805 ac_find_includes=$ac_dir
28806 break
28807 fi
28808 done
28809
28810 if test "$ac_find_includes" != "" ; then
28811 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
28812 echo "${ECHO_T}found in $ac_find_includes" >&6
28813
28814 if test "x$ac_find_includes" = "x/usr/include"; then
28815 ac_path_to_include=""
28816 else
28817 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
28818 result=$?
28819 if test $result = 0; then
28820 ac_path_to_include=""
28821 else
28822 ac_path_to_include=" -I$ac_find_includes"
28823 fi
28824 fi
28825
28826 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
28827 fi
28828
28829 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28830 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
28831 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
28832 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28833 echo $ECHO_N "(cached) $ECHO_C" >&6
28834 fi
28835 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
28836 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
28837 else
28838 # Is the header compilable?
28839 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
28840 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
28841 cat >conftest.$ac_ext <<_ACEOF
28842 /* confdefs.h. */
28843 _ACEOF
28844 cat confdefs.h >>conftest.$ac_ext
28845 cat >>conftest.$ac_ext <<_ACEOF
28846 /* end confdefs.h. */
28847 $ac_includes_default
28848 #include <GL/gl.h>
28849 _ACEOF
28850 rm -f conftest.$ac_objext
28851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28852 (eval $ac_compile) 2>conftest.er1
28853 ac_status=$?
28854 grep -v '^ *+' conftest.er1 >conftest.err
28855 rm -f conftest.er1
28856 cat conftest.err >&5
28857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28858 (exit $ac_status); } &&
28859 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28861 (eval $ac_try) 2>&5
28862 ac_status=$?
28863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28864 (exit $ac_status); }; } &&
28865 { ac_try='test -s conftest.$ac_objext'
28866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28867 (eval $ac_try) 2>&5
28868 ac_status=$?
28869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28870 (exit $ac_status); }; }; then
28871 ac_header_compiler=yes
28872 else
28873 echo "$as_me: failed program was:" >&5
28874 sed 's/^/| /' conftest.$ac_ext >&5
28875
28876 ac_header_compiler=no
28877 fi
28878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28879 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28880 echo "${ECHO_T}$ac_header_compiler" >&6
28881
28882 # Is the header present?
28883 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
28884 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
28885 cat >conftest.$ac_ext <<_ACEOF
28886 /* confdefs.h. */
28887 _ACEOF
28888 cat confdefs.h >>conftest.$ac_ext
28889 cat >>conftest.$ac_ext <<_ACEOF
28890 /* end confdefs.h. */
28891 #include <GL/gl.h>
28892 _ACEOF
28893 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28894 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28895 ac_status=$?
28896 grep -v '^ *+' conftest.er1 >conftest.err
28897 rm -f conftest.er1
28898 cat conftest.err >&5
28899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28900 (exit $ac_status); } >/dev/null; then
28901 if test -s conftest.err; then
28902 ac_cpp_err=$ac_c_preproc_warn_flag
28903 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28904 else
28905 ac_cpp_err=
28906 fi
28907 else
28908 ac_cpp_err=yes
28909 fi
28910 if test -z "$ac_cpp_err"; then
28911 ac_header_preproc=yes
28912 else
28913 echo "$as_me: failed program was:" >&5
28914 sed 's/^/| /' conftest.$ac_ext >&5
28915
28916 ac_header_preproc=no
28917 fi
28918 rm -f conftest.err conftest.$ac_ext
28919 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28920 echo "${ECHO_T}$ac_header_preproc" >&6
28921
28922 # So? What about this header?
28923 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28924 yes:no: )
28925 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
28926 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28927 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
28928 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
28929 ac_header_preproc=yes
28930 ;;
28931 no:yes:* )
28932 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
28933 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
28934 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
28935 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
28936 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
28937 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
28938 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
28939 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
28940 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
28941 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
28942 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
28943 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
28944 (
28945 cat <<\_ASBOX
28946 ## ----------------------------------------- ##
28947 ## Report this to wx-dev@lists.wxwidgets.org ##
28948 ## ----------------------------------------- ##
28949 _ASBOX
28950 ) |
28951 sed "s/^/$as_me: WARNING: /" >&2
28952 ;;
28953 esac
28954 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
28955 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
28956 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28957 echo $ECHO_N "(cached) $ECHO_C" >&6
28958 else
28959 ac_cv_header_GL_gl_h=$ac_header_preproc
28960 fi
28961 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
28962 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
28963
28964 fi
28965 if test $ac_cv_header_GL_gl_h = yes; then
28966
28967 found_gl=0
28968
28969 echo "$as_me:$LINENO: checking for -lGL" >&5
28970 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
28971
28972 ac_find_libraries=
28973 for ac_dir in $SEARCH_LIB /usr/lib;
28974 do
28975 for ac_extension in a so sl dylib; do
28976 if test -f "$ac_dir/libGL.$ac_extension"; then
28977 ac_find_libraries=$ac_dir
28978 break 2
28979 fi
28980 done
28981 done
28982
28983 if test "$ac_find_libraries" != "" ; then
28984
28985 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28986 result=$?
28987 if test $result = 0; then
28988 ac_path_to_link=""
28989 else
28990 ac_path_to_link=" -L$ac_find_libraries"
28991 fi
28992
28993 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28994 LDFLAGS_GL="$ac_path_to_link"
28995 fi
28996
28997
28998 ac_find_libraries=
28999 for ac_dir in $SEARCH_LIB /usr/lib;
29000 do
29001 for ac_extension in a so sl dylib; do
29002 if test -f "$ac_dir/libGLU.$ac_extension"; then
29003 ac_find_libraries=$ac_dir
29004 break 2
29005 fi
29006 done
29007 done
29008
29009 if test "$ac_find_libraries" != "" ; then
29010
29011 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
29012 result=$?
29013 if test $result = 0; then
29014 ac_path_to_link=""
29015 else
29016 ac_path_to_link=" -L$ac_find_libraries"
29017 fi
29018
29019 if test "$ac_path_to_link" != " -L/usr/lib" -a \
29020 "$ac_path_to_link" != "$LDFLAGS_GL"; then
29021 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
29022 fi
29023
29024 found_gl=1
29025 OPENGL_LIBS="-lGL -lGLU"
29026 echo "$as_me:$LINENO: result: yes" >&5
29027 echo "${ECHO_T}yes" >&6
29028 fi
29029 fi
29030
29031 if test "$found_gl" != 1; then
29032 echo "$as_me:$LINENO: result: no" >&5
29033 echo "${ECHO_T}no" >&6
29034 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
29035 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
29036
29037 ac_find_libraries=
29038 for ac_dir in $SEARCH_LIB /usr/lib;
29039 do
29040 for ac_extension in a so sl dylib; do
29041 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
29042 ac_find_libraries=$ac_dir
29043 break 2
29044 fi
29045 done
29046 done
29047
29048 if test "$ac_find_libraries" != "" ; then
29049
29050 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
29051 result=$?
29052 if test $result = 0; then
29053 ac_path_to_link=""
29054 else
29055 ac_path_to_link=" -L$ac_find_libraries"
29056 fi
29057
29058 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
29059 OPENGL_LIBS="-lMesaGL -lMesaGLU"
29060 echo "$as_me:$LINENO: result: yes" >&5
29061 echo "${ECHO_T}yes" >&6
29062 else
29063 echo "$as_me:$LINENO: result: no" >&5
29064 echo "${ECHO_T}no" >&6
29065 fi
29066 fi
29067
29068 fi
29069
29070
29071
29072 if test "x$OPENGL_LIBS" = "x"; then
29073 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
29074 echo "$as_me: error: OpenGL libraries not available" >&2;}
29075 { (exit 1); exit 1; }; }
29076 fi
29077 fi
29078
29079 if test "$wxUSE_OPENGL" = "yes"; then
29080 USE_OPENGL=1
29081 cat >>confdefs.h <<\_ACEOF
29082 #define wxUSE_OPENGL 1
29083 _ACEOF
29084
29085 cat >>confdefs.h <<\_ACEOF
29086 #define wxUSE_GLCANVAS 1
29087 _ACEOF
29088
29089 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
29090 fi
29091 fi
29092
29093
29094 if test -n "$TOOLKIT" ; then
29095 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
29096 fi
29097
29098
29099
29100 if test "$wxUSE_SHARED" = "yes"; then
29101 case "${host}" in
29102 *-pc-msdosdjgpp )
29103 wxUSE_SHARED=no
29104 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
29105 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
29106 ;;
29107 esac
29108 fi
29109
29110 if test "$wxUSE_SHARED" = "yes"; then
29111
29112
29113 found_versioning=no
29114
29115
29116 if test $found_versioning = no ; then
29117 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
29118 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
29119 if test "${wx_cv_version_script+set}" = set; then
29120 echo $ECHO_N "(cached) $ECHO_C" >&6
29121 else
29122
29123 echo "VER_1 { *; };" >conftest.sym
29124 echo "int main() { return 0; }" >conftest.cpp
29125
29126 if { ac_try='
29127 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29128 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
29129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29130 (eval $ac_try) 2>&5
29131 ac_status=$?
29132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29133 (exit $ac_status); }; } ; then
29134 if test -s conftest.stderr ; then
29135 wx_cv_version_script=no
29136 else
29137 wx_cv_version_script=yes
29138 fi
29139 else
29140 wx_cv_version_script=no
29141 fi
29142 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
29143
29144 fi
29145 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
29146 echo "${ECHO_T}$wx_cv_version_script" >&6
29147 if test $wx_cv_version_script = yes ; then
29148 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
29149 fi
29150 fi
29151
29152
29153 case "${host}" in
29154 *-*-linux* | *-*-gnu* )
29155 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
29156 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29157 ;;
29158
29159 *-*-solaris2* )
29160 if test "$GCC" = yes ; then
29161 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
29162
29163 saveLdflags="$LDFLAGS"
29164 LDFLAGS="$saveLdflags -Wl,-rpath,/"
29165 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
29166 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
29167 cat >conftest.$ac_ext <<_ACEOF
29168 /* confdefs.h. */
29169 _ACEOF
29170 cat confdefs.h >>conftest.$ac_ext
29171 cat >>conftest.$ac_ext <<_ACEOF
29172 /* end confdefs.h. */
29173
29174 int
29175 main ()
29176 {
29177
29178 ;
29179 return 0;
29180 }
29181 _ACEOF
29182 rm -f conftest.$ac_objext conftest$ac_exeext
29183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29184 (eval $ac_link) 2>conftest.er1
29185 ac_status=$?
29186 grep -v '^ *+' conftest.er1 >conftest.err
29187 rm -f conftest.er1
29188 cat conftest.err >&5
29189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29190 (exit $ac_status); } &&
29191 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29193 (eval $ac_try) 2>&5
29194 ac_status=$?
29195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29196 (exit $ac_status); }; } &&
29197 { ac_try='test -s conftest$ac_exeext'
29198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29199 (eval $ac_try) 2>&5
29200 ac_status=$?
29201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29202 (exit $ac_status); }; }; then
29203
29204 echo "$as_me:$LINENO: result: yes" >&5
29205 echo "${ECHO_T}yes" >&6
29206 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
29207 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29208
29209 else
29210 echo "$as_me: failed program was:" >&5
29211 sed 's/^/| /' conftest.$ac_ext >&5
29212
29213
29214 echo "$as_me:$LINENO: result: no" >&5
29215 echo "${ECHO_T}no" >&6
29216 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
29217 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
29218 LDFLAGS="$saveLdflags -Wl,-R,/"
29219 cat >conftest.$ac_ext <<_ACEOF
29220 /* confdefs.h. */
29221 _ACEOF
29222 cat confdefs.h >>conftest.$ac_ext
29223 cat >>conftest.$ac_ext <<_ACEOF
29224 /* end confdefs.h. */
29225
29226 int
29227 main ()
29228 {
29229
29230 ;
29231 return 0;
29232 }
29233 _ACEOF
29234 rm -f conftest.$ac_objext conftest$ac_exeext
29235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29236 (eval $ac_link) 2>conftest.er1
29237 ac_status=$?
29238 grep -v '^ *+' conftest.er1 >conftest.err
29239 rm -f conftest.er1
29240 cat conftest.err >&5
29241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29242 (exit $ac_status); } &&
29243 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29245 (eval $ac_try) 2>&5
29246 ac_status=$?
29247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29248 (exit $ac_status); }; } &&
29249 { ac_try='test -s conftest$ac_exeext'
29250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29251 (eval $ac_try) 2>&5
29252 ac_status=$?
29253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29254 (exit $ac_status); }; }; then
29255
29256 echo "$as_me:$LINENO: result: yes" >&5
29257 echo "${ECHO_T}yes" >&6
29258 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
29259 WXCONFIG_RPATH="-Wl,-R,\$libdir"
29260
29261 else
29262 echo "$as_me: failed program was:" >&5
29263 sed 's/^/| /' conftest.$ac_ext >&5
29264
29265
29266 echo "$as_me:$LINENO: result: no" >&5
29267 echo "${ECHO_T}no" >&6
29268
29269 fi
29270 rm -f conftest.err conftest.$ac_objext \
29271 conftest$ac_exeext conftest.$ac_ext
29272
29273 fi
29274 rm -f conftest.err conftest.$ac_objext \
29275 conftest$ac_exeext conftest.$ac_ext
29276 LDFLAGS="$saveLdflags"
29277 else
29278 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
29279 WXCONFIG_RPATH="-R\$libdir"
29280 fi
29281 ;;
29282
29283 powerpc-*-darwin* )
29284 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
29285 cat <<EOF >change-install-names
29286 #!/bin/sh
29287 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29288 inst_cmd="install_name_tool "
29289 for i in \${libnames} ; do
29290 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
29291 done
29292 \${inst_cmd} \${3}
29293 EOF
29294 chmod +x change-install-names
29295 ;;
29296
29297 *-*-cygwin* | *-*-mingw32* )
29298 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
29299 ;;
29300
29301 *-*-hpux* )
29302 SAMPLES_RPATH_FLAG="-Wl,+b,\$(top_builddir)lib"
29303 WXCONFIG_RPATH="-Wl,+b,\$libdir"
29304 ;;
29305
29306 esac
29307
29308 if test $wxUSE_RPATH = "no"; then
29309 SAMPLES_RPATH_FLAG=''
29310 SAMPLES_RPATH_POSTLINK=''
29311 WXCONFIG_RPATH=''
29312 fi
29313
29314 SHARED=1
29315
29316 else
29317
29318 config_linkage_component="-static"
29319 SHARED=0
29320
29321 fi
29322
29323
29324 UNICODE=0
29325 lib_unicode_suffix=
29326 WX_CHARTYPE="ansi"
29327 if test "$wxUSE_UNICODE" = "yes"; then
29328 lib_unicode_suffix=u
29329 WX_CHARTYPE="unicode"
29330 UNICODE=1
29331 fi
29332
29333 lib_debug_suffix=
29334 WX_DEBUGTYPE="release"
29335 DEBUG_FLAG=0
29336 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
29337 lib_debug_suffix=d
29338 WX_DEBUGTYPE="debug"
29339 DEBUG_FLAG=1
29340 fi
29341
29342 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
29343 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
29344
29345 DEBUG_INFO=0
29346 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29347 DEBUG_INFO=1
29348 fi
29349
29350 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
29351
29352 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
29353
29354 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29355
29356 if test "$cross_compiling" = "yes"; then
29357 HOST_SUFFIX="-$host_alias"
29358 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
29359 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
29360 fi
29361
29362 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
29363 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
29364
29365
29366
29367 if test "$wxUSE_COCOA" = 1; then
29368
29369
29370 ac_ext=c
29371 ac_cpp='$CPP $CPPFLAGS'
29372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29375
29376 ac_ext=m
29377
29378 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
29379 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
29380 cat >conftest.$ac_ext <<_ACEOF
29381 /* confdefs.h. */
29382 _ACEOF
29383 cat confdefs.h >>conftest.$ac_ext
29384 cat >>conftest.$ac_ext <<_ACEOF
29385 /* end confdefs.h. */
29386 #include <AppKit/NSEvent.h>
29387 #include <CoreFoundation/CoreFoundation.h>
29388
29389 int
29390 main ()
29391 {
29392
29393 ;
29394 return 0;
29395 }
29396 _ACEOF
29397 rm -f conftest.$ac_objext
29398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29399 (eval $ac_compile) 2>conftest.er1
29400 ac_status=$?
29401 grep -v '^ *+' conftest.er1 >conftest.err
29402 rm -f conftest.er1
29403 cat conftest.err >&5
29404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29405 (exit $ac_status); } &&
29406 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
29412 { ac_try='test -s conftest.$ac_objext'
29413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29414 (eval $ac_try) 2>&5
29415 ac_status=$?
29416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29417 (exit $ac_status); }; }; then
29418 echo "$as_me:$LINENO: result: no" >&5
29419 echo "${ECHO_T}no" >&6
29420 else
29421 echo "$as_me: failed program was:" >&5
29422 sed 's/^/| /' conftest.$ac_ext >&5
29423
29424 echo "$as_me:$LINENO: result: yes" >&5
29425 echo "${ECHO_T}yes" >&6
29426 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
29427 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
29428 cat >conftest.$ac_ext <<_ACEOF
29429 /* confdefs.h. */
29430 _ACEOF
29431 cat confdefs.h >>conftest.$ac_ext
29432 cat >>conftest.$ac_ext <<_ACEOF
29433 /* end confdefs.h. */
29434 #define __Point__ 1
29435 #include <AppKit/NSEvent.h>
29436 #include <CoreFoundation/CoreFoundation.h>
29437
29438 int
29439 main ()
29440 {
29441
29442 ;
29443 return 0;
29444 }
29445 _ACEOF
29446 rm -f conftest.$ac_objext
29447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29448 (eval $ac_compile) 2>conftest.er1
29449 ac_status=$?
29450 grep -v '^ *+' conftest.er1 >conftest.err
29451 rm -f conftest.er1
29452 cat conftest.err >&5
29453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29454 (exit $ac_status); } &&
29455 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29457 (eval $ac_try) 2>&5
29458 ac_status=$?
29459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29460 (exit $ac_status); }; } &&
29461 { ac_try='test -s conftest.$ac_objext'
29462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29463 (eval $ac_try) 2>&5
29464 ac_status=$?
29465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29466 (exit $ac_status); }; }; then
29467 echo "$as_me:$LINENO: result: yes" >&5
29468 echo "${ECHO_T}yes" >&6
29469 cat >>confdefs.h <<\_ACEOF
29470 #define __Point__ 1
29471 _ACEOF
29472
29473
29474 else
29475 echo "$as_me: failed program was:" >&5
29476 sed 's/^/| /' conftest.$ac_ext >&5
29477
29478 { { echo "$as_me:$LINENO: error: no
29479 See \`config.log' for more details." >&5
29480 echo "$as_me: error: no
29481 See \`config.log' for more details." >&2;}
29482 { (exit 1); exit 1; }; }
29483
29484 fi
29485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29486
29487 fi
29488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29489 ac_ext=c
29490 ac_cpp='$CPP $CPPFLAGS'
29491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29494
29495 fi
29496
29497 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
29498 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
29499 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
29500
29501 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
29502
29503 # Extract the first word of "Rez", so it can be a program name with args.
29504 set dummy Rez; ac_word=$2
29505 echo "$as_me:$LINENO: checking for $ac_word" >&5
29506 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29507 if test "${ac_cv_prog_RESCOMP+set}" = set; then
29508 echo $ECHO_N "(cached) $ECHO_C" >&6
29509 else
29510 if test -n "$RESCOMP"; then
29511 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
29512 else
29513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29514 for as_dir in $PATH
29515 do
29516 IFS=$as_save_IFS
29517 test -z "$as_dir" && as_dir=.
29518 for ac_exec_ext in '' $ac_executable_extensions; do
29519 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29520 ac_cv_prog_RESCOMP="Rez"
29521 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29522 break 2
29523 fi
29524 done
29525 done
29526
29527 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
29528 fi
29529 fi
29530 RESCOMP=$ac_cv_prog_RESCOMP
29531 if test -n "$RESCOMP"; then
29532 echo "$as_me:$LINENO: result: $RESCOMP" >&5
29533 echo "${ECHO_T}$RESCOMP" >&6
29534 else
29535 echo "$as_me:$LINENO: result: no" >&5
29536 echo "${ECHO_T}no" >&6
29537 fi
29538
29539 # Extract the first word of "DeRez", so it can be a program name with args.
29540 set dummy DeRez; ac_word=$2
29541 echo "$as_me:$LINENO: checking for $ac_word" >&5
29542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29543 if test "${ac_cv_prog_DEREZ+set}" = set; then
29544 echo $ECHO_N "(cached) $ECHO_C" >&6
29545 else
29546 if test -n "$DEREZ"; then
29547 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
29548 else
29549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29550 for as_dir in $PATH
29551 do
29552 IFS=$as_save_IFS
29553 test -z "$as_dir" && as_dir=.
29554 for ac_exec_ext in '' $ac_executable_extensions; do
29555 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29556 ac_cv_prog_DEREZ="DeRez"
29557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29558 break 2
29559 fi
29560 done
29561 done
29562
29563 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
29564 fi
29565 fi
29566 DEREZ=$ac_cv_prog_DEREZ
29567 if test -n "$DEREZ"; then
29568 echo "$as_me:$LINENO: result: $DEREZ" >&5
29569 echo "${ECHO_T}$DEREZ" >&6
29570 else
29571 echo "$as_me:$LINENO: result: no" >&5
29572 echo "${ECHO_T}no" >&6
29573 fi
29574
29575 # Extract the first word of "SetFile", so it can be a program name with args.
29576 set dummy SetFile; ac_word=$2
29577 echo "$as_me:$LINENO: checking for $ac_word" >&5
29578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29579 if test "${ac_cv_prog_SETFILE+set}" = set; then
29580 echo $ECHO_N "(cached) $ECHO_C" >&6
29581 else
29582 if test -n "$SETFILE"; then
29583 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
29584 else
29585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29586 for as_dir in $PATH
29587 do
29588 IFS=$as_save_IFS
29589 test -z "$as_dir" && as_dir=.
29590 for ac_exec_ext in '' $ac_executable_extensions; do
29591 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29592 ac_cv_prog_SETFILE="SetFile"
29593 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29594 break 2
29595 fi
29596 done
29597 done
29598
29599 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
29600 fi
29601 fi
29602 SETFILE=$ac_cv_prog_SETFILE
29603 if test -n "$SETFILE"; then
29604 echo "$as_me:$LINENO: result: $SETFILE" >&5
29605 echo "${ECHO_T}$SETFILE" >&6
29606 else
29607 echo "$as_me:$LINENO: result: no" >&5
29608 echo "${ECHO_T}no" >&6
29609 fi
29610
29611
29612 MACSETFILE="\$(SETFILE)"
29613
29614 if test "$wxUSE_MAC" = 1; then
29615 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
29616
29617 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
29618 else
29619 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
29620 MACRESWXCONFIG="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
29621 fi
29622 else
29623 MACSETFILE="@true"
29624 MACRESWXCONFIG="@true"
29625
29626 if test "$wxUSE_PM" = 1; then
29627 MACRESCOMP="emxbind -ep"
29628 else
29629 MACRESCOMP="@true"
29630 fi
29631 fi
29632
29633
29634
29635 echo "$as_me:$LINENO: checking for mode_t" >&5
29636 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
29637 if test "${ac_cv_type_mode_t+set}" = set; then
29638 echo $ECHO_N "(cached) $ECHO_C" >&6
29639 else
29640 cat >conftest.$ac_ext <<_ACEOF
29641 /* confdefs.h. */
29642 _ACEOF
29643 cat confdefs.h >>conftest.$ac_ext
29644 cat >>conftest.$ac_ext <<_ACEOF
29645 /* end confdefs.h. */
29646 $ac_includes_default
29647 int
29648 main ()
29649 {
29650 if ((mode_t *) 0)
29651 return 0;
29652 if (sizeof (mode_t))
29653 return 0;
29654 ;
29655 return 0;
29656 }
29657 _ACEOF
29658 rm -f conftest.$ac_objext
29659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29660 (eval $ac_compile) 2>conftest.er1
29661 ac_status=$?
29662 grep -v '^ *+' conftest.er1 >conftest.err
29663 rm -f conftest.er1
29664 cat conftest.err >&5
29665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29666 (exit $ac_status); } &&
29667 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29669 (eval $ac_try) 2>&5
29670 ac_status=$?
29671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29672 (exit $ac_status); }; } &&
29673 { ac_try='test -s conftest.$ac_objext'
29674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29675 (eval $ac_try) 2>&5
29676 ac_status=$?
29677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29678 (exit $ac_status); }; }; then
29679 ac_cv_type_mode_t=yes
29680 else
29681 echo "$as_me: failed program was:" >&5
29682 sed 's/^/| /' conftest.$ac_ext >&5
29683
29684 ac_cv_type_mode_t=no
29685 fi
29686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29687 fi
29688 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
29689 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
29690 if test $ac_cv_type_mode_t = yes; then
29691 :
29692 else
29693
29694 cat >>confdefs.h <<_ACEOF
29695 #define mode_t int
29696 _ACEOF
29697
29698 fi
29699
29700 echo "$as_me:$LINENO: checking for off_t" >&5
29701 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
29702 if test "${ac_cv_type_off_t+set}" = set; then
29703 echo $ECHO_N "(cached) $ECHO_C" >&6
29704 else
29705 cat >conftest.$ac_ext <<_ACEOF
29706 /* confdefs.h. */
29707 _ACEOF
29708 cat confdefs.h >>conftest.$ac_ext
29709 cat >>conftest.$ac_ext <<_ACEOF
29710 /* end confdefs.h. */
29711 $ac_includes_default
29712 int
29713 main ()
29714 {
29715 if ((off_t *) 0)
29716 return 0;
29717 if (sizeof (off_t))
29718 return 0;
29719 ;
29720 return 0;
29721 }
29722 _ACEOF
29723 rm -f conftest.$ac_objext
29724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29725 (eval $ac_compile) 2>conftest.er1
29726 ac_status=$?
29727 grep -v '^ *+' conftest.er1 >conftest.err
29728 rm -f conftest.er1
29729 cat conftest.err >&5
29730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29731 (exit $ac_status); } &&
29732 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29734 (eval $ac_try) 2>&5
29735 ac_status=$?
29736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29737 (exit $ac_status); }; } &&
29738 { ac_try='test -s conftest.$ac_objext'
29739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29740 (eval $ac_try) 2>&5
29741 ac_status=$?
29742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29743 (exit $ac_status); }; }; then
29744 ac_cv_type_off_t=yes
29745 else
29746 echo "$as_me: failed program was:" >&5
29747 sed 's/^/| /' conftest.$ac_ext >&5
29748
29749 ac_cv_type_off_t=no
29750 fi
29751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29752 fi
29753 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
29754 echo "${ECHO_T}$ac_cv_type_off_t" >&6
29755 if test $ac_cv_type_off_t = yes; then
29756 :
29757 else
29758
29759 cat >>confdefs.h <<_ACEOF
29760 #define off_t long
29761 _ACEOF
29762
29763 fi
29764
29765 echo "$as_me:$LINENO: checking for pid_t" >&5
29766 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
29767 if test "${ac_cv_type_pid_t+set}" = set; then
29768 echo $ECHO_N "(cached) $ECHO_C" >&6
29769 else
29770 cat >conftest.$ac_ext <<_ACEOF
29771 /* confdefs.h. */
29772 _ACEOF
29773 cat confdefs.h >>conftest.$ac_ext
29774 cat >>conftest.$ac_ext <<_ACEOF
29775 /* end confdefs.h. */
29776 $ac_includes_default
29777 int
29778 main ()
29779 {
29780 if ((pid_t *) 0)
29781 return 0;
29782 if (sizeof (pid_t))
29783 return 0;
29784 ;
29785 return 0;
29786 }
29787 _ACEOF
29788 rm -f conftest.$ac_objext
29789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29790 (eval $ac_compile) 2>conftest.er1
29791 ac_status=$?
29792 grep -v '^ *+' conftest.er1 >conftest.err
29793 rm -f conftest.er1
29794 cat conftest.err >&5
29795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29796 (exit $ac_status); } &&
29797 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29799 (eval $ac_try) 2>&5
29800 ac_status=$?
29801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29802 (exit $ac_status); }; } &&
29803 { ac_try='test -s conftest.$ac_objext'
29804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29805 (eval $ac_try) 2>&5
29806 ac_status=$?
29807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29808 (exit $ac_status); }; }; then
29809 ac_cv_type_pid_t=yes
29810 else
29811 echo "$as_me: failed program was:" >&5
29812 sed 's/^/| /' conftest.$ac_ext >&5
29813
29814 ac_cv_type_pid_t=no
29815 fi
29816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29817 fi
29818 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
29819 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
29820 if test $ac_cv_type_pid_t = yes; then
29821 :
29822 else
29823
29824 cat >>confdefs.h <<_ACEOF
29825 #define pid_t int
29826 _ACEOF
29827
29828 fi
29829
29830 echo "$as_me:$LINENO: checking for size_t" >&5
29831 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
29832 if test "${ac_cv_type_size_t+set}" = set; then
29833 echo $ECHO_N "(cached) $ECHO_C" >&6
29834 else
29835 cat >conftest.$ac_ext <<_ACEOF
29836 /* confdefs.h. */
29837 _ACEOF
29838 cat confdefs.h >>conftest.$ac_ext
29839 cat >>conftest.$ac_ext <<_ACEOF
29840 /* end confdefs.h. */
29841 $ac_includes_default
29842 int
29843 main ()
29844 {
29845 if ((size_t *) 0)
29846 return 0;
29847 if (sizeof (size_t))
29848 return 0;
29849 ;
29850 return 0;
29851 }
29852 _ACEOF
29853 rm -f conftest.$ac_objext
29854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29855 (eval $ac_compile) 2>conftest.er1
29856 ac_status=$?
29857 grep -v '^ *+' conftest.er1 >conftest.err
29858 rm -f conftest.er1
29859 cat conftest.err >&5
29860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29861 (exit $ac_status); } &&
29862 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29864 (eval $ac_try) 2>&5
29865 ac_status=$?
29866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29867 (exit $ac_status); }; } &&
29868 { ac_try='test -s conftest.$ac_objext'
29869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29870 (eval $ac_try) 2>&5
29871 ac_status=$?
29872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29873 (exit $ac_status); }; }; then
29874 ac_cv_type_size_t=yes
29875 else
29876 echo "$as_me: failed program was:" >&5
29877 sed 's/^/| /' conftest.$ac_ext >&5
29878
29879 ac_cv_type_size_t=no
29880 fi
29881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29882 fi
29883 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
29884 echo "${ECHO_T}$ac_cv_type_size_t" >&6
29885 if test $ac_cv_type_size_t = yes; then
29886 :
29887 else
29888
29889 cat >>confdefs.h <<_ACEOF
29890 #define size_t unsigned
29891 _ACEOF
29892
29893 fi
29894
29895 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
29896 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
29897 if test "${ac_cv_type_uid_t+set}" = set; then
29898 echo $ECHO_N "(cached) $ECHO_C" >&6
29899 else
29900 cat >conftest.$ac_ext <<_ACEOF
29901 /* confdefs.h. */
29902 _ACEOF
29903 cat confdefs.h >>conftest.$ac_ext
29904 cat >>conftest.$ac_ext <<_ACEOF
29905 /* end confdefs.h. */
29906 #include <sys/types.h>
29907
29908 _ACEOF
29909 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
29910 $EGREP "uid_t" >/dev/null 2>&1; then
29911 ac_cv_type_uid_t=yes
29912 else
29913 ac_cv_type_uid_t=no
29914 fi
29915 rm -f conftest*
29916
29917 fi
29918 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
29919 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
29920 if test $ac_cv_type_uid_t = no; then
29921
29922 cat >>confdefs.h <<\_ACEOF
29923 #define uid_t int
29924 _ACEOF
29925
29926
29927 cat >>confdefs.h <<\_ACEOF
29928 #define gid_t int
29929 _ACEOF
29930
29931 fi
29932
29933
29934 echo "$as_me:$LINENO: checking for ssize_t" >&5
29935 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
29936 if test "${ac_cv_type_ssize_t+set}" = set; then
29937 echo $ECHO_N "(cached) $ECHO_C" >&6
29938 else
29939 cat >conftest.$ac_ext <<_ACEOF
29940 /* confdefs.h. */
29941 _ACEOF
29942 cat confdefs.h >>conftest.$ac_ext
29943 cat >>conftest.$ac_ext <<_ACEOF
29944 /* end confdefs.h. */
29945 $ac_includes_default
29946 int
29947 main ()
29948 {
29949 if ((ssize_t *) 0)
29950 return 0;
29951 if (sizeof (ssize_t))
29952 return 0;
29953 ;
29954 return 0;
29955 }
29956 _ACEOF
29957 rm -f conftest.$ac_objext
29958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29959 (eval $ac_compile) 2>conftest.er1
29960 ac_status=$?
29961 grep -v '^ *+' conftest.er1 >conftest.err
29962 rm -f conftest.er1
29963 cat conftest.err >&5
29964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29965 (exit $ac_status); } &&
29966 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29968 (eval $ac_try) 2>&5
29969 ac_status=$?
29970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29971 (exit $ac_status); }; } &&
29972 { ac_try='test -s conftest.$ac_objext'
29973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29974 (eval $ac_try) 2>&5
29975 ac_status=$?
29976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29977 (exit $ac_status); }; }; then
29978 ac_cv_type_ssize_t=yes
29979 else
29980 echo "$as_me: failed program was:" >&5
29981 sed 's/^/| /' conftest.$ac_ext >&5
29982
29983 ac_cv_type_ssize_t=no
29984 fi
29985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29986 fi
29987 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
29988 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
29989 if test $ac_cv_type_ssize_t = yes; then
29990
29991 cat >>confdefs.h <<_ACEOF
29992 #define HAVE_SSIZE_T 1
29993 _ACEOF
29994
29995
29996 fi
29997
29998
29999
30000
30001 ac_ext=cc
30002 ac_cpp='$CXXCPP $CPPFLAGS'
30003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30006
30007 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
30008 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
30009 if test "${wx_cv_size_t_is_uint+set}" = set; then
30010 echo $ECHO_N "(cached) $ECHO_C" >&6
30011 else
30012
30013 cat >conftest.$ac_ext <<_ACEOF
30014 /* confdefs.h. */
30015 _ACEOF
30016 cat confdefs.h >>conftest.$ac_ext
30017 cat >>conftest.$ac_ext <<_ACEOF
30018 /* end confdefs.h. */
30019 #include <stddef.h>
30020 int
30021 main ()
30022 {
30023
30024 return 0; }
30025
30026 struct Foo { void foo(size_t); void foo(unsigned int); };
30027
30028 int bar() {
30029
30030 ;
30031 return 0;
30032 }
30033 _ACEOF
30034 rm -f conftest.$ac_objext
30035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30036 (eval $ac_compile) 2>conftest.er1
30037 ac_status=$?
30038 grep -v '^ *+' conftest.er1 >conftest.err
30039 rm -f conftest.er1
30040 cat conftest.err >&5
30041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30042 (exit $ac_status); } &&
30043 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30045 (eval $ac_try) 2>&5
30046 ac_status=$?
30047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30048 (exit $ac_status); }; } &&
30049 { ac_try='test -s conftest.$ac_objext'
30050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30051 (eval $ac_try) 2>&5
30052 ac_status=$?
30053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30054 (exit $ac_status); }; }; then
30055 wx_cv_size_t_is_uint=no
30056 else
30057 echo "$as_me: failed program was:" >&5
30058 sed 's/^/| /' conftest.$ac_ext >&5
30059
30060 wx_cv_size_t_is_uint=yes
30061
30062 fi
30063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30064
30065
30066 fi
30067 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
30068 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
30069
30070 if test "$wx_cv_size_t_is_uint" = "yes"; then
30071 cat >>confdefs.h <<\_ACEOF
30072 #define wxSIZE_T_IS_UINT 1
30073 _ACEOF
30074
30075 else
30076 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
30077 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
30078 if test "${wx_cv_size_t_is_ulong+set}" = set; then
30079 echo $ECHO_N "(cached) $ECHO_C" >&6
30080 else
30081 cat >conftest.$ac_ext <<_ACEOF
30082 /* confdefs.h. */
30083 _ACEOF
30084 cat confdefs.h >>conftest.$ac_ext
30085 cat >>conftest.$ac_ext <<_ACEOF
30086 /* end confdefs.h. */
30087 #include <stddef.h>
30088 int
30089 main ()
30090 {
30091
30092 return 0; }
30093
30094 struct Foo { void foo(size_t); void foo(unsigned long); };
30095
30096 int bar() {
30097
30098 ;
30099 return 0;
30100 }
30101 _ACEOF
30102 rm -f conftest.$ac_objext
30103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30104 (eval $ac_compile) 2>conftest.er1
30105 ac_status=$?
30106 grep -v '^ *+' conftest.er1 >conftest.err
30107 rm -f conftest.er1
30108 cat conftest.err >&5
30109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30110 (exit $ac_status); } &&
30111 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30113 (eval $ac_try) 2>&5
30114 ac_status=$?
30115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30116 (exit $ac_status); }; } &&
30117 { ac_try='test -s conftest.$ac_objext'
30118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30119 (eval $ac_try) 2>&5
30120 ac_status=$?
30121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30122 (exit $ac_status); }; }; then
30123 wx_cv_size_t_is_ulong=no
30124 else
30125 echo "$as_me: failed program was:" >&5
30126 sed 's/^/| /' conftest.$ac_ext >&5
30127
30128 wx_cv_size_t_is_ulong=yes
30129
30130 fi
30131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30132
30133 fi
30134 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
30135 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
30136
30137 if test "$wx_cv_size_t_is_ulong" = "yes"; then
30138 cat >>confdefs.h <<\_ACEOF
30139 #define wxSIZE_T_IS_ULONG 1
30140 _ACEOF
30141
30142 fi
30143 fi
30144
30145 ac_ext=c
30146 ac_cpp='$CPP $CPPFLAGS'
30147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30150
30151
30152
30153 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
30154 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
30155 if test "${wx_cv_struct_pw_gecos+set}" = set; then
30156 echo $ECHO_N "(cached) $ECHO_C" >&6
30157 else
30158
30159 cat >conftest.$ac_ext <<_ACEOF
30160 /* confdefs.h. */
30161 _ACEOF
30162 cat confdefs.h >>conftest.$ac_ext
30163 cat >>conftest.$ac_ext <<_ACEOF
30164 /* end confdefs.h. */
30165 #include <pwd.h>
30166 int
30167 main ()
30168 {
30169
30170 char *p;
30171 struct passwd *pw;
30172 p = pw->pw_gecos;
30173
30174 ;
30175 return 0;
30176 }
30177 _ACEOF
30178 rm -f conftest.$ac_objext
30179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30180 (eval $ac_compile) 2>conftest.er1
30181 ac_status=$?
30182 grep -v '^ *+' conftest.er1 >conftest.err
30183 rm -f conftest.er1
30184 cat conftest.err >&5
30185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30186 (exit $ac_status); } &&
30187 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30189 (eval $ac_try) 2>&5
30190 ac_status=$?
30191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30192 (exit $ac_status); }; } &&
30193 { ac_try='test -s conftest.$ac_objext'
30194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30195 (eval $ac_try) 2>&5
30196 ac_status=$?
30197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30198 (exit $ac_status); }; }; then
30199
30200 wx_cv_struct_pw_gecos=yes
30201
30202 else
30203 echo "$as_me: failed program was:" >&5
30204 sed 's/^/| /' conftest.$ac_ext >&5
30205
30206
30207 wx_cv_struct_pw_gecos=no
30208
30209
30210 fi
30211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30212
30213
30214 fi
30215 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
30216 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
30217
30218 if test "$wx_cv_struct_pw_gecos" = "yes"; then
30219 cat >>confdefs.h <<\_ACEOF
30220 #define HAVE_PW_GECOS 1
30221 _ACEOF
30222
30223 fi
30224
30225
30226 if test "$ac_cv_sizeof_wchar_t" != "0"; then
30227 cat >>confdefs.h <<\_ACEOF
30228 #define wxUSE_WCHAR_T 1
30229 _ACEOF
30230
30231
30232 WCSLEN_FOUND=0
30233 WCHAR_LINK=
30234
30235 for ac_func in wcslen
30236 do
30237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30238 echo "$as_me:$LINENO: checking for $ac_func" >&5
30239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30240 if eval "test \"\${$as_ac_var+set}\" = set"; then
30241 echo $ECHO_N "(cached) $ECHO_C" >&6
30242 else
30243 cat >conftest.$ac_ext <<_ACEOF
30244 /* confdefs.h. */
30245 _ACEOF
30246 cat confdefs.h >>conftest.$ac_ext
30247 cat >>conftest.$ac_ext <<_ACEOF
30248 /* end confdefs.h. */
30249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30251 #define $ac_func innocuous_$ac_func
30252
30253 /* System header to define __stub macros and hopefully few prototypes,
30254 which can conflict with char $ac_func (); below.
30255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30256 <limits.h> exists even on freestanding compilers. */
30257
30258 #ifdef __STDC__
30259 # include <limits.h>
30260 #else
30261 # include <assert.h>
30262 #endif
30263
30264 #undef $ac_func
30265
30266 /* Override any gcc2 internal prototype to avoid an error. */
30267 #ifdef __cplusplus
30268 extern "C"
30269 {
30270 #endif
30271 /* We use char because int might match the return type of a gcc2
30272 builtin and then its argument prototype would still apply. */
30273 char $ac_func ();
30274 /* The GNU C library defines this for functions which it implements
30275 to always fail with ENOSYS. Some functions are actually named
30276 something starting with __ and the normal name is an alias. */
30277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30278 choke me
30279 #else
30280 char (*f) () = $ac_func;
30281 #endif
30282 #ifdef __cplusplus
30283 }
30284 #endif
30285
30286 int
30287 main ()
30288 {
30289 return f != $ac_func;
30290 ;
30291 return 0;
30292 }
30293 _ACEOF
30294 rm -f conftest.$ac_objext conftest$ac_exeext
30295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30296 (eval $ac_link) 2>conftest.er1
30297 ac_status=$?
30298 grep -v '^ *+' conftest.er1 >conftest.err
30299 rm -f conftest.er1
30300 cat conftest.err >&5
30301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30302 (exit $ac_status); } &&
30303 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30305 (eval $ac_try) 2>&5
30306 ac_status=$?
30307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30308 (exit $ac_status); }; } &&
30309 { ac_try='test -s conftest$ac_exeext'
30310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30311 (eval $ac_try) 2>&5
30312 ac_status=$?
30313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30314 (exit $ac_status); }; }; then
30315 eval "$as_ac_var=yes"
30316 else
30317 echo "$as_me: failed program was:" >&5
30318 sed 's/^/| /' conftest.$ac_ext >&5
30319
30320 eval "$as_ac_var=no"
30321 fi
30322 rm -f conftest.err conftest.$ac_objext \
30323 conftest$ac_exeext conftest.$ac_ext
30324 fi
30325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30327 if test `eval echo '${'$as_ac_var'}'` = yes; then
30328 cat >>confdefs.h <<_ACEOF
30329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30330 _ACEOF
30331 WCSLEN_FOUND=1
30332 fi
30333 done
30334
30335
30336 if test "$WCSLEN_FOUND" = 0; then
30337 if test "$TOOLKIT" = "MSW"; then
30338 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
30339 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
30340 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
30341 echo $ECHO_N "(cached) $ECHO_C" >&6
30342 else
30343 ac_check_lib_save_LIBS=$LIBS
30344 LIBS="-lmsvcrt $LIBS"
30345 cat >conftest.$ac_ext <<_ACEOF
30346 /* confdefs.h. */
30347 _ACEOF
30348 cat confdefs.h >>conftest.$ac_ext
30349 cat >>conftest.$ac_ext <<_ACEOF
30350 /* end confdefs.h. */
30351
30352 /* Override any gcc2 internal prototype to avoid an error. */
30353 #ifdef __cplusplus
30354 extern "C"
30355 #endif
30356 /* We use char because int might match the return type of a gcc2
30357 builtin and then its argument prototype would still apply. */
30358 char wcslen ();
30359 int
30360 main ()
30361 {
30362 wcslen ();
30363 ;
30364 return 0;
30365 }
30366 _ACEOF
30367 rm -f conftest.$ac_objext conftest$ac_exeext
30368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30369 (eval $ac_link) 2>conftest.er1
30370 ac_status=$?
30371 grep -v '^ *+' conftest.er1 >conftest.err
30372 rm -f conftest.er1
30373 cat conftest.err >&5
30374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30375 (exit $ac_status); } &&
30376 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30378 (eval $ac_try) 2>&5
30379 ac_status=$?
30380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30381 (exit $ac_status); }; } &&
30382 { ac_try='test -s conftest$ac_exeext'
30383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30384 (eval $ac_try) 2>&5
30385 ac_status=$?
30386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30387 (exit $ac_status); }; }; then
30388 ac_cv_lib_msvcrt_wcslen=yes
30389 else
30390 echo "$as_me: failed program was:" >&5
30391 sed 's/^/| /' conftest.$ac_ext >&5
30392
30393 ac_cv_lib_msvcrt_wcslen=no
30394 fi
30395 rm -f conftest.err conftest.$ac_objext \
30396 conftest$ac_exeext conftest.$ac_ext
30397 LIBS=$ac_check_lib_save_LIBS
30398 fi
30399 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
30400 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
30401 if test $ac_cv_lib_msvcrt_wcslen = yes; then
30402 WCHAR_OK=1
30403 fi
30404
30405 else
30406 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
30407 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
30408 if test "${ac_cv_lib_w_wcslen+set}" = set; then
30409 echo $ECHO_N "(cached) $ECHO_C" >&6
30410 else
30411 ac_check_lib_save_LIBS=$LIBS
30412 LIBS="-lw $LIBS"
30413 cat >conftest.$ac_ext <<_ACEOF
30414 /* confdefs.h. */
30415 _ACEOF
30416 cat confdefs.h >>conftest.$ac_ext
30417 cat >>conftest.$ac_ext <<_ACEOF
30418 /* end confdefs.h. */
30419
30420 /* Override any gcc2 internal prototype to avoid an error. */
30421 #ifdef __cplusplus
30422 extern "C"
30423 #endif
30424 /* We use char because int might match the return type of a gcc2
30425 builtin and then its argument prototype would still apply. */
30426 char wcslen ();
30427 int
30428 main ()
30429 {
30430 wcslen ();
30431 ;
30432 return 0;
30433 }
30434 _ACEOF
30435 rm -f conftest.$ac_objext conftest$ac_exeext
30436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30437 (eval $ac_link) 2>conftest.er1
30438 ac_status=$?
30439 grep -v '^ *+' conftest.er1 >conftest.err
30440 rm -f conftest.er1
30441 cat conftest.err >&5
30442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30443 (exit $ac_status); } &&
30444 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30446 (eval $ac_try) 2>&5
30447 ac_status=$?
30448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30449 (exit $ac_status); }; } &&
30450 { ac_try='test -s conftest$ac_exeext'
30451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30452 (eval $ac_try) 2>&5
30453 ac_status=$?
30454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30455 (exit $ac_status); }; }; then
30456 ac_cv_lib_w_wcslen=yes
30457 else
30458 echo "$as_me: failed program was:" >&5
30459 sed 's/^/| /' conftest.$ac_ext >&5
30460
30461 ac_cv_lib_w_wcslen=no
30462 fi
30463 rm -f conftest.err conftest.$ac_objext \
30464 conftest$ac_exeext conftest.$ac_ext
30465 LIBS=$ac_check_lib_save_LIBS
30466 fi
30467 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
30468 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
30469 if test $ac_cv_lib_w_wcslen = yes; then
30470
30471 WCHAR_LINK=" -lw"
30472 WCSLEN_FOUND=1
30473
30474 fi
30475
30476 fi
30477 fi
30478
30479 if test "$WCSLEN_FOUND" = 1; then
30480 cat >>confdefs.h <<\_ACEOF
30481 #define HAVE_WCSLEN 1
30482 _ACEOF
30483
30484 fi
30485
30486 if test "$USE_HPUX" = 1; then
30487 CPPFLAGS="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
30488 fi
30489
30490
30491 for ac_func in wcsrtombs
30492 do
30493 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30494 echo "$as_me:$LINENO: checking for $ac_func" >&5
30495 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30496 if eval "test \"\${$as_ac_var+set}\" = set"; then
30497 echo $ECHO_N "(cached) $ECHO_C" >&6
30498 else
30499 cat >conftest.$ac_ext <<_ACEOF
30500 /* confdefs.h. */
30501 _ACEOF
30502 cat confdefs.h >>conftest.$ac_ext
30503 cat >>conftest.$ac_ext <<_ACEOF
30504 /* end confdefs.h. */
30505 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30506 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30507 #define $ac_func innocuous_$ac_func
30508
30509 /* System header to define __stub macros and hopefully few prototypes,
30510 which can conflict with char $ac_func (); below.
30511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30512 <limits.h> exists even on freestanding compilers. */
30513
30514 #ifdef __STDC__
30515 # include <limits.h>
30516 #else
30517 # include <assert.h>
30518 #endif
30519
30520 #undef $ac_func
30521
30522 /* Override any gcc2 internal prototype to avoid an error. */
30523 #ifdef __cplusplus
30524 extern "C"
30525 {
30526 #endif
30527 /* We use char because int might match the return type of a gcc2
30528 builtin and then its argument prototype would still apply. */
30529 char $ac_func ();
30530 /* The GNU C library defines this for functions which it implements
30531 to always fail with ENOSYS. Some functions are actually named
30532 something starting with __ and the normal name is an alias. */
30533 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30534 choke me
30535 #else
30536 char (*f) () = $ac_func;
30537 #endif
30538 #ifdef __cplusplus
30539 }
30540 #endif
30541
30542 int
30543 main ()
30544 {
30545 return f != $ac_func;
30546 ;
30547 return 0;
30548 }
30549 _ACEOF
30550 rm -f conftest.$ac_objext conftest$ac_exeext
30551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30552 (eval $ac_link) 2>conftest.er1
30553 ac_status=$?
30554 grep -v '^ *+' conftest.er1 >conftest.err
30555 rm -f conftest.er1
30556 cat conftest.err >&5
30557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30558 (exit $ac_status); } &&
30559 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30561 (eval $ac_try) 2>&5
30562 ac_status=$?
30563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30564 (exit $ac_status); }; } &&
30565 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
30571 eval "$as_ac_var=yes"
30572 else
30573 echo "$as_me: failed program was:" >&5
30574 sed 's/^/| /' conftest.$ac_ext >&5
30575
30576 eval "$as_ac_var=no"
30577 fi
30578 rm -f conftest.err conftest.$ac_objext \
30579 conftest$ac_exeext conftest.$ac_ext
30580 fi
30581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30582 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30583 if test `eval echo '${'$as_ac_var'}'` = yes; then
30584 cat >>confdefs.h <<_ACEOF
30585 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30586 _ACEOF
30587
30588 fi
30589 done
30590
30591 else
30592 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
30593 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
30594 fi
30595
30596
30597
30598 ac_ext=cc
30599 ac_cpp='$CXXCPP $CPPFLAGS'
30600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30603
30604
30605
30606 for ac_func in vsnprintf
30607 do
30608 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30609 echo "$as_me:$LINENO: checking for $ac_func" >&5
30610 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30611 if eval "test \"\${$as_ac_var+set}\" = set"; then
30612 echo $ECHO_N "(cached) $ECHO_C" >&6
30613 else
30614 cat >conftest.$ac_ext <<_ACEOF
30615 /* confdefs.h. */
30616 _ACEOF
30617 cat confdefs.h >>conftest.$ac_ext
30618 cat >>conftest.$ac_ext <<_ACEOF
30619 /* end confdefs.h. */
30620 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30621 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30622 #define $ac_func innocuous_$ac_func
30623
30624 /* System header to define __stub macros and hopefully few prototypes,
30625 which can conflict with char $ac_func (); below.
30626 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30627 <limits.h> exists even on freestanding compilers. */
30628
30629 #ifdef __STDC__
30630 # include <limits.h>
30631 #else
30632 # include <assert.h>
30633 #endif
30634
30635 #undef $ac_func
30636
30637 /* Override any gcc2 internal prototype to avoid an error. */
30638 #ifdef __cplusplus
30639 extern "C"
30640 {
30641 #endif
30642 /* We use char because int might match the return type of a gcc2
30643 builtin and then its argument prototype would still apply. */
30644 char $ac_func ();
30645 /* The GNU C library defines this for functions which it implements
30646 to always fail with ENOSYS. Some functions are actually named
30647 something starting with __ and the normal name is an alias. */
30648 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30649 choke me
30650 #else
30651 char (*f) () = $ac_func;
30652 #endif
30653 #ifdef __cplusplus
30654 }
30655 #endif
30656
30657 int
30658 main ()
30659 {
30660 return f != $ac_func;
30661 ;
30662 return 0;
30663 }
30664 _ACEOF
30665 rm -f conftest.$ac_objext conftest$ac_exeext
30666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30667 (eval $ac_link) 2>conftest.er1
30668 ac_status=$?
30669 grep -v '^ *+' conftest.er1 >conftest.err
30670 rm -f conftest.er1
30671 cat conftest.err >&5
30672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30673 (exit $ac_status); } &&
30674 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30676 (eval $ac_try) 2>&5
30677 ac_status=$?
30678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30679 (exit $ac_status); }; } &&
30680 { ac_try='test -s conftest$ac_exeext'
30681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30682 (eval $ac_try) 2>&5
30683 ac_status=$?
30684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30685 (exit $ac_status); }; }; then
30686 eval "$as_ac_var=yes"
30687 else
30688 echo "$as_me: failed program was:" >&5
30689 sed 's/^/| /' conftest.$ac_ext >&5
30690
30691 eval "$as_ac_var=no"
30692 fi
30693 rm -f conftest.err conftest.$ac_objext \
30694 conftest$ac_exeext conftest.$ac_ext
30695 fi
30696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30698 if test `eval echo '${'$as_ac_var'}'` = yes; then
30699 cat >>confdefs.h <<_ACEOF
30700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30701 _ACEOF
30702
30703 fi
30704 done
30705
30706
30707 if test "$ac_cv_func_vsnprintf" = "yes"; then
30708 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
30709 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
30710 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
30711 echo $ECHO_N "(cached) $ECHO_C" >&6
30712 else
30713
30714 cat >conftest.$ac_ext <<_ACEOF
30715 /* confdefs.h. */
30716 _ACEOF
30717 cat confdefs.h >>conftest.$ac_ext
30718 cat >>conftest.$ac_ext <<_ACEOF
30719 /* end confdefs.h. */
30720
30721 #include <stdio.h>
30722 #include <stdarg.h>
30723
30724 int
30725 main ()
30726 {
30727
30728 char *buf;
30729 va_list ap;
30730 vsnprintf(buf, 10u, "%s", ap);
30731
30732 ;
30733 return 0;
30734 }
30735 _ACEOF
30736 rm -f conftest.$ac_objext
30737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30738 (eval $ac_compile) 2>conftest.er1
30739 ac_status=$?
30740 grep -v '^ *+' conftest.er1 >conftest.err
30741 rm -f conftest.er1
30742 cat conftest.err >&5
30743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30744 (exit $ac_status); } &&
30745 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30747 (eval $ac_try) 2>&5
30748 ac_status=$?
30749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30750 (exit $ac_status); }; } &&
30751 { ac_try='test -s conftest.$ac_objext'
30752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30753 (eval $ac_try) 2>&5
30754 ac_status=$?
30755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30756 (exit $ac_status); }; }; then
30757 wx_cv_func_vsnprintf_decl=yes
30758 else
30759 echo "$as_me: failed program was:" >&5
30760 sed 's/^/| /' conftest.$ac_ext >&5
30761
30762
30763 cat >conftest.$ac_ext <<_ACEOF
30764 /* confdefs.h. */
30765 _ACEOF
30766 cat confdefs.h >>conftest.$ac_ext
30767 cat >>conftest.$ac_ext <<_ACEOF
30768 /* end confdefs.h. */
30769
30770 #include <stdio.h>
30771 #include <stdarg.h>
30772 using namespace std;
30773
30774 int
30775 main ()
30776 {
30777
30778 char *buf;
30779 va_list ap;
30780 vsnprintf(buf, 10u, "%s", ap);
30781
30782 ;
30783 return 0;
30784 }
30785 _ACEOF
30786 rm -f conftest.$ac_objext
30787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30788 (eval $ac_compile) 2>conftest.er1
30789 ac_status=$?
30790 grep -v '^ *+' conftest.er1 >conftest.err
30791 rm -f conftest.er1
30792 cat conftest.err >&5
30793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30794 (exit $ac_status); } &&
30795 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30797 (eval $ac_try) 2>&5
30798 ac_status=$?
30799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30800 (exit $ac_status); }; } &&
30801 { ac_try='test -s conftest.$ac_objext'
30802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30803 (eval $ac_try) 2>&5
30804 ac_status=$?
30805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30806 (exit $ac_status); }; }; then
30807 wx_cv_func_vsnprintf_decl=yes
30808 else
30809 echo "$as_me: failed program was:" >&5
30810 sed 's/^/| /' conftest.$ac_ext >&5
30811
30812 wx_cv_func_vsnprintf_decl=no
30813
30814 fi
30815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30816
30817
30818 fi
30819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30820
30821
30822 fi
30823 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
30824 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
30825
30826 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
30827 cat >>confdefs.h <<\_ACEOF
30828 #define HAVE_VSNPRINTF_DECL 1
30829 _ACEOF
30830
30831 fi
30832 fi
30833
30834 if test "$wxUSE_UNICODE" = yes; then
30835
30836
30837
30838
30839
30840
30841 for ac_func in wputc wputchar putws fputws wprintf vswprintf
30842 do
30843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30844 echo "$as_me:$LINENO: checking for $ac_func" >&5
30845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30846 if eval "test \"\${$as_ac_var+set}\" = set"; then
30847 echo $ECHO_N "(cached) $ECHO_C" >&6
30848 else
30849 cat >conftest.$ac_ext <<_ACEOF
30850 /* confdefs.h. */
30851 _ACEOF
30852 cat confdefs.h >>conftest.$ac_ext
30853 cat >>conftest.$ac_ext <<_ACEOF
30854 /* end confdefs.h. */
30855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30857 #define $ac_func innocuous_$ac_func
30858
30859 /* System header to define __stub macros and hopefully few prototypes,
30860 which can conflict with char $ac_func (); below.
30861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30862 <limits.h> exists even on freestanding compilers. */
30863
30864 #ifdef __STDC__
30865 # include <limits.h>
30866 #else
30867 # include <assert.h>
30868 #endif
30869
30870 #undef $ac_func
30871
30872 /* Override any gcc2 internal prototype to avoid an error. */
30873 #ifdef __cplusplus
30874 extern "C"
30875 {
30876 #endif
30877 /* We use char because int might match the return type of a gcc2
30878 builtin and then its argument prototype would still apply. */
30879 char $ac_func ();
30880 /* The GNU C library defines this for functions which it implements
30881 to always fail with ENOSYS. Some functions are actually named
30882 something starting with __ and the normal name is an alias. */
30883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30884 choke me
30885 #else
30886 char (*f) () = $ac_func;
30887 #endif
30888 #ifdef __cplusplus
30889 }
30890 #endif
30891
30892 int
30893 main ()
30894 {
30895 return f != $ac_func;
30896 ;
30897 return 0;
30898 }
30899 _ACEOF
30900 rm -f conftest.$ac_objext conftest$ac_exeext
30901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30902 (eval $ac_link) 2>conftest.er1
30903 ac_status=$?
30904 grep -v '^ *+' conftest.er1 >conftest.err
30905 rm -f conftest.er1
30906 cat conftest.err >&5
30907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30908 (exit $ac_status); } &&
30909 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30911 (eval $ac_try) 2>&5
30912 ac_status=$?
30913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30914 (exit $ac_status); }; } &&
30915 { ac_try='test -s conftest$ac_exeext'
30916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30917 (eval $ac_try) 2>&5
30918 ac_status=$?
30919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30920 (exit $ac_status); }; }; then
30921 eval "$as_ac_var=yes"
30922 else
30923 echo "$as_me: failed program was:" >&5
30924 sed 's/^/| /' conftest.$ac_ext >&5
30925
30926 eval "$as_ac_var=no"
30927 fi
30928 rm -f conftest.err conftest.$ac_objext \
30929 conftest$ac_exeext conftest.$ac_ext
30930 fi
30931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30932 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30933 if test `eval echo '${'$as_ac_var'}'` = yes; then
30934 cat >>confdefs.h <<_ACEOF
30935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30936 _ACEOF
30937
30938 fi
30939 done
30940
30941
30942 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
30943 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
30944 cat >conftest.$ac_ext <<_ACEOF
30945 /* confdefs.h. */
30946 _ACEOF
30947 cat confdefs.h >>conftest.$ac_ext
30948 cat >>conftest.$ac_ext <<_ACEOF
30949 /* end confdefs.h. */
30950 #include <wchar.h>
30951 int
30952 main ()
30953 {
30954 &_vsnwprintf;
30955 ;
30956 return 0;
30957 }
30958 _ACEOF
30959 rm -f conftest.$ac_objext
30960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30961 (eval $ac_compile) 2>conftest.er1
30962 ac_status=$?
30963 grep -v '^ *+' conftest.er1 >conftest.err
30964 rm -f conftest.er1
30965 cat conftest.err >&5
30966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30967 (exit $ac_status); } &&
30968 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30970 (eval $ac_try) 2>&5
30971 ac_status=$?
30972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30973 (exit $ac_status); }; } &&
30974 { ac_try='test -s conftest.$ac_objext'
30975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30976 (eval $ac_try) 2>&5
30977 ac_status=$?
30978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30979 (exit $ac_status); }; }; then
30980 echo "$as_me:$LINENO: result: yes" >&5
30981 echo "${ECHO_T}yes" >&6
30982 cat >>confdefs.h <<\_ACEOF
30983 #define HAVE__VSNWPRINTF 1
30984 _ACEOF
30985
30986 else
30987 echo "$as_me: failed program was:" >&5
30988 sed 's/^/| /' conftest.$ac_ext >&5
30989
30990 echo "$as_me:$LINENO: result: no" >&5
30991 echo "${ECHO_T}no" >&6
30992 fi
30993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
30994 fi
30995
30996 ac_ext=c
30997 ac_cpp='$CPP $CPPFLAGS'
30998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31001
31002
31003
31004
31005 if test "$TOOLKIT" != "MSW"; then
31006
31007
31008
31009
31010 ac_ext=cc
31011 ac_cpp='$CXXCPP $CPPFLAGS'
31012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31015
31016
31017
31018
31019 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
31020 if test "${with_libiconv_prefix+set}" = set; then
31021 withval="$with_libiconv_prefix"
31022
31023 for dir in `echo "$withval" | tr : ' '`; do
31024 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
31025 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
31026 done
31027
31028 fi;
31029
31030 echo "$as_me:$LINENO: checking for iconv" >&5
31031 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
31032 if test "${am_cv_func_iconv+set}" = set; then
31033 echo $ECHO_N "(cached) $ECHO_C" >&6
31034 else
31035
31036 am_cv_func_iconv="no, consider installing GNU libiconv"
31037 am_cv_lib_iconv=no
31038 cat >conftest.$ac_ext <<_ACEOF
31039 /* confdefs.h. */
31040 _ACEOF
31041 cat confdefs.h >>conftest.$ac_ext
31042 cat >>conftest.$ac_ext <<_ACEOF
31043 /* end confdefs.h. */
31044 #include <stdlib.h>
31045 #include <iconv.h>
31046 int
31047 main ()
31048 {
31049 iconv_t cd = iconv_open("","");
31050 iconv(cd,NULL,NULL,NULL,NULL);
31051 iconv_close(cd);
31052 ;
31053 return 0;
31054 }
31055 _ACEOF
31056 rm -f conftest.$ac_objext conftest$ac_exeext
31057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31058 (eval $ac_link) 2>conftest.er1
31059 ac_status=$?
31060 grep -v '^ *+' conftest.er1 >conftest.err
31061 rm -f conftest.er1
31062 cat conftest.err >&5
31063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31064 (exit $ac_status); } &&
31065 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31067 (eval $ac_try) 2>&5
31068 ac_status=$?
31069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31070 (exit $ac_status); }; } &&
31071 { ac_try='test -s conftest$ac_exeext'
31072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31073 (eval $ac_try) 2>&5
31074 ac_status=$?
31075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31076 (exit $ac_status); }; }; then
31077 am_cv_func_iconv=yes
31078 else
31079 echo "$as_me: failed program was:" >&5
31080 sed 's/^/| /' conftest.$ac_ext >&5
31081
31082 fi
31083 rm -f conftest.err conftest.$ac_objext \
31084 conftest$ac_exeext conftest.$ac_ext
31085 if test "$am_cv_func_iconv" != yes; then
31086 am_save_LIBS="$LIBS"
31087 LIBS="$LIBS -liconv"
31088 cat >conftest.$ac_ext <<_ACEOF
31089 /* confdefs.h. */
31090 _ACEOF
31091 cat confdefs.h >>conftest.$ac_ext
31092 cat >>conftest.$ac_ext <<_ACEOF
31093 /* end confdefs.h. */
31094 #include <stdlib.h>
31095 #include <iconv.h>
31096 int
31097 main ()
31098 {
31099 iconv_t cd = iconv_open("","");
31100 iconv(cd,NULL,NULL,NULL,NULL);
31101 iconv_close(cd);
31102 ;
31103 return 0;
31104 }
31105 _ACEOF
31106 rm -f conftest.$ac_objext conftest$ac_exeext
31107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31108 (eval $ac_link) 2>conftest.er1
31109 ac_status=$?
31110 grep -v '^ *+' conftest.er1 >conftest.err
31111 rm -f conftest.er1
31112 cat conftest.err >&5
31113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31114 (exit $ac_status); } &&
31115 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31117 (eval $ac_try) 2>&5
31118 ac_status=$?
31119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31120 (exit $ac_status); }; } &&
31121 { ac_try='test -s conftest$ac_exeext'
31122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31123 (eval $ac_try) 2>&5
31124 ac_status=$?
31125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31126 (exit $ac_status); }; }; then
31127 am_cv_lib_iconv=yes
31128 am_cv_func_iconv=yes
31129 else
31130 echo "$as_me: failed program was:" >&5
31131 sed 's/^/| /' conftest.$ac_ext >&5
31132
31133 fi
31134 rm -f conftest.err conftest.$ac_objext \
31135 conftest$ac_exeext conftest.$ac_ext
31136 LIBS="$am_save_LIBS"
31137 fi
31138
31139 fi
31140 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
31141 echo "${ECHO_T}$am_cv_func_iconv" >&6
31142 if test "$am_cv_func_iconv" = yes; then
31143
31144 cat >>confdefs.h <<\_ACEOF
31145 #define HAVE_ICONV 1
31146 _ACEOF
31147
31148 echo "$as_me:$LINENO: checking if iconv needs const" >&5
31149 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
31150 if test "${wx_cv_func_iconv_const+set}" = set; then
31151 echo $ECHO_N "(cached) $ECHO_C" >&6
31152 else
31153 cat >conftest.$ac_ext <<_ACEOF
31154 /* confdefs.h. */
31155 _ACEOF
31156 cat confdefs.h >>conftest.$ac_ext
31157 cat >>conftest.$ac_ext <<_ACEOF
31158 /* end confdefs.h. */
31159
31160 #include <stdlib.h>
31161 #include <iconv.h>
31162 extern
31163 #ifdef __cplusplus
31164 "C"
31165 #endif
31166 #if defined(__STDC__) || defined(__cplusplus)
31167 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
31168 #else
31169 size_t iconv();
31170 #endif
31171
31172 int
31173 main ()
31174 {
31175
31176 ;
31177 return 0;
31178 }
31179 _ACEOF
31180 rm -f conftest.$ac_objext
31181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31182 (eval $ac_compile) 2>conftest.er1
31183 ac_status=$?
31184 grep -v '^ *+' conftest.er1 >conftest.err
31185 rm -f conftest.er1
31186 cat conftest.err >&5
31187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31188 (exit $ac_status); } &&
31189 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31191 (eval $ac_try) 2>&5
31192 ac_status=$?
31193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31194 (exit $ac_status); }; } &&
31195 { ac_try='test -s conftest.$ac_objext'
31196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31197 (eval $ac_try) 2>&5
31198 ac_status=$?
31199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31200 (exit $ac_status); }; }; then
31201 wx_cv_func_iconv_const="no"
31202 else
31203 echo "$as_me: failed program was:" >&5
31204 sed 's/^/| /' conftest.$ac_ext >&5
31205
31206 wx_cv_func_iconv_const="yes"
31207
31208 fi
31209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31210
31211 fi
31212 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
31213 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
31214
31215 iconv_const=
31216 if test "x$wx_cv_func_iconv_const" = "xyes"; then
31217 iconv_const="const"
31218 fi
31219
31220
31221 cat >>confdefs.h <<_ACEOF
31222 #define ICONV_CONST $iconv_const
31223 _ACEOF
31224
31225 fi
31226 LIBICONV=
31227 if test "$am_cv_lib_iconv" = yes; then
31228 LIBICONV="-liconv"
31229 fi
31230
31231
31232 LIBS="$LIBICONV $LIBS"
31233 ac_ext=c
31234 ac_cpp='$CPP $CPPFLAGS'
31235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31238
31239
31240 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
31241
31242 for ac_func in sigaction
31243 do
31244 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31245 echo "$as_me:$LINENO: checking for $ac_func" >&5
31246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31247 if eval "test \"\${$as_ac_var+set}\" = set"; then
31248 echo $ECHO_N "(cached) $ECHO_C" >&6
31249 else
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31258 #define $ac_func innocuous_$ac_func
31259
31260 /* System header to define __stub macros and hopefully few prototypes,
31261 which can conflict with char $ac_func (); below.
31262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31263 <limits.h> exists even on freestanding compilers. */
31264
31265 #ifdef __STDC__
31266 # include <limits.h>
31267 #else
31268 # include <assert.h>
31269 #endif
31270
31271 #undef $ac_func
31272
31273 /* Override any gcc2 internal prototype to avoid an error. */
31274 #ifdef __cplusplus
31275 extern "C"
31276 {
31277 #endif
31278 /* We use char because int might match the return type of a gcc2
31279 builtin and then its argument prototype would still apply. */
31280 char $ac_func ();
31281 /* The GNU C library defines this for functions which it implements
31282 to always fail with ENOSYS. Some functions are actually named
31283 something starting with __ and the normal name is an alias. */
31284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31285 choke me
31286 #else
31287 char (*f) () = $ac_func;
31288 #endif
31289 #ifdef __cplusplus
31290 }
31291 #endif
31292
31293 int
31294 main ()
31295 {
31296 return f != $ac_func;
31297 ;
31298 return 0;
31299 }
31300 _ACEOF
31301 rm -f conftest.$ac_objext conftest$ac_exeext
31302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31303 (eval $ac_link) 2>conftest.er1
31304 ac_status=$?
31305 grep -v '^ *+' conftest.er1 >conftest.err
31306 rm -f conftest.er1
31307 cat conftest.err >&5
31308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31309 (exit $ac_status); } &&
31310 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31312 (eval $ac_try) 2>&5
31313 ac_status=$?
31314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31315 (exit $ac_status); }; } &&
31316 { ac_try='test -s conftest$ac_exeext'
31317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31318 (eval $ac_try) 2>&5
31319 ac_status=$?
31320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31321 (exit $ac_status); }; }; then
31322 eval "$as_ac_var=yes"
31323 else
31324 echo "$as_me: failed program was:" >&5
31325 sed 's/^/| /' conftest.$ac_ext >&5
31326
31327 eval "$as_ac_var=no"
31328 fi
31329 rm -f conftest.err conftest.$ac_objext \
31330 conftest$ac_exeext conftest.$ac_ext
31331 fi
31332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31334 if test `eval echo '${'$as_ac_var'}'` = yes; then
31335 cat >>confdefs.h <<_ACEOF
31336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31337 _ACEOF
31338
31339 fi
31340 done
31341
31342
31343 if test "$ac_cv_func_sigaction" = "no"; then
31344 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
31345 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
31346 wxUSE_ON_FATAL_EXCEPTION=no
31347 fi
31348
31349 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
31350
31351
31352 ac_ext=cc
31353 ac_cpp='$CXXCPP $CPPFLAGS'
31354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31357
31358
31359 echo "$as_me:$LINENO: checking for sa_handler type" >&5
31360 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
31361 if test "${wx_cv_type_sa_handler+set}" = set; then
31362 echo $ECHO_N "(cached) $ECHO_C" >&6
31363 else
31364
31365 cat >conftest.$ac_ext <<_ACEOF
31366 /* confdefs.h. */
31367 _ACEOF
31368 cat confdefs.h >>conftest.$ac_ext
31369 cat >>conftest.$ac_ext <<_ACEOF
31370 /* end confdefs.h. */
31371 #include <signal.h>
31372 int
31373 main ()
31374 {
31375
31376 extern void testSigHandler(int);
31377
31378 struct sigaction sa;
31379 sa.sa_handler = testSigHandler;
31380
31381 ;
31382 return 0;
31383 }
31384 _ACEOF
31385 rm -f conftest.$ac_objext
31386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31387 (eval $ac_compile) 2>conftest.er1
31388 ac_status=$?
31389 grep -v '^ *+' conftest.er1 >conftest.err
31390 rm -f conftest.er1
31391 cat conftest.err >&5
31392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31393 (exit $ac_status); } &&
31394 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31396 (eval $ac_try) 2>&5
31397 ac_status=$?
31398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31399 (exit $ac_status); }; } &&
31400 { ac_try='test -s conftest.$ac_objext'
31401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31402 (eval $ac_try) 2>&5
31403 ac_status=$?
31404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31405 (exit $ac_status); }; }; then
31406
31407 wx_cv_type_sa_handler=int
31408
31409 else
31410 echo "$as_me: failed program was:" >&5
31411 sed 's/^/| /' conftest.$ac_ext >&5
31412
31413
31414 wx_cv_type_sa_handler=void
31415
31416 fi
31417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31418
31419 fi
31420 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
31421 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
31422
31423 ac_ext=c
31424 ac_cpp='$CPP $CPPFLAGS'
31425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31428
31429
31430 cat >>confdefs.h <<_ACEOF
31431 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
31432 _ACEOF
31433
31434 fi
31435 fi
31436
31437 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
31438
31439
31440 ac_ext=cc
31441 ac_cpp='$CXXCPP $CPPFLAGS'
31442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31445
31446
31447 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
31448 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
31449 if test "${wx_cv_func_backtrace+set}" = set; then
31450 echo $ECHO_N "(cached) $ECHO_C" >&6
31451 else
31452
31453 cat >conftest.$ac_ext <<_ACEOF
31454 /* confdefs.h. */
31455 _ACEOF
31456 cat confdefs.h >>conftest.$ac_ext
31457 cat >>conftest.$ac_ext <<_ACEOF
31458 /* end confdefs.h. */
31459 #include <execinfo.h>
31460 int
31461 main ()
31462 {
31463
31464 void *trace[1];
31465 char **messages;
31466
31467 backtrace(trace, 1);
31468 messages = backtrace_symbols(trace, 1);
31469
31470 ;
31471 return 0;
31472 }
31473 _ACEOF
31474 rm -f conftest.$ac_objext
31475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31476 (eval $ac_compile) 2>conftest.er1
31477 ac_status=$?
31478 grep -v '^ *+' conftest.er1 >conftest.err
31479 rm -f conftest.er1
31480 cat conftest.err >&5
31481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31482 (exit $ac_status); } &&
31483 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31485 (eval $ac_try) 2>&5
31486 ac_status=$?
31487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31488 (exit $ac_status); }; } &&
31489 { ac_try='test -s conftest.$ac_objext'
31490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31491 (eval $ac_try) 2>&5
31492 ac_status=$?
31493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31494 (exit $ac_status); }; }; then
31495 wx_cv_func_backtrace=yes
31496 else
31497 echo "$as_me: failed program was:" >&5
31498 sed 's/^/| /' conftest.$ac_ext >&5
31499
31500 wx_cv_func_backtrace=no
31501
31502 fi
31503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31504
31505
31506 fi
31507 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
31508 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
31509
31510
31511 if test "$wx_cv_func_backtrace" = "no"; then
31512 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
31513 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
31514 wxUSE_STACKWALKER=no
31515 else
31516 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
31517 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
31518 if test "${wx_cv_func_cxa_demangle+set}" = set; then
31519 echo $ECHO_N "(cached) $ECHO_C" >&6
31520 else
31521
31522 cat >conftest.$ac_ext <<_ACEOF
31523 /* confdefs.h. */
31524 _ACEOF
31525 cat confdefs.h >>conftest.$ac_ext
31526 cat >>conftest.$ac_ext <<_ACEOF
31527 /* end confdefs.h. */
31528 #include <cxxabi.h>
31529 int
31530 main ()
31531 {
31532
31533 int rc;
31534 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
31535
31536 ;
31537 return 0;
31538 }
31539 _ACEOF
31540 rm -f conftest.$ac_objext
31541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31542 (eval $ac_compile) 2>conftest.er1
31543 ac_status=$?
31544 grep -v '^ *+' conftest.er1 >conftest.err
31545 rm -f conftest.er1
31546 cat conftest.err >&5
31547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31548 (exit $ac_status); } &&
31549 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31551 (eval $ac_try) 2>&5
31552 ac_status=$?
31553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31554 (exit $ac_status); }; } &&
31555 { ac_try='test -s conftest.$ac_objext'
31556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31557 (eval $ac_try) 2>&5
31558 ac_status=$?
31559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31560 (exit $ac_status); }; }; then
31561 wx_cv_func_cxa_demangle=yes
31562 else
31563 echo "$as_me: failed program was:" >&5
31564 sed 's/^/| /' conftest.$ac_ext >&5
31565
31566 wx_cv_func_cxa_demangle=no
31567
31568 fi
31569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31570
31571
31572 fi
31573 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
31574 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
31575
31576 if test "$wx_cv_func_cxa_demangle" = "yes"; then
31577 cat >>confdefs.h <<\_ACEOF
31578 #define HAVE_CXA_DEMANGLE 1
31579 _ACEOF
31580
31581 fi
31582 fi
31583
31584 ac_ext=c
31585 ac_cpp='$CPP $CPPFLAGS'
31586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31589
31590 fi
31591
31592 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
31593 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
31594 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
31595 wxUSE_STACKWALKER=no
31596 fi
31597
31598
31599
31600
31601 for ac_func in mkstemp mktemp
31602 do
31603 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31604 echo "$as_me:$LINENO: checking for $ac_func" >&5
31605 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31606 if eval "test \"\${$as_ac_var+set}\" = set"; then
31607 echo $ECHO_N "(cached) $ECHO_C" >&6
31608 else
31609 cat >conftest.$ac_ext <<_ACEOF
31610 /* confdefs.h. */
31611 _ACEOF
31612 cat confdefs.h >>conftest.$ac_ext
31613 cat >>conftest.$ac_ext <<_ACEOF
31614 /* end confdefs.h. */
31615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31617 #define $ac_func innocuous_$ac_func
31618
31619 /* System header to define __stub macros and hopefully few prototypes,
31620 which can conflict with char $ac_func (); below.
31621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31622 <limits.h> exists even on freestanding compilers. */
31623
31624 #ifdef __STDC__
31625 # include <limits.h>
31626 #else
31627 # include <assert.h>
31628 #endif
31629
31630 #undef $ac_func
31631
31632 /* Override any gcc2 internal prototype to avoid an error. */
31633 #ifdef __cplusplus
31634 extern "C"
31635 {
31636 #endif
31637 /* We use char because int might match the return type of a gcc2
31638 builtin and then its argument prototype would still apply. */
31639 char $ac_func ();
31640 /* The GNU C library defines this for functions which it implements
31641 to always fail with ENOSYS. Some functions are actually named
31642 something starting with __ and the normal name is an alias. */
31643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31644 choke me
31645 #else
31646 char (*f) () = $ac_func;
31647 #endif
31648 #ifdef __cplusplus
31649 }
31650 #endif
31651
31652 int
31653 main ()
31654 {
31655 return f != $ac_func;
31656 ;
31657 return 0;
31658 }
31659 _ACEOF
31660 rm -f conftest.$ac_objext conftest$ac_exeext
31661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31662 (eval $ac_link) 2>conftest.er1
31663 ac_status=$?
31664 grep -v '^ *+' conftest.er1 >conftest.err
31665 rm -f conftest.er1
31666 cat conftest.err >&5
31667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31668 (exit $ac_status); } &&
31669 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31671 (eval $ac_try) 2>&5
31672 ac_status=$?
31673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31674 (exit $ac_status); }; } &&
31675 { ac_try='test -s conftest$ac_exeext'
31676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31677 (eval $ac_try) 2>&5
31678 ac_status=$?
31679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31680 (exit $ac_status); }; }; then
31681 eval "$as_ac_var=yes"
31682 else
31683 echo "$as_me: failed program was:" >&5
31684 sed 's/^/| /' conftest.$ac_ext >&5
31685
31686 eval "$as_ac_var=no"
31687 fi
31688 rm -f conftest.err conftest.$ac_objext \
31689 conftest$ac_exeext conftest.$ac_ext
31690 fi
31691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31692 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31693 if test `eval echo '${'$as_ac_var'}'` = yes; then
31694 cat >>confdefs.h <<_ACEOF
31695 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31696 _ACEOF
31697 break
31698 fi
31699 done
31700
31701
31702 echo "$as_me:$LINENO: checking for statfs" >&5
31703 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
31704 if test "${wx_cv_func_statfs+set}" = set; then
31705 echo $ECHO_N "(cached) $ECHO_C" >&6
31706 else
31707 cat >conftest.$ac_ext <<_ACEOF
31708 /* confdefs.h. */
31709 _ACEOF
31710 cat confdefs.h >>conftest.$ac_ext
31711 cat >>conftest.$ac_ext <<_ACEOF
31712 /* end confdefs.h. */
31713
31714 #if defined(__BSD__)
31715 #include <sys/param.h>
31716 #include <sys/mount.h>
31717 #else
31718 #include <sys/vfs.h>
31719 #endif
31720
31721 int
31722 main ()
31723 {
31724
31725 long l;
31726 struct statfs fs;
31727 statfs("/", &fs);
31728 l = fs.f_bsize;
31729 l += fs.f_blocks;
31730 l += fs.f_bavail;
31731
31732 ;
31733 return 0;
31734 }
31735 _ACEOF
31736 rm -f conftest.$ac_objext
31737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31738 (eval $ac_compile) 2>conftest.er1
31739 ac_status=$?
31740 grep -v '^ *+' conftest.er1 >conftest.err
31741 rm -f conftest.er1
31742 cat conftest.err >&5
31743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31744 (exit $ac_status); } &&
31745 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31747 (eval $ac_try) 2>&5
31748 ac_status=$?
31749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31750 (exit $ac_status); }; } &&
31751 { ac_try='test -s conftest.$ac_objext'
31752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31753 (eval $ac_try) 2>&5
31754 ac_status=$?
31755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31756 (exit $ac_status); }; }; then
31757
31758 wx_cv_func_statfs=yes
31759
31760 else
31761 echo "$as_me: failed program was:" >&5
31762 sed 's/^/| /' conftest.$ac_ext >&5
31763
31764
31765 wx_cv_func_statfs=no
31766
31767
31768 fi
31769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31770
31771 fi
31772 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
31773 echo "${ECHO_T}$wx_cv_func_statfs" >&6
31774
31775 if test "$wx_cv_func_statfs" = "yes"; then
31776 wx_cv_type_statvfs_t="struct statfs"
31777 cat >>confdefs.h <<\_ACEOF
31778 #define HAVE_STATFS 1
31779 _ACEOF
31780
31781 else
31782 echo "$as_me:$LINENO: checking for statvfs" >&5
31783 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
31784 if test "${wx_cv_func_statvfs+set}" = set; then
31785 echo $ECHO_N "(cached) $ECHO_C" >&6
31786 else
31787 cat >conftest.$ac_ext <<_ACEOF
31788 /* confdefs.h. */
31789 _ACEOF
31790 cat confdefs.h >>conftest.$ac_ext
31791 cat >>conftest.$ac_ext <<_ACEOF
31792 /* end confdefs.h. */
31793
31794 #include <stddef.h>
31795 #include <sys/statvfs.h>
31796
31797 int
31798 main ()
31799 {
31800
31801 statvfs("/", NULL);
31802
31803 ;
31804 return 0;
31805 }
31806 _ACEOF
31807 rm -f conftest.$ac_objext
31808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31809 (eval $ac_compile) 2>conftest.er1
31810 ac_status=$?
31811 grep -v '^ *+' conftest.er1 >conftest.err
31812 rm -f conftest.er1
31813 cat conftest.err >&5
31814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31815 (exit $ac_status); } &&
31816 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31818 (eval $ac_try) 2>&5
31819 ac_status=$?
31820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31821 (exit $ac_status); }; } &&
31822 { ac_try='test -s conftest.$ac_objext'
31823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31824 (eval $ac_try) 2>&5
31825 ac_status=$?
31826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31827 (exit $ac_status); }; }; then
31828 wx_cv_func_statvfs=yes
31829 else
31830 echo "$as_me: failed program was:" >&5
31831 sed 's/^/| /' conftest.$ac_ext >&5
31832
31833 wx_cv_func_statvfs=no
31834
31835 fi
31836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31837
31838 fi
31839 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
31840 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
31841
31842 if test "$wx_cv_func_statvfs" = "yes"; then
31843
31844
31845 ac_ext=cc
31846 ac_cpp='$CXXCPP $CPPFLAGS'
31847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31850
31851
31852 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
31853 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
31854 if test "${wx_cv_type_statvfs_t+set}" = set; then
31855 echo $ECHO_N "(cached) $ECHO_C" >&6
31856 else
31857 cat >conftest.$ac_ext <<_ACEOF
31858 /* confdefs.h. */
31859 _ACEOF
31860 cat confdefs.h >>conftest.$ac_ext
31861 cat >>conftest.$ac_ext <<_ACEOF
31862 /* end confdefs.h. */
31863
31864 #include <sys/statvfs.h>
31865
31866 int
31867 main ()
31868 {
31869
31870 long l;
31871 statvfs_t fs;
31872 statvfs("/", &fs);
31873 l = fs.f_bsize;
31874 l += fs.f_blocks;
31875 l += fs.f_bavail;
31876
31877 ;
31878 return 0;
31879 }
31880 _ACEOF
31881 rm -f conftest.$ac_objext
31882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31883 (eval $ac_compile) 2>conftest.er1
31884 ac_status=$?
31885 grep -v '^ *+' conftest.er1 >conftest.err
31886 rm -f conftest.er1
31887 cat conftest.err >&5
31888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31889 (exit $ac_status); } &&
31890 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31892 (eval $ac_try) 2>&5
31893 ac_status=$?
31894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31895 (exit $ac_status); }; } &&
31896 { ac_try='test -s conftest.$ac_objext'
31897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31898 (eval $ac_try) 2>&5
31899 ac_status=$?
31900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31901 (exit $ac_status); }; }; then
31902 wx_cv_type_statvfs_t=statvfs_t
31903 else
31904 echo "$as_me: failed program was:" >&5
31905 sed 's/^/| /' conftest.$ac_ext >&5
31906
31907
31908 cat >conftest.$ac_ext <<_ACEOF
31909 /* confdefs.h. */
31910 _ACEOF
31911 cat confdefs.h >>conftest.$ac_ext
31912 cat >>conftest.$ac_ext <<_ACEOF
31913 /* end confdefs.h. */
31914
31915 #include <sys/statvfs.h>
31916
31917 int
31918 main ()
31919 {
31920
31921 long l;
31922 struct statvfs fs;
31923 statvfs("/", &fs);
31924 l = fs.f_bsize;
31925 l += fs.f_blocks;
31926 l += fs.f_bavail;
31927
31928 ;
31929 return 0;
31930 }
31931 _ACEOF
31932 rm -f conftest.$ac_objext
31933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31934 (eval $ac_compile) 2>conftest.er1
31935 ac_status=$?
31936 grep -v '^ *+' conftest.er1 >conftest.err
31937 rm -f conftest.er1
31938 cat conftest.err >&5
31939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31940 (exit $ac_status); } &&
31941 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31943 (eval $ac_try) 2>&5
31944 ac_status=$?
31945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31946 (exit $ac_status); }; } &&
31947 { ac_try='test -s conftest.$ac_objext'
31948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31949 (eval $ac_try) 2>&5
31950 ac_status=$?
31951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31952 (exit $ac_status); }; }; then
31953 wx_cv_type_statvfs_t="struct statvfs"
31954 else
31955 echo "$as_me: failed program was:" >&5
31956 sed 's/^/| /' conftest.$ac_ext >&5
31957
31958 wx_cv_type_statvfs_t="unknown"
31959
31960 fi
31961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31962
31963
31964 fi
31965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31966
31967 fi
31968 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
31969 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
31970
31971 ac_ext=c
31972 ac_cpp='$CPP $CPPFLAGS'
31973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31976
31977
31978 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31979 cat >>confdefs.h <<\_ACEOF
31980 #define HAVE_STATVFS 1
31981 _ACEOF
31982
31983 fi
31984 else
31985 wx_cv_type_statvfs_t="unknown"
31986 fi
31987 fi
31988
31989 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31990 cat >>confdefs.h <<_ACEOF
31991 #define WX_STATFS_T $wx_cv_type_statvfs_t
31992 _ACEOF
31993
31994 else
31995 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
31996 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
31997 fi
31998
31999 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
32000
32001
32002 for ac_func in fcntl flock
32003 do
32004 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32005 echo "$as_me:$LINENO: checking for $ac_func" >&5
32006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32007 if eval "test \"\${$as_ac_var+set}\" = set"; then
32008 echo $ECHO_N "(cached) $ECHO_C" >&6
32009 else
32010 cat >conftest.$ac_ext <<_ACEOF
32011 /* confdefs.h. */
32012 _ACEOF
32013 cat confdefs.h >>conftest.$ac_ext
32014 cat >>conftest.$ac_ext <<_ACEOF
32015 /* end confdefs.h. */
32016 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32018 #define $ac_func innocuous_$ac_func
32019
32020 /* System header to define __stub macros and hopefully few prototypes,
32021 which can conflict with char $ac_func (); below.
32022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32023 <limits.h> exists even on freestanding compilers. */
32024
32025 #ifdef __STDC__
32026 # include <limits.h>
32027 #else
32028 # include <assert.h>
32029 #endif
32030
32031 #undef $ac_func
32032
32033 /* Override any gcc2 internal prototype to avoid an error. */
32034 #ifdef __cplusplus
32035 extern "C"
32036 {
32037 #endif
32038 /* We use char because int might match the return type of a gcc2
32039 builtin and then its argument prototype would still apply. */
32040 char $ac_func ();
32041 /* The GNU C library defines this for functions which it implements
32042 to always fail with ENOSYS. Some functions are actually named
32043 something starting with __ and the normal name is an alias. */
32044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32045 choke me
32046 #else
32047 char (*f) () = $ac_func;
32048 #endif
32049 #ifdef __cplusplus
32050 }
32051 #endif
32052
32053 int
32054 main ()
32055 {
32056 return f != $ac_func;
32057 ;
32058 return 0;
32059 }
32060 _ACEOF
32061 rm -f conftest.$ac_objext conftest$ac_exeext
32062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32063 (eval $ac_link) 2>conftest.er1
32064 ac_status=$?
32065 grep -v '^ *+' conftest.er1 >conftest.err
32066 rm -f conftest.er1
32067 cat conftest.err >&5
32068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32069 (exit $ac_status); } &&
32070 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32072 (eval $ac_try) 2>&5
32073 ac_status=$?
32074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32075 (exit $ac_status); }; } &&
32076 { ac_try='test -s conftest$ac_exeext'
32077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32078 (eval $ac_try) 2>&5
32079 ac_status=$?
32080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32081 (exit $ac_status); }; }; then
32082 eval "$as_ac_var=yes"
32083 else
32084 echo "$as_me: failed program was:" >&5
32085 sed 's/^/| /' conftest.$ac_ext >&5
32086
32087 eval "$as_ac_var=no"
32088 fi
32089 rm -f conftest.err conftest.$ac_objext \
32090 conftest$ac_exeext conftest.$ac_ext
32091 fi
32092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32093 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32094 if test `eval echo '${'$as_ac_var'}'` = yes; then
32095 cat >>confdefs.h <<_ACEOF
32096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32097 _ACEOF
32098 break
32099 fi
32100 done
32101
32102
32103 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
32104 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
32105 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
32106 wxUSE_SNGLINST_CHECKER=no
32107 fi
32108 fi
32109
32110
32111 for ac_func in timegm
32112 do
32113 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32114 echo "$as_me:$LINENO: checking for $ac_func" >&5
32115 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32116 if eval "test \"\${$as_ac_var+set}\" = set"; then
32117 echo $ECHO_N "(cached) $ECHO_C" >&6
32118 else
32119 cat >conftest.$ac_ext <<_ACEOF
32120 /* confdefs.h. */
32121 _ACEOF
32122 cat confdefs.h >>conftest.$ac_ext
32123 cat >>conftest.$ac_ext <<_ACEOF
32124 /* end confdefs.h. */
32125 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32126 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32127 #define $ac_func innocuous_$ac_func
32128
32129 /* System header to define __stub macros and hopefully few prototypes,
32130 which can conflict with char $ac_func (); below.
32131 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32132 <limits.h> exists even on freestanding compilers. */
32133
32134 #ifdef __STDC__
32135 # include <limits.h>
32136 #else
32137 # include <assert.h>
32138 #endif
32139
32140 #undef $ac_func
32141
32142 /* Override any gcc2 internal prototype to avoid an error. */
32143 #ifdef __cplusplus
32144 extern "C"
32145 {
32146 #endif
32147 /* We use char because int might match the return type of a gcc2
32148 builtin and then its argument prototype would still apply. */
32149 char $ac_func ();
32150 /* The GNU C library defines this for functions which it implements
32151 to always fail with ENOSYS. Some functions are actually named
32152 something starting with __ and the normal name is an alias. */
32153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32154 choke me
32155 #else
32156 char (*f) () = $ac_func;
32157 #endif
32158 #ifdef __cplusplus
32159 }
32160 #endif
32161
32162 int
32163 main ()
32164 {
32165 return f != $ac_func;
32166 ;
32167 return 0;
32168 }
32169 _ACEOF
32170 rm -f conftest.$ac_objext conftest$ac_exeext
32171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32172 (eval $ac_link) 2>conftest.er1
32173 ac_status=$?
32174 grep -v '^ *+' conftest.er1 >conftest.err
32175 rm -f conftest.er1
32176 cat conftest.err >&5
32177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32178 (exit $ac_status); } &&
32179 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32181 (eval $ac_try) 2>&5
32182 ac_status=$?
32183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32184 (exit $ac_status); }; } &&
32185 { ac_try='test -s conftest$ac_exeext'
32186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32187 (eval $ac_try) 2>&5
32188 ac_status=$?
32189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32190 (exit $ac_status); }; }; then
32191 eval "$as_ac_var=yes"
32192 else
32193 echo "$as_me: failed program was:" >&5
32194 sed 's/^/| /' conftest.$ac_ext >&5
32195
32196 eval "$as_ac_var=no"
32197 fi
32198 rm -f conftest.err conftest.$ac_objext \
32199 conftest$ac_exeext conftest.$ac_ext
32200 fi
32201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32202 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32203 if test `eval echo '${'$as_ac_var'}'` = yes; then
32204 cat >>confdefs.h <<_ACEOF
32205 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32206 _ACEOF
32207
32208 fi
32209 done
32210
32211
32212
32213
32214 for ac_func in putenv setenv
32215 do
32216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32217 echo "$as_me:$LINENO: checking for $ac_func" >&5
32218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32219 if eval "test \"\${$as_ac_var+set}\" = set"; then
32220 echo $ECHO_N "(cached) $ECHO_C" >&6
32221 else
32222 cat >conftest.$ac_ext <<_ACEOF
32223 /* confdefs.h. */
32224 _ACEOF
32225 cat confdefs.h >>conftest.$ac_ext
32226 cat >>conftest.$ac_ext <<_ACEOF
32227 /* end confdefs.h. */
32228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32230 #define $ac_func innocuous_$ac_func
32231
32232 /* System header to define __stub macros and hopefully few prototypes,
32233 which can conflict with char $ac_func (); below.
32234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32235 <limits.h> exists even on freestanding compilers. */
32236
32237 #ifdef __STDC__
32238 # include <limits.h>
32239 #else
32240 # include <assert.h>
32241 #endif
32242
32243 #undef $ac_func
32244
32245 /* Override any gcc2 internal prototype to avoid an error. */
32246 #ifdef __cplusplus
32247 extern "C"
32248 {
32249 #endif
32250 /* We use char because int might match the return type of a gcc2
32251 builtin and then its argument prototype would still apply. */
32252 char $ac_func ();
32253 /* The GNU C library defines this for functions which it implements
32254 to always fail with ENOSYS. Some functions are actually named
32255 something starting with __ and the normal name is an alias. */
32256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32257 choke me
32258 #else
32259 char (*f) () = $ac_func;
32260 #endif
32261 #ifdef __cplusplus
32262 }
32263 #endif
32264
32265 int
32266 main ()
32267 {
32268 return f != $ac_func;
32269 ;
32270 return 0;
32271 }
32272 _ACEOF
32273 rm -f conftest.$ac_objext conftest$ac_exeext
32274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32275 (eval $ac_link) 2>conftest.er1
32276 ac_status=$?
32277 grep -v '^ *+' conftest.er1 >conftest.err
32278 rm -f conftest.er1
32279 cat conftest.err >&5
32280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32281 (exit $ac_status); } &&
32282 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32284 (eval $ac_try) 2>&5
32285 ac_status=$?
32286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32287 (exit $ac_status); }; } &&
32288 { ac_try='test -s conftest$ac_exeext'
32289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32290 (eval $ac_try) 2>&5
32291 ac_status=$?
32292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32293 (exit $ac_status); }; }; then
32294 eval "$as_ac_var=yes"
32295 else
32296 echo "$as_me: failed program was:" >&5
32297 sed 's/^/| /' conftest.$ac_ext >&5
32298
32299 eval "$as_ac_var=no"
32300 fi
32301 rm -f conftest.err conftest.$ac_objext \
32302 conftest$ac_exeext conftest.$ac_ext
32303 fi
32304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32306 if test `eval echo '${'$as_ac_var'}'` = yes; then
32307 cat >>confdefs.h <<_ACEOF
32308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32309 _ACEOF
32310 break
32311 fi
32312 done
32313
32314
32315 HAVE_SOME_SLEEP_FUNC=0
32316 if test "$USE_BEOS" = 1; then
32317 cat >>confdefs.h <<\_ACEOF
32318 #define HAVE_SLEEP 1
32319 _ACEOF
32320
32321 HAVE_SOME_SLEEP_FUNC=1
32322 fi
32323
32324 if test "$USE_DARWIN" = 1; then
32325 cat >>confdefs.h <<\_ACEOF
32326 #define HAVE_USLEEP 1
32327 _ACEOF
32328
32329 HAVE_SOME_SLEEP_FUNC=1
32330 fi
32331
32332 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
32333 POSIX4_LINK=
32334
32335 for ac_func in nanosleep
32336 do
32337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32338 echo "$as_me:$LINENO: checking for $ac_func" >&5
32339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32340 if eval "test \"\${$as_ac_var+set}\" = set"; then
32341 echo $ECHO_N "(cached) $ECHO_C" >&6
32342 else
32343 cat >conftest.$ac_ext <<_ACEOF
32344 /* confdefs.h. */
32345 _ACEOF
32346 cat confdefs.h >>conftest.$ac_ext
32347 cat >>conftest.$ac_ext <<_ACEOF
32348 /* end confdefs.h. */
32349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32351 #define $ac_func innocuous_$ac_func
32352
32353 /* System header to define __stub macros and hopefully few prototypes,
32354 which can conflict with char $ac_func (); below.
32355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32356 <limits.h> exists even on freestanding compilers. */
32357
32358 #ifdef __STDC__
32359 # include <limits.h>
32360 #else
32361 # include <assert.h>
32362 #endif
32363
32364 #undef $ac_func
32365
32366 /* Override any gcc2 internal prototype to avoid an error. */
32367 #ifdef __cplusplus
32368 extern "C"
32369 {
32370 #endif
32371 /* We use char because int might match the return type of a gcc2
32372 builtin and then its argument prototype would still apply. */
32373 char $ac_func ();
32374 /* The GNU C library defines this for functions which it implements
32375 to always fail with ENOSYS. Some functions are actually named
32376 something starting with __ and the normal name is an alias. */
32377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32378 choke me
32379 #else
32380 char (*f) () = $ac_func;
32381 #endif
32382 #ifdef __cplusplus
32383 }
32384 #endif
32385
32386 int
32387 main ()
32388 {
32389 return f != $ac_func;
32390 ;
32391 return 0;
32392 }
32393 _ACEOF
32394 rm -f conftest.$ac_objext conftest$ac_exeext
32395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32396 (eval $ac_link) 2>conftest.er1
32397 ac_status=$?
32398 grep -v '^ *+' conftest.er1 >conftest.err
32399 rm -f conftest.er1
32400 cat conftest.err >&5
32401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32402 (exit $ac_status); } &&
32403 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32405 (eval $ac_try) 2>&5
32406 ac_status=$?
32407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32408 (exit $ac_status); }; } &&
32409 { ac_try='test -s conftest$ac_exeext'
32410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32411 (eval $ac_try) 2>&5
32412 ac_status=$?
32413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32414 (exit $ac_status); }; }; then
32415 eval "$as_ac_var=yes"
32416 else
32417 echo "$as_me: failed program was:" >&5
32418 sed 's/^/| /' conftest.$ac_ext >&5
32419
32420 eval "$as_ac_var=no"
32421 fi
32422 rm -f conftest.err conftest.$ac_objext \
32423 conftest$ac_exeext conftest.$ac_ext
32424 fi
32425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32427 if test `eval echo '${'$as_ac_var'}'` = yes; then
32428 cat >>confdefs.h <<_ACEOF
32429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32430 _ACEOF
32431 cat >>confdefs.h <<\_ACEOF
32432 #define HAVE_NANOSLEEP 1
32433 _ACEOF
32434
32435 else
32436
32437 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
32438 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
32439 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
32440 echo $ECHO_N "(cached) $ECHO_C" >&6
32441 else
32442 ac_check_lib_save_LIBS=$LIBS
32443 LIBS="-lposix4 $LIBS"
32444 cat >conftest.$ac_ext <<_ACEOF
32445 /* confdefs.h. */
32446 _ACEOF
32447 cat confdefs.h >>conftest.$ac_ext
32448 cat >>conftest.$ac_ext <<_ACEOF
32449 /* end confdefs.h. */
32450
32451 /* Override any gcc2 internal prototype to avoid an error. */
32452 #ifdef __cplusplus
32453 extern "C"
32454 #endif
32455 /* We use char because int might match the return type of a gcc2
32456 builtin and then its argument prototype would still apply. */
32457 char nanosleep ();
32458 int
32459 main ()
32460 {
32461 nanosleep ();
32462 ;
32463 return 0;
32464 }
32465 _ACEOF
32466 rm -f conftest.$ac_objext conftest$ac_exeext
32467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32468 (eval $ac_link) 2>conftest.er1
32469 ac_status=$?
32470 grep -v '^ *+' conftest.er1 >conftest.err
32471 rm -f conftest.er1
32472 cat conftest.err >&5
32473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32474 (exit $ac_status); } &&
32475 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32477 (eval $ac_try) 2>&5
32478 ac_status=$?
32479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32480 (exit $ac_status); }; } &&
32481 { ac_try='test -s conftest$ac_exeext'
32482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32483 (eval $ac_try) 2>&5
32484 ac_status=$?
32485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32486 (exit $ac_status); }; }; then
32487 ac_cv_lib_posix4_nanosleep=yes
32488 else
32489 echo "$as_me: failed program was:" >&5
32490 sed 's/^/| /' conftest.$ac_ext >&5
32491
32492 ac_cv_lib_posix4_nanosleep=no
32493 fi
32494 rm -f conftest.err conftest.$ac_objext \
32495 conftest$ac_exeext conftest.$ac_ext
32496 LIBS=$ac_check_lib_save_LIBS
32497 fi
32498 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
32499 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
32500 if test $ac_cv_lib_posix4_nanosleep = yes; then
32501
32502 cat >>confdefs.h <<\_ACEOF
32503 #define HAVE_NANOSLEEP 1
32504 _ACEOF
32505
32506 POSIX4_LINK=" -lposix4"
32507
32508 else
32509
32510
32511 for ac_func in usleep
32512 do
32513 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32514 echo "$as_me:$LINENO: checking for $ac_func" >&5
32515 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32516 if eval "test \"\${$as_ac_var+set}\" = set"; then
32517 echo $ECHO_N "(cached) $ECHO_C" >&6
32518 else
32519 cat >conftest.$ac_ext <<_ACEOF
32520 /* confdefs.h. */
32521 _ACEOF
32522 cat confdefs.h >>conftest.$ac_ext
32523 cat >>conftest.$ac_ext <<_ACEOF
32524 /* end confdefs.h. */
32525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32527 #define $ac_func innocuous_$ac_func
32528
32529 /* System header to define __stub macros and hopefully few prototypes,
32530 which can conflict with char $ac_func (); below.
32531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32532 <limits.h> exists even on freestanding compilers. */
32533
32534 #ifdef __STDC__
32535 # include <limits.h>
32536 #else
32537 # include <assert.h>
32538 #endif
32539
32540 #undef $ac_func
32541
32542 /* Override any gcc2 internal prototype to avoid an error. */
32543 #ifdef __cplusplus
32544 extern "C"
32545 {
32546 #endif
32547 /* We use char because int might match the return type of a gcc2
32548 builtin and then its argument prototype would still apply. */
32549 char $ac_func ();
32550 /* The GNU C library defines this for functions which it implements
32551 to always fail with ENOSYS. Some functions are actually named
32552 something starting with __ and the normal name is an alias. */
32553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32554 choke me
32555 #else
32556 char (*f) () = $ac_func;
32557 #endif
32558 #ifdef __cplusplus
32559 }
32560 #endif
32561
32562 int
32563 main ()
32564 {
32565 return f != $ac_func;
32566 ;
32567 return 0;
32568 }
32569 _ACEOF
32570 rm -f conftest.$ac_objext conftest$ac_exeext
32571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32572 (eval $ac_link) 2>conftest.er1
32573 ac_status=$?
32574 grep -v '^ *+' conftest.er1 >conftest.err
32575 rm -f conftest.er1
32576 cat conftest.err >&5
32577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32578 (exit $ac_status); } &&
32579 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
32585 { ac_try='test -s conftest$ac_exeext'
32586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32587 (eval $ac_try) 2>&5
32588 ac_status=$?
32589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32590 (exit $ac_status); }; }; then
32591 eval "$as_ac_var=yes"
32592 else
32593 echo "$as_me: failed program was:" >&5
32594 sed 's/^/| /' conftest.$ac_ext >&5
32595
32596 eval "$as_ac_var=no"
32597 fi
32598 rm -f conftest.err conftest.$ac_objext \
32599 conftest$ac_exeext conftest.$ac_ext
32600 fi
32601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32602 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32603 if test `eval echo '${'$as_ac_var'}'` = yes; then
32604 cat >>confdefs.h <<_ACEOF
32605 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32606 _ACEOF
32607 cat >>confdefs.h <<\_ACEOF
32608 #define HAVE_USLEEP 1
32609 _ACEOF
32610
32611 else
32612 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
32613 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
32614
32615 fi
32616 done
32617
32618
32619
32620 fi
32621
32622
32623
32624 fi
32625 done
32626
32627 fi
32628
32629
32630
32631 for ac_func in uname gethostname
32632 do
32633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32634 echo "$as_me:$LINENO: checking for $ac_func" >&5
32635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32636 if eval "test \"\${$as_ac_var+set}\" = set"; then
32637 echo $ECHO_N "(cached) $ECHO_C" >&6
32638 else
32639 cat >conftest.$ac_ext <<_ACEOF
32640 /* confdefs.h. */
32641 _ACEOF
32642 cat confdefs.h >>conftest.$ac_ext
32643 cat >>conftest.$ac_ext <<_ACEOF
32644 /* end confdefs.h. */
32645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32647 #define $ac_func innocuous_$ac_func
32648
32649 /* System header to define __stub macros and hopefully few prototypes,
32650 which can conflict with char $ac_func (); below.
32651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32652 <limits.h> exists even on freestanding compilers. */
32653
32654 #ifdef __STDC__
32655 # include <limits.h>
32656 #else
32657 # include <assert.h>
32658 #endif
32659
32660 #undef $ac_func
32661
32662 /* Override any gcc2 internal prototype to avoid an error. */
32663 #ifdef __cplusplus
32664 extern "C"
32665 {
32666 #endif
32667 /* We use char because int might match the return type of a gcc2
32668 builtin and then its argument prototype would still apply. */
32669 char $ac_func ();
32670 /* The GNU C library defines this for functions which it implements
32671 to always fail with ENOSYS. Some functions are actually named
32672 something starting with __ and the normal name is an alias. */
32673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32674 choke me
32675 #else
32676 char (*f) () = $ac_func;
32677 #endif
32678 #ifdef __cplusplus
32679 }
32680 #endif
32681
32682 int
32683 main ()
32684 {
32685 return f != $ac_func;
32686 ;
32687 return 0;
32688 }
32689 _ACEOF
32690 rm -f conftest.$ac_objext conftest$ac_exeext
32691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32692 (eval $ac_link) 2>conftest.er1
32693 ac_status=$?
32694 grep -v '^ *+' conftest.er1 >conftest.err
32695 rm -f conftest.er1
32696 cat conftest.err >&5
32697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32698 (exit $ac_status); } &&
32699 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32701 (eval $ac_try) 2>&5
32702 ac_status=$?
32703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32704 (exit $ac_status); }; } &&
32705 { ac_try='test -s conftest$ac_exeext'
32706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32707 (eval $ac_try) 2>&5
32708 ac_status=$?
32709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32710 (exit $ac_status); }; }; then
32711 eval "$as_ac_var=yes"
32712 else
32713 echo "$as_me: failed program was:" >&5
32714 sed 's/^/| /' conftest.$ac_ext >&5
32715
32716 eval "$as_ac_var=no"
32717 fi
32718 rm -f conftest.err conftest.$ac_objext \
32719 conftest$ac_exeext conftest.$ac_ext
32720 fi
32721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32723 if test `eval echo '${'$as_ac_var'}'` = yes; then
32724 cat >>confdefs.h <<_ACEOF
32725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32726 _ACEOF
32727 break
32728 fi
32729 done
32730
32731
32732
32733
32734 ac_ext=cc
32735 ac_cpp='$CXXCPP $CPPFLAGS'
32736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32739
32740
32741
32742 for ac_func in strtok_r
32743 do
32744 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32745 echo "$as_me:$LINENO: checking for $ac_func" >&5
32746 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32747 if eval "test \"\${$as_ac_var+set}\" = set"; then
32748 echo $ECHO_N "(cached) $ECHO_C" >&6
32749 else
32750 cat >conftest.$ac_ext <<_ACEOF
32751 /* confdefs.h. */
32752 _ACEOF
32753 cat confdefs.h >>conftest.$ac_ext
32754 cat >>conftest.$ac_ext <<_ACEOF
32755 /* end confdefs.h. */
32756 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32757 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32758 #define $ac_func innocuous_$ac_func
32759
32760 /* System header to define __stub macros and hopefully few prototypes,
32761 which can conflict with char $ac_func (); below.
32762 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32763 <limits.h> exists even on freestanding compilers. */
32764
32765 #ifdef __STDC__
32766 # include <limits.h>
32767 #else
32768 # include <assert.h>
32769 #endif
32770
32771 #undef $ac_func
32772
32773 /* Override any gcc2 internal prototype to avoid an error. */
32774 #ifdef __cplusplus
32775 extern "C"
32776 {
32777 #endif
32778 /* We use char because int might match the return type of a gcc2
32779 builtin and then its argument prototype would still apply. */
32780 char $ac_func ();
32781 /* The GNU C library defines this for functions which it implements
32782 to always fail with ENOSYS. Some functions are actually named
32783 something starting with __ and the normal name is an alias. */
32784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32785 choke me
32786 #else
32787 char (*f) () = $ac_func;
32788 #endif
32789 #ifdef __cplusplus
32790 }
32791 #endif
32792
32793 int
32794 main ()
32795 {
32796 return f != $ac_func;
32797 ;
32798 return 0;
32799 }
32800 _ACEOF
32801 rm -f conftest.$ac_objext conftest$ac_exeext
32802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32803 (eval $ac_link) 2>conftest.er1
32804 ac_status=$?
32805 grep -v '^ *+' conftest.er1 >conftest.err
32806 rm -f conftest.er1
32807 cat conftest.err >&5
32808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32809 (exit $ac_status); } &&
32810 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32812 (eval $ac_try) 2>&5
32813 ac_status=$?
32814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32815 (exit $ac_status); }; } &&
32816 { ac_try='test -s conftest$ac_exeext'
32817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32818 (eval $ac_try) 2>&5
32819 ac_status=$?
32820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32821 (exit $ac_status); }; }; then
32822 eval "$as_ac_var=yes"
32823 else
32824 echo "$as_me: failed program was:" >&5
32825 sed 's/^/| /' conftest.$ac_ext >&5
32826
32827 eval "$as_ac_var=no"
32828 fi
32829 rm -f conftest.err conftest.$ac_objext \
32830 conftest$ac_exeext conftest.$ac_ext
32831 fi
32832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32834 if test `eval echo '${'$as_ac_var'}'` = yes; then
32835 cat >>confdefs.h <<_ACEOF
32836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32837 _ACEOF
32838
32839 fi
32840 done
32841
32842
32843 ac_ext=c
32844 ac_cpp='$CPP $CPPFLAGS'
32845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32848
32849
32850 INET_LINK=
32851
32852 for ac_func in inet_addr
32853 do
32854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32855 echo "$as_me:$LINENO: checking for $ac_func" >&5
32856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32857 if eval "test \"\${$as_ac_var+set}\" = set"; then
32858 echo $ECHO_N "(cached) $ECHO_C" >&6
32859 else
32860 cat >conftest.$ac_ext <<_ACEOF
32861 /* confdefs.h. */
32862 _ACEOF
32863 cat confdefs.h >>conftest.$ac_ext
32864 cat >>conftest.$ac_ext <<_ACEOF
32865 /* end confdefs.h. */
32866 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32867 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32868 #define $ac_func innocuous_$ac_func
32869
32870 /* System header to define __stub macros and hopefully few prototypes,
32871 which can conflict with char $ac_func (); below.
32872 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32873 <limits.h> exists even on freestanding compilers. */
32874
32875 #ifdef __STDC__
32876 # include <limits.h>
32877 #else
32878 # include <assert.h>
32879 #endif
32880
32881 #undef $ac_func
32882
32883 /* Override any gcc2 internal prototype to avoid an error. */
32884 #ifdef __cplusplus
32885 extern "C"
32886 {
32887 #endif
32888 /* We use char because int might match the return type of a gcc2
32889 builtin and then its argument prototype would still apply. */
32890 char $ac_func ();
32891 /* The GNU C library defines this for functions which it implements
32892 to always fail with ENOSYS. Some functions are actually named
32893 something starting with __ and the normal name is an alias. */
32894 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32895 choke me
32896 #else
32897 char (*f) () = $ac_func;
32898 #endif
32899 #ifdef __cplusplus
32900 }
32901 #endif
32902
32903 int
32904 main ()
32905 {
32906 return f != $ac_func;
32907 ;
32908 return 0;
32909 }
32910 _ACEOF
32911 rm -f conftest.$ac_objext conftest$ac_exeext
32912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32913 (eval $ac_link) 2>conftest.er1
32914 ac_status=$?
32915 grep -v '^ *+' conftest.er1 >conftest.err
32916 rm -f conftest.er1
32917 cat conftest.err >&5
32918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32919 (exit $ac_status); } &&
32920 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32922 (eval $ac_try) 2>&5
32923 ac_status=$?
32924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32925 (exit $ac_status); }; } &&
32926 { ac_try='test -s conftest$ac_exeext'
32927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32928 (eval $ac_try) 2>&5
32929 ac_status=$?
32930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32931 (exit $ac_status); }; }; then
32932 eval "$as_ac_var=yes"
32933 else
32934 echo "$as_me: failed program was:" >&5
32935 sed 's/^/| /' conftest.$ac_ext >&5
32936
32937 eval "$as_ac_var=no"
32938 fi
32939 rm -f conftest.err conftest.$ac_objext \
32940 conftest$ac_exeext conftest.$ac_ext
32941 fi
32942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32943 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32944 if test `eval echo '${'$as_ac_var'}'` = yes; then
32945 cat >>confdefs.h <<_ACEOF
32946 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32947 _ACEOF
32948 cat >>confdefs.h <<\_ACEOF
32949 #define HAVE_INET_ADDR 1
32950 _ACEOF
32951
32952 else
32953
32954 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
32955 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
32956 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
32957 echo $ECHO_N "(cached) $ECHO_C" >&6
32958 else
32959 ac_check_lib_save_LIBS=$LIBS
32960 LIBS="-lnsl $LIBS"
32961 cat >conftest.$ac_ext <<_ACEOF
32962 /* confdefs.h. */
32963 _ACEOF
32964 cat confdefs.h >>conftest.$ac_ext
32965 cat >>conftest.$ac_ext <<_ACEOF
32966 /* end confdefs.h. */
32967
32968 /* Override any gcc2 internal prototype to avoid an error. */
32969 #ifdef __cplusplus
32970 extern "C"
32971 #endif
32972 /* We use char because int might match the return type of a gcc2
32973 builtin and then its argument prototype would still apply. */
32974 char inet_addr ();
32975 int
32976 main ()
32977 {
32978 inet_addr ();
32979 ;
32980 return 0;
32981 }
32982 _ACEOF
32983 rm -f conftest.$ac_objext conftest$ac_exeext
32984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32985 (eval $ac_link) 2>conftest.er1
32986 ac_status=$?
32987 grep -v '^ *+' conftest.er1 >conftest.err
32988 rm -f conftest.er1
32989 cat conftest.err >&5
32990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32991 (exit $ac_status); } &&
32992 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32994 (eval $ac_try) 2>&5
32995 ac_status=$?
32996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32997 (exit $ac_status); }; } &&
32998 { ac_try='test -s conftest$ac_exeext'
32999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33000 (eval $ac_try) 2>&5
33001 ac_status=$?
33002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33003 (exit $ac_status); }; }; then
33004 ac_cv_lib_nsl_inet_addr=yes
33005 else
33006 echo "$as_me: failed program was:" >&5
33007 sed 's/^/| /' conftest.$ac_ext >&5
33008
33009 ac_cv_lib_nsl_inet_addr=no
33010 fi
33011 rm -f conftest.err conftest.$ac_objext \
33012 conftest$ac_exeext conftest.$ac_ext
33013 LIBS=$ac_check_lib_save_LIBS
33014 fi
33015 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
33016 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
33017 if test $ac_cv_lib_nsl_inet_addr = yes; then
33018 INET_LINK="nsl"
33019 else
33020
33021 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
33022 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
33023 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
33024 echo $ECHO_N "(cached) $ECHO_C" >&6
33025 else
33026 ac_check_lib_save_LIBS=$LIBS
33027 LIBS="-lresolv $LIBS"
33028 cat >conftest.$ac_ext <<_ACEOF
33029 /* confdefs.h. */
33030 _ACEOF
33031 cat confdefs.h >>conftest.$ac_ext
33032 cat >>conftest.$ac_ext <<_ACEOF
33033 /* end confdefs.h. */
33034
33035 /* Override any gcc2 internal prototype to avoid an error. */
33036 #ifdef __cplusplus
33037 extern "C"
33038 #endif
33039 /* We use char because int might match the return type of a gcc2
33040 builtin and then its argument prototype would still apply. */
33041 char inet_addr ();
33042 int
33043 main ()
33044 {
33045 inet_addr ();
33046 ;
33047 return 0;
33048 }
33049 _ACEOF
33050 rm -f conftest.$ac_objext conftest$ac_exeext
33051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33052 (eval $ac_link) 2>conftest.er1
33053 ac_status=$?
33054 grep -v '^ *+' conftest.er1 >conftest.err
33055 rm -f conftest.er1
33056 cat conftest.err >&5
33057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33058 (exit $ac_status); } &&
33059 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33061 (eval $ac_try) 2>&5
33062 ac_status=$?
33063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33064 (exit $ac_status); }; } &&
33065 { ac_try='test -s conftest$ac_exeext'
33066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33067 (eval $ac_try) 2>&5
33068 ac_status=$?
33069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33070 (exit $ac_status); }; }; then
33071 ac_cv_lib_resolv_inet_addr=yes
33072 else
33073 echo "$as_me: failed program was:" >&5
33074 sed 's/^/| /' conftest.$ac_ext >&5
33075
33076 ac_cv_lib_resolv_inet_addr=no
33077 fi
33078 rm -f conftest.err conftest.$ac_objext \
33079 conftest$ac_exeext conftest.$ac_ext
33080 LIBS=$ac_check_lib_save_LIBS
33081 fi
33082 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
33083 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
33084 if test $ac_cv_lib_resolv_inet_addr = yes; then
33085 INET_LINK="resolv"
33086 else
33087
33088 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
33089 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
33090 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
33091 echo $ECHO_N "(cached) $ECHO_C" >&6
33092 else
33093 ac_check_lib_save_LIBS=$LIBS
33094 LIBS="-lsocket $LIBS"
33095 cat >conftest.$ac_ext <<_ACEOF
33096 /* confdefs.h. */
33097 _ACEOF
33098 cat confdefs.h >>conftest.$ac_ext
33099 cat >>conftest.$ac_ext <<_ACEOF
33100 /* end confdefs.h. */
33101
33102 /* Override any gcc2 internal prototype to avoid an error. */
33103 #ifdef __cplusplus
33104 extern "C"
33105 #endif
33106 /* We use char because int might match the return type of a gcc2
33107 builtin and then its argument prototype would still apply. */
33108 char inet_addr ();
33109 int
33110 main ()
33111 {
33112 inet_addr ();
33113 ;
33114 return 0;
33115 }
33116 _ACEOF
33117 rm -f conftest.$ac_objext conftest$ac_exeext
33118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33119 (eval $ac_link) 2>conftest.er1
33120 ac_status=$?
33121 grep -v '^ *+' conftest.er1 >conftest.err
33122 rm -f conftest.er1
33123 cat conftest.err >&5
33124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33125 (exit $ac_status); } &&
33126 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33128 (eval $ac_try) 2>&5
33129 ac_status=$?
33130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33131 (exit $ac_status); }; } &&
33132 { ac_try='test -s conftest$ac_exeext'
33133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33134 (eval $ac_try) 2>&5
33135 ac_status=$?
33136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33137 (exit $ac_status); }; }; then
33138 ac_cv_lib_socket_inet_addr=yes
33139 else
33140 echo "$as_me: failed program was:" >&5
33141 sed 's/^/| /' conftest.$ac_ext >&5
33142
33143 ac_cv_lib_socket_inet_addr=no
33144 fi
33145 rm -f conftest.err conftest.$ac_objext \
33146 conftest$ac_exeext conftest.$ac_ext
33147 LIBS=$ac_check_lib_save_LIBS
33148 fi
33149 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
33150 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
33151 if test $ac_cv_lib_socket_inet_addr = yes; then
33152 INET_LINK="socket"
33153
33154 fi
33155
33156
33157
33158 fi
33159
33160
33161
33162 fi
33163
33164
33165
33166 fi
33167 done
33168
33169
33170
33171 for ac_func in inet_aton
33172 do
33173 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33174 echo "$as_me:$LINENO: checking for $ac_func" >&5
33175 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33176 if eval "test \"\${$as_ac_var+set}\" = set"; then
33177 echo $ECHO_N "(cached) $ECHO_C" >&6
33178 else
33179 cat >conftest.$ac_ext <<_ACEOF
33180 /* confdefs.h. */
33181 _ACEOF
33182 cat confdefs.h >>conftest.$ac_ext
33183 cat >>conftest.$ac_ext <<_ACEOF
33184 /* end confdefs.h. */
33185 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33186 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33187 #define $ac_func innocuous_$ac_func
33188
33189 /* System header to define __stub macros and hopefully few prototypes,
33190 which can conflict with char $ac_func (); below.
33191 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33192 <limits.h> exists even on freestanding compilers. */
33193
33194 #ifdef __STDC__
33195 # include <limits.h>
33196 #else
33197 # include <assert.h>
33198 #endif
33199
33200 #undef $ac_func
33201
33202 /* Override any gcc2 internal prototype to avoid an error. */
33203 #ifdef __cplusplus
33204 extern "C"
33205 {
33206 #endif
33207 /* We use char because int might match the return type of a gcc2
33208 builtin and then its argument prototype would still apply. */
33209 char $ac_func ();
33210 /* The GNU C library defines this for functions which it implements
33211 to always fail with ENOSYS. Some functions are actually named
33212 something starting with __ and the normal name is an alias. */
33213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33214 choke me
33215 #else
33216 char (*f) () = $ac_func;
33217 #endif
33218 #ifdef __cplusplus
33219 }
33220 #endif
33221
33222 int
33223 main ()
33224 {
33225 return f != $ac_func;
33226 ;
33227 return 0;
33228 }
33229 _ACEOF
33230 rm -f conftest.$ac_objext conftest$ac_exeext
33231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33232 (eval $ac_link) 2>conftest.er1
33233 ac_status=$?
33234 grep -v '^ *+' conftest.er1 >conftest.err
33235 rm -f conftest.er1
33236 cat conftest.err >&5
33237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33238 (exit $ac_status); } &&
33239 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33241 (eval $ac_try) 2>&5
33242 ac_status=$?
33243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33244 (exit $ac_status); }; } &&
33245 { ac_try='test -s conftest$ac_exeext'
33246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33247 (eval $ac_try) 2>&5
33248 ac_status=$?
33249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33250 (exit $ac_status); }; }; then
33251 eval "$as_ac_var=yes"
33252 else
33253 echo "$as_me: failed program was:" >&5
33254 sed 's/^/| /' conftest.$ac_ext >&5
33255
33256 eval "$as_ac_var=no"
33257 fi
33258 rm -f conftest.err conftest.$ac_objext \
33259 conftest$ac_exeext conftest.$ac_ext
33260 fi
33261 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33262 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33263 if test `eval echo '${'$as_ac_var'}'` = yes; then
33264 cat >>confdefs.h <<_ACEOF
33265 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33266 _ACEOF
33267 cat >>confdefs.h <<\_ACEOF
33268 #define HAVE_INET_ATON 1
33269 _ACEOF
33270
33271 else
33272
33273 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
33274 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
33275 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
33276 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
33277 echo $ECHO_N "(cached) $ECHO_C" >&6
33278 else
33279 ac_check_lib_save_LIBS=$LIBS
33280 LIBS="-l$INET_LINK $LIBS"
33281 cat >conftest.$ac_ext <<_ACEOF
33282 /* confdefs.h. */
33283 _ACEOF
33284 cat confdefs.h >>conftest.$ac_ext
33285 cat >>conftest.$ac_ext <<_ACEOF
33286 /* end confdefs.h. */
33287
33288 /* Override any gcc2 internal prototype to avoid an error. */
33289 #ifdef __cplusplus
33290 extern "C"
33291 #endif
33292 /* We use char because int might match the return type of a gcc2
33293 builtin and then its argument prototype would still apply. */
33294 char inet_aton ();
33295 int
33296 main ()
33297 {
33298 inet_aton ();
33299 ;
33300 return 0;
33301 }
33302 _ACEOF
33303 rm -f conftest.$ac_objext conftest$ac_exeext
33304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33305 (eval $ac_link) 2>conftest.er1
33306 ac_status=$?
33307 grep -v '^ *+' conftest.er1 >conftest.err
33308 rm -f conftest.er1
33309 cat conftest.err >&5
33310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33311 (exit $ac_status); } &&
33312 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33314 (eval $ac_try) 2>&5
33315 ac_status=$?
33316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33317 (exit $ac_status); }; } &&
33318 { ac_try='test -s conftest$ac_exeext'
33319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33320 (eval $ac_try) 2>&5
33321 ac_status=$?
33322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33323 (exit $ac_status); }; }; then
33324 eval "$as_ac_Lib=yes"
33325 else
33326 echo "$as_me: failed program was:" >&5
33327 sed 's/^/| /' conftest.$ac_ext >&5
33328
33329 eval "$as_ac_Lib=no"
33330 fi
33331 rm -f conftest.err conftest.$ac_objext \
33332 conftest$ac_exeext conftest.$ac_ext
33333 LIBS=$ac_check_lib_save_LIBS
33334 fi
33335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
33336 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
33337 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
33338 cat >>confdefs.h <<\_ACEOF
33339 #define HAVE_INET_ATON 1
33340 _ACEOF
33341
33342 fi
33343
33344
33345 fi
33346 done
33347
33348
33349 if test "x$INET_LINK" != "x"; then
33350 cat >>confdefs.h <<\_ACEOF
33351 #define HAVE_INET_ADDR 1
33352 _ACEOF
33353
33354 INET_LINK=" -l$INET_LINK"
33355 fi
33356
33357 fi
33358
33359
33360
33361 EXTRALIBS_ESD=
33362 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
33363 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
33364 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
33365 echo $ECHO_N "(cached) $ECHO_C" >&6
33366 else
33367 ac_check_lib_save_LIBS=$LIBS
33368 LIBS="-lesd $LIBS"
33369 cat >conftest.$ac_ext <<_ACEOF
33370 /* confdefs.h. */
33371 _ACEOF
33372 cat confdefs.h >>conftest.$ac_ext
33373 cat >>conftest.$ac_ext <<_ACEOF
33374 /* end confdefs.h. */
33375
33376 /* Override any gcc2 internal prototype to avoid an error. */
33377 #ifdef __cplusplus
33378 extern "C"
33379 #endif
33380 /* We use char because int might match the return type of a gcc2
33381 builtin and then its argument prototype would still apply. */
33382 char esd_close ();
33383 int
33384 main ()
33385 {
33386 esd_close ();
33387 ;
33388 return 0;
33389 }
33390 _ACEOF
33391 rm -f conftest.$ac_objext conftest$ac_exeext
33392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33393 (eval $ac_link) 2>conftest.er1
33394 ac_status=$?
33395 grep -v '^ *+' conftest.er1 >conftest.err
33396 rm -f conftest.er1
33397 cat conftest.err >&5
33398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33399 (exit $ac_status); } &&
33400 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33402 (eval $ac_try) 2>&5
33403 ac_status=$?
33404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33405 (exit $ac_status); }; } &&
33406 { ac_try='test -s conftest$ac_exeext'
33407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33408 (eval $ac_try) 2>&5
33409 ac_status=$?
33410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33411 (exit $ac_status); }; }; then
33412 ac_cv_lib_esd_esd_close=yes
33413 else
33414 echo "$as_me: failed program was:" >&5
33415 sed 's/^/| /' conftest.$ac_ext >&5
33416
33417 ac_cv_lib_esd_esd_close=no
33418 fi
33419 rm -f conftest.err conftest.$ac_objext \
33420 conftest$ac_exeext conftest.$ac_ext
33421 LIBS=$ac_check_lib_save_LIBS
33422 fi
33423 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
33424 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
33425 if test $ac_cv_lib_esd_esd_close = yes; then
33426
33427
33428 for ac_header in esd.h
33429 do
33430 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33431 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33432 echo "$as_me:$LINENO: checking for $ac_header" >&5
33433 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33434 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33435 echo $ECHO_N "(cached) $ECHO_C" >&6
33436 fi
33437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33438 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33439 else
33440 # Is the header compilable?
33441 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33442 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33443 cat >conftest.$ac_ext <<_ACEOF
33444 /* confdefs.h. */
33445 _ACEOF
33446 cat confdefs.h >>conftest.$ac_ext
33447 cat >>conftest.$ac_ext <<_ACEOF
33448 /* end confdefs.h. */
33449 $ac_includes_default
33450 #include <$ac_header>
33451 _ACEOF
33452 rm -f conftest.$ac_objext
33453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33454 (eval $ac_compile) 2>conftest.er1
33455 ac_status=$?
33456 grep -v '^ *+' conftest.er1 >conftest.err
33457 rm -f conftest.er1
33458 cat conftest.err >&5
33459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33460 (exit $ac_status); } &&
33461 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33463 (eval $ac_try) 2>&5
33464 ac_status=$?
33465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33466 (exit $ac_status); }; } &&
33467 { ac_try='test -s conftest.$ac_objext'
33468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33469 (eval $ac_try) 2>&5
33470 ac_status=$?
33471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33472 (exit $ac_status); }; }; then
33473 ac_header_compiler=yes
33474 else
33475 echo "$as_me: failed program was:" >&5
33476 sed 's/^/| /' conftest.$ac_ext >&5
33477
33478 ac_header_compiler=no
33479 fi
33480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33481 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33482 echo "${ECHO_T}$ac_header_compiler" >&6
33483
33484 # Is the header present?
33485 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33486 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33487 cat >conftest.$ac_ext <<_ACEOF
33488 /* confdefs.h. */
33489 _ACEOF
33490 cat confdefs.h >>conftest.$ac_ext
33491 cat >>conftest.$ac_ext <<_ACEOF
33492 /* end confdefs.h. */
33493 #include <$ac_header>
33494 _ACEOF
33495 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33496 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33497 ac_status=$?
33498 grep -v '^ *+' conftest.er1 >conftest.err
33499 rm -f conftest.er1
33500 cat conftest.err >&5
33501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33502 (exit $ac_status); } >/dev/null; then
33503 if test -s conftest.err; then
33504 ac_cpp_err=$ac_c_preproc_warn_flag
33505 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33506 else
33507 ac_cpp_err=
33508 fi
33509 else
33510 ac_cpp_err=yes
33511 fi
33512 if test -z "$ac_cpp_err"; then
33513 ac_header_preproc=yes
33514 else
33515 echo "$as_me: failed program was:" >&5
33516 sed 's/^/| /' conftest.$ac_ext >&5
33517
33518 ac_header_preproc=no
33519 fi
33520 rm -f conftest.err conftest.$ac_ext
33521 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33522 echo "${ECHO_T}$ac_header_preproc" >&6
33523
33524 # So? What about this header?
33525 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33526 yes:no: )
33527 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33528 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33529 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33530 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33531 ac_header_preproc=yes
33532 ;;
33533 no:yes:* )
33534 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33535 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33536 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33537 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33538 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33539 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33540 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33541 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33542 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33543 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33544 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33545 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33546 (
33547 cat <<\_ASBOX
33548 ## ----------------------------------------- ##
33549 ## Report this to wx-dev@lists.wxwidgets.org ##
33550 ## ----------------------------------------- ##
33551 _ASBOX
33552 ) |
33553 sed "s/^/$as_me: WARNING: /" >&2
33554 ;;
33555 esac
33556 echo "$as_me:$LINENO: checking for $ac_header" >&5
33557 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33558 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33559 echo $ECHO_N "(cached) $ECHO_C" >&6
33560 else
33561 eval "$as_ac_Header=\$ac_header_preproc"
33562 fi
33563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33564 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33565
33566 fi
33567 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33568 cat >>confdefs.h <<_ACEOF
33569 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33570 _ACEOF
33571
33572 EXTRALIBS_ESD="-lesd"
33573
33574 fi
33575
33576 done
33577
33578
33579 fi
33580
33581
33582
33583 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
33584 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
33585 cat >conftest.$ac_ext <<_ACEOF
33586 /* confdefs.h. */
33587 _ACEOF
33588 cat confdefs.h >>conftest.$ac_ext
33589 cat >>conftest.$ac_ext <<_ACEOF
33590 /* end confdefs.h. */
33591 #ifdef __linux__
33592 #include <linux/cdrom.h>
33593 #else
33594 /* For Solaris */
33595 #include <sys/cdio.h>
33596 #endif
33597
33598 int
33599 main ()
33600 {
33601 struct cdrom_tocentry entry, old_entry;
33602 ;
33603 return 0;
33604 }
33605 _ACEOF
33606 rm -f conftest.$ac_objext
33607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33608 (eval $ac_compile) 2>conftest.er1
33609 ac_status=$?
33610 grep -v '^ *+' conftest.er1 >conftest.err
33611 rm -f conftest.er1
33612 cat conftest.err >&5
33613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33614 (exit $ac_status); } &&
33615 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33617 (eval $ac_try) 2>&5
33618 ac_status=$?
33619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33620 (exit $ac_status); }; } &&
33621 { ac_try='test -s conftest.$ac_objext'
33622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33623 (eval $ac_try) 2>&5
33624 ac_status=$?
33625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33626 (exit $ac_status); }; }; then
33627 echo "$as_me:$LINENO: result: yes" >&5
33628 echo "${ECHO_T}yes" >&6
33629 cat >>confdefs.h <<\_ACEOF
33630 #define HAVE_KNOWN_CDROM_INTERFACE 1
33631 _ACEOF
33632
33633 else
33634 echo "$as_me: failed program was:" >&5
33635 sed 's/^/| /' conftest.$ac_ext >&5
33636
33637 echo "$as_me:$LINENO: result: no" >&5
33638 echo "${ECHO_T}no" >&6
33639 fi
33640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33641
33642
33643 cat >confcache <<\_ACEOF
33644 # This file is a shell script that caches the results of configure
33645 # tests run on this system so they can be shared between configure
33646 # scripts and configure runs, see configure's option --config-cache.
33647 # It is not useful on other systems. If it contains results you don't
33648 # want to keep, you may remove or edit it.
33649 #
33650 # config.status only pays attention to the cache file if you give it
33651 # the --recheck option to rerun configure.
33652 #
33653 # `ac_cv_env_foo' variables (set or unset) will be overridden when
33654 # loading this file, other *unset* `ac_cv_foo' will be assigned the
33655 # following values.
33656
33657 _ACEOF
33658
33659 # The following way of writing the cache mishandles newlines in values,
33660 # but we know of no workaround that is simple, portable, and efficient.
33661 # So, don't put newlines in cache variables' values.
33662 # Ultrix sh set writes to stderr and can't be redirected directly,
33663 # and sets the high bit in the cache file unless we assign to the vars.
33664 {
33665 (set) 2>&1 |
33666 case `(ac_space=' '; set | grep ac_space) 2>&1` in
33667 *ac_space=\ *)
33668 # `set' does not quote correctly, so add quotes (double-quote
33669 # substitution turns \\\\ into \\, and sed turns \\ into \).
33670 sed -n \
33671 "s/'/'\\\\''/g;
33672 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33673 ;;
33674 *)
33675 # `set' quotes correctly as required by POSIX, so do not add quotes.
33676 sed -n \
33677 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
33678 ;;
33679 esac;
33680 } |
33681 sed '
33682 t clear
33683 : clear
33684 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33685 t end
33686 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33687 : end' >>confcache
33688 if diff $cache_file confcache >/dev/null 2>&1; then :; else
33689 if test -w $cache_file; then
33690 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
33691 cat confcache >$cache_file
33692 else
33693 echo "not updating unwritable cache $cache_file"
33694 fi
33695 fi
33696 rm -f confcache
33697
33698
33699 CPP_MT_FLAG=
33700 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33701
33702
33703 THREADS_LINK=
33704 THREADS_CFLAGS=
33705
33706 if test "$wxUSE_THREADS" = "yes" ; then
33707 if test "$USE_BEOS" = 1; then
33708 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
33709 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
33710 wxUSE_THREADS="no"
33711 fi
33712 fi
33713
33714 if test "$wxUSE_THREADS" = "yes" ; then
33715
33716
33717 THREAD_OPTS="-pthread"
33718 case "${host}" in
33719 *-*-solaris2* | *-*-sunos4* )
33720 if test "x$GCC" = "xyes"; then
33721 THREAD_OPTS="-pthreads $THREAD_OPTS"
33722 else
33723 THREAD_OPTS="-mt $THREAD_OPTS"
33724 fi
33725 ;;
33726 *-*-freebsd*)
33727 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
33728 ;;
33729 *-*-darwin* | *-*-cygwin* )
33730 THREAD_OPTS=""
33731 ;;
33732 *-*-aix*)
33733 THREAD_OPTS="pthreads"
33734 ;;
33735 *-hp-hpux* )
33736 if test "x$GCC" != "xyes"; then
33737 THREAD_OPTS=""
33738 fi
33739 ;;
33740
33741 *-*-irix* )
33742 if test "x$GCC" = "xyes"; then
33743 THREAD_OPTS=""
33744 fi
33745 ;;
33746
33747 *-*-*UnixWare*)
33748 if test "x$GCC" != "xyes"; then
33749 THREAD_OPTS="-Ethread"
33750 fi
33751 ;;
33752 esac
33753
33754 THREAD_OPTS="$THREAD_OPTS pthread none"
33755
33756 THREADS_OK=no
33757 for flag in $THREAD_OPTS; do
33758 case $flag in
33759 none)
33760 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
33761 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
33762 ;;
33763
33764 -*)
33765 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
33766 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
33767 THREADS_CFLAGS="$flag"
33768 ;;
33769
33770 *)
33771 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
33772 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
33773 THREADS_LINK="-l$flag"
33774 ;;
33775 esac
33776
33777 save_LIBS="$LIBS"
33778 save_CFLAGS="$CFLAGS"
33779 LIBS="$THREADS_LINK $LIBS"
33780 CFLAGS="$THREADS_CFLAGS $CFLAGS"
33781
33782 cat >conftest.$ac_ext <<_ACEOF
33783 /* confdefs.h. */
33784 _ACEOF
33785 cat confdefs.h >>conftest.$ac_ext
33786 cat >>conftest.$ac_ext <<_ACEOF
33787 /* end confdefs.h. */
33788 #include <pthread.h>
33789 int
33790 main ()
33791 {
33792 pthread_create(0,0,0,0);
33793 ;
33794 return 0;
33795 }
33796 _ACEOF
33797 rm -f conftest.$ac_objext conftest$ac_exeext
33798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33799 (eval $ac_link) 2>conftest.er1
33800 ac_status=$?
33801 grep -v '^ *+' conftest.er1 >conftest.err
33802 rm -f conftest.er1
33803 cat conftest.err >&5
33804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33805 (exit $ac_status); } &&
33806 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33808 (eval $ac_try) 2>&5
33809 ac_status=$?
33810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33811 (exit $ac_status); }; } &&
33812 { ac_try='test -s conftest$ac_exeext'
33813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33814 (eval $ac_try) 2>&5
33815 ac_status=$?
33816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33817 (exit $ac_status); }; }; then
33818 THREADS_OK=yes
33819 else
33820 echo "$as_me: failed program was:" >&5
33821 sed 's/^/| /' conftest.$ac_ext >&5
33822
33823 fi
33824 rm -f conftest.err conftest.$ac_objext \
33825 conftest$ac_exeext conftest.$ac_ext
33826
33827 LIBS="$save_LIBS"
33828 CFLAGS="$save_CFLAGS"
33829
33830 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
33831 echo "${ECHO_T}$THREADS_OK" >&6
33832 if test "x$THREADS_OK" = "xyes"; then
33833 break;
33834 fi
33835
33836 THREADS_LINK=""
33837 THREADS_CFLAGS=""
33838 done
33839
33840 if test "x$THREADS_OK" != "xyes"; then
33841 wxUSE_THREADS=no
33842 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
33843 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
33844 else
33845 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
33846 LIBS="$THREADS_LINK $LIBS"
33847
33848 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
33849 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
33850 flag=no
33851 case "${host}" in
33852 *-aix*)
33853 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
33854 flag="-D_THREAD_SAFE"
33855 ;;
33856 *-freebsd*)
33857 flag="-D_THREAD_SAFE"
33858 ;;
33859 *-hp-hpux* )
33860 flag="-D_REENTRANT"
33861 if test "x$GCC" != "xyes"; then
33862 flag="$flag -D_RWSTD_MULTI_THREAD"
33863 fi
33864 ;;
33865 *solaris* | alpha*-osf*)
33866 flag="-D_REENTRANT"
33867 ;;
33868 esac
33869 echo "$as_me:$LINENO: result: ${flag}" >&5
33870 echo "${ECHO_T}${flag}" >&6
33871 if test "x$flag" != xno; then
33872 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
33873 fi
33874
33875 if test "x$THREADS_CFLAGS" != "x"; then
33876 CFLAGS="$CFLAGS $THREADS_CFLAGS"
33877 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
33878 fi
33879 fi
33880 fi
33881
33882 if test "$wxUSE_THREADS" = "yes" ; then
33883
33884 for ac_func in thr_setconcurrency
33885 do
33886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33887 echo "$as_me:$LINENO: checking for $ac_func" >&5
33888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33889 if eval "test \"\${$as_ac_var+set}\" = set"; then
33890 echo $ECHO_N "(cached) $ECHO_C" >&6
33891 else
33892 cat >conftest.$ac_ext <<_ACEOF
33893 /* confdefs.h. */
33894 _ACEOF
33895 cat confdefs.h >>conftest.$ac_ext
33896 cat >>conftest.$ac_ext <<_ACEOF
33897 /* end confdefs.h. */
33898 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33900 #define $ac_func innocuous_$ac_func
33901
33902 /* System header to define __stub macros and hopefully few prototypes,
33903 which can conflict with char $ac_func (); below.
33904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33905 <limits.h> exists even on freestanding compilers. */
33906
33907 #ifdef __STDC__
33908 # include <limits.h>
33909 #else
33910 # include <assert.h>
33911 #endif
33912
33913 #undef $ac_func
33914
33915 /* Override any gcc2 internal prototype to avoid an error. */
33916 #ifdef __cplusplus
33917 extern "C"
33918 {
33919 #endif
33920 /* We use char because int might match the return type of a gcc2
33921 builtin and then its argument prototype would still apply. */
33922 char $ac_func ();
33923 /* The GNU C library defines this for functions which it implements
33924 to always fail with ENOSYS. Some functions are actually named
33925 something starting with __ and the normal name is an alias. */
33926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33927 choke me
33928 #else
33929 char (*f) () = $ac_func;
33930 #endif
33931 #ifdef __cplusplus
33932 }
33933 #endif
33934
33935 int
33936 main ()
33937 {
33938 return f != $ac_func;
33939 ;
33940 return 0;
33941 }
33942 _ACEOF
33943 rm -f conftest.$ac_objext conftest$ac_exeext
33944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33945 (eval $ac_link) 2>conftest.er1
33946 ac_status=$?
33947 grep -v '^ *+' conftest.er1 >conftest.err
33948 rm -f conftest.er1
33949 cat conftest.err >&5
33950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33951 (exit $ac_status); } &&
33952 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33954 (eval $ac_try) 2>&5
33955 ac_status=$?
33956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33957 (exit $ac_status); }; } &&
33958 { ac_try='test -s conftest$ac_exeext'
33959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33960 (eval $ac_try) 2>&5
33961 ac_status=$?
33962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33963 (exit $ac_status); }; }; then
33964 eval "$as_ac_var=yes"
33965 else
33966 echo "$as_me: failed program was:" >&5
33967 sed 's/^/| /' conftest.$ac_ext >&5
33968
33969 eval "$as_ac_var=no"
33970 fi
33971 rm -f conftest.err conftest.$ac_objext \
33972 conftest$ac_exeext conftest.$ac_ext
33973 fi
33974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33975 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33976 if test `eval echo '${'$as_ac_var'}'` = yes; then
33977 cat >>confdefs.h <<_ACEOF
33978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33979 _ACEOF
33980
33981 fi
33982 done
33983
33984
33985
33986 for ac_header in sched.h
33987 do
33988 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33989 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33990 echo "$as_me:$LINENO: checking for $ac_header" >&5
33991 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33992 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33993 echo $ECHO_N "(cached) $ECHO_C" >&6
33994 fi
33995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33996 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33997 else
33998 # Is the header compilable?
33999 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34000 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34001 cat >conftest.$ac_ext <<_ACEOF
34002 /* confdefs.h. */
34003 _ACEOF
34004 cat confdefs.h >>conftest.$ac_ext
34005 cat >>conftest.$ac_ext <<_ACEOF
34006 /* end confdefs.h. */
34007 $ac_includes_default
34008 #include <$ac_header>
34009 _ACEOF
34010 rm -f conftest.$ac_objext
34011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34012 (eval $ac_compile) 2>conftest.er1
34013 ac_status=$?
34014 grep -v '^ *+' conftest.er1 >conftest.err
34015 rm -f conftest.er1
34016 cat conftest.err >&5
34017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34018 (exit $ac_status); } &&
34019 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34021 (eval $ac_try) 2>&5
34022 ac_status=$?
34023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34024 (exit $ac_status); }; } &&
34025 { ac_try='test -s conftest.$ac_objext'
34026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34027 (eval $ac_try) 2>&5
34028 ac_status=$?
34029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34030 (exit $ac_status); }; }; then
34031 ac_header_compiler=yes
34032 else
34033 echo "$as_me: failed program was:" >&5
34034 sed 's/^/| /' conftest.$ac_ext >&5
34035
34036 ac_header_compiler=no
34037 fi
34038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34039 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34040 echo "${ECHO_T}$ac_header_compiler" >&6
34041
34042 # Is the header present?
34043 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34044 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34045 cat >conftest.$ac_ext <<_ACEOF
34046 /* confdefs.h. */
34047 _ACEOF
34048 cat confdefs.h >>conftest.$ac_ext
34049 cat >>conftest.$ac_ext <<_ACEOF
34050 /* end confdefs.h. */
34051 #include <$ac_header>
34052 _ACEOF
34053 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34054 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34055 ac_status=$?
34056 grep -v '^ *+' conftest.er1 >conftest.err
34057 rm -f conftest.er1
34058 cat conftest.err >&5
34059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34060 (exit $ac_status); } >/dev/null; then
34061 if test -s conftest.err; then
34062 ac_cpp_err=$ac_c_preproc_warn_flag
34063 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34064 else
34065 ac_cpp_err=
34066 fi
34067 else
34068 ac_cpp_err=yes
34069 fi
34070 if test -z "$ac_cpp_err"; then
34071 ac_header_preproc=yes
34072 else
34073 echo "$as_me: failed program was:" >&5
34074 sed 's/^/| /' conftest.$ac_ext >&5
34075
34076 ac_header_preproc=no
34077 fi
34078 rm -f conftest.err conftest.$ac_ext
34079 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34080 echo "${ECHO_T}$ac_header_preproc" >&6
34081
34082 # So? What about this header?
34083 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34084 yes:no: )
34085 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34086 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34087 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34088 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34089 ac_header_preproc=yes
34090 ;;
34091 no:yes:* )
34092 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34093 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34094 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34095 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34096 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34097 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34098 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34099 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34100 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34101 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34102 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34103 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34104 (
34105 cat <<\_ASBOX
34106 ## ----------------------------------------- ##
34107 ## Report this to wx-dev@lists.wxwidgets.org ##
34108 ## ----------------------------------------- ##
34109 _ASBOX
34110 ) |
34111 sed "s/^/$as_me: WARNING: /" >&2
34112 ;;
34113 esac
34114 echo "$as_me:$LINENO: checking for $ac_header" >&5
34115 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34116 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34117 echo $ECHO_N "(cached) $ECHO_C" >&6
34118 else
34119 eval "$as_ac_Header=\$ac_header_preproc"
34120 fi
34121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34122 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34123
34124 fi
34125 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34126 cat >>confdefs.h <<_ACEOF
34127 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34128 _ACEOF
34129
34130 fi
34131
34132 done
34133
34134 if test "$ac_cv_header_sched_h" = "yes"; then
34135 echo "$as_me:$LINENO: checking for sched_yield" >&5
34136 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
34137 if test "${ac_cv_func_sched_yield+set}" = set; then
34138 echo $ECHO_N "(cached) $ECHO_C" >&6
34139 else
34140 cat >conftest.$ac_ext <<_ACEOF
34141 /* confdefs.h. */
34142 _ACEOF
34143 cat confdefs.h >>conftest.$ac_ext
34144 cat >>conftest.$ac_ext <<_ACEOF
34145 /* end confdefs.h. */
34146 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
34147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34148 #define sched_yield innocuous_sched_yield
34149
34150 /* System header to define __stub macros and hopefully few prototypes,
34151 which can conflict with char sched_yield (); below.
34152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34153 <limits.h> exists even on freestanding compilers. */
34154
34155 #ifdef __STDC__
34156 # include <limits.h>
34157 #else
34158 # include <assert.h>
34159 #endif
34160
34161 #undef sched_yield
34162
34163 /* Override any gcc2 internal prototype to avoid an error. */
34164 #ifdef __cplusplus
34165 extern "C"
34166 {
34167 #endif
34168 /* We use char because int might match the return type of a gcc2
34169 builtin and then its argument prototype would still apply. */
34170 char sched_yield ();
34171 /* The GNU C library defines this for functions which it implements
34172 to always fail with ENOSYS. Some functions are actually named
34173 something starting with __ and the normal name is an alias. */
34174 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
34175 choke me
34176 #else
34177 char (*f) () = sched_yield;
34178 #endif
34179 #ifdef __cplusplus
34180 }
34181 #endif
34182
34183 int
34184 main ()
34185 {
34186 return f != sched_yield;
34187 ;
34188 return 0;
34189 }
34190 _ACEOF
34191 rm -f conftest.$ac_objext conftest$ac_exeext
34192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34193 (eval $ac_link) 2>conftest.er1
34194 ac_status=$?
34195 grep -v '^ *+' conftest.er1 >conftest.err
34196 rm -f conftest.er1
34197 cat conftest.err >&5
34198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34199 (exit $ac_status); } &&
34200 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34202 (eval $ac_try) 2>&5
34203 ac_status=$?
34204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34205 (exit $ac_status); }; } &&
34206 { ac_try='test -s conftest$ac_exeext'
34207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34208 (eval $ac_try) 2>&5
34209 ac_status=$?
34210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34211 (exit $ac_status); }; }; then
34212 ac_cv_func_sched_yield=yes
34213 else
34214 echo "$as_me: failed program was:" >&5
34215 sed 's/^/| /' conftest.$ac_ext >&5
34216
34217 ac_cv_func_sched_yield=no
34218 fi
34219 rm -f conftest.err conftest.$ac_objext \
34220 conftest$ac_exeext conftest.$ac_ext
34221 fi
34222 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
34223 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
34224 if test $ac_cv_func_sched_yield = yes; then
34225 cat >>confdefs.h <<\_ACEOF
34226 #define HAVE_SCHED_YIELD 1
34227 _ACEOF
34228
34229 else
34230
34231 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
34232 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
34233 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
34234 echo $ECHO_N "(cached) $ECHO_C" >&6
34235 else
34236 ac_check_lib_save_LIBS=$LIBS
34237 LIBS="-lposix4 $LIBS"
34238 cat >conftest.$ac_ext <<_ACEOF
34239 /* confdefs.h. */
34240 _ACEOF
34241 cat confdefs.h >>conftest.$ac_ext
34242 cat >>conftest.$ac_ext <<_ACEOF
34243 /* end confdefs.h. */
34244
34245 /* Override any gcc2 internal prototype to avoid an error. */
34246 #ifdef __cplusplus
34247 extern "C"
34248 #endif
34249 /* We use char because int might match the return type of a gcc2
34250 builtin and then its argument prototype would still apply. */
34251 char sched_yield ();
34252 int
34253 main ()
34254 {
34255 sched_yield ();
34256 ;
34257 return 0;
34258 }
34259 _ACEOF
34260 rm -f conftest.$ac_objext conftest$ac_exeext
34261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34262 (eval $ac_link) 2>conftest.er1
34263 ac_status=$?
34264 grep -v '^ *+' conftest.er1 >conftest.err
34265 rm -f conftest.er1
34266 cat conftest.err >&5
34267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34268 (exit $ac_status); } &&
34269 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34271 (eval $ac_try) 2>&5
34272 ac_status=$?
34273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34274 (exit $ac_status); }; } &&
34275 { ac_try='test -s conftest$ac_exeext'
34276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34277 (eval $ac_try) 2>&5
34278 ac_status=$?
34279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34280 (exit $ac_status); }; }; then
34281 ac_cv_lib_posix4_sched_yield=yes
34282 else
34283 echo "$as_me: failed program was:" >&5
34284 sed 's/^/| /' conftest.$ac_ext >&5
34285
34286 ac_cv_lib_posix4_sched_yield=no
34287 fi
34288 rm -f conftest.err conftest.$ac_objext \
34289 conftest$ac_exeext conftest.$ac_ext
34290 LIBS=$ac_check_lib_save_LIBS
34291 fi
34292 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
34293 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
34294 if test $ac_cv_lib_posix4_sched_yield = yes; then
34295 cat >>confdefs.h <<\_ACEOF
34296 #define HAVE_SCHED_YIELD 1
34297 _ACEOF
34298 POSIX4_LINK=" -lposix4"
34299 else
34300 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
34301 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
34302
34303 fi
34304
34305
34306
34307 fi
34308
34309 fi
34310
34311 HAVE_PRIOR_FUNCS=0
34312 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
34313 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
34314 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
34315 echo $ECHO_N "(cached) $ECHO_C" >&6
34316 else
34317 cat >conftest.$ac_ext <<_ACEOF
34318 /* confdefs.h. */
34319 _ACEOF
34320 cat confdefs.h >>conftest.$ac_ext
34321 cat >>conftest.$ac_ext <<_ACEOF
34322 /* end confdefs.h. */
34323 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
34324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34325 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
34326
34327 /* System header to define __stub macros and hopefully few prototypes,
34328 which can conflict with char pthread_attr_getschedpolicy (); below.
34329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34330 <limits.h> exists even on freestanding compilers. */
34331
34332 #ifdef __STDC__
34333 # include <limits.h>
34334 #else
34335 # include <assert.h>
34336 #endif
34337
34338 #undef pthread_attr_getschedpolicy
34339
34340 /* Override any gcc2 internal prototype to avoid an error. */
34341 #ifdef __cplusplus
34342 extern "C"
34343 {
34344 #endif
34345 /* We use char because int might match the return type of a gcc2
34346 builtin and then its argument prototype would still apply. */
34347 char pthread_attr_getschedpolicy ();
34348 /* The GNU C library defines this for functions which it implements
34349 to always fail with ENOSYS. Some functions are actually named
34350 something starting with __ and the normal name is an alias. */
34351 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
34352 choke me
34353 #else
34354 char (*f) () = pthread_attr_getschedpolicy;
34355 #endif
34356 #ifdef __cplusplus
34357 }
34358 #endif
34359
34360 int
34361 main ()
34362 {
34363 return f != pthread_attr_getschedpolicy;
34364 ;
34365 return 0;
34366 }
34367 _ACEOF
34368 rm -f conftest.$ac_objext conftest$ac_exeext
34369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34370 (eval $ac_link) 2>conftest.er1
34371 ac_status=$?
34372 grep -v '^ *+' conftest.er1 >conftest.err
34373 rm -f conftest.er1
34374 cat conftest.err >&5
34375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34376 (exit $ac_status); } &&
34377 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34379 (eval $ac_try) 2>&5
34380 ac_status=$?
34381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34382 (exit $ac_status); }; } &&
34383 { ac_try='test -s conftest$ac_exeext'
34384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34385 (eval $ac_try) 2>&5
34386 ac_status=$?
34387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34388 (exit $ac_status); }; }; then
34389 ac_cv_func_pthread_attr_getschedpolicy=yes
34390 else
34391 echo "$as_me: failed program was:" >&5
34392 sed 's/^/| /' conftest.$ac_ext >&5
34393
34394 ac_cv_func_pthread_attr_getschedpolicy=no
34395 fi
34396 rm -f conftest.err conftest.$ac_objext \
34397 conftest$ac_exeext conftest.$ac_ext
34398 fi
34399 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
34400 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
34401 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
34402 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
34403 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
34404 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
34405 echo $ECHO_N "(cached) $ECHO_C" >&6
34406 else
34407 cat >conftest.$ac_ext <<_ACEOF
34408 /* confdefs.h. */
34409 _ACEOF
34410 cat confdefs.h >>conftest.$ac_ext
34411 cat >>conftest.$ac_ext <<_ACEOF
34412 /* end confdefs.h. */
34413 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
34414 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34415 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
34416
34417 /* System header to define __stub macros and hopefully few prototypes,
34418 which can conflict with char pthread_attr_setschedparam (); below.
34419 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34420 <limits.h> exists even on freestanding compilers. */
34421
34422 #ifdef __STDC__
34423 # include <limits.h>
34424 #else
34425 # include <assert.h>
34426 #endif
34427
34428 #undef pthread_attr_setschedparam
34429
34430 /* Override any gcc2 internal prototype to avoid an error. */
34431 #ifdef __cplusplus
34432 extern "C"
34433 {
34434 #endif
34435 /* We use char because int might match the return type of a gcc2
34436 builtin and then its argument prototype would still apply. */
34437 char pthread_attr_setschedparam ();
34438 /* The GNU C library defines this for functions which it implements
34439 to always fail with ENOSYS. Some functions are actually named
34440 something starting with __ and the normal name is an alias. */
34441 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
34442 choke me
34443 #else
34444 char (*f) () = pthread_attr_setschedparam;
34445 #endif
34446 #ifdef __cplusplus
34447 }
34448 #endif
34449
34450 int
34451 main ()
34452 {
34453 return f != pthread_attr_setschedparam;
34454 ;
34455 return 0;
34456 }
34457 _ACEOF
34458 rm -f conftest.$ac_objext conftest$ac_exeext
34459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34460 (eval $ac_link) 2>conftest.er1
34461 ac_status=$?
34462 grep -v '^ *+' conftest.er1 >conftest.err
34463 rm -f conftest.er1
34464 cat conftest.err >&5
34465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34466 (exit $ac_status); } &&
34467 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34469 (eval $ac_try) 2>&5
34470 ac_status=$?
34471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34472 (exit $ac_status); }; } &&
34473 { ac_try='test -s conftest$ac_exeext'
34474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34475 (eval $ac_try) 2>&5
34476 ac_status=$?
34477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34478 (exit $ac_status); }; }; then
34479 ac_cv_func_pthread_attr_setschedparam=yes
34480 else
34481 echo "$as_me: failed program was:" >&5
34482 sed 's/^/| /' conftest.$ac_ext >&5
34483
34484 ac_cv_func_pthread_attr_setschedparam=no
34485 fi
34486 rm -f conftest.err conftest.$ac_objext \
34487 conftest$ac_exeext conftest.$ac_ext
34488 fi
34489 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
34490 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
34491 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
34492 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
34493 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
34494 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
34495 echo $ECHO_N "(cached) $ECHO_C" >&6
34496 else
34497 cat >conftest.$ac_ext <<_ACEOF
34498 /* confdefs.h. */
34499 _ACEOF
34500 cat confdefs.h >>conftest.$ac_ext
34501 cat >>conftest.$ac_ext <<_ACEOF
34502 /* end confdefs.h. */
34503 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
34504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34505 #define sched_get_priority_max innocuous_sched_get_priority_max
34506
34507 /* System header to define __stub macros and hopefully few prototypes,
34508 which can conflict with char sched_get_priority_max (); below.
34509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34510 <limits.h> exists even on freestanding compilers. */
34511
34512 #ifdef __STDC__
34513 # include <limits.h>
34514 #else
34515 # include <assert.h>
34516 #endif
34517
34518 #undef sched_get_priority_max
34519
34520 /* Override any gcc2 internal prototype to avoid an error. */
34521 #ifdef __cplusplus
34522 extern "C"
34523 {
34524 #endif
34525 /* We use char because int might match the return type of a gcc2
34526 builtin and then its argument prototype would still apply. */
34527 char sched_get_priority_max ();
34528 /* The GNU C library defines this for functions which it implements
34529 to always fail with ENOSYS. Some functions are actually named
34530 something starting with __ and the normal name is an alias. */
34531 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
34532 choke me
34533 #else
34534 char (*f) () = sched_get_priority_max;
34535 #endif
34536 #ifdef __cplusplus
34537 }
34538 #endif
34539
34540 int
34541 main ()
34542 {
34543 return f != sched_get_priority_max;
34544 ;
34545 return 0;
34546 }
34547 _ACEOF
34548 rm -f conftest.$ac_objext conftest$ac_exeext
34549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34550 (eval $ac_link) 2>conftest.er1
34551 ac_status=$?
34552 grep -v '^ *+' conftest.er1 >conftest.err
34553 rm -f conftest.er1
34554 cat conftest.err >&5
34555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34556 (exit $ac_status); } &&
34557 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34559 (eval $ac_try) 2>&5
34560 ac_status=$?
34561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34562 (exit $ac_status); }; } &&
34563 { ac_try='test -s conftest$ac_exeext'
34564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34565 (eval $ac_try) 2>&5
34566 ac_status=$?
34567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34568 (exit $ac_status); }; }; then
34569 ac_cv_func_sched_get_priority_max=yes
34570 else
34571 echo "$as_me: failed program was:" >&5
34572 sed 's/^/| /' conftest.$ac_ext >&5
34573
34574 ac_cv_func_sched_get_priority_max=no
34575 fi
34576 rm -f conftest.err conftest.$ac_objext \
34577 conftest$ac_exeext conftest.$ac_ext
34578 fi
34579 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
34580 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
34581 if test $ac_cv_func_sched_get_priority_max = yes; then
34582 HAVE_PRIOR_FUNCS=1
34583 else
34584 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
34585 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
34586 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
34587 echo $ECHO_N "(cached) $ECHO_C" >&6
34588 else
34589 ac_check_lib_save_LIBS=$LIBS
34590 LIBS="-lposix4 $LIBS"
34591 cat >conftest.$ac_ext <<_ACEOF
34592 /* confdefs.h. */
34593 _ACEOF
34594 cat confdefs.h >>conftest.$ac_ext
34595 cat >>conftest.$ac_ext <<_ACEOF
34596 /* end confdefs.h. */
34597
34598 /* Override any gcc2 internal prototype to avoid an error. */
34599 #ifdef __cplusplus
34600 extern "C"
34601 #endif
34602 /* We use char because int might match the return type of a gcc2
34603 builtin and then its argument prototype would still apply. */
34604 char sched_get_priority_max ();
34605 int
34606 main ()
34607 {
34608 sched_get_priority_max ();
34609 ;
34610 return 0;
34611 }
34612 _ACEOF
34613 rm -f conftest.$ac_objext conftest$ac_exeext
34614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34615 (eval $ac_link) 2>conftest.er1
34616 ac_status=$?
34617 grep -v '^ *+' conftest.er1 >conftest.err
34618 rm -f conftest.er1
34619 cat conftest.err >&5
34620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34621 (exit $ac_status); } &&
34622 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34624 (eval $ac_try) 2>&5
34625 ac_status=$?
34626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34627 (exit $ac_status); }; } &&
34628 { ac_try='test -s conftest$ac_exeext'
34629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34630 (eval $ac_try) 2>&5
34631 ac_status=$?
34632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34633 (exit $ac_status); }; }; then
34634 ac_cv_lib_posix4_sched_get_priority_max=yes
34635 else
34636 echo "$as_me: failed program was:" >&5
34637 sed 's/^/| /' conftest.$ac_ext >&5
34638
34639 ac_cv_lib_posix4_sched_get_priority_max=no
34640 fi
34641 rm -f conftest.err conftest.$ac_objext \
34642 conftest$ac_exeext conftest.$ac_ext
34643 LIBS=$ac_check_lib_save_LIBS
34644 fi
34645 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
34646 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
34647 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
34648
34649 HAVE_PRIOR_FUNCS=1
34650 POSIX4_LINK=" -lposix4"
34651
34652 fi
34653
34654
34655 fi
34656
34657
34658 fi
34659
34660
34661 fi
34662
34663
34664 if test "$HAVE_PRIOR_FUNCS" = 1; then
34665 cat >>confdefs.h <<\_ACEOF
34666 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
34667 _ACEOF
34668
34669 else
34670 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
34671 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
34672 fi
34673
34674 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
34675 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
34676 if test "${ac_cv_func_pthread_cancel+set}" = set; then
34677 echo $ECHO_N "(cached) $ECHO_C" >&6
34678 else
34679 cat >conftest.$ac_ext <<_ACEOF
34680 /* confdefs.h. */
34681 _ACEOF
34682 cat confdefs.h >>conftest.$ac_ext
34683 cat >>conftest.$ac_ext <<_ACEOF
34684 /* end confdefs.h. */
34685 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
34686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34687 #define pthread_cancel innocuous_pthread_cancel
34688
34689 /* System header to define __stub macros and hopefully few prototypes,
34690 which can conflict with char pthread_cancel (); below.
34691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34692 <limits.h> exists even on freestanding compilers. */
34693
34694 #ifdef __STDC__
34695 # include <limits.h>
34696 #else
34697 # include <assert.h>
34698 #endif
34699
34700 #undef pthread_cancel
34701
34702 /* Override any gcc2 internal prototype to avoid an error. */
34703 #ifdef __cplusplus
34704 extern "C"
34705 {
34706 #endif
34707 /* We use char because int might match the return type of a gcc2
34708 builtin and then its argument prototype would still apply. */
34709 char pthread_cancel ();
34710 /* The GNU C library defines this for functions which it implements
34711 to always fail with ENOSYS. Some functions are actually named
34712 something starting with __ and the normal name is an alias. */
34713 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
34714 choke me
34715 #else
34716 char (*f) () = pthread_cancel;
34717 #endif
34718 #ifdef __cplusplus
34719 }
34720 #endif
34721
34722 int
34723 main ()
34724 {
34725 return f != pthread_cancel;
34726 ;
34727 return 0;
34728 }
34729 _ACEOF
34730 rm -f conftest.$ac_objext conftest$ac_exeext
34731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34732 (eval $ac_link) 2>conftest.er1
34733 ac_status=$?
34734 grep -v '^ *+' conftest.er1 >conftest.err
34735 rm -f conftest.er1
34736 cat conftest.err >&5
34737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34738 (exit $ac_status); } &&
34739 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34741 (eval $ac_try) 2>&5
34742 ac_status=$?
34743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34744 (exit $ac_status); }; } &&
34745 { ac_try='test -s conftest$ac_exeext'
34746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34747 (eval $ac_try) 2>&5
34748 ac_status=$?
34749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34750 (exit $ac_status); }; }; then
34751 ac_cv_func_pthread_cancel=yes
34752 else
34753 echo "$as_me: failed program was:" >&5
34754 sed 's/^/| /' conftest.$ac_ext >&5
34755
34756 ac_cv_func_pthread_cancel=no
34757 fi
34758 rm -f conftest.err conftest.$ac_objext \
34759 conftest$ac_exeext conftest.$ac_ext
34760 fi
34761 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
34762 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
34763 if test $ac_cv_func_pthread_cancel = yes; then
34764 cat >>confdefs.h <<\_ACEOF
34765 #define HAVE_PTHREAD_CANCEL 1
34766 _ACEOF
34767
34768 else
34769 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
34770 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
34771 fi
34772
34773
34774
34775
34776 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
34777 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
34778 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
34779 echo $ECHO_N "(cached) $ECHO_C" >&6
34780 else
34781
34782 cat >conftest.$ac_ext <<_ACEOF
34783 /* confdefs.h. */
34784 _ACEOF
34785 cat confdefs.h >>conftest.$ac_ext
34786 cat >>conftest.$ac_ext <<_ACEOF
34787 /* end confdefs.h. */
34788 #include <pthread.h>
34789 int
34790 main ()
34791 {
34792
34793 pthread_mutexattr_t attr;
34794 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
34795
34796 ;
34797 return 0;
34798 }
34799 _ACEOF
34800 rm -f conftest.$ac_objext
34801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34802 (eval $ac_compile) 2>conftest.er1
34803 ac_status=$?
34804 grep -v '^ *+' conftest.er1 >conftest.err
34805 rm -f conftest.er1
34806 cat conftest.err >&5
34807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34808 (exit $ac_status); } &&
34809 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34811 (eval $ac_try) 2>&5
34812 ac_status=$?
34813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34814 (exit $ac_status); }; } &&
34815 { ac_try='test -s conftest.$ac_objext'
34816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34817 (eval $ac_try) 2>&5
34818 ac_status=$?
34819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34820 (exit $ac_status); }; }; then
34821
34822 wx_cv_type_pthread_mutexattr_t=yes
34823
34824 else
34825 echo "$as_me: failed program was:" >&5
34826 sed 's/^/| /' conftest.$ac_ext >&5
34827
34828
34829 wx_cv_type_pthread_mutexattr_t=no
34830
34831
34832 fi
34833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34834
34835 fi
34836 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
34837 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
34838
34839 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
34840 cat >>confdefs.h <<\_ACEOF
34841 #define HAVE_PTHREAD_MUTEXATTR_T 1
34842 _ACEOF
34843
34844 else
34845 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
34846 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
34847 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
34848 echo $ECHO_N "(cached) $ECHO_C" >&6
34849 else
34850
34851 cat >conftest.$ac_ext <<_ACEOF
34852 /* confdefs.h. */
34853 _ACEOF
34854 cat confdefs.h >>conftest.$ac_ext
34855 cat >>conftest.$ac_ext <<_ACEOF
34856 /* end confdefs.h. */
34857 #include <pthread.h>
34858 int
34859 main ()
34860 {
34861
34862 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
34863
34864 ;
34865 return 0;
34866 }
34867 _ACEOF
34868 rm -f conftest.$ac_objext
34869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34870 (eval $ac_compile) 2>conftest.er1
34871 ac_status=$?
34872 grep -v '^ *+' conftest.er1 >conftest.err
34873 rm -f conftest.er1
34874 cat conftest.err >&5
34875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34876 (exit $ac_status); } &&
34877 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34879 (eval $ac_try) 2>&5
34880 ac_status=$?
34881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34882 (exit $ac_status); }; } &&
34883 { ac_try='test -s conftest.$ac_objext'
34884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34885 (eval $ac_try) 2>&5
34886 ac_status=$?
34887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34888 (exit $ac_status); }; }; then
34889
34890 wx_cv_type_pthread_rec_mutex_init=yes
34891
34892 else
34893 echo "$as_me: failed program was:" >&5
34894 sed 's/^/| /' conftest.$ac_ext >&5
34895
34896
34897 wx_cv_type_pthread_rec_mutex_init=no
34898
34899
34900 fi
34901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34902
34903 fi
34904 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
34905 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
34906 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
34907 cat >>confdefs.h <<\_ACEOF
34908 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
34909 _ACEOF
34910
34911 else
34912 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
34913 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
34914 fi
34915 fi
34916 fi
34917
34918 else
34919 if test "$wxUSE_THREADS" = "yes" ; then
34920 case "${host}" in
34921 *-*-mingw32* )
34922 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
34923 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
34924 if test "${wx_cv_cflags_mthread+set}" = set; then
34925 echo $ECHO_N "(cached) $ECHO_C" >&6
34926 else
34927
34928 CFLAGS_OLD="$CFLAGS"
34929 CFLAGS="$CFLAGS -mthreads"
34930 cat >conftest.$ac_ext <<_ACEOF
34931 /* confdefs.h. */
34932 _ACEOF
34933 cat confdefs.h >>conftest.$ac_ext
34934 cat >>conftest.$ac_ext <<_ACEOF
34935 /* end confdefs.h. */
34936
34937 int
34938 main ()
34939 {
34940
34941 ;
34942 return 0;
34943 }
34944 _ACEOF
34945 rm -f conftest.$ac_objext
34946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34947 (eval $ac_compile) 2>conftest.er1
34948 ac_status=$?
34949 grep -v '^ *+' conftest.er1 >conftest.err
34950 rm -f conftest.er1
34951 cat conftest.err >&5
34952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34953 (exit $ac_status); } &&
34954 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34956 (eval $ac_try) 2>&5
34957 ac_status=$?
34958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34959 (exit $ac_status); }; } &&
34960 { ac_try='test -s conftest.$ac_objext'
34961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34962 (eval $ac_try) 2>&5
34963 ac_status=$?
34964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34965 (exit $ac_status); }; }; then
34966 wx_cv_cflags_mthread=yes
34967 else
34968 echo "$as_me: failed program was:" >&5
34969 sed 's/^/| /' conftest.$ac_ext >&5
34970
34971 wx_cv_cflags_mthread=no
34972
34973 fi
34974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34975
34976
34977 fi
34978 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
34979 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
34980
34981 if test "$wx_cv_cflags_mthread" = "yes"; then
34982 CXXFLAGS="$CXXFLAGS -mthreads"
34983 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
34984 LDFLAGS="$LDFLAGS -mthreads"
34985 else
34986 CFLAGS="$CFLAGS_OLD"
34987 fi
34988 ;;
34989 *-pc-os2*emx )
34990 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
34991 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
34992 LDFLAGS="$LDFLAGS -Zmt"
34993 ;;
34994 esac
34995 fi
34996 fi
34997
34998 if test "$wxUSE_THREADS" = "yes"; then
34999 cat >>confdefs.h <<\_ACEOF
35000 #define wxUSE_THREADS 1
35001 _ACEOF
35002
35003
35004 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
35005 else
35006 if test "$ac_cv_func_strtok_r" = "yes"; then
35007 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
35008 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
35009 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
35010 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
35011 echo "$as_me:$LINENO: result: yes" >&5
35012 echo "${ECHO_T}yes" >&6
35013 else
35014 echo "$as_me:$LINENO: result: no" >&5
35015 echo "${ECHO_T}no" >&6
35016 fi
35017 fi
35018 fi
35019
35020 if test "$WXGTK20" = 1 ; then
35021 cat >>confdefs.h <<_ACEOF
35022 #define __WXGTK20__ $WXGTK20
35023 _ACEOF
35024
35025 WXGTK12=1
35026 fi
35027
35028 if test "$WXGTK12" = 1 ; then
35029 cat >>confdefs.h <<_ACEOF
35030 #define __WXGTK12__ $WXGTK12
35031 _ACEOF
35032
35033 fi
35034
35035 if test "$WXGTK127" = 1 ; then
35036 cat >>confdefs.h <<_ACEOF
35037 #define __WXGTK127__ $WXGTK127
35038 _ACEOF
35039
35040 fi
35041
35042 if test "$WXGPE" = 1 ; then
35043 cat >>confdefs.h <<_ACEOF
35044 #define __WXGPE__ $WXGPE
35045 _ACEOF
35046
35047 fi
35048
35049 WXDEBUG=
35050
35051 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
35052 WXDEBUG="-g"
35053 wxUSE_OPTIMISE=no
35054 fi
35055
35056 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
35057 wxUSE_DEBUG_INFO=yes
35058 WXDEBUG="-ggdb"
35059 fi
35060
35061 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
35062 cat >>confdefs.h <<\_ACEOF
35063 #define WXDEBUG 1
35064 _ACEOF
35065
35066 WXDEBUG_DEFINE="-D__WXDEBUG__"
35067 else
35068 if test "$wxUSE_GTK" = 1 ; then
35069 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
35070 fi
35071 fi
35072
35073 if test "$wxUSE_MEM_TRACING" = "yes" ; then
35074 cat >>confdefs.h <<\_ACEOF
35075 #define wxUSE_MEMORY_TRACING 1
35076 _ACEOF
35077
35078 cat >>confdefs.h <<\_ACEOF
35079 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
35080 _ACEOF
35081
35082 cat >>confdefs.h <<\_ACEOF
35083 #define wxUSE_DEBUG_NEW_ALWAYS 1
35084 _ACEOF
35085
35086 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
35087 fi
35088
35089 if test "$wxUSE_DMALLOC" = "yes" ; then
35090 DMALLOC_LIBS="-ldmalloc"
35091 fi
35092
35093 PROFILE=
35094 if test "$wxUSE_PROFILE" = "yes" ; then
35095 PROFILE=" -pg"
35096 fi
35097
35098 CODE_GEN_FLAGS=
35099 CODE_GEN_FLAGS_CXX=
35100 if test "$GCC" = "yes" ; then
35101 if test "$wxUSE_NO_RTTI" = "yes" ; then
35102 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
35103 fi
35104 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
35105 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
35106 fi
35107 if test "$wxUSE_PERMISSIVE" = "yes" ; then
35108 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
35109 fi
35110
35111 case "${host}" in
35112 powerpc*-*-aix* )
35113 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
35114 ;;
35115 *-hppa* )
35116 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
35117 ;;
35118 esac
35119 fi
35120
35121 OPTIMISE=
35122 if test "$wxUSE_OPTIMISE" = "no" ; then
35123 if test "$GCC" = yes ; then
35124 OPTIMISE="-O0"
35125 fi
35126 else
35127 if test "$GCC" = yes ; then
35128 OPTIMISE="-O2"
35129
35130 case "${host}" in
35131 i586-*-*|i686-*-* )
35132 OPTIMISE="${OPTIMISE} "
35133 ;;
35134 esac
35135 else
35136 OPTIMISE="-O"
35137 fi
35138 fi
35139
35140
35141 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
35142 cat >>confdefs.h <<\_ACEOF
35143 #define WXWIN_COMPATIBILITY_2_2 1
35144 _ACEOF
35145
35146
35147 WXWIN_COMPATIBILITY_2_4="yes"
35148 fi
35149
35150 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
35151 cat >>confdefs.h <<\_ACEOF
35152 #define WXWIN_COMPATIBILITY_2_4 1
35153 _ACEOF
35154
35155 fi
35156
35157
35158 if test "$wxUSE_GUI" = "yes"; then
35159 cat >>confdefs.h <<\_ACEOF
35160 #define wxUSE_GUI 1
35161 _ACEOF
35162
35163
35164 fi
35165
35166
35167 if test "$wxUSE_UNIX" = "yes"; then
35168 cat >>confdefs.h <<\_ACEOF
35169 #define wxUSE_UNIX 1
35170 _ACEOF
35171
35172 fi
35173
35174
35175 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
35176
35177 HAVE_DL_FUNCS=0
35178 HAVE_SHL_FUNCS=0
35179 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
35180 if test "$USE_DARWIN" = 1; then
35181 HAVE_DL_FUNCS=1
35182 else
35183
35184 for ac_func in dlopen
35185 do
35186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35187 echo "$as_me:$LINENO: checking for $ac_func" >&5
35188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35189 if eval "test \"\${$as_ac_var+set}\" = set"; then
35190 echo $ECHO_N "(cached) $ECHO_C" >&6
35191 else
35192 cat >conftest.$ac_ext <<_ACEOF
35193 /* confdefs.h. */
35194 _ACEOF
35195 cat confdefs.h >>conftest.$ac_ext
35196 cat >>conftest.$ac_ext <<_ACEOF
35197 /* end confdefs.h. */
35198 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35199 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35200 #define $ac_func innocuous_$ac_func
35201
35202 /* System header to define __stub macros and hopefully few prototypes,
35203 which can conflict with char $ac_func (); below.
35204 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35205 <limits.h> exists even on freestanding compilers. */
35206
35207 #ifdef __STDC__
35208 # include <limits.h>
35209 #else
35210 # include <assert.h>
35211 #endif
35212
35213 #undef $ac_func
35214
35215 /* Override any gcc2 internal prototype to avoid an error. */
35216 #ifdef __cplusplus
35217 extern "C"
35218 {
35219 #endif
35220 /* We use char because int might match the return type of a gcc2
35221 builtin and then its argument prototype would still apply. */
35222 char $ac_func ();
35223 /* The GNU C library defines this for functions which it implements
35224 to always fail with ENOSYS. Some functions are actually named
35225 something starting with __ and the normal name is an alias. */
35226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35227 choke me
35228 #else
35229 char (*f) () = $ac_func;
35230 #endif
35231 #ifdef __cplusplus
35232 }
35233 #endif
35234
35235 int
35236 main ()
35237 {
35238 return f != $ac_func;
35239 ;
35240 return 0;
35241 }
35242 _ACEOF
35243 rm -f conftest.$ac_objext conftest$ac_exeext
35244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35245 (eval $ac_link) 2>conftest.er1
35246 ac_status=$?
35247 grep -v '^ *+' conftest.er1 >conftest.err
35248 rm -f conftest.er1
35249 cat conftest.err >&5
35250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35251 (exit $ac_status); } &&
35252 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35254 (eval $ac_try) 2>&5
35255 ac_status=$?
35256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35257 (exit $ac_status); }; } &&
35258 { ac_try='test -s conftest$ac_exeext'
35259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35260 (eval $ac_try) 2>&5
35261 ac_status=$?
35262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35263 (exit $ac_status); }; }; then
35264 eval "$as_ac_var=yes"
35265 else
35266 echo "$as_me: failed program was:" >&5
35267 sed 's/^/| /' conftest.$ac_ext >&5
35268
35269 eval "$as_ac_var=no"
35270 fi
35271 rm -f conftest.err conftest.$ac_objext \
35272 conftest$ac_exeext conftest.$ac_ext
35273 fi
35274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35275 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35276 if test `eval echo '${'$as_ac_var'}'` = yes; then
35277 cat >>confdefs.h <<_ACEOF
35278 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35279 _ACEOF
35280
35281 cat >>confdefs.h <<\_ACEOF
35282 #define HAVE_DLOPEN 1
35283 _ACEOF
35284
35285 HAVE_DL_FUNCS=1
35286
35287 else
35288
35289 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
35290 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
35291 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
35292 echo $ECHO_N "(cached) $ECHO_C" >&6
35293 else
35294 ac_check_lib_save_LIBS=$LIBS
35295 LIBS="-ldl $LIBS"
35296 cat >conftest.$ac_ext <<_ACEOF
35297 /* confdefs.h. */
35298 _ACEOF
35299 cat confdefs.h >>conftest.$ac_ext
35300 cat >>conftest.$ac_ext <<_ACEOF
35301 /* end confdefs.h. */
35302
35303 /* Override any gcc2 internal prototype to avoid an error. */
35304 #ifdef __cplusplus
35305 extern "C"
35306 #endif
35307 /* We use char because int might match the return type of a gcc2
35308 builtin and then its argument prototype would still apply. */
35309 char dlopen ();
35310 int
35311 main ()
35312 {
35313 dlopen ();
35314 ;
35315 return 0;
35316 }
35317 _ACEOF
35318 rm -f conftest.$ac_objext conftest$ac_exeext
35319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35320 (eval $ac_link) 2>conftest.er1
35321 ac_status=$?
35322 grep -v '^ *+' conftest.er1 >conftest.err
35323 rm -f conftest.er1
35324 cat conftest.err >&5
35325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35326 (exit $ac_status); } &&
35327 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35329 (eval $ac_try) 2>&5
35330 ac_status=$?
35331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35332 (exit $ac_status); }; } &&
35333 { ac_try='test -s conftest$ac_exeext'
35334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35335 (eval $ac_try) 2>&5
35336 ac_status=$?
35337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35338 (exit $ac_status); }; }; then
35339 ac_cv_lib_dl_dlopen=yes
35340 else
35341 echo "$as_me: failed program was:" >&5
35342 sed 's/^/| /' conftest.$ac_ext >&5
35343
35344 ac_cv_lib_dl_dlopen=no
35345 fi
35346 rm -f conftest.err conftest.$ac_objext \
35347 conftest$ac_exeext conftest.$ac_ext
35348 LIBS=$ac_check_lib_save_LIBS
35349 fi
35350 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
35351 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
35352 if test $ac_cv_lib_dl_dlopen = yes; then
35353
35354 cat >>confdefs.h <<\_ACEOF
35355 #define HAVE_DLOPEN 1
35356 _ACEOF
35357
35358 HAVE_DL_FUNCS=1
35359 DL_LINK=" -ldl$DL_LINK"
35360
35361 else
35362
35363
35364 for ac_func in shl_load
35365 do
35366 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35367 echo "$as_me:$LINENO: checking for $ac_func" >&5
35368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35369 if eval "test \"\${$as_ac_var+set}\" = set"; then
35370 echo $ECHO_N "(cached) $ECHO_C" >&6
35371 else
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35379 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35380 #define $ac_func innocuous_$ac_func
35381
35382 /* System header to define __stub macros and hopefully few prototypes,
35383 which can conflict with char $ac_func (); below.
35384 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35385 <limits.h> exists even on freestanding compilers. */
35386
35387 #ifdef __STDC__
35388 # include <limits.h>
35389 #else
35390 # include <assert.h>
35391 #endif
35392
35393 #undef $ac_func
35394
35395 /* Override any gcc2 internal prototype to avoid an error. */
35396 #ifdef __cplusplus
35397 extern "C"
35398 {
35399 #endif
35400 /* We use char because int might match the return type of a gcc2
35401 builtin and then its argument prototype would still apply. */
35402 char $ac_func ();
35403 /* The GNU C library defines this for functions which it implements
35404 to always fail with ENOSYS. Some functions are actually named
35405 something starting with __ and the normal name is an alias. */
35406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35407 choke me
35408 #else
35409 char (*f) () = $ac_func;
35410 #endif
35411 #ifdef __cplusplus
35412 }
35413 #endif
35414
35415 int
35416 main ()
35417 {
35418 return f != $ac_func;
35419 ;
35420 return 0;
35421 }
35422 _ACEOF
35423 rm -f conftest.$ac_objext conftest$ac_exeext
35424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35425 (eval $ac_link) 2>conftest.er1
35426 ac_status=$?
35427 grep -v '^ *+' conftest.er1 >conftest.err
35428 rm -f conftest.er1
35429 cat conftest.err >&5
35430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35431 (exit $ac_status); } &&
35432 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35434 (eval $ac_try) 2>&5
35435 ac_status=$?
35436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35437 (exit $ac_status); }; } &&
35438 { ac_try='test -s conftest$ac_exeext'
35439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35440 (eval $ac_try) 2>&5
35441 ac_status=$?
35442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35443 (exit $ac_status); }; }; then
35444 eval "$as_ac_var=yes"
35445 else
35446 echo "$as_me: failed program was:" >&5
35447 sed 's/^/| /' conftest.$ac_ext >&5
35448
35449 eval "$as_ac_var=no"
35450 fi
35451 rm -f conftest.err conftest.$ac_objext \
35452 conftest$ac_exeext conftest.$ac_ext
35453 fi
35454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35456 if test `eval echo '${'$as_ac_var'}'` = yes; then
35457 cat >>confdefs.h <<_ACEOF
35458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35459 _ACEOF
35460
35461 cat >>confdefs.h <<\_ACEOF
35462 #define HAVE_SHL_LOAD 1
35463 _ACEOF
35464
35465 HAVE_SHL_FUNCS=1
35466
35467 else
35468
35469 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
35470 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
35471 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
35472 echo $ECHO_N "(cached) $ECHO_C" >&6
35473 else
35474 ac_check_lib_save_LIBS=$LIBS
35475 LIBS="-lshl_load $LIBS"
35476 cat >conftest.$ac_ext <<_ACEOF
35477 /* confdefs.h. */
35478 _ACEOF
35479 cat confdefs.h >>conftest.$ac_ext
35480 cat >>conftest.$ac_ext <<_ACEOF
35481 /* end confdefs.h. */
35482
35483 /* Override any gcc2 internal prototype to avoid an error. */
35484 #ifdef __cplusplus
35485 extern "C"
35486 #endif
35487 /* We use char because int might match the return type of a gcc2
35488 builtin and then its argument prototype would still apply. */
35489 char dld ();
35490 int
35491 main ()
35492 {
35493 dld ();
35494 ;
35495 return 0;
35496 }
35497 _ACEOF
35498 rm -f conftest.$ac_objext conftest$ac_exeext
35499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35500 (eval $ac_link) 2>conftest.er1
35501 ac_status=$?
35502 grep -v '^ *+' conftest.er1 >conftest.err
35503 rm -f conftest.er1
35504 cat conftest.err >&5
35505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35506 (exit $ac_status); } &&
35507 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35509 (eval $ac_try) 2>&5
35510 ac_status=$?
35511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35512 (exit $ac_status); }; } &&
35513 { ac_try='test -s conftest$ac_exeext'
35514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35515 (eval $ac_try) 2>&5
35516 ac_status=$?
35517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35518 (exit $ac_status); }; }; then
35519 ac_cv_lib_shl_load_dld=yes
35520 else
35521 echo "$as_me: failed program was:" >&5
35522 sed 's/^/| /' conftest.$ac_ext >&5
35523
35524 ac_cv_lib_shl_load_dld=no
35525 fi
35526 rm -f conftest.err conftest.$ac_objext \
35527 conftest$ac_exeext conftest.$ac_ext
35528 LIBS=$ac_check_lib_save_LIBS
35529 fi
35530 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
35531 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
35532 if test $ac_cv_lib_shl_load_dld = yes; then
35533
35534 HAVE_SHL_FUNCS=1
35535 DL_LINK=" -ldld$DL_LINK"
35536
35537 fi
35538
35539
35540 fi
35541 done
35542
35543
35544 fi
35545
35546
35547 fi
35548 done
35549
35550
35551 if test "$HAVE_DL_FUNCS" = 1; then
35552
35553 for ac_func in dlerror
35554 do
35555 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35556 echo "$as_me:$LINENO: checking for $ac_func" >&5
35557 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35558 if eval "test \"\${$as_ac_var+set}\" = set"; then
35559 echo $ECHO_N "(cached) $ECHO_C" >&6
35560 else
35561 cat >conftest.$ac_ext <<_ACEOF
35562 /* confdefs.h. */
35563 _ACEOF
35564 cat confdefs.h >>conftest.$ac_ext
35565 cat >>conftest.$ac_ext <<_ACEOF
35566 /* end confdefs.h. */
35567 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35568 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35569 #define $ac_func innocuous_$ac_func
35570
35571 /* System header to define __stub macros and hopefully few prototypes,
35572 which can conflict with char $ac_func (); below.
35573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35574 <limits.h> exists even on freestanding compilers. */
35575
35576 #ifdef __STDC__
35577 # include <limits.h>
35578 #else
35579 # include <assert.h>
35580 #endif
35581
35582 #undef $ac_func
35583
35584 /* Override any gcc2 internal prototype to avoid an error. */
35585 #ifdef __cplusplus
35586 extern "C"
35587 {
35588 #endif
35589 /* We use char because int might match the return type of a gcc2
35590 builtin and then its argument prototype would still apply. */
35591 char $ac_func ();
35592 /* The GNU C library defines this for functions which it implements
35593 to always fail with ENOSYS. Some functions are actually named
35594 something starting with __ and the normal name is an alias. */
35595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35596 choke me
35597 #else
35598 char (*f) () = $ac_func;
35599 #endif
35600 #ifdef __cplusplus
35601 }
35602 #endif
35603
35604 int
35605 main ()
35606 {
35607 return f != $ac_func;
35608 ;
35609 return 0;
35610 }
35611 _ACEOF
35612 rm -f conftest.$ac_objext conftest$ac_exeext
35613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35614 (eval $ac_link) 2>conftest.er1
35615 ac_status=$?
35616 grep -v '^ *+' conftest.er1 >conftest.err
35617 rm -f conftest.er1
35618 cat conftest.err >&5
35619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35620 (exit $ac_status); } &&
35621 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35623 (eval $ac_try) 2>&5
35624 ac_status=$?
35625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35626 (exit $ac_status); }; } &&
35627 { ac_try='test -s conftest$ac_exeext'
35628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35629 (eval $ac_try) 2>&5
35630 ac_status=$?
35631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35632 (exit $ac_status); }; }; then
35633 eval "$as_ac_var=yes"
35634 else
35635 echo "$as_me: failed program was:" >&5
35636 sed 's/^/| /' conftest.$ac_ext >&5
35637
35638 eval "$as_ac_var=no"
35639 fi
35640 rm -f conftest.err conftest.$ac_objext \
35641 conftest$ac_exeext conftest.$ac_ext
35642 fi
35643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35645 if test `eval echo '${'$as_ac_var'}'` = yes; then
35646 cat >>confdefs.h <<_ACEOF
35647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35648 _ACEOF
35649 cat >>confdefs.h <<\_ACEOF
35650 #define HAVE_DLERROR 1
35651 _ACEOF
35652
35653 else
35654
35655 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
35656 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
35657 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
35658 echo $ECHO_N "(cached) $ECHO_C" >&6
35659 else
35660 ac_check_lib_save_LIBS=$LIBS
35661 LIBS="-ldl $LIBS"
35662 cat >conftest.$ac_ext <<_ACEOF
35663 /* confdefs.h. */
35664 _ACEOF
35665 cat confdefs.h >>conftest.$ac_ext
35666 cat >>conftest.$ac_ext <<_ACEOF
35667 /* end confdefs.h. */
35668
35669 /* Override any gcc2 internal prototype to avoid an error. */
35670 #ifdef __cplusplus
35671 extern "C"
35672 #endif
35673 /* We use char because int might match the return type of a gcc2
35674 builtin and then its argument prototype would still apply. */
35675 char dlerror ();
35676 int
35677 main ()
35678 {
35679 dlerror ();
35680 ;
35681 return 0;
35682 }
35683 _ACEOF
35684 rm -f conftest.$ac_objext conftest$ac_exeext
35685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35686 (eval $ac_link) 2>conftest.er1
35687 ac_status=$?
35688 grep -v '^ *+' conftest.er1 >conftest.err
35689 rm -f conftest.er1
35690 cat conftest.err >&5
35691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35692 (exit $ac_status); } &&
35693 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35695 (eval $ac_try) 2>&5
35696 ac_status=$?
35697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35698 (exit $ac_status); }; } &&
35699 { ac_try='test -s conftest$ac_exeext'
35700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35701 (eval $ac_try) 2>&5
35702 ac_status=$?
35703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35704 (exit $ac_status); }; }; then
35705 ac_cv_lib_dl_dlerror=yes
35706 else
35707 echo "$as_me: failed program was:" >&5
35708 sed 's/^/| /' conftest.$ac_ext >&5
35709
35710 ac_cv_lib_dl_dlerror=no
35711 fi
35712 rm -f conftest.err conftest.$ac_objext \
35713 conftest$ac_exeext conftest.$ac_ext
35714 LIBS=$ac_check_lib_save_LIBS
35715 fi
35716 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
35717 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
35718 if test $ac_cv_lib_dl_dlerror = yes; then
35719 cat >>confdefs.h <<\_ACEOF
35720 #define HAVE_DLERROR 1
35721 _ACEOF
35722
35723 fi
35724
35725
35726
35727 fi
35728 done
35729
35730 fi
35731 fi
35732
35733 if test "$HAVE_DL_FUNCS" = 0; then
35734 if test "$HAVE_SHL_FUNCS" = 0; then
35735 if test "$USE_UNIX" = 1; then
35736 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
35737 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
35738 wxUSE_DYNAMIC_LOADER=no
35739 wxUSE_DYNLIB_CLASS=no
35740 else
35741 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
35742 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
35743 fi
35744 fi
35745 fi
35746 fi
35747 fi
35748
35749 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
35750 cat >>confdefs.h <<\_ACEOF
35751 #define wxUSE_DYNAMIC_LOADER 1
35752 _ACEOF
35753
35754 fi
35755 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
35756 cat >>confdefs.h <<\_ACEOF
35757 #define wxUSE_DYNLIB_CLASS 1
35758 _ACEOF
35759
35760 fi
35761
35762
35763
35764 if test "$wxUSE_PLUGINS" = "yes" ; then
35765 if test "$wxUSE_SHARED" = "no" ; then
35766 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
35767 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
35768 wxUSE_PLUGINS=no
35769 fi
35770 if test "$wxUSE_MONOLITHIC" = "yes" ; then
35771 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
35772 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
35773 wxUSE_PLUGINS=no
35774 fi
35775 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
35776 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
35777 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
35778 wxUSE_PLUGINS=no
35779 fi
35780 if test "$wxUSE_PLUGINS" = "yes" ; then
35781 cat >>confdefs.h <<\_ACEOF
35782 #define wxUSE_PLUGINS 1
35783 _ACEOF
35784
35785 fi
35786 fi
35787
35788
35789 if test "$wxUSE_STL" = "yes"; then
35790 cat >>confdefs.h <<\_ACEOF
35791 #define wxUSE_STL 1
35792 _ACEOF
35793
35794 fi
35795
35796 if test "$wxUSE_APPLE_IEEE" = "yes"; then
35797 cat >>confdefs.h <<\_ACEOF
35798 #define wxUSE_APPLE_IEEE 1
35799 _ACEOF
35800
35801 fi
35802
35803 if test "$wxUSE_TIMER" = "yes"; then
35804 cat >>confdefs.h <<\_ACEOF
35805 #define wxUSE_TIMER 1
35806 _ACEOF
35807
35808 fi
35809
35810 WITH_PLUGIN_SDL=0
35811 if test "$wxUSE_SOUND" = "yes"; then
35812 if test "$USE_UNIX" = "1" ; then
35813
35814 for ac_header in sys/soundcard.h
35815 do
35816 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35817 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35818 echo "$as_me:$LINENO: checking for $ac_header" >&5
35819 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35820 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35821 echo $ECHO_N "(cached) $ECHO_C" >&6
35822 fi
35823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35824 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35825 else
35826 # Is the header compilable?
35827 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35828 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35829 cat >conftest.$ac_ext <<_ACEOF
35830 /* confdefs.h. */
35831 _ACEOF
35832 cat confdefs.h >>conftest.$ac_ext
35833 cat >>conftest.$ac_ext <<_ACEOF
35834 /* end confdefs.h. */
35835 $ac_includes_default
35836 #include <$ac_header>
35837 _ACEOF
35838 rm -f conftest.$ac_objext
35839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35840 (eval $ac_compile) 2>conftest.er1
35841 ac_status=$?
35842 grep -v '^ *+' conftest.er1 >conftest.err
35843 rm -f conftest.er1
35844 cat conftest.err >&5
35845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35846 (exit $ac_status); } &&
35847 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35849 (eval $ac_try) 2>&5
35850 ac_status=$?
35851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35852 (exit $ac_status); }; } &&
35853 { ac_try='test -s conftest.$ac_objext'
35854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35855 (eval $ac_try) 2>&5
35856 ac_status=$?
35857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35858 (exit $ac_status); }; }; then
35859 ac_header_compiler=yes
35860 else
35861 echo "$as_me: failed program was:" >&5
35862 sed 's/^/| /' conftest.$ac_ext >&5
35863
35864 ac_header_compiler=no
35865 fi
35866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35867 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35868 echo "${ECHO_T}$ac_header_compiler" >&6
35869
35870 # Is the header present?
35871 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35872 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35873 cat >conftest.$ac_ext <<_ACEOF
35874 /* confdefs.h. */
35875 _ACEOF
35876 cat confdefs.h >>conftest.$ac_ext
35877 cat >>conftest.$ac_ext <<_ACEOF
35878 /* end confdefs.h. */
35879 #include <$ac_header>
35880 _ACEOF
35881 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35882 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
35883 ac_status=$?
35884 grep -v '^ *+' conftest.er1 >conftest.err
35885 rm -f conftest.er1
35886 cat conftest.err >&5
35887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35888 (exit $ac_status); } >/dev/null; then
35889 if test -s conftest.err; then
35890 ac_cpp_err=$ac_c_preproc_warn_flag
35891 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
35892 else
35893 ac_cpp_err=
35894 fi
35895 else
35896 ac_cpp_err=yes
35897 fi
35898 if test -z "$ac_cpp_err"; then
35899 ac_header_preproc=yes
35900 else
35901 echo "$as_me: failed program was:" >&5
35902 sed 's/^/| /' conftest.$ac_ext >&5
35903
35904 ac_header_preproc=no
35905 fi
35906 rm -f conftest.err conftest.$ac_ext
35907 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35908 echo "${ECHO_T}$ac_header_preproc" >&6
35909
35910 # So? What about this header?
35911 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35912 yes:no: )
35913 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35914 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35915 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35916 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35917 ac_header_preproc=yes
35918 ;;
35919 no:yes:* )
35920 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35921 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35922 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35923 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35924 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35925 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35926 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35927 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35928 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35929 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35930 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35931 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35932 (
35933 cat <<\_ASBOX
35934 ## ----------------------------------------- ##
35935 ## Report this to wx-dev@lists.wxwidgets.org ##
35936 ## ----------------------------------------- ##
35937 _ASBOX
35938 ) |
35939 sed "s/^/$as_me: WARNING: /" >&2
35940 ;;
35941 esac
35942 echo "$as_me:$LINENO: checking for $ac_header" >&5
35943 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35944 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35945 echo $ECHO_N "(cached) $ECHO_C" >&6
35946 else
35947 eval "$as_ac_Header=\$ac_header_preproc"
35948 fi
35949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35950 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35951
35952 fi
35953 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35954 cat >>confdefs.h <<_ACEOF
35955 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35956 _ACEOF
35957
35958 fi
35959
35960 done
35961
35962
35963 if test "$wxUSE_LIBSDL" != "no"; then
35964
35965 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
35966 if test "${with_sdl_prefix+set}" = set; then
35967 withval="$with_sdl_prefix"
35968 sdl_prefix="$withval"
35969 else
35970 sdl_prefix=""
35971 fi;
35972
35973 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
35974 if test "${with_sdl_exec_prefix+set}" = set; then
35975 withval="$with_sdl_exec_prefix"
35976 sdl_exec_prefix="$withval"
35977 else
35978 sdl_exec_prefix=""
35979 fi;
35980 # Check whether --enable-sdltest or --disable-sdltest was given.
35981 if test "${enable_sdltest+set}" = set; then
35982 enableval="$enable_sdltest"
35983
35984 else
35985 enable_sdltest=yes
35986 fi;
35987
35988 if test x$sdl_exec_prefix != x ; then
35989 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
35990 if test x${SDL_CONFIG+set} != xset ; then
35991 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
35992 fi
35993 fi
35994 if test x$sdl_prefix != x ; then
35995 sdl_args="$sdl_args --prefix=$sdl_prefix"
35996 if test x${SDL_CONFIG+set} != xset ; then
35997 SDL_CONFIG=$sdl_prefix/bin/sdl-config
35998 fi
35999 fi
36000
36001
36002 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
36003 # Extract the first word of "sdl-config", so it can be a program name with args.
36004 set dummy sdl-config; ac_word=$2
36005 echo "$as_me:$LINENO: checking for $ac_word" >&5
36006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36007 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
36008 echo $ECHO_N "(cached) $ECHO_C" >&6
36009 else
36010 case $SDL_CONFIG in
36011 [\\/]* | ?:[\\/]*)
36012 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
36013 ;;
36014 *)
36015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36016 for as_dir in $PATH
36017 do
36018 IFS=$as_save_IFS
36019 test -z "$as_dir" && as_dir=.
36020 for ac_exec_ext in '' $ac_executable_extensions; do
36021 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36022 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36023 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36024 break 2
36025 fi
36026 done
36027 done
36028
36029 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
36030 ;;
36031 esac
36032 fi
36033 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
36034
36035 if test -n "$SDL_CONFIG"; then
36036 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
36037 echo "${ECHO_T}$SDL_CONFIG" >&6
36038 else
36039 echo "$as_me:$LINENO: result: no" >&5
36040 echo "${ECHO_T}no" >&6
36041 fi
36042
36043 min_sdl_version=1.2.0
36044 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
36045 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
36046 no_sdl=""
36047 if test "$SDL_CONFIG" = "no" ; then
36048 no_sdl=yes
36049 else
36050 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
36051 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
36052
36053 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
36054 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
36055 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
36056 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
36057 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
36058 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
36059 if test "x$enable_sdltest" = "xyes" ; then
36060 ac_save_CFLAGS="$CFLAGS"
36061 ac_save_CXXFLAGS="$CXXFLAGS"
36062 ac_save_LIBS="$LIBS"
36063 CFLAGS="$CFLAGS $SDL_CFLAGS"
36064 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
36065 LIBS="$LIBS $SDL_LIBS"
36066 rm -f conf.sdltest
36067 if test "$cross_compiling" = yes; then
36068 echo $ac_n "cross compiling; assumed OK... $ac_c"
36069 else
36070 cat >conftest.$ac_ext <<_ACEOF
36071 /* confdefs.h. */
36072 _ACEOF
36073 cat confdefs.h >>conftest.$ac_ext
36074 cat >>conftest.$ac_ext <<_ACEOF
36075 /* end confdefs.h. */
36076
36077 #include <stdio.h>
36078 #include <stdlib.h>
36079 #include <string.h>
36080 #include "SDL.h"
36081
36082 char*
36083 my_strdup (char *str)
36084 {
36085 char *new_str;
36086
36087 if (str)
36088 {
36089 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
36090 strcpy (new_str, str);
36091 }
36092 else
36093 new_str = NULL;
36094
36095 return new_str;
36096 }
36097
36098 int main (int argc, char *argv[])
36099 {
36100 int major, minor, micro;
36101 char *tmp_version;
36102
36103 /* This hangs on some systems (?)
36104 system ("touch conf.sdltest");
36105 */
36106 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
36107
36108 /* HP/UX 9 (%@#!) writes to sscanf strings */
36109 tmp_version = my_strdup("$min_sdl_version");
36110 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
36111 printf("%s, bad version string\n", "$min_sdl_version");
36112 exit(1);
36113 }
36114
36115 if (($sdl_major_version > major) ||
36116 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
36117 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
36118 {
36119 return 0;
36120 }
36121 else
36122 {
36123 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
36124 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
36125 printf("*** best to upgrade to the required version.\n");
36126 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
36127 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
36128 printf("*** config.cache before re-running configure\n");
36129 return 1;
36130 }
36131 }
36132
36133
36134 _ACEOF
36135 rm -f conftest$ac_exeext
36136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36137 (eval $ac_link) 2>&5
36138 ac_status=$?
36139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36140 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
36141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36142 (eval $ac_try) 2>&5
36143 ac_status=$?
36144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36145 (exit $ac_status); }; }; then
36146 :
36147 else
36148 echo "$as_me: program exited with status $ac_status" >&5
36149 echo "$as_me: failed program was:" >&5
36150 sed 's/^/| /' conftest.$ac_ext >&5
36151
36152 ( exit $ac_status )
36153 no_sdl=yes
36154 fi
36155 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
36156 fi
36157 CFLAGS="$ac_save_CFLAGS"
36158 CXXFLAGS="$ac_save_CXXFLAGS"
36159 LIBS="$ac_save_LIBS"
36160 fi
36161 fi
36162 if test "x$no_sdl" = x ; then
36163 echo "$as_me:$LINENO: result: yes" >&5
36164 echo "${ECHO_T}yes" >&6
36165
36166 EXTRALIBS_SDL="$SDL_LIBS"
36167 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
36168 cat >>confdefs.h <<\_ACEOF
36169 #define wxUSE_LIBSDL 1
36170 _ACEOF
36171
36172
36173 else
36174 echo "$as_me:$LINENO: result: no" >&5
36175 echo "${ECHO_T}no" >&6
36176 if test "$SDL_CONFIG" = "no" ; then
36177 echo "*** The sdl-config script installed by SDL could not be found"
36178 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
36179 echo "*** your path, or set the SDL_CONFIG environment variable to the"
36180 echo "*** full path to sdl-config."
36181 else
36182 if test -f conf.sdltest ; then
36183 :
36184 else
36185 echo "*** Could not run SDL test program, checking why..."
36186 CFLAGS="$CFLAGS $SDL_CFLAGS"
36187 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
36188 LIBS="$LIBS $SDL_LIBS"
36189 cat >conftest.$ac_ext <<_ACEOF
36190 /* confdefs.h. */
36191 _ACEOF
36192 cat confdefs.h >>conftest.$ac_ext
36193 cat >>conftest.$ac_ext <<_ACEOF
36194 /* end confdefs.h. */
36195
36196 #include <stdio.h>
36197 #include "SDL.h"
36198
36199 int main(int argc, char *argv[])
36200 { return 0; }
36201 #undef main
36202 #define main K_and_R_C_main
36203
36204 int
36205 main ()
36206 {
36207 return 0;
36208 ;
36209 return 0;
36210 }
36211 _ACEOF
36212 rm -f conftest.$ac_objext conftest$ac_exeext
36213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36214 (eval $ac_link) 2>conftest.er1
36215 ac_status=$?
36216 grep -v '^ *+' conftest.er1 >conftest.err
36217 rm -f conftest.er1
36218 cat conftest.err >&5
36219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36220 (exit $ac_status); } &&
36221 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36223 (eval $ac_try) 2>&5
36224 ac_status=$?
36225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36226 (exit $ac_status); }; } &&
36227 { ac_try='test -s conftest$ac_exeext'
36228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36229 (eval $ac_try) 2>&5
36230 ac_status=$?
36231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36232 (exit $ac_status); }; }; then
36233 echo "*** The test program compiled, but did not run. This usually means"
36234 echo "*** that the run-time linker is not finding SDL or finding the wrong"
36235 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
36236 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
36237 echo "*** to the installed location Also, make sure you have run ldconfig if that"
36238 echo "*** is required on your system"
36239 echo "***"
36240 echo "*** If you have an old version installed, it is best to remove it, although"
36241 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
36242 else
36243 echo "$as_me: failed program was:" >&5
36244 sed 's/^/| /' conftest.$ac_ext >&5
36245
36246 echo "*** The test program failed to compile or link. See the file config.log for the"
36247 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
36248 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
36249 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
36250 fi
36251 rm -f conftest.err conftest.$ac_objext \
36252 conftest$ac_exeext conftest.$ac_ext
36253 CFLAGS="$ac_save_CFLAGS"
36254 CXXFLAGS="$ac_save_CXXFLAGS"
36255 LIBS="$ac_save_LIBS"
36256 fi
36257 fi
36258 SDL_CFLAGS=""
36259 SDL_LIBS=""
36260 wxUSE_LIBSDL="no"
36261 fi
36262
36263
36264 rm -f conf.sdltest
36265
36266 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
36267 WITH_PLUGIN_SDL=1
36268 fi
36269 fi
36270 fi
36271
36272 cat >>confdefs.h <<\_ACEOF
36273 #define wxUSE_SOUND 1
36274 _ACEOF
36275
36276 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
36277 fi
36278
36279 if test "$WXGTK20" = 1; then
36280 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36281 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
36282
36283
36284 succeeded=no
36285
36286 if test -z "$PKG_CONFIG"; then
36287 # Extract the first word of "pkg-config", so it can be a program name with args.
36288 set dummy pkg-config; ac_word=$2
36289 echo "$as_me:$LINENO: checking for $ac_word" >&5
36290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36291 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36292 echo $ECHO_N "(cached) $ECHO_C" >&6
36293 else
36294 case $PKG_CONFIG in
36295 [\\/]* | ?:[\\/]*)
36296 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
36297 ;;
36298 *)
36299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36300 for as_dir in $PATH
36301 do
36302 IFS=$as_save_IFS
36303 test -z "$as_dir" && as_dir=.
36304 for ac_exec_ext in '' $ac_executable_extensions; do
36305 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36306 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36308 break 2
36309 fi
36310 done
36311 done
36312
36313 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
36314 ;;
36315 esac
36316 fi
36317 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
36318
36319 if test -n "$PKG_CONFIG"; then
36320 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
36321 echo "${ECHO_T}$PKG_CONFIG" >&6
36322 else
36323 echo "$as_me:$LINENO: result: no" >&5
36324 echo "${ECHO_T}no" >&6
36325 fi
36326
36327 fi
36328
36329 if test "$PKG_CONFIG" = "no" ; then
36330 echo "*** The pkg-config script could not be found. Make sure it is"
36331 echo "*** in your path, or set the PKG_CONFIG environment variable"
36332 echo "*** to the full path to pkg-config."
36333 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
36334 else
36335 PKG_CONFIG_MIN_VERSION=0.9.0
36336 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
36337 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
36338 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
36339
36340 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
36341 echo "$as_me:$LINENO: result: yes" >&5
36342 echo "${ECHO_T}yes" >&6
36343 succeeded=yes
36344
36345 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
36346 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
36347 LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
36348 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
36349 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
36350
36351 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
36352 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
36353 LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
36354 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
36355 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
36356 else
36357 LIBGNOMEPRINTUI_CFLAGS=""
36358 LIBGNOMEPRINTUI_LIBS=""
36359 ## If we have a custom action on failure, don't print errors, but
36360 ## do set a variable so people can do so.
36361 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
36362
36363 fi
36364
36365
36366
36367 else
36368 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
36369 echo "*** See http://www.freedesktop.org/software/pkgconfig"
36370 fi
36371 fi
36372
36373 if test $succeeded = yes; then
36374
36375 CXXFLAGS="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
36376 cat >>confdefs.h <<\_ACEOF
36377 #define wxUSE_LIBGNOMEPRINT 1
36378 _ACEOF
36379
36380
36381 else
36382
36383 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
36384 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
36385 wxUSE_LIBGNOMEPRINT="no"
36386
36387
36388 fi
36389
36390 fi
36391 fi
36392 fi
36393
36394
36395 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
36396 cat >>confdefs.h <<\_ACEOF
36397 #define wxUSE_CMDLINE_PARSER 1
36398 _ACEOF
36399
36400 fi
36401
36402 if test "$wxUSE_STOPWATCH" = "yes"; then
36403 cat >>confdefs.h <<\_ACEOF
36404 #define wxUSE_STOPWATCH 1
36405 _ACEOF
36406
36407 fi
36408
36409 if test "$wxUSE_DATETIME" = "yes"; then
36410 cat >>confdefs.h <<\_ACEOF
36411 #define wxUSE_DATETIME 1
36412 _ACEOF
36413
36414 fi
36415
36416 if test "$wxUSE_FILE" = "yes"; then
36417 cat >>confdefs.h <<\_ACEOF
36418 #define wxUSE_FILE 1
36419 _ACEOF
36420
36421 fi
36422
36423 if test "$wxUSE_FFILE" = "yes"; then
36424 cat >>confdefs.h <<\_ACEOF
36425 #define wxUSE_FFILE 1
36426 _ACEOF
36427
36428 fi
36429
36430 if test "$wxUSE_FILESYSTEM" = "yes"; then
36431 cat >>confdefs.h <<\_ACEOF
36432 #define wxUSE_FILESYSTEM 1
36433 _ACEOF
36434
36435 fi
36436
36437 if test "$wxUSE_FS_ZIP" = "yes"; then
36438 cat >>confdefs.h <<\_ACEOF
36439 #define wxUSE_FS_ZIP 1
36440 _ACEOF
36441
36442 fi
36443
36444 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
36445 cat >>confdefs.h <<\_ACEOF
36446 #define wxUSE_ARCHIVE_STREAMS 1
36447 _ACEOF
36448
36449 fi
36450
36451 if test "$wxUSE_ZIPSTREAM" = "yes"; then
36452 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
36453 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
36454 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
36455 elif test "$wxUSE_ZLIB" = "no"; then
36456 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
36457 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
36458 else
36459 cat >>confdefs.h <<\_ACEOF
36460 #define wxUSE_ZIPSTREAM 1
36461 _ACEOF
36462
36463 fi
36464 fi
36465
36466 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36467 cat >>confdefs.h <<\_ACEOF
36468 #define wxUSE_ON_FATAL_EXCEPTION 1
36469 _ACEOF
36470
36471 fi
36472
36473 if test "$wxUSE_STACKWALKER" = "yes"; then
36474 cat >>confdefs.h <<\_ACEOF
36475 #define wxUSE_STACKWALKER 1
36476 _ACEOF
36477
36478 fi
36479
36480 if test "$wxUSE_DEBUGREPORT" = "yes"; then
36481 cat >>confdefs.h <<\_ACEOF
36482 #define wxUSE_DEBUGREPORT 1
36483 _ACEOF
36484
36485 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
36486 fi
36487
36488 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36489 cat >>confdefs.h <<\_ACEOF
36490 #define wxUSE_SNGLINST_CHECKER 1
36491 _ACEOF
36492
36493 fi
36494
36495 if test "$wxUSE_BUSYINFO" = "yes"; then
36496 cat >>confdefs.h <<\_ACEOF
36497 #define wxUSE_BUSYINFO 1
36498 _ACEOF
36499
36500 fi
36501
36502 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
36503 cat >>confdefs.h <<\_ACEOF
36504 #define wxUSE_STD_IOSTREAM 1
36505 _ACEOF
36506
36507 fi
36508
36509 if test "$wxUSE_STDPATHS" = "yes"; then
36510 cat >>confdefs.h <<\_ACEOF
36511 #define wxUSE_STDPATHS 1
36512 _ACEOF
36513
36514 fi
36515
36516 if test "$wxUSE_TEXTBUFFER" = "yes"; then
36517 cat >>confdefs.h <<\_ACEOF
36518 #define wxUSE_TEXTBUFFER 1
36519 _ACEOF
36520
36521 fi
36522
36523 if test "$wxUSE_TEXTFILE" = "yes"; then
36524 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
36525 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
36526 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
36527 else
36528 cat >>confdefs.h <<\_ACEOF
36529 #define wxUSE_TEXTFILE 1
36530 _ACEOF
36531
36532 fi
36533 fi
36534
36535 if test "$wxUSE_CONFIG" = "yes" ; then
36536 if test "$wxUSE_TEXTFILE" != "yes"; then
36537 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
36538 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
36539 else
36540 cat >>confdefs.h <<\_ACEOF
36541 #define wxUSE_CONFIG 1
36542 _ACEOF
36543
36544 cat >>confdefs.h <<\_ACEOF
36545 #define wxUSE_CONFIG_NATIVE 1
36546 _ACEOF
36547
36548 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
36549 fi
36550 fi
36551
36552 if test "$wxUSE_INTL" = "yes" ; then
36553 if test "$wxUSE_FILE" != "yes"; then
36554 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
36555 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
36556 else
36557 cat >>confdefs.h <<\_ACEOF
36558 #define wxUSE_INTL 1
36559 _ACEOF
36560
36561 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
36562 GUIDIST="$GUIDIST INTL_DIST"
36563 fi
36564 fi
36565
36566 if test "$wxUSE_LOG" = "yes"; then
36567 cat >>confdefs.h <<\_ACEOF
36568 #define wxUSE_LOG 1
36569 _ACEOF
36570
36571
36572 if test "$wxUSE_LOGGUI" = "yes"; then
36573 cat >>confdefs.h <<\_ACEOF
36574 #define wxUSE_LOGGUI 1
36575 _ACEOF
36576
36577 fi
36578
36579 if test "$wxUSE_LOGWINDOW" = "yes"; then
36580 cat >>confdefs.h <<\_ACEOF
36581 #define wxUSE_LOGWINDOW 1
36582 _ACEOF
36583
36584 fi
36585
36586 if test "$wxUSE_LOGDIALOG" = "yes"; then
36587 cat >>confdefs.h <<\_ACEOF
36588 #define wxUSE_LOG_DIALOG 1
36589 _ACEOF
36590
36591 fi
36592
36593 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
36594 fi
36595
36596 if test "$wxUSE_LONGLONG" = "yes"; then
36597 cat >>confdefs.h <<\_ACEOF
36598 #define wxUSE_LONGLONG 1
36599 _ACEOF
36600
36601 fi
36602
36603 if test "$wxUSE_GEOMETRY" = "yes"; then
36604 cat >>confdefs.h <<\_ACEOF
36605 #define wxUSE_GEOMETRY 1
36606 _ACEOF
36607
36608 fi
36609
36610 if test "$wxUSE_STREAMS" = "yes" ; then
36611 cat >>confdefs.h <<\_ACEOF
36612 #define wxUSE_STREAMS 1
36613 _ACEOF
36614
36615 fi
36616
36617
36618 if test "$wxUSE_DATETIME" = "yes"; then
36619
36620 for ac_func in strptime
36621 do
36622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36623 echo "$as_me:$LINENO: checking for $ac_func" >&5
36624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36625 if eval "test \"\${$as_ac_var+set}\" = set"; then
36626 echo $ECHO_N "(cached) $ECHO_C" >&6
36627 else
36628 cat >conftest.$ac_ext <<_ACEOF
36629 /* confdefs.h. */
36630 _ACEOF
36631 cat confdefs.h >>conftest.$ac_ext
36632 cat >>conftest.$ac_ext <<_ACEOF
36633 /* end confdefs.h. */
36634 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36636 #define $ac_func innocuous_$ac_func
36637
36638 /* System header to define __stub macros and hopefully few prototypes,
36639 which can conflict with char $ac_func (); below.
36640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36641 <limits.h> exists even on freestanding compilers. */
36642
36643 #ifdef __STDC__
36644 # include <limits.h>
36645 #else
36646 # include <assert.h>
36647 #endif
36648
36649 #undef $ac_func
36650
36651 /* Override any gcc2 internal prototype to avoid an error. */
36652 #ifdef __cplusplus
36653 extern "C"
36654 {
36655 #endif
36656 /* We use char because int might match the return type of a gcc2
36657 builtin and then its argument prototype would still apply. */
36658 char $ac_func ();
36659 /* The GNU C library defines this for functions which it implements
36660 to always fail with ENOSYS. Some functions are actually named
36661 something starting with __ and the normal name is an alias. */
36662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36663 choke me
36664 #else
36665 char (*f) () = $ac_func;
36666 #endif
36667 #ifdef __cplusplus
36668 }
36669 #endif
36670
36671 int
36672 main ()
36673 {
36674 return f != $ac_func;
36675 ;
36676 return 0;
36677 }
36678 _ACEOF
36679 rm -f conftest.$ac_objext conftest$ac_exeext
36680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36681 (eval $ac_link) 2>conftest.er1
36682 ac_status=$?
36683 grep -v '^ *+' conftest.er1 >conftest.err
36684 rm -f conftest.er1
36685 cat conftest.err >&5
36686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36687 (exit $ac_status); } &&
36688 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36690 (eval $ac_try) 2>&5
36691 ac_status=$?
36692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36693 (exit $ac_status); }; } &&
36694 { ac_try='test -s conftest$ac_exeext'
36695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36696 (eval $ac_try) 2>&5
36697 ac_status=$?
36698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36699 (exit $ac_status); }; }; then
36700 eval "$as_ac_var=yes"
36701 else
36702 echo "$as_me: failed program was:" >&5
36703 sed 's/^/| /' conftest.$ac_ext >&5
36704
36705 eval "$as_ac_var=no"
36706 fi
36707 rm -f conftest.err conftest.$ac_objext \
36708 conftest$ac_exeext conftest.$ac_ext
36709 fi
36710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36712 if test `eval echo '${'$as_ac_var'}'` = yes; then
36713 cat >>confdefs.h <<_ACEOF
36714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36715 _ACEOF
36716
36717 fi
36718 done
36719
36720
36721 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
36722 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
36723 if test "${wx_cv_var_timezone+set}" = set; then
36724 echo $ECHO_N "(cached) $ECHO_C" >&6
36725 else
36726
36727 cat >conftest.$ac_ext <<_ACEOF
36728 /* confdefs.h. */
36729 _ACEOF
36730 cat confdefs.h >>conftest.$ac_ext
36731 cat >>conftest.$ac_ext <<_ACEOF
36732 /* end confdefs.h. */
36733
36734 #include <time.h>
36735
36736 int
36737 main ()
36738 {
36739
36740 int tz;
36741 tz = timezone;
36742
36743 ;
36744 return 0;
36745 }
36746 _ACEOF
36747 rm -f conftest.$ac_objext
36748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36749 (eval $ac_compile) 2>conftest.er1
36750 ac_status=$?
36751 grep -v '^ *+' conftest.er1 >conftest.err
36752 rm -f conftest.er1
36753 cat conftest.err >&5
36754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36755 (exit $ac_status); } &&
36756 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36758 (eval $ac_try) 2>&5
36759 ac_status=$?
36760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36761 (exit $ac_status); }; } &&
36762 { ac_try='test -s conftest.$ac_objext'
36763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36764 (eval $ac_try) 2>&5
36765 ac_status=$?
36766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36767 (exit $ac_status); }; }; then
36768
36769 wx_cv_var_timezone=timezone
36770
36771 else
36772 echo "$as_me: failed program was:" >&5
36773 sed 's/^/| /' conftest.$ac_ext >&5
36774
36775
36776 cat >conftest.$ac_ext <<_ACEOF
36777 /* confdefs.h. */
36778 _ACEOF
36779 cat confdefs.h >>conftest.$ac_ext
36780 cat >>conftest.$ac_ext <<_ACEOF
36781 /* end confdefs.h. */
36782
36783 #include <time.h>
36784
36785 int
36786 main ()
36787 {
36788
36789 int tz;
36790 tz = _timezone;
36791
36792 ;
36793 return 0;
36794 }
36795 _ACEOF
36796 rm -f conftest.$ac_objext
36797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36798 (eval $ac_compile) 2>conftest.er1
36799 ac_status=$?
36800 grep -v '^ *+' conftest.er1 >conftest.err
36801 rm -f conftest.er1
36802 cat conftest.err >&5
36803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36804 (exit $ac_status); } &&
36805 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36807 (eval $ac_try) 2>&5
36808 ac_status=$?
36809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36810 (exit $ac_status); }; } &&
36811 { ac_try='test -s conftest.$ac_objext'
36812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36813 (eval $ac_try) 2>&5
36814 ac_status=$?
36815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36816 (exit $ac_status); }; }; then
36817
36818 wx_cv_var_timezone=_timezone
36819
36820 else
36821 echo "$as_me: failed program was:" >&5
36822 sed 's/^/| /' conftest.$ac_ext >&5
36823
36824
36825 cat >conftest.$ac_ext <<_ACEOF
36826 /* confdefs.h. */
36827 _ACEOF
36828 cat confdefs.h >>conftest.$ac_ext
36829 cat >>conftest.$ac_ext <<_ACEOF
36830 /* end confdefs.h. */
36831
36832 #include <time.h>
36833
36834 int
36835 main ()
36836 {
36837
36838 int tz;
36839 tz = __timezone;
36840
36841 ;
36842 return 0;
36843 }
36844 _ACEOF
36845 rm -f conftest.$ac_objext
36846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36847 (eval $ac_compile) 2>conftest.er1
36848 ac_status=$?
36849 grep -v '^ *+' conftest.er1 >conftest.err
36850 rm -f conftest.er1
36851 cat conftest.err >&5
36852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36853 (exit $ac_status); } &&
36854 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36856 (eval $ac_try) 2>&5
36857 ac_status=$?
36858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36859 (exit $ac_status); }; } &&
36860 { ac_try='test -s conftest.$ac_objext'
36861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36862 (eval $ac_try) 2>&5
36863 ac_status=$?
36864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36865 (exit $ac_status); }; }; then
36866
36867 wx_cv_var_timezone=__timezone
36868
36869 else
36870 echo "$as_me: failed program was:" >&5
36871 sed 's/^/| /' conftest.$ac_ext >&5
36872
36873
36874 if test "$USE_DOS" = 0 ; then
36875 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
36876 echo "$as_me: WARNING: no timezone variable" >&2;}
36877 fi
36878
36879
36880 fi
36881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36882
36883
36884 fi
36885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36886
36887
36888 fi
36889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36890
36891
36892 fi
36893 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
36894 echo "${ECHO_T}$wx_cv_var_timezone" >&6
36895
36896 if test "x$wx_cv_var_timezone" != x ; then
36897 cat >>confdefs.h <<_ACEOF
36898 #define WX_TIMEZONE $wx_cv_var_timezone
36899 _ACEOF
36900
36901 fi
36902
36903
36904 for ac_func in localtime
36905 do
36906 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36907 echo "$as_me:$LINENO: checking for $ac_func" >&5
36908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36909 if eval "test \"\${$as_ac_var+set}\" = set"; then
36910 echo $ECHO_N "(cached) $ECHO_C" >&6
36911 else
36912 cat >conftest.$ac_ext <<_ACEOF
36913 /* confdefs.h. */
36914 _ACEOF
36915 cat confdefs.h >>conftest.$ac_ext
36916 cat >>conftest.$ac_ext <<_ACEOF
36917 /* end confdefs.h. */
36918 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36919 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36920 #define $ac_func innocuous_$ac_func
36921
36922 /* System header to define __stub macros and hopefully few prototypes,
36923 which can conflict with char $ac_func (); below.
36924 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36925 <limits.h> exists even on freestanding compilers. */
36926
36927 #ifdef __STDC__
36928 # include <limits.h>
36929 #else
36930 # include <assert.h>
36931 #endif
36932
36933 #undef $ac_func
36934
36935 /* Override any gcc2 internal prototype to avoid an error. */
36936 #ifdef __cplusplus
36937 extern "C"
36938 {
36939 #endif
36940 /* We use char because int might match the return type of a gcc2
36941 builtin and then its argument prototype would still apply. */
36942 char $ac_func ();
36943 /* The GNU C library defines this for functions which it implements
36944 to always fail with ENOSYS. Some functions are actually named
36945 something starting with __ and the normal name is an alias. */
36946 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36947 choke me
36948 #else
36949 char (*f) () = $ac_func;
36950 #endif
36951 #ifdef __cplusplus
36952 }
36953 #endif
36954
36955 int
36956 main ()
36957 {
36958 return f != $ac_func;
36959 ;
36960 return 0;
36961 }
36962 _ACEOF
36963 rm -f conftest.$ac_objext conftest$ac_exeext
36964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36965 (eval $ac_link) 2>conftest.er1
36966 ac_status=$?
36967 grep -v '^ *+' conftest.er1 >conftest.err
36968 rm -f conftest.er1
36969 cat conftest.err >&5
36970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36971 (exit $ac_status); } &&
36972 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36974 (eval $ac_try) 2>&5
36975 ac_status=$?
36976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36977 (exit $ac_status); }; } &&
36978 { ac_try='test -s conftest$ac_exeext'
36979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36980 (eval $ac_try) 2>&5
36981 ac_status=$?
36982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36983 (exit $ac_status); }; }; then
36984 eval "$as_ac_var=yes"
36985 else
36986 echo "$as_me: failed program was:" >&5
36987 sed 's/^/| /' conftest.$ac_ext >&5
36988
36989 eval "$as_ac_var=no"
36990 fi
36991 rm -f conftest.err conftest.$ac_objext \
36992 conftest$ac_exeext conftest.$ac_ext
36993 fi
36994 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36995 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36996 if test `eval echo '${'$as_ac_var'}'` = yes; then
36997 cat >>confdefs.h <<_ACEOF
36998 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36999 _ACEOF
37000
37001 fi
37002 done
37003
37004
37005 if test "$ac_cv_func_localtime" = "yes"; then
37006 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
37007 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
37008 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
37009 echo $ECHO_N "(cached) $ECHO_C" >&6
37010 else
37011
37012 cat >conftest.$ac_ext <<_ACEOF
37013 /* confdefs.h. */
37014 _ACEOF
37015 cat confdefs.h >>conftest.$ac_ext
37016 cat >>conftest.$ac_ext <<_ACEOF
37017 /* end confdefs.h. */
37018
37019 #include <time.h>
37020
37021 int
37022 main ()
37023 {
37024
37025 struct tm tm;
37026 tm.tm_gmtoff++;
37027
37028 ;
37029 return 0;
37030 }
37031 _ACEOF
37032 rm -f conftest.$ac_objext
37033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37034 (eval $ac_compile) 2>conftest.er1
37035 ac_status=$?
37036 grep -v '^ *+' conftest.er1 >conftest.err
37037 rm -f conftest.er1
37038 cat conftest.err >&5
37039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37040 (exit $ac_status); } &&
37041 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37043 (eval $ac_try) 2>&5
37044 ac_status=$?
37045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37046 (exit $ac_status); }; } &&
37047 { ac_try='test -s conftest.$ac_objext'
37048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37049 (eval $ac_try) 2>&5
37050 ac_status=$?
37051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37052 (exit $ac_status); }; }; then
37053
37054 wx_cv_struct_tm_has_gmtoff=yes
37055
37056 else
37057 echo "$as_me: failed program was:" >&5
37058 sed 's/^/| /' conftest.$ac_ext >&5
37059
37060 wx_cv_struct_tm_has_gmtoff=no
37061
37062 fi
37063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37064
37065 fi
37066 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
37067 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
37068 fi
37069
37070 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
37071 cat >>confdefs.h <<\_ACEOF
37072 #define WX_GMTOFF_IN_TM 1
37073 _ACEOF
37074
37075 fi
37076
37077
37078
37079 for ac_func in gettimeofday ftime
37080 do
37081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37082 echo "$as_me:$LINENO: checking for $ac_func" >&5
37083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37084 if eval "test \"\${$as_ac_var+set}\" = set"; then
37085 echo $ECHO_N "(cached) $ECHO_C" >&6
37086 else
37087 cat >conftest.$ac_ext <<_ACEOF
37088 /* confdefs.h. */
37089 _ACEOF
37090 cat confdefs.h >>conftest.$ac_ext
37091 cat >>conftest.$ac_ext <<_ACEOF
37092 /* end confdefs.h. */
37093 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37095 #define $ac_func innocuous_$ac_func
37096
37097 /* System header to define __stub macros and hopefully few prototypes,
37098 which can conflict with char $ac_func (); below.
37099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37100 <limits.h> exists even on freestanding compilers. */
37101
37102 #ifdef __STDC__
37103 # include <limits.h>
37104 #else
37105 # include <assert.h>
37106 #endif
37107
37108 #undef $ac_func
37109
37110 /* Override any gcc2 internal prototype to avoid an error. */
37111 #ifdef __cplusplus
37112 extern "C"
37113 {
37114 #endif
37115 /* We use char because int might match the return type of a gcc2
37116 builtin and then its argument prototype would still apply. */
37117 char $ac_func ();
37118 /* The GNU C library defines this for functions which it implements
37119 to always fail with ENOSYS. Some functions are actually named
37120 something starting with __ and the normal name is an alias. */
37121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37122 choke me
37123 #else
37124 char (*f) () = $ac_func;
37125 #endif
37126 #ifdef __cplusplus
37127 }
37128 #endif
37129
37130 int
37131 main ()
37132 {
37133 return f != $ac_func;
37134 ;
37135 return 0;
37136 }
37137 _ACEOF
37138 rm -f conftest.$ac_objext conftest$ac_exeext
37139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37140 (eval $ac_link) 2>conftest.er1
37141 ac_status=$?
37142 grep -v '^ *+' conftest.er1 >conftest.err
37143 rm -f conftest.er1
37144 cat conftest.err >&5
37145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37146 (exit $ac_status); } &&
37147 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37149 (eval $ac_try) 2>&5
37150 ac_status=$?
37151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37152 (exit $ac_status); }; } &&
37153 { ac_try='test -s conftest$ac_exeext'
37154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37155 (eval $ac_try) 2>&5
37156 ac_status=$?
37157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37158 (exit $ac_status); }; }; then
37159 eval "$as_ac_var=yes"
37160 else
37161 echo "$as_me: failed program was:" >&5
37162 sed 's/^/| /' conftest.$ac_ext >&5
37163
37164 eval "$as_ac_var=no"
37165 fi
37166 rm -f conftest.err conftest.$ac_objext \
37167 conftest$ac_exeext conftest.$ac_ext
37168 fi
37169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37171 if test `eval echo '${'$as_ac_var'}'` = yes; then
37172 cat >>confdefs.h <<_ACEOF
37173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37174 _ACEOF
37175 break
37176 fi
37177 done
37178
37179
37180 if test "$ac_cv_func_gettimeofday" = "yes"; then
37181 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
37182 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
37183 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
37184 echo $ECHO_N "(cached) $ECHO_C" >&6
37185 else
37186
37187
37188
37189 ac_ext=cc
37190 ac_cpp='$CXXCPP $CPPFLAGS'
37191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37194
37195
37196 cat >conftest.$ac_ext <<_ACEOF
37197 /* confdefs.h. */
37198 _ACEOF
37199 cat confdefs.h >>conftest.$ac_ext
37200 cat >>conftest.$ac_ext <<_ACEOF
37201 /* end confdefs.h. */
37202
37203 #include <sys/time.h>
37204 #include <unistd.h>
37205
37206 int
37207 main ()
37208 {
37209
37210 struct timeval tv;
37211 gettimeofday(&tv, NULL);
37212
37213 ;
37214 return 0;
37215 }
37216 _ACEOF
37217 rm -f conftest.$ac_objext
37218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37219 (eval $ac_compile) 2>conftest.er1
37220 ac_status=$?
37221 grep -v '^ *+' conftest.er1 >conftest.err
37222 rm -f conftest.er1
37223 cat conftest.err >&5
37224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37225 (exit $ac_status); } &&
37226 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37228 (eval $ac_try) 2>&5
37229 ac_status=$?
37230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37231 (exit $ac_status); }; } &&
37232 { ac_try='test -s conftest.$ac_objext'
37233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37234 (eval $ac_try) 2>&5
37235 ac_status=$?
37236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37237 (exit $ac_status); }; }; then
37238 wx_cv_func_gettimeofday_has_2_args=yes
37239 else
37240 echo "$as_me: failed program was:" >&5
37241 sed 's/^/| /' conftest.$ac_ext >&5
37242
37243 cat >conftest.$ac_ext <<_ACEOF
37244 /* confdefs.h. */
37245 _ACEOF
37246 cat confdefs.h >>conftest.$ac_ext
37247 cat >>conftest.$ac_ext <<_ACEOF
37248 /* end confdefs.h. */
37249
37250 #include <sys/time.h>
37251 #include <unistd.h>
37252
37253 int
37254 main ()
37255 {
37256
37257 struct timeval tv;
37258 gettimeofday(&tv);
37259
37260 ;
37261 return 0;
37262 }
37263 _ACEOF
37264 rm -f conftest.$ac_objext
37265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37266 (eval $ac_compile) 2>conftest.er1
37267 ac_status=$?
37268 grep -v '^ *+' conftest.er1 >conftest.err
37269 rm -f conftest.er1
37270 cat conftest.err >&5
37271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37272 (exit $ac_status); } &&
37273 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37275 (eval $ac_try) 2>&5
37276 ac_status=$?
37277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37278 (exit $ac_status); }; } &&
37279 { ac_try='test -s conftest.$ac_objext'
37280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37281 (eval $ac_try) 2>&5
37282 ac_status=$?
37283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37284 (exit $ac_status); }; }; then
37285 wx_cv_func_gettimeofday_has_2_args=no
37286 else
37287 echo "$as_me: failed program was:" >&5
37288 sed 's/^/| /' conftest.$ac_ext >&5
37289
37290
37291 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
37292 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
37293 wx_cv_func_gettimeofday_has_2_args=unknown
37294
37295
37296 fi
37297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37298
37299 fi
37300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37301 ac_ext=c
37302 ac_cpp='$CPP $CPPFLAGS'
37303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37306
37307
37308 fi
37309 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
37310 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
37311
37312 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
37313 cat >>confdefs.h <<\_ACEOF
37314 #define WX_GETTIMEOFDAY_NO_TZ 1
37315 _ACEOF
37316
37317 fi
37318 fi
37319
37320 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
37321 fi
37322
37323
37324 if test "$wxUSE_SOCKETS" = "yes"; then
37325 if test "$wxUSE_MGL" = "1"; then
37326 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
37327 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
37328 wxUSE_SOCKETS="no"
37329 fi
37330 fi
37331
37332 if test "$wxUSE_SOCKETS" = "yes"; then
37333 if test "$TOOLKIT" != "MSW"; then
37334 echo "$as_me:$LINENO: checking for socket" >&5
37335 echo $ECHO_N "checking for socket... $ECHO_C" >&6
37336 if test "${ac_cv_func_socket+set}" = set; then
37337 echo $ECHO_N "(cached) $ECHO_C" >&6
37338 else
37339 cat >conftest.$ac_ext <<_ACEOF
37340 /* confdefs.h. */
37341 _ACEOF
37342 cat confdefs.h >>conftest.$ac_ext
37343 cat >>conftest.$ac_ext <<_ACEOF
37344 /* end confdefs.h. */
37345 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
37346 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37347 #define socket innocuous_socket
37348
37349 /* System header to define __stub macros and hopefully few prototypes,
37350 which can conflict with char socket (); below.
37351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37352 <limits.h> exists even on freestanding compilers. */
37353
37354 #ifdef __STDC__
37355 # include <limits.h>
37356 #else
37357 # include <assert.h>
37358 #endif
37359
37360 #undef socket
37361
37362 /* Override any gcc2 internal prototype to avoid an error. */
37363 #ifdef __cplusplus
37364 extern "C"
37365 {
37366 #endif
37367 /* We use char because int might match the return type of a gcc2
37368 builtin and then its argument prototype would still apply. */
37369 char socket ();
37370 /* The GNU C library defines this for functions which it implements
37371 to always fail with ENOSYS. Some functions are actually named
37372 something starting with __ and the normal name is an alias. */
37373 #if defined (__stub_socket) || defined (__stub___socket)
37374 choke me
37375 #else
37376 char (*f) () = socket;
37377 #endif
37378 #ifdef __cplusplus
37379 }
37380 #endif
37381
37382 int
37383 main ()
37384 {
37385 return f != socket;
37386 ;
37387 return 0;
37388 }
37389 _ACEOF
37390 rm -f conftest.$ac_objext conftest$ac_exeext
37391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37392 (eval $ac_link) 2>conftest.er1
37393 ac_status=$?
37394 grep -v '^ *+' conftest.er1 >conftest.err
37395 rm -f conftest.er1
37396 cat conftest.err >&5
37397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37398 (exit $ac_status); } &&
37399 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37401 (eval $ac_try) 2>&5
37402 ac_status=$?
37403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37404 (exit $ac_status); }; } &&
37405 { ac_try='test -s conftest$ac_exeext'
37406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37407 (eval $ac_try) 2>&5
37408 ac_status=$?
37409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37410 (exit $ac_status); }; }; then
37411 ac_cv_func_socket=yes
37412 else
37413 echo "$as_me: failed program was:" >&5
37414 sed 's/^/| /' conftest.$ac_ext >&5
37415
37416 ac_cv_func_socket=no
37417 fi
37418 rm -f conftest.err conftest.$ac_objext \
37419 conftest$ac_exeext conftest.$ac_ext
37420 fi
37421 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
37422 echo "${ECHO_T}$ac_cv_func_socket" >&6
37423 if test $ac_cv_func_socket = yes; then
37424 :
37425 else
37426
37427 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
37428 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
37429 if test "${ac_cv_lib_socket_socket+set}" = set; then
37430 echo $ECHO_N "(cached) $ECHO_C" >&6
37431 else
37432 ac_check_lib_save_LIBS=$LIBS
37433 LIBS="-lsocket $LIBS"
37434 cat >conftest.$ac_ext <<_ACEOF
37435 /* confdefs.h. */
37436 _ACEOF
37437 cat confdefs.h >>conftest.$ac_ext
37438 cat >>conftest.$ac_ext <<_ACEOF
37439 /* end confdefs.h. */
37440
37441 /* Override any gcc2 internal prototype to avoid an error. */
37442 #ifdef __cplusplus
37443 extern "C"
37444 #endif
37445 /* We use char because int might match the return type of a gcc2
37446 builtin and then its argument prototype would still apply. */
37447 char socket ();
37448 int
37449 main ()
37450 {
37451 socket ();
37452 ;
37453 return 0;
37454 }
37455 _ACEOF
37456 rm -f conftest.$ac_objext conftest$ac_exeext
37457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37458 (eval $ac_link) 2>conftest.er1
37459 ac_status=$?
37460 grep -v '^ *+' conftest.er1 >conftest.err
37461 rm -f conftest.er1
37462 cat conftest.err >&5
37463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37464 (exit $ac_status); } &&
37465 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37467 (eval $ac_try) 2>&5
37468 ac_status=$?
37469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37470 (exit $ac_status); }; } &&
37471 { ac_try='test -s conftest$ac_exeext'
37472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37473 (eval $ac_try) 2>&5
37474 ac_status=$?
37475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37476 (exit $ac_status); }; }; then
37477 ac_cv_lib_socket_socket=yes
37478 else
37479 echo "$as_me: failed program was:" >&5
37480 sed 's/^/| /' conftest.$ac_ext >&5
37481
37482 ac_cv_lib_socket_socket=no
37483 fi
37484 rm -f conftest.err conftest.$ac_objext \
37485 conftest$ac_exeext conftest.$ac_ext
37486 LIBS=$ac_check_lib_save_LIBS
37487 fi
37488 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
37489 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
37490 if test $ac_cv_lib_socket_socket = yes; then
37491 if test "$INET_LINK" != " -lsocket"; then
37492 INET_LINK="$INET_LINK -lsocket"
37493 fi
37494 else
37495
37496 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
37497 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
37498 wxUSE_SOCKETS=no
37499
37500
37501 fi
37502
37503
37504
37505 fi
37506
37507 fi
37508 fi
37509
37510 if test "$wxUSE_SOCKETS" = "yes" ; then
37511 if test "$TOOLKIT" != "MSW"; then
37512 ac_ext=cc
37513 ac_cpp='$CXXCPP $CPPFLAGS'
37514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37517
37518 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
37519 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
37520 if test "${wx_cv_type_getsockname3+set}" = set; then
37521 echo $ECHO_N "(cached) $ECHO_C" >&6
37522 else
37523
37524 cat >conftest.$ac_ext <<_ACEOF
37525 /* confdefs.h. */
37526 _ACEOF
37527 cat confdefs.h >>conftest.$ac_ext
37528 cat >>conftest.$ac_ext <<_ACEOF
37529 /* end confdefs.h. */
37530
37531 #include <sys/types.h>
37532 #include <sys/socket.h>
37533
37534 int
37535 main ()
37536 {
37537
37538 socklen_t len;
37539 getsockname(0, 0, &len);
37540
37541 ;
37542 return 0;
37543 }
37544 _ACEOF
37545 rm -f conftest.$ac_objext
37546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37547 (eval $ac_compile) 2>conftest.er1
37548 ac_status=$?
37549 grep -v '^ *+' conftest.er1 >conftest.err
37550 rm -f conftest.er1
37551 cat conftest.err >&5
37552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37553 (exit $ac_status); } &&
37554 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37556 (eval $ac_try) 2>&5
37557 ac_status=$?
37558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37559 (exit $ac_status); }; } &&
37560 { ac_try='test -s conftest.$ac_objext'
37561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37562 (eval $ac_try) 2>&5
37563 ac_status=$?
37564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37565 (exit $ac_status); }; }; then
37566 wx_cv_type_getsockname3=socklen_t
37567 else
37568 echo "$as_me: failed program was:" >&5
37569 sed 's/^/| /' conftest.$ac_ext >&5
37570
37571
37572 CFLAGS_OLD="$CFLAGS"
37573 if test "$GCC" = yes ; then
37574 CFLAGS="$CFLAGS -Werror"
37575 fi
37576
37577 cat >conftest.$ac_ext <<_ACEOF
37578 /* confdefs.h. */
37579 _ACEOF
37580 cat confdefs.h >>conftest.$ac_ext
37581 cat >>conftest.$ac_ext <<_ACEOF
37582 /* end confdefs.h. */
37583
37584 #include <sys/types.h>
37585 #include <sys/socket.h>
37586
37587 int
37588 main ()
37589 {
37590
37591 size_t len;
37592 getsockname(0, 0, &len);
37593
37594 ;
37595 return 0;
37596 }
37597 _ACEOF
37598 rm -f conftest.$ac_objext
37599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37600 (eval $ac_compile) 2>conftest.er1
37601 ac_status=$?
37602 grep -v '^ *+' conftest.er1 >conftest.err
37603 rm -f conftest.er1
37604 cat conftest.err >&5
37605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37606 (exit $ac_status); } &&
37607 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37609 (eval $ac_try) 2>&5
37610 ac_status=$?
37611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37612 (exit $ac_status); }; } &&
37613 { ac_try='test -s conftest.$ac_objext'
37614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37615 (eval $ac_try) 2>&5
37616 ac_status=$?
37617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37618 (exit $ac_status); }; }; then
37619 wx_cv_type_getsockname3=size_t
37620 else
37621 echo "$as_me: failed program was:" >&5
37622 sed 's/^/| /' conftest.$ac_ext >&5
37623
37624 cat >conftest.$ac_ext <<_ACEOF
37625 /* confdefs.h. */
37626 _ACEOF
37627 cat confdefs.h >>conftest.$ac_ext
37628 cat >>conftest.$ac_ext <<_ACEOF
37629 /* end confdefs.h. */
37630
37631 #include <sys/types.h>
37632 #include <sys/socket.h>
37633
37634 int
37635 main ()
37636 {
37637
37638 int len;
37639 getsockname(0, 0, &len);
37640
37641 ;
37642 return 0;
37643 }
37644 _ACEOF
37645 rm -f conftest.$ac_objext
37646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37647 (eval $ac_compile) 2>conftest.er1
37648 ac_status=$?
37649 grep -v '^ *+' conftest.er1 >conftest.err
37650 rm -f conftest.er1
37651 cat conftest.err >&5
37652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37653 (exit $ac_status); } &&
37654 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37656 (eval $ac_try) 2>&5
37657 ac_status=$?
37658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37659 (exit $ac_status); }; } &&
37660 { ac_try='test -s conftest.$ac_objext'
37661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37662 (eval $ac_try) 2>&5
37663 ac_status=$?
37664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37665 (exit $ac_status); }; }; then
37666 wx_cv_type_getsockname3=int
37667 else
37668 echo "$as_me: failed program was:" >&5
37669 sed 's/^/| /' conftest.$ac_ext >&5
37670
37671 wx_cv_type_getsockname3=unknown
37672
37673 fi
37674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37675
37676 fi
37677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37678
37679 CFLAGS="$CFLAGS_OLD"
37680
37681
37682 fi
37683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37684
37685 fi
37686 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
37687 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
37688
37689 if test "$wx_cv_type_getsockname3" = "unknown"; then
37690 wxUSE_SOCKETS=no
37691 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
37692 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
37693 else
37694 cat >>confdefs.h <<_ACEOF
37695 #define SOCKLEN_T $wx_cv_type_getsockname3
37696 _ACEOF
37697
37698 fi
37699 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
37700 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
37701 if test "${wx_cv_type_getsockopt5+set}" = set; then
37702 echo $ECHO_N "(cached) $ECHO_C" >&6
37703 else
37704
37705 cat >conftest.$ac_ext <<_ACEOF
37706 /* confdefs.h. */
37707 _ACEOF
37708 cat confdefs.h >>conftest.$ac_ext
37709 cat >>conftest.$ac_ext <<_ACEOF
37710 /* end confdefs.h. */
37711
37712 #include <sys/types.h>
37713 #include <sys/socket.h>
37714
37715 int
37716 main ()
37717 {
37718
37719 socklen_t len;
37720 getsockopt(0, 0, 0, 0, &len);
37721
37722 ;
37723 return 0;
37724 }
37725 _ACEOF
37726 rm -f conftest.$ac_objext
37727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37728 (eval $ac_compile) 2>conftest.er1
37729 ac_status=$?
37730 grep -v '^ *+' conftest.er1 >conftest.err
37731 rm -f conftest.er1
37732 cat conftest.err >&5
37733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37734 (exit $ac_status); } &&
37735 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37737 (eval $ac_try) 2>&5
37738 ac_status=$?
37739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37740 (exit $ac_status); }; } &&
37741 { ac_try='test -s conftest.$ac_objext'
37742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37743 (eval $ac_try) 2>&5
37744 ac_status=$?
37745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37746 (exit $ac_status); }; }; then
37747 wx_cv_type_getsockopt5=socklen_t
37748 else
37749 echo "$as_me: failed program was:" >&5
37750 sed 's/^/| /' conftest.$ac_ext >&5
37751
37752
37753 CFLAGS_OLD="$CFLAGS"
37754 if test "$GCC" = yes ; then
37755 CFLAGS="$CFLAGS -Werror"
37756 fi
37757
37758 cat >conftest.$ac_ext <<_ACEOF
37759 /* confdefs.h. */
37760 _ACEOF
37761 cat confdefs.h >>conftest.$ac_ext
37762 cat >>conftest.$ac_ext <<_ACEOF
37763 /* end confdefs.h. */
37764
37765 #include <sys/types.h>
37766 #include <sys/socket.h>
37767
37768 int
37769 main ()
37770 {
37771
37772 size_t len;
37773 getsockopt(0, 0, 0, 0, &len);
37774
37775 ;
37776 return 0;
37777 }
37778 _ACEOF
37779 rm -f conftest.$ac_objext
37780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37781 (eval $ac_compile) 2>conftest.er1
37782 ac_status=$?
37783 grep -v '^ *+' conftest.er1 >conftest.err
37784 rm -f conftest.er1
37785 cat conftest.err >&5
37786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37787 (exit $ac_status); } &&
37788 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37790 (eval $ac_try) 2>&5
37791 ac_status=$?
37792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37793 (exit $ac_status); }; } &&
37794 { ac_try='test -s conftest.$ac_objext'
37795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37796 (eval $ac_try) 2>&5
37797 ac_status=$?
37798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37799 (exit $ac_status); }; }; then
37800 wx_cv_type_getsockopt5=size_t
37801 else
37802 echo "$as_me: failed program was:" >&5
37803 sed 's/^/| /' conftest.$ac_ext >&5
37804
37805 cat >conftest.$ac_ext <<_ACEOF
37806 /* confdefs.h. */
37807 _ACEOF
37808 cat confdefs.h >>conftest.$ac_ext
37809 cat >>conftest.$ac_ext <<_ACEOF
37810 /* end confdefs.h. */
37811
37812 #include <sys/types.h>
37813 #include <sys/socket.h>
37814
37815 int
37816 main ()
37817 {
37818
37819 int len;
37820 getsockopt(0, 0, 0, 0, &len);
37821
37822 ;
37823 return 0;
37824 }
37825 _ACEOF
37826 rm -f conftest.$ac_objext
37827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37828 (eval $ac_compile) 2>conftest.er1
37829 ac_status=$?
37830 grep -v '^ *+' conftest.er1 >conftest.err
37831 rm -f conftest.er1
37832 cat conftest.err >&5
37833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37834 (exit $ac_status); } &&
37835 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37837 (eval $ac_try) 2>&5
37838 ac_status=$?
37839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37840 (exit $ac_status); }; } &&
37841 { ac_try='test -s conftest.$ac_objext'
37842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37843 (eval $ac_try) 2>&5
37844 ac_status=$?
37845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37846 (exit $ac_status); }; }; then
37847 wx_cv_type_getsockopt5=int
37848 else
37849 echo "$as_me: failed program was:" >&5
37850 sed 's/^/| /' conftest.$ac_ext >&5
37851
37852 wx_cv_type_getsockopt5=unknown
37853
37854 fi
37855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37856
37857 fi
37858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37859
37860 CFLAGS="$CFLAGS_OLD"
37861
37862
37863 fi
37864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37865
37866 fi
37867 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
37868 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
37869
37870 if test "$wx_cv_type_getsockopt5" = "unknown"; then
37871 wxUSE_SOCKETS=no
37872 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
37873 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
37874 else
37875 cat >>confdefs.h <<_ACEOF
37876 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
37877 _ACEOF
37878
37879 fi
37880 ac_ext=c
37881 ac_cpp='$CPP $CPPFLAGS'
37882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37885
37886 fi
37887 fi
37888
37889 if test "$wxUSE_SOCKETS" = "yes" ; then
37890 cat >>confdefs.h <<\_ACEOF
37891 #define wxUSE_SOCKETS 1
37892 _ACEOF
37893
37894 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
37895 fi
37896
37897 if test "$wxUSE_PROTOCOL" = "yes"; then
37898 if test "$wxUSE_SOCKETS" != "yes"; then
37899 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
37900 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
37901 wxUSE_PROTOCOL=no
37902 fi
37903 fi
37904
37905 if test "$wxUSE_PROTOCOL" = "yes"; then
37906 cat >>confdefs.h <<\_ACEOF
37907 #define wxUSE_PROTOCOL 1
37908 _ACEOF
37909
37910
37911 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
37912 cat >>confdefs.h <<\_ACEOF
37913 #define wxUSE_PROTOCOL_HTTP 1
37914 _ACEOF
37915
37916 fi
37917 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
37918 cat >>confdefs.h <<\_ACEOF
37919 #define wxUSE_PROTOCOL_FTP 1
37920 _ACEOF
37921
37922 fi
37923 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
37924 cat >>confdefs.h <<\_ACEOF
37925 #define wxUSE_PROTOCOL_FILE 1
37926 _ACEOF
37927
37928 fi
37929 else
37930 if test "$wxUSE_FS_INET" = "yes"; then
37931 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
37932 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
37933 wxUSE_FS_INET="no"
37934 fi
37935 fi
37936
37937 if test "$wxUSE_URL" = "yes"; then
37938 if test "$wxUSE_PROTOCOL" != "yes"; then
37939 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
37940 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
37941 wxUSE_URL=no
37942 fi
37943 if test "$wxUSE_URL" = "yes"; then
37944 cat >>confdefs.h <<\_ACEOF
37945 #define wxUSE_URL 1
37946 _ACEOF
37947
37948 fi
37949 fi
37950
37951 if test "$wxUSE_FS_INET" = "yes"; then
37952 cat >>confdefs.h <<\_ACEOF
37953 #define wxUSE_FS_INET 1
37954 _ACEOF
37955
37956 fi
37957
37958
37959 if test "$wxUSE_GUI" = "yes"; then
37960 if test "$wxUSE_JOYSTICK" = "yes"; then
37961
37962 if test "$TOOLKIT" != "MAC" -a "$TOOLKIT" != "COCOA" -a "$TOOLKIT" != "MSW"; then
37963
37964 for ac_header in linux/joystick.h
37965 do
37966 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37967 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37968 echo "$as_me:$LINENO: checking for $ac_header" >&5
37969 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37970 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37971 echo $ECHO_N "(cached) $ECHO_C" >&6
37972 fi
37973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37974 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37975 else
37976 # Is the header compilable?
37977 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37978 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37979 cat >conftest.$ac_ext <<_ACEOF
37980 /* confdefs.h. */
37981 _ACEOF
37982 cat confdefs.h >>conftest.$ac_ext
37983 cat >>conftest.$ac_ext <<_ACEOF
37984 /* end confdefs.h. */
37985 $ac_includes_default
37986 #include <$ac_header>
37987 _ACEOF
37988 rm -f conftest.$ac_objext
37989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37990 (eval $ac_compile) 2>conftest.er1
37991 ac_status=$?
37992 grep -v '^ *+' conftest.er1 >conftest.err
37993 rm -f conftest.er1
37994 cat conftest.err >&5
37995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37996 (exit $ac_status); } &&
37997 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37999 (eval $ac_try) 2>&5
38000 ac_status=$?
38001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38002 (exit $ac_status); }; } &&
38003 { ac_try='test -s conftest.$ac_objext'
38004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38005 (eval $ac_try) 2>&5
38006 ac_status=$?
38007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38008 (exit $ac_status); }; }; then
38009 ac_header_compiler=yes
38010 else
38011 echo "$as_me: failed program was:" >&5
38012 sed 's/^/| /' conftest.$ac_ext >&5
38013
38014 ac_header_compiler=no
38015 fi
38016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38017 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38018 echo "${ECHO_T}$ac_header_compiler" >&6
38019
38020 # Is the header present?
38021 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38022 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38023 cat >conftest.$ac_ext <<_ACEOF
38024 /* confdefs.h. */
38025 _ACEOF
38026 cat confdefs.h >>conftest.$ac_ext
38027 cat >>conftest.$ac_ext <<_ACEOF
38028 /* end confdefs.h. */
38029 #include <$ac_header>
38030 _ACEOF
38031 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38032 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38033 ac_status=$?
38034 grep -v '^ *+' conftest.er1 >conftest.err
38035 rm -f conftest.er1
38036 cat conftest.err >&5
38037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38038 (exit $ac_status); } >/dev/null; then
38039 if test -s conftest.err; then
38040 ac_cpp_err=$ac_c_preproc_warn_flag
38041 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
38042 else
38043 ac_cpp_err=
38044 fi
38045 else
38046 ac_cpp_err=yes
38047 fi
38048 if test -z "$ac_cpp_err"; then
38049 ac_header_preproc=yes
38050 else
38051 echo "$as_me: failed program was:" >&5
38052 sed 's/^/| /' conftest.$ac_ext >&5
38053
38054 ac_header_preproc=no
38055 fi
38056 rm -f conftest.err conftest.$ac_ext
38057 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38058 echo "${ECHO_T}$ac_header_preproc" >&6
38059
38060 # So? What about this header?
38061 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38062 yes:no: )
38063 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38064 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38065 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38066 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38067 ac_header_preproc=yes
38068 ;;
38069 no:yes:* )
38070 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38071 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38072 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38073 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38074 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38075 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38076 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38077 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38078 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38079 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38080 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38081 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38082 (
38083 cat <<\_ASBOX
38084 ## ----------------------------------------- ##
38085 ## Report this to wx-dev@lists.wxwidgets.org ##
38086 ## ----------------------------------------- ##
38087 _ASBOX
38088 ) |
38089 sed "s/^/$as_me: WARNING: /" >&2
38090 ;;
38091 esac
38092 echo "$as_me:$LINENO: checking for $ac_header" >&5
38093 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38094 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38095 echo $ECHO_N "(cached) $ECHO_C" >&6
38096 else
38097 eval "$as_ac_Header=\$ac_header_preproc"
38098 fi
38099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38100 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38101
38102 fi
38103 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38104 cat >>confdefs.h <<_ACEOF
38105 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38106 _ACEOF
38107
38108 fi
38109
38110 done
38111
38112 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
38113 wxUSE_JOYSTICK=no
38114 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
38115 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
38116 fi
38117 else
38118 if test "$USE_DARWIN" != 1 -a "$TOOLKIT" != "MSW"; then
38119 wxUSE_JOYSTICK=no
38120 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
38121 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
38122 fi
38123 fi
38124
38125
38126 if test "$wxUSE_JOYSTICK" = "yes"; then
38127 cat >>confdefs.h <<\_ACEOF
38128 #define wxUSE_JOYSTICK 1
38129 _ACEOF
38130
38131 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
38132 fi
38133 fi
38134 fi
38135
38136
38137
38138 if test "$wxUSE_FONTMAP" = "yes" ; then
38139 cat >>confdefs.h <<\_ACEOF
38140 #define wxUSE_FONTMAP 1
38141 _ACEOF
38142
38143 fi
38144
38145 if test "$wxUSE_UNICODE" = "yes" ; then
38146 cat >>confdefs.h <<\_ACEOF
38147 #define wxUSE_UNICODE 1
38148 _ACEOF
38149
38150
38151 if test "$USE_WIN32" != 1; then
38152 wxUSE_UNICODE_MSLU=no
38153 fi
38154
38155 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
38156 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
38157 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
38158 if test "${ac_cv_lib_unicows_main+set}" = set; then
38159 echo $ECHO_N "(cached) $ECHO_C" >&6
38160 else
38161 ac_check_lib_save_LIBS=$LIBS
38162 LIBS="-lunicows $LIBS"
38163 cat >conftest.$ac_ext <<_ACEOF
38164 /* confdefs.h. */
38165 _ACEOF
38166 cat confdefs.h >>conftest.$ac_ext
38167 cat >>conftest.$ac_ext <<_ACEOF
38168 /* end confdefs.h. */
38169
38170
38171 int
38172 main ()
38173 {
38174 main ();
38175 ;
38176 return 0;
38177 }
38178 _ACEOF
38179 rm -f conftest.$ac_objext conftest$ac_exeext
38180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38181 (eval $ac_link) 2>conftest.er1
38182 ac_status=$?
38183 grep -v '^ *+' conftest.er1 >conftest.err
38184 rm -f conftest.er1
38185 cat conftest.err >&5
38186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38187 (exit $ac_status); } &&
38188 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38190 (eval $ac_try) 2>&5
38191 ac_status=$?
38192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38193 (exit $ac_status); }; } &&
38194 { ac_try='test -s conftest$ac_exeext'
38195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38196 (eval $ac_try) 2>&5
38197 ac_status=$?
38198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38199 (exit $ac_status); }; }; then
38200 ac_cv_lib_unicows_main=yes
38201 else
38202 echo "$as_me: failed program was:" >&5
38203 sed 's/^/| /' conftest.$ac_ext >&5
38204
38205 ac_cv_lib_unicows_main=no
38206 fi
38207 rm -f conftest.err conftest.$ac_objext \
38208 conftest$ac_exeext conftest.$ac_ext
38209 LIBS=$ac_check_lib_save_LIBS
38210 fi
38211 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
38212 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
38213 if test $ac_cv_lib_unicows_main = yes; then
38214
38215 cat >>confdefs.h <<\_ACEOF
38216 #define wxUSE_UNICODE_MSLU 1
38217 _ACEOF
38218
38219
38220 else
38221
38222 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
38223 Applications will only run on Windows NT/2000/XP!" >&5
38224 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
38225 Applications will only run on Windows NT/2000/XP!" >&2;}
38226 wxUSE_UNICODE_MSLU=no
38227
38228 fi
38229
38230 fi
38231 fi
38232
38233 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
38234 cat >>confdefs.h <<\_ACEOF
38235 #define wxUSE_EXPERIMENTAL_PRINTF 1
38236 _ACEOF
38237
38238 fi
38239
38240
38241 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
38242 cat >>confdefs.h <<\_ACEOF
38243 #define wxUSE_POSTSCRIPT 1
38244 _ACEOF
38245
38246 fi
38247
38248 cat >>confdefs.h <<\_ACEOF
38249 #define wxUSE_AFM_FOR_POSTSCRIPT 1
38250 _ACEOF
38251
38252
38253 cat >>confdefs.h <<\_ACEOF
38254 #define wxUSE_NORMALIZED_PS_FONTS 1
38255 _ACEOF
38256
38257
38258
38259 if test "$wxUSE_CONSTRAINTS" = "yes"; then
38260 cat >>confdefs.h <<\_ACEOF
38261 #define wxUSE_CONSTRAINTS 1
38262 _ACEOF
38263
38264 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
38265 fi
38266
38267 if test "$wxUSE_MDI" = "yes"; then
38268 cat >>confdefs.h <<\_ACEOF
38269 #define wxUSE_MDI 1
38270 _ACEOF
38271
38272
38273 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
38274 cat >>confdefs.h <<\_ACEOF
38275 #define wxUSE_MDI_ARCHITECTURE 1
38276 _ACEOF
38277
38278 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
38279 fi
38280 fi
38281
38282 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
38283 cat >>confdefs.h <<\_ACEOF
38284 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
38285 _ACEOF
38286
38287 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
38288 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
38289 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
38290 fi
38291 fi
38292
38293 if test "$wxUSE_HELP" = "yes"; then
38294 cat >>confdefs.h <<\_ACEOF
38295 #define wxUSE_HELP 1
38296 _ACEOF
38297
38298 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
38299
38300 if test "$wxUSE_MSW" = 1; then
38301 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
38302 cat >>confdefs.h <<\_ACEOF
38303 #define wxUSE_MS_HTML_HELP 1
38304 _ACEOF
38305
38306 fi
38307 fi
38308
38309 if test "$wxUSE_WXHTML_HELP" = "yes"; then
38310 if test "$wxUSE_HTML" = "yes"; then
38311 cat >>confdefs.h <<\_ACEOF
38312 #define wxUSE_WXHTML_HELP 1
38313 _ACEOF
38314
38315 else
38316 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
38317 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
38318 wxUSE_WXHTML_HELP=no
38319 fi
38320 fi
38321 fi
38322
38323 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
38324 if test "$wxUSE_CONSTRAINTS" != "yes"; then
38325 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
38326 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
38327 else
38328 cat >>confdefs.h <<\_ACEOF
38329 #define wxUSE_PRINTING_ARCHITECTURE 1
38330 _ACEOF
38331
38332 fi
38333 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
38334 fi
38335
38336 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
38337 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
38338 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
38339 { (exit 1); exit 1; }; }
38340 fi
38341
38342
38343 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
38344 -o "$wxUSE_CLIPBOARD" = "yes" \
38345 -o "$wxUSE_OLE" = "yes" \
38346 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
38347
38348 for ac_header in ole2.h
38349 do
38350 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38351 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38352 echo "$as_me:$LINENO: checking for $ac_header" >&5
38353 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38354 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38355 echo $ECHO_N "(cached) $ECHO_C" >&6
38356 fi
38357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38358 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38359 else
38360 # Is the header compilable?
38361 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38362 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38363 cat >conftest.$ac_ext <<_ACEOF
38364 /* confdefs.h. */
38365 _ACEOF
38366 cat confdefs.h >>conftest.$ac_ext
38367 cat >>conftest.$ac_ext <<_ACEOF
38368 /* end confdefs.h. */
38369 $ac_includes_default
38370 #include <$ac_header>
38371 _ACEOF
38372 rm -f conftest.$ac_objext
38373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38374 (eval $ac_compile) 2>conftest.er1
38375 ac_status=$?
38376 grep -v '^ *+' conftest.er1 >conftest.err
38377 rm -f conftest.er1
38378 cat conftest.err >&5
38379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38380 (exit $ac_status); } &&
38381 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38383 (eval $ac_try) 2>&5
38384 ac_status=$?
38385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38386 (exit $ac_status); }; } &&
38387 { ac_try='test -s conftest.$ac_objext'
38388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38389 (eval $ac_try) 2>&5
38390 ac_status=$?
38391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38392 (exit $ac_status); }; }; then
38393 ac_header_compiler=yes
38394 else
38395 echo "$as_me: failed program was:" >&5
38396 sed 's/^/| /' conftest.$ac_ext >&5
38397
38398 ac_header_compiler=no
38399 fi
38400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38401 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38402 echo "${ECHO_T}$ac_header_compiler" >&6
38403
38404 # Is the header present?
38405 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38406 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38407 cat >conftest.$ac_ext <<_ACEOF
38408 /* confdefs.h. */
38409 _ACEOF
38410 cat confdefs.h >>conftest.$ac_ext
38411 cat >>conftest.$ac_ext <<_ACEOF
38412 /* end confdefs.h. */
38413 #include <$ac_header>
38414 _ACEOF
38415 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38416 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38417 ac_status=$?
38418 grep -v '^ *+' conftest.er1 >conftest.err
38419 rm -f conftest.er1
38420 cat conftest.err >&5
38421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38422 (exit $ac_status); } >/dev/null; then
38423 if test -s conftest.err; then
38424 ac_cpp_err=$ac_c_preproc_warn_flag
38425 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
38426 else
38427 ac_cpp_err=
38428 fi
38429 else
38430 ac_cpp_err=yes
38431 fi
38432 if test -z "$ac_cpp_err"; then
38433 ac_header_preproc=yes
38434 else
38435 echo "$as_me: failed program was:" >&5
38436 sed 's/^/| /' conftest.$ac_ext >&5
38437
38438 ac_header_preproc=no
38439 fi
38440 rm -f conftest.err conftest.$ac_ext
38441 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38442 echo "${ECHO_T}$ac_header_preproc" >&6
38443
38444 # So? What about this header?
38445 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38446 yes:no: )
38447 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38448 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38449 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38450 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38451 ac_header_preproc=yes
38452 ;;
38453 no:yes:* )
38454 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38455 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38456 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38457 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38458 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38459 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38460 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38461 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38462 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38463 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38464 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38465 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38466 (
38467 cat <<\_ASBOX
38468 ## ----------------------------------------- ##
38469 ## Report this to wx-dev@lists.wxwidgets.org ##
38470 ## ----------------------------------------- ##
38471 _ASBOX
38472 ) |
38473 sed "s/^/$as_me: WARNING: /" >&2
38474 ;;
38475 esac
38476 echo "$as_me:$LINENO: checking for $ac_header" >&5
38477 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38478 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38479 echo $ECHO_N "(cached) $ECHO_C" >&6
38480 else
38481 eval "$as_ac_Header=\$ac_header_preproc"
38482 fi
38483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38484 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38485
38486 fi
38487 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38488 cat >>confdefs.h <<_ACEOF
38489 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38490 _ACEOF
38491
38492 fi
38493
38494 done
38495
38496
38497 if test "$ac_cv_header_ole2_h" = "yes" ; then
38498 if test "$GCC" = yes ; then
38499
38500
38501 ac_ext=cc
38502 ac_cpp='$CXXCPP $CPPFLAGS'
38503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38506
38507
38508 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
38509 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
38510 cat >conftest.$ac_ext <<_ACEOF
38511 /* confdefs.h. */
38512 _ACEOF
38513 cat confdefs.h >>conftest.$ac_ext
38514 cat >>conftest.$ac_ext <<_ACEOF
38515 /* end confdefs.h. */
38516 #include <windows.h>
38517 #include <ole2.h>
38518 int
38519 main ()
38520 {
38521
38522 ;
38523 return 0;
38524 }
38525 _ACEOF
38526 rm -f conftest.$ac_objext
38527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38528 (eval $ac_compile) 2>conftest.er1
38529 ac_status=$?
38530 grep -v '^ *+' conftest.er1 >conftest.err
38531 rm -f conftest.er1
38532 cat conftest.err >&5
38533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38534 (exit $ac_status); } &&
38535 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38537 (eval $ac_try) 2>&5
38538 ac_status=$?
38539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38540 (exit $ac_status); }; } &&
38541 { ac_try='test -s conftest.$ac_objext'
38542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38543 (eval $ac_try) 2>&5
38544 ac_status=$?
38545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38546 (exit $ac_status); }; }; then
38547 echo "$as_me:$LINENO: result: no" >&5
38548 echo "${ECHO_T}no" >&6
38549 else
38550 echo "$as_me: failed program was:" >&5
38551 sed 's/^/| /' conftest.$ac_ext >&5
38552
38553 echo "$as_me:$LINENO: result: yes" >&5
38554 echo "${ECHO_T}yes" >&6
38555 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
38556 fi
38557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38558 ac_ext=c
38559 ac_cpp='$CPP $CPPFLAGS'
38560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38563
38564 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
38565 if test "$wxUSE_OLE" = "yes" ; then
38566 cat >>confdefs.h <<\_ACEOF
38567 #define wxUSE_OLE 1
38568 _ACEOF
38569
38570 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
38571 fi
38572 fi
38573
38574 if test "$wxUSE_DATAOBJ" = "yes" ; then
38575 cat >>confdefs.h <<\_ACEOF
38576 #define wxUSE_DATAOBJ 1
38577 _ACEOF
38578
38579 fi
38580 else
38581 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
38582 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
38583
38584 wxUSE_CLIPBOARD=no
38585 wxUSE_DRAG_AND_DROP=no
38586 wxUSE_DATAOBJ=no
38587 wxUSE_OLE=no
38588 fi
38589
38590 if test "$wxUSE_METAFILE" = "yes"; then
38591 cat >>confdefs.h <<\_ACEOF
38592 #define wxUSE_METAFILE 1
38593 _ACEOF
38594
38595
38596 cat >>confdefs.h <<\_ACEOF
38597 #define wxUSE_ENH_METAFILE 1
38598 _ACEOF
38599
38600 fi
38601 fi
38602
38603 if test "$wxUSE_IPC" = "yes"; then
38604 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
38605 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
38606 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
38607 wxUSE_IPC=no
38608 fi
38609
38610 if test "$wxUSE_IPC" = "yes"; then
38611 cat >>confdefs.h <<\_ACEOF
38612 #define wxUSE_IPC 1
38613 _ACEOF
38614
38615 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
38616 fi
38617 fi
38618
38619 if test "$wxUSE_CLIPBOARD" = "yes"; then
38620 if test "$wxUSE_MGL" = 1; then
38621 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
38622 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
38623 wxUSE_CLIPBOARD=no
38624 fi
38625
38626 if test "$wxUSE_CLIPBOARD" = "yes"; then
38627 cat >>confdefs.h <<\_ACEOF
38628 #define wxUSE_CLIPBOARD 1
38629 _ACEOF
38630
38631
38632 cat >>confdefs.h <<\_ACEOF
38633 #define wxUSE_DATAOBJ 1
38634 _ACEOF
38635
38636 fi
38637 fi
38638
38639 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
38640 if test "$wxUSE_GTK" = 1; then
38641 if test "$WXGTK12" != 1; then
38642 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
38643 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
38644 wxUSE_DRAG_AND_DROP=no
38645 fi
38646 fi
38647
38648 if test "$wxUSE_MOTIF" = 1; then
38649 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
38650 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
38651 wxUSE_DRAG_AND_DROP=no
38652 fi
38653
38654 if test "$wxUSE_X11" = 1; then
38655 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
38656 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
38657 wxUSE_DRAG_AND_DROP=no
38658 fi
38659
38660 if test "$wxUSE_MGL" = 1; then
38661 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
38662 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
38663 wxUSE_DRAG_AND_DROP=no
38664 fi
38665
38666 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
38667 cat >>confdefs.h <<\_ACEOF
38668 #define wxUSE_DRAG_AND_DROP 1
38669 _ACEOF
38670
38671 fi
38672
38673 fi
38674
38675 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
38676 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
38677 fi
38678
38679 if test "$wxUSE_SPLINES" = "yes" ; then
38680 cat >>confdefs.h <<\_ACEOF
38681 #define wxUSE_SPLINES 1
38682 _ACEOF
38683
38684 fi
38685
38686
38687 USES_CONTROLS=0
38688 if test "$wxUSE_CONTROLS" = "yes"; then
38689 USES_CONTROLS=1
38690 fi
38691
38692 if test "$wxUSE_ACCEL" = "yes"; then
38693 cat >>confdefs.h <<\_ACEOF
38694 #define wxUSE_ACCEL 1
38695 _ACEOF
38696
38697 USES_CONTROLS=1
38698 fi
38699
38700 if test "$wxUSE_BUTTON" = "yes"; then
38701 cat >>confdefs.h <<\_ACEOF
38702 #define wxUSE_BUTTON 1
38703 _ACEOF
38704
38705 USES_CONTROLS=1
38706 fi
38707
38708 if test "$wxUSE_BMPBUTTON" = "yes"; then
38709 cat >>confdefs.h <<\_ACEOF
38710 #define wxUSE_BMPBUTTON 1
38711 _ACEOF
38712
38713 USES_CONTROLS=1
38714 fi
38715
38716 if test "$wxUSE_CALCTRL" = "yes"; then
38717 cat >>confdefs.h <<\_ACEOF
38718 #define wxUSE_CALENDARCTRL 1
38719 _ACEOF
38720
38721 USES_CONTROLS=1
38722 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
38723 fi
38724
38725 if test "$wxUSE_CARET" = "yes"; then
38726 cat >>confdefs.h <<\_ACEOF
38727 #define wxUSE_CARET 1
38728 _ACEOF
38729
38730 USES_CONTROLS=1
38731 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
38732 fi
38733
38734 if test "$wxUSE_COMBOBOX" = "yes"; then
38735 cat >>confdefs.h <<\_ACEOF
38736 #define wxUSE_COMBOBOX 1
38737 _ACEOF
38738
38739 USES_CONTROLS=1
38740 fi
38741
38742 if test "$wxUSE_CHOICE" = "yes"; then
38743 cat >>confdefs.h <<\_ACEOF
38744 #define wxUSE_CHOICE 1
38745 _ACEOF
38746
38747 USES_CONTROLS=1
38748 fi
38749
38750 if test "$wxUSE_CHOICEBOOK" = "yes"; then
38751 cat >>confdefs.h <<\_ACEOF
38752 #define wxUSE_CHOICEBOOK 1
38753 _ACEOF
38754
38755 USES_CONTROLS=1
38756 fi
38757
38758 if test "$wxUSE_CHECKBOX" = "yes"; then
38759 cat >>confdefs.h <<\_ACEOF
38760 #define wxUSE_CHECKBOX 1
38761 _ACEOF
38762
38763 USES_CONTROLS=1
38764 fi
38765
38766 if test "$wxUSE_CHECKLST" = "yes"; then
38767 cat >>confdefs.h <<\_ACEOF
38768 #define wxUSE_CHECKLISTBOX 1
38769 _ACEOF
38770
38771 USES_CONTROLS=1
38772 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
38773 fi
38774
38775 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
38776 cat >>confdefs.h <<\_ACEOF
38777 #define wxUSE_DATEPICKCTRL 1
38778 _ACEOF
38779
38780 USES_CONTROLS=1
38781 fi
38782
38783 if test "$wxUSE_DISPLAY" = "yes"; then
38784 cat >>confdefs.h <<\_ACEOF
38785 #define wxUSE_DISPLAY 1
38786 _ACEOF
38787
38788 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
38789 fi
38790
38791 if test "$wxUSE_GAUGE" = "yes"; then
38792 cat >>confdefs.h <<\_ACEOF
38793 #define wxUSE_GAUGE 1
38794 _ACEOF
38795
38796 USES_CONTROLS=1
38797 fi
38798
38799 if test "$wxUSE_GRID" = "yes"; then
38800 cat >>confdefs.h <<\_ACEOF
38801 #define wxUSE_GRID 1
38802 _ACEOF
38803
38804 USES_CONTROLS=1
38805 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
38806 fi
38807
38808 if test "$wxUSE_IMAGLIST" = "yes"; then
38809 cat >>confdefs.h <<\_ACEOF
38810 #define wxUSE_IMAGLIST 1
38811 _ACEOF
38812
38813 fi
38814
38815 if test "$wxUSE_LISTBOOK" = "yes"; then
38816 cat >>confdefs.h <<\_ACEOF
38817 #define wxUSE_LISTBOOK 1
38818 _ACEOF
38819
38820 USES_CONTROLS=1
38821 fi
38822
38823 if test "$wxUSE_LISTBOX" = "yes"; then
38824 cat >>confdefs.h <<\_ACEOF
38825 #define wxUSE_LISTBOX 1
38826 _ACEOF
38827
38828 USES_CONTROLS=1
38829 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
38830 fi
38831
38832 if test "$wxUSE_LISTCTRL" = "yes"; then
38833 if test "$wxUSE_IMAGLIST" = "yes"; then
38834 cat >>confdefs.h <<\_ACEOF
38835 #define wxUSE_LISTCTRL 1
38836 _ACEOF
38837
38838 USES_CONTROLS=1
38839 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
38840 else
38841 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
38842 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
38843 fi
38844 fi
38845
38846 if test "$wxUSE_NOTEBOOK" = "yes"; then
38847 cat >>confdefs.h <<\_ACEOF
38848 #define wxUSE_NOTEBOOK 1
38849 _ACEOF
38850
38851 USES_CONTROLS=1
38852 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
38853 fi
38854
38855
38856 if test "$wxUSE_RADIOBOX" = "yes"; then
38857 cat >>confdefs.h <<\_ACEOF
38858 #define wxUSE_RADIOBOX 1
38859 _ACEOF
38860
38861 USES_CONTROLS=1
38862 fi
38863
38864 if test "$wxUSE_RADIOBTN" = "yes"; then
38865 cat >>confdefs.h <<\_ACEOF
38866 #define wxUSE_RADIOBTN 1
38867 _ACEOF
38868
38869 USES_CONTROLS=1
38870 fi
38871
38872 if test "$wxUSE_SASH" = "yes"; then
38873 cat >>confdefs.h <<\_ACEOF
38874 #define wxUSE_SASH 1
38875 _ACEOF
38876
38877 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
38878 fi
38879
38880 if test "$wxUSE_SCROLLBAR" = "yes"; then
38881 cat >>confdefs.h <<\_ACEOF
38882 #define wxUSE_SCROLLBAR 1
38883 _ACEOF
38884
38885 USES_CONTROLS=1
38886 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
38887 fi
38888
38889 if test "$wxUSE_SLIDER" = "yes"; then
38890 cat >>confdefs.h <<\_ACEOF
38891 #define wxUSE_SLIDER 1
38892 _ACEOF
38893
38894 USES_CONTROLS=1
38895 fi
38896
38897 if test "$wxUSE_SPINBTN" = "yes"; then
38898 cat >>confdefs.h <<\_ACEOF
38899 #define wxUSE_SPINBTN 1
38900 _ACEOF
38901
38902 USES_CONTROLS=1
38903 fi
38904
38905 if test "$wxUSE_SPINCTRL" = "yes"; then
38906 cat >>confdefs.h <<\_ACEOF
38907 #define wxUSE_SPINCTRL 1
38908 _ACEOF
38909
38910 USES_CONTROLS=1
38911 fi
38912
38913 if test "$wxUSE_SPLITTER" = "yes"; then
38914 cat >>confdefs.h <<\_ACEOF
38915 #define wxUSE_SPLITTER 1
38916 _ACEOF
38917
38918 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
38919 fi
38920
38921 if test "$wxUSE_STATBMP" = "yes"; then
38922 cat >>confdefs.h <<\_ACEOF
38923 #define wxUSE_STATBMP 1
38924 _ACEOF
38925
38926 USES_CONTROLS=1
38927 fi
38928
38929 if test "$wxUSE_STATBOX" = "yes"; then
38930 cat >>confdefs.h <<\_ACEOF
38931 #define wxUSE_STATBOX 1
38932 _ACEOF
38933
38934 USES_CONTROLS=1
38935 fi
38936
38937 if test "$wxUSE_STATTEXT" = "yes"; then
38938 cat >>confdefs.h <<\_ACEOF
38939 #define wxUSE_STATTEXT 1
38940 _ACEOF
38941
38942 USES_CONTROLS=1
38943 fi
38944
38945 if test "$wxUSE_STATLINE" = "yes"; then
38946 cat >>confdefs.h <<\_ACEOF
38947 #define wxUSE_STATLINE 1
38948 _ACEOF
38949
38950 USES_CONTROLS=1
38951 fi
38952
38953 if test "$wxUSE_STATUSBAR" = "yes"; then
38954 cat >>confdefs.h <<\_ACEOF
38955 #define wxUSE_NATIVE_STATUSBAR 1
38956 _ACEOF
38957
38958 cat >>confdefs.h <<\_ACEOF
38959 #define wxUSE_STATUSBAR 1
38960 _ACEOF
38961
38962 USES_CONTROLS=1
38963
38964 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
38965 fi
38966
38967 if test "$wxUSE_TABDIALOG" = "yes"; then
38968 cat >>confdefs.h <<\_ACEOF
38969 #define wxUSE_TAB_DIALOG 1
38970 _ACEOF
38971
38972 fi
38973
38974 if test "$wxUSE_TEXTCTRL" = "yes"; then
38975 cat >>confdefs.h <<\_ACEOF
38976 #define wxUSE_TEXTCTRL 1
38977 _ACEOF
38978
38979 USES_CONTROLS=1
38980 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
38981 fi
38982
38983 if test "$wxUSE_TOGGLEBTN" = "yes"; then
38984 if test "$wxUSE_COCOA" = 1 ; then
38985 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
38986 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
38987 wxUSE_TOGGLEBTN=no
38988 else
38989 if test "$wxUSE_PM" = 1; then
38990 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
38991 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
38992 wxUSE_TOGGLEBTN=no
38993 fi
38994 fi
38995 if test "$wxUSE_UNIVERSAL" = "yes"; then
38996 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
38997 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
38998 wxUSE_TOGGLEBTN=no
38999 fi
39000
39001 if test "$wxUSE_TOGGLEBTN" = "yes"; then
39002 cat >>confdefs.h <<\_ACEOF
39003 #define wxUSE_TOGGLEBTN 1
39004 _ACEOF
39005
39006 USES_CONTROLS=1
39007 fi
39008 fi
39009
39010 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
39011 cat >>confdefs.h <<\_ACEOF
39012 #define wxUSE_TOOLBAR_SIMPLE 1
39013 _ACEOF
39014
39015 wxUSE_TOOLBAR="yes"
39016 USES_CONTROLS=1
39017 fi
39018
39019 if test "$wxUSE_TOOLBAR" = "yes"; then
39020 cat >>confdefs.h <<\_ACEOF
39021 #define wxUSE_TOOLBAR 1
39022 _ACEOF
39023
39024 USES_CONTROLS=1
39025
39026 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
39027 wxUSE_TOOLBAR_NATIVE="yes"
39028 fi
39029
39030 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
39031 cat >>confdefs.h <<\_ACEOF
39032 #define wxUSE_TOOLBAR_NATIVE 1
39033 _ACEOF
39034
39035 USES_CONTROLS=1
39036 fi
39037
39038 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
39039 fi
39040
39041 if test "$wxUSE_TOOLTIPS" = "yes"; then
39042 if test "$wxUSE_MOTIF" = 1; then
39043 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
39044 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
39045 else
39046 if test "$wxUSE_UNIVERSAL" = "yes"; then
39047 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
39048 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
39049 else
39050 cat >>confdefs.h <<\_ACEOF
39051 #define wxUSE_TOOLTIPS 1
39052 _ACEOF
39053
39054 fi
39055 fi
39056 fi
39057
39058 if test "$wxUSE_TREECTRL" = "yes"; then
39059 if test "$wxUSE_IMAGLIST" = "yes"; then
39060 cat >>confdefs.h <<\_ACEOF
39061 #define wxUSE_TREECTRL 1
39062 _ACEOF
39063
39064 USES_CONTROLS=1
39065 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
39066 else
39067 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
39068 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
39069 fi
39070 fi
39071
39072 if test "$wxUSE_POPUPWIN" = "yes"; then
39073 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
39074 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
39075 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
39076 else
39077 if test "$wxUSE_PM" = 1; then
39078 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
39079 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
39080 else
39081 cat >>confdefs.h <<\_ACEOF
39082 #define wxUSE_POPUPWIN 1
39083 _ACEOF
39084
39085 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
39086
39087 USES_CONTROLS=1
39088 fi
39089 fi
39090 fi
39091
39092 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
39093 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
39094 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
39095 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
39096 else
39097 cat >>confdefs.h <<\_ACEOF
39098 #define wxUSE_DIALUP_MANAGER 1
39099 _ACEOF
39100
39101 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
39102 fi
39103 fi
39104
39105 if test "$wxUSE_TIPWINDOW" = "yes"; then
39106 if test "$wxUSE_PM" = 1; then
39107 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
39108 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
39109 else
39110 cat >>confdefs.h <<\_ACEOF
39111 #define wxUSE_TIPWINDOW 1
39112 _ACEOF
39113
39114 fi
39115 fi
39116
39117 if test "$USES_CONTROLS" = 1; then
39118 cat >>confdefs.h <<\_ACEOF
39119 #define wxUSE_CONTROLS 1
39120 _ACEOF
39121
39122 fi
39123
39124
39125 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
39126 cat >>confdefs.h <<\_ACEOF
39127 #define wxUSE_ACCESSIBILITY 1
39128 _ACEOF
39129
39130 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
39131 fi
39132
39133 if test "$wxUSE_DRAGIMAGE" = "yes"; then
39134 cat >>confdefs.h <<\_ACEOF
39135 #define wxUSE_DRAGIMAGE 1
39136 _ACEOF
39137
39138 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
39139 fi
39140
39141 if test "$wxUSE_EXCEPTIONS" = "yes"; then
39142 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
39143 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
39144 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
39145 else
39146 cat >>confdefs.h <<\_ACEOF
39147 #define wxUSE_EXCEPTIONS 1
39148 _ACEOF
39149
39150 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
39151 fi
39152 fi
39153
39154 USE_HTML=0
39155 if test "$wxUSE_HTML" = "yes"; then
39156 cat >>confdefs.h <<\_ACEOF
39157 #define wxUSE_HTML 1
39158 _ACEOF
39159
39160 USE_HTML=1
39161 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
39162 if test "$wxUSE_MAC" = 1; then
39163 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
39164 fi
39165 fi
39166 if test "$wxUSE_WEBKIT" = "yes"; then
39167 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
39168 old_CPPFLAGS="$CPPFLAGS"
39169 CPPFLAGS="$CPPFLAGS -x objective-c++"
39170 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
39171 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
39172 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
39173 echo $ECHO_N "(cached) $ECHO_C" >&6
39174 else
39175 cat >conftest.$ac_ext <<_ACEOF
39176 /* confdefs.h. */
39177 _ACEOF
39178 cat confdefs.h >>conftest.$ac_ext
39179 cat >>conftest.$ac_ext <<_ACEOF
39180 /* end confdefs.h. */
39181 #include <Carbon/Carbon.h>
39182
39183 #include <WebKit/HIWebView.h>
39184 _ACEOF
39185 rm -f conftest.$ac_objext
39186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39187 (eval $ac_compile) 2>conftest.er1
39188 ac_status=$?
39189 grep -v '^ *+' conftest.er1 >conftest.err
39190 rm -f conftest.er1
39191 cat conftest.err >&5
39192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39193 (exit $ac_status); } &&
39194 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39196 (eval $ac_try) 2>&5
39197 ac_status=$?
39198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39199 (exit $ac_status); }; } &&
39200 { ac_try='test -s conftest.$ac_objext'
39201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39202 (eval $ac_try) 2>&5
39203 ac_status=$?
39204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39205 (exit $ac_status); }; }; then
39206 ac_cv_header_WebKit_HIWebView_h=yes
39207 else
39208 echo "$as_me: failed program was:" >&5
39209 sed 's/^/| /' conftest.$ac_ext >&5
39210
39211 ac_cv_header_WebKit_HIWebView_h=no
39212 fi
39213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39214 fi
39215 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
39216 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
39217 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
39218
39219 cat >>confdefs.h <<\_ACEOF
39220 #define wxUSE_WEBKIT 1
39221 _ACEOF
39222
39223 WEBKIT_LINK="-framework WebKit"
39224
39225 else
39226
39227 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
39228 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
39229 wxUSE_WEBKIT=no
39230
39231 fi
39232
39233
39234 CPPFLAGS="$old_CPPFLAGS"
39235 elif test "$wxUSE_COCOA" = 1; then
39236 cat >>confdefs.h <<\_ACEOF
39237 #define wxUSE_WEBKIT 1
39238 _ACEOF
39239
39240 else
39241 wxUSE_WEBKIT=no
39242 fi
39243 fi
39244
39245 USE_XRC=0
39246 if test "$wxUSE_XRC" = "yes"; then
39247 if test "$wxUSE_XML" != "yes"; then
39248 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
39249 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
39250 wxUSE_XRC=no
39251 else
39252 cat >>confdefs.h <<\_ACEOF
39253 #define wxUSE_XRC 1
39254 _ACEOF
39255
39256 USE_XRC=1
39257 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
39258 fi
39259 fi
39260
39261 if test "$wxUSE_MENUS" = "yes"; then
39262 cat >>confdefs.h <<\_ACEOF
39263 #define wxUSE_MENUS 1
39264 _ACEOF
39265
39266 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
39267 fi
39268
39269 if test "$wxUSE_METAFILE" = "yes"; then
39270 cat >>confdefs.h <<\_ACEOF
39271 #define wxUSE_METAFILE 1
39272 _ACEOF
39273
39274 fi
39275
39276 if test "$wxUSE_MIMETYPE" = "yes"; then
39277 cat >>confdefs.h <<\_ACEOF
39278 #define wxUSE_MIMETYPE 1
39279 _ACEOF
39280
39281 fi
39282
39283 if test "$wxUSE_MINIFRAME" = "yes"; then
39284 cat >>confdefs.h <<\_ACEOF
39285 #define wxUSE_MINIFRAME 1
39286 _ACEOF
39287
39288 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
39289 fi
39290
39291 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
39292 cat >>confdefs.h <<\_ACEOF
39293 #define wxUSE_SYSTEM_OPTIONS 1
39294 _ACEOF
39295
39296 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
39297 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
39298 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
39299 fi
39300 fi
39301
39302
39303 if test "$wxUSE_VALIDATORS" = "yes"; then
39304 cat >>confdefs.h <<\_ACEOF
39305 #define wxUSE_VALIDATORS 1
39306 _ACEOF
39307
39308 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
39309 fi
39310
39311 if test "$wxUSE_PALETTE" = "yes" ; then
39312 cat >>confdefs.h <<\_ACEOF
39313 #define wxUSE_PALETTE 1
39314 _ACEOF
39315
39316 fi
39317
39318 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
39319 LIBS=" -lunicows $LIBS"
39320 fi
39321
39322
39323 if test "$wxUSE_IMAGE" = "yes" ; then
39324 cat >>confdefs.h <<\_ACEOF
39325 #define wxUSE_IMAGE 1
39326 _ACEOF
39327
39328
39329 if test "$wxUSE_GIF" = "yes" ; then
39330 cat >>confdefs.h <<\_ACEOF
39331 #define wxUSE_GIF 1
39332 _ACEOF
39333
39334 fi
39335
39336 if test "$wxUSE_PCX" = "yes" ; then
39337 cat >>confdefs.h <<\_ACEOF
39338 #define wxUSE_PCX 1
39339 _ACEOF
39340
39341 fi
39342
39343 if test "$wxUSE_IFF" = "yes" ; then
39344 cat >>confdefs.h <<\_ACEOF
39345 #define wxUSE_IFF 1
39346 _ACEOF
39347
39348 fi
39349
39350 if test "$wxUSE_PNM" = "yes" ; then
39351 cat >>confdefs.h <<\_ACEOF
39352 #define wxUSE_PNM 1
39353 _ACEOF
39354
39355 fi
39356
39357 if test "$wxUSE_XPM" = "yes" ; then
39358 cat >>confdefs.h <<\_ACEOF
39359 #define wxUSE_XPM 1
39360 _ACEOF
39361
39362 fi
39363
39364 if test "$wxUSE_ICO_CUR" = "yes" ; then
39365 cat >>confdefs.h <<\_ACEOF
39366 #define wxUSE_ICO_CUR 1
39367 _ACEOF
39368
39369 fi
39370 fi
39371
39372
39373 if test "$wxUSE_CHOICEDLG" = "yes"; then
39374 cat >>confdefs.h <<\_ACEOF
39375 #define wxUSE_CHOICEDLG 1
39376 _ACEOF
39377
39378 fi
39379
39380 if test "$wxUSE_COLOURDLG" = "yes"; then
39381 cat >>confdefs.h <<\_ACEOF
39382 #define wxUSE_COLOURDLG 1
39383 _ACEOF
39384
39385 fi
39386
39387 if test "$wxUSE_FILEDLG" = "yes"; then
39388 cat >>confdefs.h <<\_ACEOF
39389 #define wxUSE_FILEDLG 1
39390 _ACEOF
39391
39392 fi
39393
39394 if test "$wxUSE_FINDREPLDLG" = "yes"; then
39395 cat >>confdefs.h <<\_ACEOF
39396 #define wxUSE_FINDREPLDLG 1
39397 _ACEOF
39398
39399 fi
39400
39401 if test "$wxUSE_FONTDLG" = "yes"; then
39402 cat >>confdefs.h <<\_ACEOF
39403 #define wxUSE_FONTDLG 1
39404 _ACEOF
39405
39406 fi
39407
39408 if test "$wxUSE_DIRDLG" = "yes"; then
39409 if test "$wxUSE_TREECTRL" != "yes"; then
39410 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
39411 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
39412 else
39413 cat >>confdefs.h <<\_ACEOF
39414 #define wxUSE_DIRDLG 1
39415 _ACEOF
39416
39417 fi
39418 fi
39419
39420 if test "$wxUSE_MSGDLG" = "yes"; then
39421 cat >>confdefs.h <<\_ACEOF
39422 #define wxUSE_MSGDLG 1
39423 _ACEOF
39424
39425 fi
39426
39427 if test "$wxUSE_NUMBERDLG" = "yes"; then
39428 cat >>confdefs.h <<\_ACEOF
39429 #define wxUSE_NUMBERDLG 1
39430 _ACEOF
39431
39432 fi
39433
39434 if test "$wxUSE_PROGRESSDLG" = "yes"; then
39435 if test "$wxUSE_CONSTRAINTS" != "yes"; then
39436 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
39437 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
39438 else
39439 cat >>confdefs.h <<\_ACEOF
39440 #define wxUSE_PROGRESSDLG 1
39441 _ACEOF
39442
39443 fi
39444 fi
39445
39446 if test "$wxUSE_SPLASH" = "yes"; then
39447 cat >>confdefs.h <<\_ACEOF
39448 #define wxUSE_SPLASH 1
39449 _ACEOF
39450
39451 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
39452 fi
39453
39454 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
39455 if test "$wxUSE_CONSTRAINTS" != "yes"; then
39456 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
39457 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
39458 else
39459 cat >>confdefs.h <<\_ACEOF
39460 #define wxUSE_STARTUP_TIPS 1
39461 _ACEOF
39462
39463 fi
39464 fi
39465
39466 if test "$wxUSE_TEXTDLG" = "yes"; then
39467 cat >>confdefs.h <<\_ACEOF
39468 #define wxUSE_TEXTDLG 1
39469 _ACEOF
39470
39471 fi
39472
39473 if test "$wxUSE_WIZARDDLG" = "yes"; then
39474 cat >>confdefs.h <<\_ACEOF
39475 #define wxUSE_WIZARDDLG 1
39476 _ACEOF
39477
39478 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
39479 fi
39480
39481
39482 if test "$wxUSE_MEDIACTRL" = "yes"; then
39483 if test "$wxUSE_MSW" = 1; then
39484 wxUSE_DIRECTSHOW="yes"
39485
39486 for ac_header in dshow.h
39487 do
39488 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39489 echo "$as_me:$LINENO: checking for $ac_header" >&5
39490 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39491 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39492 echo $ECHO_N "(cached) $ECHO_C" >&6
39493 else
39494 cat >conftest.$ac_ext <<_ACEOF
39495 /* confdefs.h. */
39496 _ACEOF
39497 cat confdefs.h >>conftest.$ac_ext
39498 cat >>conftest.$ac_ext <<_ACEOF
39499 /* end confdefs.h. */
39500 #include <windows.h>
39501
39502 #include <$ac_header>
39503 _ACEOF
39504 rm -f conftest.$ac_objext
39505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39506 (eval $ac_compile) 2>conftest.er1
39507 ac_status=$?
39508 grep -v '^ *+' conftest.er1 >conftest.err
39509 rm -f conftest.er1
39510 cat conftest.err >&5
39511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39512 (exit $ac_status); } &&
39513 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39515 (eval $ac_try) 2>&5
39516 ac_status=$?
39517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39518 (exit $ac_status); }; } &&
39519 { ac_try='test -s conftest.$ac_objext'
39520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39521 (eval $ac_try) 2>&5
39522 ac_status=$?
39523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39524 (exit $ac_status); }; }; then
39525 eval "$as_ac_Header=yes"
39526 else
39527 echo "$as_me: failed program was:" >&5
39528 sed 's/^/| /' conftest.$ac_ext >&5
39529
39530 eval "$as_ac_Header=no"
39531 fi
39532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39533 fi
39534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39535 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39536 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39537 cat >>confdefs.h <<_ACEOF
39538 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39539 _ACEOF
39540
39541 else
39542
39543 wxUSE_DIRECTSHOW="no"
39544 { echo "$as_me:$LINENO: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&5
39545 echo "$as_me: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&2;}
39546
39547 fi
39548
39549 done
39550
39551
39552 if test "$wxUSE_DIRECTSHOW" = "yes"; then
39553 cat >>confdefs.h <<\_ACEOF
39554 #define wxUSE_DIRECTSHOW 1
39555 _ACEOF
39556
39557 LIBS="$LIBS -lstrmiids"
39558 fi
39559 fi
39560
39561 if test "$wxUSE_GTK" = 1; then
39562 wxUSE_GSTREAMER="yes"
39563
39564
39565 succeeded=no
39566
39567 if test -z "$PKG_CONFIG"; then
39568 # Extract the first word of "pkg-config", so it can be a program name with args.
39569 set dummy pkg-config; ac_word=$2
39570 echo "$as_me:$LINENO: checking for $ac_word" >&5
39571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39572 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
39573 echo $ECHO_N "(cached) $ECHO_C" >&6
39574 else
39575 case $PKG_CONFIG in
39576 [\\/]* | ?:[\\/]*)
39577 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
39578 ;;
39579 *)
39580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39581 for as_dir in $PATH
39582 do
39583 IFS=$as_save_IFS
39584 test -z "$as_dir" && as_dir=.
39585 for ac_exec_ext in '' $ac_executable_extensions; do
39586 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39587 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
39588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39589 break 2
39590 fi
39591 done
39592 done
39593
39594 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
39595 ;;
39596 esac
39597 fi
39598 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
39599
39600 if test -n "$PKG_CONFIG"; then
39601 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
39602 echo "${ECHO_T}$PKG_CONFIG" >&6
39603 else
39604 echo "$as_me:$LINENO: result: no" >&5
39605 echo "${ECHO_T}no" >&6
39606 fi
39607
39608 fi
39609
39610 if test "$PKG_CONFIG" = "no" ; then
39611 echo "*** The pkg-config script could not be found. Make sure it is"
39612 echo "*** in your path, or set the PKG_CONFIG environment variable"
39613 echo "*** to the full path to pkg-config."
39614 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
39615 else
39616 PKG_CONFIG_MIN_VERSION=0.9.0
39617 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
39618 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
39619 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
39620
39621 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
39622 echo "$as_me:$LINENO: result: yes" >&5
39623 echo "${ECHO_T}yes" >&6
39624 succeeded=yes
39625
39626 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
39627 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
39628 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-0.8"`
39629 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
39630 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
39631
39632 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
39633 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
39634 GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-0.8"`
39635 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
39636 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
39637 else
39638 GSTREAMER_CFLAGS=""
39639 GSTREAMER_LIBS=""
39640 ## If we have a custom action on failure, don't print errors, but
39641 ## do set a variable so people can do so.
39642 GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
39643
39644 fi
39645
39646
39647
39648 else
39649 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
39650 echo "*** See http://www.freedesktop.org/software/pkgconfig"
39651 fi
39652 fi
39653
39654 if test $succeeded = yes; then
39655
39656 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
39657 LIBS="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
39658
39659 else
39660
39661 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
39662 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
39663 wxUSE_GSTREAMER="no"
39664
39665 fi
39666
39667
39668
39669
39670
39671 if test "x$GST_INSPECT" == "x"; then
39672 # Extract the first word of "gst-inspect", so it can be a program name with args.
39673 set dummy gst-inspect; ac_word=$2
39674 echo "$as_me:$LINENO: checking for $ac_word" >&5
39675 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39676 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
39677 echo $ECHO_N "(cached) $ECHO_C" >&6
39678 else
39679 if test -n "$GST_INSPECT"; then
39680 ac_cv_prog_GST_INSPECT="$GST_INSPECT" # Let the user override the test.
39681 else
39682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39683 for as_dir in $PATH
39684 do
39685 IFS=$as_save_IFS
39686 test -z "$as_dir" && as_dir=.
39687 for ac_exec_ext in '' $ac_executable_extensions; do
39688 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39689 ac_cv_prog_GST_INSPECT="gst-inspect"
39690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39691 break 2
39692 fi
39693 done
39694 done
39695
39696 fi
39697 fi
39698 GST_INSPECT=$ac_cv_prog_GST_INSPECT
39699 if test -n "$GST_INSPECT"; then
39700 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
39701 echo "${ECHO_T}$GST_INSPECT" >&6
39702 else
39703 echo "$as_me:$LINENO: result: no" >&5
39704 echo "${ECHO_T}no" >&6
39705 fi
39706
39707 fi
39708
39709 if test "x$GST_INSPECT" != "x"; then
39710 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
39711 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
39712 if $GST_INSPECT xvimagesink > /dev/null 2> /dev/null ; then
39713 echo "$as_me:$LINENO: result: found." >&5
39714 echo "${ECHO_T}found." >&6
39715
39716 else
39717 echo "$as_me:$LINENO: result: not found." >&5
39718 echo "${ECHO_T}not found." >&6
39719
39720 wxUSE_GSTREAMER="no"
39721 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
39722 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
39723
39724 fi
39725 fi
39726
39727
39728 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
39729 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
39730 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
39731 echo $ECHO_N "(cached) $ECHO_C" >&6
39732 else
39733 cat >conftest.$ac_ext <<_ACEOF
39734 /* confdefs.h. */
39735 _ACEOF
39736 cat confdefs.h >>conftest.$ac_ext
39737 cat >>conftest.$ac_ext <<_ACEOF
39738 /* end confdefs.h. */
39739 #include <gst/gst.h>
39740
39741 #include <gst/xoverlay/xoverlay.h>
39742 _ACEOF
39743 rm -f conftest.$ac_objext
39744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39745 (eval $ac_compile) 2>conftest.er1
39746 ac_status=$?
39747 grep -v '^ *+' conftest.er1 >conftest.err
39748 rm -f conftest.er1
39749 cat conftest.err >&5
39750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39751 (exit $ac_status); } &&
39752 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39754 (eval $ac_try) 2>&5
39755 ac_status=$?
39756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39757 (exit $ac_status); }; } &&
39758 { ac_try='test -s conftest.$ac_objext'
39759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39760 (eval $ac_try) 2>&5
39761 ac_status=$?
39762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39763 (exit $ac_status); }; }; then
39764 ac_cv_header_gst_xoverlay_xoverlay_h=yes
39765 else
39766 echo "$as_me: failed program was:" >&5
39767 sed 's/^/| /' conftest.$ac_ext >&5
39768
39769 ac_cv_header_gst_xoverlay_xoverlay_h=no
39770 fi
39771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39772 fi
39773 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
39774 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
39775 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
39776 :
39777 else
39778
39779 wxUSE_GSTREAMER="no"
39780 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
39781 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
39782
39783 fi
39784
39785
39786
39787 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
39788 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
39789
39790 ac_find_libraries=
39791 for ac_dir in $SEARCH_LIB /usr/lib;
39792 do
39793 for ac_extension in a so sl dylib; do
39794 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
39795 ac_find_libraries=$ac_dir
39796 break 2
39797 fi
39798 done
39799 done
39800
39801
39802 if test "$ac_find_libraries" = "" ; then
39803 echo "$as_me:$LINENO: result: no" >&5
39804 echo "${ECHO_T}no" >&6
39805 wxUSE_GSTREAMER="no"
39806 else
39807 echo "$as_me:$LINENO: result: yes" >&5
39808 echo "${ECHO_T}yes" >&6
39809 fi
39810
39811 if test "$wxUSE_GSTREAMER" = "yes"; then
39812 cat >>confdefs.h <<\_ACEOF
39813 #define wxUSE_GSTREAMER 1
39814 _ACEOF
39815
39816 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
39817 echo "${ECHO_T}GStreamer detection successful" >&6
39818 fi
39819 fi
39820 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
39821 cat >>confdefs.h <<\_ACEOF
39822 #define wxUSE_MEDIACTRL 1
39823 _ACEOF
39824
39825 fi
39826
39827
39828 if test "$cross_compiling" = "yes"; then
39829 OSINFO="\"$host\""
39830 else
39831 OSINFO=`uname -s -r -m`
39832 OSINFO="\"$OSINFO\""
39833 fi
39834
39835 cat >>confdefs.h <<_ACEOF
39836 #define WXWIN_OS_DESCRIPTION $OSINFO
39837 _ACEOF
39838
39839
39840
39841 if test "x$prefix" != "xNONE"; then
39842 wxPREFIX=$prefix
39843 else
39844 wxPREFIX=$ac_default_prefix
39845 fi
39846
39847 cat >>confdefs.h <<_ACEOF
39848 #define wxINSTALL_PREFIX "$wxPREFIX"
39849 _ACEOF
39850
39851
39852
39853
39854 CORE_BASE_LIBS="net base"
39855 CORE_GUI_LIBS="adv core"
39856
39857 if test "$wxUSE_XML" = "yes" ; then
39858 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
39859 fi
39860 if test "$wxUSE_ODBC" != "no" ; then
39861 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
39862 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
39863 fi
39864 if test "$wxUSE_HTML" = "yes" ; then
39865 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
39866 fi
39867 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
39868 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
39869 fi
39870 if test "$wxUSE_XRC" = "yes" ; then
39871 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
39872 fi
39873
39874 if test "$wxUSE_GUI" != "yes"; then
39875 CORE_GUI_LIBS=""
39876 fi
39877
39878
39879
39880
39881
39882
39883
39884
39885 if test "$wxUSE_MAC" = 1 ; then
39886 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
39887 if test "$USE_DARWIN" = 1; then
39888 LDFLAGS="$LDFLAGS -framework QuickTime"
39889 else
39890 LDFLAGS="$LDFLAGS -lQuickTimeLib"
39891 fi
39892 fi
39893 if test "$USE_DARWIN" = 1; then
39894 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
39895 else
39896 LDFLAGS="$LDFLAGS -lCarbonLib"
39897 fi
39898 fi
39899 if test "$wxUSE_COCOA" = 1 ; then
39900 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
39901 if test "$wxUSE_MEDIACTRL" = "yes"; then
39902 LDFLAGS="$LDFLAGS -framework QuickTime"
39903 fi
39904 fi
39905
39906
39907 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
39908
39909 have_cos=0
39910 have_floor=0
39911
39912 for ac_func in cos
39913 do
39914 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39915 echo "$as_me:$LINENO: checking for $ac_func" >&5
39916 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39917 if eval "test \"\${$as_ac_var+set}\" = set"; then
39918 echo $ECHO_N "(cached) $ECHO_C" >&6
39919 else
39920 cat >conftest.$ac_ext <<_ACEOF
39921 /* confdefs.h. */
39922 _ACEOF
39923 cat confdefs.h >>conftest.$ac_ext
39924 cat >>conftest.$ac_ext <<_ACEOF
39925 /* end confdefs.h. */
39926 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39927 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39928 #define $ac_func innocuous_$ac_func
39929
39930 /* System header to define __stub macros and hopefully few prototypes,
39931 which can conflict with char $ac_func (); below.
39932 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39933 <limits.h> exists even on freestanding compilers. */
39934
39935 #ifdef __STDC__
39936 # include <limits.h>
39937 #else
39938 # include <assert.h>
39939 #endif
39940
39941 #undef $ac_func
39942
39943 /* Override any gcc2 internal prototype to avoid an error. */
39944 #ifdef __cplusplus
39945 extern "C"
39946 {
39947 #endif
39948 /* We use char because int might match the return type of a gcc2
39949 builtin and then its argument prototype would still apply. */
39950 char $ac_func ();
39951 /* The GNU C library defines this for functions which it implements
39952 to always fail with ENOSYS. Some functions are actually named
39953 something starting with __ and the normal name is an alias. */
39954 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39955 choke me
39956 #else
39957 char (*f) () = $ac_func;
39958 #endif
39959 #ifdef __cplusplus
39960 }
39961 #endif
39962
39963 int
39964 main ()
39965 {
39966 return f != $ac_func;
39967 ;
39968 return 0;
39969 }
39970 _ACEOF
39971 rm -f conftest.$ac_objext conftest$ac_exeext
39972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39973 (eval $ac_link) 2>conftest.er1
39974 ac_status=$?
39975 grep -v '^ *+' conftest.er1 >conftest.err
39976 rm -f conftest.er1
39977 cat conftest.err >&5
39978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39979 (exit $ac_status); } &&
39980 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39982 (eval $ac_try) 2>&5
39983 ac_status=$?
39984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39985 (exit $ac_status); }; } &&
39986 { ac_try='test -s conftest$ac_exeext'
39987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39988 (eval $ac_try) 2>&5
39989 ac_status=$?
39990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39991 (exit $ac_status); }; }; then
39992 eval "$as_ac_var=yes"
39993 else
39994 echo "$as_me: failed program was:" >&5
39995 sed 's/^/| /' conftest.$ac_ext >&5
39996
39997 eval "$as_ac_var=no"
39998 fi
39999 rm -f conftest.err conftest.$ac_objext \
40000 conftest$ac_exeext conftest.$ac_ext
40001 fi
40002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40003 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40004 if test `eval echo '${'$as_ac_var'}'` = yes; then
40005 cat >>confdefs.h <<_ACEOF
40006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40007 _ACEOF
40008 have_cos=1
40009 fi
40010 done
40011
40012
40013 for ac_func in floor
40014 do
40015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40016 echo "$as_me:$LINENO: checking for $ac_func" >&5
40017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40018 if eval "test \"\${$as_ac_var+set}\" = set"; then
40019 echo $ECHO_N "(cached) $ECHO_C" >&6
40020 else
40021 cat >conftest.$ac_ext <<_ACEOF
40022 /* confdefs.h. */
40023 _ACEOF
40024 cat confdefs.h >>conftest.$ac_ext
40025 cat >>conftest.$ac_ext <<_ACEOF
40026 /* end confdefs.h. */
40027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40029 #define $ac_func innocuous_$ac_func
40030
40031 /* System header to define __stub macros and hopefully few prototypes,
40032 which can conflict with char $ac_func (); below.
40033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40034 <limits.h> exists even on freestanding compilers. */
40035
40036 #ifdef __STDC__
40037 # include <limits.h>
40038 #else
40039 # include <assert.h>
40040 #endif
40041
40042 #undef $ac_func
40043
40044 /* Override any gcc2 internal prototype to avoid an error. */
40045 #ifdef __cplusplus
40046 extern "C"
40047 {
40048 #endif
40049 /* We use char because int might match the return type of a gcc2
40050 builtin and then its argument prototype would still apply. */
40051 char $ac_func ();
40052 /* The GNU C library defines this for functions which it implements
40053 to always fail with ENOSYS. Some functions are actually named
40054 something starting with __ and the normal name is an alias. */
40055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40056 choke me
40057 #else
40058 char (*f) () = $ac_func;
40059 #endif
40060 #ifdef __cplusplus
40061 }
40062 #endif
40063
40064 int
40065 main ()
40066 {
40067 return f != $ac_func;
40068 ;
40069 return 0;
40070 }
40071 _ACEOF
40072 rm -f conftest.$ac_objext conftest$ac_exeext
40073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40074 (eval $ac_link) 2>conftest.er1
40075 ac_status=$?
40076 grep -v '^ *+' conftest.er1 >conftest.err
40077 rm -f conftest.er1
40078 cat conftest.err >&5
40079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40080 (exit $ac_status); } &&
40081 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40083 (eval $ac_try) 2>&5
40084 ac_status=$?
40085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40086 (exit $ac_status); }; } &&
40087 { ac_try='test -s conftest$ac_exeext'
40088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40089 (eval $ac_try) 2>&5
40090 ac_status=$?
40091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40092 (exit $ac_status); }; }; then
40093 eval "$as_ac_var=yes"
40094 else
40095 echo "$as_me: failed program was:" >&5
40096 sed 's/^/| /' conftest.$ac_ext >&5
40097
40098 eval "$as_ac_var=no"
40099 fi
40100 rm -f conftest.err conftest.$ac_objext \
40101 conftest$ac_exeext conftest.$ac_ext
40102 fi
40103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40105 if test `eval echo '${'$as_ac_var'}'` = yes; then
40106 cat >>confdefs.h <<_ACEOF
40107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40108 _ACEOF
40109 have_floor=1
40110 fi
40111 done
40112
40113 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
40114 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
40115 if test "$have_cos" = 1 -a "$have_floor" = 1; then
40116 echo "$as_me:$LINENO: result: yes" >&5
40117 echo "${ECHO_T}yes" >&6
40118 else
40119 echo "$as_me:$LINENO: result: no" >&5
40120 echo "${ECHO_T}no" >&6
40121 LIBS="$LIBS -lm"
40122 # use different functions to avoid configure caching
40123 have_sin=0
40124 have_ceil=0
40125
40126 for ac_func in sin
40127 do
40128 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40129 echo "$as_me:$LINENO: checking for $ac_func" >&5
40130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40131 if eval "test \"\${$as_ac_var+set}\" = set"; then
40132 echo $ECHO_N "(cached) $ECHO_C" >&6
40133 else
40134 cat >conftest.$ac_ext <<_ACEOF
40135 /* confdefs.h. */
40136 _ACEOF
40137 cat confdefs.h >>conftest.$ac_ext
40138 cat >>conftest.$ac_ext <<_ACEOF
40139 /* end confdefs.h. */
40140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40142 #define $ac_func innocuous_$ac_func
40143
40144 /* System header to define __stub macros and hopefully few prototypes,
40145 which can conflict with char $ac_func (); below.
40146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40147 <limits.h> exists even on freestanding compilers. */
40148
40149 #ifdef __STDC__
40150 # include <limits.h>
40151 #else
40152 # include <assert.h>
40153 #endif
40154
40155 #undef $ac_func
40156
40157 /* Override any gcc2 internal prototype to avoid an error. */
40158 #ifdef __cplusplus
40159 extern "C"
40160 {
40161 #endif
40162 /* We use char because int might match the return type of a gcc2
40163 builtin and then its argument prototype would still apply. */
40164 char $ac_func ();
40165 /* The GNU C library defines this for functions which it implements
40166 to always fail with ENOSYS. Some functions are actually named
40167 something starting with __ and the normal name is an alias. */
40168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40169 choke me
40170 #else
40171 char (*f) () = $ac_func;
40172 #endif
40173 #ifdef __cplusplus
40174 }
40175 #endif
40176
40177 int
40178 main ()
40179 {
40180 return f != $ac_func;
40181 ;
40182 return 0;
40183 }
40184 _ACEOF
40185 rm -f conftest.$ac_objext conftest$ac_exeext
40186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40187 (eval $ac_link) 2>conftest.er1
40188 ac_status=$?
40189 grep -v '^ *+' conftest.er1 >conftest.err
40190 rm -f conftest.er1
40191 cat conftest.err >&5
40192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40193 (exit $ac_status); } &&
40194 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40196 (eval $ac_try) 2>&5
40197 ac_status=$?
40198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40199 (exit $ac_status); }; } &&
40200 { ac_try='test -s conftest$ac_exeext'
40201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40202 (eval $ac_try) 2>&5
40203 ac_status=$?
40204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40205 (exit $ac_status); }; }; then
40206 eval "$as_ac_var=yes"
40207 else
40208 echo "$as_me: failed program was:" >&5
40209 sed 's/^/| /' conftest.$ac_ext >&5
40210
40211 eval "$as_ac_var=no"
40212 fi
40213 rm -f conftest.err conftest.$ac_objext \
40214 conftest$ac_exeext conftest.$ac_ext
40215 fi
40216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40217 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40218 if test `eval echo '${'$as_ac_var'}'` = yes; then
40219 cat >>confdefs.h <<_ACEOF
40220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40221 _ACEOF
40222 have_sin=1
40223 fi
40224 done
40225
40226
40227 for ac_func in ceil
40228 do
40229 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40230 echo "$as_me:$LINENO: checking for $ac_func" >&5
40231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40232 if eval "test \"\${$as_ac_var+set}\" = set"; then
40233 echo $ECHO_N "(cached) $ECHO_C" >&6
40234 else
40235 cat >conftest.$ac_ext <<_ACEOF
40236 /* confdefs.h. */
40237 _ACEOF
40238 cat confdefs.h >>conftest.$ac_ext
40239 cat >>conftest.$ac_ext <<_ACEOF
40240 /* end confdefs.h. */
40241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40242 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40243 #define $ac_func innocuous_$ac_func
40244
40245 /* System header to define __stub macros and hopefully few prototypes,
40246 which can conflict with char $ac_func (); below.
40247 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40248 <limits.h> exists even on freestanding compilers. */
40249
40250 #ifdef __STDC__
40251 # include <limits.h>
40252 #else
40253 # include <assert.h>
40254 #endif
40255
40256 #undef $ac_func
40257
40258 /* Override any gcc2 internal prototype to avoid an error. */
40259 #ifdef __cplusplus
40260 extern "C"
40261 {
40262 #endif
40263 /* We use char because int might match the return type of a gcc2
40264 builtin and then its argument prototype would still apply. */
40265 char $ac_func ();
40266 /* The GNU C library defines this for functions which it implements
40267 to always fail with ENOSYS. Some functions are actually named
40268 something starting with __ and the normal name is an alias. */
40269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40270 choke me
40271 #else
40272 char (*f) () = $ac_func;
40273 #endif
40274 #ifdef __cplusplus
40275 }
40276 #endif
40277
40278 int
40279 main ()
40280 {
40281 return f != $ac_func;
40282 ;
40283 return 0;
40284 }
40285 _ACEOF
40286 rm -f conftest.$ac_objext conftest$ac_exeext
40287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40288 (eval $ac_link) 2>conftest.er1
40289 ac_status=$?
40290 grep -v '^ *+' conftest.er1 >conftest.err
40291 rm -f conftest.er1
40292 cat conftest.err >&5
40293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40294 (exit $ac_status); } &&
40295 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40297 (eval $ac_try) 2>&5
40298 ac_status=$?
40299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40300 (exit $ac_status); }; } &&
40301 { ac_try='test -s conftest$ac_exeext'
40302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40303 (eval $ac_try) 2>&5
40304 ac_status=$?
40305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40306 (exit $ac_status); }; }; then
40307 eval "$as_ac_var=yes"
40308 else
40309 echo "$as_me: failed program was:" >&5
40310 sed 's/^/| /' conftest.$ac_ext >&5
40311
40312 eval "$as_ac_var=no"
40313 fi
40314 rm -f conftest.err conftest.$ac_objext \
40315 conftest$ac_exeext conftest.$ac_ext
40316 fi
40317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40319 if test `eval echo '${'$as_ac_var'}'` = yes; then
40320 cat >>confdefs.h <<_ACEOF
40321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40322 _ACEOF
40323 have_ceil=1
40324 fi
40325 done
40326
40327 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
40328 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
40329 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
40330 echo "$as_me:$LINENO: result: yes" >&5
40331 echo "${ECHO_T}yes" >&6
40332 else
40333 echo "$as_me:$LINENO: result: no" >&5
40334 echo "${ECHO_T}no" >&6
40335 # not sure we should warn the user, crash, etc.
40336 fi
40337 fi
40338
40339 if test "$wxUSE_GUI" = "yes"; then
40340
40341
40342 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
40343 dynamic erase event exec font image minimal mobile \
40344 mobile/wxedit mobile/styles propsize render \
40345 richedit rotate shaped vscroll widgets"
40346
40347 if test "$wxUSE_MONOLITHIC" != "yes"; then
40348 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
40349 fi
40350 if test "$TOOLKIT" = "MSW"; then
40351 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
40352 if test "$wxUSE_UNIVERSAL" != "yes"; then
40353 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
40354 fi
40355 fi
40356 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
40357 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
40358 fi
40359 else
40360 SAMPLES_SUBDIRS="console"
40361 fi
40362
40363
40364 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
40365 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
40366
40367 if test "$GXX" = yes ; then
40368 CWARNINGS="-Wall"
40369 CXXWARNINGS="$CWARNINGS -Wno-ctor-dtor-privacy"
40370 fi
40371
40372 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
40373
40374 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
40375 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
40376 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
40377
40378 if test "x$MWCC" = "xyes"; then
40379
40380 CC="$CC -cwd source -I-"
40381 CXX="$CXX -cwd source -I-"
40382 fi
40383
40384
40385 LIBS=`echo $LIBS`
40386 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
40387 EXTRALIBS_XML="$EXPAT_LINK"
40388 EXTRALIBS_HTML="$MSPACK_LINK"
40389 EXTRALIBS_ODBC="$ODBC_LINK"
40390 if test "$wxUSE_GUI" = "yes"; then
40391 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_GNOMEPRINT`
40392 fi
40393 if test "$wxUSE_OPENGL" = "yes"; then
40394 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
40395 fi
40396
40397 LDFLAGS="$LDFLAGS $PROFILE"
40398
40399 if test "$wxUSE_GTK" = 1; then
40400 WXCONFIG_INCLUDE=
40401 else
40402 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
40403 fi
40404
40405 WXCONFIG_EXTRALIBS="$LIBS"
40406
40407 if test "$wxUSE_REGEX" = "builtin" ; then
40408 wxconfig_3rdparty="$wxconfig_3rdparty regex${lib_unicode_suffix}"
40409 fi
40410 if test "$wxUSE_EXPAT" = "builtin" ; then
40411 wxconfig_3rdparty="$wxconfig_3rdparty expat"
40412 fi
40413 if test "$wxUSE_ODBC" = "builtin" ; then
40414 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
40415 fi
40416 if test "$wxUSE_LIBTIFF" = "builtin" ; then
40417 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
40418 fi
40419 if test "$wxUSE_LIBJPEG" = "builtin" ; then
40420 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
40421 fi
40422 if test "$wxUSE_LIBPNG" = "builtin" ; then
40423 wxconfig_3rdparty="$wxconfig_3rdparty png"
40424 fi
40425 if test "$wxUSE_ZLIB" = "builtin" ; then
40426 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
40427 fi
40428 if test "$wxUSE_ODBC" = "builtin" ; then
40429 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
40430 fi
40431
40432 for i in $wxconfig_3rdparty ; do
40433 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
40434 done
40435
40436
40437 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
40438 WXUNIV=1
40439 else
40440 WXUNIV=0
40441 fi
40442
40443
40444
40445
40446
40447
40448
40449
40450
40451 if test $wxUSE_MONOLITHIC = "yes" ; then
40452 MONOLITHIC=1
40453 else
40454 MONOLITHIC=0
40455 fi
40456
40457 if test $wxUSE_PLUGINS = "yes" ; then
40458 USE_PLUGINS=1
40459 else
40460 USE_PLUGINS=0
40461 fi
40462
40463 if test $wxUSE_ODBC != "no" ; then
40464 USE_ODBC=1
40465 else
40466 USE_ODBC=0
40467 fi
40468
40469 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
40470 USE_QA=1
40471 else
40472 USE_QA=0
40473 fi
40474
40475 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
40476 OFFICIAL_BUILD=1
40477 else
40478 OFFICIAL_BUILD=0
40479 fi
40480
40481
40482
40483
40484
40485
40486
40487
40488
40489
40490
40491
40492
40493
40494
40495
40496
40497
40498
40499
40500
40501
40502
40503 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
40504
40505
40506
40507
40508
40509
40510
40511
40512 case "$TOOLKIT" in
40513 GTK)
40514 TOOLKIT_USER="GTK+"
40515 if test "$WXGTK20" = 1; then
40516 TOOLKIT_USER="$TOOLKIT_USER 2"
40517 fi
40518 ;;
40519
40520 *)
40521 TOOLKIT_USER=$TOOLKIT_LOWERCASE
40522 ;;
40523 esac
40524
40525
40526
40527
40528 if test "x$BAKEFILE_HOST" = "x"; then
40529 BAKEFILE_HOST="${host}"
40530 fi
40531
40532 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
40533
40534 if test -n "$ac_tool_prefix"; then
40535 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
40536 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
40537 echo "$as_me:$LINENO: checking for $ac_word" >&5
40538 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40539 if test "${ac_cv_prog_RANLIB+set}" = set; then
40540 echo $ECHO_N "(cached) $ECHO_C" >&6
40541 else
40542 if test -n "$RANLIB"; then
40543 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
40544 else
40545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40546 for as_dir in $PATH
40547 do
40548 IFS=$as_save_IFS
40549 test -z "$as_dir" && as_dir=.
40550 for ac_exec_ext in '' $ac_executable_extensions; do
40551 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40552 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
40553 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40554 break 2
40555 fi
40556 done
40557 done
40558
40559 fi
40560 fi
40561 RANLIB=$ac_cv_prog_RANLIB
40562 if test -n "$RANLIB"; then
40563 echo "$as_me:$LINENO: result: $RANLIB" >&5
40564 echo "${ECHO_T}$RANLIB" >&6
40565 else
40566 echo "$as_me:$LINENO: result: no" >&5
40567 echo "${ECHO_T}no" >&6
40568 fi
40569
40570 fi
40571 if test -z "$ac_cv_prog_RANLIB"; then
40572 ac_ct_RANLIB=$RANLIB
40573 # Extract the first word of "ranlib", so it can be a program name with args.
40574 set dummy ranlib; ac_word=$2
40575 echo "$as_me:$LINENO: checking for $ac_word" >&5
40576 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40577 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
40578 echo $ECHO_N "(cached) $ECHO_C" >&6
40579 else
40580 if test -n "$ac_ct_RANLIB"; then
40581 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
40582 else
40583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40584 for as_dir in $PATH
40585 do
40586 IFS=$as_save_IFS
40587 test -z "$as_dir" && as_dir=.
40588 for ac_exec_ext in '' $ac_executable_extensions; do
40589 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40590 ac_cv_prog_ac_ct_RANLIB="ranlib"
40591 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40592 break 2
40593 fi
40594 done
40595 done
40596
40597 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
40598 fi
40599 fi
40600 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
40601 if test -n "$ac_ct_RANLIB"; then
40602 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
40603 echo "${ECHO_T}$ac_ct_RANLIB" >&6
40604 else
40605 echo "$as_me:$LINENO: result: no" >&5
40606 echo "${ECHO_T}no" >&6
40607 fi
40608
40609 RANLIB=$ac_ct_RANLIB
40610 else
40611 RANLIB="$ac_cv_prog_RANLIB"
40612 fi
40613
40614 # Find a good install program. We prefer a C program (faster),
40615 # so one script is as good as another. But avoid the broken or
40616 # incompatible versions:
40617 # SysV /etc/install, /usr/sbin/install
40618 # SunOS /usr/etc/install
40619 # IRIX /sbin/install
40620 # AIX /bin/install
40621 # AmigaOS /C/install, which installs bootblocks on floppy discs
40622 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
40623 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
40624 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
40625 # OS/2's system install, which has a completely different semantic
40626 # ./install, which can be erroneously created by make from ./install.sh.
40627 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
40628 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
40629 if test -z "$INSTALL"; then
40630 if test "${ac_cv_path_install+set}" = set; then
40631 echo $ECHO_N "(cached) $ECHO_C" >&6
40632 else
40633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40634 for as_dir in $PATH
40635 do
40636 IFS=$as_save_IFS
40637 test -z "$as_dir" && as_dir=.
40638 # Account for people who put trailing slashes in PATH elements.
40639 case $as_dir/ in
40640 ./ | .// | /cC/* | \
40641 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
40642 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
40643 /usr/ucb/* ) ;;
40644 *)
40645 # OSF1 and SCO ODT 3.0 have their own names for install.
40646 # Don't use installbsd from OSF since it installs stuff as root
40647 # by default.
40648 for ac_prog in ginstall scoinst install; do
40649 for ac_exec_ext in '' $ac_executable_extensions; do
40650 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
40651 if test $ac_prog = install &&
40652 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
40653 # AIX install. It has an incompatible calling convention.
40654 :
40655 elif test $ac_prog = install &&
40656 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
40657 # program-specific install script used by HP pwplus--don't use.
40658 :
40659 else
40660 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
40661 break 3
40662 fi
40663 fi
40664 done
40665 done
40666 ;;
40667 esac
40668 done
40669
40670
40671 fi
40672 if test "${ac_cv_path_install+set}" = set; then
40673 INSTALL=$ac_cv_path_install
40674 else
40675 # As a last resort, use the slow shell script. We don't cache a
40676 # path for INSTALL within a source directory, because that will
40677 # break other packages using the cache if that directory is
40678 # removed, or if the path is relative.
40679 INSTALL=$ac_install_sh
40680 fi
40681 fi
40682 echo "$as_me:$LINENO: result: $INSTALL" >&5
40683 echo "${ECHO_T}$INSTALL" >&6
40684
40685 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
40686 # It thinks the first close brace ends the variable substitution.
40687 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
40688
40689 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
40690
40691 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
40692
40693 echo "$as_me:$LINENO: checking whether ln -s works" >&5
40694 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
40695 LN_S=$as_ln_s
40696 if test "$LN_S" = "ln -s"; then
40697 echo "$as_me:$LINENO: result: yes" >&5
40698 echo "${ECHO_T}yes" >&6
40699 else
40700 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
40701 echo "${ECHO_T}no, using $LN_S" >&6
40702 fi
40703
40704
40705 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
40706 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
40707 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
40708 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
40709 echo $ECHO_N "(cached) $ECHO_C" >&6
40710 else
40711 cat >conftest.make <<\_ACEOF
40712 all:
40713 @echo 'ac_maketemp="$(MAKE)"'
40714 _ACEOF
40715 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
40716 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
40717 if test -n "$ac_maketemp"; then
40718 eval ac_cv_prog_make_${ac_make}_set=yes
40719 else
40720 eval ac_cv_prog_make_${ac_make}_set=no
40721 fi
40722 rm -f conftest.make
40723 fi
40724 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
40725 echo "$as_me:$LINENO: result: yes" >&5
40726 echo "${ECHO_T}yes" >&6
40727 SET_MAKE=
40728 else
40729 echo "$as_me:$LINENO: result: no" >&5
40730 echo "${ECHO_T}no" >&6
40731 SET_MAKE="MAKE=${MAKE-make}"
40732 fi
40733
40734
40735
40736 if test -n "$ac_tool_prefix"; then
40737 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
40738 set dummy ${ac_tool_prefix}ar; ac_word=$2
40739 echo "$as_me:$LINENO: checking for $ac_word" >&5
40740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40741 if test "${ac_cv_prog_AR+set}" = set; then
40742 echo $ECHO_N "(cached) $ECHO_C" >&6
40743 else
40744 if test -n "$AR"; then
40745 ac_cv_prog_AR="$AR" # Let the user override the test.
40746 else
40747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40748 for as_dir in $PATH
40749 do
40750 IFS=$as_save_IFS
40751 test -z "$as_dir" && as_dir=.
40752 for ac_exec_ext in '' $ac_executable_extensions; do
40753 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40754 ac_cv_prog_AR="${ac_tool_prefix}ar"
40755 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40756 break 2
40757 fi
40758 done
40759 done
40760
40761 fi
40762 fi
40763 AR=$ac_cv_prog_AR
40764 if test -n "$AR"; then
40765 echo "$as_me:$LINENO: result: $AR" >&5
40766 echo "${ECHO_T}$AR" >&6
40767 else
40768 echo "$as_me:$LINENO: result: no" >&5
40769 echo "${ECHO_T}no" >&6
40770 fi
40771
40772 fi
40773 if test -z "$ac_cv_prog_AR"; then
40774 ac_ct_AR=$AR
40775 # Extract the first word of "ar", so it can be a program name with args.
40776 set dummy ar; ac_word=$2
40777 echo "$as_me:$LINENO: checking for $ac_word" >&5
40778 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40779 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
40780 echo $ECHO_N "(cached) $ECHO_C" >&6
40781 else
40782 if test -n "$ac_ct_AR"; then
40783 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
40784 else
40785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40786 for as_dir in $PATH
40787 do
40788 IFS=$as_save_IFS
40789 test -z "$as_dir" && as_dir=.
40790 for ac_exec_ext in '' $ac_executable_extensions; do
40791 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40792 ac_cv_prog_ac_ct_AR="ar"
40793 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40794 break 2
40795 fi
40796 done
40797 done
40798
40799 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
40800 fi
40801 fi
40802 ac_ct_AR=$ac_cv_prog_ac_ct_AR
40803 if test -n "$ac_ct_AR"; then
40804 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
40805 echo "${ECHO_T}$ac_ct_AR" >&6
40806 else
40807 echo "$as_me:$LINENO: result: no" >&5
40808 echo "${ECHO_T}no" >&6
40809 fi
40810
40811 AR=$ac_ct_AR
40812 else
40813 AR="$ac_cv_prog_AR"
40814 fi
40815
40816 if test -n "$ac_tool_prefix"; then
40817 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
40818 set dummy ${ac_tool_prefix}strip; ac_word=$2
40819 echo "$as_me:$LINENO: checking for $ac_word" >&5
40820 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40821 if test "${ac_cv_prog_STRIP+set}" = set; then
40822 echo $ECHO_N "(cached) $ECHO_C" >&6
40823 else
40824 if test -n "$STRIP"; then
40825 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
40826 else
40827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40828 for as_dir in $PATH
40829 do
40830 IFS=$as_save_IFS
40831 test -z "$as_dir" && as_dir=.
40832 for ac_exec_ext in '' $ac_executable_extensions; do
40833 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40834 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
40835 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40836 break 2
40837 fi
40838 done
40839 done
40840
40841 fi
40842 fi
40843 STRIP=$ac_cv_prog_STRIP
40844 if test -n "$STRIP"; then
40845 echo "$as_me:$LINENO: result: $STRIP" >&5
40846 echo "${ECHO_T}$STRIP" >&6
40847 else
40848 echo "$as_me:$LINENO: result: no" >&5
40849 echo "${ECHO_T}no" >&6
40850 fi
40851
40852 fi
40853 if test -z "$ac_cv_prog_STRIP"; then
40854 ac_ct_STRIP=$STRIP
40855 # Extract the first word of "strip", so it can be a program name with args.
40856 set dummy strip; ac_word=$2
40857 echo "$as_me:$LINENO: checking for $ac_word" >&5
40858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40859 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
40860 echo $ECHO_N "(cached) $ECHO_C" >&6
40861 else
40862 if test -n "$ac_ct_STRIP"; then
40863 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
40864 else
40865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40866 for as_dir in $PATH
40867 do
40868 IFS=$as_save_IFS
40869 test -z "$as_dir" && as_dir=.
40870 for ac_exec_ext in '' $ac_executable_extensions; do
40871 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40872 ac_cv_prog_ac_ct_STRIP="strip"
40873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40874 break 2
40875 fi
40876 done
40877 done
40878
40879 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
40880 fi
40881 fi
40882 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
40883 if test -n "$ac_ct_STRIP"; then
40884 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
40885 echo "${ECHO_T}$ac_ct_STRIP" >&6
40886 else
40887 echo "$as_me:$LINENO: result: no" >&5
40888 echo "${ECHO_T}no" >&6
40889 fi
40890
40891 STRIP=$ac_ct_STRIP
40892 else
40893 STRIP="$ac_cv_prog_STRIP"
40894 fi
40895
40896 if test -n "$ac_tool_prefix"; then
40897 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
40898 set dummy ${ac_tool_prefix}nm; ac_word=$2
40899 echo "$as_me:$LINENO: checking for $ac_word" >&5
40900 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40901 if test "${ac_cv_prog_NM+set}" = set; then
40902 echo $ECHO_N "(cached) $ECHO_C" >&6
40903 else
40904 if test -n "$NM"; then
40905 ac_cv_prog_NM="$NM" # Let the user override the test.
40906 else
40907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40908 for as_dir in $PATH
40909 do
40910 IFS=$as_save_IFS
40911 test -z "$as_dir" && as_dir=.
40912 for ac_exec_ext in '' $ac_executable_extensions; do
40913 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40914 ac_cv_prog_NM="${ac_tool_prefix}nm"
40915 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40916 break 2
40917 fi
40918 done
40919 done
40920
40921 fi
40922 fi
40923 NM=$ac_cv_prog_NM
40924 if test -n "$NM"; then
40925 echo "$as_me:$LINENO: result: $NM" >&5
40926 echo "${ECHO_T}$NM" >&6
40927 else
40928 echo "$as_me:$LINENO: result: no" >&5
40929 echo "${ECHO_T}no" >&6
40930 fi
40931
40932 fi
40933 if test -z "$ac_cv_prog_NM"; then
40934 ac_ct_NM=$NM
40935 # Extract the first word of "nm", so it can be a program name with args.
40936 set dummy nm; ac_word=$2
40937 echo "$as_me:$LINENO: checking for $ac_word" >&5
40938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40939 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
40940 echo $ECHO_N "(cached) $ECHO_C" >&6
40941 else
40942 if test -n "$ac_ct_NM"; then
40943 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
40944 else
40945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40946 for as_dir in $PATH
40947 do
40948 IFS=$as_save_IFS
40949 test -z "$as_dir" && as_dir=.
40950 for ac_exec_ext in '' $ac_executable_extensions; do
40951 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40952 ac_cv_prog_ac_ct_NM="nm"
40953 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40954 break 2
40955 fi
40956 done
40957 done
40958
40959 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
40960 fi
40961 fi
40962 ac_ct_NM=$ac_cv_prog_ac_ct_NM
40963 if test -n "$ac_ct_NM"; then
40964 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
40965 echo "${ECHO_T}$ac_ct_NM" >&6
40966 else
40967 echo "$as_me:$LINENO: result: no" >&5
40968 echo "${ECHO_T}no" >&6
40969 fi
40970
40971 NM=$ac_ct_NM
40972 else
40973 NM="$ac_cv_prog_NM"
40974 fi
40975
40976
40977 case ${BAKEFILE_HOST} in
40978 *-hp-hpux* )
40979 INSTALL_DIR="mkdir -p"
40980 ;;
40981 *) INSTALL_DIR="$INSTALL -d"
40982 ;;
40983 esac
40984
40985
40986 LDFLAGS_GUI=
40987 case ${BAKEFILE_HOST} in
40988 *-*-cygwin* | *-*-mingw32* )
40989 LDFLAGS_GUI="-mwindows"
40990 esac
40991
40992
40993 fi
40994
40995 echo "$as_me:$LINENO: checking if make is GNU make" >&5
40996 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
40997 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
40998 echo $ECHO_N "(cached) $ECHO_C" >&6
40999 else
41000
41001 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
41002 egrep -s GNU > /dev/null); then
41003 bakefile_cv_prog_makeisgnu="yes"
41004 else
41005 bakefile_cv_prog_makeisgnu="no"
41006 fi
41007
41008 fi
41009 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
41010 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
41011
41012 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
41013 IF_GNU_MAKE=""
41014 else
41015 IF_GNU_MAKE="#"
41016 fi
41017
41018
41019
41020 PLATFORM_UNIX=0
41021 PLATFORM_WIN32=0
41022 PLATFORM_MSDOS=0
41023 PLATFORM_MAC=0
41024 PLATFORM_MACOS=0
41025 PLATFORM_MACOSX=0
41026 PLATFORM_OS2=0
41027 PLATFORM_BEOS=0
41028
41029 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
41030 case "${BAKEFILE_HOST}" in
41031 *-*-cygwin* | *-*-mingw32* )
41032 PLATFORM_WIN32=1
41033 ;;
41034 *-pc-msdosdjgpp )
41035 PLATFORM_MSDOS=1
41036 ;;
41037 *-pc-os2_emx | *-pc-os2-emx )
41038 PLATFORM_OS2=1
41039 ;;
41040 powerpc-*-darwin* )
41041 PLATFORM_MAC=1
41042 PLATFORM_MACOSX=1
41043 ;;
41044 *-*-beos* )
41045 PLATFORM_BEOS=1
41046 ;;
41047 powerpc-apple-macos* )
41048 PLATFORM_MAC=1
41049 PLATFORM_MACOS=1
41050 ;;
41051 * )
41052 PLATFORM_UNIX=1
41053 ;;
41054 esac
41055 else
41056 case "$BAKEFILE_FORCE_PLATFORM" in
41057 win32 )
41058 PLATFORM_WIN32=1
41059 ;;
41060 msdos )
41061 PLATFORM_MSDOS=1
41062 ;;
41063 os2 )
41064 PLATFORM_OS2=1
41065 ;;
41066 darwin )
41067 PLATFORM_MAC=1
41068 PLATFORM_MACOSX=1
41069 ;;
41070 unix )
41071 PLATFORM_UNIX=1
41072 ;;
41073 beos )
41074 PLATFORM_BEOS=1
41075 ;;
41076 * )
41077 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
41078 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
41079 { (exit 1); exit 1; }; }
41080 ;;
41081 esac
41082 fi
41083
41084
41085
41086
41087
41088
41089
41090
41091
41092
41093
41094 # Check whether --enable-omf or --disable-omf was given.
41095 if test "${enable_omf+set}" = set; then
41096 enableval="$enable_omf"
41097 bk_os2_use_omf="$enableval"
41098 fi;
41099
41100 case "${BAKEFILE_HOST}" in
41101 *-*-darwin* )
41102 CFLAGS="$CFLAGS -fno-common"
41103 CXXFLAGS="$CXXFLAGS -fno-common"
41104 ;;
41105
41106 *-pc-os2_emx | *-pc-os2-emx )
41107 if test "x$bk_os2_use_omf" = "xyes" ; then
41108 AR=emxomfar
41109 RANLIB=:
41110 LDFLAGS="-Zomf $LDFLAGS"
41111 CFLAGS="-Zomf $CFLAGS"
41112 CXXFLAGS="-Zomf $CXXFLAGS"
41113 OS2_LIBEXT="lib"
41114 else
41115 OS2_LIBEXT="a"
41116 fi
41117 ;;
41118
41119 i*86-*-beos* )
41120 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
41121 ;;
41122 esac
41123
41124
41125 SO_SUFFIX="so"
41126 SO_SUFFIX_MODULE="so"
41127 EXEEXT=""
41128 LIBPREFIX="lib"
41129 LIBEXT=".a"
41130 DLLPREFIX="lib"
41131 DLLPREFIX_MODULE=""
41132 DLLIMP_SUFFIX=""
41133
41134 case "${BAKEFILE_HOST}" in
41135 *-hp-hpux* )
41136 SO_SUFFIX="sl"
41137 SO_SUFFIX_MODULE="sl"
41138 ;;
41139 *-*-aix* )
41140 SO_SUFFIX="a"
41141 SO_SUFFIX_MODULE="a"
41142 ;;
41143 *-*-cygwin* | *-*-mingw32* )
41144 SO_SUFFIX="dll"
41145 SO_SUFFIX_MODULE="dll"
41146 DLLIMP_SUFFIX="dll.a"
41147 EXEEXT=".exe"
41148 DLLPREFIX=""
41149 ;;
41150 *-pc-msdosdjgpp )
41151 EXEEXT=".exe"
41152 DLLPREFIX=""
41153 ;;
41154 *-pc-os2_emx | *-pc-os2-emx )
41155 SO_SUFFIX="dll"
41156 SO_SUFFIX_MODULE="dll"
41157 DLLIMP_SUFFIX=$OS2_LIBEXT
41158 EXEEXT=".exe"
41159 DLLPREFIX=""
41160 LIBPREFIX=""
41161 LIBEXT=".$OS2_LIBEXT"
41162 ;;
41163 powerpc-*-darwin* )
41164 SO_SUFFIX="dylib"
41165 SO_SUFFIX_MODULE="bundle"
41166 ;;
41167 esac
41168
41169 if test "x$DLLIMP_SUFFIX" = "x" ; then
41170 DLLIMP_SUFFIX="$SO_SUFFIX"
41171 fi
41172
41173
41174
41175
41176
41177
41178
41179
41180
41181
41182
41183 PIC_FLAG=""
41184 if test "x$GCC" = "xyes"; then
41185 PIC_FLAG="-fPIC"
41186 fi
41187
41188 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
41189 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
41190
41191 case "${BAKEFILE_HOST}" in
41192 *-hp-hpux* )
41193 if test "x$GCC" != "xyes"; then
41194 LDFLAGS="$LDFLAGS -L/usr/lib"
41195
41196 SHARED_LD_CC="${CC} -b -o"
41197 SHARED_LD_CXX="${CXX} -b -o"
41198 PIC_FLAG="+Z"
41199 fi
41200 ;;
41201
41202 *-*-linux* )
41203 if test "x$GCC" != "xyes"; then
41204 echo "$as_me:$LINENO: checking for Intel compiler" >&5
41205 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
41206 if test "${bakefile_cv_prog_icc+set}" = set; then
41207 echo $ECHO_N "(cached) $ECHO_C" >&6
41208 else
41209
41210 cat >conftest.$ac_ext <<_ACEOF
41211 /* confdefs.h. */
41212 _ACEOF
41213 cat confdefs.h >>conftest.$ac_ext
41214 cat >>conftest.$ac_ext <<_ACEOF
41215 /* end confdefs.h. */
41216
41217 int
41218 main ()
41219 {
41220
41221 #ifndef __INTEL_COMPILER
41222 #error Not icc
41223 #endif
41224
41225 ;
41226 return 0;
41227 }
41228 _ACEOF
41229 rm -f conftest.$ac_objext
41230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41231 (eval $ac_compile) 2>conftest.er1
41232 ac_status=$?
41233 grep -v '^ *+' conftest.er1 >conftest.err
41234 rm -f conftest.er1
41235 cat conftest.err >&5
41236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41237 (exit $ac_status); } &&
41238 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41240 (eval $ac_try) 2>&5
41241 ac_status=$?
41242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41243 (exit $ac_status); }; } &&
41244 { ac_try='test -s conftest.$ac_objext'
41245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41246 (eval $ac_try) 2>&5
41247 ac_status=$?
41248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41249 (exit $ac_status); }; }; then
41250 bakefile_cv_prog_icc=yes
41251 else
41252 echo "$as_me: failed program was:" >&5
41253 sed 's/^/| /' conftest.$ac_ext >&5
41254
41255 bakefile_cv_prog_icc=no
41256
41257 fi
41258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41259
41260 fi
41261 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
41262 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
41263 if test "$bakefile_cv_prog_icc" = "yes"; then
41264 PIC_FLAG="-KPIC"
41265 fi
41266 fi
41267 ;;
41268
41269 *-*-solaris2* )
41270 if test "x$GCC" != xyes ; then
41271 SHARED_LD_CC="${CC} -G -o"
41272 SHARED_LD_CXX="${CXX} -G -o"
41273 PIC_FLAG="-KPIC"
41274 fi
41275 ;;
41276
41277 *-*-darwin* )
41278
41279 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
41280 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
41281 if test "${wx_cv_gcc31+set}" = set; then
41282 echo $ECHO_N "(cached) $ECHO_C" >&6
41283 else
41284
41285 cat >conftest.$ac_ext <<_ACEOF
41286 /* confdefs.h. */
41287 _ACEOF
41288 cat confdefs.h >>conftest.$ac_ext
41289 cat >>conftest.$ac_ext <<_ACEOF
41290 /* end confdefs.h. */
41291
41292 int
41293 main ()
41294 {
41295
41296 #if (__GNUC__ < 3) || \
41297 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
41298 #error old gcc
41299 #endif
41300
41301 ;
41302 return 0;
41303 }
41304 _ACEOF
41305 rm -f conftest.$ac_objext
41306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41307 (eval $ac_compile) 2>conftest.er1
41308 ac_status=$?
41309 grep -v '^ *+' conftest.er1 >conftest.err
41310 rm -f conftest.er1
41311 cat conftest.err >&5
41312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41313 (exit $ac_status); } &&
41314 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41316 (eval $ac_try) 2>&5
41317 ac_status=$?
41318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41319 (exit $ac_status); }; } &&
41320 { ac_try='test -s conftest.$ac_objext'
41321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41322 (eval $ac_try) 2>&5
41323 ac_status=$?
41324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41325 (exit $ac_status); }; }; then
41326
41327 wx_cv_gcc31=yes
41328
41329 else
41330 echo "$as_me: failed program was:" >&5
41331 sed 's/^/| /' conftest.$ac_ext >&5
41332
41333
41334 wx_cv_gcc31=no
41335
41336
41337 fi
41338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41339
41340 fi
41341 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
41342 echo "${ECHO_T}$wx_cv_gcc31" >&6
41343 if test "$wx_cv_gcc31" = "no"; then
41344
41345 D='$'
41346 cat <<EOF >shared-ld-sh
41347 #!/bin/sh
41348 #-----------------------------------------------------------------------------
41349 #-- Name: distrib/mac/shared-ld-sh
41350 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
41351 #-- Author: Gilles Depeyrot
41352 #-- Copyright: (c) 2002 Gilles Depeyrot
41353 #-- Licence: any use permitted
41354 #-----------------------------------------------------------------------------
41355
41356 verbose=0
41357 args=""
41358 objects=""
41359 linking_flag="-dynamiclib"
41360
41361 while test ${D}# -gt 0; do
41362 case ${D}1 in
41363
41364 -v)
41365 verbose=1
41366 ;;
41367
41368 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
41369 # collect these options and values
41370 args="${D}{args} ${D}1 ${D}2"
41371 shift
41372 ;;
41373
41374 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
41375 # collect these options
41376 args="${D}{args} ${D}1"
41377 ;;
41378
41379 -dynamiclib|-bundle)
41380 linking_flag="${D}1"
41381 ;;
41382
41383 -*)
41384 echo "shared-ld: unhandled option '${D}1'"
41385 exit 1
41386 ;;
41387
41388 *.o | *.a | *.dylib)
41389 # collect object files
41390 objects="${D}{objects} ${D}1"
41391 ;;
41392
41393 *)
41394 echo "shared-ld: unhandled argument '${D}1'"
41395 exit 1
41396 ;;
41397
41398 esac
41399 shift
41400 done
41401
41402 #
41403 # Link one module containing all the others
41404 #
41405 if test ${D}{verbose} = 1; then
41406 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
41407 fi
41408 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
41409 status=${D}?
41410 if test ${D}{status} != 0; then
41411 exit ${D}{status}
41412 fi
41413
41414 #
41415 # Link the shared library from the single module created
41416 #
41417 if test ${D}{verbose} = 1; then
41418 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
41419 fi
41420 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
41421 status=${D}?
41422 if test ${D}{status} != 0; then
41423 exit ${D}{status}
41424 fi
41425
41426 #
41427 # Remove intermediate module
41428 #
41429 rm -f master.${D}${D}.o
41430
41431 exit 0
41432 EOF
41433
41434 chmod +x shared-ld-sh
41435
41436 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
41437 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
41438 SHARED_LD_CXX="$SHARED_LD_CC"
41439 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
41440 else
41441 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
41442 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
41443 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
41444 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
41445 fi
41446
41447 PIC_FLAG="-dynamic -fPIC"
41448 ;;
41449
41450 *-*-aix* )
41451 if test "x$GCC" != "xyes"; then
41452 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
41453 set dummy makeC++SharedLib; ac_word=$2
41454 echo "$as_me:$LINENO: checking for $ac_word" >&5
41455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41456 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
41457 echo $ECHO_N "(cached) $ECHO_C" >&6
41458 else
41459 if test -n "$AIX_CXX_LD"; then
41460 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
41461 else
41462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41463 for as_dir in $PATH
41464 do
41465 IFS=$as_save_IFS
41466 test -z "$as_dir" && as_dir=.
41467 for ac_exec_ext in '' $ac_executable_extensions; do
41468 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41469 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
41470 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41471 break 2
41472 fi
41473 done
41474 done
41475
41476 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
41477 fi
41478 fi
41479 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
41480 if test -n "$AIX_CXX_LD"; then
41481 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
41482 echo "${ECHO_T}$AIX_CXX_LD" >&6
41483 else
41484 echo "$as_me:$LINENO: result: no" >&5
41485 echo "${ECHO_T}no" >&6
41486 fi
41487
41488 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
41489 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
41490 fi
41491 ;;
41492
41493 *-*-beos* )
41494 SHARED_LD_CC="${LD} -nostart -o"
41495 SHARED_LD_CXX="${LD} -nostart -o"
41496 ;;
41497
41498 *-*-irix* )
41499 if test "x$GCC" != "xyes"; then
41500 PIC_FLAG="-KPIC"
41501 fi
41502 ;;
41503
41504 *-*-cygwin* | *-*-mingw32* )
41505 PIC_FLAG=""
41506 SHARED_LD_CC="\$(CC) -shared -o"
41507 SHARED_LD_CXX="\$(CXX) -shared -o"
41508 ;;
41509
41510 *-pc-os2_emx | *-pc-os2-emx )
41511 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41512 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41513 PIC_FLAG=""
41514
41515 D='$'
41516 cat <<EOF >dllar.sh
41517 #!/bin/sh
41518 #
41519 # dllar - a tool to build both a .dll and an .a file
41520 # from a set of object (.o) files for EMX/OS2.
41521 #
41522 # Written by Andrew Zabolotny, bit@freya.etu.ru
41523 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
41524 #
41525 # This script will accept a set of files on the command line.
41526 # All the public symbols from the .o files will be exported into
41527 # a .DEF file, then linker will be run (through gcc) against them to
41528 # build a shared library consisting of all given .o files. All libraries
41529 # (.a) will be first decompressed into component .o files then act as
41530 # described above. You can optionally give a description (-d "description")
41531 # which will be put into .DLL. To see the list of accepted options (as well
41532 # as command-line format) simply run this program without options. The .DLL
41533 # is built to be imported by name (there is no guarantee that new versions
41534 # of the library you build will have same ordinals for same symbols).
41535 #
41536 # dllar is free software; you can redistribute it and/or modify
41537 # it under the terms of the GNU General Public License as published by
41538 # the Free Software Foundation; either version 2, or (at your option)
41539 # any later version.
41540 #
41541 # dllar is distributed in the hope that it will be useful,
41542 # but WITHOUT ANY WARRANTY; without even the implied warranty of
41543 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
41544 # GNU General Public License for more details.
41545 #
41546 # You should have received a copy of the GNU General Public License
41547 # along with dllar; see the file COPYING. If not, write to the Free
41548 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
41549 # 02111-1307, USA.
41550
41551 # To successfuly run this program you will need:
41552 # - Current drive should have LFN support (HPFS, ext2, network, etc)
41553 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
41554 # - gcc
41555 # (used to build the .dll)
41556 # - emxexp
41557 # (used to create .def file from .o files)
41558 # - emximp
41559 # (used to create .a file from .def file)
41560 # - GNU text utilites (cat, sort, uniq)
41561 # used to process emxexp output
41562 # - GNU file utilities (mv, rm)
41563 # - GNU sed
41564 # - lxlite (optional, see flag below)
41565 # (used for general .dll cleanup)
41566 #
41567
41568 flag_USE_LXLITE=1;
41569
41570 #
41571 # helper functions
41572 # basnam, variant of basename, which does _not_ remove the path, _iff_
41573 # second argument (suffix to remove) is given
41574 basnam(){
41575 case ${D}# in
41576 1)
41577 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
41578 ;;
41579 2)
41580 echo ${D}1 | sed 's/'${D}2'${D}//'
41581 ;;
41582 *)
41583 echo "error in basnam ${D}*"
41584 exit 8
41585 ;;
41586 esac
41587 }
41588
41589 # Cleanup temporary files and output
41590 CleanUp() {
41591 cd ${D}curDir
41592 for i in ${D}inputFiles ; do
41593 case ${D}i in
41594 *!)
41595 rm -rf \`basnam ${D}i !\`
41596 ;;
41597 *)
41598 ;;
41599 esac
41600 done
41601
41602 # Kill result in case of failure as there is just to many stupid make/nmake
41603 # things out there which doesn't do this.
41604 if [ ${D}# -eq 0 ]; then
41605 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
41606 fi
41607 }
41608
41609 # Print usage and exit script with rc=1.
41610 PrintHelp() {
41611 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
41612 echo ' [-name-mangler-script script.sh]'
41613 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
41614 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
41615 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
41616 echo ' [*.o] [*.a]'
41617 echo '*> "output_file" should have no extension.'
41618 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
41619 echo ' The import library name is derived from this and is set to "name".a,'
41620 echo ' unless overridden by -import'
41621 echo '*> "importlib_name" should have no extension.'
41622 echo ' If it has the .o, or .a extension, it is automatically removed.'
41623 echo ' This name is used as the import library name and may be longer and'
41624 echo ' more descriptive than the DLL name which has to follow the old '
41625 echo ' 8.3 convention of FAT.'
41626 echo '*> "script.sh may be given to override the output_file name by a'
41627 echo ' different name. It is mainly useful if the regular make process'
41628 echo ' of some package does not take into account OS/2 restriction of'
41629 echo ' DLL name lengths. It takes the importlib name as input and is'
41630 echo ' supposed to procude a shorter name as output. The script should'
41631 echo ' expect to get importlib_name without extension and should produce'
41632 echo ' a (max.) 8 letter name without extension.'
41633 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
41634 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
41635 echo ' These flags will be put at the start of GCC command line.'
41636 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
41637 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
41638 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
41639 echo ' If the last character of a symbol is "*", all symbols beginning'
41640 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
41641 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
41642 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
41643 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
41644 echo ' C runtime DLLs.'
41645 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
41646 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
41647 echo ' unchanged to GCC at the end of command line.'
41648 echo '*> If you create a DLL from a library and you do not specify -o,'
41649 echo ' the basename for DLL and import library will be set to library name,'
41650 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
41651 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
41652 echo ' library will be renamed into gcc_s.a.'
41653 echo '--------'
41654 echo 'Example:'
41655 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
41656 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
41657 CleanUp
41658 exit 1
41659 }
41660
41661 # Execute a command.
41662 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
41663 # @Uses Whatever CleanUp() uses.
41664 doCommand() {
41665 echo "${D}*"
41666 eval ${D}*
41667 rcCmd=${D}?
41668
41669 if [ ${D}rcCmd -ne 0 ]; then
41670 echo "command failed, exit code="${D}rcCmd
41671 CleanUp
41672 exit ${D}rcCmd
41673 fi
41674 }
41675
41676 # main routine
41677 # setup globals
41678 cmdLine=${D}*
41679 outFile=""
41680 outimpFile=""
41681 inputFiles=""
41682 renameScript=""
41683 description=""
41684 CC=gcc.exe
41685 CFLAGS="-s -Zcrtdll"
41686 EXTRA_CFLAGS=""
41687 EXPORT_BY_ORDINALS=0
41688 exclude_symbols=""
41689 library_flags=""
41690 curDir=\`pwd\`
41691 curDirS=curDir
41692 case ${D}curDirS in
41693 */)
41694 ;;
41695 *)
41696 curDirS=${D}{curDirS}"/"
41697 ;;
41698 esac
41699 # Parse commandline
41700 libsToLink=0
41701 omfLinking=0
41702 while [ ${D}1 ]; do
41703 case ${D}1 in
41704 -ord*)
41705 EXPORT_BY_ORDINALS=1;
41706 ;;
41707 -o*)
41708 shift
41709 outFile=${D}1
41710 ;;
41711 -i*)
41712 shift
41713 outimpFile=${D}1
41714 ;;
41715 -name-mangler-script)
41716 shift
41717 renameScript=${D}1
41718 ;;
41719 -d*)
41720 shift
41721 description=${D}1
41722 ;;
41723 -f*)
41724 shift
41725 CFLAGS=${D}1
41726 ;;
41727 -c*)
41728 shift
41729 CC=${D}1
41730 ;;
41731 -h*)
41732 PrintHelp
41733 ;;
41734 -ex*)
41735 shift
41736 exclude_symbols=${D}{exclude_symbols}${D}1" "
41737 ;;
41738 -libf*)
41739 shift
41740 library_flags=${D}{library_flags}${D}1" "
41741 ;;
41742 -nocrt*)
41743 CFLAGS="-s"
41744 ;;
41745 -nolxl*)
41746 flag_USE_LXLITE=0
41747 ;;
41748 -* | /*)
41749 case ${D}1 in
41750 -L* | -l*)
41751 libsToLink=1
41752 ;;
41753 -Zomf)
41754 omfLinking=1
41755 ;;
41756 *)
41757 ;;
41758 esac
41759 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
41760 ;;
41761 *.dll)
41762 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
41763 if [ ${D}omfLinking -eq 1 ]; then
41764 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
41765 else
41766 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
41767 fi
41768 ;;
41769 *)
41770 found=0;
41771 if [ ${D}libsToLink -ne 0 ]; then
41772 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
41773 else
41774 for file in ${D}1 ; do
41775 if [ -f ${D}file ]; then
41776 inputFiles="${D}{inputFiles} ${D}file"
41777 found=1
41778 fi
41779 done
41780 if [ ${D}found -eq 0 ]; then
41781 echo "ERROR: No file(s) found: "${D}1
41782 exit 8
41783 fi
41784 fi
41785 ;;
41786 esac
41787 shift
41788 done # iterate cmdline words
41789
41790 #
41791 if [ -z "${D}inputFiles" ]; then
41792 echo "dllar: no input files"
41793 PrintHelp
41794 fi
41795
41796 # Now extract all .o files from .a files
41797 newInputFiles=""
41798 for file in ${D}inputFiles ; do
41799 case ${D}file in
41800 *.a | *.lib)
41801 case ${D}file in
41802 *.a)
41803 suffix=".a"
41804 AR="ar"
41805 ;;
41806 *.lib)
41807 suffix=".lib"
41808 AR="emxomfar"
41809 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
41810 ;;
41811 *)
41812 ;;
41813 esac
41814 dirname=\`basnam ${D}file ${D}suffix\`"_%"
41815 mkdir ${D}dirname
41816 if [ ${D}? -ne 0 ]; then
41817 echo "Failed to create subdirectory ./${D}dirname"
41818 CleanUp
41819 exit 8;
41820 fi
41821 # Append '!' to indicate archive
41822 newInputFiles="${D}newInputFiles ${D}{dirname}!"
41823 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
41824 cd ${D}curDir
41825 found=0;
41826 for subfile in ${D}dirname/*.o* ; do
41827 if [ -f ${D}subfile ]; then
41828 found=1
41829 if [ -s ${D}subfile ]; then
41830 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
41831 newInputFiles="${D}newInputFiles ${D}subfile"
41832 fi
41833 fi
41834 done
41835 if [ ${D}found -eq 0 ]; then
41836 echo "WARNING: there are no files in archive \\'${D}file\\'"
41837 fi
41838 ;;
41839 *)
41840 newInputFiles="${D}{newInputFiles} ${D}file"
41841 ;;
41842 esac
41843 done
41844 inputFiles="${D}newInputFiles"
41845
41846 # Output filename(s).
41847 do_backup=0;
41848 if [ -z ${D}outFile ]; then
41849 do_backup=1;
41850 set outFile ${D}inputFiles; outFile=${D}2
41851 fi
41852
41853 # If it is an archive, remove the '!' and the '_%' suffixes
41854 case ${D}outFile in
41855 *_%!)
41856 outFile=\`basnam ${D}outFile _%!\`
41857 ;;
41858 *)
41859 ;;
41860 esac
41861 case ${D}outFile in
41862 *.dll)
41863 outFile=\`basnam ${D}outFile .dll\`
41864 ;;
41865 *.DLL)
41866 outFile=\`basnam ${D}outFile .DLL\`
41867 ;;
41868 *.o)
41869 outFile=\`basnam ${D}outFile .o\`
41870 ;;
41871 *.obj)
41872 outFile=\`basnam ${D}outFile .obj\`
41873 ;;
41874 *.a)
41875 outFile=\`basnam ${D}outFile .a\`
41876 ;;
41877 *.lib)
41878 outFile=\`basnam ${D}outFile .lib\`
41879 ;;
41880 *)
41881 ;;
41882 esac
41883 case ${D}outimpFile in
41884 *.a)
41885 outimpFile=\`basnam ${D}outimpFile .a\`
41886 ;;
41887 *.lib)
41888 outimpFile=\`basnam ${D}outimpFile .lib\`
41889 ;;
41890 *)
41891 ;;
41892 esac
41893 if [ -z ${D}outimpFile ]; then
41894 outimpFile=${D}outFile
41895 fi
41896 defFile="${D}{outFile}.def"
41897 arcFile="${D}{outimpFile}.a"
41898 arcFile2="${D}{outimpFile}.lib"
41899
41900 #create ${D}dllFile as something matching 8.3 restrictions,
41901 if [ -z ${D}renameScript ] ; then
41902 dllFile="${D}outFile"
41903 else
41904 dllFile=\`${D}renameScript ${D}outimpFile\`
41905 fi
41906
41907 if [ ${D}do_backup -ne 0 ] ; then
41908 if [ -f ${D}arcFile ] ; then
41909 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
41910 fi
41911 if [ -f ${D}arcFile2 ] ; then
41912 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
41913 fi
41914 fi
41915
41916 # Extract public symbols from all the object files.
41917 tmpdefFile=${D}{defFile}_%
41918 rm -f ${D}tmpdefFile
41919 for file in ${D}inputFiles ; do
41920 case ${D}file in
41921 *!)
41922 ;;
41923 *)
41924 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
41925 ;;
41926 esac
41927 done
41928
41929 # Create the def file.
41930 rm -f ${D}defFile
41931 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
41932 dllFile="${D}{dllFile}.dll"
41933 if [ ! -z ${D}description ]; then
41934 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
41935 fi
41936 echo "EXPORTS" >> ${D}defFile
41937
41938 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
41939 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
41940
41941 # Checks if the export is ok or not.
41942 for word in ${D}exclude_symbols; do
41943 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
41944 mv ${D}{tmpdefFile}% ${D}tmpdefFile
41945 done
41946
41947
41948 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
41949 sed "=" < ${D}tmpdefFile | \\
41950 sed '
41951 N
41952 : loop
41953 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
41954 t loop
41955 ' > ${D}{tmpdefFile}%
41956 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
41957 else
41958 rm -f ${D}{tmpdefFile}%
41959 fi
41960 cat ${D}tmpdefFile >> ${D}defFile
41961 rm -f ${D}tmpdefFile
41962
41963 # Do linking, create implib, and apply lxlite.
41964 gccCmdl="";
41965 for file in ${D}inputFiles ; do
41966 case ${D}file in
41967 *!)
41968 ;;
41969 *)
41970 gccCmdl="${D}gccCmdl ${D}file"
41971 ;;
41972 esac
41973 done
41974 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
41975 touch "${D}{outFile}.dll"
41976
41977 doCommand "emximp -o ${D}arcFile ${D}defFile"
41978 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
41979 add_flags="";
41980 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
41981 add_flags="-ynd"
41982 fi
41983 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
41984 fi
41985 doCommand "emxomf -s -l ${D}arcFile"
41986
41987 # Successful exit.
41988 CleanUp 1
41989 exit 0
41990 EOF
41991
41992 chmod +x dllar.sh
41993 ;;
41994
41995 powerpc-apple-macos* | \
41996 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
41997 *-*-sunos4* | \
41998 *-*-osf* | \
41999 *-*-dgux5* | \
42000 *-*-sysv5* )
42001 ;;
42002
42003 *)
42004 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
42005 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
42006 { (exit 1); exit 1; }; }
42007 esac
42008
42009 if test "x$PIC_FLAG" != "x" ; then
42010 PIC_FLAG="$PIC_FLAG -DPIC"
42011 fi
42012
42013 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
42014 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
42015 fi
42016 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
42017 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
42018 fi
42019
42020
42021
42022
42023
42024
42025
42026
42027 USE_SOVERSION=0
42028 USE_SOVERLINUX=0
42029 USE_SOVERSOLARIS=0
42030 USE_SOSYMLINKS=0
42031 USE_MACVERSION=0
42032 SONAME_FLAG=
42033
42034 case "${BAKEFILE_HOST}" in
42035 *-*-linux* | *-*-freebsd* )
42036 SONAME_FLAG="-Wl,-soname,"
42037 USE_SOVERSION=1
42038 USE_SOVERLINUX=1
42039 USE_SOSYMLINKS=1
42040 ;;
42041
42042 *-*-solaris2* )
42043 SONAME_FLAG="-h "
42044 USE_SOVERSION=1
42045 USE_SOVERSOLARIS=1
42046 USE_SOSYMLINKS=1
42047 ;;
42048
42049 *-*-darwin* )
42050 USE_MACVERSION=1
42051 USE_SOVERSION=1
42052 USE_SOSYMLINKS=1
42053 ;;
42054 esac
42055
42056
42057
42058
42059
42060
42061
42062
42063
42064 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
42065 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
42066 DEPS_TRACKING=0
42067
42068 if test "x$GCC" = "xyes"; then
42069 DEPSMODE=gcc
42070 DEPS_TRACKING=1
42071 case "${BAKEFILE_HOST}" in
42072 powerpc-*-darwin* )
42073 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
42074 ;;
42075 * )
42076 DEPSFLAG_GCC="-MMD"
42077 ;;
42078 esac
42079 echo "$as_me:$LINENO: result: gcc" >&5
42080 echo "${ECHO_T}gcc" >&6
42081 elif test "x$MWCC" = "xyes"; then
42082 DEPSMODE=mwcc
42083 DEPS_TRACKING=1
42084 DEPSFLAG_MWCC="-MM"
42085 echo "$as_me:$LINENO: result: mwcc" >&5
42086 echo "${ECHO_T}mwcc" >&6
42087 else
42088 echo "$as_me:$LINENO: result: none" >&5
42089 echo "${ECHO_T}none" >&6
42090 fi
42091
42092 if test $DEPS_TRACKING = 1 ; then
42093
42094 D='$'
42095 cat <<EOF >bk-deps
42096 #!/bin/sh
42097
42098 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
42099 # script. It is used to track C/C++ files dependencies in portable way.
42100 #
42101 # Permission is given to use this file in any way.
42102
42103 DEPSMODE=${DEPSMODE}
42104 DEPSDIR=.deps
42105 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
42106 DEPSFLAG_MWCC="${DEPSFLAG_MWCC}"
42107
42108 mkdir -p ${D}DEPSDIR
42109
42110 if test ${D}DEPSMODE = gcc ; then
42111 ${D}* ${D}{DEPSFLAG_GCC}
42112 status=${D}?
42113 if test ${D}{status} != 0 ; then
42114 exit ${D}{status}
42115 fi
42116 # move created file to the location we want it in:
42117 while test ${D}# -gt 0; do
42118 case "${D}1" in
42119 -o )
42120 shift
42121 objfile=${D}1
42122 ;;
42123 -* )
42124 ;;
42125 * )
42126 srcfile=${D}1
42127 ;;
42128 esac
42129 shift
42130 done
42131 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
42132 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
42133 if test -f ${D}depfile ; then
42134 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
42135 rm -f ${D}depfile
42136 else
42137 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
42138 if test -f ${D}depfile ; then
42139 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
42140 rm -f ${D}depfile
42141 fi
42142 fi
42143 exit 0
42144 elif test ${D}DEPSMODE = mwcc ; then
42145 ${D}*
42146 status=${D}?
42147 if test ${D}{status} != 0 ; then
42148 exit ${D}{status}
42149 fi
42150 # Run mwcc again with -MM and redirect into the dep file we want
42151 # NOTE: We can't use shift here because we need ${D}* to be valid
42152 prevarg=
42153 for arg in ${D}* ; do
42154 if test "${D}prevarg" = "-o"; then
42155 objfile=${D}arg
42156 else
42157 case "${D}arg" in
42158 -* )
42159 ;;
42160 * )
42161 srcfile=${D}arg
42162 ;;
42163 esac
42164 fi
42165 prevarg="${D}arg"
42166 done
42167 ${D}* ${D}DEPSFLAG_MWCC >${D}{DEPSDIR}/${D}{objfile}.d
42168 exit 0
42169 else
42170 ${D}*
42171 exit ${D}?
42172 fi
42173 EOF
42174
42175 chmod +x bk-deps
42176 fi
42177
42178
42179
42180
42181 RESCOMP=
42182 SETFILE=
42183
42184 case ${BAKEFILE_HOST} in
42185 *-*-cygwin* | *-*-mingw32* )
42186 if test "$build" != "$host" ; then
42187 RESCOMP=$host_alias-windres
42188 else
42189 # Extract the first word of "windres", so it can be a program name with args.
42190 set dummy windres; ac_word=$2
42191 echo "$as_me:$LINENO: checking for $ac_word" >&5
42192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42193 if test "${ac_cv_prog_RESCOMP+set}" = set; then
42194 echo $ECHO_N "(cached) $ECHO_C" >&6
42195 else
42196 if test -n "$RESCOMP"; then
42197 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
42198 else
42199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42200 for as_dir in $PATH
42201 do
42202 IFS=$as_save_IFS
42203 test -z "$as_dir" && as_dir=.
42204 for ac_exec_ext in '' $ac_executable_extensions; do
42205 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42206 ac_cv_prog_RESCOMP="windres"
42207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42208 break 2
42209 fi
42210 done
42211 done
42212
42213 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
42214 fi
42215 fi
42216 RESCOMP=$ac_cv_prog_RESCOMP
42217 if test -n "$RESCOMP"; then
42218 echo "$as_me:$LINENO: result: $RESCOMP" >&5
42219 echo "${ECHO_T}$RESCOMP" >&6
42220 else
42221 echo "$as_me:$LINENO: result: no" >&5
42222 echo "${ECHO_T}no" >&6
42223 fi
42224
42225 fi
42226 ;;
42227
42228 *-*-darwin* | powerpc-apple-macos* )
42229 # Extract the first word of "Rez", so it can be a program name with args.
42230 set dummy Rez; ac_word=$2
42231 echo "$as_me:$LINENO: checking for $ac_word" >&5
42232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42233 if test "${ac_cv_prog_RESCOMP+set}" = set; then
42234 echo $ECHO_N "(cached) $ECHO_C" >&6
42235 else
42236 if test -n "$RESCOMP"; then
42237 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
42238 else
42239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42240 for as_dir in $PATH
42241 do
42242 IFS=$as_save_IFS
42243 test -z "$as_dir" && as_dir=.
42244 for ac_exec_ext in '' $ac_executable_extensions; do
42245 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42246 ac_cv_prog_RESCOMP="Rez"
42247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42248 break 2
42249 fi
42250 done
42251 done
42252
42253 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
42254 fi
42255 fi
42256 RESCOMP=$ac_cv_prog_RESCOMP
42257 if test -n "$RESCOMP"; then
42258 echo "$as_me:$LINENO: result: $RESCOMP" >&5
42259 echo "${ECHO_T}$RESCOMP" >&6
42260 else
42261 echo "$as_me:$LINENO: result: no" >&5
42262 echo "${ECHO_T}no" >&6
42263 fi
42264
42265 # Extract the first word of "SetFile", so it can be a program name with args.
42266 set dummy SetFile; ac_word=$2
42267 echo "$as_me:$LINENO: checking for $ac_word" >&5
42268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42269 if test "${ac_cv_prog_SETFILE+set}" = set; then
42270 echo $ECHO_N "(cached) $ECHO_C" >&6
42271 else
42272 if test -n "$SETFILE"; then
42273 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
42274 else
42275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42276 for as_dir in $PATH
42277 do
42278 IFS=$as_save_IFS
42279 test -z "$as_dir" && as_dir=.
42280 for ac_exec_ext in '' $ac_executable_extensions; do
42281 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42282 ac_cv_prog_SETFILE="SetFile"
42283 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42284 break 2
42285 fi
42286 done
42287 done
42288
42289 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
42290 fi
42291 fi
42292 SETFILE=$ac_cv_prog_SETFILE
42293 if test -n "$SETFILE"; then
42294 echo "$as_me:$LINENO: result: $SETFILE" >&5
42295 echo "${ECHO_T}$SETFILE" >&6
42296 else
42297 echo "$as_me:$LINENO: result: no" >&5
42298 echo "${ECHO_T}no" >&6
42299 fi
42300
42301 ;;
42302 esac
42303
42304
42305
42306
42307
42308 BAKEFILE_BAKEFILE_M4_VERSION="0.1.8"
42309
42310
42311 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.1.8"
42312
42313
42314
42315 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
42316 if test "${enable_precomp_headers+set}" = set; then
42317 enableval="$enable_precomp_headers"
42318 bk_use_pch="$enableval"
42319 fi;
42320
42321 GCC_PCH=0
42322
42323 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
42324 if test "x$GCC" = "xyes"; then
42325 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
42326 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
42327 cat >conftest.$ac_ext <<_ACEOF
42328 /* confdefs.h. */
42329 _ACEOF
42330 cat confdefs.h >>conftest.$ac_ext
42331 cat >>conftest.$ac_ext <<_ACEOF
42332 /* end confdefs.h. */
42333
42334 int
42335 main ()
42336 {
42337
42338 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
42339 #error "no pch support"
42340 #endif
42341 #if (__GNUC__ < 3)
42342 #error "no pch support"
42343 #endif
42344 #if (__GNUC__ == 3) && \
42345 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
42346 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
42347 #error "no pch support"
42348 #endif
42349
42350 ;
42351 return 0;
42352 }
42353 _ACEOF
42354 rm -f conftest.$ac_objext
42355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42356 (eval $ac_compile) 2>conftest.er1
42357 ac_status=$?
42358 grep -v '^ *+' conftest.er1 >conftest.err
42359 rm -f conftest.er1
42360 cat conftest.err >&5
42361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42362 (exit $ac_status); } &&
42363 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42365 (eval $ac_try) 2>&5
42366 ac_status=$?
42367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42368 (exit $ac_status); }; } &&
42369 { ac_try='test -s conftest.$ac_objext'
42370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42371 (eval $ac_try) 2>&5
42372 ac_status=$?
42373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42374 (exit $ac_status); }; }; then
42375
42376 echo "$as_me:$LINENO: result: yes" >&5
42377 echo "${ECHO_T}yes" >&6
42378 GCC_PCH=1
42379
42380 else
42381 echo "$as_me: failed program was:" >&5
42382 sed 's/^/| /' conftest.$ac_ext >&5
42383
42384
42385 echo "$as_me:$LINENO: result: no" >&5
42386 echo "${ECHO_T}no" >&6
42387
42388 fi
42389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42390 if test $GCC_PCH = 1 ; then
42391
42392 D='$'
42393 cat <<EOF >bk-make-pch
42394 #!/bin/sh
42395
42396 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
42397 # script. It is used to generated precompiled headers.
42398 #
42399 # Permission is given to use this file in any way.
42400
42401 outfile="${D}{1}"
42402 header="${D}{2}"
42403 shift
42404 shift
42405
42406 compiler=
42407 headerfile=
42408 while test ${D}{#} -gt 0; do
42409 case "${D}{1}" in
42410 -I* )
42411 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
42412 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
42413 headerfile="${D}{incdir}/${D}{header}"
42414 fi
42415 ;;
42416 esac
42417 compiler="${D}{compiler} ${D}{1}"
42418 shift
42419 done
42420
42421 if test "x${D}{headerfile}" = "x" ; then
42422 echo "error: can't find header ${D}{header} in include paths" >2
42423 else
42424 if test -f ${D}{outfile} ; then
42425 rm -f ${D}{outfile}
42426 else
42427 mkdir -p \`dirname ${D}{outfile}\`
42428 fi
42429 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
42430 mkdir -p .deps
42431 # can do this because gcc is >= 3.4:
42432 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
42433 exit ${D}{?}
42434 fi
42435 EOF
42436
42437 chmod +x bk-make-pch
42438 fi
42439 fi
42440 fi
42441
42442
42443
42444 COND_BUILD_DEBUG="#"
42445 if test "x$BUILD" = "xdebug" ; then
42446 COND_BUILD_DEBUG=""
42447 fi
42448
42449 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
42450 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
42451 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
42452 fi
42453
42454 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
42455 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
42456 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
42457 fi
42458
42459 COND_BUILD_DEBUG_UNICODE_0="#"
42460 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
42461 COND_BUILD_DEBUG_UNICODE_0=""
42462 fi
42463
42464 COND_BUILD_DEBUG_UNICODE_1="#"
42465 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
42466 COND_BUILD_DEBUG_UNICODE_1=""
42467 fi
42468
42469 COND_BUILD_RELEASE="#"
42470 if test "x$BUILD" = "xrelease" ; then
42471 COND_BUILD_RELEASE=""
42472 fi
42473
42474 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
42475 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
42476 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
42477 fi
42478
42479 COND_BUILD_RELEASE_UNICODE_0="#"
42480 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
42481 COND_BUILD_RELEASE_UNICODE_0=""
42482 fi
42483
42484 COND_BUILD_RELEASE_UNICODE_1="#"
42485 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
42486 COND_BUILD_RELEASE_UNICODE_1=""
42487 fi
42488
42489 COND_DEBUG_FLAG_1="#"
42490 if test "x$DEBUG_FLAG" = "x1" ; then
42491 COND_DEBUG_FLAG_1=""
42492 fi
42493
42494 COND_DEBUG_INFO_0="#"
42495 if test "x$DEBUG_INFO" = "x0" ; then
42496 COND_DEBUG_INFO_0=""
42497 fi
42498
42499 COND_DEBUG_INFO_1="#"
42500 if test "x$DEBUG_INFO" = "x1" ; then
42501 COND_DEBUG_INFO_1=""
42502 fi
42503
42504 COND_DEPS_TRACKING_0="#"
42505 if test "x$DEPS_TRACKING" = "x0" ; then
42506 COND_DEPS_TRACKING_0=""
42507 fi
42508
42509 COND_DEPS_TRACKING_1="#"
42510 if test "x$DEPS_TRACKING" = "x1" ; then
42511 COND_DEPS_TRACKING_1=""
42512 fi
42513
42514 COND_GCC_PCH_1="#"
42515 if test "x$GCC_PCH" = "x1" ; then
42516 COND_GCC_PCH_1=""
42517 fi
42518
42519 COND_MONOLITHIC_0="#"
42520 if test "x$MONOLITHIC" = "x0" ; then
42521 COND_MONOLITHIC_0=""
42522 fi
42523
42524 COND_MONOLITHIC_0_SHARED_0="#"
42525 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
42526 COND_MONOLITHIC_0_SHARED_0=""
42527 fi
42528
42529 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
42530 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
42531 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
42532 fi
42533
42534 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
42535 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
42536 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
42537 fi
42538
42539 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
42540 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
42541 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
42542 fi
42543
42544 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
42545 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
42546 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
42547 fi
42548
42549 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
42550 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
42551 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
42552 fi
42553
42554 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
42555 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
42556 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
42557 fi
42558
42559 COND_MONOLITHIC_0_SHARED_1="#"
42560 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
42561 COND_MONOLITHIC_0_SHARED_1=""
42562 fi
42563
42564 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
42565 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
42566 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
42567 fi
42568
42569 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
42570 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
42571 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
42572 fi
42573
42574 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
42575 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
42576 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
42577 fi
42578
42579 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
42580 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
42581 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
42582 fi
42583
42584 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
42585 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
42586 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
42587 fi
42588
42589 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
42590 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
42591 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
42592 fi
42593
42594 COND_MONOLITHIC_0_USE_ODBC_1="#"
42595 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
42596 COND_MONOLITHIC_0_USE_ODBC_1=""
42597 fi
42598
42599 COND_MONOLITHIC_1="#"
42600 if test "x$MONOLITHIC" = "x1" ; then
42601 COND_MONOLITHIC_1=""
42602 fi
42603
42604 COND_MONOLITHIC_1_SHARED_0="#"
42605 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
42606 COND_MONOLITHIC_1_SHARED_0=""
42607 fi
42608
42609 COND_MONOLITHIC_1_SHARED_1="#"
42610 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
42611 COND_MONOLITHIC_1_SHARED_1=""
42612 fi
42613
42614 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
42615 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
42616 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
42617 fi
42618
42619 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
42620 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
42621 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
42622 fi
42623
42624 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
42625 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
42626 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
42627 fi
42628
42629 COND_PLATFORM_MACOSX_1="#"
42630 if test "x$PLATFORM_MACOSX" = "x1" ; then
42631 COND_PLATFORM_MACOSX_1=""
42632 fi
42633
42634 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
42635 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
42636 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
42637 fi
42638
42639 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
42640 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
42641 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
42642 fi
42643
42644 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
42645 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
42646 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
42647 fi
42648
42649 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
42650 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
42651 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
42652 fi
42653
42654 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
42655 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
42656 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
42657 fi
42658
42659 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
42660 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42661 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
42662 fi
42663
42664 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
42665 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
42666 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
42667 fi
42668
42669 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
42670 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
42671 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
42672 fi
42673
42674 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
42675 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
42676 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
42677 fi
42678
42679 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
42680 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
42681 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
42682 fi
42683
42684 COND_PLATFORM_MACOS_1="#"
42685 if test "x$PLATFORM_MACOS" = "x1" ; then
42686 COND_PLATFORM_MACOS_1=""
42687 fi
42688
42689 COND_PLATFORM_MAC_1="#"
42690 if test "x$PLATFORM_MAC" = "x1" ; then
42691 COND_PLATFORM_MAC_1=""
42692 fi
42693
42694 COND_PLATFORM_OS2_1="#"
42695 if test "x$PLATFORM_OS2" = "x1" ; then
42696 COND_PLATFORM_OS2_1=""
42697 fi
42698
42699 COND_PLATFORM_UNIX_0="#"
42700 if test "x$PLATFORM_UNIX" = "x0" ; then
42701 COND_PLATFORM_UNIX_0=""
42702 fi
42703
42704 COND_PLATFORM_UNIX_1="#"
42705 if test "x$PLATFORM_UNIX" = "x1" ; then
42706 COND_PLATFORM_UNIX_1=""
42707 fi
42708
42709 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
42710 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
42711 COND_PLATFORM_UNIX_1_USE_GUI_1=""
42712 fi
42713
42714 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
42715 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
42716 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
42717 fi
42718
42719 COND_PLATFORM_WIN32_0="#"
42720 if test "x$PLATFORM_WIN32" = "x0" ; then
42721 COND_PLATFORM_WIN32_0=""
42722 fi
42723
42724 COND_PLATFORM_WIN32_1="#"
42725 if test "x$PLATFORM_WIN32" = "x1" ; then
42726 COND_PLATFORM_WIN32_1=""
42727 fi
42728
42729 COND_SHARED_0="#"
42730 if test "x$SHARED" = "x0" ; then
42731 COND_SHARED_0=""
42732 fi
42733
42734 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
42735 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
42736 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
42737 fi
42738
42739 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
42740 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
42741 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
42742 fi
42743
42744 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
42745 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
42746 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
42747 fi
42748
42749 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
42750 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
42751 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
42752 fi
42753
42754 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
42755 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
42756 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
42757 fi
42758
42759 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
42760 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
42761 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
42762 fi
42763
42764 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
42765 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
42766 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
42767 fi
42768
42769 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
42770 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
42771 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
42772 fi
42773
42774 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
42775 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
42776 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
42777 fi
42778
42779 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
42780 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
42781 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
42782 fi
42783
42784 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
42785 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
42786 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
42787 fi
42788
42789 COND_SHARED_1="#"
42790 if test "x$SHARED" = "x1" ; then
42791 COND_SHARED_1=""
42792 fi
42793
42794 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
42795 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
42796 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
42797 fi
42798
42799 COND_TOOLKIT_="#"
42800 if test "x$TOOLKIT" = "x" ; then
42801 COND_TOOLKIT_=""
42802 fi
42803
42804 COND_TOOLKIT_COCOA="#"
42805 if test "x$TOOLKIT" = "xCOCOA" ; then
42806 COND_TOOLKIT_COCOA=""
42807 fi
42808
42809 COND_TOOLKIT_COCOA_USE_GUI_1="#"
42810 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
42811 COND_TOOLKIT_COCOA_USE_GUI_1=""
42812 fi
42813
42814 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
42815 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42816 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
42817 fi
42818
42819 COND_TOOLKIT_GTK="#"
42820 if test "x$TOOLKIT" = "xGTK" ; then
42821 COND_TOOLKIT_GTK=""
42822 fi
42823
42824 COND_TOOLKIT_GTK_USE_GUI_1="#"
42825 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
42826 COND_TOOLKIT_GTK_USE_GUI_1=""
42827 fi
42828
42829 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
42830 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42831 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
42832 fi
42833
42834 COND_TOOLKIT_MAC="#"
42835 if test "x$TOOLKIT" = "xMAC" ; then
42836 COND_TOOLKIT_MAC=""
42837 fi
42838
42839 COND_TOOLKIT_MAC_USE_GUI_1="#"
42840 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
42841 COND_TOOLKIT_MAC_USE_GUI_1=""
42842 fi
42843
42844 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
42845 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42846 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
42847 fi
42848
42849 COND_TOOLKIT_MGL="#"
42850 if test "x$TOOLKIT" = "xMGL" ; then
42851 COND_TOOLKIT_MGL=""
42852 fi
42853
42854 COND_TOOLKIT_MGL_USE_GUI_1="#"
42855 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
42856 COND_TOOLKIT_MGL_USE_GUI_1=""
42857 fi
42858
42859 COND_TOOLKIT_MOTIF="#"
42860 if test "x$TOOLKIT" = "xMOTIF" ; then
42861 COND_TOOLKIT_MOTIF=""
42862 fi
42863
42864 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
42865 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
42866 COND_TOOLKIT_MOTIF_USE_GUI_1=""
42867 fi
42868
42869 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
42870 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42871 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
42872 fi
42873
42874 COND_TOOLKIT_MSW="#"
42875 if test "x$TOOLKIT" = "xMSW" ; then
42876 COND_TOOLKIT_MSW=""
42877 fi
42878
42879 COND_TOOLKIT_MSW_USE_GUI_1="#"
42880 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
42881 COND_TOOLKIT_MSW_USE_GUI_1=""
42882 fi
42883
42884 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
42885 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42886 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
42887 fi
42888
42889 COND_TOOLKIT_PM="#"
42890 if test "x$TOOLKIT" = "xPM" ; then
42891 COND_TOOLKIT_PM=""
42892 fi
42893
42894 COND_TOOLKIT_PM_USE_GUI_1="#"
42895 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
42896 COND_TOOLKIT_PM_USE_GUI_1=""
42897 fi
42898
42899 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
42900 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42901 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
42902 fi
42903
42904 COND_TOOLKIT_WINCE="#"
42905 if test "x$TOOLKIT" = "xWINCE" ; then
42906 COND_TOOLKIT_WINCE=""
42907 fi
42908
42909 COND_TOOLKIT_WINCE_USE_GUI_1="#"
42910 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
42911 COND_TOOLKIT_WINCE_USE_GUI_1=""
42912 fi
42913
42914 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
42915 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42916 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
42917 fi
42918
42919 COND_TOOLKIT_X11="#"
42920 if test "x$TOOLKIT" = "xX11" ; then
42921 COND_TOOLKIT_X11=""
42922 fi
42923
42924 COND_TOOLKIT_X11_USE_GUI_1="#"
42925 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
42926 COND_TOOLKIT_X11_USE_GUI_1=""
42927 fi
42928
42929 COND_UNICODE_1="#"
42930 if test "x$UNICODE" = "x1" ; then
42931 COND_UNICODE_1=""
42932 fi
42933
42934 COND_USE_EXCEPTIONS_0="#"
42935 if test "x$USE_EXCEPTIONS" = "x0" ; then
42936 COND_USE_EXCEPTIONS_0=""
42937 fi
42938
42939 COND_USE_EXCEPTIONS_1="#"
42940 if test "x$USE_EXCEPTIONS" = "x1" ; then
42941 COND_USE_EXCEPTIONS_1=""
42942 fi
42943
42944 COND_USE_GUI_0="#"
42945 if test "x$USE_GUI" = "x0" ; then
42946 COND_USE_GUI_0=""
42947 fi
42948
42949 COND_USE_GUI_1="#"
42950 if test "x$USE_GUI" = "x1" ; then
42951 COND_USE_GUI_1=""
42952 fi
42953
42954 COND_USE_GUI_1_WXUNIV_0="#"
42955 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42956 COND_USE_GUI_1_WXUNIV_0=""
42957 fi
42958
42959 COND_USE_GUI_1_WXUNIV_1="#"
42960 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
42961 COND_USE_GUI_1_WXUNIV_1=""
42962 fi
42963
42964 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
42965 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
42966 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
42967 fi
42968
42969 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
42970 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
42971 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
42972 fi
42973
42974 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
42975 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
42976 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
42977 fi
42978
42979 COND_USE_ODBC_1="#"
42980 if test "x$USE_ODBC" = "x1" ; then
42981 COND_USE_ODBC_1=""
42982 fi
42983
42984 COND_USE_OPENGL_1="#"
42985 if test "x$USE_OPENGL" = "x1" ; then
42986 COND_USE_OPENGL_1=""
42987 fi
42988
42989 COND_USE_PLUGINS_0="#"
42990 if test "x$USE_PLUGINS" = "x0" ; then
42991 COND_USE_PLUGINS_0=""
42992 fi
42993
42994 COND_USE_RTTI_0="#"
42995 if test "x$USE_RTTI" = "x0" ; then
42996 COND_USE_RTTI_0=""
42997 fi
42998
42999 COND_USE_RTTI_1="#"
43000 if test "x$USE_RTTI" = "x1" ; then
43001 COND_USE_RTTI_1=""
43002 fi
43003
43004 COND_USE_SOSYMLINKS_1="#"
43005 if test "x$USE_SOSYMLINKS" = "x1" ; then
43006 COND_USE_SOSYMLINKS_1=""
43007 fi
43008
43009 COND_USE_SOVERLINUX_1="#"
43010 if test "x$USE_SOVERLINUX" = "x1" ; then
43011 COND_USE_SOVERLINUX_1=""
43012 fi
43013
43014 COND_USE_SOVERSION_0="#"
43015 if test "x$USE_SOVERSION" = "x0" ; then
43016 COND_USE_SOVERSION_0=""
43017 fi
43018
43019 COND_USE_SOVERSOLARIS_1="#"
43020 if test "x$USE_SOVERSOLARIS" = "x1" ; then
43021 COND_USE_SOVERSOLARIS_1=""
43022 fi
43023
43024 COND_USE_THREADS_0="#"
43025 if test "x$USE_THREADS" = "x0" ; then
43026 COND_USE_THREADS_0=""
43027 fi
43028
43029 COND_USE_THREADS_1="#"
43030 if test "x$USE_THREADS" = "x1" ; then
43031 COND_USE_THREADS_1=""
43032 fi
43033
43034 COND_USE_XRC_1="#"
43035 if test "x$USE_XRC" = "x1" ; then
43036 COND_USE_XRC_1=""
43037 fi
43038
43039 COND_WITH_PLUGIN_SDL_1="#"
43040 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
43041 COND_WITH_PLUGIN_SDL_1=""
43042 fi
43043
43044 COND_WXUNIV_0="#"
43045 if test "x$WXUNIV" = "x0" ; then
43046 COND_WXUNIV_0=""
43047 fi
43048
43049 COND_WXUNIV_1="#"
43050 if test "x$WXUNIV" = "x1" ; then
43051 COND_WXUNIV_1=""
43052 fi
43053
43054 COND_WXUSE_EXPAT_BUILTIN="#"
43055 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
43056 COND_WXUSE_EXPAT_BUILTIN=""
43057 fi
43058
43059 COND_WXUSE_LIBJPEG_BUILTIN="#"
43060 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43061 COND_WXUSE_LIBJPEG_BUILTIN=""
43062 fi
43063
43064 COND_WXUSE_LIBPNG_BUILTIN="#"
43065 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43066 COND_WXUSE_LIBPNG_BUILTIN=""
43067 fi
43068
43069 COND_WXUSE_LIBTIFF_BUILTIN="#"
43070 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43071 COND_WXUSE_LIBTIFF_BUILTIN=""
43072 fi
43073
43074 COND_WXUSE_ODBC_BUILTIN="#"
43075 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
43076 COND_WXUSE_ODBC_BUILTIN=""
43077 fi
43078
43079 COND_WXUSE_REGEX_BUILTIN="#"
43080 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
43081 COND_WXUSE_REGEX_BUILTIN=""
43082 fi
43083
43084 COND_WXUSE_ZLIB_BUILTIN="#"
43085 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
43086 COND_WXUSE_ZLIB_BUILTIN=""
43087 fi
43088
43089
43090
43091 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
43092 { { 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
43093 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;}
43094 { (exit 1); exit 1; }; }
43095 fi
43096
43097
43098 if test "$wxUSE_SHARED" = "yes"; then
43099
43100 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
43101 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
43102
43103 case "${host}" in
43104 *-pc-os2_emx | *-pc-os2-emx )
43105 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
43106 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
43107 cp -p ${srcdir}/src/os2/dllnames.sh .
43108 cp -p ${srcdir}/src/os2/dllar.sh .
43109 ;;
43110 esac
43111 else
43112
43113 EXE_LINKER="$CXX -o"
43114
43115 fi
43116
43117 GCC_PRAGMA_FLAGS=""
43118 PCH_FLAGS=""
43119 if test $GCC_PCH = 1 ; then
43120 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
43121 PCH_FLAGS="-DWX_PRECOMP"
43122 else
43123 case "${host}" in
43124 powerpc-*-darwin* )
43125 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
43126 ;;
43127 *-*-mingw32* )
43128 if test "$wxUSE_STL" = "yes" -o \
43129 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
43130 "$wxUSE_NO_RTTI" != "yes"; then
43131 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
43132 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
43133 cat >conftest.$ac_ext <<_ACEOF
43134 /* confdefs.h. */
43135 _ACEOF
43136 cat confdefs.h >>conftest.$ac_ext
43137 cat >>conftest.$ac_ext <<_ACEOF
43138 /* end confdefs.h. */
43139
43140 int
43141 main ()
43142 {
43143 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
43144 #error "Not GCC 3.2 or greater"
43145 #endif
43146
43147 ;
43148 return 0;
43149 }
43150 _ACEOF
43151 rm -f conftest.$ac_objext
43152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43153 (eval $ac_compile) 2>conftest.er1
43154 ac_status=$?
43155 grep -v '^ *+' conftest.er1 >conftest.err
43156 rm -f conftest.er1
43157 cat conftest.err >&5
43158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43159 (exit $ac_status); } &&
43160 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43162 (eval $ac_try) 2>&5
43163 ac_status=$?
43164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43165 (exit $ac_status); }; } &&
43166 { ac_try='test -s conftest.$ac_objext'
43167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43168 (eval $ac_try) 2>&5
43169 ac_status=$?
43170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43171 (exit $ac_status); }; }; then
43172 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
43173 echo "$as_me:$LINENO: result: yes" >&5
43174 echo "${ECHO_T}yes" >&6
43175 else
43176 echo "$as_me: failed program was:" >&5
43177 sed 's/^/| /' conftest.$ac_ext >&5
43178
43179 echo "$as_me:$LINENO: result: no" >&5
43180 echo "${ECHO_T}no" >&6
43181 fi
43182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43183 fi
43184 ;;
43185 *-pc-os2_emx | *-pc-os2-emx )
43186 if test "$wxUSE_STL" = "yes"; then
43187 echo "$as_me:$LINENO: checking if this gcc version needs -DNO_GCC_PRAGMA" >&5
43188 echo $ECHO_N "checking if this gcc version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
43189 cat >conftest.$ac_ext <<_ACEOF
43190 /* confdefs.h. */
43191 _ACEOF
43192 cat confdefs.h >>conftest.$ac_ext
43193 cat >>conftest.$ac_ext <<_ACEOF
43194 /* end confdefs.h. */
43195
43196 int
43197 main ()
43198 {
43199 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
43200 #error "Not GCC 3.2 or greater"
43201 #endif
43202
43203 ;
43204 return 0;
43205 }
43206 _ACEOF
43207 rm -f conftest.$ac_objext
43208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43209 (eval $ac_compile) 2>conftest.er1
43210 ac_status=$?
43211 grep -v '^ *+' conftest.er1 >conftest.err
43212 rm -f conftest.er1
43213 cat conftest.err >&5
43214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43215 (exit $ac_status); } &&
43216 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43218 (eval $ac_try) 2>&5
43219 ac_status=$?
43220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43221 (exit $ac_status); }; } &&
43222 { ac_try='test -s conftest.$ac_objext'
43223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43224 (eval $ac_try) 2>&5
43225 ac_status=$?
43226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43227 (exit $ac_status); }; }; then
43228 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
43229 echo "$as_me:$LINENO: result: yes" >&5
43230 echo "${ECHO_T}yes" >&6
43231 else
43232 echo "$as_me: failed program was:" >&5
43233 sed 's/^/| /' conftest.$ac_ext >&5
43234
43235 echo "$as_me:$LINENO: result: no" >&5
43236 echo "${ECHO_T}no" >&6
43237 fi
43238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43239 fi
43240 ;;
43241 esac
43242 fi
43243 CPPFLAGS="$PCH_FLAGS $GCC_PRAGMA_FLAGS $CPPFLAGS"
43244
43245
43246 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
43247
43248
43249
43250
43251
43252
43253
43254
43255
43256
43257
43258
43259
43260
43261
43262
43263
43264
43265
43266
43267
43268
43269
43270
43271
43272
43273
43274
43275
43276
43277
43278
43279
43280
43281
43282
43283
43284
43285
43286
43287
43288
43289
43290
43291
43292
43293
43294
43295
43296
43297
43298
43299
43300
43301
43302
43303
43304
43305
43306
43307
43308
43309
43310 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
43311 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
43312 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
43313 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
43314 echo $ECHO_N "(cached) $ECHO_C" >&6
43315 else
43316 cat >conftest.make <<\_ACEOF
43317 all:
43318 @echo 'ac_maketemp="$(MAKE)"'
43319 _ACEOF
43320 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
43321 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
43322 if test -n "$ac_maketemp"; then
43323 eval ac_cv_prog_make_${ac_make}_set=yes
43324 else
43325 eval ac_cv_prog_make_${ac_make}_set=no
43326 fi
43327 rm -f conftest.make
43328 fi
43329 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
43330 echo "$as_me:$LINENO: result: yes" >&5
43331 echo "${ECHO_T}yes" >&6
43332 SET_MAKE=
43333 else
43334 echo "$as_me:$LINENO: result: no" >&5
43335 echo "${ECHO_T}no" >&6
43336 SET_MAKE="MAKE=${MAKE-make}"
43337 fi
43338
43339
43340
43341 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
43342
43343
43344 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
43345
43346
43347 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
43348
43349
43350 ac_config_files="$ac_config_files version-script Makefile"
43351
43352
43353 ac_config_commands="$ac_config_commands wx-config
43354 "
43355
43356
43357
43358
43359 if test "$wxUSE_GUI" = "yes"; then
43360 SUBDIRS="samples demos utils contrib"
43361 else SUBDIRS="samples utils"
43362 fi
43363
43364
43365
43366 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
43367 if test "${with_cppunit_prefix+set}" = set; then
43368 withval="$with_cppunit_prefix"
43369 cppunit_config_prefix="$withval"
43370 else
43371 cppunit_config_prefix=""
43372 fi;
43373
43374 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
43375 if test "${with_cppunit_exec_prefix+set}" = set; then
43376 withval="$with_cppunit_exec_prefix"
43377 cppunit_config_exec_prefix="$withval"
43378 else
43379 cppunit_config_exec_prefix=""
43380 fi;
43381
43382 if test x$cppunit_config_exec_prefix != x ; then
43383 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
43384 if test x${CPPUNIT_CONFIG+set} != xset ; then
43385 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
43386 fi
43387 fi
43388 if test x$cppunit_config_prefix != x ; then
43389 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
43390 if test x${CPPUNIT_CONFIG+set} != xset ; then
43391 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
43392 fi
43393 fi
43394
43395 # Extract the first word of "cppunit-config", so it can be a program name with args.
43396 set dummy cppunit-config; ac_word=$2
43397 echo "$as_me:$LINENO: checking for $ac_word" >&5
43398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43399 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
43400 echo $ECHO_N "(cached) $ECHO_C" >&6
43401 else
43402 case $CPPUNIT_CONFIG in
43403 [\\/]* | ?:[\\/]*)
43404 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
43405 ;;
43406 *)
43407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43408 for as_dir in $PATH
43409 do
43410 IFS=$as_save_IFS
43411 test -z "$as_dir" && as_dir=.
43412 for ac_exec_ext in '' $ac_executable_extensions; do
43413 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43414 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43416 break 2
43417 fi
43418 done
43419 done
43420
43421 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
43422 ;;
43423 esac
43424 fi
43425 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
43426
43427 if test -n "$CPPUNIT_CONFIG"; then
43428 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
43429 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
43430 else
43431 echo "$as_me:$LINENO: result: no" >&5
43432 echo "${ECHO_T}no" >&6
43433 fi
43434
43435 cppunit_version_min=1.8.0
43436
43437 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
43438 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
43439 no_cppunit=""
43440 if test "$CPPUNIT_CONFIG" = "no" ; then
43441 no_cppunit=yes
43442 else
43443 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
43444 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
43445 cppunit_version=`$CPPUNIT_CONFIG --version`
43446
43447 cppunit_major_version=`echo $cppunit_version | \
43448 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43449 cppunit_minor_version=`echo $cppunit_version | \
43450 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43451 cppunit_micro_version=`echo $cppunit_version | \
43452 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43453
43454 cppunit_major_min=`echo $cppunit_version_min | \
43455 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43456 cppunit_minor_min=`echo $cppunit_version_min | \
43457 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43458 cppunit_micro_min=`echo $cppunit_version_min | \
43459 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43460
43461 cppunit_version_proper=`expr \
43462 $cppunit_major_version \> $cppunit_major_min \| \
43463 $cppunit_major_version \= $cppunit_major_min \& \
43464 $cppunit_minor_version \> $cppunit_minor_min \| \
43465 $cppunit_major_version \= $cppunit_major_min \& \
43466 $cppunit_minor_version \= $cppunit_minor_min \& \
43467 $cppunit_micro_version \>= $cppunit_micro_min `
43468
43469 if test "$cppunit_version_proper" = "1" ; then
43470 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
43471 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
43472 else
43473 echo "$as_me:$LINENO: result: no" >&5
43474 echo "${ECHO_T}no" >&6
43475 no_cppunit=yes
43476 fi
43477 fi
43478
43479 if test "x$no_cppunit" = x ; then
43480 SUBDIRS="$SUBDIRS tests"
43481 else
43482 CPPUNIT_CFLAGS=""
43483 CPPUNIT_LIBS=""
43484 :
43485 fi
43486
43487
43488
43489
43490
43491 for subdir in `echo $SUBDIRS`; do
43492 if test -d ${srcdir}/${subdir} ; then
43493 if test "$wxUSE_GUI" = "yes"; then
43494 if test ${subdir} = "samples"; then
43495 makefiles="samples/Makefile.in $makefiles"
43496 for sample in `echo $SAMPLES_SUBDIRS`; do
43497 if test -d $srcdir/samples/$sample; then
43498 makefiles="samples/$sample/Makefile.in $makefiles"
43499 fi
43500 done
43501 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
43502 fi
43503 else if test ${subdir} = "samples"; then
43504 makefiles="samples/Makefile.in samples/console/Makefile.in"
43505 elif test ${subdir} = "utils"; then
43506 makefiles=""
43507 for util in HelpGen tex2rtf ; do
43508 if test -d $srcdir/utils/$util ; then
43509 makefiles="utils/$util/Makefile.in \
43510 utils/$util/src/Makefile.in \
43511 $makefiles"
43512 fi
43513 done
43514 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
43515 fi
43516 fi
43517
43518 for mkin in $makefiles ; do
43519 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
43520 ac_config_files="$ac_config_files $mk"
43521
43522 done
43523 fi
43524 done
43525
43526
43527 cat >confcache <<\_ACEOF
43528 # This file is a shell script that caches the results of configure
43529 # tests run on this system so they can be shared between configure
43530 # scripts and configure runs, see configure's option --config-cache.
43531 # It is not useful on other systems. If it contains results you don't
43532 # want to keep, you may remove or edit it.
43533 #
43534 # config.status only pays attention to the cache file if you give it
43535 # the --recheck option to rerun configure.
43536 #
43537 # `ac_cv_env_foo' variables (set or unset) will be overridden when
43538 # loading this file, other *unset* `ac_cv_foo' will be assigned the
43539 # following values.
43540
43541 _ACEOF
43542
43543 # The following way of writing the cache mishandles newlines in values,
43544 # but we know of no workaround that is simple, portable, and efficient.
43545 # So, don't put newlines in cache variables' values.
43546 # Ultrix sh set writes to stderr and can't be redirected directly,
43547 # and sets the high bit in the cache file unless we assign to the vars.
43548 {
43549 (set) 2>&1 |
43550 case `(ac_space=' '; set | grep ac_space) 2>&1` in
43551 *ac_space=\ *)
43552 # `set' does not quote correctly, so add quotes (double-quote
43553 # substitution turns \\\\ into \\, and sed turns \\ into \).
43554 sed -n \
43555 "s/'/'\\\\''/g;
43556 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
43557 ;;
43558 *)
43559 # `set' quotes correctly as required by POSIX, so do not add quotes.
43560 sed -n \
43561 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
43562 ;;
43563 esac;
43564 } |
43565 sed '
43566 t clear
43567 : clear
43568 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
43569 t end
43570 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
43571 : end' >>confcache
43572 if diff $cache_file confcache >/dev/null 2>&1; then :; else
43573 if test -w $cache_file; then
43574 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
43575 cat confcache >$cache_file
43576 else
43577 echo "not updating unwritable cache $cache_file"
43578 fi
43579 fi
43580 rm -f confcache
43581
43582 test "x$prefix" = xNONE && prefix=$ac_default_prefix
43583 # Let make expand exec_prefix.
43584 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
43585
43586 # VPATH may cause trouble with some makes, so we remove $(srcdir),
43587 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
43588 # trailing colons and then remove the whole line if VPATH becomes empty
43589 # (actually we leave an empty line to preserve line numbers).
43590 if test "x$srcdir" = x.; then
43591 ac_vpsub='/^[ ]*VPATH[ ]*=/{
43592 s/:*\$(srcdir):*/:/;
43593 s/:*\${srcdir}:*/:/;
43594 s/:*@srcdir@:*/:/;
43595 s/^\([^=]*=[ ]*\):*/\1/;
43596 s/:*$//;
43597 s/^[^=]*=[ ]*$//;
43598 }'
43599 fi
43600
43601 DEFS=-DHAVE_CONFIG_H
43602
43603 ac_libobjs=
43604 ac_ltlibobjs=
43605 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
43606 # 1. Remove the extension, and $U if already installed.
43607 ac_i=`echo "$ac_i" |
43608 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
43609 # 2. Add them.
43610 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
43611 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
43612 done
43613 LIBOBJS=$ac_libobjs
43614
43615 LTLIBOBJS=$ac_ltlibobjs
43616
43617
43618
43619 : ${CONFIG_STATUS=./config.status}
43620 ac_clean_files_save=$ac_clean_files
43621 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
43622 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
43623 echo "$as_me: creating $CONFIG_STATUS" >&6;}
43624 cat >$CONFIG_STATUS <<_ACEOF
43625 #! $SHELL
43626 # Generated by $as_me.
43627 # Run this file to recreate the current configuration.
43628 # Compiler output produced by configure, useful for debugging
43629 # configure, is in config.log if it exists.
43630
43631 debug=false
43632 ac_cs_recheck=false
43633 ac_cs_silent=false
43634 SHELL=\${CONFIG_SHELL-$SHELL}
43635 _ACEOF
43636
43637 cat >>$CONFIG_STATUS <<\_ACEOF
43638 ## --------------------- ##
43639 ## M4sh Initialization. ##
43640 ## --------------------- ##
43641
43642 # Be Bourne compatible
43643 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
43644 emulate sh
43645 NULLCMD=:
43646 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
43647 # is contrary to our usage. Disable this feature.
43648 alias -g '${1+"$@"}'='"$@"'
43649 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
43650 set -o posix
43651 fi
43652 DUALCASE=1; export DUALCASE # for MKS sh
43653
43654 # Support unset when possible.
43655 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
43656 as_unset=unset
43657 else
43658 as_unset=false
43659 fi
43660
43661
43662 # Work around bugs in pre-3.0 UWIN ksh.
43663 $as_unset ENV MAIL MAILPATH
43664 PS1='$ '
43665 PS2='> '
43666 PS4='+ '
43667
43668 # NLS nuisances.
43669 for as_var in \
43670 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43671 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
43672 LC_TELEPHONE LC_TIME
43673 do
43674 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
43675 eval $as_var=C; export $as_var
43676 else
43677 $as_unset $as_var
43678 fi
43679 done
43680
43681 # Required to use basename.
43682 if expr a : '\(a\)' >/dev/null 2>&1; then
43683 as_expr=expr
43684 else
43685 as_expr=false
43686 fi
43687
43688 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
43689 as_basename=basename
43690 else
43691 as_basename=false
43692 fi
43693
43694
43695 # Name of the executable.
43696 as_me=`$as_basename "$0" ||
43697 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
43698 X"$0" : 'X\(//\)$' \| \
43699 X"$0" : 'X\(/\)$' \| \
43700 . : '\(.\)' 2>/dev/null ||
43701 echo X/"$0" |
43702 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
43703 /^X\/\(\/\/\)$/{ s//\1/; q; }
43704 /^X\/\(\/\).*/{ s//\1/; q; }
43705 s/.*/./; q'`
43706
43707
43708 # PATH needs CR, and LINENO needs CR and PATH.
43709 # Avoid depending upon Character Ranges.
43710 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
43711 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
43712 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
43713 as_cr_digits='0123456789'
43714 as_cr_alnum=$as_cr_Letters$as_cr_digits
43715
43716 # The user is always right.
43717 if test "${PATH_SEPARATOR+set}" != set; then
43718 echo "#! /bin/sh" >conf$$.sh
43719 echo "exit 0" >>conf$$.sh
43720 chmod +x conf$$.sh
43721 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
43722 PATH_SEPARATOR=';'
43723 else
43724 PATH_SEPARATOR=:
43725 fi
43726 rm -f conf$$.sh
43727 fi
43728
43729
43730 as_lineno_1=$LINENO
43731 as_lineno_2=$LINENO
43732 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
43733 test "x$as_lineno_1" != "x$as_lineno_2" &&
43734 test "x$as_lineno_3" = "x$as_lineno_2" || {
43735 # Find who we are. Look in the path if we contain no path at all
43736 # relative or not.
43737 case $0 in
43738 *[\\/]* ) as_myself=$0 ;;
43739 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43740 for as_dir in $PATH
43741 do
43742 IFS=$as_save_IFS
43743 test -z "$as_dir" && as_dir=.
43744 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
43745 done
43746
43747 ;;
43748 esac
43749 # We did not find ourselves, most probably we were run as `sh COMMAND'
43750 # in which case we are not to be found in the path.
43751 if test "x$as_myself" = x; then
43752 as_myself=$0
43753 fi
43754 if test ! -f "$as_myself"; then
43755 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
43756 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
43757 { (exit 1); exit 1; }; }
43758 fi
43759 case $CONFIG_SHELL in
43760 '')
43761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43762 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
43763 do
43764 IFS=$as_save_IFS
43765 test -z "$as_dir" && as_dir=.
43766 for as_base in sh bash ksh sh5; do
43767 case $as_dir in
43768 /*)
43769 if ("$as_dir/$as_base" -c '
43770 as_lineno_1=$LINENO
43771 as_lineno_2=$LINENO
43772 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
43773 test "x$as_lineno_1" != "x$as_lineno_2" &&
43774 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
43775 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
43776 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
43777 CONFIG_SHELL=$as_dir/$as_base
43778 export CONFIG_SHELL
43779 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
43780 fi;;
43781 esac
43782 done
43783 done
43784 ;;
43785 esac
43786
43787 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
43788 # uniformly replaced by the line number. The first 'sed' inserts a
43789 # line-number line before each line; the second 'sed' does the real
43790 # work. The second script uses 'N' to pair each line-number line
43791 # with the numbered line, and appends trailing '-' during
43792 # substitution so that $LINENO is not a special case at line end.
43793 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
43794 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
43795 sed '=' <$as_myself |
43796 sed '
43797 N
43798 s,$,-,
43799 : loop
43800 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
43801 t loop
43802 s,-$,,
43803 s,^['$as_cr_digits']*\n,,
43804 ' >$as_me.lineno &&
43805 chmod +x $as_me.lineno ||
43806 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
43807 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
43808 { (exit 1); exit 1; }; }
43809
43810 # Don't try to exec as it changes $[0], causing all sort of problems
43811 # (the dirname of $[0] is not the place where we might find the
43812 # original and so on. Autoconf is especially sensible to this).
43813 . ./$as_me.lineno
43814 # Exit status is that of the last command.
43815 exit
43816 }
43817
43818
43819 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
43820 *c*,-n*) ECHO_N= ECHO_C='
43821 ' ECHO_T=' ' ;;
43822 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
43823 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
43824 esac
43825
43826 if expr a : '\(a\)' >/dev/null 2>&1; then
43827 as_expr=expr
43828 else
43829 as_expr=false
43830 fi
43831
43832 rm -f conf$$ conf$$.exe conf$$.file
43833 echo >conf$$.file
43834 if ln -s conf$$.file conf$$ 2>/dev/null; then
43835 # We could just check for DJGPP; but this test a) works b) is more generic
43836 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
43837 if test -f conf$$.exe; then
43838 # Don't use ln at all; we don't have any links
43839 as_ln_s='cp -p'
43840 else
43841 as_ln_s='ln -s'
43842 fi
43843 elif ln conf$$.file conf$$ 2>/dev/null; then
43844 as_ln_s=ln
43845 else
43846 as_ln_s='cp -p'
43847 fi
43848 rm -f conf$$ conf$$.exe conf$$.file
43849
43850 if mkdir -p . 2>/dev/null; then
43851 as_mkdir_p=:
43852 else
43853 test -d ./-p && rmdir ./-p
43854 as_mkdir_p=false
43855 fi
43856
43857 as_executable_p="test -f"
43858
43859 # Sed expression to map a string onto a valid CPP name.
43860 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
43861
43862 # Sed expression to map a string onto a valid variable name.
43863 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
43864
43865
43866 # IFS
43867 # We need space, tab and new line, in precisely that order.
43868 as_nl='
43869 '
43870 IFS=" $as_nl"
43871
43872 # CDPATH.
43873 $as_unset CDPATH
43874
43875 exec 6>&1
43876
43877 # Open the log real soon, to keep \$[0] and so on meaningful, and to
43878 # report actual input values of CONFIG_FILES etc. instead of their
43879 # values after options handling. Logging --version etc. is OK.
43880 exec 5>>config.log
43881 {
43882 echo
43883 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
43884 ## Running $as_me. ##
43885 _ASBOX
43886 } >&5
43887 cat >&5 <<_CSEOF
43888
43889 This file was extended by wxWidgets $as_me 2.5.5, which was
43890 generated by GNU Autoconf 2.59. Invocation command line was
43891
43892 CONFIG_FILES = $CONFIG_FILES
43893 CONFIG_HEADERS = $CONFIG_HEADERS
43894 CONFIG_LINKS = $CONFIG_LINKS
43895 CONFIG_COMMANDS = $CONFIG_COMMANDS
43896 $ $0 $@
43897
43898 _CSEOF
43899 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
43900 echo >&5
43901 _ACEOF
43902
43903 # Files that config.status was made for.
43904 if test -n "$ac_config_files"; then
43905 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
43906 fi
43907
43908 if test -n "$ac_config_headers"; then
43909 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
43910 fi
43911
43912 if test -n "$ac_config_links"; then
43913 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
43914 fi
43915
43916 if test -n "$ac_config_commands"; then
43917 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
43918 fi
43919
43920 cat >>$CONFIG_STATUS <<\_ACEOF
43921
43922 ac_cs_usage="\
43923 \`$as_me' instantiates files from templates according to the
43924 current configuration.
43925
43926 Usage: $0 [OPTIONS] [FILE]...
43927
43928 -h, --help print this help, then exit
43929 -V, --version print version number, then exit
43930 -q, --quiet do not print progress messages
43931 -d, --debug don't remove temporary files
43932 --recheck update $as_me by reconfiguring in the same conditions
43933 --file=FILE[:TEMPLATE]
43934 instantiate the configuration file FILE
43935 --header=FILE[:TEMPLATE]
43936 instantiate the configuration header FILE
43937
43938 Configuration files:
43939 $config_files
43940
43941 Configuration headers:
43942 $config_headers
43943
43944 Configuration commands:
43945 $config_commands
43946
43947 Report bugs to <bug-autoconf@gnu.org>."
43948 _ACEOF
43949
43950 cat >>$CONFIG_STATUS <<_ACEOF
43951 ac_cs_version="\\
43952 wxWidgets config.status 2.5.5
43953 configured by $0, generated by GNU Autoconf 2.59,
43954 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
43955
43956 Copyright (C) 2003 Free Software Foundation, Inc.
43957 This config.status script is free software; the Free Software Foundation
43958 gives unlimited permission to copy, distribute and modify it."
43959 srcdir=$srcdir
43960 INSTALL="$INSTALL"
43961 _ACEOF
43962
43963 cat >>$CONFIG_STATUS <<\_ACEOF
43964 # If no file are specified by the user, then we need to provide default
43965 # value. By we need to know if files were specified by the user.
43966 ac_need_defaults=:
43967 while test $# != 0
43968 do
43969 case $1 in
43970 --*=*)
43971 ac_option=`expr "x$1" : 'x\([^=]*\)='`
43972 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
43973 ac_shift=:
43974 ;;
43975 -*)
43976 ac_option=$1
43977 ac_optarg=$2
43978 ac_shift=shift
43979 ;;
43980 *) # This is not an option, so the user has probably given explicit
43981 # arguments.
43982 ac_option=$1
43983 ac_need_defaults=false;;
43984 esac
43985
43986 case $ac_option in
43987 # Handling of the options.
43988 _ACEOF
43989 cat >>$CONFIG_STATUS <<\_ACEOF
43990 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
43991 ac_cs_recheck=: ;;
43992 --version | --vers* | -V )
43993 echo "$ac_cs_version"; exit 0 ;;
43994 --he | --h)
43995 # Conflict between --help and --header
43996 { { echo "$as_me:$LINENO: error: ambiguous option: $1
43997 Try \`$0 --help' for more information." >&5
43998 echo "$as_me: error: ambiguous option: $1
43999 Try \`$0 --help' for more information." >&2;}
44000 { (exit 1); exit 1; }; };;
44001 --help | --hel | -h )
44002 echo "$ac_cs_usage"; exit 0 ;;
44003 --debug | --d* | -d )
44004 debug=: ;;
44005 --file | --fil | --fi | --f )
44006 $ac_shift
44007 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
44008 ac_need_defaults=false;;
44009 --header | --heade | --head | --hea )
44010 $ac_shift
44011 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
44012 ac_need_defaults=false;;
44013 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
44014 | -silent | --silent | --silen | --sile | --sil | --si | --s)
44015 ac_cs_silent=: ;;
44016
44017 # This is an error.
44018 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
44019 Try \`$0 --help' for more information." >&5
44020 echo "$as_me: error: unrecognized option: $1
44021 Try \`$0 --help' for more information." >&2;}
44022 { (exit 1); exit 1; }; } ;;
44023
44024 *) ac_config_targets="$ac_config_targets $1" ;;
44025
44026 esac
44027 shift
44028 done
44029
44030 ac_configure_extra_args=
44031
44032 if $ac_cs_silent; then
44033 exec 6>/dev/null
44034 ac_configure_extra_args="$ac_configure_extra_args --silent"
44035 fi
44036
44037 _ACEOF
44038 cat >>$CONFIG_STATUS <<_ACEOF
44039 if \$ac_cs_recheck; then
44040 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
44041 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
44042 fi
44043
44044 _ACEOF
44045
44046 cat >>$CONFIG_STATUS <<_ACEOF
44047 #
44048 # INIT-COMMANDS section.
44049 #
44050
44051 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44052 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44053 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44054 LN_S="${LN_S}"
44055
44056
44057 _ACEOF
44058
44059
44060
44061 cat >>$CONFIG_STATUS <<\_ACEOF
44062 for ac_config_target in $ac_config_targets
44063 do
44064 case "$ac_config_target" in
44065 # Handling of arguments.
44066 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
44067 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
44068 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
44069 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
44070 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
44071 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
44072 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
44073 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
44074 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
44075 { (exit 1); exit 1; }; };;
44076 esac
44077 done
44078
44079 # If the user did not use the arguments to specify the items to instantiate,
44080 # then the envvar interface is used. Set only those that are not.
44081 # We use the long form for the default assignment because of an extremely
44082 # bizarre bug on SunOS 4.1.3.
44083 if $ac_need_defaults; then
44084 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
44085 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
44086 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
44087 fi
44088
44089 # Have a temporary directory for convenience. Make it in the build tree
44090 # simply because there is no reason to put it here, and in addition,
44091 # creating and moving files from /tmp can sometimes cause problems.
44092 # Create a temporary directory, and hook for its removal unless debugging.
44093 $debug ||
44094 {
44095 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
44096 trap '{ (exit 1); exit 1; }' 1 2 13 15
44097 }
44098
44099 # Create a (secure) tmp directory for tmp files.
44100
44101 {
44102 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
44103 test -n "$tmp" && test -d "$tmp"
44104 } ||
44105 {
44106 tmp=./confstat$$-$RANDOM
44107 (umask 077 && mkdir $tmp)
44108 } ||
44109 {
44110 echo "$me: cannot create a temporary directory in ." >&2
44111 { (exit 1); exit 1; }
44112 }
44113
44114 _ACEOF
44115
44116 cat >>$CONFIG_STATUS <<_ACEOF
44117
44118 #
44119 # CONFIG_FILES section.
44120 #
44121
44122 # No need to generate the scripts if there are no CONFIG_FILES.
44123 # This happens for instance when ./config.status config.h
44124 if test -n "\$CONFIG_FILES"; then
44125 # Protect against being on the right side of a sed subst in config.status.
44126 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
44127 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
44128 s,@SHELL@,$SHELL,;t t
44129 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
44130 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
44131 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
44132 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
44133 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
44134 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
44135 s,@exec_prefix@,$exec_prefix,;t t
44136 s,@prefix@,$prefix,;t t
44137 s,@program_transform_name@,$program_transform_name,;t t
44138 s,@bindir@,$bindir,;t t
44139 s,@sbindir@,$sbindir,;t t
44140 s,@libexecdir@,$libexecdir,;t t
44141 s,@datadir@,$datadir,;t t
44142 s,@sysconfdir@,$sysconfdir,;t t
44143 s,@sharedstatedir@,$sharedstatedir,;t t
44144 s,@localstatedir@,$localstatedir,;t t
44145 s,@libdir@,$libdir,;t t
44146 s,@includedir@,$includedir,;t t
44147 s,@oldincludedir@,$oldincludedir,;t t
44148 s,@infodir@,$infodir,;t t
44149 s,@mandir@,$mandir,;t t
44150 s,@build_alias@,$build_alias,;t t
44151 s,@host_alias@,$host_alias,;t t
44152 s,@target_alias@,$target_alias,;t t
44153 s,@DEFS@,$DEFS,;t t
44154 s,@ECHO_C@,$ECHO_C,;t t
44155 s,@ECHO_N@,$ECHO_N,;t t
44156 s,@ECHO_T@,$ECHO_T,;t t
44157 s,@LIBS@,$LIBS,;t t
44158 s,@build@,$build,;t t
44159 s,@build_cpu@,$build_cpu,;t t
44160 s,@build_vendor@,$build_vendor,;t t
44161 s,@build_os@,$build_os,;t t
44162 s,@host@,$host,;t t
44163 s,@host_cpu@,$host_cpu,;t t
44164 s,@host_vendor@,$host_vendor,;t t
44165 s,@host_os@,$host_os,;t t
44166 s,@target@,$target,;t t
44167 s,@target_cpu@,$target_cpu,;t t
44168 s,@target_vendor@,$target_vendor,;t t
44169 s,@target_os@,$target_os,;t t
44170 s,@CC@,$CC,;t t
44171 s,@CFLAGS@,$CFLAGS,;t t
44172 s,@LDFLAGS@,$LDFLAGS,;t t
44173 s,@CPPFLAGS@,$CPPFLAGS,;t t
44174 s,@ac_ct_CC@,$ac_ct_CC,;t t
44175 s,@EXEEXT@,$EXEEXT,;t t
44176 s,@OBJEXT@,$OBJEXT,;t t
44177 s,@CPP@,$CPP,;t t
44178 s,@EGREP@,$EGREP,;t t
44179 s,@CXX@,$CXX,;t t
44180 s,@CXXFLAGS@,$CXXFLAGS,;t t
44181 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
44182 s,@RANLIB@,$RANLIB,;t t
44183 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
44184 s,@AR@,$AR,;t t
44185 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
44186 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
44187 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
44188 s,@STRIP@,$STRIP,;t t
44189 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
44190 s,@LN_S@,$LN_S,;t t
44191 s,@CXXCPP@,$CXXCPP,;t t
44192 s,@subdirs@,$subdirs,;t t
44193 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
44194 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
44195 s,@GTK_LIBS@,$GTK_LIBS,;t t
44196 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
44197 s,@X_CFLAGS@,$X_CFLAGS,;t t
44198 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
44199 s,@X_LIBS@,$X_LIBS,;t t
44200 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
44201 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
44202 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
44203 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
44204 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
44205 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
44206 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
44207 s,@RESCOMP@,$RESCOMP,;t t
44208 s,@DEREZ@,$DEREZ,;t t
44209 s,@SETFILE@,$SETFILE,;t t
44210 s,@LIBICONV@,$LIBICONV,;t t
44211 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
44212 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
44213 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
44214 s,@SDL_LIBS@,$SDL_LIBS,;t t
44215 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
44216 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
44217 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
44218 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
44219 s,@GST_INSPECT@,$GST_INSPECT,;t t
44220 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
44221 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
44222 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
44223 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
44224 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
44225 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
44226 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
44227 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
44228 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
44229 s,@VENDOR@,$VENDOR,;t t
44230 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
44231 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
44232 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
44233 s,@WXUNIV@,$WXUNIV,;t t
44234 s,@MONOLITHIC@,$MONOLITHIC,;t t
44235 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
44236 s,@EXTRALIBS@,$EXTRALIBS,;t t
44237 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
44238 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
44239 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
44240 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
44241 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
44242 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
44243 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
44244 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
44245 s,@UNICODE@,$UNICODE,;t t
44246 s,@BUILD@,$BUILD,;t t
44247 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
44248 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
44249 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
44250 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
44251 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
44252 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
44253 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
44254 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
44255 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
44256 s,@SET_MAKE@,$SET_MAKE,;t t
44257 s,@MAKE_SET@,$MAKE_SET,;t t
44258 s,@ac_ct_AR@,$ac_ct_AR,;t t
44259 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
44260 s,@NM@,$NM,;t t
44261 s,@ac_ct_NM@,$ac_ct_NM,;t t
44262 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
44263 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
44264 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
44265 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
44266 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
44267 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
44268 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
44269 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
44270 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
44271 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
44272 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
44273 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
44274 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
44275 s,@LIBPREFIX@,$LIBPREFIX,;t t
44276 s,@LIBEXT@,$LIBEXT,;t t
44277 s,@DLLPREFIX@,$DLLPREFIX,;t t
44278 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
44279 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
44280 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
44281 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
44282 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
44283 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
44284 s,@PIC_FLAG@,$PIC_FLAG,;t t
44285 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
44286 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
44287 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
44288 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
44289 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
44290 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
44291 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
44292 s,@GCC_PCH@,$GCC_PCH,;t t
44293 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
44294 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
44295 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
44296 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
44297 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
44298 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
44299 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
44300 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
44301 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
44302 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
44303 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
44304 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
44305 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
44306 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
44307 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
44308 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
44309 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
44310 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
44311 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1,;t t
44312 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
44313 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1,;t t
44314 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
44315 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
44316 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
44317 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
44318 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1,;t t
44319 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
44320 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1,;t t
44321 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
44322 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
44323 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
44324 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
44325 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
44326 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
44327 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
44328 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
44329 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
44330 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
44331 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
44332 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
44333 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
44334 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
44335 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
44336 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
44337 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
44338 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
44339 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
44340 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
44341 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
44342 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
44343 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
44344 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
44345 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
44346 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
44347 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
44348 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
44349 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
44350 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
44351 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
44352 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
44353 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
44354 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
44355 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
44356 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
44357 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
44358 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
44359 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
44360 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
44361 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
44362 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
44363 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
44364 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
44365 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
44366 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
44367 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
44368 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
44369 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
44370 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
44371 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
44372 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
44373 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
44374 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
44375 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
44376 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
44377 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
44378 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
44379 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
44380 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
44381 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
44382 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
44383 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
44384 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
44385 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
44386 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
44387 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
44388 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
44389 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
44390 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
44391 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
44392 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
44393 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
44394 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
44395 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
44396 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
44397 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
44398 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
44399 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
44400 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
44401 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
44402 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
44403 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
44404 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
44405 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
44406 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
44407 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
44408 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
44409 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
44410 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
44411 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
44412 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
44413 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
44414 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
44415 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
44416 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
44417 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
44418 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
44419 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
44420 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
44421 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
44422 s,@SHARED@,$SHARED,;t t
44423 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
44424 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
44425 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
44426 s,@USE_GUI@,$USE_GUI,;t t
44427 s,@AFMINSTALL@,$AFMINSTALL,;t t
44428 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
44429 s,@TOOLKIT@,$TOOLKIT,;t t
44430 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
44431 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
44432 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
44433 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
44434 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
44435 s,@cross_compiling@,$cross_compiling,;t t
44436 s,@WIDGET_SET@,$WIDGET_SET,;t t
44437 s,@WX_RELEASE@,$WX_RELEASE,;t t
44438 s,@WX_VERSION@,$WX_VERSION,;t t
44439 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
44440 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
44441 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
44442 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
44443 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
44444 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
44445 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
44446 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
44447 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
44448 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
44449 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
44450 s,@EXE_LINKER@,$EXE_LINKER,;t t
44451 s,@GUIDIST@,$GUIDIST,;t t
44452 s,@DISTDIR@,$DISTDIR,;t t
44453 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
44454 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
44455 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
44456 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
44457 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
44458 s,@RESFLAGS@,$RESFLAGS,;t t
44459 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
44460 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
44461 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
44462 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
44463 s,@MACRESCOMP@,$MACRESCOMP,;t t
44464 s,@MACSETFILE@,$MACSETFILE,;t t
44465 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
44466 s,@GCC@,$GCC,;t t
44467 s,@DLLTOOL@,$DLLTOOL,;t t
44468 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
44469 s,@LIBOBJS@,$LIBOBJS,;t t
44470 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
44471 CEOF
44472
44473 _ACEOF
44474
44475 cat >>$CONFIG_STATUS <<\_ACEOF
44476 # Split the substitutions into bite-sized pieces for seds with
44477 # small command number limits, like on Digital OSF/1 and HP-UX.
44478 ac_max_sed_lines=48
44479 ac_sed_frag=1 # Number of current file.
44480 ac_beg=1 # First line for current file.
44481 ac_end=$ac_max_sed_lines # Line after last line for current file.
44482 ac_more_lines=:
44483 ac_sed_cmds=
44484 while $ac_more_lines; do
44485 if test $ac_beg -gt 1; then
44486 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
44487 else
44488 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
44489 fi
44490 if test ! -s $tmp/subs.frag; then
44491 ac_more_lines=false
44492 else
44493 # The purpose of the label and of the branching condition is to
44494 # speed up the sed processing (if there are no `@' at all, there
44495 # is no need to browse any of the substitutions).
44496 # These are the two extra sed commands mentioned above.
44497 (echo ':t
44498 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
44499 if test -z "$ac_sed_cmds"; then
44500 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
44501 else
44502 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
44503 fi
44504 ac_sed_frag=`expr $ac_sed_frag + 1`
44505 ac_beg=$ac_end
44506 ac_end=`expr $ac_end + $ac_max_sed_lines`
44507 fi
44508 done
44509 if test -z "$ac_sed_cmds"; then
44510 ac_sed_cmds=cat
44511 fi
44512 fi # test -n "$CONFIG_FILES"
44513
44514 _ACEOF
44515 cat >>$CONFIG_STATUS <<\_ACEOF
44516 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
44517 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
44518 case $ac_file in
44519 - | *:- | *:-:* ) # input from stdin
44520 cat >$tmp/stdin
44521 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
44522 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
44523 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
44524 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
44525 * ) ac_file_in=$ac_file.in ;;
44526 esac
44527
44528 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
44529 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
44530 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44531 X"$ac_file" : 'X\(//\)[^/]' \| \
44532 X"$ac_file" : 'X\(//\)$' \| \
44533 X"$ac_file" : 'X\(/\)' \| \
44534 . : '\(.\)' 2>/dev/null ||
44535 echo X"$ac_file" |
44536 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44537 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44538 /^X\(\/\/\)$/{ s//\1/; q; }
44539 /^X\(\/\).*/{ s//\1/; q; }
44540 s/.*/./; q'`
44541 { if $as_mkdir_p; then
44542 mkdir -p "$ac_dir"
44543 else
44544 as_dir="$ac_dir"
44545 as_dirs=
44546 while test ! -d "$as_dir"; do
44547 as_dirs="$as_dir $as_dirs"
44548 as_dir=`(dirname "$as_dir") 2>/dev/null ||
44549 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44550 X"$as_dir" : 'X\(//\)[^/]' \| \
44551 X"$as_dir" : 'X\(//\)$' \| \
44552 X"$as_dir" : 'X\(/\)' \| \
44553 . : '\(.\)' 2>/dev/null ||
44554 echo X"$as_dir" |
44555 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44556 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44557 /^X\(\/\/\)$/{ s//\1/; q; }
44558 /^X\(\/\).*/{ s//\1/; q; }
44559 s/.*/./; q'`
44560 done
44561 test ! -n "$as_dirs" || mkdir $as_dirs
44562 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44563 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44564 { (exit 1); exit 1; }; }; }
44565
44566 ac_builddir=.
44567
44568 if test "$ac_dir" != .; then
44569 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
44570 # A "../" for each directory in $ac_dir_suffix.
44571 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
44572 else
44573 ac_dir_suffix= ac_top_builddir=
44574 fi
44575
44576 case $srcdir in
44577 .) # No --srcdir option. We are building in place.
44578 ac_srcdir=.
44579 if test -z "$ac_top_builddir"; then
44580 ac_top_srcdir=.
44581 else
44582 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
44583 fi ;;
44584 [\\/]* | ?:[\\/]* ) # Absolute path.
44585 ac_srcdir=$srcdir$ac_dir_suffix;
44586 ac_top_srcdir=$srcdir ;;
44587 *) # Relative path.
44588 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
44589 ac_top_srcdir=$ac_top_builddir$srcdir ;;
44590 esac
44591
44592 # Do not use `cd foo && pwd` to compute absolute paths, because
44593 # the directories may not exist.
44594 case `pwd` in
44595 .) ac_abs_builddir="$ac_dir";;
44596 *)
44597 case "$ac_dir" in
44598 .) ac_abs_builddir=`pwd`;;
44599 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
44600 *) ac_abs_builddir=`pwd`/"$ac_dir";;
44601 esac;;
44602 esac
44603 case $ac_abs_builddir in
44604 .) ac_abs_top_builddir=${ac_top_builddir}.;;
44605 *)
44606 case ${ac_top_builddir}. in
44607 .) ac_abs_top_builddir=$ac_abs_builddir;;
44608 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
44609 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
44610 esac;;
44611 esac
44612 case $ac_abs_builddir in
44613 .) ac_abs_srcdir=$ac_srcdir;;
44614 *)
44615 case $ac_srcdir in
44616 .) ac_abs_srcdir=$ac_abs_builddir;;
44617 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
44618 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
44619 esac;;
44620 esac
44621 case $ac_abs_builddir in
44622 .) ac_abs_top_srcdir=$ac_top_srcdir;;
44623 *)
44624 case $ac_top_srcdir in
44625 .) ac_abs_top_srcdir=$ac_abs_builddir;;
44626 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
44627 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
44628 esac;;
44629 esac
44630
44631
44632 case $INSTALL in
44633 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
44634 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
44635 esac
44636
44637 # Let's still pretend it is `configure' which instantiates (i.e., don't
44638 # use $as_me), people would be surprised to read:
44639 # /* config.h. Generated by config.status. */
44640 if test x"$ac_file" = x-; then
44641 configure_input=
44642 else
44643 configure_input="$ac_file. "
44644 fi
44645 configure_input=$configure_input"Generated from `echo $ac_file_in |
44646 sed 's,.*/,,'` by configure."
44647
44648 # First look for the input files in the build tree, otherwise in the
44649 # src tree.
44650 ac_file_inputs=`IFS=:
44651 for f in $ac_file_in; do
44652 case $f in
44653 -) echo $tmp/stdin ;;
44654 [\\/$]*)
44655 # Absolute (can't be DOS-style, as IFS=:)
44656 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44657 echo "$as_me: error: cannot find input file: $f" >&2;}
44658 { (exit 1); exit 1; }; }
44659 echo "$f";;
44660 *) # Relative
44661 if test -f "$f"; then
44662 # Build tree
44663 echo "$f"
44664 elif test -f "$srcdir/$f"; then
44665 # Source tree
44666 echo "$srcdir/$f"
44667 else
44668 # /dev/null tree
44669 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44670 echo "$as_me: error: cannot find input file: $f" >&2;}
44671 { (exit 1); exit 1; }; }
44672 fi;;
44673 esac
44674 done` || { (exit 1); exit 1; }
44675
44676 if test x"$ac_file" != x-; then
44677 { echo "$as_me:$LINENO: creating $ac_file" >&5
44678 echo "$as_me: creating $ac_file" >&6;}
44679 rm -f "$ac_file"
44680 fi
44681 _ACEOF
44682 cat >>$CONFIG_STATUS <<_ACEOF
44683 sed "$ac_vpsub
44684 $extrasub
44685 _ACEOF
44686 cat >>$CONFIG_STATUS <<\_ACEOF
44687 :t
44688 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
44689 s,@configure_input@,$configure_input,;t t
44690 s,@srcdir@,$ac_srcdir,;t t
44691 s,@abs_srcdir@,$ac_abs_srcdir,;t t
44692 s,@top_srcdir@,$ac_top_srcdir,;t t
44693 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
44694 s,@builddir@,$ac_builddir,;t t
44695 s,@abs_builddir@,$ac_abs_builddir,;t t
44696 s,@top_builddir@,$ac_top_builddir,;t t
44697 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
44698 s,@INSTALL@,$ac_INSTALL,;t t
44699 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
44700 rm -f $tmp/stdin
44701 if test x"$ac_file" != x-; then
44702 mv $tmp/out $ac_file
44703 else
44704 cat $tmp/out
44705 rm -f $tmp/out
44706 fi
44707
44708 # Run the commands associated with the file.
44709 case $ac_file in
44710 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
44711 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
44712 esac
44713 done
44714 _ACEOF
44715 cat >>$CONFIG_STATUS <<\_ACEOF
44716
44717 #
44718 # CONFIG_HEADER section.
44719 #
44720
44721 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
44722 # NAME is the cpp macro being defined and VALUE is the value it is being given.
44723 #
44724 # ac_d sets the value in "#define NAME VALUE" lines.
44725 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
44726 ac_dB='[ ].*$,\1#\2'
44727 ac_dC=' '
44728 ac_dD=',;t'
44729 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
44730 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
44731 ac_uB='$,\1#\2define\3'
44732 ac_uC=' '
44733 ac_uD=',;t'
44734
44735 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
44736 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
44737 case $ac_file in
44738 - | *:- | *:-:* ) # input from stdin
44739 cat >$tmp/stdin
44740 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
44741 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
44742 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
44743 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
44744 * ) ac_file_in=$ac_file.in ;;
44745 esac
44746
44747 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
44748 echo "$as_me: creating $ac_file" >&6;}
44749
44750 # First look for the input files in the build tree, otherwise in the
44751 # src tree.
44752 ac_file_inputs=`IFS=:
44753 for f in $ac_file_in; do
44754 case $f in
44755 -) echo $tmp/stdin ;;
44756 [\\/$]*)
44757 # Absolute (can't be DOS-style, as IFS=:)
44758 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44759 echo "$as_me: error: cannot find input file: $f" >&2;}
44760 { (exit 1); exit 1; }; }
44761 # Do quote $f, to prevent DOS paths from being IFS'd.
44762 echo "$f";;
44763 *) # Relative
44764 if test -f "$f"; then
44765 # Build tree
44766 echo "$f"
44767 elif test -f "$srcdir/$f"; then
44768 # Source tree
44769 echo "$srcdir/$f"
44770 else
44771 # /dev/null tree
44772 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44773 echo "$as_me: error: cannot find input file: $f" >&2;}
44774 { (exit 1); exit 1; }; }
44775 fi;;
44776 esac
44777 done` || { (exit 1); exit 1; }
44778 # Remove the trailing spaces.
44779 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
44780
44781 _ACEOF
44782
44783 # Transform confdefs.h into two sed scripts, `conftest.defines' and
44784 # `conftest.undefs', that substitutes the proper values into
44785 # config.h.in to produce config.h. The first handles `#define'
44786 # templates, and the second `#undef' templates.
44787 # And first: Protect against being on the right side of a sed subst in
44788 # config.status. Protect against being in an unquoted here document
44789 # in config.status.
44790 rm -f conftest.defines conftest.undefs
44791 # Using a here document instead of a string reduces the quoting nightmare.
44792 # Putting comments in sed scripts is not portable.
44793 #
44794 # `end' is used to avoid that the second main sed command (meant for
44795 # 0-ary CPP macros) applies to n-ary macro definitions.
44796 # See the Autoconf documentation for `clear'.
44797 cat >confdef2sed.sed <<\_ACEOF
44798 s/[\\&,]/\\&/g
44799 s,[\\$`],\\&,g
44800 t clear
44801 : clear
44802 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
44803 t end
44804 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
44805 : end
44806 _ACEOF
44807 # If some macros were called several times there might be several times
44808 # the same #defines, which is useless. Nevertheless, we may not want to
44809 # sort them, since we want the *last* AC-DEFINE to be honored.
44810 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
44811 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
44812 rm -f confdef2sed.sed
44813
44814 # This sed command replaces #undef with comments. This is necessary, for
44815 # example, in the case of _POSIX_SOURCE, which is predefined and required
44816 # on some systems where configure will not decide to define it.
44817 cat >>conftest.undefs <<\_ACEOF
44818 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
44819 _ACEOF
44820
44821 # Break up conftest.defines because some shells have a limit on the size
44822 # of here documents, and old seds have small limits too (100 cmds).
44823 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
44824 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
44825 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
44826 echo ' :' >>$CONFIG_STATUS
44827 rm -f conftest.tail
44828 while grep . conftest.defines >/dev/null
44829 do
44830 # Write a limited-size here document to $tmp/defines.sed.
44831 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
44832 # Speed up: don't consider the non `#define' lines.
44833 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
44834 # Work around the forget-to-reset-the-flag bug.
44835 echo 't clr' >>$CONFIG_STATUS
44836 echo ': clr' >>$CONFIG_STATUS
44837 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
44838 echo 'CEOF
44839 sed -f $tmp/defines.sed $tmp/in >$tmp/out
44840 rm -f $tmp/in
44841 mv $tmp/out $tmp/in
44842 ' >>$CONFIG_STATUS
44843 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
44844 rm -f conftest.defines
44845 mv conftest.tail conftest.defines
44846 done
44847 rm -f conftest.defines
44848 echo ' fi # grep' >>$CONFIG_STATUS
44849 echo >>$CONFIG_STATUS
44850
44851 # Break up conftest.undefs because some shells have a limit on the size
44852 # of here documents, and old seds have small limits too (100 cmds).
44853 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
44854 rm -f conftest.tail
44855 while grep . conftest.undefs >/dev/null
44856 do
44857 # Write a limited-size here document to $tmp/undefs.sed.
44858 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
44859 # Speed up: don't consider the non `#undef'
44860 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
44861 # Work around the forget-to-reset-the-flag bug.
44862 echo 't clr' >>$CONFIG_STATUS
44863 echo ': clr' >>$CONFIG_STATUS
44864 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
44865 echo 'CEOF
44866 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
44867 rm -f $tmp/in
44868 mv $tmp/out $tmp/in
44869 ' >>$CONFIG_STATUS
44870 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
44871 rm -f conftest.undefs
44872 mv conftest.tail conftest.undefs
44873 done
44874 rm -f conftest.undefs
44875
44876 cat >>$CONFIG_STATUS <<\_ACEOF
44877 # Let's still pretend it is `configure' which instantiates (i.e., don't
44878 # use $as_me), people would be surprised to read:
44879 # /* config.h. Generated by config.status. */
44880 if test x"$ac_file" = x-; then
44881 echo "/* Generated by configure. */" >$tmp/config.h
44882 else
44883 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
44884 fi
44885 cat $tmp/in >>$tmp/config.h
44886 rm -f $tmp/in
44887 if test x"$ac_file" != x-; then
44888 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
44889 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
44890 echo "$as_me: $ac_file is unchanged" >&6;}
44891 else
44892 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
44893 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44894 X"$ac_file" : 'X\(//\)[^/]' \| \
44895 X"$ac_file" : 'X\(//\)$' \| \
44896 X"$ac_file" : 'X\(/\)' \| \
44897 . : '\(.\)' 2>/dev/null ||
44898 echo X"$ac_file" |
44899 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44900 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44901 /^X\(\/\/\)$/{ s//\1/; q; }
44902 /^X\(\/\).*/{ s//\1/; q; }
44903 s/.*/./; q'`
44904 { if $as_mkdir_p; then
44905 mkdir -p "$ac_dir"
44906 else
44907 as_dir="$ac_dir"
44908 as_dirs=
44909 while test ! -d "$as_dir"; do
44910 as_dirs="$as_dir $as_dirs"
44911 as_dir=`(dirname "$as_dir") 2>/dev/null ||
44912 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44913 X"$as_dir" : 'X\(//\)[^/]' \| \
44914 X"$as_dir" : 'X\(//\)$' \| \
44915 X"$as_dir" : 'X\(/\)' \| \
44916 . : '\(.\)' 2>/dev/null ||
44917 echo X"$as_dir" |
44918 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44919 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44920 /^X\(\/\/\)$/{ s//\1/; q; }
44921 /^X\(\/\).*/{ s//\1/; q; }
44922 s/.*/./; q'`
44923 done
44924 test ! -n "$as_dirs" || mkdir $as_dirs
44925 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44926 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44927 { (exit 1); exit 1; }; }; }
44928
44929 rm -f $ac_file
44930 mv $tmp/config.h $ac_file
44931 fi
44932 else
44933 cat $tmp/config.h
44934 rm -f $tmp/config.h
44935 fi
44936 done
44937 _ACEOF
44938 cat >>$CONFIG_STATUS <<\_ACEOF
44939
44940 #
44941 # CONFIG_COMMANDS section.
44942 #
44943 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
44944 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
44945 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
44946 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
44947 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44948 X"$ac_dest" : 'X\(//\)[^/]' \| \
44949 X"$ac_dest" : 'X\(//\)$' \| \
44950 X"$ac_dest" : 'X\(/\)' \| \
44951 . : '\(.\)' 2>/dev/null ||
44952 echo X"$ac_dest" |
44953 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44954 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44955 /^X\(\/\/\)$/{ s//\1/; q; }
44956 /^X\(\/\).*/{ s//\1/; q; }
44957 s/.*/./; q'`
44958 { if $as_mkdir_p; then
44959 mkdir -p "$ac_dir"
44960 else
44961 as_dir="$ac_dir"
44962 as_dirs=
44963 while test ! -d "$as_dir"; do
44964 as_dirs="$as_dir $as_dirs"
44965 as_dir=`(dirname "$as_dir") 2>/dev/null ||
44966 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44967 X"$as_dir" : 'X\(//\)[^/]' \| \
44968 X"$as_dir" : 'X\(//\)$' \| \
44969 X"$as_dir" : 'X\(/\)' \| \
44970 . : '\(.\)' 2>/dev/null ||
44971 echo X"$as_dir" |
44972 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44973 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44974 /^X\(\/\/\)$/{ s//\1/; q; }
44975 /^X\(\/\).*/{ s//\1/; q; }
44976 s/.*/./; q'`
44977 done
44978 test ! -n "$as_dirs" || mkdir $as_dirs
44979 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44980 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44981 { (exit 1); exit 1; }; }; }
44982
44983 ac_builddir=.
44984
44985 if test "$ac_dir" != .; then
44986 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
44987 # A "../" for each directory in $ac_dir_suffix.
44988 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
44989 else
44990 ac_dir_suffix= ac_top_builddir=
44991 fi
44992
44993 case $srcdir in
44994 .) # No --srcdir option. We are building in place.
44995 ac_srcdir=.
44996 if test -z "$ac_top_builddir"; then
44997 ac_top_srcdir=.
44998 else
44999 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
45000 fi ;;
45001 [\\/]* | ?:[\\/]* ) # Absolute path.
45002 ac_srcdir=$srcdir$ac_dir_suffix;
45003 ac_top_srcdir=$srcdir ;;
45004 *) # Relative path.
45005 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
45006 ac_top_srcdir=$ac_top_builddir$srcdir ;;
45007 esac
45008
45009 # Do not use `cd foo && pwd` to compute absolute paths, because
45010 # the directories may not exist.
45011 case `pwd` in
45012 .) ac_abs_builddir="$ac_dir";;
45013 *)
45014 case "$ac_dir" in
45015 .) ac_abs_builddir=`pwd`;;
45016 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
45017 *) ac_abs_builddir=`pwd`/"$ac_dir";;
45018 esac;;
45019 esac
45020 case $ac_abs_builddir in
45021 .) ac_abs_top_builddir=${ac_top_builddir}.;;
45022 *)
45023 case ${ac_top_builddir}. in
45024 .) ac_abs_top_builddir=$ac_abs_builddir;;
45025 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
45026 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
45027 esac;;
45028 esac
45029 case $ac_abs_builddir in
45030 .) ac_abs_srcdir=$ac_srcdir;;
45031 *)
45032 case $ac_srcdir in
45033 .) ac_abs_srcdir=$ac_abs_builddir;;
45034 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
45035 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
45036 esac;;
45037 esac
45038 case $ac_abs_builddir in
45039 .) ac_abs_top_srcdir=$ac_top_srcdir;;
45040 *)
45041 case $ac_top_srcdir in
45042 .) ac_abs_top_srcdir=$ac_abs_builddir;;
45043 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
45044 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
45045 esac;;
45046 esac
45047
45048
45049 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
45050 echo "$as_me: executing $ac_dest commands" >&6;}
45051 case $ac_dest in
45052 wx-config ) rm -f wx-config
45053 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
45054 ;;
45055 esac
45056 done
45057 _ACEOF
45058
45059 cat >>$CONFIG_STATUS <<\_ACEOF
45060
45061 { (exit 0); exit 0; }
45062 _ACEOF
45063 chmod +x $CONFIG_STATUS
45064 ac_clean_files=$ac_clean_files_save
45065
45066
45067 # configure is writing to config.log, and then calls config.status.
45068 # config.status does its own redirection, appending to config.log.
45069 # Unfortunately, on DOS this fails, as config.log is still kept open
45070 # by configure, so config.status won't be able to write to it; its
45071 # output is simply discarded. So we exec the FD to /dev/null,
45072 # effectively closing config.log, so it can be properly (re)opened and
45073 # appended to by config.status. When coming back to configure, we
45074 # need to make the FD available again.
45075 if test "$no_create" != yes; then
45076 ac_cs_success=:
45077 ac_config_status_args=
45078 test "$silent" = yes &&
45079 ac_config_status_args="$ac_config_status_args --quiet"
45080 exec 5>/dev/null
45081 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
45082 exec 5>>config.log
45083 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
45084 # would make configure fail if this is the last instruction.
45085 $ac_cs_success || { (exit 1); exit 1; }
45086 fi
45087
45088 #
45089 # CONFIG_SUBDIRS section.
45090 #
45091 if test "$no_recursion" != yes; then
45092
45093 # Remove --cache-file and --srcdir arguments so they do not pile up.
45094 ac_sub_configure_args=
45095 ac_prev=
45096 for ac_arg in $ac_configure_args; do
45097 if test -n "$ac_prev"; then
45098 ac_prev=
45099 continue
45100 fi
45101 case $ac_arg in
45102 -cache-file | --cache-file | --cache-fil | --cache-fi \
45103 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
45104 ac_prev=cache_file ;;
45105 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
45106 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
45107 | --c=*)
45108 ;;
45109 --config-cache | -C)
45110 ;;
45111 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
45112 ac_prev=srcdir ;;
45113 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
45114 ;;
45115 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
45116 ac_prev=prefix ;;
45117 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
45118 ;;
45119 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
45120 esac
45121 done
45122
45123 # Always prepend --prefix to ensure using the same prefix
45124 # in subdir configurations.
45125 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
45126
45127 ac_popdir=`pwd`
45128 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
45129
45130 # Do not complain, so a configure script can configure whichever
45131 # parts of a large source tree are present.
45132 test -d $srcdir/$ac_dir || continue
45133
45134 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
45135 echo "$as_me: configuring in $ac_dir" >&6;}
45136 { if $as_mkdir_p; then
45137 mkdir -p "$ac_dir"
45138 else
45139 as_dir="$ac_dir"
45140 as_dirs=
45141 while test ! -d "$as_dir"; do
45142 as_dirs="$as_dir $as_dirs"
45143 as_dir=`(dirname "$as_dir") 2>/dev/null ||
45144 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45145 X"$as_dir" : 'X\(//\)[^/]' \| \
45146 X"$as_dir" : 'X\(//\)$' \| \
45147 X"$as_dir" : 'X\(/\)' \| \
45148 . : '\(.\)' 2>/dev/null ||
45149 echo X"$as_dir" |
45150 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45151 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45152 /^X\(\/\/\)$/{ s//\1/; q; }
45153 /^X\(\/\).*/{ s//\1/; q; }
45154 s/.*/./; q'`
45155 done
45156 test ! -n "$as_dirs" || mkdir $as_dirs
45157 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45158 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45159 { (exit 1); exit 1; }; }; }
45160
45161 ac_builddir=.
45162
45163 if test "$ac_dir" != .; then
45164 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
45165 # A "../" for each directory in $ac_dir_suffix.
45166 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45167 else
45168 ac_dir_suffix= ac_top_builddir=
45169 fi
45170
45171 case $srcdir in
45172 .) # No --srcdir option. We are building in place.
45173 ac_srcdir=.
45174 if test -z "$ac_top_builddir"; then
45175 ac_top_srcdir=.
45176 else
45177 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
45178 fi ;;
45179 [\\/]* | ?:[\\/]* ) # Absolute path.
45180 ac_srcdir=$srcdir$ac_dir_suffix;
45181 ac_top_srcdir=$srcdir ;;
45182 *) # Relative path.
45183 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
45184 ac_top_srcdir=$ac_top_builddir$srcdir ;;
45185 esac
45186
45187 # Do not use `cd foo && pwd` to compute absolute paths, because
45188 # the directories may not exist.
45189 case `pwd` in
45190 .) ac_abs_builddir="$ac_dir";;
45191 *)
45192 case "$ac_dir" in
45193 .) ac_abs_builddir=`pwd`;;
45194 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
45195 *) ac_abs_builddir=`pwd`/"$ac_dir";;
45196 esac;;
45197 esac
45198 case $ac_abs_builddir in
45199 .) ac_abs_top_builddir=${ac_top_builddir}.;;
45200 *)
45201 case ${ac_top_builddir}. in
45202 .) ac_abs_top_builddir=$ac_abs_builddir;;
45203 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
45204 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
45205 esac;;
45206 esac
45207 case $ac_abs_builddir in
45208 .) ac_abs_srcdir=$ac_srcdir;;
45209 *)
45210 case $ac_srcdir in
45211 .) ac_abs_srcdir=$ac_abs_builddir;;
45212 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
45213 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
45214 esac;;
45215 esac
45216 case $ac_abs_builddir in
45217 .) ac_abs_top_srcdir=$ac_top_srcdir;;
45218 *)
45219 case $ac_top_srcdir in
45220 .) ac_abs_top_srcdir=$ac_abs_builddir;;
45221 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
45222 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
45223 esac;;
45224 esac
45225
45226
45227 cd $ac_dir
45228
45229 # Check for guested configure; otherwise get Cygnus style configure.
45230 if test -f $ac_srcdir/configure.gnu; then
45231 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
45232 elif test -f $ac_srcdir/configure; then
45233 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
45234 elif test -f $ac_srcdir/configure.in; then
45235 ac_sub_configure=$ac_configure
45236 else
45237 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
45238 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
45239 ac_sub_configure=
45240 fi
45241
45242 # The recursion is here.
45243 if test -n "$ac_sub_configure"; then
45244 # Make the cache file name correct relative to the subdirectory.
45245 case $cache_file in
45246 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
45247 *) # Relative path.
45248 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
45249 esac
45250
45251 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
45252 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
45253 # The eval makes quoting arguments work.
45254 eval $ac_sub_configure $ac_sub_configure_args \
45255 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
45256 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
45257 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
45258 { (exit 1); exit 1; }; }
45259 fi
45260
45261 cd "$ac_popdir"
45262 done
45263 fi
45264
45265
45266 echo
45267 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
45268 echo ""
45269 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
45270 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
45271
45272 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
45273 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
45274 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
45275
45276 echo " What level of wxWidgets compatibility should be enabled?"
45277 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
45278 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
45279
45280 echo " Which libraries should wxWidgets use?"
45281 echo " jpeg ${wxUSE_LIBJPEG-none}"
45282 echo " png ${wxUSE_LIBPNG-none}"
45283 echo " regex ${wxUSE_REGEX}"
45284 echo " tiff ${wxUSE_LIBTIFF-none}"
45285 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
45286 echo " xpm ${wxUSE_LIBXPM-none}"
45287 fi
45288 echo " zlib ${wxUSE_ZLIB}"
45289 echo " odbc ${wxUSE_ODBC}"
45290 echo " expat ${wxUSE_EXPAT}"
45291 echo " libmspack ${wxUSE_LIBMSPACK}"
45292 echo " sdl ${wxUSE_LIBSDL}"
45293 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"
45294
45295 echo ""
45296